]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Flesh out 4.4 bits/socket.h with SOCK_CLOEXEC, SOCK_NONBLOCK.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8cc3269f
RM
12013-08-27 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6
5d228a43
AS
72013-08-27 Andreas Schwab <schwab@suse.de>
8
45b8accc
AS
9 [BZ #15736]
10 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13 * string/test-strcasecmp.c (test_main): Run tests in several
14 locales.
15 * string/test-strncasecmp.c (test_main): Likewise.
16
5d228a43
AS
17 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21 (__strncasecmp_ssse3) [PIC]: Likewise.
22
59d112a4
RM
232013-08-26 Roland McGrath <roland@hack.frob.com>
24
53234cc3
RM
25 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26
59d112a4
RM
27 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28 instead of explicitly declaring xdecrypt.
29 * nis/nss_nis/nis-publickey.c: Likewise.
30
595aba70
SP
312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32
33 [BZ #15890]
34 * nscd/aicache.c: Include res_hconf.h.
35 (addhstaiX): Initialize res_hconf.
36
ffabd393
AS
372013-08-26 Andreas Schwab <schwab@suse.de>
38
39 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41
e0a69f5c
SP
422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43
44 * nscd/aicache.c (addhstaiX): Fix indentation.
45
8c12f01d
MF
462013-08-25 Mike Frysinger <vapier@gentoo.org>
47
48 * configure.ac: Quote $build_pt_chown test.
49 * configure: Regenerated.
50
8fe89494
JM
512013-08-23 Joseph Myers <joseph@codesourcery.com>
52
53 [BZ #15532]
54 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55 * math/s_cexpf.c (__cexpf): Likewise.
56 * math/s_cexpl.c (__cexpl): Likewise.
57 * math/libm-test.inc (cexp_test_data): Correct expected return
58 value for NaN + i0. Add another test.
59
75b181d6
DM
602013-08-22 David S. Miller <davem@davemloft.net>
61
62 * po/ca.po: Update Catalan translation from translation project.
936241e4 63 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 64
acd06bb1
JM
652013-08-21 Joseph Myers <joseph@codesourcery.com>
66
67 [BZ #15797]
68 * math/s_fdim.c (__fdim): Check for infinite arguments if result
69 is infinite, not alongside NaN test.
70 * math/s_fdimf.c (__fdimf): Likewise.
71 * math/s_fdiml.c (__fdiml): Likewise.
72 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
73 errno is unchanged.
74
c0c3f78a
OB
752013-08-21 Ondřej Bílka <neleai@seznam.cz>
76
77 * argp/argp-help.c: Fix typos.
78 * crypt/speeds.c: Likewise.
79 * csu/check_fds.c: Likewise.
80 * elf/dl-load.c: Likewise.
81 * elf/dl-open.c: Likewise.
82 * elf/reldep3.c: Likewise.
83 * elf/reldep.c: Likewise.
84 * elf/sprof.c: Likewise.
85 * iconv/iconv_charmap.c: Likewise.
86 * iconv/skeleton.c: Likewise.
87 * iconv/strtab.c: Likewise.
88 * io/lockf64.c: Likewise.
89 * libio/libioP.h: Likewise.
90 * resolv/gai_notify.c: Likewise.
91 * resolv/ns_name.c: Likewise.
92 * resolv/ns_samedomain.c: Likewise.
93 * resolv/res_send.c: Likewise.
94 * stdlib/random.c: Likewise.
95 * sunrpc/rpc/xdr.h: Likewise.
96 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
97 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
98 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
99 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
100 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
104 * sysdeps/mach/hurd/check_fds.c: Likewise.
105 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
106 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
107 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
108 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
109 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
110 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
111 * sysdeps/pthread/aio_notify.c: Likewise.
112 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
113 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
114 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
115 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
116 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
117
46ed1038
LD
1182013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
119
120 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
121 version if bit_Slow_SSE4_2 is set.
122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
123 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
124
d400dcac
AZ
1252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126
127 [BZ #15867]
128 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
129 trampoline stack frame information.
130 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
131 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
132 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
133 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
134 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
135 * sysdeps/unix/sysv/linux/powerpc/init-first.c
136 (_libc_vdso_platform_setup): Initialize the signal trampolines.
137 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
138 sa_flags value.
139 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
140 interrupting a syscall and set with option SA_SIGINFO.
141
42c8fdd8
JM
1422013-08-20 Joseph Myers <joseph@codesourcery.com>
143
c980f2f4
JM
144 [BZ #15531]
145 * math/s_cproj.c (__cproj): Only return an infinity if one part of
146 argument is infinite.
147 * math/s_cprojf.c (__cprojf): Likewise.
148 * math/s_cprojl.c (__cprojl): Likewise.
149 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
150 * math/libm-test.inc (cproj_test_data): Add more tests.
151
0716c4fc
JM
152 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
153
42c8fdd8
JM
154 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
155 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
156 size. Use __ffs to determine corresponding shift.
157
b31469d0
JM
1582013-08-20 Joseph Myers <joseph@codesourcery.com>
159 Roland McGrath <roland@hack.frob.com>
160
161 * Makefile (INSTALL): Remove trailing blank lines from output of
162 makeinfo.
163
4e39af6e
AK
1642013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
165
166 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
167 Align 32 bit compat elf_greg to 8 bytes.
168
f315524e
AA
1692013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
170
171 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
172
1326ba1a
SP
1732013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
174
175 * string/strcoll_l.c (coll_seq): New structure.
176 (get_next_seq_cached): New function.
177 (get_next_seq): New function.
178 (do_compare): New function.
179 (STRCOLL): Use GNU style definition. Simplify implementation
180 by using get_next_seq, get_next_seq_cached and do_compare.
181
91ce4085
FW
1822013-08-16 Florian Weimer <fweimer@redhat.com>
183
184 [BZ #14699]
185 CVE-2013-4237
186 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
187 member.
188 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
189 member.
190 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
191 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
192 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
193 conditional.
194 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
195 GETDENTS_64BIT_ALIGNED.
196 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
197 * manual/filesys.texi (Reading/Closing Directory): Document
198 ENAMETOOLONG return value of readdir_r. Recommend readdir more
199 strongly.
200 * manual/conf.texi (Limits for Files): Add portability note to
201 NAME_MAX, PATH_MAX.
202 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
203
ca0a6bc4
AS
2042013-08-13 Andreas Schwab <schwab@suse.de>
205
206 [BZ #15749]
207 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
208 of fabs.
209 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
210 LDBL_MAX_EXP >= 16384]: Add tests for it.
211
6c1fd795
DM
2122013-08-12 David S. Miller <davem@davemloft.net>
213
214 * version.h (RELEASE): Set to "development".
215 (VERSION): Set to "2.18.90".
216 * NEWS: Add 2.19 section.
217
31ad488d
DM
2182013-08-03 David S. Miller <davem@davemloft.net>
219
220 * po/ko.po: Update Korean translation from translation project.
221
db24e684
DM
2222013-08-01 David S. Miller <davem@davemloft.net>
223
224 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
225 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
226 Bilka.
227
f723285b
DM
2282013-07-30 David S. Miller <davem@davemloft.net>
229
230 * po/fr.po: Update French translation from translation project.
231
3cbc52db
DM
2322013-07-28 David S. Miller <davem@davemloft.net>
233
30bbc0cc
DM
234 * po/cs.po: Update Czech translation from translation project.
235
3cbc52db
DM
236 * po/sv.po: Update Swedish translation from translation project.
237
d492e6d0
DM
2382013-07-27 David S. Miller <davem@davemloft.net>
239
f1a7f492
DM
240 * po/eo.po: Update Esperanto translation from translation project.
241
90e62a4a
DM
242 * po/vi.po: Update Vietnamese translation from translation project.
243
d492e6d0
DM
244 * po/de.po: Update German translation from translation project.
245
d4baa62d
DM
2462013-07-26 David S. Miller <davem@davemloft.net>
247
641aa7b4
DM
248 * po/bg.po: Update Bulgarian translation from translation project.
249
d4baa62d
DM
250 * po/nl.po: Update Dutch translation from translation project.
251 * po/pl.po: Update Polish translation from translation project.
252 * po/ru.po: Update Russian translation from translation project.
253
61a9dcb9
DM
2542013-07-24 David S. Miller <davem@davemloft.net>
255
256 * po/libc.pot: Update.
257
7b1f8b58
AZ
2582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
261 variable page size.
262 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
263 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
264 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
265
a8fc7a03
AK
2662013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
267
268 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
269
e4608715
CD
2702013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
271 Andreas Schwab <schwab@suse.de>
272 Roland McGrath <roland@hack.frob.com>
273 Joseph Myers <joseph@codesourcery.com>
274 Carlos O'Donell <carlos@redhat.com>
275
276 [BZ #15755]
277 * config.h.in: Define HAVE_PT_CHOWN.
278 * config.make.in (build-pt-chown): New variable.
279 * configure.in (--enable-pt_chown): New configure option.
280 * configure: Regenerate.
281 * login/Makefile: Include Makeconfig. Build pt_chown only if
282 build-pt-chown is enabled.
283 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
284 pt_chown to fix pty ownership.
285 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
286 CLOSE_ALL_FDS.
287 * manual/install.texi (Configuring and compiling): Mention
288 --enable-pt_chown. Add @findex for grantpt.
289 * INSTALL: Regenerate.
290
da2d62df
DM
2912013-07-20 David S. Miller <davem@davemloft.net>
292
293 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
294 difference between 32-bit and 64-bit.
295
d7e06450
CD
2962013-07-15 Carlos O'Donell <carlos@redhat.com>
297
298 [BZ #15711]
299 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
300 Avoid system header dependency with -ffreestanding.
301 ($(objpfx)bits/syscall%d): Likewise.
302
f959cfd7
DM
3032013-07-13 David S. Miller <davem@davemloft.net>
304
305 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
306 underflows from atanl/atan2l due to bug 15319.
307 (casinh_test_data): Likewise.
308
c61f8513
DM
3092013-07-07 David S. Miller <davem@davemloft.net>
310
311 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
312
72c90ed0
JA
3132013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
314
315 * sysdeps/i386/fpu/libm-test-ulps: Update.
316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
317
52dfbe13
SP
3182013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
319
320 * configure.in (--enable-lock-elision): Fix message text.
321 * INSTALL: Regenerate.
322 * configure: Regenerate.
323
3f169543
AZ
3242013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325
326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
327
521c6785
AJ
3282013-07-03 Andreas Jaeger <aj@suse.de>
329
330 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
331 define.
332 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
333 (ptrace_peeksiginfo_args): Add.
334 (__ptrace_peeksiginfo_flags): Add.
335 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
336 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
338
d2cc15cb
AM
3392013-07-03 Allan McRae <allan@archlinux.org>
340
341 * sysdeps/i386/fpu/libm-test-ulps: Update.
342
3aaeeca7
DM
3432013-07-02 David S. Miller <davem@davemloft.net>
344
345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
346
5314ed1a
MT
3472013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
348
349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
350
67338156
JM
3512013-07-02 Joseph Myers <joseph@codesourcery.com>
352
353 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
355
1717da59
AK
3562013-07-02 Andi Kleen <ak@linux.intel.com>
357
358 * config.h.in (ENABLE_LOCK_ELISION): Add.
359 * configure.in (--enable-lock-elision): Add option.
360 * manual/install.texi: Document --enable lock elision.
361 * configure: Regenerate
362 * INSTALL: Regenerate.
363
1c81621c
L
3642013-07-02 H.J. Lu <hongjiu.lu@intel.com>
365
366 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
367 SSE4.2 strcasecmp for libc.a.
368 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
369
77f01ab5
JM
3702013-07-02 Joseph Myers <joseph@codesourcery.com>
371
372 [BZ #13304]
373 * soft-fp/op-common.h (_FP_FMA): New macro.
374 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
375 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
376 (_FP_MUL_MEAT_1_imm): ... here.
377 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
378 (_FP_MUL_MEAT_1_wide): ... here.
379 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
380 (_FP_MUL_MEAT_1_hard): ... here.
381 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
382 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
383 (_FP_MUL_MEAT_2_wide): ... here.
384 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
385 (_FP_MUL_MEAT_2_wide_3mul): ... here.
386 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
387 (_FP_MUL_MEAT_2_gmp): ... here.
388 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
389 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
390 (_FP_MUL_MEAT_4_wide): ... here.
391 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
392 (_FP_MUL_MEAT_4_gmp): ... here.
393 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
394 (_FP_WFRACBITS_DW_S): Likewise.
395 (_FP_WFRACXBITS_DW_S): Likewise.
396 (_FP_HIGHBIT_DW_S): Likewise.
397 (FP_FMA_S): Likewise.
398 (_FP_FRAC_HIGH_DW_S): Likewise.
399 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
400 (_FP_WFRACBITS_DW_D): Likewise.
401 (_FP_WFRACXBITS_DW_D): Likewise.
402 (_FP_HIGHBIT_DW_D): Likewise.
403 (FP_FMA_D): Likewise.
404 (_FP_FRAC_HIGH_DW_D): Likewise.
405 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
406 (_FP_WFRACBITS_DW_E): Likewise.
407 (_FP_WFRACXBITS_DW_E): Likewise.
408 (_FP_HIGHBIT_DW_E): Likewise.
409 (FP_FMA_E): Likewise.
410 (_FP_FRAC_HIGH_DW_E): Likewise.
411 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
412 (_FP_WFRACBITS_DW_Q): Likewise.
413 (_FP_WFRACXBITS_DW_Q): Likewise.
414 (_FP_HIGHBIT_DW_Q): Likewise.
415 (FP_FMA_Q): Likewise.
416 (_FP_FRAC_HIGH_DW_Q): Likewise.
417 * soft-fp/fmasf4.c: New file.
418 * soft-fp/fmadf4.c: Likewise.
419 * soft-fp/fmatf4.c: Likewise.
420
6308fd9a
LD
4212013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
422
423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
424 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
425 Silvermont.
426 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
427 macro.
428 (index_Slow_SSE4_2): Likewise.
429 (index_Prefer_PMINUB_for_stringop): Likewise.
430 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
431 bit_Slow_SSE4_2 is set.
432 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
433 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
434
89cd9569
RA
4352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
436
437 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
438 rtld_global._dl_hwcap2.
439 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
440 POWER8.
441 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
442 POWER8 feature descriptions defined in _dl_hwcap2.
443 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
444 string handling for POWER8 feature bits.
445 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
446 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
447 _dl_powerpc_cap_flags.
448 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
449 * sysdeps/powerpc/rtld-global-offsets.sym
450 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
451 _dl_hwcap2 in the rtld_global_ro structure.
452
1ae8bfe0
RA
4532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
454
455 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
456 hardware capabilities in support of AT_HWCAP2.
457 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
458 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
459 GLRO(dl_hwcap2).
460 (_dl_show_auxv): Add support for calling _dl_procinfo to display
461 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
462 explicitly the unknown a_type display mechanism is used.
463 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
464 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
465 struct member.
466 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
467 to macro prototype for AT_HWCAP2 support.
468 * sysdeps/i386/dl-procinfo.h: Likewise.
469 * sysdeps/s390/dl-procinfo.h: Likewise.
470 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
471 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
472 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
473 return -1 for unknown a_type display fallback.
474 * sysdeps/sparc/dl-procinfo.h: Likewise.
475 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
476 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
477
8fbec010
JM
4782013-06-28 Joseph Myers <joseph@codesourcery.com>
479
480 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
481 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
482
0432680e
PY
4832013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
484
485 [BZ #12492]
486 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
487 mprotect making __stack_prot writable.
488
ce61a2ad
NF
4892013-06-28 Nathan Froyd <froydnj@codesourcery.com>
490 Joseph Myers <joseph@codesourcery.com>
491
492 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
493 as being properly aligned.
494
f91f1c0f
MR
4952013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
496
3d0f5d0c
MR
497 * dlfcn/modstatic5.c: New file.
498 * dlfcn/tststatic5.c: New file.
499 * dlfcn/Makefile (tests): Add tststatic5.
500 (tests-static): Likewise.
501 (modules-names): Add modstatic5.
502 (tststatic5-ENV): New variable.
503 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
504
f91f1c0f
MR
505 [BZ #15022]
506 * elf/dl-support.c (_dl_main_map): New variable.
507 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
508 (_dl_nns, _dl_load_adds): Set to 1.
509 (_dl_initial_searchlist): Refer to _dl_main_map.
510 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
511 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
512 call to _dl_get_origin.
513 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
514 around call_map.
515 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
516 * dlfcn/modstatic3.c: New file.
517 * dlfcn/tststatic3.c: New file.
518 * dlfcn/tststatic4.c: New file.
519 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
520 (tests-static): Likewise.
521 (modules-names): Add modstatic3.
522 (tststatic3-ENV, tststatic4-ENV): New variables.
523 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
524 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
525
cbe7d24b
JM
5262013-06-26 Joseph Myers <joseph@codesourcery.com>
527
528 * configure.in (CC): Require GCC version 4.4 or later.
529 * configure: Regenerated.
530 * manual/install.texi (Tools for Compilation): Update GCC version
531 requirement.
532 * INSTALL: Regenerated.
533
11b8a0e1
LD
5342013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
535
536 [BZ #15674]
bb5bb87c
L
537 * string/test-memcmp.c (check2): New.
538 (main): Call check2.
539
11b8a0e1
LD
540 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
541
b0037103
MR
5422013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
543
544 [BZ #15022]
545 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
546 over to...
547 (dl_open_worker) [!SHARED]: ... here.
548
c18c701d
RA
5492013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
550
551 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
552
1d17fa5f
RH
5532013-06-25 Richard Henderson <rth@redhat.com>
554
555 * locale/programs/locarchive.c: Include <libc-internal.h>
556
8fcb833a
JM
5572013-06-25 Joseph Myers <joseph@codesourcery.com>
558
559 * manual/texinfo.tex: Update to version 2013-06-21.17, with
560 trailing whitespace removed.
561
17db6e8d
MF
5622013-06-24 Mike Frysinger <vapier@gentoo.org>
563
564 [BZ #10283]
17db6e8d
MF
565 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
566 * locale/programs/locarchive.c: Include libc-mmap.h.
567 (prepare_address_space): Take two new outputs (the mmap base and len).
568 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
569 values.
570 (create_archive): Declare new mmap base and len values for
571 prepare_address_space, and store the result in ah.
572 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
573 (enlarge_archive): If ah->mmap_base is not NULL, use that and
574 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
575 Declare new mmap base and len values for
576 prepare_address_space, and store the result in new_ah.
577 (open_archive): Declare new mmap base and len values for
578 prepare_address_space, and store the result in ah.
579 (close_archive): If ah->mmap_base is not NULL, use that and
580 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
581 * sysdeps/generic/libc-mmap.h: New file.
582
d605071e
MF
5832013-06-24 Mike Frysinger <vapier@gentoo.org>
584
585 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
586 (ALIGN_UP): Likewise.
587 (PTR_ALIGN_DOWN): Likewise.
588 (PTR_ALIGN_UP): Likewise.
589
2f063a6e
RA
5902013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
591
592 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
593 entry mapped to PPC_PLATFORM_POWER8.
594 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
595 POWER8.
596 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
597 (_dl_string_platform): Add case for exporting platform position for
598 POWER8.
599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
600 search path to sysdeps/powerpc/powerpc32/power8 directory.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
602 search path to sysdeps/powerpc/powerpc64/power8 directory.
603 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
604 power7 directories.
605 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
606 power7 directories.
607
a31ee4b3
SP
6082013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
609
a74ca98f
SP
610 * INSTALL: Regenerate.
611
a31ee4b3
SP
612 * nscd/connections.c (nscd_init): Fix comment.
613
695c378f
JM
6142013-06-22 Joseph Myers <joseph@codesourcery.com>
615
d8412221
JM
616 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
617
695c378f
JM
618 [BZ #15667]
619 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
620 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
621
d1d54715
MR
6222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
623
624 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
625 DL_DST_REQ_STATIC.
626 (DL_DST_REQ_STATIC): Remove macro.
627
8fdda7af
JM
6282013-06-21 Joseph Myers <joseph@codesourcery.com>
629
630 [BZ #7006]
631 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
632 with a shift of 0 bits.
633
f3bc5e5a
MR
6342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
635
636 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
637 $(tststatic-ENV).
638
be09e8c9
KK
6392013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
640
641 [BZ #15655]
642 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
643
85c2e611
AZ
6442013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
645
646 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
647 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
648 accepts -fno-tree-loop-distribute-patterns.
649 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
650 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
651 recursive call.
652 * string/memset.c (memset): Likewise.
653 * string/test-memmove.c (simple_memmove): Disable loop transformation
654 to library calls.
655 * string/test-memset.c (simple_memset): Likewise.
656 * benchtests/bench-memmove.c (simple_memmove): Likewise.
657 * benchtests/bench-memset.c (simple_memset): Likewise.
658 * configure: Regenerated.
659
c91e0825
JM
6602013-06-20 Joseph Myers <joseph@codesourcery.com>
661
b8c792af
JM
662 * math/test-misc.c (main): Ignore fesetround failure when failures
663 of subsequent rounding tests would be ignored.
664
c91e0825
JM
665 [BZ #15654]
666 * math/fedisblxcpt.c (fedisableexcept): Return 0.
667 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
668 * math/fegetenv.c (__fegetenv): Return 0.
669 * math/fegetexcept.c (fegetexcept): Return 0.
670 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
671 FE_TONEAREST.
672 * math/feholdexcpt.c (feholdexcept): Return 0.
673 * math/fesetenv.c (__fesetenv): Return 0.
674 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
675 argument FE_TONEAREST.
676 * math/feupdateenv.c (__feupdateenv): Return 0.
677 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
678
bfcacbde
RM
6792013-06-18 Roland McGrath <roland@hack.frob.com>
680
681 * elf/rtld-Rules (rtld-compile-command.S): New variable.
682 (rtld-compile-command.s, rtld-compile-command.c): New variables.
683 ($(objpfx)rtld-%.os rules): Use them.
684
e55a9b25
AZ
6852013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
686
687 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
688 fields.
689
346d65b3
RM
6902013-06-17 Roland McGrath <roland@hack.frob.com>
691
12086fb4
RM
692 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
693 length of target pattern, then descending length of dependency pattern.
694 * configure.in (AWK): Require gawk 3.1.2 or newer.
695 * manual/install.texi (Tools for Compilation): Say that we do.
696 * configure: Regenerated.
697
346d65b3
RM
698 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
699 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
700 * scripts/sysd-rules.awk: ... this new script.
701 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
702 than a glob-style pattern.
703
1a846317
JM
7042013-06-17 Joseph Myers <joseph@codesourcery.com>
705
706 * math/test-misc.c (main): Do not treat incorrectly rounded
707 conversions as failure unless ROUNDING_TESTS passes.
708
8fc75e6f
JM
7092013-06-15 Joseph Myers <joseph@codesourcery.com>
710
3711a167
JM
711 [BZ #15631]
712 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
713 restore exception state around main square root computation, then
714 check for inexactness explicitly.
715
8fc75e6f
JM
716 * math/libm-test.inc (fma_test_data): Add another test.
717
61dd6208
SP
7182013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
719
adf23d2c
SP
720 * manual/threads.texi (Non-POSIX Extensions): New document
721 node. Document pthread_getattr_default_np and
722 pthread_setattr_default_np.
723
61dd6208
SP
724 * Versions.def (libpthread): Add GLIBC_2.18.
725 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
727 Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
729 Likewise.
730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
731 Likewise.
732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
733 Likewise.
734 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
735 Likewise.
736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
737 Likewise.
738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
739 Likewise.
740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
741 Likewise.
742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
743 Likewise.
744
d086fc7b
LD
7452013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
746
747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
748 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
749
747ef469
SP
7502013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
751 H.J. Lu <hjl.tools@gmail.com>
752
753 [BZ #15627]
754 * sysdeps/x86_64/rtld-memset.c: Remove file.
755 * sysdeps/x86_64/rtld-memset.S: New file.
756
1b2feed2
JM
7572013-06-14 Joseph Myers <joseph@codesourcery.com>
758
759 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
760 (test_in_one_mode): Take arguments for whether the rounding mode
761 is supported for each floating-point type.
762 (do_test): Pass new arguments to test_in_one_mode using
763 ROUNDING_TESTS.
764
a58ad3f8
RM
7652013-06-13 Roland McGrath <roland@hack.frob.com>
766
767 * posix/tst-waitid.c (do_test): Distinguish different instances of
768 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
769 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
770 before entering the kernel for waitpid.
771
c204ab28
SP
7722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 * NEWS: Fix note on clock function precision. Text by Roland
775 McGrath.
776
f4a29fba
RM
7772013-06-13 Roland McGrath <roland@hack.frob.com>
778
779 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
780 it into place only when and if the sanity check passes.
781
1f24b9ad
JM
7822013-06-13 Joseph Myers <joseph@codesourcery.com>
783
784 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
785 output for whether conversion result is exact. Take argument
786 indicating whether type is IBM long double.
787 (round_for_all): Change need_exact field to ibm_ld.
788 * stdlib/tst-strtod-round.c (struct exactness): New type.
789 (struct test): Change bool ld_ok field to struct exactness exact.
790 (TEST): Update all definitions for change to field.
791 (tests): Regenerate array contents.
792 (test_in_one_mode): Take pointer to new field instead of old ld_ok
793 field value. Check for IBM long double here.
794 (do_test): Update calls to test_in_one_mode.
795
58206c68
SP
7962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
797
798 [BZ #12515]
799 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
800 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
801
2d6f4c5b 8022013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
803
804 [BZ #15605]
805 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
806 generated by the compiler on loop optimizations.
807 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
808 general definitions.
809
94f2c076
JM
8102013-06-12 Joseph Myers <joseph@codesourcery.com>
811
812 * math/bug-nextafter.c: Include <math-tests.h>.
813 (main): Only test for exceptions if EXCEPTION_TESTS is true for
814 the relevant type.
815 * math/bug-nexttoward.c: Include <math-tests.h>.
816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
817 the relevant type.
818 * math/test-misc.c: Include <math-tests.h>.
819 (main): Only test for exceptions if EXCEPTION_TESTS is true for
820 the relevant type.
821
e0e50a0a
AJ
8222013-06-12 Andreas Jaeger <aj@suse.de>
823
824 * po/ia.po: Update Interlingua translation from translation
825 project.
826
25061094
SP
8272013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
828
829 * include/fenv.h: Include stdbool.h.
830 (struct rm_ctx): New structure.
831 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
832 Define macro.
833 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
834 (SET_RESTORE_ROUNDF): Likewise.
835 (SET_RESTORE_ROUNDL): Likewise.
836 (SET_RESTORE_ROUND_NOEX): Likewise.
837 (SET_RESTORE_ROUND_NOEXF): Likewise.
838 (SET_RESTORE_ROUND_NOEXL): Likewise.
839 (SET_RESTORE_ROUND_53BIT): Likewise.
840 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
841 (libc_feresetround_noexf_ctx): Likewise.
842 (libc_feresetround_noexl_ctx): Likewise.
843 (libc_feholdsetround_53bit_ctx): Likewise.
844 (libc_feresetround_53bit_ctx): Likewise.
845 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
846 (libc_feholdexcept_setround_sse_ctx): New function.
847 (libc_fesetenv_sse_ctx): Likewise.
848 (libc_feupdateenv_sse_ctx): Likewise.
849 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
850 (libc_feholdexcept_setround_387_ctx): Likewise.
851 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
852 (libc_feholdsetround_387_prec_ctx): Likewise.
853 (libc_feholdsetround_387_ctx): Likewise.
854 (libc_feholdsetround_387_53bit_ctx): Likewise.
855 (libc_feholdsetround_sse_ctx): Likewise.
856 (libc_feresetround_sse_ctx): Likewise.
857 (libc_feresetround_387_ctx): Likewise.
858 (libc_feupdateenv_387_ctx): Likewise.
859 (libc_feholdexcept_setroundf_ctx): Define macro.
860 (libc_fesetenvf_ctx): Likewise.
861 (libc_feupdateenvf_ctx): Likewise.
862 (libc_feholdsetroundf_ctx): Likewise.
863 (libc_feresetroundf_ctx): Likewise.
864 (libc_feholdexcept_setround_ctx): Likewise.
865 (libc_fesetenv_ctx): Likewise.
866 (libc_feupdateenv_ctx): Likewise.
867 (libc_feholdsetround_ctx): Likewise.
868 (libc_feresetround_ctx): Likewise.
869 (libc_feholdexcept_setroundl_ctx): Likewise.
870 (libc_feupdateenvl_ctx): Likewise.
871 (libc_feholdsetroundl_ctx): Likewise.
872 (libc_feresetroundl_ctx): Likewise.
873 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
874 (libc_feresetround_53bit_ctx): Likewise.
875
59b30555
SP
8762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
877
878 * locale/iso-639.def: Convert to UTF-8.
879
f1d73d30
JM
8802013-06-11 Joseph Myers <joseph@codesourcery.com>
881
882 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
883 (EXCEPTION_TESTS_double): Likewise.
884 (EXCEPTION_TESTS_long_double): Likewise.
885 (EXCEPTION_TESTS): Likewise.
886 * math/libm-test.inc (test_exceptions): Only test exceptions if
887 EXCEPTION_TESTS (FLOAT).
888
94aca5e7
SP
8892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
890
891 * benchtests/Makefile (string-bench): Add strcpy_chk and
892 stpcpy_chk.
893 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
894 * benchtests/bench-stpcpy_chk.c: New file.
895 * benchtests/bench-strcpy_chk-ifunc.c: New file.
896 * benchtests/bench-strcpy_chk.c: New file.
897 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
898 code.
899 (do_test): Likewise.
900
fac0c5f2
RA
9012013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
902
903 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
904 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
905 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
906 with tabs where appropriate.
907 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
908 dl-procinfo.h.
909 [PPC_PLATFORM_PPC440]: Likewise.
910 [PPC_PLATFORM_PPC464]: Likewise.
911 [PPC_PLATFORM_PPC476]: Likewise.
912 (_dl_string_platform): Add support for detecting ppc405, ppc440,
913 ppc464, and ppc476 platform strings merging from ports/
914 dl-procinfo.h.
915
f22bc486
AS
9162013-06-11 Andreas Schwab <schwab@suse.de>
917
918 [BZ #14991]
919 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
920 (from_ucs4_idx): Regenerate.
921 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
922 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
923 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
924 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
925 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
926 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
927 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
928 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
929 from FROM_LOOP and TO_LOOP specific macros.
930 (BODY): Handle combining characters.
931 * iconvdata/BIG5HKSCS.irreversible: Update.
932 * iconvdata/BIG5HKSCS.precomposed: New file.
933 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
934 characters.
935 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
936
c1f75dc3
SP
9372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
938
4eacded2
SP
939 * include/sys/time.h: Fix indentation and add copyright header.
940
fec799f8
SP
941 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
942 (do_test): Likewise.
943 * string/test-memchr.c (do_one_test): Likewise.
944 (do_test): Likewise.
945 * string/test-memcmp.c (do_one_test): Likewise.
946 (do_test): Likewise.
947 * string/test-memcpy.c (do_one_test): Likewise.
948 (do_test): Likewise.
949 * string/test-memmem.c (do_one_test): Likewise.
950 (do_test): Likewise.
951 (do_random_tests): Likewise.
952 * string/test-memmove.c (do_one_test): Likewise.
953 (do_test): Likewise.
954 * string/test-memset.c (do_one_test): Likewise.
955 (do_test): Likewise.
956 * string/test-rawmemchr.c (do_one_test): Likewise.
957 (do_test): Likewise.
958 * string/test-strcasecmp.c (do_one_test): Likewise.
959 (do_test): Likewise.
960 * string/test-strcasestr.c (do_one_test): Likewise.
961 (do_test): Likewise.
962 * string/test-strcat.c (do_one_test): Likewise.
963 (do_test): Likewise.
964 * string/test-strchr.c (do_one_test): Likewise.
965 (do_test): Likewise.
966 * string/test-strcmp.c (do_one_test): Likewise.
967 (do_test): Likewise.
968 * string/test-strcpy.c (do_one_test): Likewise.
969 (do_test): Likewise.
970 * string/test-string.h: Likewise.
971 (test_init): Likewise.
972 * string/test-strlen.c (do_one_test): Likewise.
973 (do_test): Likewise.
974 * string/test-strncasecmp.c (do_one_test): Likewise.
975 (do_test): Likewise.
976 * string/test-strncat.c (do_one_test): Likewise.
977 (do_test): Likewise.
978 * string/test-strncmp.c (do_one_test): Likewise.
979 (do_test_limit): Likewise.
980 (do_test): Likewise.
981 * string/test-strncpy.c (do_one_test): Likewise.
982 (do_test): Likewise.
983 * string/test-strnlen.c (do_one_test): Likewise.
984 (do_test): Likewise.
985 * string/test-strpbrk.c (do_one_test): Likewise.
986 (do_test): Likewise.
987 * string/test-strrchr.c (do_one_test): Likewise.
988 (do_test): Likewise.
989 * string/test-strspn.c (do_one_test): Likewise.
990 (do_test): Likewise.
991 * string/test-strstr.c (do_one_test): Likewise.
992 (do_test): Likewise.
993
97020474
SP
994 * benchtests/Makefile (string-bench): Add string benchmarks.
995 * benchtests/bench-bcopy-ifunc.c: New file.
996 * benchtests/bench-bcopy.c: New file.
997 * benchtests/bench-bzero-ifunc.c: New file.
998 * benchtests/bench-bzero.c: New file.
999 * benchtests/bench-memccpy-ifunc.c: New file.
1000 * benchtests/bench-memccpy.c: New file.
1001 * benchtests/bench-memchr-ifunc.c: New file.
1002 * benchtests/bench-memchr.c: New file.
1003 * benchtests/bench-memcmp-ifunc.c: New file.
1004 * benchtests/bench-memcmp.c: New file.
1005 * benchtests/bench-memmem-ifunc.c: New file.
1006 * benchtests/bench-memmem.c: New file.
1007 * benchtests/bench-memmove-ifunc.c: New file.
1008 * benchtests/bench-memmove.c: New file.
1009 * benchtests/bench-mempcpy-ifunc.c: New file.
1010 * benchtests/bench-mempcpy.c: New file.
1011 * benchtests/bench-memset-ifunc.c: New file.
1012 * benchtests/bench-memset.c: New file.
1013 * benchtests/bench-rawmemchr-ifunc.c: New file.
1014 * benchtests/bench-rawmemchr.c: New file.
1015 * benchtests/bench-stpcpy-ifunc.c: New file.
1016 * benchtests/bench-stpcpy.c: New file.
1017 * benchtests/bench-stpncpy-ifunc.c: New file.
1018 * benchtests/bench-stpncpy.c: New file.
1019 * benchtests/bench-strcasecmp-ifunc.c: New file.
1020 * benchtests/bench-strcasecmp.c: New file.
1021 * benchtests/bench-strcasestr-ifunc.c: New file.
1022 * benchtests/bench-strcasestr.c: New file.
1023 * benchtests/bench-strcat-ifunc.c: New file.
1024 * benchtests/bench-strcat.c: New file.
1025 * benchtests/bench-strchr-ifunc.c: New file.
1026 * benchtests/bench-strchr.c: New file.
1027 * benchtests/bench-strchrnul-ifunc.c: New file.
1028 * benchtests/bench-strchrnul.c: New file.
1029 * benchtests/bench-strcmp-ifunc.c: New file.
1030 * benchtests/bench-strcmp.c: New file.
1031 * benchtests/bench-strcpy-ifunc.c: New file.
1032 * benchtests/bench-strcpy.c: New file.
1033 * benchtests/bench-strcspn-ifunc.c: New file.
1034 * benchtests/bench-strcspn.c: New file.
1035 * benchtests/bench-strlen-ifunc.c: New file.
1036 * benchtests/bench-strlen.c: New file.
1037 * benchtests/bench-strncasecmp-ifunc.c: New file.
1038 * benchtests/bench-strncasecmp.c: New file.
1039 * benchtests/bench-strncat-ifunc.c: New file.
1040 * benchtests/bench-strncat.c: New file.
1041 * benchtests/bench-strncmp-ifunc.c: New file.
1042 * benchtests/bench-strncmp.c: New file.
1043 * benchtests/bench-strncpy-ifunc.c: New file.
1044 * benchtests/bench-strncpy.c: New file.
1045 * benchtests/bench-strnlen-ifunc.c: New file.
1046 * benchtests/bench-strnlen.c: New file.
1047 * benchtests/bench-strpbrk-ifunc.c: New file.
1048 * benchtests/bench-strpbrk.c: New file.
1049 * benchtests/bench-strrchr-ifunc.c: New file.
1050 * benchtests/bench-strrchr.c: New file.
1051 * benchtests/bench-strspn-ifunc.c: New file.
1052 * benchtests/bench-strspn.c: New file.
1053 * benchtests/bench-strstr-ifunc.c: New file.
1054 * benchtests/bench-strstr.c: New file.
1055
c1f75dc3
SP
1056 * benchtests/Makefile: Disable parallel execution of targets.
1057 (string-bench): Add memcpy.
1058 (benchset): New variable to store a list of benchmark sets.
1059 (bench-func): Renamed from bench.
1060 (bench-set): New target.
1061 (bench): Depend on bench-func and bench-set.
1062 * benchtests/README: Add section on benchmark sets.
1063 * benchtests/bench-memcpy-ifunc.c: New file.
1064 * benchtests/bench-memcpy.c: New file.
1065 * benchtests/bench-string.h: New file.
1066
50fd745b
AS
10672013-06-11 Andreas Schwab <schwab@suse.de>
1068
1069 [BZ #15577]
1070 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1071 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1072 values in the triple.
1073 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1074 terminator in the group key.
1075
3ee7e9fe
AJ
10762013-06-11 Andreas Jaeger <aj@suse.de>
1077
1078 * po/zh_TW.po: Update Chinese (traditional) translation from
1079 translation project.
1080
89fb6835
SP
10812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1082
1083 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1084 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1085 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1087 (clock_getcpuclockid): Likewise.
1088 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1089 Add weak_alias and libc_hidden_def.
1090 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1091 * rt/clock_gettime.c (clock_gettime): Rename to
1092 __clock_gettime. Add weak_alias and libc_hidden_def.
1093 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1094 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1095 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1096 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1097 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1098 Likewise.
1099 * rt/clock_settime.c (clock_settime): Rename to
1100 __clock_settime. Add weak_alias and libc_hidden_def.
1101 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1102
0efa6f8b
JM
11032013-06-10 Joseph Myers <joseph@codesourcery.com>
1104
b8c61b4b
JM
1105 * mach/err_boot.sub: Remove trailing whitespace.
1106 * mach/err_ipc.sub: Likewise.
1107 * mach/err_mach.sub: Likewise.
1108
0efa6f8b
JM
1109 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1110 (ROUNDING_TESTS_double): Likewise.
1111 (ROUNDING_TESTS_long_double): Likewise.
1112 (ROUNDING_TESTS): Likewise.
1113 * math/libm-test.inc: Include <math-tests.h>.
1114 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1115 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1116 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1117 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1118
50b818bf
SP
11192013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1120
1121 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1122 of assigning.
1123
60d2f8f3
JM
11242013-06-08 Joseph Myers <joseph@codesourcery.com>
1125
4902d2c3
JM
1126 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1127 otherwise empty TRANS lines.
1128 * sysdeps/gnu/errlist.c: Regenerated.
1129
60d2f8f3
JM
1130 * catgets/gencat.c (error_print): Use (void) in function
1131 definition.
1132 * crypt/crypt_util.c (__init_des): Likewise.
1133 * crypt/speeds.c (Stop): Likewise.
1134 (main): Likewise.
1135 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1136 * inet/ruserpass.c (token): Likewise.
1137 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1138 * intl/localealias.c (extend_alias_table): Likewise.
1139 * intl/plural-exp.c (init_germanic_plural): Likewise.
1140 * libio/fcloseall.c (__fcloseall): Likewise.
1141 * libio/genops.c (_IO_flush_all): Likewise.
1142 (_IO_flush_all_linebuffered): Likewise.
1143 (_IO_cleanup): Likewise.
1144 (_IO_iter_begin): Likewise.
1145 (_IO_iter_end): Likewise.
1146 (_IO_list_lock): Likewise.
1147 (_IO_list_unlock): Likewise.
1148 (_IO_list_resetlock): Likewise.
1149 * libio/getchar.c (getchar): Likewise.
1150 * libio/getchar_u.c (getchar_unlocked): Likewise.
1151 * libio/getwchar.c (getwchar): Likewise.
1152 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1153 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1154 * login/getpt.c (__getpt): Likewise.
1155 * login/tst-utmp.c (main): Likewise.
1156 * malloc/hooks.c (__malloc_check_init): Likewise.
1157 * malloc/malloc.c (__malloc_stats): Likewise.
1158 * malloc/mtrace.c (tr_break): Likewise.
1159 (mtrace): Likewise.
1160 (muntrace): Likewise.
1161 * misc/fstab.c (endfsent): Likewise.
1162 * misc/getclktck.c (__getclktck): Likewise.
1163 * misc/getdtsz.c (__getdtablesize): Likewise.
1164 * misc/gethostid.c (gethostid): Likewise.
1165 * misc/getpagesize.c (__getpagesize): Likewise.
1166 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1167 (__get_nprocs): Likewise.
1168 (__get_phys_pages): Likewise.
1169 (__get_avphys_pages): Likewise.
1170 * misc/getttyent.c (getttyent): Likewise.
1171 (setttyent): Likewise.
1172 (endttyent): Likewise.
1173 * misc/getusershell.c (getusershell): Likewise.
1174 (endusershell): Likewise.
1175 (setusershell): Likewise.
1176 (initshells): Likewise.
1177 * misc/hsearch.c (__hdestroy): Likewise.
1178 * misc/sync.c (sync): Likewise.
1179 * misc/syslog.c (closelog_internal): Likewise.
1180 (closelog): Likewise.
1181 * misc/ttyslot.c (ttyslot): Likewise.
1182 * misc/vhangup.c (vhangup): Likewise.
1183 * posix/fork.c (__fork): Likewise.
1184 * posix/getegid.c (__getegid): Likewise.
1185 * posix/geteuid.c (__geteuid): Likewise.
1186 * posix/getgid.c (__getgid): Likewise.
1187 * posix/getpid.c (__getpid): Likewise.
1188 * posix/getppid.c (__getppid): Likewise.
1189 * posix/getuid.c (__getuid): Likewise.
1190 * posix/pause.c (pause): Likewise.
1191 * posix/setpgrp.c (setpgrp): Likewise.
1192 * posix/setsid.c (__setsid): Likewise.
1193 * posix/test-vfork.c (noop): Likewise.
1194 * resolv/gethnamaddr.c (_endhtent): Likewise.
1195 (_gethtent): Likewise.
1196 (ht_endhostent): Likewise.
1197 (gethostent): Likewise.
1198 (dns_service): Likewise.
1199 * stdlib/drand48.c (drand48): Likewise.
1200 * stdlib/lrand48.c (lrand48): Likewise.
1201 * stdlib/mrand48.c (mrand48): Likewise.
1202 * stdlib/rand.c (rand): Likewise.
1203 * stdlib/random.c (__random): Likewise.
1204 * stdlib/setenv.c (clearenv): Likewise.
1205 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1206 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1207 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1208 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1209 (__get_nprocs): Likewise.
1210 (__get_phys_pages): Likewise.
1211 (__get_avphys_pages): Likewise.
1212 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1213 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1214 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1215 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1216 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1217 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1218 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1219 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1220 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1221 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1222 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1223 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1224 * sysdeps/posix/clock.c (clock): Likewise.
1225 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1226 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1227 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1228 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1229 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1230 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1231 (__get_nprocs_conf): Likewise.
1232 (__get_phys_pages): Likewise.
1233 (__get_avphys_pages): Likewise.
1234 * time/clock.c (clock): Likewise.
1235 * time/tzset.c (__tzname_max): Likewise.
1236
2e09a79a
JM
12372013-06-07 Joseph Myers <joseph@codesourcery.com>
1238
1239 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1240 (__bswap_32): Do not use "register".
1241 * crypt/crypt.c (_ufc_doit_r): Likewise.
1242 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1243 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1244 * gmon/gmon.c (__monstartup): Likewise.
1245 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1246 * hurd/hurdmalloc.c (more_memory): Likewise.
1247 (malloc): Likewise.
1248 (free): Likewise.
1249 (realloc): Likewise.
1250 (malloc_fork_prepare): Likewise.
1251 (malloc_fork_parent): Likewise.
1252 (malloc_fork_child): Likewise.
1253 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1254 (_svcauth_des): Likewise.
1255 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1256 * inet/inet_net.c (inet_network): Likewise.
1257 * inet/inet_netof.c (inet_netof): Likewise.
1258 * inet/rcmd.c (__validuser2_sa): Likewise.
1259 * io/fts.c (fts_open): Likewise.
1260 (fts_load): Likewise.
1261 (fts_close): Likewise.
1262 (fts_read): Likewise.
1263 (fts_children): Likewise.
1264 (fts_build): Likewise.
1265 (fts_stat): Likewise.
1266 (fts_sort): Likewise.
1267 (fts_alloc): Likewise.
1268 (fts_lfree): Likewise.
1269 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1270 (_IO_file_xsgetn): Likewise.
1271 (_IO_file_xsgetn_mmap): Likewise.
1272 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1273 (_IO_cookie_write): Likewise.
1274 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1275 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1276 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1277 * malloc/obstack.c (_obstack_begin): Likewise.
1278 (_obstack_begin_1): Likewise.
1279 (_obstack_newchunk): Likewise.
1280 (_obstack_allocated_p): Likewise.
1281 (obstack_free): Likewise.
1282 (_obstack_memory_used): Likewise.
1283 * misc/getttyent.c (getttynam): Likewise.
1284 (getttyent): Likewise.
1285 (skip): Likewise.
1286 (value): Likewise.
1287 * misc/getusershell.c (initshells): Likewise.
1288 * misc/syslog.c (__vsyslog_chk): Likewise.
1289 * misc/ttyslot.c (ttyslot): Likewise.
1290 * nis/nis_hash.c (__nis_hash): Likewise.
1291 * posix/fnmatch_loop.c (FCT): Likewise.
1292 * posix/getconf.c (print_all): Likewise.
1293 (main): Likewise.
1294 * posix/getopt.c (exchange): Likewise.
1295 * posix/glob.c (globfree): Likewise.
1296 (prefix_array): Likewise.
1297 (__glob_pattern_type): Likewise.
1298 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1299 (NS_GET32): Likewise.
1300 (NS_PUT16): Likewise.
1301 (NS_PUT32): Likewise.
1302 * resolv/gethnamaddr.c (getanswer): Likewise.
1303 (gethostbyname2): Likewise.
1304 (gethostbyaddr): Likewise.
1305 (_gethtent): Likewise.
1306 (_gethtbyname2): Likewise.
1307 (_gethtbyaddr): Likewise.
1308 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1309 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1310 * resolv/res_init.c (__res_vinit): Likewise.
1311 (net_mask): Likewise.
1312 * resolv/res_mkquery.c (outchar): Likewise.
1313 (PRINT): Likewise.
1314 * stdio-common/printf_fp.c (outchar): Likewise.
1315 (PRINT): Likewise.
1316 * stdio-common/printf_fphex.c (outchar): Likewise.
1317 (PRINT): Likewise.
1318 * stdio-common/printf_size.c (outchar): Likewise.
1319 (PRINT): Likewise.
1320 * stdio-common/test_rdwr.c (main): Likewise.
1321 * stdio-common/tfformat.c (matches): Likewise.
1322 * stdio-common/vfprintf.c (outchar): Likewise.
1323 (printf_unknown): Likewise.
1324 (buffered_vfprintf): Likewise.
1325 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1326 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1327 (ReadFile): Likewise.
1328 * stdlib/qsort.c (SWAP): Likewise.
1329 (_quicksort): Likewise.
1330 * stdlib/setenv.c (__add_to_environ): Likewise.
1331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1332 * stdlib/strtol_l.c (__strtol_l): Likewise.
1333 * stdlib/tst-strtod.c (main): Likewise.
1334 * stdlib/tst-strtol.c (main): Likewise.
1335 * stdlib/tst-strtoll.c (main): Likewise.
1336 * string/bits/string2.h (__strcmp_cc): Likewise.
1337 (__strcmp_cg): Likewise.
1338 (__strcspn_c1): Likewise.
1339 (__strcspn_c2): Likewise.
1340 (__strcspn_c3): Likewise.
1341 (__strspn_c1): Likewise.
1342 (__strspn_c2): Likewise.
1343 (__strspn_c3): Likewise.
1344 (__strsep_1c): Likewise.
1345 (__strsep_2c): Likewise.
1346 (__strsep_3c): Likewise.
1347 * string/memccpy.c (__memccpy): Likewise.
1348 * string/stpcpy.c (__stpcpy): Likewise.
1349 * string/strcmp.c (strcmp): Likewise.
1350 * string/strrchr.c (strrchr): Likewise.
1351 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1352 Likewise.
1353 * sysdeps/mach/hurd/getcwd.c
1354 (_hurd_canonicalize_directory_name_internal): Likewise.
1355 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1356 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1357 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1358 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1359 Likewise, in both definitions.
1360 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1361 definitions.
1362 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1363 64] (__bswap_64): Likewise.
1364 * time/test_time.c (main): Likewise.
1365 * time/tzfile.c (__tzfile_read): Likewise.
1366 (__tzfile_compute): Likewise.
1367 * time/tzset.c (__tzset_parse_tz): Likewise.
1368 (tzset_internal): Likewise.
1369 (compute_change): Likewise.
1370 * wcsmbs/wcscat.c (__wcscat): Likewise.
1371 * wcsmbs/wcschr.c (wcschr): Likewise.
1372 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1373 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1374 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1375 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1376 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1377 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1378 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1379 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1380 * wcsmbs/wmemset.c (wmemset): Likewise.
1381
9e54314b
JM
13822013-06-06 Joseph Myers <joseph@codesourcery.com>
1383
1384 * scripts/config.guess: Update to version 2013-05-16.
1385 * scripts/config.sub: Update to version 2013-04-24.
1386 * scripts/install-sh: Update to version 2011-11-20.07.
1387 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1388 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1389
350635a5
OB
13902013-06-06 Ondřej Bílka <neleai@seznam.cz>
1391
1392 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1393 * elf/sln.c: Likewise.
1394 * hurd/hurd/ioctl.h: Likewise.
1395 * hurd/hurdmalloc.c: Likewise.
1396 * hurd/xattr.c: Likewise.
1397 * include/shlib-compat.h: Likewise.
1398 * inet/ruserpass.c: Likewise.
1399 * libio/iofgets_u.c: Likewise.
1400 * libio/iofgetws_u.c: Likewise.
1401 * locale/programs/ld-identification.c: Likewise.
1402 * locale/programs/ld-time.c: Likewise.
1403 * mach/msg-destroy.c: Likewise.
1404 * nss/nss_files/files-netgrp.c: Likewise.
1405 * resolv/res_data.c: Likewise.
1406 * soft-fp/op-1.h: Likewise.
1407 * soft-fp/op-2.h: Likewise.
1408 * soft-fp/op-4.h: Likewise.
1409 * soft-fp/op-common.h: Likewise.
1410 * stdio-common/printf_fphex.c: Likewise.
1411 * stdlib/strtod_l.c: Likewise.
1412 * sunrpc/rpc/clnt.h: Likewise.
1413 * sysdeps/generic/framestate.c: Likewise.
1414 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1415 * sysdeps/i386/bsd-setjmp.S: Likewise.
1416 * sysdeps/i386/__longjmp.S: Likewise.
1417 * sysdeps/i386/setjmp.S: Likewise.
1418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1419 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1425 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1427 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1428 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1429 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1431 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1432 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1433 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1434 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1435 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1436 * sysdeps/ieee754/support.c: Likewise.
1437 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1438 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1439 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1440 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1441 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1442 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1443 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1444 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1445 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1446 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1447 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1448 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1449 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1450 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1451 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1452 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1453 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1455
44a988af
OB
14562013-06-05 Ondřej Bílka <neleai@seznam.cz>
1457
25506f09 1458 * posix/transbug.c: Remove executable mode.
44a988af 1459
9c84384c
JM
14602013-06-05 Joseph Myers <joseph@codesourcery.com>
1461
1462 * crypt/speeds.c: Remove trailing whitespace.
1463 * dlfcn/default.c: Likewise.
1464 * elf/ifuncdep2.c: Likewise.
1465 * elf/ifuncmain1.c: Likewise.
1466 * elf/ifuncmain1vis.c: Likewise.
1467 * elf/testobj.h: Likewise.
1468 * elf/tst-stackguard1.c: Likewise.
1469 * gmon/sys/gmon.h: Likewise.
1470 * hurd/hurdmsg.c: Likewise.
1471 * hurd/new-fd.c: Likewise.
1472 * hurd/ports-get.c: Likewise.
1473 * iconvdata/ibm1008_420.c: Likewise.
1474 * inet/tst-getni1.c: Likewise.
1475 * inet/tst-getni2.c: Likewise.
1476 * libio/ioungetc.c: Likewise.
1477 * libio/wfiledoalloc.c: Likewise.
1478 * manual/libm-err-tab.pl: Likewise.
1479 * math/w_dremf.c: Likewise.
1480 * misc/ftruncate.c: Likewise.
1481 * posix/bug-glob2.c: Likewise.
1482 * posix/tst-pcre.c: Likewise.
1483 * posix/wait4.c: Likewise.
1484 * resolv/README: Likewise.
1485 * resolv/res_debug.h: Likewise.
1486 * resolv/tst-inet_ntop.c: Likewise.
1487 * setjmp/bug269-setjmp.c: Likewise.
1488 * soft-fp/extended.h: Likewise.
1489 * soft-fp/op-1.h: Likewise.
1490 * soft-fp/op-2.h: Likewise.
1491 * soft-fp/op-4.h: Likewise.
1492 * soft-fp/op-8.h: Likewise.
1493 * soft-fp/testit.c: Likewise.
1494 * stdio-common/bug16.c: Likewise.
1495 * stdlib/random.c: Likewise.
1496 * sunrpc/rpcsvc/rquota.x: Likewise.
1497 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1498 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1500 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1501 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1502 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1503 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1504 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1506 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1507 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1526 * sysdeps/ieee754/s_lib_version.c: Likewise.
1527 * sysdeps/mach/hurd/check_fds.c: Likewise.
1528 * sysdeps/mach/hurd/getsockname.c: Likewise.
1529 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1530 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1531 * sysdeps/powerpc/bits/link.h: Likewise.
1532 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1533 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1534 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1535 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1536 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1537 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1538 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1539 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1540 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1541 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1542 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1543 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1544 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1545 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1546 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1547 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1553 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1559 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1560 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1563 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1566 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1569 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1574 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1578 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1579 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1581 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1583 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1585 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1586 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1587 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1588 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1591 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1596 * sysdeps/powerpc/sysdep.h: Likewise.
1597 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1598 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1599 * sysdeps/sh/dl-trampoline.S: Likewise.
1600 * sysdeps/sh/memset.S: Likewise.
1601 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1602 * sysdeps/sh/strlen.S: Likewise.
1603 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1604 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1605 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1606 * sysdeps/sparc/sparc32/rem.S: Likewise.
1607 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1608 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1609 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1610 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1611 * sysdeps/sparc/sparc32/urem.S: Likewise.
1612 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1613 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1614 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1615 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1616 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1617 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1618 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1619 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1620 * sysdeps/unix/bsd/times.c: Likewise.
1621 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1622 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1626 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1627 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1629 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1632 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1633 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1634 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1635 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1636 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1638 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1639 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1640 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1641 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1642 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1643 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1644 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1645 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1646 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1647 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1649 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1650 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1651 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1652 * sysdeps/x86_64/strcspn.S: Likewise.
1653
869378a5
RA
16542013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1655
1656 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1657 generated file. Regenerate properly from gen-translit.pl.
1658 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1659 locale/C-translit.h.
1660
840e2943
AS
16612013-06-05 Andreas Schwab <schwab@suse.de>
1662
1663 [BZ #15100]
1664 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1665 week as 6 instead of -1.
1666 * time/tst-strptime.c (day_tests): Add test case.
1667
4c60cb0c
SP
16682013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1669
1670 * sysdeps/generic/math_private.h
1671 (libc_feholdexcept_setround_53bit): Replace with
1672 libc_feholdsetround_53bit.
1673 (libc_feupdateenv_53bit): Replace with
1674 libc_feresetround_53bit.
1675 (SET_RESTORE_ROUND_53BIT): Adjust.
1676
d180203e
SP
16772013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1678
96df079a
SP
1679 * string/test-strchrnul.c: Add copyright header.
1680
d180203e
SP
1681 * posix/tst-getaddrinfo4.c: Increase test timeout.
1682
8b0ccb2d
CD
16832013-06-03 Carlos O'Donell <carlos@redhat.com>
1684
1685 [BZ #15536]
1686 * math/libm-test.inc (MAX_EXP): Remove
1687 (MIN_EXP): Define.
1688 (ulp): Use MIN_EXP - MANT_DIG.
1689 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1690
3b3c4d40
CD
16912013-05-31 Carlos O'Donell <carlos@redhat.com>
1692
1693 * po/be.po: Revert last change.
1694 * po/zh_CN.po: Likewise.
1695 * po/header.pot: Likewise.
1696
fab7ce3f
JM
16972013-05-31 Joseph Myers <joseph@codesourcery.com>
1698
1699 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1700 link-libc-deps to empty as target-specific variable.
1701 * Makerules (link-libc-args): New variable.
1702 (libc-for-link): Likewise.
1703 (link-libc-deps): Likewise.
1704 (lib%.so): Depend on $(link-libc-deps). Link with
1705 $(link-libc-args).
1706 (build-module): Link with $(link-libc-args).
1707 (build-module-asneeded): Likewise.
1708 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1709 list of objects.
1710 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1711 target-specific variable.
1712 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1713 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1714 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1715 libc.
1716 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1717 libc and ld.so.
1718 ($(objpfx)libpcprofile.so): Likewise.
1719 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1720 libc_nonshared.a.
1721 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1722 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1723 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1724 $(link-libc-deps).
1725 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1726 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1727 * login/Makefile ($(objpfx)libutil.so): Likewise.
1728 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1729 * math/Makefile ($(objpfx)libm.so): Likewise.
1730 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1731 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1732 variable instead of depending directly on libc.
1733 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1734 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1735 $(link-libc-deps).
1736 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1737 libc.
1738 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1739 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1740 ($(objpfx)libanl.so): Likewise.
1741 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1742 ld.so.
1743 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1744 $(link-libc-deps).
1745 * sysdeps/i386/fpu/Makefile: Remove file.
1746 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1747 ($(objpfx)libm.so): Remove dependency on ld.so.
1748
eca5920c
PF
17492013-05-30 Patsy Franklin <pfrankli@redhat.com>
1750
1751 [BZ # 15553]
1752 * nis/yp_xdr.c (XDRMAXNAME): Define.
1753 (XDRMAXRECORD): Define.
1754 (xdr_domainname): Use XDRMAXNAME.
1755 (xdr_mapname): Likewise.
1756 (xdr_peername): Likewise.
1757 (xdr_keydat): Use XDRMAXRECORD.
1758 (xdr_valdat): Likewise.
1759
17602013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1761
1762 [BZ #14256]
1763 * manual/errno.texi (ESTALE): Update to account for more than
1764 just NFS file systems.
1765 * sysdeps/gnu/errlist.c: Regenerated.
1766
b9375348
SP
17672013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1768
1769 [BZ #15465]
1770 * elf/Makefile (tests): Add tst-null-argv.
1771 (modules-names): Add tst-null-argv-lib.
1772 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1773 (tst-null-argv-ENV): Set environment for tst-null-argv.
1774 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1775 (RTLD_PROGNAME): New macro.
1776 * elf/tst-null-argv.c: New test case.
1777 * elf/tst-null-argv-lib.c: Library for test case.
1778 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1779 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1780 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1781 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1782 * elf/dl-init.c (call_init): Likewise.
1783 (_dl_init): Likewise.
1784 * elf/dl-load.c (print_search_path): Likewise.
1785 (_dl_map_object): Likewise.
1786 * elf/dl-lookup.c (do_lookup_x): Likewise.
1787 (add_dependency): Likewise.
1788 (_dl_lookup_symbol_x): Likewise.
1789 (_dl_debug_bindings): Likewise.
1790 * elf/dl-open.c (_dl_show_scope): Likewise.
1791 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1792 * elf/dl-version.c (match_symbol): Likewise.
1793 (_dl_check_map_versions): Likewise.
1794 * elf/rtld.c (dl_main): Likewise.
1795 (print_unresolved): Use RTLD_PROGNAME.
1796 (print_missing_version): Likewise.
1797 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1798 (elf_machine_rela): Likewise.
1799 * sysdeps/powerpc/powerpc32/dl-machine.c
1800 (__process_machine_rela): Likewise.
1801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1802 Likewise.
1803 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1804 Likewise.
1805 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1806 Likewise.
1807 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1808 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1809 Likewise.
1810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1811 Likewise.
1812 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1813
8a9f20c8
CD
18142013-05-28 Carlos O'Donell <carlos@redhat.com>
1815
1816 * po/be.po: Add descriptive title.
1817 * po/zh_CN.po: Likewise.
1818 * po/header.pot: Likewise.
1819
0e60d68e
MF
18202013-05-28 Mike Frysinger <vapier@gentoo.org>
1821
1822 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1823 error message.
1824 (enlarge_archive): Likewise.
1825
56b672e9
BN
18262013-05-28 Ben North <ben@redfrontdoor.org>
1827
1828 * manual/arith.texi (frexp): It is the magnitude of the return
1829 value which lies in [0.5, 1), not the return value itself.
1830
5e056687
AZ
18312013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832
1833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1834
2b66ef5d
TS
18352013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1836
528c2405
TS
1837 * stdio-common/bug26.c (main): Correct fscanf template.
1838
07b4c13d
TS
1839 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1840 declare _dl_skip_args.
1841
ec9dd97c
TS
1842 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1843 Don't declare.
1844
2b66ef5d
TS
1845 * manual/platform.texi: Add missing @end deftypefun.
1846
4f8dfe27
JM
18472013-05-24 Joseph Myers <joseph@codesourcery.com>
1848
0323d086
JM
1849 [BZ #15529]
1850 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1851 bit of mantissa of 2^16382.
1852 * math/libm-test.inc (hypot_test_data): Add more tests.
1853
dd4259b9
JM
1854 * math/libm-test.inc: Add drem and pow10 to list of tested
1855 functions.
1856 (pow10_test): New function.
1857 (drem_test): Likewise.
1858 (drem_test_tonearest): Likewise.
1859 (drem_test_towardzero): Likewise.
1860 (drem_test_downward): Likewise.
1861 (drem_test_upward): Likewise.
1862 (main): Call the new functions.
1863
4f8dfe27
JM
1864 * math/libm-test.inc (finite_test_data): Remove.
1865 (finite_test): Run tests from isfinite_test_data.
1866 (gamma_test_data): Remove.
1867 (gamma_test): Run tests from lgamma_test_data.
1868 * sysdeps/i386/fpu/libm-test-ulps: Update.
1869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1870
d116b7c4
AZ
18712013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872
1873 * manual/platform.texi: Add PowerPC PPR function set documentation.
1874 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1875 implementation.
1876
e96e3767
CD
18772013-05-24 Carlos O'Donell <carlos@redhat.com>
1878
1879 * math/libm-test.inc (MAX_EXP): Define.
1880 (ULPDIFF): Define.
1881 (ulp): New function.
1882 (check_float_internal): Use ULPDIFF.
1883 (cpow_test): Disable failing test.
1884 (check_ulp): Test ulp() implemetnation.
1885 (main): Call check_ulp before starting tests.
1886
b679a606
JM
18872013-05-24 Joseph Myers <joseph@codesourcery.com>
1888
e8bdba36
JM
1889 * math/gen-libm-test.pl (generate_testfile): Do not handle
1890 START_DATA and END_DATA.
1891 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1892 END_DATA.
1893 (acos_tonearest_test_data): Likewise.
1894 (acos_towardzero_test_data): Likewise.
1895 (acos_downward_test_data): Likewise.
1896 (acos_upward_test_data): Likewise.
1897 (acosh_test_data): Likewise.
1898 (asin_test_data): Likewise.
1899 (asin_tonearest_test_data): Likewise.
1900 (asin_towardzero_test_data): Likewise.
1901 (asin_downward_test_data): Likewise.
1902 (asin_upward_test_data): Likewise.
1903 (asinh_test_data): Likewise.
1904 (atan_test_data): Likewise.
1905 (atanh_test_data): Likewise.
1906 (atan2_test_data): Likewise.
1907 (cabs_test_data): Likewise.
1908 (cacos_test_data): Likewise.
1909 (cacosh_test_data): Likewise.
1910 (carg_test_data): Likewise.
1911 (casin_test_data): Likewise.
1912 (casinh_test_data): Likewise.
1913 (catan_test_data): Likewise.
1914 (catanh_test_data): Likewise.
1915 (cbrt_test_data): Likewise.
1916 (ccos_test_data): Likewise.
1917 (ccosh_test_data): Likewise.
1918 (ceil_test_data): Likewise.
1919 (cexp_test_data): Likewise.
1920 (cimag_test_data): Likewise.
1921 (clog_test_data): Likewise.
1922 (clog10_test_data): Likewise.
1923 (conj_test_data): Likewise.
1924 (copysign_test_data): Likewise.
1925 (cos_test_data): Likewise.
1926 (cos_tonearest_test_data): Likewise.
1927 (cos_towardzero_test_data): Likewise.
1928 (cos_downward_test_data): Likewise.
1929 (cos_upward_test_data): Likewise.
1930 (cosh_test_data): Likewise.
1931 (cosh_tonearest_test_data): Likewise.
1932 (cosh_towardzero_test_data): Likewise.
1933 (cosh_downward_test_data): Likewise.
1934 (cosh_upward_test_data): Likewise.
1935 (cpow_test_data): Likewise.
1936 (cproj_test_data): Likewise.
1937 (creal_test_data): Likewise.
1938 (csin_test_data): Likewise.
1939 (csinh_test_data): Likewise.
1940 (csqrt_test_data): Likewise.
1941 (ctan_test_data): Likewise.
1942 (ctan_tonearest_test_data): Likewise.
1943 (ctan_towardzero_test_data): Likewise.
1944 (ctan_downward_test_data): Likewise.
1945 (ctan_upward_test_data): Likewise.
1946 (ctanh_test_data): Likewise.
1947 (ctanh_tonearest_test_data): Likewise.
1948 (ctanh_towardzero_test_data): Likewise.
1949 (ctanh_downward_test_data): Likewise.
1950 (ctanh_upward_test_data): Likewise.
1951 (erf_test_data): Likewise.
1952 (erfc_test_data): Likewise.
1953 (exp_test_data): Likewise.
1954 (exp_tonearest_test_data): Likewise.
1955 (exp_towardzero_test_data): Likewise.
1956 (exp_downward_test_data): Likewise.
1957 (exp_upward_test_data): Likewise.
1958 (exp10_test_data): Likewise.
1959 (exp2_test_data): Likewise.
1960 (expm1_test_data): Likewise.
1961 (fabs_test_data): Likewise.
1962 (fdim_test_data): Likewise.
1963 (finite_test_data): Likewise.
1964 (floor_test_data): Likewise.
1965 (fma_test_data): Likewise.
1966 (fma_towardzero_test_data): Likewise.
1967 (fma_downward_test_data): Likewise.
1968 (fma_upward_test_data): Likewise.
1969 (fmax_test_data): Likewise.
1970 (fmin_test_data): Likewise.
1971 (fmod_test_data): Likewise.
1972 (fpclassify_test_data): Likewise.
1973 (frexp_test_data): Likewise.
1974 (gamma_test_data): Likewise.
1975 (hypot_test_data): Likewise.
1976 (ilogb_test_data): Likewise.
1977 (isfinite_test_data): Likewise.
1978 (isgreater_test_data): Likewise.
1979 (isgreaterequal_test_data): Likewise.
1980 (isinf_test_data): Likewise.
1981 (isless_test_data): Likewise.
1982 (islessequal_test_data): Likewise.
1983 (islessgreater_test_data): Likewise.
1984 (isnan_test_data): Likewise.
1985 (isnormal_test_data): Likewise.
1986 (issignaling_test_data): Likewise.
1987 (isunordered_test_data): Likewise.
1988 (j0_test_data): Likewise.
1989 (j1_test_data): Likewise.
1990 (jn_test_data): Likewise.
1991 (ldexp_test_data): Likewise.
1992 (lgamma_test_data): Likewise.
1993 (lrint_test_data): Likewise.
1994 (lrint_tonearest_test_data): Likewise.
1995 (lrint_towardzero_test_data): Likewise.
1996 (lrint_downward_test_data): Likewise.
1997 (lrint_upward_test_data): Likewise.
1998 (llrint_test_data): Likewise.
1999 (llrint_tonearest_test_data): Likewise.
2000 (llrint_towardzero_test_data): Likewise.
2001 (llrint_downward_test_data): Likewise.
2002 (llrint_upward_test_data): Likewise.
2003 (log_test_data): Likewise.
2004 (log10_test_data): Likewise.
2005 (log1p_test_data): Likewise.
2006 (log2_test_data): Likewise.
2007 (logb_test_data): Likewise.
2008 (logb_downward_test_data): Likewise.
2009 (lround_test_data): Likewise.
2010 (llround_test_data): Likewise.
2011 (modf_test_data): Likewise.
2012 (nearbyint_test_data): Likewise.
2013 (nextafter_test_data): Likewise.
2014 (nexttoward_test_data): Likewise.
2015 (pow_test_data): Likewise.
2016 (pow_tonearest_test_data): Likewise.
2017 (pow_towardzero_test_data): Likewise.
2018 (pow_downward_test_data): Likewise.
2019 (pow_upward_test_data): Likewise.
2020 (remainder_test_data): Likewise.
2021 (remainder_tonearest_test_data): Likewise.
2022 (remainder_towardzero_test_data): Likewise.
2023 (remainder_downward_test_data): Likewise.
2024 (remainder_upward_test_data): Likewise.
2025 (remquo_test_data): Likewise.
2026 (rint_test_data): Likewise.
2027 (rint_tonearest_test_data): Likewise.
2028 (rint_towardzero_test_data): Likewise.
2029 (rint_downward_test_data): Likewise.
2030 (rint_upward_test_data): Likewise.
2031 (round_test_data): Likewise.
2032 (scalb_test_data): Likewise.
2033 (scalbn_test_data): Likewise.
2034 (scalbln_test_data): Likewise.
2035 (signbit_test_data): Likewise.
2036 (sin_test_data): Likewise.
2037 (sin_tonearest_test_data): Likewise.
2038 (sin_towardzero_test_data): Likewise.
2039 (sin_downward_test_data): Likewise.
2040 (sin_upward_test_data): Likewise.
2041 (sincos_test_data): Likewise.
2042 (sinh_test_data): Likewise.
2043 (sinh_tonearest_test_data): Likewise.
2044 (sinh_towardzero_test_data): Likewise.
2045 (sinh_downward_test_data): Likewise.
2046 (sinh_upward_test_data): Likewise.
2047 (sqrt_test_data): Likewise.
2048 (tan_test_data): Likewise.
2049 (tan_tonearest_test_data): Likewise.
2050 (tan_towardzero_test_data): Likewise.
2051 (tan_downward_test_data): Likewise.
2052 (tan_upward_test_data): Likewise.
2053 (tanh_test_data): Likewise.
2054 (tgamma_test_data): Likewise.
2055 (trunc_test_data): Likewise.
2056 (y0_test_data): Likewise.
2057 (y1_test_data): Likewise.
2058 (yn_test_data): Likewise.
2059 (significand_test_data): Likewise.
2060
b679a606
JM
2061 * math/gen-libm-test.pl (@functions): Remove variable.
2062 (generate_testfile): Don't handle START and END lines.
2063 * math/libm-test.inc (START): New macro.
2064 (END): Likewise.
2065 (END_COMPLEX): Likewise.
2066 (acos_test): Use END macro without arguments.
2067 (acos_test_tonearest): Likewise.
2068 (acos_test_towardzero): Likewise.
2069 (acos_test_downward): Likewise.
2070 (acos_test_upward): Likewise.
2071 (acosh_test): Likewise.
2072 (asin_test): Likewise.
2073 (asin_test_tonearest): Likewise.
2074 (asin_test_towardzero): Likewise.
2075 (asin_test_downward): Likewise.
2076 (asin_test_upward): Likewise.
2077 (asinh_test): Likewise.
2078 (atan_test): Likewise.
2079 (atanh_test): Likewise.
2080 (atan2_test): Likewise.
2081 (cabs_test): Likewise.
2082 (cacos_test): Use END_COMPLEX macro without arguments.
2083 (cacosh_test): Likewise.
2084 (carg_test): Use END macro without arguments.
2085 (casin_test): Use END_COMPLEX macro without arguments.
2086 (casinh_test): Likewise.
2087 (catan_test): Likewise.
2088 (catanh_test): Likewise.
2089 (cbrt_test): Use END macro without arguments.
2090 (ccos_test): Use END_COMPLEX macro without arguments.
2091 (ccosh_test): Likewise.
2092 (ceil_test): Use END macro without arguments.
2093 (cexp_test): Use END_COMPLEX macro without arguments.
2094 (cimag_test): Use END macro without arguments.
2095 (clog_test): Use END_COMPLEX macro without arguments.
2096 (clog10_test): Likewise.
2097 (conj_test): Likewise.
2098 (copysign_test): Use END macro without arguments.
2099 (cos_test): Likewise.
2100 (cos_test_tonearest): Likewise.
2101 (cos_test_towardzero): Likewise.
2102 (cos_test_downward): Likewise.
2103 (cos_test_upward): Likewise.
2104 (cosh_test): Likewise.
2105 (cosh_test_tonearest): Likewise.
2106 (cosh_test_towardzero): Likewise.
2107 (cosh_test_downward): Likewise.
2108 (cosh_test_upward): Likewise.
2109 (cpow_test): Use END_COMPLEX macro without arguments.
2110 (cproj_test): Likewise.
2111 (creal_test): Use END macro without arguments.
2112 (csin_test): Use END_COMPLEX macro without arguments.
2113 (csinh_test): Likewise.
2114 (csqrt_test): Likewise.
2115 (ctan_test): Likewise.
2116 (ctan_test_tonearest): Likewise.
2117 (ctan_test_towardzero): Likewise.
2118 (ctan_test_downward): Likewise.
2119 (ctan_test_upward): Likewise.
2120 (ctanh_test): Likewise.
2121 (ctanh_test_tonearest): Likewise.
2122 (ctanh_test_towardzero): Likewise.
2123 (ctanh_test_downward): Likewise.
2124 (ctanh_test_upward): Likewise.
2125 (erf_test): Use END macro without arguments.
2126 (erfc_test): Likewise.
2127 (exp_test): Likewise.
2128 (exp_test_tonearest): Likewise.
2129 (exp_test_towardzero): Likewise.
2130 (exp_test_downward): Likewise.
2131 (exp_test_upward): Likewise.
2132 (exp10_test): Likewise.
2133 (exp2_test): Likewise.
2134 (expm1_test): Likewise.
2135 (fabs_test): Likewise.
2136 (fdim_test): Likewise.
2137 (finite_test): Likewise.
2138 (floor_test): Likewise.
2139 (fma_test): Likewise.
2140 (fma_test_towardzero): Likewise.
2141 (fma_test_downward): Likewise.
2142 (fma_test_upward): Likewise.
2143 (fmax_test): Likewise.
2144 (fmin_test): Likewise.
2145 (fmod_test): Likewise.
2146 (fpclassify_test): Likewise.
2147 (frexp_test): Likewise.
2148 (gamma_test): Likewise.
2149 (hypot_test): Likewise.
2150 (ilogb_test): Likewise.
2151 (isfinite_test): Likewise.
2152 (isgreater_test): Likewise.
2153 (isgreaterequal_test): Likewise.
2154 (isinf_test): Likewise.
2155 (isless_test): Likewise.
2156 (islessequal_test): Likewise.
2157 (islessgreater_test): Likewise.
2158 (isnan_test): Likewise.
2159 (isnormal_test): Likewise.
2160 (issignaling_test): Likewise.
2161 (isunordered_test): Likewise.
2162 (j0_test): Likewise.
2163 (j1_test): Likewise.
2164 (jn_test): Likewise.
2165 (ldexp_test): Likewise.
2166 (lgamma_test): Likewise.
2167 (lrint_test): Likewise.
2168 (lrint_test_tonearest): Likewise.
2169 (lrint_test_towardzero): Likewise.
2170 (lrint_test_downward): Likewise.
2171 (lrint_test_upward): Likewise.
2172 (llrint_test): Likewise.
2173 (llrint_test_tonearest): Likewise.
2174 (llrint_test_towardzero): Likewise.
2175 (llrint_test_downward): Likewise.
2176 (llrint_test_upward): Likewise.
2177 (log_test): Likewise.
2178 (log10_test): Likewise.
2179 (log1p_test): Likewise.
2180 (log2_test): Likewise.
2181 (logb_test): Likewise.
2182 (logb_test_downward): Likewise.
2183 (lround_test): Likewise.
2184 (llround_test): Likewise.
2185 (modf_test): Likewise.
2186 (nearbyint_test): Likewise.
2187 (nextafter_test): Likewise.
2188 (nexttoward_test): Likewise.
2189 (pow_test): Likewise.
2190 (pow_test_tonearest): Likewise.
2191 (pow_test_towardzero): Likewise.
2192 (pow_test_downward): Likewise.
2193 (pow_test_upward): Likewise.
2194 (remainder_test): Likewise.
2195 (remainder_test_tonearest): Likewise.
2196 (remainder_test_towardzero): Likewise.
2197 (remainder_test_downward): Likewise.
2198 (remainder_test_upward): Likewise.
2199 (remquo_test): Likewise.
2200 (rint_test): Likewise.
2201 (rint_test_tonearest): Likewise.
2202 (rint_test_towardzero): Likewise.
2203 (rint_test_downward): Likewise.
2204 (rint_test_upward): Likewise.
2205 (round_test): Likewise.
2206 (scalb_test): Likewise.
2207 (scalbn_test): Likewise.
2208 (scalbln_test): Likewise.
2209 (signbit_test): Likewise.
2210 (sin_test): Likewise.
2211 (sin_test_tonearest): Likewise.
2212 (sin_test_towardzero): Likewise.
2213 (sin_test_downward): Likewise.
2214 (sin_test_upward): Likewise.
2215 (sincos_test): Likewise.
2216 (sinh_test): Likewise.
2217 (sinh_test_tonearest): Likewise.
2218 (sinh_test_towardzero): Likewise.
2219 (sinh_test_downward): Likewise.
2220 (sinh_test_upward): Likewise.
2221 (sqrt_test): Likewise.
2222 (tan_test): Likewise.
2223 (tan_test_tonearest): Likewise.
2224 (tan_test_towardzero): Likewise.
2225 (tan_test_downward): Likewise.
2226 (tan_test_upward): Likewise.
2227 (tanh_test): Likewise.
2228 (tgamma_test): Likewise.
2229 (trunc_test): Likewise.
2230 (y0_test): Likewise.
2231 (y1_test): Likewise.
2232 (yn_test): Likewise.
2233 (significand_test): Likewise.
2234
bae143d2
OB
22352013-05-24 Ondřej Bílka <neleai@seznam.cz>
2236
2237 [BZ #15381]
2238 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2239
9323d39b
EM
22402013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2241
d4ea44a0 2242 [BZ #14894]
9323d39b
EM
2243 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2244 __ppc_mdoio and __ppc_mdoom.
2245 * manual/platform.texi: Document new functions __ppc_yield,
2246 __ppc_mdoio and __ppc_mdoom.
2247
13e23af7
CD
22482013-05-22 Carlos O'Donell <carlos@redhat.com>
2249
2250 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2251 (main): Mention "tls" pseudo-hwcap is legacy.
2252 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2253
351fe550
JM
22542013-05-22 Joseph Myers <joseph@codesourcery.com>
2255
2256 * math/gen-libm-test.pl (parse_args): Output only string of
2257 arguments as text for test name, not full call or descriptions of
2258 tests for extra outputs.
2259 (generate_testfile): Do not pass function name to parse_args.
2260 Generate this_func variable from START.
2261 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2262 field to arg_str.
2263 (struct test_ff_f_data): Likewise.
2264 (test_ff_f_data_nexttoward): Likewise.
2265 (struct test_fi_f_data): Likewise.
2266 (struct test_fl_f_data): Likewise.
2267 (struct test_if_f_data): Likewise.
2268 (struct test_fff_f_data): Likewise.
2269 (struct test_c_f_data): Likewise.
2270 (struct test_f_f1_data): Likewise. Remove field extra_name.
2271 (struct test_fF_f1_data): Likewise.
2272 (struct test_ffI_f1_data): Likewise.
2273 (struct test_c_c_data): Rename test_name field to arg_str.
2274 (struct test_cc_c_data): Likewise.
2275 (struct test_f_i_data): Likewise.
2276 (struct test_ff_i_data): Likewise.
2277 (struct test_f_l_data): Likewise.
2278 (struct test_f_L_data): Likewise.
2279 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2280 and extra2_name.
2281 (COMMON_TEST_SETUP): New macro.
2282 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2283 (COMMON_TEST_CLEANUP): Likewise.
2284 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2285 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2286 macros.
2287 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2288 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2289 macros.
2290 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2291 (RUN_TEST_fff_f): Take argument string. Call new setup and
2292 cleanup macros.
2293 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2294 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2295 macros.
2296 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2297 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2298 macros.
2299 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2300 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2301 cleanup macros.
2302 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2303 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2304 cleanup macros.
2305 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2306 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2307 cleanup macros.
2308 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2309 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2310 macros.
2311 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2312 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2313 macros.
2314 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2315 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2316 macros.
2317 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2318 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2319 cleanup macros.
2320 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2321 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2322 cleanup macros.
2323 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2324 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2325 macros.
2326 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2327 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2328 cleanup macros.
2329 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2330 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2331 macros.
2332 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2333 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2334 macros.
2335 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2336 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2337 cleanup macros.
2338 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2339
85118d4d
EBM
23402013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2341
2342 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2343 to _sifields.sigfault.
2344 (si_addr_lsb): Define new macro.
2345 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2346 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2347 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2348
7a44c18f
CD
23492013-05-03 Carlos O'Donell <carlos at redhat.com>
2350
2351 [BZ #15441]
2352 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2353 returns -1.
2354 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2355 null return -1.
2356 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2357 loading the domain.
2358
b50a7181
JM
23592013-05-22 Joseph Myers <joseph@codesourcery.com>
2360
2361 * math/gen-libm-test.pl (parse_args): Do not include expected
2362 result in test name.
2363 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2365 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2366 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2367 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2369
051063c8
SP
23702013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2371
3ce9e010
SP
2372 * benchtests/Makefile: Sort function entries.
2373
051063c8
SP
2374 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2375 tanh, asinh, acosh, atanh.
2376 * benchtests/acos-inputs: New file.
2377 * benchtests/acosh-inputs: New file.
2378 * benchtests/asin-inputs: New file.
2379 * benchtests/asinh-inputs: New file.
2380 * benchtests/atanh-inputs: New file.
2381 * benchtests/cosh-inputs: New file.
2382 * benchtests/log-inputs: New file.
2383 * benchtests/sinh-inputs: New file.
2384 * benchtests/tanh-inputs: New file.
2385
47c22455
DL
23862013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2387
2388 [BZ #15339]
2389 * posix/tst-getaddrinfo4.c: New test.
2390 * posix/Makefile (tests): Add it.
2391
3d04f5db
SP
23922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2393
2394 [BZ #15339]
2395 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2396 when no services were used.
2397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2398 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2399
d5dd6189
AS
24002013-05-21 Andreas Schwab <schwab@suse.de>
2401
2402 [BZ #15014]
2403 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2404 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2405 successful.
2406 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2407 redundant variable declarations and reallocation of buffer when
2408 parsing as IPv6 address. Always set NSS status when called from
2409 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2410 buffer too small. Correct computation of needed size.
2411 * nss/Makefile (tests): Add test-digits-dots.
2412 * nss/test-digits-dots.c: New test.
2413
fef94eab
SP
24142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2415
2416 * benchtests/Makefile: Remove instructions for adding
2417 benchmark tests.
2418 * benchtests/README: New file to explain how to execute and
2419 enhance the benchmark tests.
2420
e39adf43
AS
24212013-05-21 Andreas Schwab <schwab@suse.de>
2422
2423 [BZ #15493]
2424 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2425 * setjmp/tst-sigsetjmp.c: New test.
2426
b2b671b6
OB
24272013-05-20 Ondřej Bílka <neleai@seznam.cz>
2428
2429 * sysdeps/x86_64/memset.S (memset): New implementation.
2430 (__bzero): Likewise.
2431 (__memset_tail): New function.
2432
2d48b41c
OB
24332013-05-20 Ondřej Bílka <neleai@seznam.cz>
2434
2435 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2436 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2437 __memcpy_sse2_unaligned ifunc selection.
2438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2439 Add memcpy-sse2-unaligned.S.
2440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2441 Add: __memcpy_sse2_unaligned.
2442
f16cc3eb
JM
24432013-05-19 Joseph Myers <joseph@codesourcery.com>
2444
3e694268
JM
2445 [BZ #15490]
2446 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2447 math_force_eval before restoring floating-point envrionment.
2448 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2449 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2450 Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2452 <math_private.h>.
2453 (__nearbyintl): Use math_force_eval before restoring
2454 floating-point environment.
2455 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2456
db62a907
JM
2457 * math/gen-libm-test.pl (special_functions): Remove.
2458 (parse_args): Don't handle TEST_extra. Handle functions with no
2459 return value.
2460 * math/libm-test.inc (struct test_sincos_data): Replace with
2461 struct test_fFF_11_data.
2462 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2463 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2464 (sincos_test_data): Change element type to struct
2465 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2466 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2467 RUN_TEST_LOOP_sincos.
2468 * math/README.libm-test: Don't mention special handling of
2469 individual functions.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2471 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2472 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2473 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2474 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476
f16cc3eb
JM
2477 * math/gen-libm-test.pl (get_variable): Remove function.
2478 (parse_args): Don't show pointer parameters to call in test
2479 names. Use "extra output N" in test names for extra outputs
2480 rather than naming variables.
2481
3779b5b6
JM
24822013-05-18 Joseph Myers <joseph@codesourcery.com>
2483
2ee094ff
JM
2484 [BZ #15488]
2485 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2486 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2487 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2488 double tests.
2489 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2490 disable.
2491 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2492 check_long_double.
2493
3779b5b6
JM
2494 * math/gen-libm-test.pl (@tests): Remove variable.
2495 ($count): Likewise.
2496 (new_test): Remove function.
2497 (show_exceptions): New function.
2498 (special_functions): Use show_exceptions instead of new_test.
2499 (parse_args): Likewise.
2500 (generate_testfile): Pass only function name in generated call to
2501 print_max_error or print_complex_max_error.
2502 (get_ulps): Do not handle complex tests specially.
2503 (output_test): Rename to ...
2504 (get_all_ulps_for_test): ... this. Return a string rather than
2505 printing to a file. Require ulps to be present.
2506 (output_ulps): Generate arrays rather than #defines.
2507 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2508 (struct ulp_data): New type.
2509 (BUILD_COMPLEX_ULP): Remove macro.
2510 (compare_ulp_data): New function.
2511 (find_ulps): Likewise.
2512 (find_test_ulps): Likewise.
2513 (find_function_ulps): Likewise.
2514 (find_complex_function_ulps): Likewise.
2515 (print_max_error): Determine allowed ulps using
2516 find_function_ulps.
2517 (print_complex_max_error): Determine allowed ulps using
2518 find_complex_function_ulps.
2519 (check_float_internal): Determine max ulps using find_test_ulps.
2520 (check_float): Do not take max_ulp parameter. Update call to
2521 check_float_internal.
2522 (check_complex): Likewise.
2523 (check_int): Do not take max_ulp parameter.
2524 (check_long): Likewise.
2525 (check_bool): Likewise.
2526 (check_longlong): Likewise.
2527 (struct test_f_f_data): Remove max_ulp field.
2528 (struct test_ff_f_data): Likewise.
2529 (struct test_ff_f_data_nexttoward): Likewise.
2530 (struct test_fi_f_data): Likewise.
2531 (struct test_fl_f_data): Likewise.
2532 (struct test_if_f_data): Likewise.
2533 (struct test_fff_f_data): Likewise.
2534 (struct test_c_f_data): Likewise.
2535 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2536 (struct test_fF_f1_data): Likewise.
2537 (struct test_ffI_f1_data): Likewise.
2538 (struct test_c_c_data): Remove max_ulp field.
2539 (struct test_cc_c_data): Likewise.
2540 (struct test_f_i_data): Likewise.
2541 (struct test_ff_i_data): Likewise.
2542 (struct test_f_l_data): Likewise.
2543 (struct test_f_L_data): Likewise.
2544 (struct test_sincos_data): Likewise.
2545 (RUN_TEST_f_f): Do not handle ulps.
2546 (RUN_TEST_LOOP_f_f): Likewise.
2547 (RUN_TEST_2_f): Likewise.
2548 (RUN_TEST_LOOP_2_f): Likewise.
2549 (RUN_TEST_fff_f): Likewise.
2550 (RUN_TEST_LOOP_fff_f): Likewise.
2551 (RUN_TEST_c_f): Likewise.
2552 (RUN_TEST_LOOP_c_f): Likewise.
2553 (RUN_TEST_f_f1): Likewise.
2554 (RUN_TEST_LOOP_f_f1): Likewise.
2555 (RUN_TEST_fF_f1): Likewise.
2556 (RUN_TEST_LOOP_fF_f1): Likewise.
2557 (RUN_TEST_fI_f1): Likewise.
2558 (RUN_TEST_LOOP_fI_f1): Likewise.
2559 (RUN_TEST_ffI_f1): Likewise.
2560 (RUN_TEST_LOOP_ffI_f1): Likewise.
2561 (RUN_TEST_c_c): Likewise.
2562 (RUN_TEST_LOOP_c_c): Likewise.
2563 (RUN_TEST_cc_c): Likewise.
2564 (RUN_TEST_LOOP_cc_c): Likewise.
2565 (RUN_TEST_f_i): Likewise.
2566 (RUN_TEST_LOOP_f_i): Likewise.
2567 (RUN_TEST_f_i_tg): Likewise.
2568 (RUN_TEST_LOOP_f_i_tg): Likewise.
2569 (RUN_TEST_ff_i_tg): Likewise.
2570 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2571 (RUN_TEST_f_b): Likewise.
2572 (RUN_TEST_LOOP_f_b): Likewise.
2573 (RUN_TEST_f_b_tg): Likewise.
2574 (RUN_TEST_LOOP_f_b_tg): Likewise.
2575 (RUN_TEST_f_l): Likewise.
2576 (RUN_TEST_LOOP_f_l): Likewise.
2577 (RUN_TEST_f_L): Likewise.
2578 (RUN_TEST_LOOP_f_L): Likewise.
2579 (RUN_TEST_sincos): Likewise.
2580 (RUN_TEST_LOOP_sincos): Likewise.
2581
8269107f
JM
25822013-05-17 Joseph Myers <joseph@codesourcery.com>
2583
bb38759d
JM
2584 [BZ #15480]
2585 [BZ #15485]
2586 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2587 main case of finite arguments, set rounding mode to FE_TONEAREST
2588 and discard exceptions.
2589 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2590 exceptions.
2591 (remainder_tonearest_test_data): New variable.
2592 (remainder_test_tonearest): New function.
2593 (remainder_towardzero_test_data): New variable.
2594 (remainder_test_towardzero): New function.
2595 (remainder_downward_test_data): New variable.
2596 (remainder_test_downward): New function.
2597 (remainder_upward_test_data): New variable.
2598 (remainder_test_upward): New function.
2599 (main): Call the new test functions.
2600
a00bdcf0
JM
2601 * math/libm-test.inc (struct test_f_f1_data): Remove field
2602 extra_init.
2603 (struct test_fF_f1_data): Likewise.
2604 (struct test_ffI_f1_data): Likewise.
2605 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2606 based on value of EXTRA_EXPECTED.
2607 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2608 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2609 EXTRA_VAR based on value of EXTRA_EXPECTED.
2610 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2611 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2612 EXTRA_VAR based on value of EXTRA_EXPECTED.
2613 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2614 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2615 EXTRA_VAR based on value of EXTRA_EXPECTED.
2616 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2617 * math/gen-libm-test.pl (parse_args): Don't output initializers
2618 for extra output values.
2619
de407f79
JM
2620 * math/libm-test.inc (check_int): Expect result to be exactly
2621 equal to expected value and do not handle ulps.
2622 (check_long): Likewise.
2623 (check_longlong): Likewise.
2624
8269107f
JM
2625 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2626 exceptions.
2627 (cimag_test_data): Likewise.
2628 (conj_test_data): Likewise.
2629 (copysign_test_data): Likewise.
2630 (cproj_test_data): Likewise.
2631 (creal_test_data): Likewise.
2632 (fabs_test_data): Likewise.
2633 (fdim_test_data): Likewise.
2634 (finite_test_data): Likewise.
2635 (floor_test_data): Likewise.
2636 (fmax_test_data): Likewise.
2637 (fmin_test_data): Likewise.
2638 (fmod_test_data): Likewise.
2639 (fpclassify_test_data): Likewise.
2640 (frexp_test_data): Likewise.
2641 (ilogb_test_data): Likewise.
2642 (isfinite_test_data): Likewise.
2643 (isgreater_test_data): Likewise.
2644 (isgreaterequal_test_data): Likewise.
2645 (isinf_test_data): Likewise.
2646 (isless_test_data): Likewise.
2647 (islessequal_test_data): Likewise.
2648 (islessgreater_test_data): Likewise.
2649 (isnan_test_data): Likewise.
2650 (isnormal_test_data): Likewise.
2651 (issignaling_test_data): Likewise.
2652 (isunordered_test_data): Likewise.
2653 (ldexp_test_data): Likewise.
2654 (lrint_test_data): Likewise.
2655 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2656 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2657 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2658 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2659 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2660 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2661 test input.
2662 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2663 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2664 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2665 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2666 that test input.
2667 (lrint_downward_test_data): Test for "inexact" exceptions.
2668 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2669 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2670 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2671 test input.
2672 (lrint_upward_test_data): Test for "inexact" exceptions.
2673 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2674 test input.
2675 (llrint_test_data): Test for "inexact" exceptions.
2676 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2677 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2678 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2679 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2680 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2681 (llrint_downward_test_data): Test for "inexact" exceptions.
2682 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2683 (llrint_upward_test_data): Test for "inexact" exceptions.
2684 (logb_test_data): Likewise.
2685 (logb_downward_test_data): Likewise.
2686 (nextafter_test_data): Likewise.
2687 (nexttoward_test_data): Likewise.
2688 (remainder_test_data): Likewise.
2689 (remquo_test_data): Likewise.
2690 (scalbn_test_data): Likewise.
2691 (scalbln_test_data): Likewise.
2692 (signbit_test_data): Likewise.
2693 (sqrt_test_data): Likewise.
2694 (significand_test_data): Likewise.
2695
48a18de1
SP
26962013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2697
2698 [BZ #15424]
2699 * benchtests/bench-modf.c (struct args): Mark arg0 as
2700 volatile.
2701 * scripts/bench.pl: Mark members of struct args as volatile.
2702
13d3b41a
AZ
27032013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2704
68191c1d 2705 [BZ # 15497]
13d3b41a
AZ
2706 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2707 negative infinity on POWER6 or lower.
2708 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2709
2848b105
MR
27102013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2711
2712 [BZ #15442]
2713 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2714 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2715 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2716 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2717 (_FP_SETQNAN): New macro.
2718 (_FP_SETQNAN_SEMIRAW): Likewise.
2719 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2720 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2721 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2722 (FP_EXTEND): Use _FP_FRAC_SNANP.
2723 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2724 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2725 into account.
2726 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2727 New macro.
2728 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2729 Likewise.
2730
323e5cb7
JM
27312013-05-16 Joseph Myers <joseph@codesourcery.com>
2732
c58b274f
JM
2733 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2734 with DIVIDE_BY_ZERO_EXCEPTION.
2735 (gamma_test_data): Likewise.
2736 (lgamma_test_data): Likewise.
2737 (log_test_data): Likewise.
2738 (log10_test_data): Likewise.
2739 (log2_test_data): Likewise.
2740 (tgamma_test_data): Likewise.
2741
0ab34904
JM
2742 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2743 (acos_test_tonearest): Likewise.
2744 (acos_test_towardzero): Likewise.
2745 (acos_test_downward): Likewise.
2746 (acos_test_upward): Likewise.
2747 (acosh_test): Likewise.
2748 (asin_test): Likewise.
2749 (asin_test_tonearest): Likewise.
2750 (asin_test_towardzero): Likewise.
2751 (asin_test_downward): Likewise.
2752 (asin_test_upward): Likewise.
2753 (asinh_test): Likewise.
2754 (atan_test): Likewise.
2755 (atanh_test): Likewise.
2756 (atan2_test): Likewise.
2757 (cabs_test): Likewise.
2758 (cacos_test): Likewise.
2759 (cacosh_test): Likewise.
2760 (casin_test): Likewise.
2761 (casinh_test): Likewise.
2762 (catan_test): Likewise.
2763 (catanh_test): Likewise.
2764 (cbrt_test): Likewise.
2765 (ccos_test): Likewise.
2766 (ccosh_test): Likewise.
2767 (cexp_test): Likewise.
2768 (clog_test): Likewise.
2769 (clog10_test): Likewise.
2770 (cos_test): Likewise.
2771 (cos_test_tonearest): Likewise.
2772 (cos_test_towardzero): Likewise.
2773 (cos_test_downward): Likewise.
2774 (cos_test_upward): Likewise.
2775 (cosh_test): Likewise.
2776 (cosh_test_tonearest): Likewise.
2777 (cosh_test_towardzero): Likewise.
2778 (cosh_test_downward): Likewise.
2779 (cosh_test_upward): Likewise.
2780 (cpow_test): Likewise.
2781 (csin_test): Likewise.
2782 (csinh_test): Likewise.
2783 (csqrt_test): Likewise.
2784 (ctan_test): Likewise.
2785 (ctan_test_tonearest): Likewise.
2786 (ctan_test_towardzero): Likewise.
2787 (ctan_test_downward): Likewise.
2788 (ctan_test_upward): Likewise.
2789 (ctanh_test): Likewise.
2790 (ctanh_test_tonearest): Likewise.
2791 (ctanh_test_towardzero): Likewise.
2792 (ctanh_test_downward): Likewise.
2793 (ctanh_test_upward): Likewise.
2794 (erf_test): Likewise.
2795 (erfc_test): Likewise.
2796 (exp_test): Likewise.
2797 (exp_test_tonearest): Likewise.
2798 (exp_test_towardzero): Likewise.
2799 (exp_test_downward): Likewise.
2800 (exp_test_upward): Likewise.
2801 (exp10_test): Likewise.
2802 (exp2_test): Likewise.
2803 (expm1_test): Likewise.
2804 (fmod_test): Likewise.
2805 (gamma_test): Likewise.
2806 (hypot_test): Likewise.
2807 (j0_test): Likewise.
2808 (j1_test): Likewise.
2809 (jn_test): Likewise.
2810 (lgamma_test): Likewise.
2811 (log_test): Likewise.
2812 (log10_test): Likewise.
2813 (log1p_test): Likewise.
2814 (log2_test): Likewise.
2815 (logb_test_downward): Likewise.
2816 (pow_test): Likewise.
2817 (pow_test_tonearest): Likewise.
2818 (pow_test_towardzero): Likewise.
2819 (pow_test_downward): Likewise.
2820 (pow_test_upward): Likewise.
2821 (remainder_test): Likewise.
2822 (remquo_test): Likewise.
2823 (sin_test): Likewise.
2824 (sin_test_tonearest): Likewise.
2825 (sin_test_towardzero): Likewise.
2826 (sin_test_downward): Likewise.
2827 (sin_test_upward): Likewise.
2828 (sincos_test): Likewise.
2829 (sinh_test): Likewise.
2830 (sinh_test_tonearest): Likewise.
2831 (sinh_test_towardzero): Likewise.
2832 (sinh_test_downward): Likewise.
2833 (sinh_test_upward): Likewise.
2834 (sqrt_test): Likewise.
2835 (tan_test): Likewise.
2836 (tan_test_tonearest): Likewise.
2837 (tan_test_towardzero): Likewise.
2838 (tan_test_downward): Likewise.
2839 (tan_test_upward): Likewise.
2840 (tanh_test): Likewise.
2841 (tgamma_test): Likewise.
2842 (y0_test): Likewise.
2843 (y1_test): Likewise.
2844 (yn_test): Likewise.
2845
323e5cb7
JM
2846 * math/gen-libm-test.pl (adjust_arg): Remove function.
2847 (special_function): Remove argument $in_func. Only handle
2848 generating output for tables of tests, not inside functions.
2849 (parse_args): Likewise.
2850 (generate_testfile): Remove variable $in_func. Update call to
2851 parse_args.
2852 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2853 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2854 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2855 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2856 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2857 (MAX_VALUE_INIT): Rename macro to max_value.
2858 (MIN_VALUE_INIT): Rename macro to min_value.
2859 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2860 (plus_zero): Remove variable.
2861 (minus_zero): Likewise.
2862 (plus_infty): Likewise.
2863 (minus_infty): Likewise.
2864 (qnan_value): Likewise.
2865 (max_value): Likewise.
2866 (min_value): Likewise.
2867 (min_subnorm_value): Likewise.
2868
e054f494
RA
28692013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2870
2871 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2872 uint64_t or uint32_t usage.
2873 * crypt/sha256-block.c: Likewise.
2874 * crypt/sha256-crypt.c: Likewise.
2875 * crypt/sha256.c: Likewise.
2876 * crypt/sha512-block.c: Likewise.
2877 * crypt/sha512-crypt.c: Likewise.
2878 * crypt/sha512.c: Likewise.
2879 * debug/backtrace-tst.c: Likewise.
2880 * debug/pcprofiledump.c: Likewise.
2881 * elf/cache.c: Likewise.
2882 * elf/dl-cache.c: Likewise.
2883 * elf/dl-misc.c: Likewise.
2884 * elf/dl-profile.c: Likewise.
2885 * elf/dl-support.c: Likewise.
2886 * elf/ldconfig.c: Likewise.
2887 * elf/sprof.c: Likewise.
2888 * iconv/dummy-repertoire.c: Likewise.
2889 * iconv/iconv_charmap.c: Likewise.
2890 * iconv/skeleton.c: Likewise.
2891 * iconvdata/8bit-generic.c: Likewise.
2892 * iconvdata/cp737.h: Likewise.
2893 * iconvdata/cp775.h: Likewise.
2894 * iconvdata/ibm1008.h: Likewise.
2895 * iconvdata/ibm1025.h: Likewise.
2896 * iconvdata/ibm1046.h: Likewise.
2897 * iconvdata/ibm1097.h: Likewise.
2898 * iconvdata/ibm1112.h: Likewise.
2899 * iconvdata/ibm1122.h: Likewise.
2900 * iconvdata/ibm1123.h: Likewise.
2901 * iconvdata/ibm1124.h: Likewise.
2902 * iconvdata/ibm1129.h: Likewise.
2903 * iconvdata/ibm1130.h: Likewise.
2904 * iconvdata/ibm1132.h: Likewise.
2905 * iconvdata/ibm1133.h: Likewise.
2906 * iconvdata/ibm1137.h: Likewise.
2907 * iconvdata/ibm1140.h: Likewise.
2908 * iconvdata/ibm1141.h: Likewise.
2909 * iconvdata/ibm1142.h: Likewise.
2910 * iconvdata/ibm1143.h: Likewise.
2911 * iconvdata/ibm1144.h: Likewise.
2912 * iconvdata/ibm1145.h: Likewise.
2913 * iconvdata/ibm1146.h: Likewise.
2914 * iconvdata/ibm1147.h: Likewise.
2915 * iconvdata/ibm1148.h: Likewise.
2916 * iconvdata/ibm1149.h: Likewise.
2917 * iconvdata/ibm1153.h: Likewise.
2918 * iconvdata/ibm1154.h: Likewise.
2919 * iconvdata/ibm1155.h: Likewise.
2920 * iconvdata/ibm1156.h: Likewise.
2921 * iconvdata/ibm1157.h: Likewise.
2922 * iconvdata/ibm1158.h: Likewise.
2923 * iconvdata/ibm1160.h: Likewise.
2924 * iconvdata/ibm1161.h: Likewise.
2925 * iconvdata/ibm1162.h: Likewise.
2926 * iconvdata/ibm1163.h: Likewise.
2927 * iconvdata/ibm1164.h: Likewise.
2928 * iconvdata/ibm1166.h: Likewise.
2929 * iconvdata/ibm1167.h: Likewise.
2930 * iconvdata/ibm12712.h: Likewise.
2931 * iconvdata/ibm1390.h: Likewise.
2932 * iconvdata/ibm1399.h: Likewise.
2933 * iconvdata/ibm16804.h: Likewise.
2934 * iconvdata/ibm4517.h: Likewise.
2935 * iconvdata/ibm4899.h: Likewise.
2936 * iconvdata/ibm4909.h: Likewise.
2937 * iconvdata/ibm4971.h: Likewise.
2938 * iconvdata/ibm5347.h: Likewise.
2939 * iconvdata/ibm803.h: Likewise.
2940 * iconvdata/ibm856.h: Likewise.
2941 * iconvdata/ibm901.h: Likewise.
2942 * iconvdata/ibm902.h: Likewise.
2943 * iconvdata/ibm9030.h: Likewise.
2944 * iconvdata/ibm9066.h: Likewise.
2945 * iconvdata/ibm921.h: Likewise.
2946 * iconvdata/ibm922.h: Likewise.
2947 * iconvdata/ibm9448.h: Likewise.
2948 * iconvdata/isiri-3342.h: Likewise.
2949 * iconvdata/jis0201.h: Likewise.
2950 * include/link.h: Likewise.
2951 * include/netdb.h: Likewise.
2952 * inet/check_native.c: Likewise.
2953 * inet/check_pf.c: Likewise.
2954 * inet/getipv4sourcefilter.c: Likewise.
2955 * inet/getnameinfo.c: Likewise.
2956 * inet/getsourcefilter.c: Likewise.
2957 * inet/htonl.c: Likewise.
2958 * inet/setipv4sourcefilter.c: Likewise.
2959 * inet/setsourcefilter.c: Likewise.
2960 * inet/test-inet6_opt.c: Likewise.
2961 * inet/tst-network.c: Likewise.
2962 * locale/C-collate.c: Likewise.
2963 * locale/C-ctype.c: Likewise.
2964 * locale/C-time.c: Likewise.
2965 * locale/C-translit.h: Likewise.
2966 * locale/loadarchive.c: Likewise.
2967 * locale/programs/3level.h: Likewise.
2968 * locale/programs/charmap.c: Likewise.
2969 * locale/programs/charmap.h: Likewise.
2970 * locale/programs/ld-address.c: Likewise.
2971 * locale/programs/ld-collate.c: Likewise.
2972 * locale/programs/ld-ctype.c: Likewise.
2973 * locale/programs/ld-identification.c: Likewise.
2974 * locale/programs/ld-measurement.c: Likewise.
2975 * locale/programs/ld-messages.c: Likewise.
2976 * locale/programs/ld-monetary.c: Likewise.
2977 * locale/programs/ld-name.c: Likewise.
2978 * locale/programs/ld-numeric.c: Likewise.
2979 * locale/programs/ld-paper.c: Likewise.
2980 * locale/programs/ld-telephone.c: Likewise.
2981 * locale/programs/ld-time.c: Likewise.
2982 * locale/programs/linereader.c: Likewise.
2983 * locale/programs/locale.c: Likewise.
2984 * locale/programs/locarchive.c: Likewise.
2985 * locale/programs/locfile.h: Likewise.
2986 * locale/programs/repertoire.c: Likewise.
2987 * locale/programs/simple-hash.c: Likewise.
2988 * locale/programs/simple-hash.h: Likewise.
2989 * malloc/memusage.c: Likewise.
2990 * malloc/memusagestat.c: Likewise.
2991 * nis/nis_defaults.c: Likewise.
2992 * nis/nis_hash.c: Likewise.
2993 * nis/nis_print.c: Likewise.
2994 * nis/nis_xdr.c: Likewise.
2995 * nscd/connections.c: Likewise.
2996 * nscd/hstcache.c: Likewise.
2997 * nscd/nscd_gethst_r.c: Likewise.
2998 * nscd/nscd_getserv_r.c: Likewise.
2999 * nscd/nscd_helper.c: Likewise.
3000 * nscd/servicescache.c: Likewise.
3001 * nss/makedb.c: Likewise.
3002 * nss/nss_db/db-XXX.c: Likewise.
3003 * nss/nss_db/db-initgroups.c: Likewise.
3004 * nss/nss_db/db-netgrp.c: Likewise.
3005 * nss/nss_files/files-network.c: Likewise.
3006 * nss/nss_files/files-parse.c: Likewise.
3007 * posix/bug-regex5.c: Likewise.
3008 * posix/fnmatch_loop.c: Likewise.
3009 * posix/regcomp.c: Likewise.
3010 * posix/regexec.c: Likewise.
3011 * posix/tst-rfc3484-2.c: Likewise.
3012 * posix/tst-rfc3484-3.c: Likewise.
3013 * posix/tst-rfc3484.c: Likewise.
3014 * resolv/nss_dns/dns-canon.c: Likewise.
3015 * resolv/nss_dns/dns-network.c: Likewise.
3016 * resolv/res_init.c: Likewise.
3017 * resolv/res_mkquery.c: Likewise.
3018 * resolv/tst-aton.c: Likewise.
3019 * stdlib/cxa_atexit.c: Likewise.
3020 * stdlib/cxa_finalize.c: Likewise.
3021 * stdlib/gen-fpioconst.c: Likewise.
3022 * stdlib/strtol_l.c: Likewise.
3023 * string/tst-endian.c: Likewise.
3024 * sunrpc/auth_des.c: Likewise.
3025 * sunrpc/clnt_udp.c: Likewise.
3026 * sunrpc/rtime.c: Likewise.
3027 * sunrpc/svcauth_des.c: Likewise.
3028 * sunrpc/xdr.c: Likewise.
3029 * sunrpc/xdr_intXX_t.c: Likewise.
3030 * sunrpc/xdr_rec.c: Likewise.
3031 * sysdeps/generic/ldconfig.h: Likewise.
3032 * sysdeps/generic/ldsodefs.h: Likewise.
3033 * sysdeps/generic/memusage.h: Likewise.
3034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3037 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3044 * sysdeps/posix/getaddrinfo.c: Likewise.
3045 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3046 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3047 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3048 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3049 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3050 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3051 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3052 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3053 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3054 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3055 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3056 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3057 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3058 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3060 * sysdeps/x86_64/dl-tls.h: Likewise.
3061 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3062 * time/alt_digit.c: Likewise.
3063 * time/era.c: Likewise.
3064 * wcsmbs/tst-c16c32-1.c: Likewise.
3065
8c75f674
JM
30662013-05-16 Joseph Myers <joseph@codesourcery.com>
3067
3068 * math/libm-test.inc (struct test_sincos_data): New type.
3069 (RUN_TEST_LOOP_sincos): New macro.
3070 (sincos_test_data): New variable.
3071 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3072
e6e49e59
RH
30732013-05-16 Richard Henderson <rth@redhat.com>
3074
3075 * math/atest-exp2.c (LIMB64): New macro.
3076 (CONSTSZ): New macro.
3077 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3078 (hexdig): Move ...
3079 (print_mpn_fp): ... to function scope.
3080 (read_mpn_hex): Remove.
3081 (get_log2): Remove.
3082 (exp2_mpn): Use mp_log2.
3083 (main): Use mp_exp1.
3084
15c7c18d
JM
30852013-05-16 Joseph Myers <joseph@codesourcery.com>
3086
105a07df
JM
3087 * math/libm-test.inc: Remove comment about not testing "inexact"
3088 exceptions.
3089 (INEXACT_EXCEPTION): New macro.
3090 (NO_INEXACT_EXCEPTION): Likewise.
3091 (INVALID_EXCEPTION_OK): Update value.
3092 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3093 (OVERFLOW_EXCEPTION_OK): Likewise.
3094 (UNDERFLOW_EXCEPTION_OK): Likewise.
3095 (IGNORE_ZERO_INF_SIGN): Likewise.
3096 (ERRNO_UNCHANGED): Likewise.
3097 (ERRNO_EDOM): Likewise.
3098 (ERRNO_ERANGE): Likewise.
3099 (test_exceptions): Handle testing "inexact" exceptions.
3100 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3101 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3102 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3103 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3104 INEXACT_EXCEPTION.
3105 (rint_towardzero_test_data): Likewise.
3106 (rint_downward_test_data): Likewise.
3107 (rint_upward_test_data): Likewise.
3108
e9eee333
JM
3109 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3110 with OVERFLOW_EXCEPTION.
3111 (exp10_test_data): Likewise.
3112 (exp2_test_data): Likewise.
3113 (expm1_test_data): Likewise.
3114 (lgamma_test_data): Likewise.
3115 (pow_test_data): Likewise.
3116 (tgamma_test_data): Likewise.
3117 (yn_test_data): Remove duplicate test of overflow.
3118
1c38ff73
JM
3119 * math/libm-test.inc (struct test_cc_c_data): New type.
3120 (RUN_TEST_LOOP_cc_c): New macro.
3121 (cpow_test_data): New variable.
3122 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3123
15c7c18d
JM
3124 * math/libm-test.inc (struct test_f_L_data): New type.
3125 (RUN_TEST_LOOP_f_L): New macro.
3126 (llrint_test_data): New variable.
3127 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3128 (llrint_tonearest_test_data): New variable.
3129 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3130 (llrint_towardzero_test_data): New variable.
3131 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3132 (llrint_downward_test_data): New variable.
3133 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3134 (llrint_upward_test_data): New variable.
3135 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3136 (llround_test_data): New variable.
3137 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3138
f137ff13
PC
31392013-05-13 Peter Collingbourne <pcc@google.com>
3140
3141 * math/atest-exp2.c (get_log2): Remove const attribute.
3142
3608cb24
JM
31432013-05-15 Joseph Myers <joseph@codesourcery.com>
3144
3145 * math/libm-test.inc (struct test_f_l_data): New type.
3146 (RUN_TEST_LOOP_f_l): New macro.
3147 (lrint_test_data): New variable.
3148 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3149 (lrint_tonearest_test_data): New variable.
3150 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3151 (lrint_towardzero_test_data): New variable.
3152 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3153 (lrint_downward_test_data): New variable.
3154 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3155 (lrint_upward_test_data): New variable.
3156 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3157 (lround_test_data): New variable.
3158 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3159
39b1f617
PC
31602013-05-15 Peter Collingbourne <pcc@google.com>
3161
1deff3dc
PC
3162 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3163 (EXTRACT_WORDS64) Use where appropriate.
3164 (INSERT_WORDS64) Likewise.
3165
791f3ba0
PC
3166 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3167 constraints with x constraints.
3168 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3169
39b1f617
PC
3170 * malloc/obstack.c (_obstack_compat): Add initializer.
3171
12fba011
EM
31722013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3173
3174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3175 si_trapno and add si_addr_lsb to _sifields.sigfault.
3176 (si_trapno): Remove macro.
3177 (si_addr_lsb): Define new macro.
3178 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3179
d369f531
JM
31802013-05-15 Joseph Myers <joseph@codesourcery.com>
3181
b861c6c4
JM
3182 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3183 instead of TEST_f_l.
3184 (llrint_test_tonearest): Likewise.
3185 (llrint_test_towardzero): Likewise.
3186 (llrint_test_downward): Likewise.
3187 (llrint_test_upward): Likewise.
3188 (llround_test): Likewise.
3189
7abeee12
JM
3190 * math/libm-test.inc (struct test_f_i_data): Add comment.
3191 (RUN_TEST_LOOP_f_b): New macro.
3192 (RUN_TEST_LOOP_f_b_tg): Likewise.
3193 (finite_test_data): New variable.
3194 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3195 (isfinite_test_data): New variable.
3196 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3197 (isinf_test_data): New variable.
3198 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3199 (isnan_test_data): New variable.
3200 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3201 (isnormal_test_data): New variable.
3202 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3203 (issignaling_test_data): New variable.
3204 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3205 (signbit_test_data): New variable.
3206 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3207
cbe8c4d3
JM
3208 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3209 with INVALID_EXCEPTION.
3210 (acosh_test_data): Likewise.
3211 (asin_test_data): Likewise.
3212 (atanh_test_data): Likewise.
3213 (fmod_test_data): Likewise.
3214 (log_test_data): Likewise.
3215 (log10_test_data): Likewise.
3216 (log2_test_data): Likewise.
3217 (pow_test_data): Likewise.
3218 (sqrt_test_data): Likewise.
3219 (y0_test_data): Likewise.
3220 (y1_test_data): Likewise.
3221 (yn_test_data): Likewise.
3222
5575c0e5
JM
3223 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3224 function contents.
3225
d369f531
JM
3226 * math/libm-test.inc (struct test_ff_i_data): New type.
3227 (RUN_TEST_LOOP_ff_i_tg): New macro.
3228 (isgreater_test_data): New variable.
3229 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3230 (isgreaterequal_test_data): New variable.
3231 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3232 (isless_test_data): New variable.
3233 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3234 (islessequal_test_data): New variable.
3235 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3236 (islessgreater_test_data): New variable.
3237 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3238 (isunordered_test_data): New variable.
3239 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3240
781fd748
DM
32412013-05-14 David S. Miller <davem@davemloft.net>
3242
3243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3244
87aa21df
JM
32452013-05-14 Joseph Myers <joseph@codesourcery.com>
3246
5e908270
JM
3247 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3248
f71172e5
JM
3249 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3250 extra_test to int.
3251 (struct test_f_i_data): Change type of max_ulp to int.
3252
8cfa635a
JM
3253 * math/libm-test.inc (test_ffI_f1_data): New type.
3254 (RUN_TEST_LOOP_ffI_f1): New macro.
3255 (remquo_test_data): New variable.
3256 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3257
2bcb36b2
JM
3258 * setjmp/tst-setjmp-fp.c: New file.
3259 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3260 (link-libm): New variable.
3261 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3262
acbd839a
JM
3263 * math/libm-test.inc (struct test_f_i_data): New type.
3264 (RUN_TEST_LOOP_f_i): New macro.
3265 (RUN_TEST_LOOP_f_i_tg): Likewise.
3266 (fpclassify_test_data): New variable.
3267 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3268 (ilogb_test_data): New variable.
3269 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3270
e414d745
JM
3271 * math/libm-test.inc (scalbln_test): Correct function name in END
3272 call.
3273
d9c2a0fd
JM
3274 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3275 (RUN_TEST_LOOP_fI_f1): New macro.
3276 (frexp_test_data): New variable.
3277 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3278
9dc9095d
JM
3279 * math/libm-test.inc (struct test_fF_f1_data): New type.
3280 (RUN_TEST_LOOP_fF_f1): New macro.
3281 (modf_test_data): New variable.
3282 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3283
87aa21df
JM
3284 * math/libm-test.inc (struct test_f_f1_data): New type.
3285 (RUN_TEST_LOOP_f_f1): New macro.
3286 (gamma_test_data): New variable.
3287 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3288 (lgamma_test_data): New variable.
3289 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3290
141af660
CD
32912013-05-13 Carlos O'Donell <carlos@redhat.com>
3292
3293 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3294 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3295 (main): Comment "tls" pseudo-hwcap.
3296
6d33265c
JM
32972013-05-13 Joseph Myers <joseph@codesourcery.com>
3298
68fc074c
JM
3299 * math/libm-test.inc (struct test_fl_f_data): New type.
3300 (RUN_TEST_LOOP_fl_f): New variable.
3301 (scalbln_test_data): New variable.
3302 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3303
243216e1
JM
3304 * math/libm-test.inc (struct test_fi_f_data): New type.
3305 (RUN_TEST_LOOP_fi_f): New macro.
3306 (ldexp_test_data): New variable.
3307 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3308 (scalbn_test_data): New variable.
3309 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3310
6a1992e2
JM
3311 * math/libm-test.inc (struct test_c_f_data): New type.
3312 (RUN_TEST_LOOP_c_f): New macro.
3313 (cabs_test_data): New variable.
3314 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3315 (carg_test_data): New variable.
3316 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3317 (cimag_test_data): New variable.
3318 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3319 (creal_test_data): New variable.
3320 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3321
0e400df5
JM
3322 * math/libm-test.inc (struct test_if_f_data): New type.
3323 (RUN_TEST_LOOP_if_f): New macro.
3324 (jn_test_data): New variable.
3325 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3326 (yn_test_data): New variable.
3327 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3328
6d33265c
JM
3329 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3330
f98ece5f
AZ
33312013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332
3333 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3334 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3335
0f7d347b
SP
33362013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
43fe811b
SP
3338 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3339 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3340 (bench-deps): Add bench-timing.h.
3341 * benchtests-bench-skeleton.c: Include bench-timing.h.
3342 (main): Use TIMING_* macros instead of clock_gettime.
3343 * benchtests/bench-timing.h: New file.
3344
0f7d347b
SP
3345 [BZ #14582]
3346 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3347 Renamed from _LIB_VERSION.
3348 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3349
601a3a5f
JM
33502013-05-12 Joseph Myers <joseph@codesourcery.com>
3351
4f184d30
JM
3352 * math/libm-test.inc (struct test_fff_f_data): New type.
3353 (RUN_TEST_LOOP_fff_f): New macro.
3354 (fma_test_data): New variable.
3355 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3356 (fma_towardzero_test_data): New variable.
3357 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3358 (fma_downward_test_data): New variable.
3359 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3360 (fma_upward_test_data): New variable.
3361 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3362
08198877
JM
3363 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3364 (struct test_c_c_data): New type.
3365 (RUN_TEST_LOOP_c_c): New macro.
3366 (cacos_test_data): New variable.
3367 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3368 (cacosh_test_data): New variable.
3369 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3370 (casin_test_data): New variable.
3371 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3372 (casinh_test_data): New variable.
3373 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3374 (catan_test_data): New variable.
3375 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3376 (catanh_test_data): New variable.
3377 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3378 (ccos_test_data): New variable.
3379 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3380 (ccosh_test_data): New variable.
3381 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3382 (cexp_test_data): New variable.
3383 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3384 (clog_test_data): New variable.
3385 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3386 (clog10_test_data): New variable.
3387 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3388 (conj_test_data): New variable.
3389 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3390 (cproj_test_data): New variable.
3391 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3392 (csin_test_data): New variable.
3393 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3394 (csinh_test_data): New variable.
3395 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3396 (csqrt_test_data): New variable.
3397 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3398 (ctan_test_data): New variable.
3399 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3400 (ctan_tonearest_test_data): New variable.
3401 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3402 (ctan_towardzero_test_data): New variable.
3403 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3404 (ctan_downward_test_data): New variable.
3405 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3406 (ctan_upward_test_data): New variable.
3407 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3408 (ctanh_test_data): New variable.
3409 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3410 (ctanh_tonearest_test_data): New variable.
3411 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3412 (ctanh_towardzero_test_data): New variable.
3413 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3414 (ctanh_downward_test_data): New variable.
3415 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3416 (ctanh_upward_test_data): New variable.
3417 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3418 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3419 of BUILD_COMPLEX.
3420
601a3a5f
JM
3421 * math/libm-test.inc (struct test_ff_f_data): New type.
3422 (struct test_ff_f_data_nexttoward): Likewise.
3423 (RUN_TEST_LOOP_2_f): New macro.
3424 (RUN_TEST_LOOP_ff_f): Likewise.
3425 (atan2_test_data): New variable.
3426 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3427 (copysign_test_data): New variable.
3428 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3429 (fdim_test_data): New variable.
3430 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3431 (fmax_test_data): New variable.
3432 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3433 (fmin_test_data): New variable.
3434 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3435 (fmod_test_data): New variable.
3436 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3437 (hypot_test_data): New variable.
3438 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3439 (nextafter_test_data): New variable.
3440 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3441 (nexttoward_test_data): New variable.
3442 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3443 (pow_test_data): New variable.
3444 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3445 (pow_tonearest_test_data): New variable.
3446 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3447 (pow_towardzero_test_data): New variable.
3448 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3449 (pow_downward_test_data): New variable.
3450 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3451 (pow_upward_test_data): New variable.
3452 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3453 (remainder_test_data): New variable.
3454 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3455 (scalb_test_data): New variable.
3456 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3457 * sysdeps/i386/fpu/libm-test-ulps: Update.
3458
74c57478
JM
34592013-05-11 Joseph Myers <joseph@codesourcery.com>
3460
8329e4da
JM
3461 * math/libm-test.inc (fma_test): Use max_value instead of local
3462 variable fltmax.
3463 (nextafter_test): Likewise.
3464
74c57478
JM
3465 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3466 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3467 (acos_downward_test_data): New variable.
3468 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3469 (acos_upward_test_data): New variable.
3470 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3471 (acosh_test_data): New variable.
3472 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3473 (asin_test_data): New variable.
3474 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3475 (asin_tonearest_test_data): New variable.
3476 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3477 (asin_towardzero_test_data): New variable.
3478 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3479 (asin_downward_test_data): New variable.
3480 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3481 (asin_upward_test_data): New variable.
3482 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3483 (asinh_test_data): New variable.
3484 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3485 (atan_test_data): New variable.
3486 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3487 (atanh_test_data): New variable.
3488 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3489 (cbrt_test_data): New variable.
3490 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3491 (ceil_test_data): New variable.
3492 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3493 (cos_test_data): New variable.
3494 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3495 (cos_tonearest_test_data): New variable.
3496 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3497 (cos_towardzero_test_data): New variable.
3498 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3499 (cos_downward_test_data): New variable.
3500 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3501 (cos_upward_test_data): New variable.
3502 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3503 (cosh_test_data): New variable.
3504 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3505 (cosh_tonearest_test_data): New variable.
3506 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3507 (cosh_towardzero_test_data): New variable.
3508 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3509 (cosh_downward_test_data): New variable.
3510 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3511 (cosh_upward_test_data): New variable.
3512 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3513 (erf_test_data): New variable.
3514 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3515 (erfc_test_data): New variable.
3516 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3517 (exp_test_data): New variable.
3518 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3519 (exp_tonearest_test_data): New variable.
3520 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3521 (exp_towardzero_test_data): New variable.
3522 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3523 (exp_downward_test_data): New variable.
3524 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3525 (exp_upward_test_data): New variable.
3526 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3527 (exp10_test_data): New variable.
3528 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3529 (exp2_test_data): New variable.
3530 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3531 (expm1_test_data): New variable.
3532 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3533 (fabs_test_data): New variable.
3534 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3535 (floor_test_data): New variable.
3536 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3537 (j0_test_data): New variable.
3538 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3539 (j1_test_data): New variable.
3540 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3541 (log_test_data): New variable.
3542 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3543 (log10_test_data): New variable.
3544 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3545 (log1p_test_data): New variable.
3546 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3547 (log2_test_data): New variable.
3548 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3549 (logb_test_data): New variable.
3550 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3551 (logb_downward_test_data): New variable.
3552 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3553 (nearbyint_test_data): New variable.
3554 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3555 (rint_test_data): New variable.
3556 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3557 (rint_tonearest_test_data): New variable.
3558 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3559 (rint_towardzero_test_data): New variable.
3560 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3561 (rint_downward_test_data): New variable.
3562 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3563 (rint_upward_test_data): New variable.
3564 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3565 (round_test_data): New variable.
3566 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3567 (sin_test_data): New variable.
3568 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3569 (sin_tonearest_test_data): New variable.
3570 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3571 (sin_towardzero_test_data): New variable.
3572 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3573 (sin_downward_test_data): New variable.
3574 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3575 (sin_upward_test_data): New variable.
3576 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3577 (sinh_test_data): New variable.
3578 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3579 (sinh_tonearest_test_data): New variable.
3580 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3581 (sinh_towardzero_test_data): New variable.
3582 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3583 (sinh_downward_test_data): New variable.
3584 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3585 (sinh_upward_test_data): New variable.
3586 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3587 (sqrt_test_data): New variable.
3588 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3589 (tan_test_data): New variable.
3590 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3591 (tan_tonearest_test_data): New variable.
3592 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3593 (tan_towardzero_test_data): New variable.
3594 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3595 (tan_downward_test_data): New variable.
3596 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3597 (tan_upward_test_data): New variable.
3598 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3599 (tanh_test_data): New variable.
3600 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3601 (tgamma_test_data): New variable.
3602 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3603 (trunc_test_data): New variable.
3604 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3605 (y0_test_data): New variable.
3606 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3607 (y1_test_data): New variable.
3608 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3609 (significand_test_data): New variable.
3610 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3611
7187d844
CG
36122013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3613
3614 [BZ #12387]
3615 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3616
f63fae73
PT
36172013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3618
3619 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3620
8a67a4b3
AJ
36212013-05-10 Andreas Jaeger <aj@suse.de>
3622
3623 [BZ #15448]
3624 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3625 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3626
51df539d
JM
36272013-05-10 Joseph Myers <joseph@codesourcery.com>
3628
3629 * math/gen-libm-test.pl (adjust_arg): New function.
3630 (special_functions): Handle generating output in both functions
3631 and arrays.
3632 (parse_args): Likewise.
3633 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3634 $in_func argument to parse_args.
3635 * math/libm-test.inc (struct test_f_f_data): New type.
3636 (IF_ROUND_INIT_): New macro.
3637 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3638 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3639 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3640 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3641 (ROUND_RESTORE_): Likewise.
3642 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3643 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3644 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3645 (ROUND_RESTORE_FE_UPWARD): Likewise.
3646 (RUN_TEST_LOOP_f_f): New macro.
3647 (acos_test_data): New variable.
3648 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3649 (acos_tonearest_test_data): New variable.
3650 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3651
5c637fe5
SP
36522013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3653
3654 * benchtests/bench-skeleton.c (startup): Fix coding style.
3655
ab2b9461
JM
36562013-05-10 Joseph Myers <joseph@codesourcery.com>
3657
3658 [BZ #6809]
3659 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3660 negative infinity argument.
3661 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3662 negative infinity argument.
3663 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3664 negative infinity argument.
3665 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3666 domain errors.
3667
4c0fe6fe
FW
36682013-05-10 Florian Weimer <fweimer@redhat.com>
3669
3670 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3671 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3672 * iconv/iconv_prog.c (main): Likewise.
3673 * locale/programs/charmap-dir.c (charmap_readdir)
3674 (fopen_uncompressed): Likewise.
3675 * locale/programs/locfile.c (siblings_uncached)
3676 (write_locale_data): Use lstat64 instead of lstat.
3677 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3678 stat.
3679
a3375d29
AJ
36802013-05-10 Andreas Jaeger <aj@suse.de>
3681
3682 [BZ #15395]
3683 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3684 localization.
3685 Include <locale.h>.
3686
36129722
CD
36872013-05-09 Carlos O'Donell <carlos@redhat.com>
3688
3689 * elf/dl-close.c (_dl_close_worker): Add comments.
3690
faa7f811
JM
36912013-05-09 Joseph Myers <joseph@codesourcery.com>
3692
ed41ffef
JM
3693 [BZ #15359]
3694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3695 high part of pi/2.
3696 (__ieee754_rem_pio2l): Update comments.
3697
d0213cd0
JM
3698 [BZ #15429]
3699 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3700 high part of pi/2.
3701 (__ieee754_rem_pio2l): Update comments.
3702
0d3e777a
JM
3703 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3704 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3705
24f56066
JM
3706 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3707 M_PI_4l.
3708
faa7f811
JM
3709 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3710 (M_PI_34_LOG10El): Likewise.
3711 (M_PI2_LOG10El): Likewise.
3712 (M_PI4_LOG10El): Likewise.
3713 (M_PI_LOG10El): Likewise.
3714
e9a5e0fd
AZ
37152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3716
3717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3718
d8cd06db
JM
37192013-05-08 Joseph Myers <joseph@codesourcery.com>
3720
a0d9f9d7
JM
3721 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3722 (MINUS_ZERO_INIT): Likewise.
3723 (PLUS_INFTY_INIT): Likewise.
3724 (MINUS_INFTY_INIT): Likewise.
3725 (QNAN_VALUE_INIT): Likewise.
3726 (MAX_VALUE_INIT): Likewise.
3727 (MIN_VALUE_INIT): Likewise.
3728 (MIN_SUBNORM_VALUE_INIT): Likewise.
3729 (plus_zero): Initialize with PLUS_ZERO_INIT.
3730 (minus_zero): Initialize with MINUS_ZERO_INIT.
3731 (plus_infty): Initialize with PLUS_INFTY_INIT.
3732 (minus_infty): Initialize with MINUS_INFTY_INIT.
3733 (qnan_value): Initialize with QNAN_VALUE_INIT.
3734 (max_value): Initialize with MAX_VALUE_INIT.
3735 (min_value): Initialize with MIN_VALUE_INIT.
3736 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3737
ae08db3b
JM
3738 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3739 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3740 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3741 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3742
f44bf14a
JM
3743 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3744 (RUN_TEST_2_f): Likewise.
3745 (RUN_TEST_ff_f): Likewise.
3746 (RUN_TEST_fi_f): Likewise.
3747 (RUN_TEST_fl_f): Likewise.
3748 (RUN_TEST_fff_f): Likewise.
3749 (RUN_TEST_c_f): Likewise.
3750 (RUN_TEST_f_f1): Likewise.
3751 (RUN_TEST_fF_f1): Likewise.
3752 (RUN_TEST_fI_f1): Likewise.
3753 (RUN_TEST_ffI_f1): Likewise.
3754 (RUN_TEST_c_c): Likewise.
3755 (RUN_TEST_cc_c): Likewise.
3756 (RUN_TEST_f_i): Likewise.
3757 (RUN_TEST_f_i_tg): Likewise.
3758 (RUN_TEST_ff_i_tg): Likewise.
3759 (RUN_TEST_f_b): Likewise.
3760 (RUN_TEST_f_b_tg): Likewise.
3761 (RUN_TEST_f_l): Likewise.
3762 (RUN_TEST_f_L): Likewise.
3763 (RUN_TEST_sincos): Likewise.
3764 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3765 whether to show exceptions. Do not include ");\n" in return
3766 value.
3767 (special_functions): Output call to RUN_TEST_sincos instead of
3768 check_float calls. Update calls to new_test.
3769 (parse_args): Output call to single RUN_TEST_* macro instead of
3770 check_* calls and other assignments. Update calls to new_test.
3771
d8cd06db
JM
3772 [BZ #2546]
3773 [BZ #2560]
3774 [BZ #5159]
3775 [BZ #15426]
3776 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3777 input to result for tgamma overflow.
3778 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3779 (gamma_coeff): New variable.
3780 (NCOEFF): New macro.
3781 (gamma_positive): New function.
3782 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3783 underflow here. Use gamma_positive instead of exp (lgamma) for
3784 other arguments.
3785 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3786 (gamma_coeff): New variable.
3787 (NCOEFF): New macro.
3788 (gammaf_positive): New function.
3789 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3790 underflow here. Use gamma_positive instead of exp (lgamma) for
3791 other arguments.
3792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3793 (gamma_coeff): New variable.
3794 (NCOEFF): New macro.
3795 (gammal_positive): New function.
3796 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3797 underflow here. Use gamma_positive instead of exp (lgamma) for
3798 other arguments.
3799 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3800 (gamma_coeff): New variable.
3801 (NCOEFF): New macro.
3802 (gammal_positive): New function.
3803 (__ieee754_gammal_r): Handle positive infinity, overflow and
3804 underflow here. Handle NaN the same as positive infinity. Remove
3805 check x < 0xffffffff for negative integers. Use gamma_positive
3806 instead of exp (lgamma) for other arguments.
3807 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3808 (gamma_coeff): New variable.
3809 (NCOEFF): New macro.
3810 (gammal_positive): New function.
3811 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3812 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3816 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3817 * sysdeps/generic/math_private.h (__gamma_productf): New
3818 prototype.
3819 (__gamma_product): Likewise.
3820 (__gamma_productl): Likewise.
3821 * math/Makefile (libm-calls): Add gamma_product.
3822 * math/libm-test.inc (tgamma_test): Add more tests.
3823 * sysdeps/i386/fpu/libm-test-ulps: Update.
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825
bb7cf681
OB
38262013-05-08 Ondřej Bílka <neleai@seznam.cz>
3827
3828 * benchtests/bench-skeleton.c (main): Preheat CPU.
3829
ba853947
AJ
38302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3831
3832 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3833
8347c74c
RM
38342013-05-07 Roland McGrath <roland@hack.frob.com>
3835
3836 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3837 and _dl_skip_args_internal.
3838
e8dd4791
CD
38392013-05-07 Carlos O'Donell <carlos@redhat.com>
3840
3841 * manual/message.texi (Message Translation): Talk about users.
3842 Message to key mapping impacts design.
3843
c7405830
RM
38442013-05-06 Roland McGrath <roland@hack.frob.com>
3845
a9173057
RM
3846 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3847
976e2f03
RM
3848 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3849
9723ffc5
RM
3850 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3851 * sysdeps/wordsize-64/glob64.c: ... here.
3852
962e6658
RM
3853 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3854 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3855 New macros.
3856
ee586a6d
RM
3857 * debug/getlogin_r_chk.c: Moved to ...
3858 * login/getlogin_r_chk.c: ... here.
3859 * debug/Makefile (routines): Move getlogin_r_chk to ...
3860 * login/Makefile (routines): ... here.
3861 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3862 * login/Versions (libc: GLIBC_2.4): ... here.
3863
355f9165
RM
3864 * io/poll.c (__poll): Renamed from poll.
3865 Add libc_hidden_def.
3866 (poll): Define as weak alias.
3867
bd9ffde6
RM
3868 * debug/ptsname_r_chk.c: Moved to ...
3869 * login/ptsname_r_chk.c: ... here.
3870 * debug/Makefile (routines): Move ptsname_r_chk to ...
3871 * login/Makefile (routines): ... here.
3872 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3873 * login/Versions (libc: GLIBC_2.4): ... here.
3874
8fb16a04
RM
3875 * posix/getlogin.c: Moved to ...
3876 * login/getlogin.c: ... here.
3877 * posix/getlogin_r.c: Moved to ...
3878 * login/getlogin_r.c: ... here.
3879 * posix/getlogin_r.c: Moved to ...
3880 * login/getlogin_r.c: ... here.
3881 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3882 * login/Makefile (routines): ... here.
3883 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3884 * login/Versions (libc: GLIBC_2.0): ... here.
3885
b99b892f
RM
3886 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3887 (setrlimit): Define as weak alias.
3888
c7405830
RM
3889 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3890 Call __ names for open, ftruncate, and close.
3891 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3892 (truncate): Define as weak alias.
3893
5bf96de5
JM
38942013-05-06 Joseph Myers <joseph@codesourcery.com>
3895
9ea3513c
JM
3896 * math/gen-libm-test.pl (parse_args): Initialize x before each
3897 test of frexp, modf and remquo.
3898
5bf96de5
JM
3899 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3900 test signgam value.
3901
16e616a7
AZ
39022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903
3904 [BZ #15418]
3905 [BZ #15419]
3906 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3907 internal tests.
3908 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3909
d5e82754
RM
39102013-05-06 Roland McGrath <roland@hack.frob.com>
3911
3912 * elf/dl-writev.h: New file.
3913 * elf/dl-misc.c: Include it.
3914 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3915 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3916
a7548d41
JM
39172013-05-04 Joseph Myers <joseph@codesourcery.com>
3918
b7dab1e4
JM
3919 * math/libm-test.inc (noXFails): Remove variable.
3920 (noXPasses): Likewise.
3921 (BUILD_COMPLEX_INT): Remove macro.
3922 (print_screen): Remove xfail argument.
3923 (print_screen_max_error): Likewise.
3924 (update_stats): Likewise.
3925 (print_max_error): Likewise. Update calls to other affected
3926 functions.
3927 (print_complex_max_error): Likewise.
3928 (test_single_exception): Update calls to print_screen.
3929 (test_single_errno): Likewise.
3930 (check_float_internal): Remove xfail argument. Update calls to
3931 other affected functions.
3932 (check_float): Likewise.
3933 (check_complex): Likewise.
3934 (check_int): Likewise.
3935 (check_long): Likewise.
3936 (check_bool): Likewise.
3937 (check_longlong): Likewise.
3938 (main): Don't print noXFails and noXPasses.
3939 * math/gen-libm-test.pl (top level): Don't mention expected
3940 failure handling in comment.
3941 (new_test): Don't handle expected failures.
3942 (parse_args): Don't mention expected failure handling in comment.
3943 (generate_testfile): Don't handle expected failures.
3944 (parse_ulps): Likewise.
3945 (print_ulps_file): Likewise.
3946 (get_failure): Remove function.
3947 (output_test): Don't handle expected failures.
3948 * make/README.libm-test: Don't mention expected failure handling.
3949
a7548d41
JM
3950 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3951 (minus_zero): Likewise.
3952 (plus_infty): Likewise.
3953 (minus_infty): Likewise.
3954 (qnan_value): Likewise.
3955 (max_value): Likewise.
3956 (min_value): Likewise.
3957 (min_subnorm_value): Likewise.
3958 (initialize): Do not initialize those variables dynamically.
3959
60bfd54c
RM
39602013-05-03 Roland McGrath <roland@hack.frob.com>
3961
cc0e6ed8
RM
3962 * io/open.c (__open_2): Moved to ...
3963 * io/open_2.c: ... this new file.
3964 * io/open64.c (__open64_2): Moved to ...
3965 * io/open64_2.c: ... this new file.
3966 * io/openat.c (__openat_2): Moved to ...
3967 * io/openat_2.c: ... this new file.
3968 * io/openat64.c (__openat64_2): Moved to ...
3969 * io/openat64_2.c: ... this new file.
3970 * io/Makefile (routines): Add them.
3971 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3972 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3973 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3974 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3975 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3976 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3977 (__openat64): Add hidden_ver.
3978 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3979 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3980
60bfd54c
RM
3981 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3982 Separately conditionalize setting of GLRO(dl_sysinfo) so
3983 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3984 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3985
83e7640f
AZ
39862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3987
3988 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3989 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3990 definition.
3991 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3992 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3993 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3994 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3995 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3996
d5dc2af3
JM
39972013-05-03 Joseph Myers <joseph@codesourcery.com>
3998
c31a5b1e
JM
3999 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4000 test signgam value.
4001
d5dc2af3
JM
4002 * math/libm-test.inc (hypot_test): Do not use
4003 IGNORE_ZERO_INF_SIGN.
4004
164fd39d
AJ
40052013-05-03 Andreas Jaeger <aj@suse.de>
4006
4007 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4008 Linux 3.9.
4009 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4010 (PF_MAX): Adjust for VSOCK change.
4011
8237f48c
AZ
40122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4013
4014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4015
9df02941
CD
40162013-05-02 Carlos O'Donell <carlos@redhat.com>
4017
4018 [BZ #15264]
4019 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4020 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4021 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4022
d422395e
DM
40232013-05-02 David S. Miller <davem@davemloft.net>
4024
4025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4026
a07c5731
OB
40272013-05-01 Ondřej Bílka <neleai@seznam.cz>
4028
4029 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4030
1324e37f
RM
40312013-05-01 Roland McGrath <roland@hack.frob.com>
4032
4033 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4034
0695940b
RS
40352013-05-01 Richard Smith <richard@metafoo.co.uk>
4036
bb5f27ad 4037 [BZ #14952]
0695940b
RS
4038 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4039 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4040 Use __attribute__ ((__gnu_inline__)).
4041 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4042 Don't use __attribute__ ((__gnu_inline__)).
4043
10de07f5
JM
40442013-05-01 Joseph Myers <joseph@codesourcery.com>
4045
4046 [BZ #15423]
4047 * math/s_catan.c (__catan): Handle small real or imaginary part of
4048 input specially to avoid spurious underflow.
4049 * math/s_catanf.c (__catanf): Likewise.
4050 * math/s_catanh.c (__catanh): Likewise.
4051 * math/s_catanhf.c (__catanhf): Likewise.
4052 * math/s_catanhl.c (__catanhl): Likewise.
4053 * math/s_catanl.c (__catanl): Likewise.
4054 * math/libm-test.inc (catan_test): Add more tests.
4055 (catanh_test): Likewise.
4056 * sysdeps/i386/fpu/libm-test-ulps: Update.
4057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4058
cb4d5414
AZ
40592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4060
4061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4062
caf84319
JM
40632013-04-30 Joseph Myers <joseph@codesourcery.com>
4064
4065 [BZ #15416]
4066 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4067 accurately for denominator in atan2.
4068 * math/s_catanf.c (__catanf): Likewise.
4069 * math/s_catanh.c (__catanh): Likewise.
4070 * math/s_catanhf.c (__catanhf): Likewise.
4071 * math/s_catanhl.c (__catanhl): Likewise.
4072 * math/s_catanl.c (__catanl): Likewise.
4073 * math/libm-test.inc (catan_test): Add more tests.
4074 (catanh_test): Likewise.
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4077
d569c6ee
SP
40782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4079
6dbe713d
SP
4080 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4081
f0ee064b
SP
4082 * benchtests/Makefile (bench): Remove slow benchmarks.
4083 * benchtests/atan-inputs: Add slow benchmark inputs.
4084 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4085 (BENCH_FUNC): Accept variant offset.
4086 (VARIANT): Define.
4087 * benchtests/bench-skeleton.c (main): Run benchmark for each
4088 variant.
4089 * benchtests/cos-inputs: Add slow benchmark inputs.
4090 * benchtests/exp-inputs: Likewise.
4091 * benchtests/pow-inputs: Likewise.
4092 * benchtests/sin-inputs: Likewise.
4093 * benchtests/slowatan-inputs: Remove.
4094 * benchtests/slowatan.c: Remove.
4095 * benchtests/slowcos-inputs: Remove.
4096 * benchtests/slowcos.c: Remove.
4097 * benchtests/slowexp-inputs: Remove.
4098 * benchtests/slowexp.c: Remove.
4099 * benchtests/slowpow-inputs: Remove.
4100 * benchtests/slowpow.c: Remove.
4101 * benchtests/slowsin-inputs: Remove.
4102 * benchtests/slowsin.c: Remove.
4103 * benchtests/slowtan-inputs: Remove.
4104 * benchtests/slowtan.c: Remove.
4105 * benchtests/tan-inputs: Add slow benchmark inputs.
4106 * scripts/bench.pl: Parse comments and directives.
4107
d569c6ee
SP
4108 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4109 in CPPFLAGS.
4110 ($(objpfx)bench-%.c): Remove *-ITER.
4111 * benchtests/bench-modf.c: Remove definition of ITER.
4112 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4113 (main): Loop for DURATION seconds instead of fixed number of
4114 iterations.
4115 * scripts/bench.pl: Don't expect iterations in parameters.
4116
a6a242fe
RM
41172013-04-29 Roland McGrath <roland@hack.frob.com>
4118
4119 * io/fchdir.c (__fchdir): Renamed from fchdir.
4120 (fchdir): Define as weak alias.
4121
f2da7793
JM
41222013-04-29 Joseph Myers <joseph@codesourcery.com>
4123
4124 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4125 (ERRNO_EDOM): Likewise.
4126 (ERRNO_ERANGE): Likewise.
4127 (noErrnoTests): New variable.
4128 (init_max_error): Set errno to 0.
4129 (test_single_errno): New function.
4130 (test_errno): Likewise.
4131 (check_float_internal): Call test_errno. Set errno to 0.
4132 (check_complex): Refer to errno tests in comment.
4133 (check_int): Call test_errno. Set errno to 0.
4134 (check_long): Likewise.
4135 (check_bool): Likewise.
4136 (check_longlong): Likewise.
4137 (cos_test): Use ERRNO_* flags for errno tests instead of
4138 check_int.
4139 (expm1_test): Likewise.
4140 (fmod_test): Likewise.
4141 (ilogb_test): Likewise.
4142 (lgamma_test): Likewise.
4143 (pow_test): Likewise.
4144 (remainder_test): Likewise.
4145 (sin_test): Likewise.
4146 (tan_test): Likewise.
4147 (yn_test): Likewise.
4148 (initialize): Set errno to 0.
4149 (main): Print number of errno tests.
4150 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4151
b1a36ceb
AJ
41522013-04-29 Andreas Jaeger <aj@suse.de>
4153
c3ed8088
AJ
4154 [BZ #15084]
4155 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4156 and RES_USEVC.
4157
f1a24198
AJ
4158 [BZ #15085]
4159 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4160 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4161 unimplemented.
4162
9ce3b2cb
AJ
4163 [BZ #15380]
4164 * stdlib/random.c (__initstate): Return NULL if
4165 __initstate fails.
4166
f1a24198 4167 [BZ #15086]
b1a36ceb
AJ
4168 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4169 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4170 RES_SNGLKUPREOP.
4171
7e7b6f36
AZ
41722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4173
4174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4175
4d14f449
JM
41762013-04-29 Joseph Myers <joseph@codesourcery.com>
4177
4178 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4179 of individual tests.
4180 (casin_test): Likewise.
4181 (casinh_test): Likewise.
4182
5b4217d7
JM
41832013-04-27 Joseph Myers <joseph@codesourcery.com>
4184
4185 [BZ #15409]
4186 * math/s_catan.c (__catan): Handle arguments with large real or
4187 imaginary part separately without squaring.
4188 * math/s_catanf.c (__catanf): Likewise.
4189 * math/s_catanh.c (__catanh): Likewise.
4190 * math/s_catanhf.c (__catanhf): Likewise.
4191 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4192 and redefine.
4193 (__catanhl): Handle arguments with large real or imaginary part
4194 separately without squaring.
4195 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4196 and redefine.
4197 (__catanl): Handle arguments with large real or imaginary part
4198 separately without squaring.
4199 * math/libm-test.inc (catan_test): Add more tests.
4200 (catanh_test): Likewise.
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4203
4220c3ef
AJ
42042013-04-27 Andreas Jaeger <aj@suse.de>
4205
4206 [BZ #15007]
4207 * stdlib/stdlib.h: Update guards for qecvt.
4208 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4209 <stdlib.h>.
4210
4721b2d1
AM
42112013-04-27 Allan McRae <allan@archlinux.org>
4212
4213 * sysdeps/i386/fpu/libm-test-ulps: Update.
4214
f0302940
JM
42152013-04-26 Joseph Myers <joseph@codesourcery.com>
4216
9457fd95
JM
4217 [BZ #15406]
4218 * math/s_catan.c: Include <float.h>.
4219 (__catan): Ensure underflow exception occurs for underflowed
4220 result.
4221 * math/s_catanf.c: Include <float.h>.
4222 (__catanf): Ensure underflow exception occurs for underflowed
4223 result.
4224 * math/s_catanh.c: Include <float.h>.
4225 (__catanh): Ensure underflow exception occurs for underflowed
4226 result.
4227 * math/s_catanhf.c: Include <float.h>.
4228 (__catanhf): Ensure underflow exception occurs for underflowed
4229 result.
4230 * math/s_catanhl.c: Include <float.h>.
4231 (__catanhl): Ensure underflow exception occurs for underflowed
4232 result.
4233 * math/s_catanl.c: Include <float.h>.
4234 (__catanl): Ensure underflow exception occurs for underflowed
4235 result.
4236 * math/libm-test.inc (catan_test): Add more tests.
4237 (catanh_test): Likewise.
4238
f0302940
JM
4239 [BZ #15405]
4240 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4241 underflowed result.
4242 * math/s_ccoshf.c (__ccoshf): Likewise.
4243 * math/s_ccoshl.c (__ccoshl): Likewise.
4244 * math/s_csin.c (__csin): Likewise.
4245 * math/s_csinf.c (__csinf): Likewise.
4246 * math/s_csinh.c (__csinh): Likewise.
4247 * math/s_csinhf.c (__csinhf): Likewise.
4248 * math/s_csinhl.c (__csinhl): Likewise.
4249 * math/s_csinl.c (__csinl): Likewise.
4250 * math/libm-test.inc (ccos_test): Add more tests.
4251 (ccosh_test): Likewise.
4252 (csin_test): Likewise.
4253 (csinh_test): Likewise.
4254
aa630f59
AZ
42552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4256
4257 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4258 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4259 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4260 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4261 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4262 powerpc/power5+/fpu folders.
4263 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4264
4265
1b835983
MT
42662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4267
4268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4269
73709b26
JM
42702013-04-25 Joseph Myers <joseph@codesourcery.com>
4271
4272 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4273 additions to variable.
4274 [$(config-machine) = x86_64] (modules-names): Likewise.
4275 ($(objpfx)tst-audit3): Remove dependency.
4276 ($(objpfx)tst-audit3.out): Likewise.
4277 ($(objpfx)tst-audit4): Likewise.
4278 ($(objpfx)tst-audit4.out): Likewise.
4279 ($(objpfx)tst-audit5): Likewise.
4280 ($(objpfx)tst-audit5.out): Likewise.
4281 ($(objpfx)tst-audit6): Likewise.
4282 ($(objpfx)tst-audit6.out): Likewise.
4283 ($(objpfx)tst-audit7): Likewise.
4284 ($(objpfx)tst-audit7.out): Likewise.
4285 (tst-audit3-ENV): Remove variable.
4286 (tst-audit4-ENV): Likewise.
4287 (tst-audit5-ENV): Likewise.
4288 (tst-audit6-ENV): Likewise.
4289 (tst-audit7-ENV): Likewise.
4290 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4291 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4292 addition to variable.
4293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4295 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4298 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4299 tst-audit3, tst-audit4 and tst-audit5.
4300 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4301 tst-audit6 and tst-audit7.
4302 [$(subdir) = elf] (modules-names): Add audit modules for those
4303 tests.
4304 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4305 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4306 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4307 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4308 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4309 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4310 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4311 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4312 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4313 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4314 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4315 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4316 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4317 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4318 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4319 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4320 Likewise.
4321 [$(subdir) = elf && $(config-cflags-avx) = yes]
4322 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4323 [$(subdir) = elf && $(config-cflags-avx) = yes]
4324 (CFLAGS-tst-auditmod4a.c): Likewise.
4325 [$(subdir) = elf && $(config-cflags-avx) = yes]
4326 (CFLAGS-tst-auditmod4b.c): Likewise.
4327 [$(subdir) = elf && $(config-cflags-avx) = yes]
4328 (CFLAGS-tst-auditmod6b.c): Likewise.
4329 [$(subdir) = elf && $(config-cflags-avx) = yes]
4330 (CFLAGS-tst-auditmod6c.c): Likewise.
4331 [$(subdir) = elf && $(config-cflags-avx) = yes]
4332 (CFLAGS-tst-auditmod7b.c): Likewise.
4333 * elf/tst-audit3.c: Move to ...
4334 * sysdeps/x86_64/tst-audit3.c: ... here.
4335 * elf/tst-audit4.c: Move to ...
4336 * sysdeps/x86_64/tst-audit4.c: ... here.
4337 * elf/tst-audit5.c: Move to ...
4338 * sysdeps/x86_64/tst-audit5.c: ... here.
4339 * elf/tst-audit6.c: Move to ...
4340 * sysdeps/x86_64/tst-audit6.c: ... here.
4341 * elf/tst-audit7.c: Move to ...
4342 * sysdeps/x86_64/tst-audit7.c: ... here.
4343 * elf/tst-auditmod3a.c: Move to ...
4344 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4345 * elf/tst-auditmod3b.c: Move to ...
4346 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4347 * elf/tst-auditmod4a.c: Move to ...
4348 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4349 * elf/tst-auditmod4b.c: Move to ...
4350 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4351 * elf/tst-auditmod5a.c: Move to ...
4352 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4353 * elf/tst-auditmod5b.c: Move to ...
4354 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4355 * elf/tst-auditmod6a.c: Move to ...
4356 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4357 * elf/tst-auditmod6b.c: Move to ...
4358 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4359 * elf/tst-auditmod6c.c: Move to ...
4360 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4361 * elf/tst-auditmod7a.c: Move to ...
4362 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4363 * elf/tst-auditmod7b.c: Move to ...
4364 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4365
1ef74943
PP
43662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4367
4368 [BZ #15366]
4369 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4370 define unconditionally.
4371 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4372 define unconditionally.
4373 (INT8_C, INT16_C, etc.): Likewise.
4374
93fd48c5
MR
43752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4376
ae9552cf
MR
4377 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4378 __ehdr_start with hidden visibility.
4379
93fd48c5
MR
4380 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4381
418601aa
CD
43822013-04-24 Carlos O'Donell <carlos@redhat.com>
4383
4384 * math/libm-test.inc (cos_test): Use accurate hex constants.
4385 (sincost_test): Likewise.
4386
2f38fbfe
JM
43872013-04-24 Joseph Myers <joseph@codesourcery.com>
4388
5e221800
JM
4389 * math/libm-test.inc (catan_test): Add more tests.
4390 (catanh_test): Likewise.
4391
77f143fd
JM
4392 * math/s_catanf.c (__catanf): Use suffixed floating-point
4393 constants.
4394 * math/s_catanhf.c (__catanhf): Likewise.
4395 * math/s_catanhl.c (__catanhl): Likewise.
4396 * math/s_catanl.c (__catanl): Likewise.
4397
2f38fbfe
JM
4398 [BZ #15394]
4399 * math/s_catan.c (__catan): Calculate imaginary part of result
4400 with log1p not log unless computing log of number close to 0.
4401 * math/s_catanf.c (__catanf): Likewise.
4402 * math/s_catanl.c (__catanl): Likewise.
4403 * math/s_catanh.c (__catanh): Calculate real part of result with
4404 log1p not log unless computing log of number close to 0.
4405 * math/s_catanhf.c (__catanhf): Likewise.
4406 * math/s_catanhl.c (__catanhl): Likewise.
4407 * math/libm-test.inc (catan_test): Add more tests.
4408 (catanh_test): Likewise.
4409 * sysdeps/i386/fpu/libm-test-ulps: Update.
4410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4411
45d69176
SP
44122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4413
4414 * benchtests/Makefile: Mention files in which fast and slow
4415 paths of math functions are implemented.
4416
87f51853
RM
44172013-04-23 Roland McGrath <roland@hack.frob.com>
4418
4419 * sysdeps/posix/timespec_get.c: New file.
4420
3c026539
AZ
44212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4422
4423 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4424 POWER.
4425 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4426 for POWER.
4427 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4428 powerpc/power5/fpu folders.
4429 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4430 * benchtests/Makefile: Add modf testcase.
4431 * benchtests/bench-modf.c: New file: Benchmark test for mo
4432
ff491d14
SP
44332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4434
4435 [BZ #14888]
4436 * time/Makefile (tests): Add tst-strptime-whitespace.
4437 * time/strptime_l.c (get_number): Use ISSPACE.
4438 (__strptime_internal): Likewise.
4439 * time/tst-strptime-whitespace.c: New test case.
4440
7ed3f4e8
AS
44412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4442
4443 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4444 member.
4445 (_nss_files_init): Set it here.
4446
5c95f7b6
HC
44472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4448
4449 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4450 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4451 unsigned.
4452
d34c9158
JBG
44532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4454
4455 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4456
2169712d
SP
44572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4458
4459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4460 size just once.
4461
29c5de99
DM
44622013-04-21 David S. Miller <davem@davemloft.net>
4463
4464 * po/ru.po: Update Russion translation from translation project.
4465
ccdad15d
AC
44662013-04-17 Adam Conrad <adconrad@0c3.net>
4467
4468 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4469 and setfsgid.
4470
0f122b8d
CD
44712013-04-17 Carlos O'Donell <carlos@redhat.com>
4472
5c5b07da 4473 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4474 * configure: Regenerate.
5c5b07da 4475 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4476 Add example to error message.
4477 * sysdeps/i386/configure: Regenerate.
4478
037714dd
SP
44792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4480
4481 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4482 slowtan.
4483 * benchtests/cos-inputs: New file.
4484 * benchtests/slowcos-inputs: New file.
4485 * benchtests/slowcos.c: New file.
4486 * benchtests/slowtan-inputs: New file.
4487 * benchtests/slowtan.c: New file.
4488 * benchtests/tan-inputs: New file.
4489
e913141d
RM
44902013-04-16 Roland McGrath <roland@hack.frob.com>
4491
4492 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4493 considered kosher.
4494
a2964074
SP
44952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
4856bcd2
SP
4497 * benchtests/Makefile: Include cppflags-iterator.mk to add
4498 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4499
a2964074
SP
4500 * Makefile.in (bench-clean): New target.
4501 * benchtests/Makefile (bench-clean): Likewise.
4502
9fbf9aca
DH
45032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4504
4505 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4506
207d1e2a
TS
45072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4508
4509 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4510
306dfba9
AS
45112013-04-15 Andreas Schwab <schwab@suse.de>
4512
4513 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4515 * nscd/pwdcache.c (cache_addpw): Likewise.
4516 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4517 more than recsize.
4518
206a6699
SP
45192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4520
4521 * benchtests/Makefile (bench): Write all output to
4522 bench-out.tmp together.
4523
0582f6b3
AS
45242013-04-15 Andreas Schwab <schwab@suse.de>
4525
4526 * nscd/nscd.c (main): Don't fork again after closing files.
4527
acb4325f
SP
45282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
5cb26d0a
SP
4530 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4531
acb4325f
SP
4532 * benchtests/Rules (bench-deps): Collect dependencies into a
4533 single variable. Add Makefile to dependencies.
4534 ($(objpfx)bench-%.c): Depend on bench-deps.
4535
47792506
RM
45362013-04-12 Roland McGrath <roland@hack.frob.com>
4537 Xavier Roche <roche+kml2@exalead.com>
4538
4539 [BZ #15361]
4540 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4541 just that it's a file descriptor.
4542 * manual/llio.texi (Synchronizing AIO Operations): Update description
4543 for EBADF error from aio_fsync.
4544
8fc1bee5
SP
45452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4546
4547 * Rules (bench): Move target definition...
4548 * benchtests/Makefile: ... here.
4549
aba5e333
CD
45502013-04-11 Carlos O'Donell <carlos@redhat.com>
4551
4552 * math/libm-test.inc (cos_test): Fix PI/2 test.
4553 (sincos_test): Likewise.
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4555 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4556
273cdee8
AS
45572013-04-11 Andreas Schwab <schwab@suse.de>
4558
6ecec3b6
AS
4559 [BZ #13988]
4560 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4561 accept exponent character only when digits were seen.
4562 * stdio-common/Makefile (tests): Add bug26.
4563 * stdio-common/bug26.c: New file.
4564
273cdee8
AS
4565 [BZ #14293]
4566 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4567 non-freeable.
4568
8da491f5
SP
45692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4570
01dc6df9
SP
4571 * Makeconfig (rtld-prefix): Define built linker prefix.
4572 * Rules (run-bench): Use it.
4573 * math/Makefile (run-regen-ulps): Likewise.
4574
8da491f5
SP
4575 * Rules (bench): Remove eval.
4576
abe7f530
SP
45772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4578 Roland McGrath <roland@hack.frob.com>
4579 Ondrej Bilka <neleai@seznam.cz>
4580
4581 [BZ #15346]
4582 * time/getdate.c: Include ctype.h and alloca.h.
4583 (__getdate_r): Trim leading and trailing spaces of input.
4584 * time/tst-getdate.c (tests): Add tests with leading and
4585 trailing spaces.
4586
61c23e62
RM
45872013-04-08 Roland McGrath <roland@hack.frob.com>
4588
4589 [BZ #14280]
4590 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4591 when computing value.
4592
7208a313
CD
45932013-04-06 Carlos O'Donell <carlos@redhat.com>
4594
085b2d41
CD
4595 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4596 Use testrun.sh to run libm tests.
4597
7208a313
CD
4598 [BZ #15309]
4599 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4600
872c0acd
MM
46012013-04-06 Marko Myllynen <myllynen@redhat.com>
4602
4603 [BZ #15264]
4604 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4605
26510bdd
CD
46062013-04-06 Carlos O'Donell <carlos@redhat.com>
4607
4608 * Makefile.in (regen-ulps): New target.
4609 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4610 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4611 [ifneq (no,$(PERL)] (regen-ulps): New target.
4612 [ifeq (no,$(PERL)] (regen-ulps): New target.
4613 * math/libm-test.inc (ulps_file_name): Define.
4614 (output_dir): New variable.
4615 (options): Add "output-dir" option.
4616 (parse_opt): Handle 'o' case.
4617 (main): If output_dir is non-NULL use it as a prefix
4618 otherwise use "".
4619 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4620
a01f19c8
CD
46212013-04-06 Carlos O'Donell <carlos@redhat.com>
4622
4623 [BZ #10060, #10062]
4624 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4625 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4626 fail configure if __sync_val_compare_and_swap is not inlined.
4627 * sysdeps/i386/configure: Regenerate.
4628 * configure.in: Build for i686 when configured for i386.
4629 * configure: Regenerate.
4630 * README: Remove i386 reference.
4631
b7a329a5
CD
46322013-04-06 Carlos O'Donell <carlos@redhat.com>
4633
4634 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4635 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4636
bf0f50df
TS
46372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4638
ee091edf
TS
4639 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4640 (lmsnanval): New variables.
4641 (F): Add conversion tests.
4642 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4643 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4644
a8b792d6
TS
4645 * stdio-common/tstdiomisc.c (F): Properly collect individual
4646 tests' results.
4647
a1cbf437
TS
4648 [BZ #14686, #15336]
4649 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4650 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4651 Instead, use input NaN values or generate a qNaN by arithmetic
4652 operation. Also fix bugs to comply with the standard.
4653 * math/libm-test.inc (remainder_test): Add more tests.
4654
8b43a0c9
TS
4655 [BZ #15335, #15342]
4656 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4658 input NaN values or generate a qNaN by arithmetic operation.
4659
d91da4ce
TS
4660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4661 unreachable code.
4662
bf0f50df
TS
4663 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4664 definitions.
4665
05e166c8
JM
46662013-04-03 Joseph Myers <joseph@codesourcery.com>
4667
4668 [BZ #14478]
4669 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4670 underflowed result.
4671 * math/s_cexpf.c (__cexpf): Likewise.
4672 * math/s_cexpl.c (__cexpl): Likewise.
4673 * math/libm-test.inc (cexp_test): Add more tests.
4674
1cef1b19
AS
46752013-04-03 Andreas Schwab <schwab@suse.de>
4676
4677 [BZ #15330]
4678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4679 order arrays from heap if bigger than alloca cutoff.
4680
74d87055
TS
46812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4682
4683 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4684 (SNAN_TESTS_double): Refer to GCC PR56831.
4685 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4686 GCC PR56828.
4687
d755bba4
SP
46882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4689
90d5d5bb
SP
4690 * Rules (bench): Move bench.out after the run is complete.
4691
73e0cd5d
SP
4692 * Rules (bench): Echo currently running benchmark.
4693
64aabd4b
SP
4694 * benchtests/Makefile (bench): Add atan and slowatan.
4695 * benchtests/atan-inputs: New file.
4696 * benchtests/slowatan-inputs: New file.
4697 * benchtests/slowatan.c: New file.
4698
c871eccd
SP
4699 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4701 its value.
4702
d755bba4
SP
4703 [BZ #15305]
4704 * sysdeps/unix/sysv/linux/kernel-features.h
4705 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4706 __ASSUME_XFS_RESTRICTED_CHOWN.
4707 * sysdeps/unix/sysv/linux/pathconf.c
4708 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4709 Save and restore errno.
4710
52ce4860
JM
47112013-04-02 Joseph Myers <joseph@codesourcery.com>
4712
4713 [BZ #15327]
4714 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4715 arguments using __kernel_casinh.
4716 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4717 arguments using __kernel_casinhf.
4718 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4719 arguments using __kernel_casinhl.
4720 * math/libm-test.inc (cacosh_test): Add more tests.
4721 * sysdeps/i386/fpu/libm-test-ulps: Update.
4722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4723
81f311c2
SP
47242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4725
e7906a47
SP
4726 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4728
92e3664b
SP
4729 * bench/Makefile (bench): Add sin and slowsin.
4730 * benchtests/sin-inputs: New file.
4731 * benchtests/slowsin-inputs: New file.
4732 * benchtests/slowsin.c: New file.
4733
81f311c2
SP
4734 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4735 (bench): Add slowexp and slowpow.
4736 (exp-ITER): Increase iterations.
4737 (pow-ITER): Likewise.
4738 * benchtests/exp-inputs: Change input.
4739 * benchtests/pow-inputs: Likewise.
4740 * benchtests/slowexp-inputs: New file.
4741 * benchtests/slowexp.c: New file.
4742 * benchtests/slowpow-inputs: New file.
4743 * benchtests/slowpow.c: New file.
4744
ab0f1aa9
AZ
47452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4746
4747 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4748 instructions.
4749 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4751 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4752 * benchtests/Makefile: Add rint benchtest.
4753 * benchtests/rint-inputs: Input for rint benchtest.
4754
57267616
TS
47552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4756
4757 * Versions.def (libm): Add GLIBC_2.18.
4758 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4759 hidden libm prototypes.
4760 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4761 * math/Makefile (libm-calls): Add s_issignaling.
4762 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4763 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4764 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4765 declaration.
4766 * math/math.h [__USE_GNU] (issignaling): New macro.
4767 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4768 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4769 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4773 * manual/arith.texi (issignaling): New section.
4774 * manual/libm-err-tab.pl (@all_functions): Update comment.
4775 * math/gen-libm-test.pl (parse_args): Apply special handling for
4776 issignaling.
4777 * math/libm-test.inc (print_float, issignaling_test): New
4778 functions.
4779 (check_float_internal): Add issignaling checks.
4780 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4781 default definition.
4782 * sysdeps/powerpc/math-tests.h: New file.
4783 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4784 tests.
4785 * math/test-snan.c (TEST_FUNC): Likewise.
4786
6142896d
DM
47872013-03-30 David S. Miller <davem@davemloft.net>
4788
4789 * po/de.po: Update from translation team.
4790
ccc8cadf
JM
47912013-03-30 Joseph Myers <joseph@codesourcery.com>
4792
4793 [BZ #10357]
4794 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4795 imaginary part less than 1.0 and real part less than 0.5
4796 specially.
4797 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4798 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4799 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4800 (cacos_test): Add more tests.
4801 (casin_test): Likewise.
4802 (casinh_test): Likewise.
4803 * sysdeps/i386/fpu/libm-test-ulps: Update.
4804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805
0f6a8d4b
SP
48062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
0d1029de
SP
4808 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4809 ONE with its value.
4810
c2d94018
SP
4811 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4812 (__pow_mp): Replace ONE and MONE with their values.
4813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4815 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4816 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4817 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4818 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4819
27ec37f1
SP
4820 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4821
a64d7e0e
SP
4822 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4823 (__pow_mp): Replace ZERO and MZERO with their values.
4824 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4825 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4826 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4828 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4829 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4830 (__sqr): Likewise.
4831
d26dd3eb
SP
4832 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4833
0f6a8d4b
SP
4834 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4835
e57b0c61
RM
48362013-03-28 Roland McGrath <roland@hack.frob.com>
4837
4838 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4839 Declare with __attribute__ ((weak)).
4840 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4841 Call __call_tls_dtors only if it's not NULL.
4842
356b3480
RM
48432013-03-28 Roland McGrath <roland@hack.frob.com>
4844
288f7d79
RM
4845 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4846 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4847 magic __ehdr_start linker symbol if it's defined.
4848 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4849 them up here if it was already done.
4850
dc0a0263
RM
4851 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4852 (_dl_aux_init): Use const in cast when setting it.
4853 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4854 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4855 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4856
3d3436ae
RM
4857 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4858 Declare them here.
4859 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4860 * csu/libc-tls.c: Nor here.
4861 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4862
356b3480
RM
4863 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4864 (__libc_message): Never call vsyslog.
4865
b0f1246a
AM
48662013-03-28 Alan Modra <amodra@gmail.com>
4867
4868 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4869 Define as empty.
4870 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4871 Likewise.
4872
fbbe2b9a
AZ
48732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874
4875 [BZ #15214]
4876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4877 underflow.
4878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4879
1728ab37
SP
48802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4881
7a86be6e
SP
4882 [BZ #15304]
4883 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4884 Don't add gid passed as argument.
4885
1728ab37
SP
4886 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4887
3a7182a1
JM
48882013-03-27 Joseph Myers <joseph@codesourcery.com>
4889
4890 [BZ #15307]
4891 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4892 imaginary part between 1.0 and 1.5 and real part less than 0.5
4893 specially.
4894 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4895 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4896 * math/libm-test.inc (cacos_test): Add more tests.
4897 (casin_test): Likewise.
4898 (casinh_test): Likewise.
4899 * sysdeps/i386/fpu/libm-test-ulps: Update.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4901
6f2e90e7
SP
49022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4903
5739f705
SP
4904 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4905 constants.
4906 (norm): Likewise.
4907 (denorm): Likewise.
4908 (__dbl_mp): Likewise.
4909 (add_magnitudes): Likewise.
4910 (sub_magnitudes): Likewise.
4911 (__add): Likewise.
4912 (__sub): Likewise.
4913 (__mul): Likewise.
4914 (__sqr): Likewise.
4915 (__inv): Likewise.
4916 (__dvd): Likewise.
4917
e375e83d
SP
4918 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4919 commented code.
4920 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4921 (__dubcos): Likewise.
4922 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4923 (__ieee754_acos): Likewise.
4924 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4925 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4926 (__exp1): Likewise.
4927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4929 (log1): Likewise.
4930 (my_log2): Likewise.
4931 (checkint): Likewise.
4932 * sysdeps/ieee754/dbl-64/e_remainder.c
4933 (__ieee754_remainder): Likewise.
4934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4936 (bsloww): Likewise.
4937 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4938
6f2e90e7
SP
4939 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4940 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4941 MANTISSA_STORE_T to store computations on mantissa. Use
4942 macros for rounding and division.
4943 (denorm): Likewise.
4944 (__dbl_mp): Likewise.
4945 (add_magnitudes): Likewise.
4946 (sub_magnitudes): Likewise.
4947 (__mul): Likewise.
4948 (__sqr): Likewise.
4949 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4950 powers of two in terms of TWOPOW macro.
4951 (mp_no): Make type of mantissa as MANTISSA_T.
4952 [!RADIXI]: Define RADIXI.
4953 [!TWO52]: Define TWO52.
4954 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4955
fce14d4e
AZ
49562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4957
4958 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4959 llroundl symbol when building for PPC32.
4960
9ad027fb
MW
49612013-03-24 Mark H Weaver <mhw@netris.org>
4962
4963 * manual/arith.texi (Normalization Functions): Fix prototypes for
4964 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4965
e42a38dd
AZ
49662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967
4968 [BZ #13889]
4969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4970 high value to check if expl overflow.
4971 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4972 to check for underflow and overflow.
4973 * math/libm-test.inc: Add exp test.
4974
2e0fb521
DL
49752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4976
4977 [BZ #11120]
4978 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4979 with NOT_IN_libc.
4980
b5784d95
AZ
49812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4982
4983 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4984 symbol.
4985
5aa4a1a1
TS
49862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4987
bdef0be7
TS
4988 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4989 wrap blocks consisting of several statements.
4990
5aa4a1a1
TS
4991 * sysdeps/generic/math-tests.h: New file.
4992 * sysdeps/i386/fpu/math-tests.h: Likewise.
4993 * math/test-snan.c: Include it.
4994 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4995
98c48fe5
JM
49962013-03-21 Joseph Myers <joseph@codesourcery.com>
4997
4998 [BZ #15285]
4999 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5000 (__ieee754_j0l): Do not improve calculations using cos of twice
5001 input for inputs above LDBL_MAX / 2.0L.
5002 (__ieee754_y0l): Likewise.
5003 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5004 (__ieee754_j1l): Do not improve calculations using cos of twice
5005 input for inputs above LDBL_MAX / 2.0L.
5006 (__ieee754_y1l): Likewise.
5007 * math/libm-test.inc (j0_test): Add another test.
5008 (j1_test): Likewise.
5009 (y0_test): Likewise.
5010 (y1_test): Likewise.
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5012
3775a8bc
SP
50132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
5015 * Rules ($(objpfx)bench-%.c): Include code from a C source
5016 file.
5017
0a1b2ae6
JM
50182013-03-21 Joseph Myers <joseph@codesourcery.com>
5019
5020 [BZ #15287]
5021 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5022 imaginary part 1.0 and real part less than 0.5 specially.
5023 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5024 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5025 * math/libm-test.inc (cacos_test): Add more tests.
5026 (casin_test): Likewise.
5027 (casinh_test): Likewise.
5028 * sysdeps/i386/fpu/libm-test-ulps: Update.
5029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5030
b33d4ce4
SP
50312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5032
5033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5034 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5035
bef0b507
JM
50362013-03-20 Joseph Myers <joseph@codesourcery.com>
5037
5038 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5039 * config.make.in (config-cflags-sse4): Remove variable.
5040 (config-cflags-avx): Likewise.
5041 (config-cflags-sse2avx): Likewise.
5042 (config-cflags-novzeroupper): Likewise.
5043 (config-asflags-i686): Likewise.
5044 (have-mfma4): Likewise.
5045 (have-as-vis3): Likewise.
5046 (MIG): Likewise.
5047 * configure.in (MIG): Do not AC_SUBST.
5048 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5049 (libc_cv_cc_sse4): Do not AC_SUBST.
5050 (libc_cv_cc_avx): Likewise.
5051 (libc_cv_cc_sse2avx): Likewise.
5052 (libc_cv_cc_novzeroupper): Likewise.
5053 (libc_cv_cc_fma4): Likewise.
5054 (libc_cv_as_i686): Likewise.
5055 (libc_cv_sparc_as_vis3): Likewise.
5056 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5057 LIBC_CONFIG_VAR.
5058 (config-asflags-i686): Likewise.
5059 (config-cflags-avx): Likewise.
5060 (config-cflags-sse2avx): Likewise.
5061 (have-mfma4): Likewise.
5062 (config-cflags-novzeroupper): Likewise.
5063 * sysdeps/mach/configure.in (MIG): Likewise.
5064 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5065 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5066 LIBC_CONFIG_VAR.
5067 (config-cflags-avx): Likewise.
5068 (config-cflags-sse2avx): Likewise.
5069 (have-mfma4): Likewise.
5070 (config-cflags-novzeroupper): Likewise.
5071 * configure: Regenerated.
5072 * sysdeps/i386/configure: Likewise.
5073 * sysdeps/mach/configure: Likewise.
5074 * sysdeps/sparc/configure: Likewise.
5075 * sysdeps/x86_64/configure: Likewise.
5076
912cc4b3
RM
50772013-03-20 Roland McGrath <roland@hack.frob.com>
5078
5079 [BZ #14812]
5080 * locale/programs/localedef.c (options): Put N_ translation marker
5081 on argument names, not just descriptions.
5082
04eed2b0
MS
50832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5084
5085 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5086
a065ceff
OB
50872013-03-20 Ondřej Bílka <neleai@seznam.cz>
5088
9bb2a810 5089 [BZ #14176]
a065ceff
OB
5090 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5091
a600e5ce
RM
50922013-03-19 Roland McGrath <roland@hack.frob.com>
5093
5094 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5095 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5096 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5097 [!BEFORE_ABORT] (before_abort): New function.
5098 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5099 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5100 (writev_for_fatal): New function.
5101 (WRITEV_FOR_FATAL): New macro; call that.
5102 (backtrace_and_maps): New function.
5103 (BEFORE_ABORT): New macro; call that.
5104 (struct str_list): Type removed.
5105 (__libc_message, __libc_fatal): Functions removed.
5106 Include <sysdeps/posix/libc_fatal.c> instead.
5107
6b18bea6
JM
51082013-03-19 Joseph Myers <joseph@codesourcery.com>
5109
5110 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5111 constants.
5112 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5113 double constants.
5114
aaa8cb4b
AS
51152013-03-19 Andreas Schwab <schwab@suse.de>
5116
44673770
AS
5117 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5118 * sysdeps/gnu/configure: Regenerate.
5119
aaa8cb4b
AS
5120 * configure.in: Substitute libc_cv_rtlddir.
5121 * configure: Regenerate.
5122 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5123 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5124 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5125 * elf/Makefile (install-others, CFLAGS-interp.c)
5126 (ldso_install, common-ldd-rewrite): Likewise.
5127 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5128 $(inst_slibdir)/$(rtld-installed-name).
5129 * scripts/rellns-sh: Add -p option.
5130 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5131 for source.
5132
d3cfc668
SP
51332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5134
5135 * manual/nptl.texi: Renamed to ...
5136 * manual/threads.texi: ... this.
5137 * manual/Makefile (chapters): Update.
5138
0e2b9cdd
RM
51392013-03-18 Roland McGrath <roland@hack.frob.com>
5140
5141 [BZ #14812]
5142 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5143 on argument names, not just descriptions.
0e2b9cdd
RM
5144 * malloc/memusagestat.c (options): Likewise.
5145 * nss/getent.c (options): Likewise.
63270c24
RM
5146
51472013-03-18 Benno Schulenberg <bensberg@justemail.net>
5148
5149 [BZ #14812]
5150 * iconv/iconv_prog.c (options): Put N_ translation marker
5151 on argument names, not just descriptions.
5152 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5153
b2e1393c
OB
51542013-03-18 Ondrej Bilka <neleai@seznam.cz>
5155
5156 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5157 implementation which is faster on all x86_64 architectures.
5158 Tested on AMD, Intel Nehalem, SNB, IVB.
5159 * sysdeps/x86_64/strnlen.S: Likewise.
5160
5161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5162 Remove all multiarch strlen and strnlen versions.
5163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5164 Remove strlen and strnlen related parts.
5165
5166 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5167 Inline strlen part.
5168 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5169
5170 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5171 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5172 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5173 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5174 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5175 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5176
ec4ff04d
CD
51772013-03-17 Carlos O'Donell <carlos@redhat.com>
5178
5179 * manual/memory.texi (Malloc Tunable Parameters):
5180 Sort parameters alphabetically. Add comments for missing entries.
5181
cd18e90a
DM
51822013-03-17 David S. Miller <davem@davemloft.net>
5183
5184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5185
2a185d32
JM
51862013-03-16 Joseph Myers <joseph@codesourcery.com>
5187
d2f9799e
JM
5188 [BZ #15283]
5189 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5190 for arguments at most half maximum finite value.
5191 * math/libm-test.inc (j0_test): Add more tests.
5192 (j1_test): Likewise.
5193 (y0_test): Likewise.
5194 (y1_test): Likewise.
5195 * sysdeps/i386/fpu/libm-test-ulps: Update.
5196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5197
2a185d32
JM
5198 [BZ #14155]
5199 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5200 1 / x and functions P and Q for arguments above 0x1p256L.
5201 (__ieee754_y0l): Likewise.
5202 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5203 (__ieee754_y1l): Likewise.
5204 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5205 (j1_test): Likewise.
5206 (y0_test): Likewise.
5207 (y1_test): Likewise.
5208
6cbec759
TS
52092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5210
5211 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5212 variable.
5213
bc16e260
RM
52142013-03-15 Roland McGrath <roland@hack.frob.com>
5215
aefc9b8c
RM
5216 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5217 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5218 zero since it's initialized to EXEC_PAGESIZE.
5219
bc16e260
RM
5220 * sysdeps/unix/sysv/linux/ldsodefs.h
5221 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5222 * sysdeps/generic/ldsodefs.h: ... here.
5223
a57da955
TS
52242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5225
af00a34d
TS
5226 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5227
495ded2c
TS
5228 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5229 math/test-snan.c.
5230 * math/test-snan.c: Renamed from
5231 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5232 * math/Makefile (tests): Add test-snan.
5233 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5234 test-powerpc-snan.
5235
777b0332
TS
5236 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5237 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5238 functions.
5239 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5240 __builtin_nan family of functions.
5241 * math/libm-test.inc (initialize): Initialize qnan_value with
5242 __builtin_nan family of functions.
5243 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5244 Remove variables.
5245 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5246 Remove functions.
5247 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5248 storage class. Initialize qNaN_var and sNaN_var with
5249 __builtin_nan and __builtin_nans families of functions,
5250 respectively.
5251
64d063b8
TS
5252 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5253 (sqrt_test): Remove duplicate test with qNaN input.
5254 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5255 (round_test, signbit_test, significand_test): Note missing +/-Inf
5256 as well as qNaN tests.
5257
67e971f1
TS
5258 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5259 qNaN_var. Fix a few strings, too.
5260 * math/libm-test.inc (nan_value): Rename to qnan_value.
5261 * math/gen-libm-test.pl (%beautify): Adjust to that.
5262 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5263 * math/test-misc.c (main): Likewise.
5264 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5265 to __qnan_bytes, and __qnan_union, respectively.
5266 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5267 Likewise.
5268 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5269 and lqnanval, respectively.
5270 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5271 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5272 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5273 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5274
64487e12
TS
5275 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5276 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5277 doubles.
5278
e015e27b
TS
5279 * math/test-misc.c (main): Fix copy'n'pastos.
5280 * misc/tst-efgcvt.c (special): Likewise.
5281
a57da955
TS
5282 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5283 Remove declarations.
5284
1e380345
SP
52852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5286
5287 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5288 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5289 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5290 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5291
ef26eece
AZ
52922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5293
5294 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5295 macro to return vdso values correctly in IFUNC implementations.
5296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5297 Optimization by using IFUNC.
5298
8cfdb7e0
SP
52992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5300 Richard Henderson <rth@redhat.com>
5301 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5302
5303 * Makefile.in (bench): New target.
5304 * NEWS: Mention the benchmark framework.
5305 * Rules (bench): Likewise.
5306 (binaries-bench): Generate binaries for functions to
5307 benchmark.
5308 * benchtests/Makefile: New makefile for benchmark tests.
5309 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5310 programs.
5311 * benchtests/exp-inputs: New input file for EXP function.
5312 * benchtests/pow-inputs: New input file for POW function.
5313 * scripts/bench.pl: New script to generate source files for
5314 benchmark programs.
5315
bcda9880
SP
53162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5317
d22ca8cd
SP
5318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5320 computations on mantissa. Use macros for rounding and
5321 division.
5322 (denorm): Likewise.
5323 (__dbl_mp): Likewise.
5324 (add_magnitudes): Likewise.
5325 (sub_magnitudes): Likewise.
5326 (__mul): Likewise.
5327 (__sqr): Likewise.
5328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5329 powers of two in terms of TWOPOW macro.
5330 (mp_no): Make type of mantissa as MANTISSA_T.
5331 [!RADIXI]: Define RADIXI.
5332 [!TWO52]: Define TWO52.
5333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5334
bcda9880
SP
5335 * manual/nptl.texi (cindex): Modify threads to pthreads.
5336
06d5adfb
JM
53372013-03-15 Joseph Myers <joseph@codesourcery.com>
5338
5339 * sysdeps/x86_64/preconfigure: Regenerated.
5340
41c7328e
JM
53412013-03-14 Joseph Myers <joseph@codesourcery.com>
5342
5343 [BZ #14155]
5344 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5345 0x1p28 and above.
5346 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5347 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5348 0x1p28 and above.
5349 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5350 * math/libm-test.inc (j0_test): Do not allow one spurious
5351 underflow exception.
5352 (y1_test): Likewise.
5353
e25cfa60
SP
53542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5355
0409959c
SP
5356 * manual/Makefile (chapters): Add nptl.
5357 * manual/debug.texi (Debugging Support): Add link to Threads
5358 chapter.
5359 * manual/nptl.texi: New file.
5360
e25cfa60
SP
5361 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5362
58a1335e
PB
53632013-03-14 Petr Baudis <pasky@ucw.cz>
5364
5365 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5366 for non-NULL pointer before the memory validity test. Pointed
5367 out by Holger Brunck <holger.brunck@keymile.com>.
5368
9dc7c64f
AS
53692013-03-13 Andreas Schwab <schwab@suse.de>
5370
5371 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5372 instead of .os.
5373
54206aa6
JM
53742013-03-13 Joseph Myers <joseph@codesourcery.com>
5375
5376 * timezone/zic.c: Update from tzcode 2013b.
5377
e98cdb38
CD
53782013-03-12 Carlos O'Donell <carlos@redhat.com>
5379
5380 * manual/install.texi (Configuring and compiling):
5381 Mention i686 and i586.
5382 * INSTALL: Regenerate.
5383
9967e003
RM
53842013-03-12 Roland McGrath <roland@hack.frob.com>
5385
5386 * sysdeps/init_array/elf-init.c: New file.
5387 * csu/elf-init.c
5388 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5389 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5390
5391 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5392 __gmon_start__ as global, but as static with a .preinit_array pointer.
5393 * sysdeps/init_array/gmon-start.c: New file. Use that.
5394 * sysdeps/init_array/crti.S: New file, empty except for comments.
5395 * sysdeps/init_array/crtn.S: Likewise.
5396
e6b5a293 53972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5398
5399 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5400 definining bcopy.
80f844c9
OB
5401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5402 Remove Prefer_SSE_for_memop.
5403 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5404 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5405 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5407 memset-x86-64.
80f844c9 5408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5409 Remove bzero, memset ifunc support.
80f844c9
OB
5410 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5412 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5413 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5414
fb6b0fcb
AS
54152013-03-11 Andreas Schwab <schwab@suse.de>
5416
5417 [BZ #15234]
5418 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5419 by SHLIB_COMPAT.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5421 (GLIBC_2.16): Remove pthread_atfork.
5422
3e6bd4b1
PP
54232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5424
5425 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5426 (ptestcases.h): Likewise.
5427
222d7f00
RM
54282013-03-08 Roland McGrath <roland@hack.frob.com>
5429
5430 * Makeconfig ($(common-objpfx)config.status): Depend on
5431 sysdeps/*/preconfigure{,.in} too.
5432
1ba4f030
JM
54332013-03-08 Joseph Myers <joseph@codesourcery.com>
5434
a222d91a
JM
5435 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5436 (__free_hook): Use void * instead of __malloc_ptr_t.
5437 (__malloc_hook): Likewise.
5438 (__realloc_hook): Likewise.
5439 (__memalign_hook): Likewise.
5440 (__after_morecore_hook): Likewise.
5441 * malloc/arena.c (save_malloc_hook): Likewise.
5442 (save_free_hook): Likewise.
5443 * malloc/hooks.c (malloc_hook_ini): Likewise.
5444 (realloc_hook_ini): Likewise.
5445 (memalign_hook_ini): Likewise.
5446 * malloc/malloc.c (malloc_hook_ini): Likewise.
5447 (realloc_hook_ini): Likewise.
5448 (memalign_hook_ini): Likewise.
5449 (__free_hook): Likewise.
5450 (__malloc_hook): Likewise.
5451 (__realloc_hook): Likewise.
5452 (__memalign_hook): Likewise.
5453 (__libc_malloc): Likewise.
5454 (__libc_free): Likewise.
5455 (__libc_realloc): Likewise.
5456 (__libc_memalign): Likewise.
5457 (__libc_valloc): Likewise.
5458 (__libc_pvalloc): Likewise.
5459 (__libc_calloc): Likewise.
5460 (__posix_memalign): Likewise.
5461 * malloc/morecore.c (__sbrk): Likewise.
5462 (__default_morecore): Likewise.
5463
5cc45e10
JM
5464 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5465
dd54b864
JM
5466 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5467 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5468 __malloc_ptrdiff_t.
5469
1ba4f030
JM
5470 * malloc/malloc.h (__malloc_size_t): Remove macro.
5471 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5472 __malloc_size_t.
5473 (old_memalign_hook): Likewise.
5474 (old_realloc_hook): Likewise.
5475 (struct hdr): Likewise.
5476 (flood): Likewise.
5477 (mallochook): Likewise.
5478 (memalignhook): Likewise.
5479 (reallochook): Likewise.
5480 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5481 (tr_old_realloc_hook): Likewise.
5482 (tr_old_memalign_hook): Likewise.
5483 (tr_mallochook): Likewise.
5484 (tr_reallochook): Likewise.
5485 (tr_memalignhook): Likewise.
5486
edf66e57
AZ
54872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5488
5489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5490 default_ldbl_pack and using as default implementation.
5491 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5492 implementation.
5493 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5494 redundant definition.
5495 (ldbl_insert_mantissa): Likewise.
5496 (ldbl_canonicalize): Likewise.
5497 (ldbl_nearbyint): Likewise.
5498 (ldbl_pack): Rename to ldbl_pack_ppc.
5499 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5500 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5501 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5502
6d9145d8
SP
55032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5504
5505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5506 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5508 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5510 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5511 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5512 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5513
4dd4e157
AJ
55142013-03-07 Andreas Jaeger <aj@suse.de>
5515
5516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5517 bits/mman-linux.h.
5518
adbb8027
SP
55192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5520
ce544b5b
SP
5521 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5522 Include mpa.h and declare __MPEXP.
5523 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5524 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5525 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5527 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5528 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5529 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5530
4cc149fd
SP
5531 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5532 (__slowpow): Use long double EXPL and LOGL functions to
5533 compute POW.
5534 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5535 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5536 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5537 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5538 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5539 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5540
e6ebd4a7
SP
5541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5542 intermediate variable to calculate exponent.
5543 (__sqr): Likewise.
5544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5545 Likewise.
5546 (__sqr): Likewise.
5547
82a9811d
SP
5548 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5549 [!NO__SQR]: Define __sqr.
5550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5551 and NO__SQR. Remove all code except __mul and __sqr. Include
5552 sysdeps/ieee754/dbl-64/mpa.c.
5553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5554
adbb8027
SP
5555 [BZ #12723]
5556 * posix/Makefile (tests): Add tst-pathconf.
5557 * posix/tst-pathconf.c: New test case.
5558 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5559 _PC_PIPE_BUF.
5560 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5561
39120df9
PF
55622013-03-06 Patsy Franklin <pfrankli@redhat.com>
5563
5564 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5565
67525cb8
AJ
55662013-03-06 Andreas Jaeger <aj@suse.de>
5567
664a9ce4
AJ
5568 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5569 definition via __MAP_ANONYMOUS.
5570
8e39047d
AJ
5571 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5572 it's not part of Linux headers.
5573
67525cb8
AJ
5574 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5575 (MAP_HUGE_MASK): Define.
5576
5577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5578 Define.
5579 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5581 Define.
5582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5583 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5584 Define.
5585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5586 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5587 Define.
5588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5589
5590 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5591 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5592 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5593 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5594 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5595 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5596
5597 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5598 Handle f2fs.
5599
5600 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5601 Handle f2fs and efivarfs.
5602
5603 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5604 f2fs.
5605
5606 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5607 (EFIVARFS_MAGIC): Add.
5608 (F2FS_LINK_MAX): Add.
5609
e1b42695
PP
56102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5611
5612 * stdio-common/vfprintf.c: Replace __builtin_expect with
5613 __glibc_unlikely.
5614
2d67d91a
JM
56152013-03-06 Joseph Myers <joseph@codesourcery.com>
5616
5617 [BZ #13550]
5618 * sysdeps/generic/bp-sym.h: Remove file.
5619 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5620 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5621 <bp-sym.h> and <bp-asm.h>.
5622 (__longjmp): Don't use BP_SYM.
5623 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5624 and <bp-asm.h>.
5625 (memcpy): Don't use BP_SYM.
5626 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5627 <bp-sym.h> and <bp-asm.h>.
5628 (memcpy): Don't use BP_SYM.
5629 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5630 <bp-asm.h>.
5631 (memcpy): Don't use BP_SYM.
5632 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5633 <bp-asm.h>.
5634 (memset): Don't use BP_SYM.
5635 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5636 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5637 (__bzero): Don't use BP_SYM.
5638 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5639 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5640 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5641 <bp-sym.h> and <bp-asm.h>.
5642 (memcmp): Don't use BP_SYM. Remove comment about bounded
5643 pointers.
5644 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5645 <bp-sym.h> and <bp-asm.h>.
5646 (memcpy): Don't use BP_SYM.
5647 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (memset): Don't use BP_SYM.
5650 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5651 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5652 (__bzero): Don't use BP_SYM.
5653 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5654 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5655 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5656 <bp-sym.h> and <bp-asm.h>.
5657 (strncmp): Don't use BP_SYM. Remove comment about bounded
5658 pointers.
5659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5660 <bp-sym.h> and <bp-asm.h>.
5661 (memcpy): Don't use BP_SYM.
5662 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5663 <bp-sym.h> and <bp-asm.h>.
5664 (memset): Don't use BP_SYM.
5665 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5666 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5667 (__bzero): Don't use BP_SYM.
5668 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5669 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5671 <bp-sym.h> and <bp-asm.h>.
5672 (__memchr): Don't use BP_SYM.
5673 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5674 <bp-sym.h> and <bp-asm.h>.
5675 (memcmp): Don't use BP_SYM. Remove comment about bounded
5676 pointers.
5677 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5678 <bp-sym.h> and <bp-asm.h>.
5679 (memcpy): Don't use BP_SYM.
5680 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5681 <bp-sym.h> and <bp-asm.h>.
5682 (__mempcpy): Don't use BP_SYM.
5683 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5684 <bp-sym.h> and <bp-asm.h>.
5685 (__memrchr): Don't use BP_SYM.
5686 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5687 <bp-sym.h> and <bp-asm.h>.
5688 (memset): Don't use BP_SYM.
5689 (__bzero): Likewise.
5690 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5691 <bp-sym.h> and <bp-asm.h>.
5692 (__rawmemchr): Don't use BP_SYM.
5693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5694 <bp-sym.h> and <bp-asm.h>.
5695 (__STRCMP): Don't use BP_SYM.
5696 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5697 <bp-sym.h> and <bp-asm.h>.
5698 (strchr): Don't use BP_SYM.
5699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5700 <bp-sym.h> and <bp-asm.h>.
5701 (__strchrnul): Don't use BP_SYM.
5702 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5703 <bp-sym.h> and <bp-asm.h>.
5704 (strlen): Don't use BP_SYM.
5705 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5706 <bp-sym.h> and <bp-asm.h>.
5707 (strncmp): Don't use BP_SYM. Remove comment about bounded
5708 pointers.
5709 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5710 <bp-sym.h> and <bp-asm.h>.
5711 (__strnlen): Don't use BP_SYM.
5712 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5713 <bp-sym.h> and <bp-asm.h>.
5714 (__GI__setjmp): Don't use BP_SYM.
5715 (_setjmp): Likewise.
5716 (__sigsetjmp): Likewise.
5717 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5718 (L(start_addresses)): Don't use BP_SYM.
5719 (_start): Likewise.
5720 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5721 <bp-asm.h>.
5722 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5723 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5724 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5725 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5726 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5727 <bp-asm.h>.
5728 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5729 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5730 about bounded pointers.
5731 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5732 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5733 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5734 <bp-asm.h>.
5735 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5736 about bounded pointers. Remove GKM FIXME comments.
5737 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5738 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5739 <bp-asm.h>.
5740 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5741 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5742 Remove GKM FIXME comments.
5743 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5744 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5745 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5746 <bp-asm.h>.
5747 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5748 about bounded pointers. Remove GKM FIXME comment.
5749 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5750 and <bp-asm.h>.
5751 (strncmp): Don't use BP_SYM. Remove comment about bounded
5752 pointers.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5754 <bp-sym.h> and <bp-asm.h>.
5755 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5757 <bp-sym.h> and <bp-asm.h>.
5758 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5759 comment.
5760
cdcf361f
PP
57612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5762
5763 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5764 call free(NULL).
5765
3c4a2b15
DM
57662013-03-05 David S. Miller <davem@davemloft.net>
5767
5768 * po/es.po: Update from translation team.
5769
cdcf361f 57702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5771
5772 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5773 <bits/mman-linux.h>.
5774 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5775 is fine.
5776 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5777 <bits/mman-linux.h> to end of file.
5778 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5779 is fine.
5780 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5781 <bits/mman-linux.h> to end of file.
5782 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5783 is fine.
5784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5785 <bits/mman-linux.h> to end of file.
5786
5787 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5788 (MCL_CURRENT, MCL_FUTURE): Define here.
5789
5f67c04f
AK
57902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5791
8a4473cc 5792 [BZ #15232]
5f67c04f
AK
5793 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5794 attribute_hidden.
5795 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5796
c3e94a95
AK
57972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5798
5799 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5800 fourth parameter needed for rt_sigprocmask syscall.
5801 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5802 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5803 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5804 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5805 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5806 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5807
cfb6382a
JM
58082013-03-04 Joseph Myers <joseph@codesourcery.com>
5809
5810 [BZ #13550]
5811 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5812 comment about bounded pointers.
5813 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5814 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5815
539d8e01
AJ
58162013-03-04 Andreas Jaeger <aj@suse.de>
5817
5818 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5819 common definitions.
5820
5821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5822 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5823 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5825 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5827
2e167a70 58282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5829
5830 [BZ #15055]
5831 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5832 __ieee754_sqrl instead of __sqrl.
5833
68508633
JM
58342013-03-01 Joseph Myers <joseph@codesourcery.com>
5835
5836 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5837 * sysdeps/powerpc/fpu_control.h: ... here.
5838 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5839 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5840 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5841 * sysdeps/powerpc/bits/mathinline.h: ... here.
5842
7775448e
RM
58432013-03-01 Roland McGrath <roland@hack.frob.com>
5844
5845 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5846 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5847 to just [NEED_DL_SYSINFO_DSO].
5848 * elf/dl-support.c: Likewise.
5849 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5850 * elf/rtld.c (dl_main): Likewise.
5851 * elf/setup-vdso.h (setup_vdso): Likewise.
5852 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5853 * sysdeps/unix/sysv/linux/dl-sysdep.c
5854 (_dl_discover_osversion): Likewise.
5855
4e9b5995
CD
58562013-03-01 Carlos O'Donell <carlos@redhat.com>
5857
5858 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5859 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5860
e23872c8
SP
58612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5862
e5c74c63
SP
5863 * NEWS: Mention libm performance improvements and non-x86 PI
5864 futex support.
5865
e23872c8
SP
5866 * csu/libc-start.c (__pthread_initialize_minimal): Change
5867 function arguments.
5868 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5869
b5510883
JM
58702013-02-28 Joseph Myers <joseph@codesourcery.com>
5871
5872 [BZ #13550]
5873 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5874 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5875 <bp-sym.h> and <bp-asm.h>.
5876 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5877 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5878 and <bp-asm.h>.
5879 (memcpy): Don't use BP_SYM.
5880 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5881 <bp-asm.h>.
5882 (__mpn_add_n): Don't use BP_SYM.
5883 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5884 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5885 and <bp-asm.h>.
5886 (__mpn_addmul_1): Don't use BP_SYM.
5887 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5888 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5889 <bp-sym.h>.
5890 (_setjmp): Don't use BP_SYM.
5891 (__novmx_setjmp): Likewise.
5892 (__GI__setjmp): Likewise.
5893 (__vmx_setjmp): Likewise.
5894 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5895 <bp-sym.h>.
5896 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5897 (__bzero): Don't use BP_SYM.
5898 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5899 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5900 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5901 <bp-sym.h> and <bp-asm.h>.
5902 (memcpy): Don't use BP_SYM.
5903 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5904 <bp-sym.h> and <bp-asm.h>.
5905 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5906 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5907 <bp-sym.h> and <bp-asm.h>.
5908 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5909 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5910 <bp-asm.h>.
5911 (__mpn_lshift): Don't use BP_SYM.
5912 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5913 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5914 <bp-asm.h>.
5915 (memset): Don't use BP_SYM.
5916 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5917 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5918 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5919 <bp-asm.h>.
5920 (__mpn_mul_1): Don't use BP_SYM.
5921 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5922 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5923 <bp-sym.h> and <bp-asm.h>.
5924 (memcmp): Don't use BP_SYM.
5925 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5926 <bp-sym.h> and <bp-asm.h>.
5927 (memcpy): Don't use BP_SYM.
5928 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5929 <bp-sym.h> and <bp-asm.h>.
5930 (memset): Don't use BP_SYM.
5931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5932 <bp-sym.h> and <bp-asm.h>.
5933 (strncmp): Don't use BP_SYM.
5934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (memcpy): Don't use BP_SYM.
5937 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5938 <bp-sym.h> and <bp-asm.h>.
5939 (memset): Don't use BP_SYM.
5940 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5941 <bp-sym.h> and <bp-asm.h>.
5942 (__memchr): Don't use BP_SYM.
5943 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5944 <bp-sym.h> and <bp-asm.h>.
5945 (memcmp): Don't use BP_SYM.
5946 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5947 <bp-sym.h> and <bp-asm.h>.
5948 (memcpy): Don't use BP_SYM.
5949 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5950 <bp-sym.h> and <bp-asm.h>.
5951 (__mempcpy): Don't use BP_SYM.
5952 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5953 <bp-sym.h> and <bp-asm.h>.
5954 (__memrchr): Don't use BP_SYM.
5955 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5956 <bp-sym.h> and <bp-asm.h>.
5957 (memset): Don't use BP_SYM.
5958 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5959 <bp-sym.h> and <bp-asm.h>.
5960 (__rawmemchr): Don't use BP_SYM.
5961 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5962 <bp-sym.h> and <bp-asm.h>.
5963 (__STRCMP): Don't use BP_SYM.
5964 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5965 <bp-sym.h> and <bp-asm.h>.
5966 (strchr): Don't use BP_SYM.
5967 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5968 <bp-sym.h> and <bp-asm.h>.
5969 (__strchrnul): Don't use BP_SYM.
5970 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5971 <bp-sym.h> and <bp-asm.h>.
5972 (strlen): Don't use BP_SYM.
5973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5974 <bp-sym.h> and <bp-asm.h>.
5975 (strncmp): Don't use BP_SYM.
5976 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5977 <bp-sym.h> and <bp-asm.h>.
5978 (__strnlen): Don't use BP_SYM.
5979 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5980 <bp-asm.h>.
5981 (__mpn_rshift): Don't use BP_SYM.
5982 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5983 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5984 <bp-sym.h> and <bp-asm.h>.
5985 (__sigsetjmp): Don't use BP_SYM.
5986 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5987 (L(start_addresses)): Don't use BP_SYM.
5988 (_start): Likewise.
5989 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5990 <bp-asm.h>.
5991 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5992 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5993 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5994 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5995 <bp-asm.h>.
5996 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5997 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5998 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5999 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6000 <bp-asm.h>.
6001 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6002 comments.
6003 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6004 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6005 <bp-asm.h>.
6006 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6007 FIXME comments.
6008 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6009 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6010 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6011 <bp-asm.h>.
6012 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6013 comment.
6014 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6015 and <bp-asm.h>.
6016 (strncmp): Don't use BP_SYM,
6017 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6018 <bp-asm.h>.
6019 (__mpn_sub_n): Don't use BP_SYM.
6020 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6021 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6022 and <bp-asm.h>.
6023 (__mpn_submul_1): Don't use BP_SYM.
6024 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6026 <bp-sym.h> and <bp-asm.h>.
6027 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6029 <bp-sym.h> and <bp-asm.h>.
6030 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6031 comment.
6032
8d19fe64
SP
60332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6034
6035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6036 Use ZK to minimize writes to Z.
6037 (sub_magnitudes): Simplify code a bit.
6038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6039 Use ZK to minimize writes to Z.
6040 (sub_magnitudes): Simplify code a bit.
6041
85bd816a
RM
60422013-02-27 Roland McGrath <roland@hack.frob.com>
6043
6044 * csu/gmon-start.c: Add special exception to license text.
6045
b5977bf2
RH
60462013-02-27 Richard Henderson <rth@redhat.com>
6047
6048 * scripts/config.guess: Update from config.git.
6049 * scripts/config.sub: Likewise.
6050
11d6e2f2
SP
60512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6052
09c14ed2
SP
6053 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6054
a688864e
SP
6055 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6056
6295157a
SP
6057 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6058
b8de2202
SP
6059 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6060
11d6e2f2
SP
6061 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6062
7e80ddb8
RM
60632013-02-26 Roland McGrath <roland@hack.frob.com>
6064
6065 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6066 [$(build-shared = yes].
7e80ddb8 6067
7da6d9ed
SP
60682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6069
45f05884
SP
6070 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6071 (__mul): Reduce iterations for calculating mantissa.
6072
2236d359
SP
6073 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6074 MPTWO.
6075 (__mpranred): Likewise.
6076
7da6d9ed
SP
6077 [BZ #15160]
6078 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6079 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6080
b7688c42
PE
60812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6082
6083 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6084 Define __attribute__.
6085
53a5c423
SP
60862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6087
6088 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6089 unused.
6090 * posix/regex_internal.h (__attribute): Remove.
6091 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6092 (re_string_context_at): Likewise.
6093 (bitset_not): Use __attribute__ and mark function as possibly
6094 unused.
6095 (bitset_merge): Likewise.
6096 (bitset_mask): Likewise.
6097 (re_string_char_size_at): Likewise.
6098 (re_string_wchar_at): Likewise.
6099 (re_string_elem_size_at): Likewise.
6100
60f5a8b5
SP
61012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6102
2a983a2e
SP
6103 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6104 code.
6105 (cc32): Likewise.
6106
e69804d1
SP
6107 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6108 (__acr): Likewise.
6109 (__cpy): Likewise.
6110 (norm): Likewise.
6111 (denorm): Likewise.
6112 (__dbl_mp): Likewise.
6113 (add_magnitudes): Likewise.
6114 (sub_magnitudes): Likewise.
6115 (__mul): Likewise.
6116 (__inv): Likewise.
6117
2f22a1e8
SP
6118 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6119 style.
6120
8930ddc7
SP
6121 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6122 style.
6123
dc60cb11
SP
6124 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6125 code.
6126
60f5a8b5
SP
6127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6128 up changes with default code.
6129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6130 Likewise.
6131
b4d1fd33
AM
61322013-02-24 Allan McRae <allan@archlinux.org>
6133
faf6f8bc
AM
6134 * manual/socket.texi (The Internet Namespace): Order menu items
6135 to match that in the file.
6136
b4d1fd33
AM
6137 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6138 node listing of the info page menu.
6139
2366713d
JM
61402013-02-21 Joseph Myers <joseph@codesourcery.com>
6141
6142 [BZ #13550]
6143 * sysdeps/i386/bp-asm.h: Remove file.
6144 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6145 (PARMS): Do not use macros from bp-asm.h.
6146 (S1): Likewise.
6147 (S2): Likewise.
6148 (SIZE): Likewise.
6149 (__mpn_add_n): Do not use BP_SYM
6150 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (S1): Likewise.
6154 (SIZE): Likewise.
6155 (__mpn_addmul_1): Do not use BP_SYM
6156 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6157 "bp-asm.h".
6158 (PARMS): Do not use macros from bp-asm.h.
6159 (SIGMSK): Likewise.
6160 (_setjmp): Likewise. Do not use BP_SYM.
6161 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (SIGMSK): Likewise.
6165 (setjmp): Likewise. Do not use BP_SYM.
6166 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6167 "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (__frexp): Do not use BP_SYM.
6170 (frexp): Likewise.
6171 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6172 "bp-asm.h".
6173 (PARMS): Do not use macros from bp-asm.h.
6174 (__frexpf): Do not use BP_SYM.
6175 (frexpf): Likewise.
6176 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6177 "bp-asm.h".
6178 (PARMS): Do not use macros from bp-asm.h.
6179 (__frexpl): Do not use BP_SYM.
6180 (frexpl): Likewise.
6181 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6182 "bp-asm.h".
6183 (PARMS): Do not use macros from bp-asm.h.
6184 (__remquo): Do not use BP_SYM.
6185 (remquo): Likewise.
6186 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6187 "bp-asm.h".
6188 (PARMS): Do not use macros from bp-asm.h.
6189 (__remquof): Do not use BP_SYM.
6190 (remquof): Likewise.
6191 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6192 "bp-asm.h".
6193 (PARMS): Do not use macros from bp-asm.h.
6194 (__remquol): Do not use BP_SYM.
6195 (remquol): Likewise.
6196 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6197 "bp-asm.h".
6198 (PARMS): Do not use macros from bp-asm.h.
6199 (DEST): Likewise.
6200 (SRC): Likewise.
6201 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6202 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6203 "bp-asm.h".
6204 (PARMS): Do not use macros from bp-asm.h.
6205 (strlen): Do not use BP_SYM.
6206 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6207 "bp-asm.h".
6208 (PARMS): Do not use macros from bp-asm.h.
6209 (S1): Likewise.
6210 (S2): Likewise.
6211 (SIZE): Likewise.
6212 (__mpn_add_n): Do not use BP_SYM.
6213 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6214 "bp-asm.h".
6215 (PARMS): Do not use macros from bp-asm.h.
6216 (S1): Likewise.
6217 (SIZE): Likewise.
6218 (__mpn_addmul_1): Do not use BP_SYM.
6219 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6220 weak_alias.
6221 (bzero): Likewise.
6222 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6223 "bp-asm.h".
6224 (PARMS): Do not use macros from bp-asm.h.
6225 (S): Likewise.
6226 (SIZE): Likewise.
6227 (__mpn_lshift): Do not use BP_SYM.
6228 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6229 "bp-asm.h".
6230 (PARMS): Do not use macros from bp-asm.h.
6231 (DEST): Likewise.
6232 (SRC): Likewise.
6233 (LEN): Likewise.
6234 (memcpy): Likewise. Do not use BP_SYM.
6235 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6236 libc_hidden_def and weak_alias.
6237 (mempcpy): Do not use BP_SYM in weak_alias.
6238 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6239 "bp-asm.h".
6240 (PARMS): Do not use macros from bp-asm.h.
6241 (DEST): Likewise.
6242 (LEN): Likewise.
6243 [!BZERO_P] (CHR): Likewise.
6244 (memset): Likewise. Do not use BP_SYM.
6245 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6246 "bp-asm.h".
6247 (PARMS): Do not use macros from bp-asm.h.
6248 (S1): Likewise.
6249 (SIZE): Likewise.
6250 (__mpn_mul_1): Do not use BP_SYM.
6251 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6252 "bp-asm.h".
6253 (PARMS): Do not use macros from bp-asm.h.
6254 (S): Likewise.
6255 (SIZE): Likewise.
6256 (__mpn_rshift): Do not use BP_SYM.
6257 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6258 "bp-asm.h".
6259 (PARMS): Do not use macros from bp-asm.h.
6260 (STR): Likewise.
6261 (CHR): Likewise.
6262 (strchr): Likewise. Do not use BP_SYM.
6263 (index): Do not use BP_SYM in weak_alias.
6264 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6265 "bp-asm.h".
6266 (PARMS): Do not use macros from bp-asm.h.
6267 (DEST): Likewise.
6268 (SRC): Likewise.
6269 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6270 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6271 "bp-asm.h".
6272 (PARMS): Do not use macros from bp-asm.h.
6273 (strlen): Do not use BP_SYM.
6274 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6275 "bp-asm.h".
6276 (PARMS): Do not use macros from bp-asm.h.
6277 (S1): Likewise.
6278 (S2): Likewise.
6279 (SIZE): Likewise.
6280 (__mpn_sub_n): Do not use BP_SYM.
6281 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6282 "bp-asm.h".
6283 (PARMS): Do not use macros from bp-asm.h.
6284 (S1): Likewise.
6285 (SIZE): Likewise.
6286 (__mpn_submul_1): Do not use BP_SYM.
6287 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6288 "bp-asm.h".
6289 (PARMS): Do not use macros from bp-asm.h.
6290 (S1): Likewise.
6291 (S2): Likewise.
6292 (SIZE): Likewise.
6293 (__mpn_add_n): Do not use BP_SYM.
6294 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6295 weak_alias.
6296 (bzero): Likewise.
6297 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6298 "bp-asm.h".
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (BLK2): Likewise.
6301 (LEN): Likewise.
6302 (memcmp): Do not use BP_SYM.
6303 (bcmp): Do not use BP_SYM in weak_alias.
6304 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6305 "bp-asm.h".
6306 (PARMS): Do not use macros from bp-asm.h.
6307 (DEST): Likewise.
6308 (SRC): Likewise.
6309 (LEN): Likewise.
6310 (memcpy): Likewise. Do not use BP_SYM.
6311 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6312 "bp-asm.h".
6313 (PARMS): Do not use macros from bp-asm.h.
6314 (DEST): Likewise.
6315 (SRC): Likewise.
6316 (LEN): Likewise.
6317 (memmove): Likewise. Do not use BP_SYM.
6318 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6319 "bp-asm.h".
6320 (PARMS): Do not use macros from bp-asm.h.
6321 (DEST): Likewise.
6322 (SRC): Likewise.
6323 (LEN): Likewise.
6324 (__mempcpy): Likewise. Do not use BP_SYM.
6325 (mempcpy): Do not use BP_SYM in weak_alias.
6326 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6327 "bp-asm.h".
6328 (PARMS): Do not use macros from bp-asm.h.
6329 (DEST): Likewise.
6330 (LEN): Likewise.
6331 [!BZERO_P] (CHR): Likewise.
6332 (memset): Likewise. Do not use BP_SYM.
6333 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6334 "bp-asm.h".
6335 (PARMS): Do not use macros from bp-asm.h.
6336 (STR2): Likewise.
6337 (strcmp): Do not use BP_SYM.
6338 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6339 "bp-asm.h".
6340 (PARMS): Do not use macros from bp-asm.h.
6341 (STR): Likewise.
6342 (DELIM): Likewise.
6343 [USE_AS_STRTOK_R] (SAVE): Likewise.
6344 (FUNCTION): Likewise. Do not use BP_SYM.
6345 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6346 aliases.
6347 (strtok_r): Likewise.
6348 (__GI___strtok_r): Likewise.
6349 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6350 (PARMS): Do not use macros from bp-asm.h.
6351 (S): Likewise.
6352 (SIZE): Likewise.
6353 (__mpn_lshift): Do not use BP_SYM.
6354 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6355 (PARMS): Do not use macros from bp-asm.h.
6356 (STR): Likewise.
6357 (CHR): Likewise.
6358 (__memchr): Do not use BP_SYM.
6359 (memchr): Do not use BP_SYM in weak_alias.
6360 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6361 (PARMS): Do not use macros from bp-asm.h.
6362 (BLK2): Likewise.
6363 (LEN): Likewise.
6364 (memcmp): Do not use BP_SYM.
6365 (bcmp): Do not use BP_SYM in weak_alias.
6366 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6367 (PARMS): Do not use macros from bp-asm.h.
6368 (S1): Likewise.
6369 (SIZE): Likewise.
6370 (__mpn_mul_1): Do not use BP_SYM.
6371 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6372 "bp-asm.h".
6373 (PARMS): Do not use macros from bp-asm.h.
6374 (STR): Likewise.
6375 (CHR): Likewise.
6376 (__rawmemchr): Do not use BP_SYM.
6377 (rawmemchr): Do not use BP_SYM in weak_alias.
6378 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6379 (PARMS): Do not use macros from bp-asm.h.
6380 (S): Likewise.
6381 (SIZE): Likewise.
6382 (__mpn_rshift): Do not use BP_SYM.
6383 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6384 (PARMS): Do not use macros from bp-asm.h.
6385 (SIGMSK): Likewise.
6386 (__sigsetjmp): Likewise. Do not use BP_SYM.
6387 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6388 (_start): Do not use BP_SYM.
6389 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6390 (PARMS): Do not use macros from bp-asm.h.
6391 (DEST): Likewise.
6392 (SRC): Likewise.
6393 (__stpcpy): Likewise. Do not use BP_SYM.
6394 (stpcpy): Do not use BP_SYM in weak_alias.
6395 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6396 "bp-asm.h".
6397 (PARMS): Do not use macros from bp-asm.h.
6398 (DEST): Likewise.
6399 (SRC): Likewise.
6400 (LEN): Likewise.
6401 (__stpncpy): Likewise. Do not use BP_SYM.
6402 (stpncpy): Do not use BP_SYM in weak_alias.
6403 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6404 (PARMS): Do not use macros from bp-asm.h.
6405 (STR): Likewise.
6406 (CHR): Likewise.
6407 (strchr): Likewise. Do not use BP_SYM.
6408 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6409 "bp-asm.h".
6410 (PARMS): Do not use macros from bp-asm.h.
6411 (STR): Likewise.
6412 (CHR): Likewise.
6413 (__strchrnul): Likewise. Do not use BP_SYM.
6414 (strchrnul): Do not use BP_SYM in weak_alias.
6415 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6416 "bp-asm.h".
6417 (PARMS): Do not use macros from bp-asm.h.
6418 (STOP): Likewise.
6419 (strcspn): Do not use BP_SYM.
6420 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6421 "bp-asm.h".
6422 (PARMS): Do not use macros from bp-asm.h.
6423 (STR): Likewise.
6424 (STOP): Likewise.
6425 (strpbrk): Likewise. Do not use BP_SYM.
6426 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6427 "bp-asm.h".
6428 (PARMS): Do not use macros from bp-asm.h.
6429 (STR): Likewise.
6430 (CHR): Likewise.
6431 (strrchr): Likewise. Do not use BP_SYM.
6432 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6433 (PARMS): Do not use macros from bp-asm.h.
6434 (SKIP): Likewise.
6435 (strspn): Do not use BP_SYM.
6436 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6437 (PARMS): Do not use macros from bp-asm.h.
6438 (STR): Likewise.
6439 (DELIM): Likewise.
6440 (SAVE): Likewise.
6441 (FUNCTION): Likewise. Do not use BP_SYM.
6442 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6443 aliases.
6444 (strtok_r): Likewise.
6445 (__GI___strtok_r): Likewise.
6446 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6447 (PARMS): Do not use macros from bp-asm.h.
6448 (S1): Likewise.
6449 (S2): Likewise.
6450 (SIZE): Likewise.
6451 (__mpn_sub_n): Do not use BP_SYM.
6452 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6453 "bp-asm.h".
6454 (PARMS): Do not use macros from bp-asm.h.
6455 (S1): Likewise.
6456 (SIZE): Likewise.
6457 (__mpn_submul_1): Do not use BP_SYM.
6458 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6459 <bp-sym.h>.
6460 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6461 and <bp-asm.h>.
6462 (PARMS): Do not use macros from bp-asm.h.
6463 (FLAGS): Likewise.
6464 (PTID): Likewise.
6465 (TLS): Likewise.
6466 (CTID): Likewise.
6467 (__clone): Do not use BP_SYM.
6468 (clone): Do not use BP_SYM in weak_alias.
6469 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6470 and <bp-asm.h>.
6471 (PARMS): Do not use macros from bp-asm.h.
6472 (LEN): Likewise.
6473 (__mmap64): Do not use BP_SYM.
6474 (mmap64): Do not use BP_SYM in weak_alias.
6475 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6476 <bp-sym.h> and <bp-asm.h>.
6477 (PARMS): Do not use macros from bp-asm.h.
6478 (__posix_fadvise64_l64): Do not use BP_SYM.
6479 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6480 (PARMS): Do not use macros from bp-asm.h.
6481 (NSOPS): Likewise.
6482 (semtimedop): Do not use BP_SYM.
6483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6484 and <bp-asm.h>.
6485
582a3cff
AM
64862013-02-21 Allan McRae <allan@archlinux.org>
6487
6488 * manual/message.texi (Charset conversion in gettext):
6489 Move @end statement to beginning of line.
6490
bab8a695
SP
64912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6492
80945231
SP
6493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6494 static.
6495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6496 Likewise.
6497
bab8a695
SP
6498 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6499 (denorm): Likewise.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6502
e21d7aa7
AK
65032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6504
6505 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6506 tail-call to the resolved function if pltexit isn't needed.
6507
4c7a4263
SP
65082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6509
6510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6511 or Y being zero as being unlikely.
6512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6513 Likewise.
6514
41f49342
CD
65152013-02-20 Carlos O'Donell <carlos@redhat.com>
6516
6517 * manual/nss.texi (System Databases and Name Service Switch):
6518 Remove frobnicate @pxref.
6519
50022a93
TS
65202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6521
6522 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6523 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6524
08cbd996
PM
65252013-02-20 Petr Machata <pmachata@redhat.com>
6526
6527 * elf/elf.h (R_ARM_TARGET1): New macro.
6528 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6529 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6530 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6531 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6532 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6533 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6534 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6535 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6536 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6537 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6538 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6539 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6540 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6541 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6542 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6543 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6544 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6545 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6546 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6547 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6548 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6549 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6550 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6551 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6552 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6553 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6554 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6555 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6556 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6557 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6558 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6559 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6560 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6561 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6562 (R_ARM_THM_GOT_BREL12): Likewise.
6563 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6564 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6565 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6566 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6567 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6568 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6569 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6570 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6571 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6572
c7b275d6
TS
65732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6574
6575 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6576 __attribute_used__ to __attribute__ ((unused)).
6577
20cd7fb3
SP
65782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6579
6580 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6581 powerpc mpa.c.
6582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6583 comment formatting.
6584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6585
92945b52
JM
65862013-02-19 Joseph Myers <joseph@codesourcery.com>
6587
6588 [BZ #13550]
6589 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6590 Remove macro.
6591 (ENTER): Remove both macro definitions.
6592 (LEAVE): Likewise.
6593 (CHECK_BOUNDS_LOW): Likewise.
6594 (CHECK_BOUNDS_HIGH): Likewise.
6595 (CHECK_BOUNDS_BOTH): Likewise.
6596 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6597 (RETURN_BOUNDED_POINTER): Likewise.
6598 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6599 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6600 (POP_ERRNO_LOCATION_RETURN): Likewise.
6601 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6602 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6603 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6604 macros.
6605 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6606 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6607 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6608 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6609 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6610 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6611 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6612 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6613 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6614 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6615 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6616 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6617 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6618 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6619 removed macros.
6620 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6621 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6622 macros.
6623 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6624 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6625 * sysdeps/i386/i586/memset.S (memset): Likewise.
6626 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6627 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6628 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6629 macros.
6630 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6631 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6632 Change uses of L(2) to L(out).
6633 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6634 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6635 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6636 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6637 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6638 removed macros.
6639 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6640 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6641 macros.
6642 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6643 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6644 (RETURN): Do not use macro LEAVE.
6645 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6646 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6647 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6648 * sysdeps/i386/i686/memset.S (memset): Likewise.
6649 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6650 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6651 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6652 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6653 Likewise.
6654 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6655 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6656 L(1_2) and L(1_3) into L(1).
6657 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6658 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6659 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6660 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6661 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6662 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6663 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6664 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6665 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6666 macros.
6667 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6668 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6669 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6670 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6671 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6672 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6673 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6674 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6675 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6676 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6677 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6678 * sysdeps/i386/strspn.S (strspn): Likewise.
6679 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6680 conditional code.
6681 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6682 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6683 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6684 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6685 L(1_3) into L(1_1).
6686 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6687 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6688 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6689 macros.
6690 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6691
2389741a
JJ
66922013-02-19 Jakub Jelinek <jakub@redhat.com>
6693
6694 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6695 macro.
6696
2016b3cd
SP
66972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6698
e4f22324
SP
6699 * math/atest-exp.c (exp_mpn): Remove ROUND.
6700 * math/atest-exp2.c (exp_mpn): Likewise.
6701 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6702
2016b3cd
SP
6703 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6704 * stdlib/tst-tls-atexit-lib.c: Likewise.
6705 * stdlib/tst-tls-atexit.c: Likewise.
6706
4be9b544
MF
67072013-02-18 Mike Frysinger <vapier@gentoo.org>
6708
6709 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6710 and __attribute_alloc_size__.
6711
2f62b9ee
MF
67122013-02-18 Mike Frysinger <vapier@gentoo.org>
6713
6714 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6715 __attribute_alloc_size__.
6716 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6717 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6718
6ff444c4
MF
67192013-02-18 Mike Frysinger <vapier@gentoo.org>
6720
6721 * include/programs/xmalloc.h: New file.
6722 * catgets/gencat.c: Include it.
6723 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6724 * elf/pldd.c: Likewise.
6725 * iconv/iconv_charmap.c: Likewise.
6726 * iconv/iconvconfig.c: Likewise.
6727 * iconv/strtab.c: Likewise.
6728 * locale/programs/locale.c: Likewise.
6729 * locale/programs/localedef.h: Likewise.
6730 * locale/programs/simple-hash.c: Likewise.
6731 * nscd/nscd.h: Likewise.
6732 * nss/makedb.c: Likewise.
6733 * sysdeps/generic/ldconfig.h: Likewise.
6734
be179c8a
SP
67352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6736
ba384f6e
SP
6737 * Versions.def: Add GLIBC_2.18.
6738 * include/link.h (struct link_map): New member l_tls_dtor_count.
6739 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6740 (__call_tls_dtors): Likewise.
6741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6742 __cxa_thread_atexit_impl.
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6744 Likewise.
6745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6746 Likewise.
6747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6748 Likewise.
6749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6750 Likewise.
6751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6753 Likewise.
6754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6755 Likewise.
6756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6758 Likewise.
6759 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6760 (tests): Add test case tst-tls-atexit.
6761 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6762 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6763 (GLIBC_PRIVATE): Add __call_tls_dtors.
6764 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6765 for libstdc++.
6766 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6767 * stdlib/tst-tls-atexit.c: New test case.
6768 * stdlib/tst-tls-atexit-lib.c: New test case.
6769
ffaa74cf 6770 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6771
be179c8a
SP
6772 * elf/Versions (ld): Add _dl_find_dso_for_object.
6773 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6774 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6775 (dl_open_worker): Use _dl_find_dso_for_object.
6776 * elf/dl-sym.c (do_sym): Likewise.
6777 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6778
f78b5caa
AK
67792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6780
6781 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6782 Syntactic changes only.
6783 (_dl_runtime_profile): Do a tail-call to the resolved function.
6784
29691210
JM
67852013-02-17 Joseph Myers <joseph@codesourcery.com>
6786
6787 [BZ #13550]
6788 * sysdeps/x86_64/bp-asm.h: Remove file.
6789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6790 <bp-sym.h> and <bp-asm.h>.
6791 (__clone): Do not use BP_SYM.
6792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6793 <bp-sym.h> and <bp-asm.h>.
6794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6795 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6796 "bp-asm.h".
6797 (_setjmp): Do not use BP_SYM.
6798 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6799 "bp-asm.h".
6800 (setjmp): Do not use BP_SYM.
6801 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6802 libc_hidden_def.
6803 (mempcpy): Do not use BP_SYM in weak_alias.
6804 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6805 "bp-asm.h".
6806 (strchr): Do not use BP_SYM.
6807 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6808 "bp-asm.h".
6809 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6810 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6811 (_start): Do not use BP_SYM.
6812 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6813 "bp-asm.h".
6814 (strcat): Do not use BP_SYM.
6815 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6816 "bp-asm.h".
6817 (STRCMP): Do not use BP_SYM.
6818 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6819 "bp-asm.h".
6820 (STRCPY): Do not use BP_SYM.
6821 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6822 "bp-asm.h".
6823 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6824 "bp-asm.h".
6825 (FUNCTION): Do not use BP_SYM.
6826 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6827 weak_alias.
6828 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6829
f238fd19
AJ
68302013-02-17 Andreas Jaeger <aj@suse.de>
6831
6832 * time/Versions: Sort entries.
6833 * string/Versions: Likewise.
6834 * resolv/Versions: Likewise.
6835 * posix/Versions: Likewise.
6836 * iconv/Versions: Likewise.
6837 * elf/Versions: Likewise.
6838 * wcsmbs/Versions: Likewise.
6839
bd07f23c 68402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6841
22af19f9
SP
6842 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6843 loop termination condition.
6844
4709fe76
SP
6845 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6846 variable to calculate EZ.
6847 (__sqr): Likewise.
2d0e0f29
SP
6848
6849 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6850 the lower precision input.
6851
daaa7713
JM
68522013-02-15 Joseph Myers <joseph@codesourcery.com>
6853
6854 [BZ #13550]
6855 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6856 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6857 (run-via-rtld-prefix): Do not handle %-bp tests.
6858 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6859 (all-object-suffixes): Remove .ob.
6860 (bppfx): Remove variable.
6861 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6862 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6863 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6864 [$(build-bounded) = yes] (libtype.ob): Likewise.
6865 * Makerules (elide-routines.ob): Remove variable.
6866 (do-tests-clean): Do not handle *-bp.out.
6867 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6868 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6869 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6870 (tests): Do not include $(tests-bp.out).
6871 (xtests): Do not include $(xtests-bp.out).
6872 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6873 [$(build-bounded) = yes] ($(addprefix
6874 $(objpfx),$(binaries-bounded))): Remove rule.
6875 ($(objpfx)%-bp.out): Remove rule.
6876 * config.make.in (build-bounded): Remove variable.
6877 * crypt/Makefile [$(build-bounded) = yes]
6878 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6879 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6880 append to variable.
6881 [$(build-bounded) = yes] (install-lib): Likewise.
6882 [$(build-bounded) = yes] (generated): Likewise.
6883 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6884 Remove rule.
6885 * intl/Makefile [$(build-bounded) = yes]
6886 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6887 * math/Makefile [$(build-bounded) = yes]
6888 ($(tests:%=$(objpfx)%-bp): Likewise.
6889 * misc/Makefile [$(build-bounded) = yes]
6890 ($(objpfx)tst-tsearch-bp): Likewise.
6891 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6892 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6893 Remove dependency.
6894 * string/Makefile (o-objects.ob): Remove variable.
6895 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6896 (CFLAGS-.ob): Remove variable.
6897 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6898 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6899 both definitions of variable.
6900 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6901 (ASFLAGS-.ob): Remove variable.
6902
e97ed6dd
JM
69032013-02-14 Joseph Myers <joseph@codesourcery.com>
6904
2bdd4ca6
JM
6905 [BZ #13550]
6906 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6907 Remove __BOUNDED_POINTERS__ from condition.
6908 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6909 * string/bits/string2.h [!__NO_STRING_INLINES &&
6910 !__BOUNDED_POINTERS__]: Likewise.
6911 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6912 Likewise.
6913 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6914 Remove conditional code.
6915 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6916 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6917 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6918 condition.
6919
e97ed6dd
JM
6920 [BZ #13550]
6921 * csu/libc-start.c: Do not include <bp-sym.h>.
6922 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6923 * elf/dl-open.c: Do not include <bp-sym.h>.
6924 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6925 * math/fegetenv.c: Do not include <bp-sym.h>.
6926 (fegetenv): Do not use BP_SYM in versioned symbols.
6927 * nptl/sysdeps/pthread/bits/libc-lockP.h
6928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6929 <bp-sym.h>.
6930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6931 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6933 (__pthread_mutex_destroy): Likewise.
6934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6935 (__pthread_mutex_lock): Likewise.
6936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6937 (__pthread_mutex_trylock): Likewise.
6938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6939 (__pthread_mutex_unlock): Likewise.
6940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6941 (__pthread_mutexattr_init): Likewise.
6942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6943 (__pthread_mutexattr_destroy): Likewise.
6944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6945 (__pthread_mutexattr_settype): Likewise.
6946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6947 (__pthread_rwlock_init): Likewise.
6948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6949 (__pthread_rwlock_destroy): Likewise.
6950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6951 (__pthread_rwlock_rdlock): Likewise.
6952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6953 (__pthread_rwlock_tryrdlock): Likewise.
6954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6955 (__pthread_rwlock_wrlock): Likewise.
6956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6957 (__pthread_rwlock_trywrlock): Likewise.
6958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6959 (__pthread_rwlock_unlock): Likewise.
6960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6961 (__pthread_key_create): Likewise.
6962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6963 (__pthread_setspecific): Likewise.
6964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6965 (__pthread_getspecific): Likewise.
6966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6967 Likewise.
6968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6969 (_pthread_cleanup_push_defer): Likewise.
6970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6971 (_pthread_cleanup_pop_restore): Likewise.
6972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6973 (pthread_setcancelstate): Likewise.
6974 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6975 <bp-sym.h>.
6976 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6977 (memchr): Do not use BP_SYM in weak_alias.
6978 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6979 (fegetenv): Do not use BP_SYM in versioned symbols.
6980 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6981 (fesetenv): Do not use BP_SYM in versioned symbols.
6982 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6983 (feupdateenv): Do not use BP_SYM in versioned symbols.
6984 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6985 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6986 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6987 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6988 (open64): Do not use BP_SYM in weak_alias.
6989 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6990 (fegetenv): Do not use BP_SYM in versioned symbols.
6991 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6992 (fesetenv): Do not use BP_SYM in versioned symbols.
6993 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6994 (feupdateenv): Do not use BP_SYM in versioned symbols.
6995 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6996 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6997 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6998 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6999 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7000 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7001 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7002 <bp-sym.h>.
7003 (__libc_start_main): Do not use BP_SYM.
7004
d6752ccd
SP
70052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7006
cb57ce60
SP
7007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7008 redundant return line.
7009 (norm): Likewise.
7010 (denorm): Likewise.
7011 (dbl_mp): Likewise.
7012 (sub_magnitudes): Likewise.
7013 (__add): Likewise.
7014 (__sub): Likewise.
7015 (__mul): Likewise.
7016 (__inv): Likewise.
7017 (__dvd): Likewise.
7018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7019 (norm): Likewise.
7020 (denorm): Likewise.
7021 (dbl_mp): Likewise.
7022 (sub_magnitudes): Likewise.
7023 (__add): Likewise.
7024 (__sub): Likewise.
7025 (__mul): Likewise.
7026 (__inv): Likewise.
7027 (__dvd): Likewise.
7028
f414520d
SP
7029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7030 instead of __mul.
7031 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7032 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7033 (cc32): Likewise.
7034
d6752ccd
SP
7035 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7036 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7038 of __mul for squares.
7039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7040 function
7041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7042 Likewise.
7043 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7044 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7045
70d9946a
JM
70462013-02-13 Joseph Myers <joseph@codesourcery.com>
7047
7048 [BZ #13550]
7049 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7050 code.
7051 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7052 prototype or function definition. Rename ubp_* variables and
7053 parameters. Remove argv definitions conditional on
7054 [__BOUNDED_POINTERS__].
7055 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7056 * elf/dl-runtime.c (_dl_fixup): Likewise.
7057 * include/set-hooks.h (RUN_HOOK): Likewise.
7058 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7059 definition.
7060 * string/strcpy.c (strcpy): Do not use __unbounded.
7061 * sysdeps/generic/frame.h (struct layout): Likewise.
7062 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7063 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7064 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7065 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7066 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7067 (__backtrace): Likewise.
7068 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7069 use __ptrvalue.
7070 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7071 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7072 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7073 Likewise.
7074 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7075 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7076 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7077 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7078 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7079 Do not use __unbounded.
7080 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7081 Rename __unboundedrlimits parameter to rlimits in prototype.
7082 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7083 Do not use __unbounded.
7084 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7085 not use __ptrvalue.
7086 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7087 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7088 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7089 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7090 __ptrvalue or __unbounded.
7091 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7092 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7093 use __unbounded.
7094 (__new_msgctl): Do not use __ptrvalue.
7095 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7096 __unbounded.
7097 (__libc_msgrcv): Do not use __ptrvalue.
7098 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7099 startup_info): Do not use __unbounded.
7100 (__libc_start_main): Likewise. Rename ubp_* variables and
7101 parameters. Remove argv definitions conditional on
7102 [__BOUNDED_POINTERS__].
7103 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7104 __ptrvalue.
7105 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7106 use __unbounded.
7107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7108 or __ptrvalue.
7109 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7110 use __unbounded.
7111 (__new_shmctl): Do not use __ptrvalue.
7112 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7113 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7114 Likewise.
7115 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7117 (__libc_sigaction): Likewise.
7118 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7119 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7120 Likewise.
7121 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7122
cc7834d6
OB
71232013-02-13 Ondřej Bílka <neleai@seznam.cz>
7124
ffb1ec7b 7125 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7126
7127 * string/mempcpy.c: Implement by calling memcpy.
7128
bdf02814
SP
71292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7130
c2af38aa
SP
7131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7132
4e92d59e
SP
7133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7134 evaluation.
7135
909279a5
SP
7136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7137 values in the mantissa.
7138
bdf02814
SP
7139 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7140 minimize writes to Z.
7141 (sub_magnitudes): Simplify code a bit.
7142
cd525923
RM
71432013-02-12 Roland McGrath <roland@hack.frob.com>
7144
7145 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7146 from the message. The linker prefixes all warnings with that already.
7147
7e2f0d2d
AS
71482013-02-12 Andreas Schwab <schwab@suse.de>
7149
a445af0b
AS
7150 [BZ #15078]
7151 * posix/regexec.c (extend_buffers): Add parameter min_len.
7152 (check_matching): Pass minimum needed length.
7153 (clean_state_log_if_needed): Likewise.
7154 (get_subexp): Likewise.
7155 * posix/Makefile (tests): Add bug-regex34.
7156 (bug-regex34-ENV): Define.
7157 * posix/bug-regex34.c: New file.
7158
7e2f0d2d
AS
7159 [BZ #11561]
7160 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7161 elements compare against the byte sequence of it, not its name.
7162 * posix/Makefile (tests): Add bug-regex35.
7163 (bug-regex35-ENV): Define.
7164 * posix/bug-regex35.c: New file.
7165
a175b684
TV
71662013-02-11 Tom de Vries <tom@codesourcery.com>
7167
7168 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7169 comment.
7170 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7171 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7172 (CHECK_EOL): Add undef.
7173
310998fe 71742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7175
7176 * bits/stdlib-bsearch.h: New file.
7177 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7178 * stdlib/stdlib.h: Likewise.
41eda41d 7179
8ded91fb
RM
71802013-02-11 Roland McGrath <roland@hack.frob.com>
7181
7182 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7183 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7184 declaration.
7185 * manual/search.texi (Array Search Function): Add missing const in
7186 lfind prototype.
7187 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7188 declaration to use rlim_t.
7189 (Basic Scheduling Functions): Remove erroneous const from
7190 sched_getparam prototype. Remove erroneous * from
7191 sched_get_priority_max and sched_get_priority_min prototypes.
7192 (Resource Usage): Fix summary @comment on vtimes to refer to
7193 sys/vtimes.h rather than vtimes.h.
7194 Add missing *s in vtimes prototype.
7195 (Limits on Resources): Fix ulimit prototype to return long int.
7196 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7197 prototypes to use long int rather than double.
7198 (BSD Random): Fix initstate and setstate to use char *, not void *.
7199 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7200 prototype to make second argument 'struct aiocb64 *const[]'.
7201 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7202 (Status of AIO Operations): Remove erroneous const in aio_return and
7203 aio_return64 prototypes.
7204 (Synchronizing I/O): Fix sync prototype to return void.
7205 * manual/startup.texi (Suboptions): Remove an erroneous const in
7206 getsubopt prototype.
7207 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7208 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7209 use size_t rather than int.
7210 (Scanning All Users): Likewise for getpwent_r.
7211 (Setting Groups): Add missing const to setgroups prototype.
7212 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7213 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7214 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7215 'const void *' rather than 'const char *'.
7216 (Host Address Functions): Likewise for inet_ntop.
7217 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7218 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7219 ssize_t for return value.
7220 (Sending Data): Likewise for send, sendto, sendmsg.
7221 (Socket Option Functions): Add a missing const in setsockopt prototype.
7222 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7223 use wchar_t for the argument.
7224 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7225 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7226 take no arguments.
7227 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7228 double/float/long double for second argument.
7229 Fix return types of significand, significandf, significandl.
7230 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7231 argument in fchmod prototype.
7232 (File Owner): Use uid_t and gid_t in fchown prototype.
7233 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7234 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7235 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7236 use 'const struct dirent **' as argument types to CMP function pointer
7237 argument.
7238 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7239 (File Times): Fix summary magic @comment for struct utimbuf and utime
7240 to refer to utime.h, not time.h.
7241 * manual/string.texi (Argz Functions): Add missing const in
7242 argz_extract and argz_next prototypes.
7243 (Finding Tokens in a String): Likewise for basename.
7244 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7245 (Copying and Concatenation): Fix typo in wmemmove prototype.
7246 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7247 (Signal Stack): Remove erroneous const in sigstack prototype.
7248 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7249 prototype.
7250 (Simple Calendar Time): Likewise for stime.
7251 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7252 prototype.
7253 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7254 say sys/sysctl.h instead.
7255 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7256 and vsyslog prototypes.
7257
fe77fe6d
TV
72582013-02-11 Tom de Vries <tom@codesourcery.com>
7259
7260 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7261 Remove.
7262
3a09b620
RM
72632013-02-11 Roland McGrath <roland@hack.frob.com>
7264
7265 * misc/sys/mman.h: Fix typo in mremap comment.
7266
550a0b89
RM
72672013-02-08 Roland McGrath <roland@hack.frob.com>
7268
7269 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7270 the '\0' terminator.
7271
a2da1673
JM
72722013-02-08 Joseph Myers <joseph@codesourcery.com>
7273
7274 [BZ #13550]
7275 * debug/segfault.c: Don't include <bp-checks.h>.
7276 * sysdeps/generic/bp-checks.h: Remove file.
7277 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7278 (__GETDENTS): Don't use CHECK_N.
7279 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7280 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7281 (__getgroups): Don't use CHECK_N.
7282 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7283 (setgroups): Don't use CHECK_N.
7284 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7285 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7286 (__libc_msgrcv): Don't use CHECK_N.
7287 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7288 (__libc_msgsnd): Don't use CHECK_N.
7289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7290 <bp-checks.h>.
7291 (__libc_pread): Don't use CHECK_N.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7293 include <bp-checks.h>.
7294 (__libc_pread64): Don't use CHECK_N.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7296 include <bp-checks.h>.
7297 (__libc_pwrite): Don't use CHECK_N.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7299 include <bp-checks.h>.
7300 (__libc_pwrite64): Don't use CHECK_N.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7302 <bp-checks.h>.
7303 (__libc_pread): Don't use CHECK_N.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7305 include <bp-checks.h>.
7306 (__libc_pread64): Don't use CHECK_N.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7308 include <bp-checks.h>.
7309 (__libc_pwrite): Don't use CHECK_N.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7311 include <bp-checks.h>.
7312 (__libc_pwrite64): Don't use CHECK_N.
7313 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7314 (do_pread): Don't use CHECK_N.
7315 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7316 (do_pread64): Don't use CHECK_N.
7317 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7318 (do_pwrite): Don't use CHECK_N.
7319 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7320 (do_pwrite64): Don't use CHECK_N.
7321 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7322 (__libc_readv): Don't use CHECK_N.
7323 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7324 (semop): Don't use CHECK_N.
7325 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7326 <bp-checks.h>.
7327 (semtimedop): Don't use CHECK_N.
7328 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7329 (__libc_pread): Don't use CHECK_N.
7330 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7331 <bp-checks.h>.
7332 (__libc_pread64): Don't use CHECK_N.
7333 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7334 <bp-checks.h>.
7335 (__libc_pwrite): Don't use CHECK_N.
7336 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7337 <bp-checks.h>.
7338 (__libc_pwrite64): Don't use CHECK_N.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7340 <bp-checks.h>.
7341 (__libc_msgrcv): Don't use CHECK_N.
7342 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7343 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7344 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7345 (__libc_writev): Don't use CHECK_N.
7346
b84660a8
RM
73472013-02-08 Roland McGrath <roland@hack.frob.com>
7348
7f3e75f8
RM
7349 * string/strcpy.c: Removed unused variable.
7350
b84660a8
RM
7351 * Makeconfig (+sysdep-includes): Define with := rather than =.
7352 Use an existing include/ subdir of each sysdeps dir before it.
7353
471514d3
CD
73542013-02-08 Carlos O'Donell <carlos@redhat.com>
7355
7356 * nscd/connection.c (register_traced_file): Comment function.
7357 [HAVE_INOTIFY] (union __inev): Define.
7358 [HAVE_INOTIFY] (inotify_check_files): New function.
7359 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7360 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7361 clear_db_cache.
7362 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7363
b2d3c3be
CD
73642013-02-08 Carlos O'Donell <carlos@redhat.com>
7365
7366 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7367 loaded if not already and that a failure is permanent.
7368
b39949d2
CD
73692013-02-08 Carlos O'Donell <carlos@redhat.com>
7370
ddacd1db 7371 [BZ #15006]
b39949d2
CD
7372 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7373 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7374
b2c9eff4
JM
73752013-02-08 Joseph Myers <joseph@codesourcery.com>
7376
f3aae3f3
JM
7377 [BZ #13550]
7378 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7379 (CHECK_1_NULL_OK): Likewise.
7380 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7381 (__fxstat): Do not use CHECK_1.
7382 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7383 <bp-checks.h>.
7384 (___fxstat64): Do not use CHECK_1.
7385 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7386 <bp-checks.h>.
7387 (__fxstatat): Do not use CHECK_1.
7388 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7389 <bp-checks.h>.
7390 (__fxstatat64): Do not use CHECK_1.
7391 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7392 <bp-checks.h>.
7393 (__fxstat): Do not use CHECK_1.
7394 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7395 <bp-checks.h>.
7396 (__fxstatat): Do not use CHECK_1.
7397 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7398 <bp-checks.h>.
7399 (__getresgid): Do not use CHECK_1.
7400 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7401 <bp-checks.h>.
7402 (__getresuid): Do not use CHECK_1.
7403 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7404 <bp-checks.h>.
7405 (__lxstat): Do not use CHECK_1.
7406 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7407 <bp-checks.h>.
7408 (__old_msgctl): Do not use CHECK_1.
7409 (__new_msgctl): Likewise.
7410 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7411 <bp-checks.h>.
7412 (__new_setrlimit): Do not use CHECK_1.
7413 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7414 <bp-checks.h>.
7415 (__old_shmctl): Do not use CHECK_1.
7416 (__new_shmctl): Likewise.
7417 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7418 <bp-checks.h>.
7419 (__xstat): Do not use CHECK_1.
7420 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7421 (__lxstat): Do not use CHECK_1.
7422 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7423 <bp-checks.h>.
7424 (___lxstat64): Do not use CHECK_1.
7425 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7426 (__old_msgctl): Do not use CHECK_1.
7427 (__new_msgctl): Likewise.
7428 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7429 <bp-checks.h>.
7430 (__gettimeofday): Do not use CHECK_1.
7431 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7432 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7433 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7434 <bp-checks.h>.
7435 (__gettimeofday): Do not use CHECK_1.
7436 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7437 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7438 (__new_shmctl): Do not use CHECK_1.
7439 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7440 <bp-checks.h>.
7441 (do_sigtimedwait): Do not use CHECK_1.
7442 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7443 <bp-checks.h>.
7444 (do_sigwaitinfo): Do not use CHECK_1.
7445 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7446 <bp-checks.h>.
7447 (msgctl): Do not use CHECK_1.
7448 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7449 <bp-checks.h>.
7450 (shmctl): Do not use CHECK_1.
7451 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7452 (ustat): Do not use CHECK_1.
7453 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7454 <bp-checks.h>.
7455 (__fxstat): Do not use CHECK_1.
7456 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7457 <bp-checks.h>.
7458 (__fxstatat): Do not use CHECK_1.
7459 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7460 <bp-checks.h>.
7461 (__lxstat): Do not use CHECK_1.
7462 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7463 <bp-checks.h>.
7464 (__xstat): Do not use CHECK_1.
7465 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7466 (__xstat): Do not use CHECK_1.
7467 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7468 (___xstat64): Do not use CHECK_1.
7469
b2c9eff4
JM
7470 [BZ #13550]
7471 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7472 definitions.
7473 (CHECK_BOUNDS_HIGH): Likewise.
7474 * string/strcpy.c: Do not include <bp-checks.h>.
7475 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7476
f1d70dad
RM
74772013-02-07 Roland McGrath <roland@hack.frob.com>
7478
7479 * nscd/nscd-client.h (__nscd_drop_map_ref):
7480 Add __attribute__ ((unused)).
7481 * nis/nss-nisplus.h (niserr2nss): Likewise.
7482
7483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7484 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7485
7486 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7487 Remove inline keyword.
7488 * include/rounding-mode.h (round_away): Likewise.
7489 * libio/wfileops.c (adjust_wide_data): Likewise.
7490 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7491 (__m128i_strloadu_tolower): Likewise.
7492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7493 (__m128i_strloadu_tolower): Likewise.
7494 * time/mktime.c (ydhms_diff): Likewise.
7495 * locale/elem-hash.h (elem_hash): Likewise.
7496 * locale/setlocale.c (setdata): Likewise.
7497 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7498 (re_string_wchar_at): Likewise.
7499 (bitset_not, bitset_merge, bitset_mask): Likewise.
7500 [!(__GNUC__ > 3)] (inline): Remove macro.
7501 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7502 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7503 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7504 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7505 * string/memcmp.c (memcmp_bytes): Likewise.
7506 * locale/programs/locarchive.c (compute_hashval): Likewise.
7507 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7508 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7509 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7510 * nss/getent.c (print_rpc, print_protocols): Likewise.
7511 (print_passwd, print_group, print_aliases): Likewise.
7512 * nis/nss-nisplus.h (niserr2nss): Likewise.
7513 * nscd/connections.c (restart_p): Likewise.
7514 Change return type to bool.
7515
eab55bfb
RM
75162013-02-05 Roland McGrath <roland@hack.frob.com>
7517
7bd642f5
RM
7518 * Makeconfig (all-Depend-files): Add existing
7519 $(sorted-subdirs:=/Depend) files.
7520 (all-subdirs): Remove nss.
7521 * sysdeps/unix/inet/Subdirs: Add it here instead.
7522 * hesiod/Depend: New file.
7523
573c29b2
RM
7524 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7525 instead of calling alloca.
7526
b2e25af0
RM
7527 * io/lseek.c (__lseek): Rename to __libc_lseek.
7528 Define __lseek as an alias.
7529
eab55bfb
RM
7530 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7531
9a0d1941
CD
75322013-02-04 Carlos O'Donell <carlos@redhat.com>
7533
7534 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7535 else clause and remove check for non-standard endianness.
7536
b83bbec4
DM
75372013-02-04 David S. Miller <davem@davemloft.net>
7538
7539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7540
6277fdab
JM
75412013-02-04 Joseph Myers <joseph@codesourcery.com>
7542
7543 [BZ #13550]
7544 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7545 (__ubp_memchr): Remove prototype.
7546 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7547 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7548 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7549 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7550 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7551 Remove alias.
7552 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7553 (__ubp_memchr): Likewise.
7554 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7555 (__ubp_memchr): Likewise.
7556 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7557 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7558 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7559 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7560 CHECK_STRING.
7561 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7562 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7563 (__getcwd): Do not use CHECK_STRING.
7564 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7565 <bp-checks.h>.
7566 (__real_chown): Do not use CHECK_STRING.
7567 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7568 <bp-checks.h>.
7569 (fchownat): Do not use CHECK_STRING.
7570 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7571 CHECK_STRING.
7572 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7573 <bp-checks.h>.
7574 (__lchown): Do not use CHECK_STRING.
7575 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7576 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7577 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7578 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7580 include <bp-checks.h>.
7581 (truncate64): Do not use CHECK_STRING.
7582 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7583 <bp-checks.h>.
7584 (__real_chown): Do not use CHECK_STRING.
7585 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7586 <bp-checks.h>.
7587 (__lchown): Do not use CHECK_STRING.
7588 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7589 <bp-checks.h>.
7590 (__chown): Do not use CHECK_STRING.
7591 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7592 <bp-checks.h>.
7593 (truncate64): Do not use CHECK_STRING.
7594 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7595 Likewise.
7596 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7597 (__xmknod): Do not use CHECK_STRING.
7598 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7599 <bp-checks.h>.
7600 (__xmknodat): Do not use CHECK_STRING.
7601 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7602 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7603
903ae060
AS
76042013-02-04 Andreas Schwab <schwab@suse.de>
7605
7606 [BZ #14142]
7607 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7608 * include/netdb.h: Likewise for h_errno.
7609 * elf/tst-stackguard1.c: Include <tls.h>.
7610
542f9466
JK
76112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7612
7613 * elf/link.h (struct link_map): Extend the l_addr comment.
7614 * include/link.h (struct link_map): Likewise.
7615
e782a927
JM
76162013-02-01 Joseph Myers <joseph@codesourcery.com>
7617
7618 [BZ #13550]
7619 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7620 (BOUNDED_1): Remove macro.
7621 * debug/backtrace.c: Don't include <bp-checks.h>.
7622 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7623 (__backtrace): Likewise.
7624 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7625 <bp-checks.h>.
7626 (__backtrace): Don't use BOUNDED_1.
7627 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7628 <bp-checks.h>.
7629 (__backtrace): Don't use BOUNDED_1.
7630 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7631 (__backtrace): Don't use BOUNDED_1.
7632 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7633 (shmat): Don't use BOUNDED_N.
7634
8cf28c5e
JM
76352013-01-31 Joseph Myers <joseph@codesourcery.com>
7636
3a7ac8a0
JM
7637 [BZ #13550]
7638 * sysdeps/generic/bp-start.h: Remove file.
7639 * csu/libc-start.c: Don't include <bp-start.h>.
7640 (LIBC_START_MAIN): Set up __environ directly instead of using
7641 INIT_ARGV_and_ENVIRON.
7642 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7643 <bp-start.h>.
7644
f3499f95
JM
7645 [BZ #13550]
7646 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7647 definitions.
7648 (CHECK_FCNTL): Likewise.
7649 (CHECK_N_PAGES): Likewise.
7650
32a45bea
JM
7651 [BZ #13550]
7652 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7653 definitions.
7654 (CHECK_SIGSET_NULL_OK): Likewise.
7655 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7656 <bp-checks.h>.
7657 (sigpending): Don't use CHECK_SIGSET.
7658 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7659 <bp-checks.h>.
7660 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7661 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7662 <bp-checks.h>.
7663 (do_sigsuspend): Don't use CHECK_SIGSET.
7664 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7665 use CHECK_SIGSET.
7666 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7667 (do_sigwait): Don't use CHECK_SIGSET.
7668 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7669 use CHECK_SIGSET.
7670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7671 include <bp-checks.h>.
7672 (sigpending): Don't use CHECK_SIGSET.
7673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7674 include <bp-checks.h>.
7675 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7676 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7677 <bp-checks.h>.
7678 (sigpending): Don't use CHECK_SIGSET.
7679 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7680 <bp-checks.h>.
7681 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7682
2e8a5c8c
JM
7683 [BZ #13550]
7684 * sysdeps/generic/bp-semctl.h: Remove file.
7685 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7686 <bp-checks.h> and <bp-semctl.h>.
7687 (__old_semctl): Don't use CHECK_SEMCTL.
7688 (__new_semctl): Likewise.
7689 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7690 and <bp-semctl.h>.
7691 (__old_semctl): Don't use CHECK_SEMCTL.
7692 (__new_semctl): Likewise.
7693 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7694 <bp-checks.h> and <bp-semctl.h>.
7695 (__old_semctl): Don't use CHECK_SEMCTL.
7696 (__new_semctl): Likewise.
7697 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7698 <bp-checks.h> and <bp-semctl.h>.
7699 (semctl): Don't use CHECK_SEMCTL.
7700
c2d54929
JM
7701 [BZ #13550]
7702 * Makerules (elide-bp-thunks): Remove variable.
7703 (elide-routines.oS): Don't use $(elide-bp-thunks).
7704 (elide-routines.os): Likewise.
7705 (elide-routines.o): Likewise.
7706 (elide-routines.op): Likewise.
7707 (elide-routines.og): Likewise.
7708 (objects): Don't use $(bp-thunks).
7709 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7710 include.
7711 (common-generated): Do not add s-proto-bp.d.
7712 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7713 (int): Likewise.
7714 (typ): Likewise.
7715 Do not generate makefile rules for bounded-pointer thunks.
7716 * sysdeps/generic/bp-thunks.h: Remove file.
7717 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7718 * sysdeps/unix/s-proto-bp.S: Likewise.
7719
8cf28c5e
JM
7720 [BZ #15062]
7721 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7722 parts of result separately when argument is not close to line from
7723 -i to i and one part of argument is small.
7724 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7725 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7726 * math/libm-test.inc (cacos_test): Add more tests.
7727 (casin_test): Likewise.
7728 (casinh_test): Likewise.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731
c4e33b8d
DM
77322013-01-31 David S. Miller <davem@davemloft.net>
7733
7734 * po/de.po: Update from translation team.
7735
3b60b421
MK
77362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7737
7738 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7739
bb931195
TS
77402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7741
b5a5da23
TS
7742 * configure.in (_AC_PROG_CC_C89): New definition.
7743 * configure: Regenerate.
7744
bb931195
TS
7745 * configure.in (AC_PROG_CPP): New definition.
7746 * configure: Regenerate.
7747
8c53a12c
JM
77482013-01-23 Joseph Myers <joseph@codesourcery.com>
7749
7750 * debug/tst-backtrace.h: New file.
7751 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7752 (ret): Remove variable.
7753 (x): Likewise.
7754 (FAIL): Remove macro.
7755 (NO_INLINE): Likewise.
7756 (fn1): Use match function instead of strstr.
7757 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7758 (ret): Remove variable.
7759 (x): Likewise.
7760 (FAIL): Remove macro.
7761 (NO_INLINE): Likewise.
7762 (fn): Use match function instead of strstr.
7763 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7764 (ret): Remove variable.
7765 (x): Likewise.
7766 (FAIL): Remove macro.
7767 (NO_INLINE): Likewise.
7768 (handle_signal): Use match function instead of strstr.
7769 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7770 (ret): Remove variable.
7771 (x): Likewise.
7772 (FAIL): Remove macro.
7773 (NO_INLINE): Likewise.
7774 (handle_signal): Use match function instead of strstr.
7775
4858fa2a
RM
77762013-01-23 Roland McGrath <roland@hack.frob.com>
7777
7778 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7779
bae8e7f5
DM
77802013-01-23 David S. Miller <davem@davemloft.net>
7781
7782 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7783 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7784 argument of CAS if possible.
7785 * sysdeps/sparc/sparc64/bits/atomic.h
7786 (__arch_compare_and_exchange_val_32_acq): Likewise.
7787 (__arch_compare_and_exchange_val_64_acq): Likewise.
7788
9cbbc4ae
PT
77892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7790
7791 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7792 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7793 Include <limits.h>.
67b3f58c 7794 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7795
5655a0b5
AC
77962013-01-23 Adam Conrad <adconrad@0c3.net>
7797
7798 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7799 (LDFLAGS-tst-array5): Likewise.
7800
052aff95
JM
78012013-01-23 Joseph Myers <joseph@codesourcery.com>
7802
7803 [BZ #15036]
7804 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7805 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7806 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7807 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7808
7c1e01aa
DM
78092013-01-21 David S. Miller <davem@davemloft.net>
7810
7811 * sysdeps/sparc/backtrace.c: New file.
7812 * sysdeps/sparc/sparc32/backtrace.h: New file.
7813 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7814 * sysdeps/sparc/sparc64/backtrace.h: New file.
7815 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7816 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7817 -funwind-tables.
7818
ab087e0a
AS
78192013-01-21 Andreas Schwab <schwab@suse.de>
7820
7821 [BZ #15020]
7822 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7823 closed its stdout.
7824
ed689c2f
AS
78252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7826
7827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7828 "mpa2.h".
7829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7830
31d470ac
JM
78312013-01-18 Joseph Myers <joseph@codesourcery.com>
7832 Mark Mitchell <mark@codesourcery.com>
7833 Tom de Vries <tom@codesourcery.com>
7834 Paul Pluzhnikov <ppluzhnikov@google.com>
7835
7836 * debug/tst-backtrace2.c: New file.
7837 * debug/tst-backtrace3.c: Likewise.
7838 * debug/tst-backtrace4.c: Likewise.
7839 * debug/tst-backtrace5.c: Likewise.
7840 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7841 (CFLAGS-tst-backtrace3.c): Likewise.
7842 (CFLAGS-tst-backtrace4.c): Likewise.
7843 (CFLAGS-tst-backtrace5.c): Likewise.
7844 (LDFLAGS-tst-backtrace2): Likewise.
7845 (LDFLAGS-tst-backtrace3): Likewise.
7846 (LDFLAGS-tst-backtrace4): Likewise.
7847 (LDFLAGS-tst-backtrace5): Likewise.
7848 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7849 tst-backtrace4 and tst-backtrace5.
7850
90567f30 78512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7852 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7853
7854 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7855 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7856 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7857 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7859 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7860 "+r" and remove output regs list as redundant. Add explicit inline
7861 asm to specify register of return val to work around compiler codegen
7862 bug. Remove (int) cast on return value. Add return type parameter to
7863 use in macro so that this macro does not truncate return value for
7864 64-bit values.
7865 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7866 pass to INTERNAL_VSYSCALL_NCS.
7867 (INLINE_VSYSCALL): Add 'long int' as return type to
7868 INTERNAL_VSYSCALL_NCS macro invocation.
7869 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7870 INTERNAL_VSYSCALL_NCS macro invocation.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7872
d3b9ea61
SP
78732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
0b57daeb
SP
7875 [BZ #14496]
7876 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7877 Fix application of SIMD FP exception mask.
7878
caa99d06
SP
7879 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7880 mp_no from a power of two.
7881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7882 __mpexp_twomm1. Use __pow_mp.
7883
d3b9ea61
SP
7884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7885 multiplication.
7886
1dbaee3c
DM
78872013-01-17 David S. Miller <davem@davemloft.net>
7888
7889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7890
728d7b43
JM
78912013-01-17 Joseph Myers <joseph@codesourcery.com>
7892
7893 [BZ #15023]
7894 * include/complex.h: Condition contents on [!_COMPLEX_H].
7895 (__kernel_casinhf): New prototype.
7896 (__kernel_casinh): Likewise.
7897 (__kernel_casinhl): Likewise.
7898 * math/Makefile (libm_calls): Add k_casinh.
7899 * math/k_casinh.c: New file.
7900 * math/k_casinhf.c: Likewise.
7901 * math/k_casinhl.c: Likewise.
7902 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7903 finite nonzero arguments.
7904 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7905 finite nonzero arguments.
7906 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7907 finite nonzero arguments.
7908 * math/s_casinh.c: Do not include <float.h>.
7909 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7910 * math/s_casinhf.c: Do not include <float.h>.
7911 (__casinhf): Move code for finite nonzero arguments to
7912 k_casinhf.c.
7913 * math/s_casinhl.c: Do not include <float.h>.
7914 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7915 redefine.
7916 (__casinhl): Move code for finite nonzero arguments to
7917 k_casinhl.c.
7918 * math/libm-test.inc (cacos_test): Add more tests.
7919 * sysdeps/i386/fpu/libm-test-ulps: Update.
7920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7921
2a26ef3a
PT
79222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7923
7924 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7925 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7926 [!HAVE_MREMAP]: Remove [defined linux] case.
7927 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7928
a897655d
SP
79292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7930
7931 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7932
881ebe89 79332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7934
7935 * elf/elf.h (R_386_SIZE32): New relocation.
7936 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7937 R_386_SIZE32.
7938 (elf_machine_rela): Likewise.
7939 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7940 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7941
59981e9b
JM
79422013-01-17 Joseph Myers <joseph@codesourcery.com>
7943
7944 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7945 (FP_FAST_FMA): Do not define.
7946 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7947 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7948 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7949 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7950 !_SOFT_FLOAT]: Likewise.
7951 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7952 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7953 value.
7954 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7955 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7956 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7957 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7958 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7959 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7960 file.
7961
cfa8054f
AS
79622013-01-16 Andreas Schwab <schwab@suse.de>
7963
7964 [BZ #14327]
7965 * include/stdlib.h (__mktemp): Add declaration.
7966 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7967 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7968
dd930cc5
SP
79692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
881ebe89
SP
7971 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7972 definitions.
7973 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7974 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7975 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7976 definitions here.
7977 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7978 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7979 definitions.
7980 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7981 and ONE.
7982 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7983 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7984 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7985 definitions.
7986 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7987 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7988 definitions.
7989 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7990
dd930cc5
SP
7991 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7992
c19a9f89
DM
79932013-01-15 David S. Miller <davem@davemloft.net>
7994
1aa61767
DM
7995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7996 trunc{,f} to libm-sysdep_routes.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7999 file.
8000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8002 file.
8003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8004 file.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8007 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8008 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8009 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8010 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8011 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8012 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8013
c42d5e98
DM
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8015 nearbyint{,f} to libm-sysdep_routes.
8016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8018 New file.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8020 file.
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8022 New file.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8024 file.
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8027 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8028 file.
8029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8030 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8031 file.
8032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8033 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8034 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8035
c19a9f89
DM
8036 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8037 libc_feholdexcept and libc_fesetenv.
8038
357679d2
MF
80392013-01-15 Mike Frysinger <vapier@gentoo.org>
8040
8041 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8042
65a82e3d
DM
80432013-01-14 David S. Miller <davem@davemloft.net>
8044
8b954ab9
DM
8045 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8046 (SPARC_ASM_VIS2_IFUNC): Likewise.
8047 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8049 use of 'siam' instruction.
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8051 Likewise.
8052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8053 Likewise.
8054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8055 Likewise.
8056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8061 file.
8062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8063 file.
8064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8065 file.
8066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8067 file.
8068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8073 new VIS2 routines.
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8077 Likewise.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8083 routines to libm-sysdep_routines.
8084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8085
65a82e3d
DM
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8087 fdim/fdimf to libm-sysdep_routines.
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8089 file.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8092 file.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8096 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8097 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8098 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8099 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8100
e34ab705
SP
81012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
2a91b573
SP
8103 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8104 to optimize copies.
8105
1066a534
SP
8106 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8109
e34ab705
SP
8110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8111 local variable MPTWO.
8112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8113 Likewise.
8114
aba5e596
MF
81152013-01-13 Mike Frysinger <vapier@gentoo.org>
8116
8117 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8118 GLOB_NOESCAPE.
8119
e557e9e5
MF
81202013-01-13 Mike Frysinger <vapier@gentoo.org>
8121
8122 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8123
0428cec9
MF
81242013-01-13 Mike Frysinger <vapier@gentoo.org>
8125
8126 * manual/pattern.texi (glob_t): Document gl_flags.
8127 (glob64_t): Likewise.
8128
8794a964
DM
81292013-01-11 David S. Miller <davem@davemloft.net>
8130
66438c3f
RM
8131 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8132 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8133 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8134 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8135 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8136 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8137 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8138 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8139 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8140 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8141 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8142 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8143 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8144
4ae4244d
DM
8145 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8146 sparc V9 rather than using V8 code.
8147 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8149
8794a964
DM
8150 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8151 Move to...
8152 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8153 Here.
8154
6270516e
RM
81552013-01-11 Roland McGrath <roland@hack.frob.com>
8156
8157 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8158 not in the main loop.
8159 * configure: Regenerated.
8160
6a57d931
JM
81612013-01-11 Joseph Myers <joseph@codesourcery.com>
8162
8163 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8164 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8165 to just #else.
8166 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8167 [!__GLIBC_HAVE_LONG_LONG] case.
8168 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8169 condition to just #else.
8170 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8171 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8172 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8173 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8174 unconditional.
8175 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8176 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8177 #elif condition to just #else.
8178 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8179 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8180 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8181 #elif condition to just #else.
8182
0e8529e9
SE
81832013-01-11 Steve Ellcey <sellcey@mips.com>
8184
8185 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8186 (EF_MIPS_ARCH_64): Fix value.
8187 (EF_MIPS_ARCH_32R2): New.
8188 (EF_MIPS_ARCH_64R2): New.
8189
740b3dbe
L
81902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * Makeconfig (+link-pie-before-libc): New.
8193 (+link-pie-after-libc): Likewise.
8194 (+link-pie-tests): Likewise.
8195 (+link-pie): Rewritten.
8196 (link-before-libc): Remove $(config-LDFLAGS).
8197 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8198 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8199 (config-LDFLAGS): Renamed to ...
8200 (rtld-LDFLAGS): This.
8201 (rtld-tests-LDFLAGS): New macro.
8202 (link-libc-rpath-link): Likewise.
8203 (link-libc-tests-rpath-link): Likewise.
8204 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8205 (link-libc): Prepand $(link-libc-rpath-link).
8206 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8207 (test-program-prefix): New macro.
8208 (test-via-rtld-prefix): Likewise.
8209 (test-program-cmd): Likewise.
8210 (host-test-program-cmd): Likewise.
8211 * Makefile ($(common-objpfx)testrun.sh): Replace
8212 $(run-program-prefix) with $(test-program-prefix).
8213 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8214 $(rtld-LDFLAGS).
8215 ($(common-objpfx)shlib.lds): Likewise.
8216 (build-module-helper): Likewise.
8217 ($(common-objpfx)format.lds): Likewise.
8218 * Rules (binaries-pie-tests): New.
8219 (binaries-pie-notests): Likewise.
8220 (binaries-pie): Rewritten.
8221 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8222 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8223 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8224 (make-test-out): Replace $(host-built-program-cmd) with
8225 $(host-test-program-cmd).
8226 * config.make.in (build-hardcoded-path-in-tests): New variable.
8227 * configure.in (--enable-hardcoded-path-in-tests): New configure
8228 option.
8229 (hardcoded_path_in_tests): New AC_SUBST.
8230 * configure: Regenerated.
8231 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8232 $(built-program-cmd) with $(test-program-cmd).
8233 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8234 (test_program_cmd): This.
8235 * elf/Makefile ($(objpfx)order.out): Run test with
8236 $(test-program-prefix).
8237 ($(objpfx)order2.out): Likewise.
8238 ($(objpfx)tst-initorder.out): Likewise.
8239 ($(objpfx)tst-initorder2.out): Likewise.
8240 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8241 $(test-program-cmd).
8242 ($(objpfx)tst-array1-static.out): Likewise.
8243 ($(objpfx)tst-array2.out): Likewise.
8244 ($(objpfx)tst-array3.out): Likewise.
8245 ($(objpfx)tst-array4.out): Likewise.
8246 ($(objpfx)tst-array5.out): Likewise.
8247 ($(objpfx)tst-array5-static.out): Likewise.
8248 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8249 $(test-program-cmd).
8250 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8251 $(run-program-prefix) with $(test-program-prefix).
8252 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8253 (test_program_prefix): This.
8254 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8255 $(run-program-prefix) with $(test-program-prefix).
8256 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8257 (test_program_prefix): This.
8258 * iconvdata/tst-tables.sh: Likewise.
8259 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8260 $(run-program-prefix) with $(test-program-prefix).
8261 ($(objpfx)tst-translit.out): Likewise.
8262 ($(objpfx)tst-gettext2.out): Likewise.
8263 ($(objpfx)tst-gettext4.out): Likewise.
8264 ($(objpfx)tst-gettext6.out): Likewise.
8265 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8266 (test_program_prefix): This.
8267 * intl/tst-gettext2.sh: Likewise.
8268 * intl/tst-gettext4.sh Likewise.
8269 * intl/tst-gettext6.sh: Likewise.
8270 * intl/tst-translit.sh: Likewise.
8271 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8272 with $(test-program-cmd).
8273 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8274 $(run-program-prefix) with $(test-program-prefix).
8275 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8276 (test_program_prefix): This.
8277 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8278 $(run-program-prefix) with $(test-program-prefix).
8279 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8280 (test_program_prefix): This.
8281 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8282 * posix/Makefile ($(objpfx)globtest.out): Replace
8283 $(run-via-rtld-prefix) and $(test-wrapper) with
8284 $(test-program-prefix) and $(test-via-rtld-prefix).
8285 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8286 $(test-program-prefix).
8287 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8288 $(host-test-program-cmd).
8289 (tst-spawn-ARGS): Likewise.
8290 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8291 $(test-program-prefix).
8292 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8293 (test_via_rtld_prefix): This.
8294 (test_wrapper): Renamed to ...
8295 (test_program_prefix): This.
8296 (run_program_prefix): Replaced by test_program_prefix.
8297 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8298 (test_program_prefix): This.
8299 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8300 with $(host-test-program-cmd).
8301 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8302 $(run-program-prefix) with $(test-program-prefix).
8303 ($(objpfx)tst-printf.out): Likewise.
8304 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8305 $(test-program-cmd).
8306 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8307 (test_program_prefix): This.
8308 * stdio-common/tst-unbputc.sh: Likewise.
8309 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8310 $(run-program-prefix) with $(test-program-prefix).
8311 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8312 (test_program_prefix): This.
8313 * string/Makefile ($(objpfx)tst-svc.out): Replace
8314 $(built-program-cmd) with $(test-program-cmd).
8315
c6fe55cf
AJ
83162013-01-11 Andreas Jaeger <aj@suse.de>
8317
8318 [BZ #15003]
8319 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8320 value. Sync with Linux 3.7.
8321
9e6919c8
DM
83222013-01-10 David S. Miller <davem@davemloft.net>
8323
8324 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8325 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8326 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8327
1c9f1a02
RM
83282013-01-10 Roland McGrath <roland@hack.frob.com>
8329
8330 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8331 never set.
8332 * configure: Regenerated.
8333
b9de2dde
DM
83342013-01-10 David S. Miller <davem@davemloft.net>
8335
8336 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8337 sparc V9 rather than using V8 code.
8338 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8339 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8340
e7f68ef4
RM
83412013-01-10 Roland McGrath <roland@hack.frob.com>
8342
8343 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8344 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8345 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8346 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8347 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8348 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8349 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8350 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8351 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8352 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8353 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8354 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8355 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8356 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8357 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8358 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8359 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8360 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8361 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8362 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8363 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8364 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8365 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8366 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8367 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8368 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8369 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8370
5a47cc9c
DM
83712013-01-10 David S. Miller <davem@davemloft.net>
8372
8373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8374
4cf8f209
L
83752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * posix/Makefile (tests-static): New variable.
8378 (tests): Add $(tests-static).
8379 (tst-exec-static-ARGS): New variable.
8380 (tst-spawn-static-ARGS): Likewise.
8381 * posix/tst-exec-static.c: New file.
8382 * posix/tst-spawn-static.c: Likewise.
8383 * posix/tst-exec.c: Support run directly.
8384 * posix/tst-spawn.c: Likewise.
8385
fed0faa1
JM
83862013-01-10 Joseph Myers <joseph@codesourcery.com>
8387
828beb13
JM
8388 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8389 long.
8390 * math/bits/mathcalls.h (llrint): Likewise.
8391 (llround): Likewise.
8392 * stdlib/stdlib.h (struct drand48_data): Likewise.
8393 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8394 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8395 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8396 Likewise.
8397 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8398 Likewise.
8399 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8400 (elf_greg_t): Likewise.
8401 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8402 (__jmp_buf): Likewise.
8403 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8404 definitions.
8405 (llrint): Likewise, for all definitions.
8406 (llrintl): Likewise.
8407
fed0faa1
JM
8408 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8409 Remove [__GNUC__] condition.
8410 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8411 condition to just [__USE_ISOC99].
8412 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8413
1a20cb20
L
84142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8415
8416 [BZ #14200]
8417 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8418 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8419 defined.
8420 (_POSIX_V6_ILP32_OFF32): Likewise.
8421 (_XBS5_ILP32_OFF32): Likewise.
8422 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8423 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8424
751b85f7
SP
84252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8426
7490eb81
SP
8427 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8428
751b85f7
SP
8429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8430 doubles __mpexp_twomm1. Adjust usage.
8431 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8432 Remove.
8433
988197f0
AS
84342013-01-10 Andreas Schwab <schwab@suse.de>
8435
8436 [BZ #14964]
8437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8438 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8439
e83d7298
DM
84402013-01-09 David S. Miller <davem@davemloft.net>
8441
034ed64b 8442 [BZ #15003]
e83d7298
DM
8443 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8444 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8445 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8446 TCP_FASTOPEN): Define.
8447 (tcp_repair_opt): New structure.
8448 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8449 enum values.
8450 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8451 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8452 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8453 (tcp_cookie_transactions): New structure.
8454
d5e0b9bd
AB
84552013-01-09 Anton Blanchard <anton@samba.org>
8456
8457 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8458 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8459 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8460 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8461
0c07e3ea
JM
84622013-01-09 Joseph Myers <joseph@codesourcery.com>
8463
8464 * include/features.h (__USE_ANSI): Remove.
8465
232f7002
RM
84662013-01-09 Roland McGrath <roland@hack.frob.com>
8467
ad98e30c
RM
8468 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8469
232f7002
RM
8470 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8471
950c99ca
SP
84722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8473
b5792741
SP
8474 * sysdeps/s390/fpu/libm-test-ulps: Update.
8475
47cf2278
SP
8476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8477
950c99ca
SP
8478 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8479 (__acr): Likewise.
8480 (__cpy): Likewise.
8481 (norm): Likewise.
8482 (denorm): Likewise.
8483 (__mp_dbl): Likewise.
8484 (__dbl_mp): Likewise.
8485 (add_magnitudes): Likewise.
8486 (sub_magnitudes): Likewise.
8487 (__add): Likewise.
8488 (__sub): Likewise.
8489 (__mul): Likewise.
8490 (__inv): Likewise.
8491 (__dvd): Likewise.
8492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8493 (__acr): Likewise.
8494 (__cpy): Likewise.
8495 (norm): Likewise.
8496 (denorm): Likewise.
8497 (__mp_dbl): Likewise.
8498 (__dbl_mp): Likewise.
8499 (add_magnitudes): Likewise.
8500 (sub_magnitudes): Likewise.
8501 (__add): Likewise.
8502 (__sub): Likewise.
8503 (__mul): Likewise.
8504 (__inv): Likewise.
8505 (__dvd): Likewise.
8506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8507 (__acr): Likewise.
8508 (__cpy): Likewise.
8509 (norm): Likewise.
8510 (denorm): Likewise.
8511 (__mp_dbl): Likewise.
8512 (__dbl_mp): Likewise.
8513 (add_magnitudes): Likewise.
8514 (sub_magnitudes): Likewise.
8515 (__add): Likewise.
8516 (__sub): Likewise.
8517 (__mul): Likewise.
8518 (__inv): Likewise.
8519 (__dvd): Likewise.
8520
eede9df9
JM
85212013-01-08 Joseph Myers <joseph@codesourcery.com>
8522
8523 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8524 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8525 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8526 2 && __USE_EXTERN_INLINES]: Likewise.
8527
c40ea3d9
AJ
85282013-01-08 Andreas Jaeger <aj@suse.de>
8529
8530 [BZ# 14985]
8531 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8532 Remove.
8533 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8534 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8535
2ccdea26
AB
85362013-01-07 Anton Blanchard <anton@samba.org>
8537
8538 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8539 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8540 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8541 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8542 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8544 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8545 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8547 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8549 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8550 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8552 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8554 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8556 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8557 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8558 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8559 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8561 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8562 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8563 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8564 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8565 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8567 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8568 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8572 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8574 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8575 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8576 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8578 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8580 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8581
a9708fed
JM
85822013-01-07 Joseph Myers <joseph@codesourcery.com>
8583
375607b9
JM
8584 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8585 (__MALLOC_PMT): Likewise.
8586 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8587 [__GNUC__], only on [_LIBC].
8588 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8589 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8590 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8591 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8592 forward declaration.
8593 (realloc_hook_ini): Likewise.
8594 (memalign_hook_ini): Likewise.
8595 (__libc_memalign): Do not use __MALLOC_PMT in variable
8596 declaration.
8597 (__libc_valloc): Likewise.
8598 (__libc_pvalloc): Likewise.
8599 (__libc_calloc): Likewise.
8600 (__posix_memalign): Likewise.
8601
a9708fed
JM
8602 [BZ #14996]
8603 * math/s_casinh.c: Include <float.h>.
8604 (__casinh): Do not do computation with squaring and square root
8605 for large arguments.
8606 * math/s_casinhf.c: Include <float.h>.
8607 (__casinhf): Do not do computation with squaring and square root
8608 for large arguments.
8609 * math/s_casinhl.c: Include <float.h>.
8610 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8611 (__casinhl): Do not do computation with squaring and square root
8612 for large arguments.
8613 * math/libm-test.inc (casin_test): Add more tests.
8614 (casinh_test): Likewise.
8615 * sysdeps/i386/fpu/libm-test-ulps: Update.
8616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8617
afec409a
L
86182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8621 (__x86_64_raw_data_cache_size): Likewise.
8622 (__x86_64_data_cache_size_half): Likewise.
8623 (__x86_64_raw_data_cache_size_half): Likewise.
8624 (__x86_64_shared_cache_size): Likewise.
8625 (__x86_64_raw_shared_cache_size): Likewise.
8626 (__x86_64_shared_cache_size_half): Likewise.
8627 (__x86_64_raw_shared_cache_size_half): Likewise.
8628 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8629 to ...
8630 (__x86_data_cache_size): This.
8631 (__x86_64_raw_data_cache_size): Renamed to ...
8632 (__x86_raw_data_cache_size): This.
8633 (__x86_64_data_cache_size_half): Renamed to ...
8634 (__x86_data_cache_size_half): This.
8635 (__x86_64_raw_data_cache_size_half): Renamed to ...
8636 (__x86_raw_data_cache_size_half): This.
8637 (__x86_64_shared_cache_size): Renamed to ...
8638 (__x86_shared_cache_size): This.
8639 (__x86_64_raw_shared_cache_size): Renamed to ...
8640 (__x86_raw_shared_cache_size): This.
8641 (__x86_64_shared_cache_size_half): Renamed to ...
8642 (__x86_shared_cache_size_half): This.
8643 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8644 (__x86_raw_shared_cache_size_half): This.
8645 * sysdeps/x86_64/memcpy.S: Updated.
8646 * sysdeps/x86_64/memset.S: Likewise.
8647 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8650
0b3986d0
DM
86512013-01-04 David S. Miller <davem@davemloft.net>
8652
8653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8654
e47686e9
AS
86552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8656
d643bac1
AS
8657 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8658 1 to avoid redefinition warning.
8659 (__USE_GNU): Don't define.
8660 (init_signaling_nan): Protoize.
8661
e47686e9
AS
8662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8663
b18decba
SP
86642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
fffb407f
SP
8666 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8668 (__cpymn): Likewise.
8669 (norm): Remove commented code.
8670 (denorm): Likewise.
8671 (__mp_dbl): Likewise.
8672 (__inv): Likewise.
8673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8674 (__cpymn): Likewise.
8675 (norm): Remove commented code.
8676 (denorm): Likewise.
8677 (__mp_dbl): Likewise.
8678 (__inv): Likewise.
8679
b18decba
SP
8680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8681 mp_no value for 1.0 and 2.0.
8682 (norm): Use RADIXI instead of radixi.d.
8683 (denorm): Likewise.
8684 (__mul): Use 0.0 instead of zero.d.
8685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8686 mp_no value for 1.0 and 2.0.
8687 (norm): Use RADIXI instead of radixi.d.
8688 (denorm): Likewise.
8689 (__mul): Use 0.0 instead of zero.d.
8690
cdc1c96f
JM
86912013-01-04 Joseph Myers <joseph@codesourcery.com>
8692
8693 [BZ #14994]
8694 * math/s_casinh.c (__casinh): Reduce finite argument to first
8695 quadrant then set signs of results at the end.
8696 * math/s_casinhf.c (__casinhf): Likewise.
8697 * math/s_casinhl.c (__casinhl): Likewise.
8698 * math/libm-test.inc (casin_test): Add more tests.
8699 (casinh_test): Likewise.
8700 * sysdeps/i386/fpu/libm-test-ulps: Update.
8701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8702
302913e1
SP
87032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8704
6420d207
SP
8705 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8706
a9e48ab4
SP
8707 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8708
b7837264
SP
8709 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8710 declarations.
8711 (denorm): Likewise.
8712 (__mp_dbl): Likewise.
8713 (__inv): Likewise.
8714
f8af25d2
SP
8715 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8716 and adjust the header comment.
8717
302913e1
SP
8718 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8719 variable name from declaration.
8720
5d7dd1ca
L
87212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8724 Initialize COMMON_CPUID_INDEX_7 element.
8725 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8726 (CPUID_RTM): Likewise.
8727 (HAS_RTM): Likewise.
8728 (COMMON_CPUID_INDEX_7): New enum.
8729
2f5f40f4
AS
87302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8731
8732 [BZ #14981]
8733 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8734 size is zero, record memory as freed.
8735
4056f4a0
AJ
87362013-01-03 Andreas Jaeger <aj@suse.de>
8737
8738 * po/ia.po: Add new Interlingua translation.
8739
ab15736f 87402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8741
8742 * locale/programs/localedef.c: Fix description of '--posix' flag.
8743
568035b7
JM
87442013-01-02 Joseph Myers <joseph@codesourcery.com>
8745
e6898b8d
JM
8746 * NEWS: Update dates in second copyright notice.
8747 * README: Update copyright dates in example.
8748 * manual/libc.texinfo: Update copyright dates.
8749 * scripts/test-installation.pl: Update copyright date in --version
8750 output.
8751
0e2f9562
JM
8752 * hurd/ctty-input.c: Fix copyright notice formatting.
8753 * hurd/ctty-output.c: Likewise.
8754 * hurd/dtable.c: Likewise.
8755 * hurd/hurd-raise.c: Likewise.
8756 * hurd/hurdprio.c: Likewise.
8757 * hurd/msgportdemux.c: Likewise.
8758 * misc/sys/file.h: Likewise.
8759 * misc/sys/ioctl.h: Likewise.
8760 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8761 * sysdeps/mach/hurd/chdir.c: Likewise.
8762 * sysdeps/mach/hurd/fchdir.c: Likewise.
8763 * sysdeps/mach/hurd/rename.c: Likewise.
8764 * sysdeps/mach/hurd/rmdir.c: Likewise.
8765 * sysdeps/mach/hurd/seekdir.c: Likewise.
8766 * sysdeps/mach/hurd/setsid.c: Likewise.
8767 * sysdeps/posix/wait3.c: Likewise.
8768
568035b7
JM
8769 * All files with FSF copyright notices: Update copyright dates
8770 using scripts/update-copyrights.
8771 * intl/plural.c: Regenerated.
8772 * locale/programs/charmap-kw.h: Likewise.
8773 * locale/programs/locfile-kw.h: Likewise.
8774
da08f647
SP
87752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8776
0f5477af
SP
8777 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8778 four values.
8779
44e0d4c2
SP
8780 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8781 calculation loop and add branch prediction.
8782
4d55b4e5
SP
8783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8784 check access beyond bounds of m1np.
8785
da08f647
SP
8786 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8787 MPTWO.
8788 (__inv): Remove local variable MPTWO to use the global
8789 constant.
8790 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8791 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8792 variable MPTWO.
8793 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8794 MP3HALFS static const.
8795
8e051029
DM
87962013-01-01 David S. Miller <davem@davemloft.net>
8797
8798 * po/ca.po: Update from translation team.
8799
f4cf5f2d
JM
88002013-01-01 Joseph Myers <joseph@codesourcery.com>
8801
8802 * scripts/update-copyrights: New file.
8803 * Makeconfig: Reformat copyright notice.
8804 * ctype/ctype.h: Likewise.
8805 * debug/swprintf_chk.c: Likewise.
8806 * elf/dl-cache.c: Likewise.
8807 * elf/dl-debug.c: Likewise.
8808 * elf/dl-object.c: Likewise.
8809 * grp/initgroups.c: Likewise.
8810 * hurd/Makefile: Likewise.
8811 * hurd/hurd/signal.h: Likewise.
8812 * hurd/hurdfault.c: Likewise.
8813 * hurd/hurdioctl.c: Likewise.
8814 * hurd/hurdlookup.c: Likewise.
8815 * hurd/intr-msg.c: Likewise.
8816 * iconv/gconv_open.c: Likewise.
8817 * libio/swprintf.c: Likewise.
8818 * locale/lc-ctype.c: Likewise.
8819 * locale/nl_langinfo.c: Likewise.
8820 * mach/Machrules: Likewise.
8821 * mach/Makefile: Likewise.
8822 * malloc/obstack.h: Likewise.
8823 * manual/Makefile: Likewise.
8824 * manual/tsort.awk: Likewise.
8825 * misc/bits/stab.def: Likewise.
8826 * nis/nis_print_group_entry.c: Likewise.
8827 * nis/nis_table.c: Likewise.
8828 * nis/nss_compat/compat-pwd.c: Likewise.
8829 * nis/nss_compat/compat-spwd.c: Likewise.
8830 * po/Makefile: Likewise.
8831 * posix/fnmatch.c: Likewise.
8832 * posix/regex.h: Likewise.
8833 * resolv/Makefile: Likewise.
8834 * resolv/nss_dns/dns-network.c: Likewise.
8835 * resolv/res_hconf.c: Likewise.
8836 * scripts/gen-sorted.awk: Likewise.
8837 * soft-fp/soft-fp.h: Likewise.
8838 * stdio-common/printf.h: Likewise.
8839 * stdlib/monetary.h: Likewise.
8840 * stdlib/random.c: Likewise.
8841 * stdlib/random_r.c: Likewise.
8842 * sysdeps/generic/Makefile: Likewise.
8843 * sysdeps/gnu/Makefile: Likewise.
8844 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8872 * sysdeps/mach/hurd/errnos.awk: Likewise.
8873 * sysdeps/mach/hurd/fork.c: Likewise.
8874 * sysdeps/mach/hurd/getcwd.c: Likewise.
8875 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8876 * sysdeps/mach/hurd/mmap.c: Likewise.
8877 * sysdeps/mach/hurd/utimes.c: Likewise.
8878 * sysdeps/mach/hurd/xmknod.c: Likewise.
8879 * sysdeps/posix/profil.c: Likewise.
8880 * sysdeps/posix/readdir_r.c: Likewise.
8881 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8882 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8883 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8884 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8886 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8887 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8888 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8890 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8891 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8892 * sysdeps/pthread/lio_listio.c: Likewise.
8893 * sysdeps/sparc/dl-procinfo.h: Likewise.
8894 * sysdeps/unix/i386/sysdep.S: Likewise.
8895 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8896 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8897 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8898 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8900 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8901 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8902 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8903 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8904 * sysdeps/wordsize-32/divdi3.c: Likewise.
8905 * time/sys/time.h: Likewise.
8906 * wcsmbs/Makefile: Likewise.
8907
0549fbba
DM
89082013-01-01 David S. Miller <davem@davemloft.net>
8909
a141f1a7
DM
8910 * po/fr.po: Update from translation team.
8911
0549fbba
DM
8912 * catgets/gencat.c: Update copyright year.
8913 * csu/version.c: Likewise.
8914 * debug/catchsegv.sh: Likewise.
8915 * debug/pcprofiledump.c: Likewise.
8916 * debug/xtrace.sh: Likewise.
8917 * elf/ldconfig.c: Likewise.
8918 * elf/ldd.bash.in: Likewise.
8919 * elf/pldd.c: Likewise.
8920 * elf/sotruss.ksh: Likewise.
8921 * elf/sprof.c: Likewise.
8922 * iconv/iconv_prog.c: Likewise.
8923 * iconv/iconvconfig.c: Likewise.
8924 * locale/programs/locale.c: Likewise.
8925 * locale/programs/localedef.c: Likewise.
8926 * login/programs/pt_chown.c: Likewise.
8927 * malloc/memusage.sh: Likewise.
8928 * malloc/memusagestat.c: Likewise.
8929 * malloc/mtrace.pl: Likewise.
8930 * nscd/nscd.c: Likewise.
8931 * nss/getent.c: Likewise.
8932 * nss/makedb.c: Likewise.
8933 * posix/getconf.c: Likewise.
8934
18ea052c
SP
89352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8936
8937 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8938 numbers.
8939
9c89fca6
MF
89402012-12-30 Mike Frysinger <vapier@gentoo.org>
8941
8942 * math/bits/mathcalls.h (modf): Use __nonnull.
8943
085ec079
SP
89442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8945
8946 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8947 (split): Use macro CN instead of the bare value.
8948 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8949 could be used.
8950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8951 instead of the bare value.
8952 (power1): Likewise.
8953
6d9f97e1
SP
89542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8955
d63f73be
SP
8956 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8957 __ATAN_TWOM.
8958 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8959
6d9f97e1
SP
8960 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8961 their values.
8962 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8963 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8964 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8965 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8966
4c4febf5
AJ
89672012-12-28 Andreas Jaeger <aj@suse.de>
8968
af5843ef
AJ
8969 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8970 values are from Linux 3.7.
8971
4c4febf5
AJ
8972 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8973 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8974
99136f82
SP
89752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8976
2f216c3c 8977 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8978 TRUE case.
8979
99136f82
SP
8980 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8981 (norm): Likewise.
8982 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8983 variables with preprocessor constants.
8984 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8985 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8986 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8987
7fffbdff
BH
89882012-12-27 Bruno Haible <bruno@clisp.org>
8989
8990 [BZ #14317]
8991 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8992 only if needed.
8993
b76eb5f0
SP
89942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8995
31a7fe5c
SP
8996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8997 and use variable directly.
8998 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8999
b76eb5f0
SP
9000 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9001 MPONE.
9002 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9003 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9004 variable MPONE.
9005 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9007 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9008 include directive. Remove local variable MPONE.
9009 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9010 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9011 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9012
2c8bfe7d
DM
90132012-12-25 David S. Miller <davem@davemloft.net>
9014
9015 * version.h (RELEASE): Set to "development".
9016 (VERSION): Set to "2.17.90".
9017 * NEWS: Add 2.18 section.
9018
147d03b0
DM
90192012-12-21 David S. Miller <davem@davemloft.net>
9020
9021 * po/hr.po: Update from translation team.
9022
a8ebb2b9
AK
90232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9024
9025 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9026
95b4f1b6
SE
90272012-12-19 Steve Ellcey <sellcey@mips.com>
9028
b2d94007 9029 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9030
cedb2a90
MS
90312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9032
9033 * manual/contrib.texi (Contributors): Spelling correction.
9034
bbf527d6
DM
90352012-12-15 David S. Miller <davem@davemloft.net>
9036
9037 * po/ru.po: Update from translation team.
9038
bc38c906
DM
90392012-12-13 David S. Miller <davem@davemloft.net>
9040
85429b1a
DM
9041 * NEWS: Mention IFUNC testsuite enhancements.
9042
d283e353
DM
9043 * po/pl.po: Update from translation team.
9044 * po/bg.po: Likewise.
9045
bc38c906
DM
9046 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9047 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9048
a181b0d7
DM
90492012-12-11 David S. Miller <davem@davemloft.net>
9050
4641d57e
DM
9051 * po/sv.po: Update from translation team.
9052
f7bc6495
DM
9053 * po/vi.po: Update from translation team.
9054
6fc9048f
DM
9055 * po/cs.po: Update from translation team.
9056
a181b0d7
DM
9057 * po/de.po: Update from translation team.
9058 * po/eo.po: Likewise.
9059 * po/nl.po: Likewise.
9060
f70bfe80
SP
90612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9062
3c8b4190
SP
9063 [BZ #14246]
9064 * manual/argp.texi (Argp Helper Functions): Move node to follow
9065 Argp Parsing State.
9066
f70bfe80
SP
9067 [BZ #14872]
9068 * manual/conf.texi (Limits on File System Capacity): Mention if
9069 terminating null is included in the max size.
9070
188f0adf
AJ
90712012-12-10 Andreas Jaeger <aj@suse.de>
9072
9073 * po/cs.po: Update from translation team.
9074
56e7d3ad
SP
90752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9076
9077 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9078 void pointer and cast to uintptr_t.
9079 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9080 path.
9081 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9082 * sysdeps/s390/s390-64/memset.S: Likewise.
9083
76f2d2ea 90842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9085
9086 [BZ #14833]
9087 * menual/message.texi (Message Translation): Fix typos.
9088 (Helper programs for gettext): Likewise.
9089
67cbf9a2
AS
90902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9091
9092 [BZ #14898]
9093 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9094 Change to -1.
9095
682d0e9a
DM
90962012-12-07 David S. Miller <davem@davemloft.net>
9097
9098 * po/libc.pot: Update.
9099
573cd484
RH
91002012-12-07 Richard Henderson <rth@redhat.com>
9101
7e9da188 9102 [BZ #10114]
573cd484
RH
9103 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9104 normal/normal case to before the switch.
9105 (_FP_DIV): Likewise.
9106
e933a943
MF
91072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9108 Mike Frysinger <vapier@gentoo.org>
9109
9110 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9111 check for __NR_fadvise64_64.
9112
82123268
CM
91132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9114
9115 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9116 0, not just to plain "0" as a statement.
9117 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9118 with cw.
9119
d9814526
JM
91202012-12-06 Joseph Myers <joseph@codesourcery.com>
9121
9122 * NEWS: Use sourceware.org in Bugzilla URL.
9123
7728c574
SP
91242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9125
f16946dd
SP
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9127 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9128
5704bbcb
SP
9129 * stdio-common/tst-put-error.c (do_test): Add newline to the
9130 padded test to ensure flush.
9131
17aa0516
JL
91322012-12-05 Jeff Law <law@redhat.com>
9133
9134 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9135
363313b5
JM
91362012-12-05 Joseph Myers <joseph@codesourcery.com>
9137
effbd42a
JM
9138 * README: Don't refer to ports add-on as distributed separately.
9139 Mention AArch64 in list of systems supported in the ports add-on.
9140
87600365
JM
9141 * LICENSES: Add more non-FSF copyright and license notices.
9142
a0d7066a
JM
9143 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9144 ((unused)).
9145
66ca5a5b
JM
9146 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9147
363313b5
JM
9148 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9149 10000 as width of padded output.
9150
b37984ad
JM
91512012-12-04 Joseph Myers <joseph@codesourcery.com>
9152
9003570a
JM
9153 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9154
b37984ad
JM
9155 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9156 variable LX with __attribute__ ((unused)).
9157 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9158 Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9161 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9162 with __attribute__ ((unused)).
9163
c8df52ec
DM
91642012-12-04 David S. Miller <davem@abraco.davemloft.net>
9165
9166 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9167
b3b099af
JM
91682012-12-04 Joseph Myers <joseph@codesourcery.com>
9169
c33aa6e3
JM
9170 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9171 (CFLAGS-nldbl-acos.c): New variable.
9172 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9239 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9240 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9241 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9242 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9243 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9244 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9245 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9246 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9247 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9248 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9249 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9250 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9251 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9252 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9253 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9264 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9269
20f0018d
JM
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9271 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9272
b3b099af
JM
9273 [BZ #14914]
9274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9275 whole low double instead of just low 47 bits when splitting values
9276 into two parts.
9277
029264d1
AM
92782012-12-03 Allan McRae <allan@archlinux.org>
9279
9280 * manual/stdio.texi (Predefined Printf Handlers): Remove
9281 @hsep and @vsep usage.
9282
c9d6789e
MF
92832012-12-03 Mike Frysinger <vapier@gentoo.org>
9284
9285 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9286 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9287
4b7634a5
JL
92882012-12-03 Jeff Law <law@redhat.com>
9289
9290 * time/sys/time.h (settimeofday): Do not mark TV argument
9291 as __nonnull.
9292
eb6cbd24
MF
92932012-12-01 Mike Frysinger <vapier@gentoo.org>
9294
9295 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9296 when currently writing and seek to current position when not.
9297 * libio/Makefile (tests): Remove bug-fclose1.
9298 * libio/bug-fclose1.c: Delete.
9299
f638872a
JM
93002012-12-01 Joseph Myers <joseph@codesourcery.com>
9301
9302 * manual/arith.texi (feenableexcept): Fix typo.
9303 (fedisableexcept): Likewise.
9304
48085d14
RM
93052012-11-30 Roland McGrath <roland@hack.frob.com>
9306
9307 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9308 second, differently-typed declaration, rather than a cast.
9309
1a538b9f
SP
93102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9311
9312 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9313 * include/rpc/svc.h: ... here.
9314
d07f2ff1 93152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9316
9317 [BZ #13013]
9318 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9319 depending n and resplen2 to catch cases where answer
9320 equals answerp2.
9321
c93ec1f0
CD
93222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9323
9324 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9325 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9326
37db69de
MF
93272012-11-29 Mike Frysinger <vapier@gentoo.org>
9328
9329 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9330
e10c4e4f
RM
93312012-11-29 Roland McGrath <roland@hack.frob.com>
9332
9333 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9334
2af1b328
JL
93352012-11-28 Jeff Law <law@redhat.com>
9336
9337 [BZ #13761]
9338 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9339 dataset_temporary. Track alloca usage into alloca_used.
9340 If dataset is large allocate and release it via malloc/free.
9341
111db5b1
FW
93422012-06-04 Florian Weimer <fweimer@redhat.com>
9343
f06cc227 9344 [BZ #14197]
111db5b1
FW
9345 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9346
dd694abd
DM
93472012-11-28 David S. Miller <davem@davemloft.net>
9348
9349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9350
9984dd01
JM
93512012-11-28 Joseph Myers <joseph@codesourcery.com>
9352
9353 [BZ #14803]
9354 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9355 of pi/2 rounded to nearest to 64 bits.
9356 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9357 nearest to 64 bits.
9358 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9359 bits.
9360
14bc93a9
JL
93612012-11-28 Jeff Law <law@redhat.com>
9362 Martin Osvald <mosvald@redhat.com>
9363
9364 [BZ #14889]
9365 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9366 * sunrpc/svc.c: Include time.h.
9367 (__svc_accept_failed): New function.
9368 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9369 any reason other than EINTR, call __svc_accept_failed.
9370 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9371 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9372
e3c6aa3a
AS
93732012-11-28 Andreas Schwab <schwab@suse.de>
9374
9375 * scripts/abilist.awk: Also handle indirect functions in .opd
9376 section.
9377
1bead169
JM
93782012-11-28 Joseph Myers <joseph@codesourcery.com>
9379
9380 [BZ #13881]
9381 * sysdeps/x86/fpu/powl_helper.c: New file.
9382 * sysdeps/x86/fpu/Makefile: Likewise.
9383 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9384 (p3): New object.
9385 (__ieee754_powl): Use __powl_helper for finite arguments except
9386 integer exponents below 8.
9387 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9388 (p3): New object.
9389 (__ieee754_powl): Use __powl_helper for finite arguments except
9390 integer exponents below 8.
9391 * math/libm-test.inc (pow_test): Add more tests and enable some
9392 previously disabled tests.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9395
0817d63d
SP
93962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9397 Carlos O'Donell <carlos_odonell@mentor.com>
9398
9399 * nss/makedb.c (is_prime): Assert that input is odd and greater
9400 than 4. Note that fact in a comment too.
9401 (next_prime): Add 4 to input.
9402
de2fd463
SP
94032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
9405 [BZ #11741]
9406 * libio/Makefile (tests): Add test case tst-fwrite-error.
9407 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9408 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9409 * libio/tst-fwrite-error.c: New test case.
9410
c515fb51
L
94112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9412
9413 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9414 before casting to void *.
9415 * include/libc-internal.h (__pointer_type): New macro.
9416 (__integer_if_pointer_type_sub): Likewise.
9417 (__integer_if_pointer_type): Likewise.
9418 (cast_to_integer): Likewise.
9419 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9420 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9421 before casting to atomic64_t.
9422 (atomic_exchange_acq): Likewise.
9423 (__arch_exchange_and_add_body): Likewise.
9424 (__arch_add_body): Likewise.
9425 (atomic_add_negative): Likewise.
9426 (atomic_add_zero): Likewise.
9427
4cf77aa9
JM
94282012-11-26 Joseph Myers <joseph@codesourcery.com>
9429
9430 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9431 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9432 (add_fdes): Likewise.
9433 (linear_search_fdes): Likewise.
9434 (binary_search_unencoded_fdes): Likewise.
9435
d260b3b4
AS
94362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9437
9438 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9439
67060746
AC
94402012-11-24 Adam Conrad <adconrad@0c3.net>
9441
9442 * configure.in: Autodetect C++ header directories.
9443 * configure: Regenerated.
9444
800938a1
MF
94452012-11-23 Mike Frysinger <vapier@gentoo.org>
9446
9447 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9448
4e6e34e6
AS
94492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9450
9451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9452
7c7feb47
JM
94532012-11-22 Joseph Myers <joseph@codesourcery.com>
9454
7184dcdf
JM
9455 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9456 LDBL_MANT_DIG == 106]: Disable some tests.
9457 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9458 Likewise.
9459 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9460 Likewise.
9461
0a42601f
JM
9462 [BZ #14871]
9463 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9464 input for small inputs. Return +/- pi/2 for large inputs.
9465 * math/libm-test.inc (atan_test): Add more tests.
9466
79c9b9fe
JM
9467 * sysdeps/generic/unwind-dw2-fde-glibc.c
9468 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9469 __attribute__ ((unused)).
9470
c60d3bf2
JM
9471 [BZ #14645]
9472 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9473 x * y if x and y are nonzero and z is zero.
9474
ef1e0867
JM
9475 [BZ #14811]
9476 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9477 nonzero exponents with absolute value below 0x1p-117 to +/-
9478 0x1p-117.
9479
1468ded3
JM
9480 [BZ #14869]
9481 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9482 up arguments below 2**-450, not just those below 2**-500.
9483 * math/libm-test.inc (hypot_test): Add another test.
9484
8e27e3cc
JM
9485 [BZ #14868]
9486 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9487 Return a+b for ratio over 2**120, not 2**60.
9488 * math/libm-test.inc (hypot_test): Add another test.
9489
c9c0279b
JM
9490 * math/libm-test.inc (clog_test): Use
9491 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9492 (clog10_test): Likewise.
9493
7c7feb47
JM
9494 [BZ #6778]
9495 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9496
fff1530e
AS
94972012-11-22 Andreas Schwab <schwab@suse.de>
9498
9499 * sysdeps/i386/fpu/libm-test-ulps: Update.
9500
94558d30
PT
95012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9502
9503 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9504 printf output with newline.
9505
7e1be741
L
95062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9507
6bfea974
L
9508 [BZ #14865]
9509 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9510 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9511 -z nodlopen, -z initfirst and -z execstack support.
9512 * configure: Regenerated.
9513
7e1be741
L
9514 * elf/elf.h (DF_1_NODIRECT): New macro.
9515 (DF_1_IGNMULDEF): Likewise.
9516 (DF_1_NOKSYMS): Likewise.
9517 (DF_1_NOHDR): Likewise.
9518 (DF_1_EDITED): Likewise.
9519 (DF_1_NORELOC): Likewise.
9520 (DF_1_SYMINTPOSE): Likewise.
9521 (DF_1_GLOBAUDIT): Likewise.
9522 (DF_1_SINGLETON): Likewise.
9523 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9524 DT_1_SUPPORTED_MASK bits.
9525 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9526
105ce2ce
CD
95272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9528
9529 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9530
123be9de
TS
95312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9532
d072f3f7
TS
9533 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9534 macro.
9535
123be9de
TS
9536 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9537 (sendmmsg): Move declarations...
9538 * socket/sys/socket.h: ... here.
9539 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9540 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9541 include it from...
9542 * socket/recvmmsg.c: ... this new file.
9543 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9544 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9545 definition of __sendmmsg hidden.
9546 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9547 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9548 Move ENOSYS stub into and include it from...
9549 * socket/sendmmsg.c: ... this new file.
9550 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9551 (sysdep_routines): Move recvmmsg and sendmmsg...
9552 * socket/Makefile (routines): ... here.
9553 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9554 (GLIBC_PRIVATE): Add __sendmmsg.
9555 * include/sys/socket.h (__sendmmsg): Add declarations.
9556 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9557 sendmmsg.
9558
cf9a5d18
JM
95592012-11-20 Joseph Myers <joseph@codesourcery.com>
9560
9561 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9562 variable I1 with __attribute__ ((unused)).
9563 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9564
ecd4caf9
JM
95652012-11-19 Joseph Myers <joseph@codesourcery.com>
9566
be14d48f
JM
9567 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9568 DUMMY variables with __attribute__ ((unused)).
9569
ecd4caf9
JM
9570 * bits/byteswap.h: Include <bits/types.h>.
9571 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9572
986cab95
PT
95732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9574
9575 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9576 string_t. Do not manually set errno.
9577 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9578 length with __strnlen. Make sure to both set errno and return it on
9579 failure.
9580
6d33cc9d
DM
95812012-11-19 David S. Miller <davem@davemloft.net>
9582
9583 With help from Joseph Myers.
9584 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9585 very large arguments properly.
9586 * math/libm-test.inc (atan_test): New tests.
9587 (atan2_test): New tests.
9588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9590
ee663277
JM
95912012-11-19 Joseph Myers <joseph@codesourcery.com>
9592
877f2d8e
JM
9593 [BZ #14856]
9594 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9595 Define to 3.
9596
116fc08a
JM
9597 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9598 [POSIX] (EADDRNOTAVAIL): Likewise.
9599 [POSIX] (EAFNOSUPPORT): Likewise.
9600 [POSIX] (EALREADY): Likewise.
9601 [POSIX] (ECONNABORTED): Likewise.
9602 [POSIX] (ECONNREFUSED): Likewise.
9603 [POSIX] (ECONNRESET): Likewise.
9604 [POSIX] (EDESTADDRREQ): Likewise.
9605 [POSIX] (EDQUOT): Likewise.
9606 [POSIX] (EHOSTUNREACH): Likewise.
9607 [POSIX] (EIDRM): Likewise.
9608 [POSIX] (EISCONN): Likewise.
9609 [POSIX] (ELOOP): Likewise.
9610 [POSIX] (EMULTIHOP): Likewise.
9611 [POSIX] (ENETDOWN): Likewise.
9612 [POSIX] (ENETUNREACH): Likewise.
9613 [POSIX] (ENOBUFS): Likewise.
9614 [POSIX] (ENODATA): Likewise.
9615 [POSIX] (ENOLINK): Likewise.
9616 [POSIX] (ENOMSG): Likewise.
9617 [POSIX] (ENOPROTOOPT): Likewise.
9618 [POSIX] (ENOSR): Likewise.
9619 [POSIX] (ENOSTR): Likewise.
9620 [POSIX] (ENOTCONN): Likewise.
9621 [POSIX] (ENOTSOCK): Likewise.
9622 [POSIX] (EOPNOTSUPP): Likewise.
9623 [POSIX] (EOVERFLOW): Likewise.
9624 [POSIX] (EPROTO): Likewise.
9625 [POSIX] (EPROTONOSUPPORT): Likewise.
9626 [POSIX] (EPROTOTYPE): Likewise.
9627 [POSIX] (ESTALE): Likewise.
9628 [POSIX] (ETIME): Likewise.
9629 [POSIX] (ETXTBSY): Likewise.
9630 [POSIX] (EWOULDBLOCK): Likewise.
9631 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9632 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9633 [POSIX] (SEEK_CUR): Likewise.
9634 [POSIX] (SEEK_END): Likewise.
9635 [POSIX || UNIX98] (mode_t): Do not require.
9636 [POSIX] (off_t): Likewise.
9637 [POSIX] (pid_t): Likewise.
9638 [POSIX] (sys/stat.h): Do not allow header.
9639 [POSIX] (unistd.h): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9641 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9643 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9644 require.
9645 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9646 sigevent): Specify elements.
9647 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9648 entry.
9649 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9650 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9651
a483863f
JM
9652 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9653 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9654 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9655 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9656 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9657 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9658 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9659 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9661 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9662 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9663 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9664 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9665 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9666 Likewise.
9667 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9668 Likewise.
9669 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9670 Likewise.
9671 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9672 Likewise.
9673 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9674 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9675 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9676 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9678 Specify lower bound on value.
9679 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9685 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9686 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9687 value.
9688 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9689 as optional.
9690 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9692 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9693 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9694 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9695 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9697 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9698 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9699 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9700 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9701 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9704 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9705 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9706 entry.
9707 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9708 optional.
9709 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9710 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9711 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9715 Likewise.
9716 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9721 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9722 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9723 as optional.
9724 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9728 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9729 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9730 specify as optional.
9731 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9734 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9735 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9736 [XPG3] (NL_LANGMAX): Likewise.
9737 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9738 [POSIX || XPG3] (NL_NMAX): Likewise.
9739 [POSIX || XPG3] (NL_SETMAX): Likewise.
9740 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9741 [XPG3] (NZERO): Likewise.
9742 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9743 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9744 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9745 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9746 (REG_ERANGE): Expect.
9747 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9748 optional-constant.
9749 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9750 Use (void) in prototype.
9751 [POSIX] (*_t): Allow.
9752 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9753 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9754 (WRDE_BADVAL): Expect.
9755
5ba924e3
JM
9756 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9757 expect.
9758 [XPG3 || XPG4] (O_RSYNC): Likewise.
9759 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9760 Likewise.
9761 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9762 [XPG3 || XPG4] (sigqueue): Likewise.
9763 [XPG3 || XPG4] (sigtimedwait): Likewise.
9764 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9765 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9766 [XPG3 || XPG4] (vsnprintf): Likewise.
9767 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9768 Likewise.
9769 [XPG3 || XPG4] (blksize_t): Likewise.
9770 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9771 Likewise.
9772 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9773 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9774 [XPG3 || XPG4] (struct itimerspec): Likewise.
9775 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9776 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9777 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9778 [XPG3 || XPG4] (clockid_t): Likewise.
9779 [XPG3 || XPG4] (timer_t): Likewise.
9780 [XPG3 || XPG4] (clock_getres): Likewise.
9781 [XPG3 || XPG4] (clock_gettime): Likewise.
9782 [XPG3 || XPG4] (clock_settime): Likewise.
9783 [XPG3 || XPG4] (nanosleep): Likewise.
9784 [XPG3 || XPG4] (timer_create): Likewise.
9785 [XPG3 || XPG4] (timer_delete): Likewise.
9786 [XPG3 || XPG4] (timer_gettime): Likewise.
9787 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9788 [XPG3 || XPG4] (timer_settime): Likewise.
9789 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9790 [XPG3 || XPG4] (getlogin_r): Likewise.
9791 [XPG3 || XPG4] (pread): Likewise.
9792 [XPG3 || XPG4] (pthread_atfork): Likewise.
9793 [XPG3 || XPG4] (pwrite): Likewise.
9794
ee663277
JM
9795 [BZ #14835]
9796 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9797 <bits/siginfo.h>.
9798
942caa16
PT
97992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9800
e19af380
PT
9801 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9802 finalizing MALLSTREAM.
9803
942caa16
PT
9804 * sysdeps/mach/hurd/syncfs.c: New file.
9805
cfde9b46
SP
98062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9807
9808 [BZ #14719]
9809 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9810 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9811 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9812 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9813 (_nss_dns_gethostbyname4_r): Likewise.
9814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9815 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9816
f6da27e5
PH
98172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9818
9819 [BZ #13763]
9820 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9821
6665d4a2
SM
98222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9823
1f51ee92
SM
9824 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9825 * elf/cache.c (print_entry): Print ",AArch64" for
9826 FLAG_AARCH64_LIB64
9827
6665d4a2
SM
9828 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9829 * elf/cache.c (print_entry): Print ",hard-float" for
9830 FLAG_ARM_LIBHF.
9831
05b227bd
DM
98322012-11-18 David S. Miller <davem@davemloft.net>
9833
9834 With help from Joseph Myers.
9835 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9836 cutoff to 2**-13.
9837 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9838 cutoff to 2**-25.
9839 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9840 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9841 small.
9842 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9843 * math/libm-test.inc (y0_test): New tests.
9844 (y1_test): New tests.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9848
786b0b67
AS
98492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9850
9851 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9852 64-bit targets.
9853 * configure: Regenerated.
9854
8e18b86d
DM
98552012-11-17 David S. Miller <davem@davemloft.net>
9856
9857 [BZ #14811]
9858 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9859 nonzero exponents with absolute value below 0x1p-128 to +/-
9860 0x1p-128.
9861
531f1ae0
JM
98622012-11-17 Joseph Myers <joseph@codesourcery.com>
9863
12df29e2
JM
9864 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9865
150dc1a0
JM
9866 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9867
531f1ae0
JM
9868 * posix/getconf-speclist.c: New file.
9869 * posix/posix-envs.def: Likewise.
9870 * posix/confstr.c (START_ENV_GROUP): New macro.
9871 (END_ENV_GROUP): Likewise.
9872 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9873 (KNOWN_PRESENT_ENV_STRING): Likewise.
9874 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9875 (UNKNOWN_ENVIRONMENT): Likewise.
9876 (confstr): Include posix-envs.def instead of handling
9877 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9878 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9879 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9880 (END_ENV_GROUP): Likewise.
9881 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9882 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9883 (UNKNOWN_ENVIRONMENT): Likewise.
9884 (__sysconf): Include posix-envs.def instead of handling associated
9885 cases directly here.
9886 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9887 preprocessing getconf-speclist.c rather than running getconf or
9888 generating empty file.
9889
a93f9cbc
PT
98902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9891
9892 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9893
d64d9f87
AL
98942012-11-16 Andrej Lajovic <natrij@gmail.com>
9895
9896 [BZ #14672]
9897 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9898
447885eb
DM
98992012-11-16 David S. Miller <davem@davemloft.net>
9900
9901 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9902 smaller than LDBL_EPSILON/2.0L, just return xm1.
9903
bcbf9830
L
99042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9905
9906 * elf/tst-array1.c (init): Set constructor priority to 1000.
9907 (fini): Set destructor priority to 1000.
9908 * elf/tst-array2dep.c: Likewise.
9909
2b766585
SP
99102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9911
9912 [BZ #11741]
9913 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9914 (_IO_new_file_xsputn): Also return EOF if none of the input
9915 data was written when overflow failed.
9916 * libio/iopadn.c (_IO_padn): Likewise.
9917 * libio/iowpadn.c (_IO_wpadn): Likewise.
9918 * stdio-common/tst-put-error.c: Add copyright notice.
9919 (do_test): Add case for printing padded string.
9920 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9921 _IO_padn returned error.
9922 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9923 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9924 return EOF.
9925
b1848fde
SP
99262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9927
9928 * libio/libioP.h: Add comment note that the references to C++
9929 bits are now obsolete.
9930
2fd89785
MS
99312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9932
9933 * math/libm-test.inc (check_complex): Use asprintf.
9934
e3ea5409
JM
99352012-11-14 Joseph Myers <joseph@codesourcery.com>
9936
9937 * debug/pcprofiledump.c (print_version): Update copyright year.
9938 * malloc/memusagestat.c (print_version): Likewise.
9939
2e64d265
L
99402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 [BZ #14831]
9943 * elf/Makefile (tests): Add tst-audit8.
9944 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9945 ($(objpfx)tst-audit8.out): New target.
9946 (tst-audit8-ENV): New variable.
9947 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9948 audit if l_reloc_result is NULL.
9949 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9950 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9951 * elf/tst-audit8.c: New file.
9952
c485e4d2
MS
99532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9954
9955 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9956 * misc/Makefile (CFLAGS-select.c): Define.
9957 * posix/Makefile (CFLAGS-pause.c): Define.
9958
3a0d900a
DM
99592012-11-13 David S. Miller <davem@davemloft.net>
9960
9961 * crypt/Makefile: Move test targets after toplevel Rules
9962 inclusion. Grab any necessary sysdep routines when linking.
9963 * crypt/md5.c (md5_process_block): Remove define, we will always
9964 name it __md5_process_block.
9965 (md5_finish_ctx): Update md5_process_block call.
9966 (md5_stream): Likewise.
9967 (md5_process_bytes): Likewise.
9968 (md5_process_block): Rename to __md5_process_block and move to ...
9969 * crypt/md5-block.c: ... here.
9970 * crypt/sha256.c (sha256_process_block): Move to ...
9971 * crypt/sha256-block.c: ... here.
9972 * crypt/sha512.c (sha512_process_block): Move to ...
9973 * crypt/sha512-block.c: ... here.
9974 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9975 path.
9976 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9977 * sysdeps/sparc/sparc64/multiarch/Makefile
9978 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9979 crypt subdir.
9980 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9981 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9982 multiarch changes.
9983 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9984 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9985 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9986 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9987 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9988 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9989 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9990 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9991 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9992 file.
9993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9994 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9995 file.
9996 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9997
8ca89318
JM
99982012-11-13 Joseph Myers <joseph@codesourcery.com>
9999
e27d476a
JM
10000 * timezone/tzselect.ksh: Update from tzcode git revision
10001 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10002 * timezone/zdump.c: Likewise.
10003 * timezone/zic.c: Likewise.
10004 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10005 in TZVERSION setting, not $(PKGVERSION).
10006 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10007 REPORT_BUGS_TO settings.
10008
8ca89318
JM
10009 [BZ #14838]
10010 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10011 macro.
10012
47594329
MS
100132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10014
10015 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10016 detection to immediately after _FP_ROUND().
10017 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10018 bits are 0.
10019
640ac3f1
DM
100202012-11-11 David S. Miller <davem@davemloft.net>
10021
10022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10023 inttypes.h
10024 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10025 __close rather than their public counterparts.
10026
3d2577bb
JM
100272012-11-10 Joseph Myers <joseph@codesourcery.com>
10028
10029 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10030 file.
10031 [UNIX98] (sem_timedwait): Do not expect.
10032 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10033 [XPG4 || UNIX98] (sockatmark): Do not expect.
10034 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10035 (clock_getcpuclockid): Do not expect.
10036 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10037 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10038 Do not expect.
10039 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10040 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10041 [UNIX98] (vwscanf): Likewise.
10042 [UNIX98] (vswscanf): Likewise.
10043
fb1ae1ee
JM
100442012-11-09 Joseph Myers <joseph@codesourcery.com>
10045
9ec6f8bd
JM
10046 * timezone/version.h: Remove file.
10047 * timezone/README: Do not refer to version.h.
10048 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10049 $(objpfx)version.h.
10050 ($(objpfx)zdump.o): Likewise.
c3f81911 10051 ($(objpfx)version.h): New target.
9ec6f8bd 10052
0aa8f8a1
JM
10053 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10054 2012i.
10055 * timezone/README: Don't mention modification to tzselect.ksh.
10056 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10057 work on unmodified tzselect.ksh. Substitute version numbers in
10058 tzselect.ksh.
10059
4e87147f
JM
10060 * Makefile (format-me): Remove.
10061 (INSTALL): Adjust indentation. Use commands directly instead of
10062 using $(format-me).
10063
8b748aed
JM
10064 * aclocal.m4 (ACX_PKGVERSION): New macro.
10065 (ACX_BUGURL): Likewise.
10066 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10067 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10068 (REPORT_BUGS_TO): Likewise.
10069 * configure: Regenerated.
10070 * config.h.in (PKGVERSION): New macro.
10071 (REPORT_BUGS_TO): Likewise.
10072 * config.make.in (PKGVERSION): New variable.
10073 (PKGVERSION_TEXI): Likewise.
10074 (REPORT_BUGS_TO): Likewise.
10075 (REPORT_BUGS_TEXI): Likewise.
10076 * Makefile (format-me): Use -I$(common-objpfx)manual.
10077 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10078 ($(common-objpfx)manual/%): New target.
10079 (manual/%): Remove target.
10080 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10081 (print_version): Use PKGVERSION.
10082 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10083 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10084 and REPORT_BUGS_TO.
10085 ($(objpfx)xtrace): Likewise.
10086 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10087 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10088 (print_version): Use PKGVERSION.
10089 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10090 (do_version): Use PKGVERSION.
10091 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10092 REPORT_BUGS_TO.
10093 (common-ldd-rewrite): Likewise.
10094 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10095 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10096 (print_version): Use PKGVERSION.
10097 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10098 * elf/pldd.c (argp_program_bug_address): Remove variable.
10099 (more_help): New function.
10100 (argp): Use more_help.
10101 (print_version): Use PKGVERSION.
10102 * elf/sln.c (main): Use PKGVERSION.
10103 (usage): Use REPORT_BUGS_TO.
10104 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10105 (top level): Use PKGVERSION.
10106 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10107 (print_version): Use PKGVERSION.
10108 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10109 (print_version): Use PKGVERSION.
10110 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10111 (print_version): Use PKGVERSION.
10112 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10113 (print_version): Use PKGVERSION.
10114 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10115 (print_version): Use PKGVERSION.
10116 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10117 (print_version): Use PKGVERSION.
10118 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10119 and BUGURL.
10120 ($(objpfx)memusage): Likewise.
10121 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10122 (do_version): Use PKGVERSION.
10123 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10124 (print_version): Use PKGVERSION.
10125 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10126 ($PKGVERSION): New variable.
10127 ($REPORT_BUGS_TO): Likewise.
10128 (usage): Use $REPORT_BUGS_TO.
10129 (top level): Use $PKGVERSION.
10130 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10131 ($(objpfx)pkgvers.texi): New rule.
10132 ($(objpfx)stamp-pkgvers): Likewise.
10133 * manual/install.texi: Include pkgvers.texi.
10134 (--with-pkgversion): Document new configure option.
10135 (--with-bugurl): Likewise.
10136 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10137 than necessarily for this particular distribution. Use
10138 REPORT_BUGS_TO for where to report bugs.
10139 * INSTALL: Regenerated.
10140 * manual/libc.texinfo: Include pkgvers.texi.
10141 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10142 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10143 (print_version): Use PKGVERSION.
10144 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10145 (print_version): Use PKGVERSION.
10146 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10147 (print_version): Use PKGVERSION.
10148 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10149 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10150 macro.
10151 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10152 (print_version): Use PKGVERSION.
10153 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10154 (print_version): Use PKGVERSION.
10155 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10156 and PKGVERSION.
10157
92e4b6a9
JM
10158 * timezone/checktab.awk: Update from tzcode 2012i.
10159 * timezone/ialloc.c: Likewise.
10160 * timezone/private.h: Likewise.
10161 * timezone/scheck.c: Likewise.
10162 * timezone/tzfile.h: Likewise.
10163 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10164 (TZVERSION): Hardcode tzcode version number.
10165 * timezone/zdump.c: Update from tzcode 2012i.
10166 * timezone/zic.c: Likewise.
10167 * timezone/version.h: New file.
10168 * timezone/README: Describe version.h. Update upstream location.
10169
9bde902c
JM
10170 [BZ #14824]
10171 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10172 (mktemp): Enable declaration.
10173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10177 Likewise.
10178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10179 Likewise.
10180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10181 Likewise.
10182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10183 Likewise.
10184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10185 Likewise.
10186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10187 Likewise.
10188
fb1ae1ee
JM
10189 [BZ #14821]
10190 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10191 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10192 for copies of such integer values.
10193 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10194 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10195
2c1adbcb
AJ
101962012-11-09 Andreas Jaeger <aj@suse.de>
10197
10198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10199 definitions and declarations that are provided by
10200 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10201
d0f8457e
AK
102022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10203
3a235abb 10204 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10205 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10206 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10207 definition.
10208
57241e26
MS
102092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10210
10211 * elf/elf.h: Update comment before AArch64 relocations.
10212
60e8270d
DM
102132012-11-07 David S. Miller <davem@davemloft.net>
10214
10215 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10216 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10217 (__start_context): Declare.
10218 (__makecontext_ret): Delete.
10219 (__makecontext): Hook up __start_context instead of
10220 __makecontext_ret.
10221 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10222 (sysdep_routines): Add __start_context when in stdlib.
10223
0fbb0fbc
JM
102242012-11-07 Joseph Myers <joseph@codesourcery.com>
10225
10226 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10227 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10228 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10229 hardcoded "nm".
10230 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10231 (READELF): New variable. Use it instead of hardcoded "readelf".
10232
eb48db7e
L
102332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10236 * sysdeps/x86/Makefile: Here.
10237 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10238 * sysdeps/x86/tst-xmmymm.sh: This.
10239
05bcf62a
JM
102402012-11-07 Joseph Myers <joseph@codesourcery.com>
10241
c4b6cf53
JM
10242 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10243 expectations.
10244 [UNIX98] (pthread_barrier_t): Do not expect.
10245 [UNIX98] (pthread_barrierattr_t): Likewise.
10246 [UNIX98] (pthread_spinlock_t): Likewise.
10247 [UNIX98] (pthread_barrier_destroy): Likewise.
10248 [UNIX98] (pthread_barrier_init): Likewise.
10249 [UNIX98] (pthread_barrier_wait): Likewise.
10250 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10251 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10252 [UNIX98] (pthread_barrierattr_init): Likewise.
10253 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10254 [UNIX98] (pthread_getcpuclockid): Likewise.
10255 [UNIX98] (pthread_mutex_timedlock): Likewise.
10256 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10257 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10258 [UNIX98] (pthread_sigmask): Likewise.
10259 [UNIX98] (pthread_spin_destroy): Likewise.
10260 [UNIX98] (pthread_spin_init): Likewise.
10261 [UNIX98] (pthread_spin_lock): Likewise.
10262 [UNIX98] (pthread_spin_trylock): Likewise.
10263 [UNIX98] (pthread_spin_unlock): Likewise.
10264 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10265 Do not expect.
10266 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10268 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10269 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10270 [XPG3 || XPG4] (pthread_key_t): Likewise.
10271 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10272 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10273 [XPG3 || XPG4] (pthread_once_t): Likewise.
10274 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10275 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10277 [XPG3 || XPG4] (pthread_t): Likewise.
10278
cbe6e120
JM
10279 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10280 not expect.
10281 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10282
1b126443
JM
10283 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10284 Change function return type to int.
10285
b961a573
JM
10286 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10287 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10288 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10289 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10290 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10291 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10292 [!POSIX] (posix_madvise): Likewise.
10293 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10294 && !UNIX98].
10295 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10296 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10297 (mode_t): Likewise.
10298 (posix_mem_offset): Likewise.
10299 (posix_typed_mem_get_info): Likewise.
10300 (posix_typed_mem_open): Likewise.
10301
9e188909
JM
10302 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10303 Change condition to [XOPEN2K8].
10304
05bcf62a
JM
10305 * conform/conformtest.pl: Preprocess allow-header data with -x c
10306 instead of from stdin.
10307 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10308 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10309 [C99-based standards] (cerfc): Likewise.
10310 [C99-based standards] (cexp2): Likewise.
10311 [C99-based standards] (cexpm1): Likewise.
10312 [C99-based standards] (clog10): Likewise.
10313 [C99-based standards] (clog1p): Likewise.
10314 [C99-based standards] (clog2): Likewise.
10315 [C99-based standards] (clgamma): Likewise.
10316 [C99-based standards] (ctgamma): Likewise.
10317 [C99-based standards] (cerff): Likewise.
10318 [C99-based standards] (cerfcf): Likewise.
10319 [C99-based standards] (cexp2f): Likewise.
10320 [C99-based standards] (cexpm1f): Likewise.
10321 [C99-based standards] (clog10f): Likewise.
10322 [C99-based standards] (clog1pf): Likewise.
10323 [C99-based standards] (clog2f): Likewise.
10324 [C99-based standards] (clgammaf): Likewise.
10325 [C99-based standards] (ctgammaf): Likewise.
10326 [C99-based standards] (cerfl): Likewise.
10327 [C99-based standards] (cerfcl): Likewise.
10328 [C99-based standards] (cexp2l): Likewise.
10329 [C99-based standards] (cexpm1l): Likewise.
10330 [C99-based standards] (clog10l): Likewise.
10331 [C99-based standards] (clog1pl): Likewise.
10332 [C99-based standards] (clog2l): Likewise.
10333 [C99-based standards] (clgammal): Likewise.
10334 [C99-based standards] (ctgammal): Likewise.
10335 * conform/data/inttypes.h-data [C99-based standards]: Include
10336 stdint.h-data. Remove all expectations for stdint.h contents.
10337 [C99-based standards] (PRI*): Do not allow.
10338 [C99-based standards] (SCN*): Likewise.
10339 [C99-based standards] (*_t): Likewise.
10340 [C99-based-standards] (PRId8): Expect macro.
10341 [C99-based-standards] (PRIi8): Likewise.
10342 [C99-based-standards] (PRIo8): Likewise.
10343 [C99-based-standards] (PRIu8): Likewise.
10344 [C99-based-standards] (PRIx8): Likewise.
10345 [C99-based-standards] (PRIX8): Likewise.
10346 [C99-based-standards] (SCNd8): Likewise.
10347 [C99-based-standards] (SCNi8): Likewise.
10348 [C99-based-standards] (SCNo8): Likewise.
10349 [C99-based-standards] (SCNu8): Likewise.
10350 [C99-based-standards] (SCNx8): Likewise.
10351 [C99-based-standards] (PRIdLEAST8): Likewise.
10352 [C99-based-standards] (PRIiLEAST8): Likewise.
10353 [C99-based-standards] (PRIoLEAST8): Likewise.
10354 [C99-based-standards] (PRIuLEAST8): Likewise.
10355 [C99-based-standards] (PRIxLEAST8): Likewise.
10356 [C99-based-standards] (PRIXLEAST8): Likewise.
10357 [C99-based-standards] (SCNdLEAST8): Likewise.
10358 [C99-based-standards] (SCNiLEAST8): Likewise.
10359 [C99-based-standards] (SCNoLEAST8): Likewise.
10360 [C99-based-standards] (SCNuLEAST8): Likewise.
10361 [C99-based-standards] (SCNxLEAST8): Likewise.
10362 [C99-based-standards] (PRIdFAST8): Likewise.
10363 [C99-based-standards] (PRIiFAST8): Likewise.
10364 [C99-based-standards] (PRIoFAST8): Likewise.
10365 [C99-based-standards] (PRIuFAST8): Likewise.
10366 [C99-based-standards] (PRIxFAST8): Likewise.
10367 [C99-based-standards] (PRIXFAST8): Likewise.
10368 [C99-based-standards] (SCNdFAST8): Likewise.
10369 [C99-based-standards] (SCNiFAST8): Likewise.
10370 [C99-based-standards] (SCNoFAST8): Likewise.
10371 [C99-based-standards] (SCNuFAST8): Likewise.
10372 [C99-based-standards] (SCNxFAST8): Likewise.
10373 [C99-based-standards] (PRId16): Likewise.
10374 [C99-based-standards] (PRIi16): Likewise.
10375 [C99-based-standards] (PRIo16): Likewise.
10376 [C99-based-standards] (PRIu16): Likewise.
10377 [C99-based-standards] (PRIx16): Likewise.
10378 [C99-based-standards] (PRIX16): Likewise.
10379 [C99-based-standards] (SCNd16): Likewise.
10380 [C99-based-standards] (SCNi16): Likewise.
10381 [C99-based-standards] (SCNo16): Likewise.
10382 [C99-based-standards] (SCNu16): Likewise.
10383 [C99-based-standards] (SCNx16): Likewise.
10384 [C99-based-standards] (PRIdLEAST16): Likewise.
10385 [C99-based-standards] (PRIiLEAST16): Likewise.
10386 [C99-based-standards] (PRIoLEAST16): Likewise.
10387 [C99-based-standards] (PRIuLEAST16): Likewise.
10388 [C99-based-standards] (PRIxLEAST16): Likewise.
10389 [C99-based-standards] (PRIXLEAST16): Likewise.
10390 [C99-based-standards] (SCNdLEAST16): Likewise.
10391 [C99-based-standards] (SCNiLEAST16): Likewise.
10392 [C99-based-standards] (SCNoLEAST16): Likewise.
10393 [C99-based-standards] (SCNuLEAST16): Likewise.
10394 [C99-based-standards] (SCNxLEAST16): Likewise.
10395 [C99-based-standards] (PRIdFAST16): Likewise.
10396 [C99-based-standards] (PRIiFAST16): Likewise.
10397 [C99-based-standards] (PRIoFAST16): Likewise.
10398 [C99-based-standards] (PRIuFAST16): Likewise.
10399 [C99-based-standards] (PRIxFAST16): Likewise.
10400 [C99-based-standards] (PRIXFAST16): Likewise.
10401 [C99-based-standards] (SCNdFAST16): Likewise.
10402 [C99-based-standards] (SCNiFAST16): Likewise.
10403 [C99-based-standards] (SCNoFAST16): Likewise.
10404 [C99-based-standards] (SCNuFAST16): Likewise.
10405 [C99-based-standards] (SCNxFAST16): Likewise.
10406 [C99-based-standards] (PRId32): Likewise.
10407 [C99-based-standards] (PRIi32): Likewise.
10408 [C99-based-standards] (PRIo32): Likewise.
10409 [C99-based-standards] (PRIu32): Likewise.
10410 [C99-based-standards] (PRIx32): Likewise.
10411 [C99-based-standards] (PRIX32): Likewise.
10412 [C99-based-standards] (SCNd32): Likewise.
10413 [C99-based-standards] (SCNi32): Likewise.
10414 [C99-based-standards] (SCNo32): Likewise.
10415 [C99-based-standards] (SCNu32): Likewise.
10416 [C99-based-standards] (SCNx32): Likewise.
10417 [C99-based-standards] (PRIdLEAST32): Likewise.
10418 [C99-based-standards] (PRIiLEAST32): Likewise.
10419 [C99-based-standards] (PRIoLEAST32): Likewise.
10420 [C99-based-standards] (PRIuLEAST32): Likewise.
10421 [C99-based-standards] (PRIxLEAST32): Likewise.
10422 [C99-based-standards] (PRIXLEAST32): Likewise.
10423 [C99-based-standards] (SCNdLEAST32): Likewise.
10424 [C99-based-standards] (SCNiLEAST32): Likewise.
10425 [C99-based-standards] (SCNoLEAST32): Likewise.
10426 [C99-based-standards] (SCNuLEAST32): Likewise.
10427 [C99-based-standards] (SCNxLEAST32): Likewise.
10428 [C99-based-standards] (PRIdFAST32): Likewise.
10429 [C99-based-standards] (PRIiFAST32): Likewise.
10430 [C99-based-standards] (PRIoFAST32): Likewise.
10431 [C99-based-standards] (PRIuFAST32): Likewise.
10432 [C99-based-standards] (PRIxFAST32): Likewise.
10433 [C99-based-standards] (PRIXFAST32): Likewise.
10434 [C99-based-standards] (SCNdFAST32): Likewise.
10435 [C99-based-standards] (SCNiFAST32): Likewise.
10436 [C99-based-standards] (SCNoFAST32): Likewise.
10437 [C99-based-standards] (SCNuFAST32): Likewise.
10438 [C99-based-standards] (SCNxFAST32): Likewise.
10439 [C99-based-standards] (PRId64): Likewise.
10440 [C99-based-standards] (PRIi64): Likewise.
10441 [C99-based-standards] (PRIo64): Likewise.
10442 [C99-based-standards] (PRIu64): Likewise.
10443 [C99-based-standards] (PRIx64): Likewise.
10444 [C99-based-standards] (PRIX64): Likewise.
10445 [C99-based-standards] (SCNd64): Likewise.
10446 [C99-based-standards] (SCNi64): Likewise.
10447 [C99-based-standards] (SCNo64): Likewise.
10448 [C99-based-standards] (SCNu64): Likewise.
10449 [C99-based-standards] (SCNx64): Likewise.
10450 [C99-based-standards] (PRIdLEAST64): Likewise.
10451 [C99-based-standards] (PRIiLEAST64): Likewise.
10452 [C99-based-standards] (PRIoLEAST64): Likewise.
10453 [C99-based-standards] (PRIuLEAST64): Likewise.
10454 [C99-based-standards] (PRIxLEAST64): Likewise.
10455 [C99-based-standards] (PRIXLEAST64): Likewise.
10456 [C99-based-standards] (SCNdLEAST64): Likewise.
10457 [C99-based-standards] (SCNiLEAST64): Likewise.
10458 [C99-based-standards] (SCNoLEAST64): Likewise.
10459 [C99-based-standards] (SCNuLEAST64): Likewise.
10460 [C99-based-standards] (SCNxLEAST64): Likewise.
10461 [C99-based-standards] (PRIdFAST64): Likewise.
10462 [C99-based-standards] (PRIiFAST64): Likewise.
10463 [C99-based-standards] (PRIoFAST64): Likewise.
10464 [C99-based-standards] (PRIuFAST64): Likewise.
10465 [C99-based-standards] (PRIxFAST64): Likewise.
10466 [C99-based-standards] (PRIXFAST64): Likewise.
10467 [C99-based-standards] (SCNdFAST64): Likewise.
10468 [C99-based-standards] (SCNiFAST64): Likewise.
10469 [C99-based-standards] (SCNoFAST64): Likewise.
10470 [C99-based-standards] (SCNuFAST64): Likewise.
10471 [C99-based-standards] (SCNxFAST64): Likewise.
10472 [C99-based-standards] (PRIdMAX): Likewise.
10473 [C99-based-standards] (PRIiMAX): Likewise.
10474 [C99-based-standards] (PRIoMAX): Likewise.
10475 [C99-based-standards] (PRIuMAX): Likewise.
10476 [C99-based-standards] (PRIxMAX): Likewise.
10477 [C99-based-standards] (PRIXMAX): Likewise.
10478 [C99-based-standards] (SCNdMAX): Likewise.
10479 [C99-based-standards] (SCNiMAX): Likewise.
10480 [C99-based-standards] (SCNoMAX): Likewise.
10481 [C99-based-standards] (SCNuMAX): Likewise.
10482 [C99-based-standards] (SCNxMAX): Likewise.
10483 [C99-based-standards] (PRIdPTR): Likewise.
10484 [C99-based-standards] (PRIiPTR): Likewise.
10485 [C99-based-standards] (PRIoPTR): Likewise.
10486 [C99-based-standards] (PRIuPTR): Likewise.
10487 [C99-based-standards] (PRIxPTR): Likewise.
10488 [C99-based-standards] (PRIXPTR): Likewise.
10489 [C99-based-standards] (SCNdPTR): Likewise.
10490 [C99-based-standards] (SCNiPTR): Likewise.
10491 [C99-based-standards] (SCNoPTR): Likewise.
10492 [C99-based-standards] (SCNuPTR): Likewise.
10493 [C99-based-standards] (SCNxPTR): Likewise.
10494 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10495 allow.
10496 * conform/data/stdint.h-data: Update comments to clarify
10497 requirements.
10498 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10499 type.
10500 [C99-based standards] (INT8_MAX): Likewise.
10501 [C99-based standards] (INT16_MIN): Likewise.
10502 [C99-based standards] (INT16_MAX): Likewise.
10503 [C99-based standards] (INT32_MIN): Likewise.
10504 [C99-based standards] (INT32_MAX): Likewise.
10505 [C99-based standards] (INT64_MIN): Likewise.
10506 [C99-based standards] (INT64_MAX): Likewise.
10507 [C99-based standards] (UINT8_MAX): Likewise.
10508 [C99-based standards] (UINT16_MAX): Likewise.
10509 [C99-based standards] (UINT32_MAX): Likewise.
10510 [C99-based standards] (UINT64_MAX): Likewise.
10511 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10512 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10513 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10514 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10515 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10516 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10517 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10518 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10519 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10520 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10521 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10522 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10523 [C99-based standards] (INT_FAST8_MIN): Likewise.
10524 [C99-based standards] (INT_FAST8_MAX): Likewise.
10525 [C99-based standards] (INT_FAST16_MIN): Likewise.
10526 [C99-based standards] (INT_FAST16_MAX): Likewise.
10527 [C99-based standards] (INT_FAST32_MIN): Likewise.
10528 [C99-based standards] (INT_FAST32_MAX): Likewise.
10529 [C99-based standards] (INT_FAST64_MIN): Likewise.
10530 [C99-based standards] (INT_FAST64_MAX): Likewise.
10531 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10532 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10533 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10534 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10535 [C99-based standards] (INTPTR_MIN): Likewise.
10536 [C99-based standards] (INTPTR_MAX): Likewise.
10537 [C99-based standards] (UINTPTR_MAX): Likewise.
10538 [C99-based standards] (INTMAX_MIN): Likewise.
10539 [C99-based standards] (INTMAX_MAX): Likewise.
10540 [C99-based standards] (UINTMAX_MAX): Likewise.
10541 [C99-based standards] (PTRDIFF_MIN): Likewise.
10542 [C99-based standards] (PTRDIFF_MAX): Likewise.
10543 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10544 [C99-based standards] (SIZE_MAX): Likewise.
10545 [C99-based standards] (WCHAR_MAX): Likewise.
10546 [C99-based standards] (WINT_MAX): Likewise.
10547 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10548 constraint on value.
10549 [C99-based standards] (WCHAR_MIN): Likewise.
10550 [C99-based standards] (WINT_MIN): Likewise.
10551 [C99-based standards] (*_t): Allow.
10552 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10553 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10554 Include math.h-data and complex.h-data. Remove all expectations
10555 of math.h and complex.h contents.
10556 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10557 at end of line.
10558 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10559 (struct tm): Expect tag.
10560 [C99-based-standards] (wcstof): Expect function.
10561 [C99-based-standards] (wcstold): Likewise.
10562 [C99-based-standards] (wcstoll): Likewise.
10563 [C99-based-standards] (wcstoull): Likewise.
10564 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10565 macro-int-constant. Specify type.
10566 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10567 constraint on value.
10568 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10569 Specify type.
10570 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10571 Specify value.
10572 [ISO C standards]: Do not allow headers.
10573 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10574 wcs[abcdefghijklmnopqrstuvwxyz]*.
10575 [ISO C standards] (*_t): Do not allow.
10576 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10577 Expect function.
10578 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10579 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10580 Specify type.
10581 [ISO C standards]: Do not allow headers.
10582 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10583 is[abcdefghijklmnopqrstuvwxyz]*.
10584 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10585 to[abcdefghijklmnopqrstuvwxyz]*.
10586 [ISO C standards] (*_t): Do not allow.
10587 * conform/data/stdalign.h-data: New file.
10588 * conform/data/stdbool.h-data: Likewise.
10589 * conform/data/stdnoreturn.h-data: Likewise.
10590
7514feb8
RM
105912012-11-07 Roland McGrath <roland@hack.frob.com>
10592
10593 [BZ #14815]
10594 * manual/filesys.texi (Directory Entries): Typo fix.
10595 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10596
19b2ecfc
MS
105972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10598
10599 * elf/elf.h (EM_AARCH64): New macro.
10600 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10601 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10602 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10603 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10604 (R_AARCH64_TLSDESC): Likewise.
10605 (NT_ARM_TLS): Likewise.
10606 (NT_ARM_HW_BREAK): Likewise.
10607 (NT_ARM_HW_WATCH): Likewise.
10608
60e235ee
JM
106092012-11-07 Joseph Myers <joseph@codesourcery.com>
10610
10611 [BZ #14811]
10612 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10613 (__ieee754_powl): Saturate nonzero exponents with absolute value
10614 below 0x1p-79 to +/- 0x1p-79.
10615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10616 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10617 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10618 nonzero exponents with absolute value below 0x1p-32 to +/-
10619 0x1p-32.
10620 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10621 (__ieee754_powl): Saturate nonzero exponents with absolute value
10622 below 0x1p-79 to +/- 0x1p-79.
10623 * math/libm-test.inc (pow_test): Add more tests.
10624
0ab234b7
AK
106252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10626
10627 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10628 _dl_s390_cap_flags with kernel. Increase string length.
10629 (_dl_s390_platforms): Add z196 and zEC12.
10630
45832f74
JM
106312012-11-07 Joseph Myers <joseph@codesourcery.com>
10632
10633 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10634 Change XOPEN21K to XOPEN2K.
10635
19218757
MK
106362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10637
10638 * string/memmove.c: Use memcpy when possible.
10639
c5f45721
AJ
106402012-11-06 Andreas Jaeger <aj@suse.de>
10641
10642 * po/eo.po: Update from translation team.
10643
82477c28
JM
106442012-11-06 Joseph Myers <joseph@codesourcery.com>
10645
10646 [BZ #14793]
10647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10648 exponent and small x and y exponents, scale x or y up. Increase
10649 by 2 the exponent used in scaling up.
10650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10652 * math/libm-test.inc (fma_test): Add more tests.
10653 (fma_test_towardzero): Likewise.
10654 (fma_test_downward): Likewise.
10655 (fma_test_upward): Likewise.
10656
99252c8c
JM
106572012-11-05 Joseph Myers <joseph@codesourcery.com>
10658
acfa885f
JM
10659 [BZ #14805]
10660 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10661 fenv_t *.
10662
99252c8c
JM
10663 [BZ #14801]
10664 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10665 namespace for names of struct fields.
10666 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10667 fenv_t fields.
10668 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10669 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10670
d6d98dea
ST
106712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10672
10673 [BZ #3665]
10674 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10675
e10bb107
TS
106762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10677
10678 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10679 PTR_DEMANGLE.
10680
10681 [BZ #5246]
10682 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10683 PTR_DEMANGLE.
10684
a0c2940d
JM
106852012-11-04 Joseph Myers <joseph@codesourcery.com>
10686
10687 [BZ #14797]
10688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10689 definitely overflow as x * y not x * y + z.
10690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10692 * math/libm-test.inc (fma_test): Add more tests.
10693 (fma_test_towardzero): Likewise.
10694 (fma_test_downward): Likewise.
10695 (fma_test_upward): Likewise.
10696
b830319d
TS
106972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10698
10699 [BZ #157]
10700
10701 * include/stub-tag.h: Remove file.
10702 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10703 '#include' of it.
10704 * manual/maint.texi (Porting): Don't reference it.
10705 * Makerules ($(objpfx)stubs): Likewise.
10706 * dirent/closedir.c: Don't include <stub-tag.h>.
10707 * dirent/dirfd.c: Likewise.
10708 * dirent/fdopendir.c: Likewise.
10709 * dirent/getdents.c: Likewise.
10710 * dirent/getdents64.c: Likewise.
10711 * dirent/opendir.c: Likewise.
10712 * dirent/readdir.c: Likewise.
10713 * dirent/readdir64.c: Likewise.
10714 * dirent/readdir64_r.c: Likewise.
10715 * dirent/readdir_r.c: Likewise.
10716 * dirent/rewinddir.c: Likewise.
10717 * dirent/seekdir.c: Likewise.
10718 * dirent/telldir.c: Likewise.
10719 * gmon/profil.c: Likewise.
10720 * grp/setgroups.c: Likewise.
10721 * inet/if_index.c: Likewise.
10722 * io/access.c: Likewise.
10723 * io/chdir.c: Likewise.
10724 * io/chmod.c: Likewise.
10725 * io/chown.c: Likewise.
10726 * io/close.c: Likewise.
10727 * io/dup.c: Likewise.
10728 * io/dup2.c: Likewise.
10729 * io/dup3.c: Likewise.
10730 * io/euidaccess.c: Likewise.
10731 * io/faccessat.c: Likewise.
10732 * io/fchdir.c: Likewise.
10733 * io/fchmod.c: Likewise.
10734 * io/fchmodat.c: Likewise.
10735 * io/fchown.c: Likewise.
10736 * io/fchownat.c: Likewise.
10737 * io/fcntl.c: Likewise.
10738 * io/flock.c: Likewise.
10739 * io/fstatfs.c: Likewise.
10740 * io/fstatfs64.c: Likewise.
10741 * io/fstatvfs.c: Likewise.
10742 * io/fstatvfs64.c: Likewise.
10743 * io/futimens.c: Likewise.
10744 * io/fxstat.c: Likewise.
10745 * io/fxstat64.c: Likewise.
10746 * io/fxstatat.c: Likewise.
10747 * io/fxstatat64.c: Likewise.
10748 * io/getcwd.c: Likewise.
10749 * io/isatty.c: Likewise.
10750 * io/lchmod.c: Likewise.
10751 * io/lchown.c: Likewise.
10752 * io/link.c: Likewise.
10753 * io/linkat.c: Likewise.
10754 * io/lseek.c: Likewise.
10755 * io/lseek64.c: Likewise.
10756 * io/lxstat64.c: Likewise.
10757 * io/mkdir.c: Likewise.
10758 * io/mkdirat.c: Likewise.
10759 * io/mkfifo.c: Likewise.
10760 * io/mkfifoat.c: Likewise.
10761 * io/open.c: Likewise.
10762 * io/open64.c: Likewise.
10763 * io/openat.c: Likewise.
10764 * io/openat64.c: Likewise.
10765 * io/pipe.c: Likewise.
10766 * io/pipe2.c: Likewise.
10767 * io/poll.c: Likewise.
10768 * io/posix_fadvise.c: Likewise.
10769 * io/posix_fadvise64.c: Likewise.
10770 * io/posix_fallocate.c: Likewise.
10771 * io/posix_fallocate64.c: Likewise.
10772 * io/read.c: Likewise.
10773 * io/readlink.c: Likewise.
10774 * io/readlinkat.c: Likewise.
10775 * io/rmdir.c: Likewise.
10776 * io/sendfile.c: Likewise.
10777 * io/sendfile64.c: Likewise.
10778 * io/statfs.c: Likewise.
10779 * io/statfs64.c: Likewise.
10780 * io/statvfs.c: Likewise.
10781 * io/statvfs64.c: Likewise.
10782 * io/symlink.c: Likewise.
10783 * io/symlinkat.c: Likewise.
10784 * io/ttyname.c: Likewise.
10785 * io/ttyname_r.c: Likewise.
10786 * io/umask.c: Likewise.
10787 * io/unlink.c: Likewise.
10788 * io/unlinkat.c: Likewise.
10789 * io/utime.c: Likewise.
10790 * io/utimensat.c: Likewise.
10791 * io/write.c: Likewise.
10792 * io/xmknod.c: Likewise.
10793 * io/xmknodat.c: Likewise.
10794 * io/xstat.c: Likewise.
10795 * io/xstat64.c: Likewise.
10796 * login/getpt.c: Likewise.
10797 * login/grantpt.c: Likewise.
10798 * login/unlockpt.c: Likewise.
10799 * math/e_acoshl.c: Likewise.
10800 * math/e_acosl.c: Likewise.
10801 * math/e_asinl.c: Likewise.
10802 * math/e_atan2l.c: Likewise.
10803 * math/e_atanhl.c: Likewise.
10804 * math/e_coshl.c: Likewise.
10805 * math/e_expl.c: Likewise.
10806 * math/e_fmodl.c: Likewise.
10807 * math/e_gammal_r.c: Likewise.
10808 * math/e_hypotl.c: Likewise.
10809 * math/e_j0l.c: Likewise.
10810 * math/e_j1l.c: Likewise.
10811 * math/e_jnl.c: Likewise.
10812 * math/e_lgammal_r.c: Likewise.
10813 * math/e_log10l.c: Likewise.
10814 * math/e_log2l.c: Likewise.
10815 * math/e_logl.c: Likewise.
10816 * math/e_powl.c: Likewise.
10817 * math/e_rem_pio2l.c: Likewise.
10818 * math/e_sinhl.c: Likewise.
10819 * math/e_sqrtl.c: Likewise.
10820 * math/fclrexcpt.c: Likewise.
10821 * math/fedisblxcpt.c: Likewise.
10822 * math/feenablxcpt.c: Likewise.
10823 * math/fegetenv.c: Likewise.
10824 * math/fegetexcept.c: Likewise.
10825 * math/fegetround.c: Likewise.
10826 * math/feholdexcpt.c: Likewise.
10827 * math/fesetenv.c: Likewise.
10828 * math/fesetround.c: Likewise.
10829 * math/feupdateenv.c: Likewise.
10830 * math/fgetexcptflg.c: Likewise.
10831 * math/fraiseexcpt.c: Likewise.
10832 * math/fsetexcptflg.c: Likewise.
10833 * math/ftestexcept.c: Likewise.
10834 * math/k_cosl.c: Likewise.
10835 * math/k_rem_pio2l.c: Likewise.
10836 * math/k_sinl.c: Likewise.
10837 * math/k_tanl.c: Likewise.
10838 * math/s_asinhl.c: Likewise.
10839 * math/s_atanl.c: Likewise.
10840 * math/s_cbrtl.c: Likewise.
10841 * math/s_erfl.c: Likewise.
10842 * math/s_expm1l.c: Likewise.
10843 * math/s_log1pl.c: Likewise.
10844 * math/s_tanhl.c: Likewise.
10845 * misc/acct.c: Likewise.
10846 * misc/brk.c: Likewise.
10847 * misc/chflags.c: Likewise.
10848 * misc/chroot.c: Likewise.
10849 * misc/fchflags.c: Likewise.
10850 * misc/fgetxattr.c: Likewise.
10851 * misc/flistxattr.c: Likewise.
10852 * misc/fremovexattr.c: Likewise.
10853 * misc/fsetxattr.c: Likewise.
10854 * misc/fsync.c: Likewise.
10855 * misc/ftruncate.c: Likewise.
10856 * misc/futimes.c: Likewise.
10857 * misc/futimesat.c: Likewise.
10858 * misc/getdomain.c: Likewise.
10859 * misc/getdtsz.c: Likewise.
10860 * misc/gethostid.c: Likewise.
10861 * misc/gethostname.c: Likewise.
10862 * misc/getloadavg.c: Likewise.
10863 * misc/getpagesize.c: Likewise.
10864 * misc/getsysstats.c: Likewise.
10865 * misc/getxattr.c: Likewise.
10866 * misc/gtty.c: Likewise.
10867 * misc/ioctl.c: Likewise.
10868 * misc/lgetxattr.c: Likewise.
10869 * misc/listxattr.c: Likewise.
10870 * misc/llistxattr.c: Likewise.
10871 * misc/lremovexattr.c: Likewise.
10872 * misc/lsetxattr.c: Likewise.
10873 * misc/lutimes.c: Likewise.
10874 * misc/madvise.c: Likewise.
10875 * misc/mincore.c: Likewise.
10876 * misc/mlock.c: Likewise.
10877 * misc/mlockall.c: Likewise.
10878 * misc/mmap.c: Likewise.
10879 * misc/mprotect.c: Likewise.
10880 * misc/msync.c: Likewise.
10881 * misc/munlock.c: Likewise.
10882 * misc/munlockall.c: Likewise.
10883 * misc/munmap.c: Likewise.
10884 * misc/preadv.c: Likewise.
10885 * misc/preadv64.c: Likewise.
10886 * misc/ptrace.c: Likewise.
10887 * misc/pwritev.c: Likewise.
10888 * misc/pwritev64.c: Likewise.
10889 * misc/readv.c: Likewise.
10890 * misc/reboot.c: Likewise.
10891 * misc/remap_file_pages.c: Likewise.
10892 * misc/removexattr.c: Likewise.
10893 * misc/revoke.c: Likewise.
10894 * misc/select.c: Likewise.
10895 * misc/setdomain.c: Likewise.
10896 * misc/setegid.c: Likewise.
10897 * misc/seteuid.c: Likewise.
10898 * misc/sethostid.c: Likewise.
10899 * misc/sethostname.c: Likewise.
10900 * misc/setregid.c: Likewise.
10901 * misc/setreuid.c: Likewise.
10902 * misc/setxattr.c: Likewise.
10903 * misc/sstk.c: Likewise.
10904 * misc/stty.c: Likewise.
10905 * misc/swapoff.c: Likewise.
10906 * misc/swapon.c: Likewise.
10907 * misc/sync.c: Likewise.
10908 * misc/syncfs.c: Likewise.
10909 * misc/syscall.c: Likewise.
10910 * misc/truncate.c: Likewise.
10911 * misc/ualarm.c: Likewise.
10912 * misc/usleep.c: Likewise.
10913 * misc/ustat.c: Likewise.
10914 * misc/utimes.c: Likewise.
10915 * misc/vhangup.c: Likewise.
10916 * misc/writev.c: Likewise.
10917 * posix/_exit.c: Likewise.
10918 * posix/alarm.c: Likewise.
10919 * posix/execve.c: Likewise.
10920 * posix/fexecve.c: Likewise.
10921 * posix/fork.c: Likewise.
10922 * posix/fpathconf.c: Likewise.
10923 * posix/getaddrinfo.c: Likewise.
10924 * posix/getegid.c: Likewise.
10925 * posix/geteuid.c: Likewise.
10926 * posix/getgid.c: Likewise.
10927 * posix/getgroups.c: Likewise.
10928 * posix/getlogin.c: Likewise.
10929 * posix/getlogin_r.c: Likewise.
10930 * posix/getpgid.c: Likewise.
10931 * posix/getpid.c: Likewise.
10932 * posix/getppid.c: Likewise.
10933 * posix/getresgid.c: Likewise.
10934 * posix/getresuid.c: Likewise.
10935 * posix/getsid.c: Likewise.
10936 * posix/getuid.c: Likewise.
10937 * posix/glob64.c: Likewise.
10938 * posix/nanosleep.c: Likewise.
10939 * posix/pathconf.c: Likewise.
10940 * posix/pause.c: Likewise.
10941 * posix/posix_madvise.c: Likewise.
10942 * posix/pread.c: Likewise.
10943 * posix/pread64.c: Likewise.
10944 * posix/pwrite.c: Likewise.
10945 * posix/pwrite64.c: Likewise.
10946 * posix/sched_getaffinity.c: Likewise.
10947 * posix/sched_getp.c: Likewise.
10948 * posix/sched_gets.c: Likewise.
10949 * posix/sched_primax.c: Likewise.
10950 * posix/sched_primin.c: Likewise.
10951 * posix/sched_rr_gi.c: Likewise.
10952 * posix/sched_setaffinity.c: Likewise.
10953 * posix/sched_setp.c: Likewise.
10954 * posix/sched_sets.c: Likewise.
10955 * posix/sched_yield.c: Likewise.
10956 * posix/setgid.c: Likewise.
10957 * posix/setlogin.c: Likewise.
10958 * posix/setpgid.c: Likewise.
10959 * posix/setresgid.c: Likewise.
10960 * posix/setresuid.c: Likewise.
10961 * posix/setsid.c: Likewise.
10962 * posix/setuid.c: Likewise.
10963 * posix/sleep.c: Likewise.
10964 * posix/spawni.c: Likewise.
10965 * posix/sysconf.c: Likewise.
10966 * posix/times.c: Likewise.
10967 * posix/wait.c: Likewise.
10968 * posix/wait3.c: Likewise.
10969 * posix/wait4.c: Likewise.
10970 * posix/waitpid.c: Likewise.
10971 * resolv/gai_sigqueue.c: Likewise.
10972 * resource/getpriority.c: Likewise.
10973 * resource/getrlimit.c: Likewise.
10974 * resource/getrusage.c: Likewise.
10975 * resource/nice.c: Likewise.
10976 * resource/setpriority.c: Likewise.
10977 * resource/setrlimit.c: Likewise.
10978 * resource/ulimit.c: Likewise.
10979 * rt/aio_cancel.c: Likewise.
10980 * rt/aio_fsync.c: Likewise.
10981 * rt/aio_read.c: Likewise.
10982 * rt/aio_sigqueue.c: Likewise.
10983 * rt/aio_suspend.c: Likewise.
10984 * rt/aio_write.c: Likewise.
10985 * rt/clock_getres.c: Likewise.
10986 * rt/clock_gettime.c: Likewise.
10987 * rt/clock_nanosleep.c: Likewise.
10988 * rt/clock_settime.c: Likewise.
10989 * rt/lio_listio.c: Likewise.
10990 * rt/mq_close.c: Likewise.
10991 * rt/mq_getattr.c: Likewise.
10992 * rt/mq_notify.c: Likewise.
10993 * rt/mq_open.c: Likewise.
10994 * rt/mq_receive.c: Likewise.
10995 * rt/mq_send.c: Likewise.
10996 * rt/mq_setattr.c: Likewise.
10997 * rt/mq_timedreceive.c: Likewise.
10998 * rt/mq_timedsend.c: Likewise.
10999 * rt/mq_unlink.c: Likewise.
11000 * rt/shm_open.c: Likewise.
11001 * rt/shm_unlink.c: Likewise.
11002 * rt/timer_create.c: Likewise.
11003 * rt/timer_delete.c: Likewise.
11004 * rt/timer_getoverr.c: Likewise.
11005 * rt/timer_gettime.c: Likewise.
11006 * rt/timer_settime.c: Likewise.
11007 * setjmp/__longjmp.c: Likewise.
11008 * setjmp/setjmp.c: Likewise.
11009 * signal/kill.c: Likewise.
11010 * signal/killpg.c: Likewise.
11011 * signal/raise.c: Likewise.
11012 * signal/sigaction.c: Likewise.
11013 * signal/sigaltstack.c: Likewise.
11014 * signal/sigblock.c: Likewise.
11015 * signal/sigignore.c: Likewise.
11016 * signal/sigintr.c: Likewise.
11017 * signal/signal.c: Likewise.
11018 * signal/sigpause.c: Likewise.
11019 * signal/sigpending.c: Likewise.
11020 * signal/sigqueue.c: Likewise.
11021 * signal/sigreturn.c: Likewise.
11022 * signal/sigset.c: Likewise.
11023 * signal/sigsetmask.c: Likewise.
11024 * signal/sigstack.c: Likewise.
11025 * signal/sigsuspend.c: Likewise.
11026 * signal/sigtimedwait.c: Likewise.
11027 * signal/sigvec.c: Likewise.
11028 * signal/sigwait.c: Likewise.
11029 * signal/sigwaitinfo.c: Likewise.
11030 * signal/sysv_signal.c: Likewise.
11031 * socket/accept.c: Likewise.
11032 * socket/accept4.c: Likewise.
11033 * socket/bind.c: Likewise.
11034 * socket/connect.c: Likewise.
11035 * socket/getpeername.c: Likewise.
11036 * socket/getsockname.c: Likewise.
11037 * socket/getsockopt.c: Likewise.
11038 * socket/isfdtype.c: Likewise.
11039 * socket/listen.c: Likewise.
11040 * socket/recv.c: Likewise.
11041 * socket/recvfrom.c: Likewise.
11042 * socket/recvmsg.c: Likewise.
11043 * socket/send.c: Likewise.
11044 * socket/sendmsg.c: Likewise.
11045 * socket/sendto.c: Likewise.
11046 * socket/setsockopt.c: Likewise.
11047 * socket/shutdown.c: Likewise.
11048 * socket/sockatmark.c: Likewise.
11049 * socket/socket.c: Likewise.
11050 * socket/socketpair.c: Likewise.
11051 * stdio-common/ctermid.c: Likewise.
11052 * stdio-common/cuserid.c: Likewise.
11053 * stdio-common/remove.c: Likewise.
11054 * stdio-common/rename.c: Likewise.
11055 * stdio-common/renameat.c: Likewise.
11056 * stdio-common/tempname.c: Likewise.
11057 * stdlib/getcontext.c: Likewise.
11058 * stdlib/makecontext.c: Likewise.
11059 * stdlib/setcontext.c: Likewise.
11060 * stdlib/swapcontext.c: Likewise.
11061 * stdlib/system.c: Likewise.
11062 * streams/fattach.c: Likewise.
11063 * streams/fdetach.c: Likewise.
11064 * streams/getmsg.c: Likewise.
11065 * streams/getpmsg.c: Likewise.
11066 * streams/putmsg.c: Likewise.
11067 * streams/putpmsg.c: Likewise.
11068 * sysdeps/unix/bsd/getpt.c: Likewise.
11069 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11070 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11071 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11073 Likewise.
11074 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11075 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11076 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11077 * sysvipc/msgctl.c: Likewise.
11078 * sysvipc/msgget.c: Likewise.
11079 * sysvipc/msgrcv.c: Likewise.
11080 * sysvipc/msgsnd.c: Likewise.
11081 * sysvipc/semctl.c: Likewise.
11082 * sysvipc/semget.c: Likewise.
11083 * sysvipc/semop.c: Likewise.
11084 * sysvipc/semtimedop.c: Likewise.
11085 * sysvipc/shmat.c: Likewise.
11086 * sysvipc/shmctl.c: Likewise.
11087 * sysvipc/shmdt.c: Likewise.
11088 * sysvipc/shmget.c: Likewise.
11089 * termios/tcdrain.c: Likewise.
11090 * termios/tcflow.c: Likewise.
11091 * termios/tcflush.c: Likewise.
11092 * termios/tcgetattr.c: Likewise.
11093 * termios/tcgetpgrp.c: Likewise.
11094 * termios/tcsendbrk.c: Likewise.
11095 * termios/tcsetattr.c: Likewise.
11096 * termios/tcsetpgrp.c: Likewise.
11097 * time/adjtime.c: Likewise.
11098 * time/clock.c: Likewise.
11099 * time/getitimer.c: Likewise.
11100 * time/gettimeofday.c: Likewise.
11101 * time/setitimer.c: Likewise.
11102 * time/settimeofday.c: Likewise.
11103 * time/stime.c: Likewise.
11104 * time/time.c: Likewise.
11105
111062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11107
a20492cf
PT
11108 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11109 /usr/old/bin.
11110
72e182e3
PT
11111 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11112 instead of spaces.
11113 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11114
fbeafede
JM
111152012-11-03 Joseph Myers <joseph@codesourcery.com>
11116
5b5b04d6
JM
11117 [BZ #14796]
11118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11119 FE_TONEAREST before applying Dekker multiplication and Knuth
11120 addition. Clear inexact exceptions and check for exact zero
11121 results afterwards.
11122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11125 * math/libm-test.inc (fma_test): Add more tests.
11126 (fma_test_towardzero): Likewise.
11127 (fma_test_downward): Likewise.
11128 (fma_test_upward): Likewise.
11129 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11130 function.
11131 (libc_fesetround): New macro.
11132 (libc_fesetroundf): Likewise.
11133 (libc_fesetroundl): Likewise.
11134 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11135 function.
11136 (libc_fesetround_387): Likewise.
11137 (libc_fesetroundf): New macro.
11138 (libc_fesetround): Likewise.
11139 (libc_fesetroundl): Likewise.
11140 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11141 function.
11142 (libc_fesetroundf): New macro.
11143 (libc_fesetround): Likewise.
11144 (libc_fesetroundl): Likewise.
11145 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11146 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11147 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11148 libm_hidden_ver.
11149 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11150 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11151 libm_hidden_def.
11152 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11153 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11154 libm_hidden_ver.
11155 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11156 libm_hidden_def.
11157
fbeafede
JM
11158 [BZ #3439]
11159 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11160 integer constant usable in #if and use that to give value to enum
11161 constant.
11162 (FE_DIVBYZERO): Likewise.
11163 (FE_UNDERFLOW): Likewise.
11164 (FE_OVERFLOW): Likewise.
11165 (FE_INVALID): Likewise.
11166 (FE_INVALID_SNAN): Likewise.
11167 (FE_INVALID_ISI): Likewise.
11168 (FE_INVALID_IDI): Likewise.
11169 (FE_INVALID_ZDZ): Likewise.
11170 (FE_INVALID_IMZ): Likewise.
11171 (FE_INVALID_COMPARE): Likewise.
11172 (FE_INVALID_SOFTWARE): Likewise.
11173 (FE_INVALID_SQRT): Likewise.
11174 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11175 (FE_TONEAREST): Likewise.
11176 (FE_TOWARDZERO): Likewise.
11177 (FE_UPWARD): Likewise.
11178 (FE_DOWNWARD): Likewise.
11179 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11180 (FE_DIVBYZERO): Likewise.
11181 (FE_OVERFLOW): Likewise.
11182 (FE_UNDERFLOW): Likewise.
11183 (FE_INEXACT): Likewise.
11184 (FE_TONEAREST): Likewise.
11185 (FE_DOWNWARD): Likewise.
11186 (FE_UPWARD): Likewise.
11187 (FE_TOWARDZERO): Likewise.
11188 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11189 (FE_UNDERFLOW): Likewise.
11190 (FE_OVERFLOW): Likewise.
11191 (FE_DIVBYZERO): Likewise.
11192 (FE_INVALID): Likewise.
11193 (FE_TONEAREST): Likewise.
11194 (FE_TOWARDZERO): Likewise.
11195 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11196 (FE_OVERFLOW): Likewise.
11197 (FE_UNDERFLOW): Likewise.
11198 (FE_DIVBYZERO): Likewise.
11199 (FE_INEXACT): Likewise.
11200 (FE_TONEAREST): Likewise.
11201 (FE_TOWARDZERO): Likewise.
11202 (FE_UPWARD): Likewise.
11203 (FE_DOWNWARD): Likewise.
11204 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11205 (FE_DIVBYZERO): Likewise.
11206 (FE_OVERFLOW): Likewise.
11207 (FE_UNDERFLOW): Likewise.
11208 (FE_INEXACT): Likewise.
11209 (FE_TONEAREST): Likewise.
11210 (FE_DOWNWARD): Likewise.
11211 (FE_UPWARD): Likewise.
11212 (FE_TOWARDZERO): Likewise.
11213
105ca950
CM
112142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11215
11216 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11217
a542b389
AS
112182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11219
11220 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11221 commands. Quote $PWD.
11222 (blacklist_exports): Don't use remove_newlines. Replace "declare
11223 -x" by "export".
11224 (remove_newlines): Remove.
11225
f62c8abc
L
112262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11229 * stdlib/stdlib.h (atof): Moved to ...
11230 * include/bits/stdlib-float.h: Here. New file.
11231 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11232 * stdlib/bits/stdlib-float.h: New file.
11233 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11234 -mno-sse -mno-mmx.
11235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11236 <xmmintrin.h>.
11237
0155d5b2
JM
112382012-11-02 Joseph Myers <joseph@codesourcery.com>
11239
a68d0680
JM
11240 * conform/conformtest.pl (@headers): Add fenv.h.
11241 * conform/data/fenv.h-data: New file.
11242 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11243 include of <math/fenv.h>.
11244
caf7f573
JM
11245 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11246 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11247 && !UNIX98]. Enables tests for XOPEN2K8.
11248 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11249 POSIX2008]: Likewise.
11250
6c073ad6
JM
11251 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11252 (struct rusage): Do not expect type or its members.
11253
0155d5b2
JM
11254 [BZ #3439]
11255 * math/math.h (FP_NAN): Define macro to integer constant usable in
11256 #if and use that to give value to enum constant.
11257 (FP_INFINITE): Likewise.
11258 (FP_ZERO): Likewise.
11259 (FP_SUBNORMAL): Likewise.
11260 (FP_NORMAL): Likewise.
11261
b5dcacb4
AS
112622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11263
11264 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11265 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11266 arguments.
11267
f7934be8
RM
112682012-11-02 Roland McGrath <roland@hack.frob.com>
11269
11270 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11271 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11272 autoconf-time if not.
11273 * configure.in: Remove AC_PREREQ.
11274
d7d08bde
TMQMF
112752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11276
11277 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11278 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11279 of the internal implementation.
11280
dcdae19a
JM
112812012-11-02 Joseph Myers <joseph@codesourcery.com>
11282
11283 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11284 except include of <misc/sys/syslog.h>.
11285
d6cffd3e
AS
112862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11287
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11289 function returns with a NULL context exit with zero.
11290
b3563932
TMQMF
112912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11292
11293 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11294
b288a93d
L
112952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11296
11297 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11298 (run_program_cmd): This.
11299 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11300 (tst_langinfo): New variable. Use it.
11301
a2421a68
SAS
113022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11303
11304 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11305 floating point opcodes.
11306
6f796e1b
TS
113072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11308
7402596b
TS
11309 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11310 variable.
11311
d0d4f868
TS
11312 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11313
6f796e1b
TS
11314 * sysdeps/mach/hurd/powerpc: Remove directory.
11315 * sysdeps/mach/powerpc: Likewise.
11316
4da224a2
AS
113172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11318
11319 * scripts/check-local-headers.sh: Ignore c++ headers.
11320
341dd673
TS
113212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11322
11323 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11324 __libc_cleanup_region_start argument.
11325
473611b2
JM
113262012-11-01 Joseph Myers <joseph@codesourcery.com>
11327
11328 [BZ #14784]
11329 [BZ #14785]
11330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11331 x * y using scaling, not as x * y + z.
11332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11333 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11334 * math/libm-test.inc (fma_test): Add more tests.
11335 (fma_test_towardzero): Likewise.
11336 (fma_test_downward): Likewise.
11337 (fma_test_upward): Likewise.
11338
4078da3d
TS
113392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11340
11341 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11342
903252aa
JM
113432012-10-31 Joseph Myers <joseph@codesourcery.com>
11344
11345 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11346 New variable.
11347
cbc818d0
TS
113482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11349
11350 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11351
5a03cb1e
AS
113522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11353
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11355 Fix sort order.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11357 Likewise.
11358
90aff2ff
TMQMF
113592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11360
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11362 Fix the order of the list for glibc 2.17.
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11364 Likewise.
11365
1818fcb7
AS
113662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11367
11368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11369
ef82f4da
JM
113702012-10-31 Joseph Myers <joseph@codesourcery.com>
11371
16a0e2ec
JM
11372 [BZ #14610]
11373 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11374 for low part of x being zero before using __atanl (y).
11375 * math/libm-test.inc (atan2_test): Add another test.
11376
0eb69512
JM
11377 * manual/install.texi (Configuring and compiling): Document
11378 general use of test-wrapper and test-wrapper-env.
11379 * INSTALL: Regenerated.
11380
ef82f4da
JM
11381 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11382 (__fma): Do not extract and scale down low bits on after-rounding
11383 systems when result rounded to normal precision would have normal
11384 exponent.
11385 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11386 (__fmal): Do not extract and scale down low bits on after-rounding
11387 systems when result rounded to normal precision would have normal
11388 exponent.
11389 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11390 (__fmal): Do not extract and scale down low bits on after-rounding
11391 systems when result rounded to normal precision would have normal
11392 exponent.
11393 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11394 macro.
11395 (fma_test): Add more tests.
11396 (fma_test_towardzero): Likewise.
11397 (fma_test_downward): Likewise.
11398 (fma_test_upward): Likewise.
11399
954ef0d9
L
114002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11401
11402 * sysdeps/i386/tininess.h: Renamed to ...
11403 * sysdeps/x86/tininess.h: This.
11404 * sysdeps/x86_64/tininess.h: Removed.
11405
df61ffb2
JM
114062012-10-30 Joseph Myers <joseph@codesourcery.com>
11407
11408 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11409 input. Use $(build-program-cmd).
11410 ($(objpfx)tst-array1-static.out): Likewise.
11411 ($(objpfx)tst-array2.out): Likewise.
11412 ($(objpfx)tst-array3.out): Likewise.
11413 ($(objpfx)tst-array4.out): Likewise.
11414 ($(objpfx)tst-array5.out): Likewise.
11415 ($(objpfx)tst-array5-static.out): Likewise.
11416
01767843
CM
114172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11418
47cc1490
CM
11419 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11420 if defined.
11421
01767843
CM
11422 * nss/nsswitch.h (nss_interface_function): Provide new
11423 macro for use with NSS functions.
11424 * grp/initgroups.c: Use new macro.
11425 * nss/getXXbyYY.c: Likewise.
11426 * nss/getXXbyYY_r.c: Likewise.
11427 * nss/getXXent.c: Likewise.
11428 * nss/getXXent_r.c: Likewise.
11429 * sysdeps/posix/getaddrinfo.c: Likewise.
11430
8321aa97
AJ
114312012-10-30 Andreas Jaeger <aj@suse.de>
11432
11433 * po/ru.po: Update Russion translation from translation project.
11434
2a27fd6d
JM
114352012-10-30 Joseph Myers <joseph@codesourcery.com>
11436
8627a232
JM
11437 [BZ #14152]
11438 [BZ #14783]
11439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11440 result and shift together with sticky bit instead of replicating
11441 round-to-nearest rounding.
11442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11444 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11445 missing underflow exceptions.
11446 (fma_test_towardzero): Add more tests.
11447 (fma_test_downward): Likewise.
11448 (fma_test_upward): Likewise.
11449
2a27fd6d
JM
11450 [BZ #14047]
11451 * sysdeps/generic/tininess.h: New file.
11452 * sysdeps/i386/tininess.h: Likewise.
11453 * sysdeps/sh/tininess.h: Likewise.
11454 * sysdeps/x86_64/tininess.h: Likewise.
11455 * stdlib/tst-strtod-underflow.c: Likewise.
11456 * stdlib/tst-tininess.c: Likewise.
11457 * stdlib/strtod_l.c: Include <tininess.h>.
11458 (round_and_return): Do not set errno for exact underflow cases.
11459 Force an underflow exception when setting errno for underflow.
11460 Determine underflow based on rounding to normal precision if
11461 TININESS_AFTER_ROUNDING.
11462 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11463 ERANGE for exact underflow cases.
11464 * stdlib/Makefile (tests): Add tst-tininess and
11465 tst-strtod-underflow.
11466 ($(objpfx)tst-tininess): Use $(link-libm).
11467 ($(objpfx)tst-strtod-underflow): Likewise.
11468
e7170363
AJ
114692012-10-30 Andreas Jaeger <aj@suse.de>
11470
e5088dc6
AJ
11471 [BZ#14767]
11472 * elf/Makefile (tests): Remove conditional for have-initfini-array
11473 since this is now always required and the variable does not exist
11474 anymore.
11475 (tests-static): Likewise.
11476 (modules-names): Likewise.
11477
e7170363 11478 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11479
11480 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11481 merged with constructor/destructor.
11482 (init_array): Likewise.
11483 * elf/tst-array2dep.c (fini_array): Likewise.
11484 (init_array): Likewise.
11485
60457d8a
MF
114862012-10-29 Mike Frysinger <vapier@gentoo.org>
11487
11488 * manual/message.texi: Delete @cartouche tags.
11489
8bece752
PT
114902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11491
94ce799f
PT
11492 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11493 EOPNOTSUPP.
11494 * sysdeps/mach/hurd/fsync.c: Likewise.
11495
8bece752
PT
11496 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11497 [_POSIX_REALTIME_SIGNALS]: Change condition to
11498 [_POSIX_REALTIME_SIGNALS > 0].
11499
86ebe6b1
AJ
115002012-10-27 Andreas Jaeger <aj@suse.de>
11501
11502 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11503 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11505 [__WORDSIZE != 64]: Likewise.
11506
54399c08
L
115072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11508
11509 * iconvdata/tst-table.sh: Remove ${SHELL}.
11510 * iconvdata/tst-tables.sh: Likewise.
11511
e2211bed
DM
115122012-10-25 David S. Miller <davem@davemloft.net>
11513
11514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11515 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11516 of strtoull.
11517
f303f97c
DM
11518 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11519 ifunc-impl-list.c
11520 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11521 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11522 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11523 file.
11524
1e9d84cd
RM
115252012-10-25 Roland McGrath <roland@hack.frob.com>
11526
11527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11528 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11529 __getdirentries.
11530
df381762
JM
115312012-10-25 Joseph Myers <joseph@codesourcery.com>
11532 Jim Blandy <jimb@codesourcery.com>
11533
11534 * scripts/cross-test-ssh.sh: New file.
11535 * manual/install.texi (Configuring and compiling): Document use of
11536 cross-test-ssh.sh.
11537 * INSTALL: Regenerated.
11538
bff64913
PT
115392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11540
11541 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11542 EOPNOTSUPP.
11543
25fe8932
JM
115442012-10-25 Joseph Myers <joseph@codesourcery.com>
11545
11546 * Makeconfig (run-program-prefix): Fix comment.
11547
cc1290d0
JM
115482012-10-24 Joseph Myers <joseph@codesourcery.com>
11549 Jim Blandy <jimb@codesourcery.com>
11550
11551 * Makeconfig (test-wrapper): New variable,
11552 (test-wrapper-env): Likewise.
11553 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11554 (run-built-tests): Define to yes.
11555 (run-program-prefix): Use $(test-wrapper).
11556 (built-program-cmd): Likewise.
11557 * Rules (make-test-out): Use $(test-wrapper-env) and
11558 $(host-built-program-cmd).
11559 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11560 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11561 tst-pathopt.sh.
11562 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11563 $(test-wrapper-env) to tst-rtld-load-self.sh.
11564 ($(objpfx)order2.out): Use $(test-wrapper).
11565 ($(objpfx)tst-initorder.out): Likewise.
11566 ($(objpfx)tst-initorder2.out): Likewise.
11567 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11568 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11569 (test_wrapper_env): New variable. Use it to run ld.so.
11570 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11571 Use it to run ld.so.
11572 (test_wrapper_env): Likewise.
11573 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11574 $(test-wrapper) to run-iconv-test.sh.
11575 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11576 (ICONV): Use $test_wrapper.
11577 * posix/Makefile ($(objpfx)globtest.out): Pass
11578 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11579 globtest.sh, not $(run-program-prefix).
11580 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11581 (test_wrapper): Likewise.
11582 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11583 set together with run_via_rtld_prefix.
11584 (run_program_prefix): Define in terms of test_wrapper and
11585 run_via_rtld_prefix.
11586
6e6249d0
RM
115872012-10-24 Roland McGrath <roland@hack.frob.com>
11588
11589 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11590 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11591 Targets removed.
11592
11593 [BZ #14743]
11594 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11595 Declare __clock_getres, __clock_gettime, __clock_settime,
11596 __clock_nanosleep, and __clock_getcpuclockid.
11597 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11598 Remove librt_hidden_def (clock_gettime).
11599 * sysdeps/unix/clock_gettime.c: Likewise.
11600 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11602 * rt/clock_getres.c: Define __clock_getres as an alias.
11603 * sysdeps/posix/clock_getres.c: Likewise.
11604 * rt/clock_settime.c: Define __clock_settime as an alias.
11605 * sysdeps/unix/clock_settime.c: Likewise.
11606 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11607 * sysdeps/unix/clock_nanosleep.c: Likewise.
11608 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11609 * rt/clock-compat.c: New file.
11610 * rt/Makefile (librt-routines): Add clock-compat and move
11611 $(clock-routines) to ...
11612 (routines): ... here, new variable.
11613 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11614 Don't add get_clockfreq here.
11615 * rt/Versions (libc: GLIBC_2.17): New version set.
11616 Add clock_* symbols here.
11617 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11619 (GLIBC_2.17): Add clock_* symbols.
11620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11624 Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11626 Likewise.
11627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11631 * NEWS: Mention the move.
11632
11633 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11634 Use __open, __read, __close rather than their public counterparts.
11635 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11636 (__get_clockfreq_via_cpuinfo): Likewise.
11637 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11638 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11639
11640 * config.h.in (HAVE_IFUNC): New #undef.
11641 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11642 was successful.
11643 * configure: Regenerated.
11644
0cae3f4b
MF
116452012-10-24 Mike Frysinger <vapier@gentoo.org>
11646
11647 * configure.in: Move READELF check to start of file.
11648 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11649 libc_cv_asm_gnu_indirect_function in the process.
11650 * configure: Regenerated.
11651
8175a253
MF
116522012-10-24 Mike Frysinger <vapier@gentoo.org>
11653
11654 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11655 send the output to /dev/null.
11656 (libc_cv_cc_with_libunwind): Likewise.
11657 (libc_cv_as_noexecstack): Likewise.
11658 * configure: Regenerate.
11659
0708a7d1
JM
116602012-10-24 Joseph Myers <joseph@codesourcery.com>
11661
10b40d85
JM
11662 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11663
0708a7d1
JM
11664 * posix/globtest.sh (TMPDIR): Do not set.
11665 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11666 (testout): Likewise.
11667
9fddec1a
AJ
116682012-10-24 Andreas Jaeger <aj@suse.de>
11669
3a8db22f
AJ
11670 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11671 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11672 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11673 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11674 posix_fadvise64, posix_fallocate64.
11675
9fddec1a
AJ
11676 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11677 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11678 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11679 Likewise.
11680 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11681 Likewise.
11682 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11683
11684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11685 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11686 <bits/fcntl-linux.h>.
11687 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11688
11689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11690 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11691 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11692 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11693 [__WORDSIZE != 64]: Likewise.
11694
ebfd1bbd
JM
116952012-10-23 Joseph Myers <joseph@codesourcery.com>
11696
03ac099f
JM
11697 * Makeconfig (run-built-tests): New variable.
11698 * Rules [$(cross-compiling) = yes]: Change condition to
11699 [$(run-built-tests) = no].
11700 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11701 to [$(run-built-tests) = yes].
11702 * elf/Makefile [$(cross-compiling) = no]: Likewise
11703 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11704 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11705 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11706 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11707 * io/Makefile [$(cross-compiling) = no]: Likewise.
11708 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11709 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11710 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11711 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11712 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11713 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11714 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11715 * string/Makefile [$(cross-compiling) = no]: Likewise.
11716
ebfd1bbd
JM
11717 * posix/Makefile ($(objpfx)globtest.out): Pass
11718 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11719 $(rtld-installed-name).
11720 * posix/globtest.sh (elf_objpfx): Remove variable.
11721 (rtld_installed_name): Likewise.
11722 (library_path): Likewise.
11723 (run_program_prefix): New variable. Use for running globtest
11724 binary.
11725
166bca24
JB
117262012-10-23 Jim Blandy <jimb@codesourcery.com>
11727 Joseph Myers <joseph@codesourcery.com>
11728
11729 * Makeconfig (host-built-program-cmd): New variable.
11730 * elf/Makefile (tst-stackguard1-ARGS): Use
11731 $(host-built-program-cmd).
11732 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11733 (tst-spawn-ARGS): Likewise.
11734 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11735
88866099
JM
117362012-10-23 Joseph Myers <joseph@codesourcery.com>
11737 Jim Blandy <jimb@codesourcery.com>
11738
11739 * Makeconfig (run-via-rtld-prefix): New variable.
11740 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11741 (built-program-cmd): Likewise.
11742
b4b4c296
AJ
117432012-10-22 Andreas Jaeger <aj@suse.de>
11744
11745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11746 __O_RSYNC if it exists, otherwise to O_SYNC.
11747
6fb54a22
JB
117482012-10-22 Jim Blandy <jimb@codesourcery.com>
11749 Joseph Myers <joseph@codesourcery.com>
11750
11751 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11752 /dev/null.
11753 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11754 from /dev/null
11755 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11756 /dev/null.
11757
481b90b9
AJ
117582012-10-22 Andreas Jaeger <aj@suse.de>
11759
2a0e2669
AJ
11760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11761 Define always.
11762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11763
76e38f9a
AJ
11764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11765 bits/fcntl-linux.h.
11766
7cd37b43
AJ
11767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11768 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11769
481b90b9
AJ
11770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11771 to __O_LARGEFILE.
11772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11773 to __O_LARGEFILE.
11774
aba75984
JB
117752012-10-21 Jim Blandy <jimb@codesourcery.com>
11776 Joseph Myers <joseph@codesourcery.com>
11777
11778 * config.make.in (NM): New variable.
11779
88d4247f
AJ
117802012-10-21 Andreas Jaeger <aj@suse.de>
11781
11782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11783 definitions and declarations that are provided by
11784 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11785
f2eed205
L
117862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 [BZ #14683]
11789 * elf/Makefile (tests-static): Add tst-leaks1-static.
11790 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11791 ($(objpfx)tst-leaks1-static): New rule.
11792 ($(objpfx)tst-leaks1-static-mem): Likewise.
11793 (tst-leaks1-static-ENV): New macro.
11794 * elf/dl-open.c (dl_open_worker): Check the main application
11795 only if SHARED is defined.
11796 * elf/tst-leaks1-static.c: New file.
11797
335e6931
AJ
117982012-10-20 Andreas Jaeger <aj@suse.de>
11799
11800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11801 generic values for Linux.
11802 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11803 and declarations that are provided by <bits/fcntl-linux.h> and
11804 include <bits/fcntl-linux.h>.
11805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11807
ac5c94d3
RM
118082012-10-20 Roland McGrath <roland@hack.frob.com>
11809
11810 * io/fcntl.h: Move include of <bits/types.h> to the top and
11811 include it unconditionally.
11812
de54b33a
L
118132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11814
228cfb01
L
11815 * wcsmbs/Makefile (tests-ifunc): New variable.
11816 (tests): Add $(tests-ifunc).
11817 * wcsmbs/test-wcschr-ifunc.c: New file.
11818 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11819 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11820 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11821 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11822 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11823
69f07e5f
L
11824 * string/Makefile (tests-ifunc): New variable.
11825 (tests): Add $(tests-ifunc).
11826 * string/test-memccpy.c (TEST_NAME): New macro.
11827 * string/test-memchr.c (TEST_NAME): Likewise.
11828 * string/test-memcmp.c (TEST_NAME): Likewise.
11829 * string/test-memcpy.c (TEST_NAME): Likewise.
11830 * string/test-memmem.c (TEST_NAME): Likewise.
11831 * string/test-memmove.c (TEST_NAME): Likewise.
11832 * string/test-memset.c (TEST_NAME): Likewise.
11833 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11834 * string/test-stpcpy.c (TEST_NAME): Likewise.
11835 * string/test-stpncpy.c (TEST_NAME): Likewise.
11836 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11837 * string/test-strcasestr.c (TEST_NAME): Likewise.
11838 * string/test-strcat.c (TEST_NAME): Likewise.
11839 * string/test-strchr.c (TEST_NAME): Likewise.
11840 * string/test-strcmp.c(TEST_NAME): Likewise.
11841 * string/test-strcpy.c (TEST_NAME): Likewise.
11842 * string/test-strcspn.c (TEST_NAME): Likewise.
11843 * string/test-strlen.c (TEST_NAME): Likewise.
11844 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11845 * string/test-strncmp.c (TEST_NAME): Likewise.
11846 * string/test-strncpy.c (TEST_NAME): Likewise.
11847 * string/test-strnlen.c (TEST_NAME): Likewise.
11848 * string/test-strpbrk.c (TEST_NAME): Likewise.
11849 * string/test-strrchr.c (TEST_NAME): Likewise.
11850 * string/test-strspn.c (TEST_NAME): Likewise.
11851 * string/test-strstr.c (TEST_NAME): Likewise.
11852 * string/test-bcopy-ifunc.c: New file.
11853 * string/test-bzero-ifunc.c: Likewise.
11854 * string/test-memccpy-ifunc.c: Likewise.
11855 * string/test-memchr-ifunc.c: Likewise.
11856 * string/test-memcmp-ifunc.c: Likewise.
11857 * string/test-memcpy-ifunc.c: Likewise.
11858 * string/test-memmem-ifunc.c: Likewise.
11859 * string/test-memmove-ifunc.c: Likewise.
11860 * string/test-mempcpy-ifunc.c: Likewise.
11861 * string/test-memset-ifunc.c: Likewise.
11862 * string/test-rawmemchr-ifunc.c: Likewise.
11863 * string/test-stpcpy-ifunc.c: Likewise.
11864 * string/test-stpncpy-ifunc.c: Likewise.
11865 * string/test-strcasecmp-ifunc.c: Likewise.
11866 * string/test-strcasestr-ifunc.c: Likewise.
11867 * string/test-strcat-ifunc.c: Likewise.
11868 * string/test-strchr-ifunc.c: Likewise.
11869 * string/test-strchrnul-ifunc.c: Likewise.
11870 * string/test-strcmp-ifunc.c: Likewise.
11871 * string/test-strcpy-ifunc.c: Likewise.
11872 * string/test-strcspn-ifunc.c: Likewise.
11873 * string/test-strlen-ifunc.c: Likewise.
11874 * string/test-strncasecmp-ifunc.c: Likewise.
11875 * string/test-strncat-ifunc.c: Likewise.
11876 * string/test-strncmp-ifunc.c: Likewise.
11877 * string/test-strncpy-ifunc.c: Likewise.
11878 * string/test-strnlen-ifunc.c: Likewise.
11879 * string/test-strpbrk-ifunc.c: Likewise.
11880 * string/test-strrchr-ifunc.c: Likewise.
11881 * string/test-strspn-ifunc.c: Likewise.
11882 * string/test-strstr-ifunc.c: Likewise.
11883
de54b33a
L
11884 * debug/Makefile (tests-ifunc): New variable.
11885 (tests): Add $(tests-ifunc).
11886 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11887 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11888 * debug/test-stpcpy_chk-ifunc.c: New file.
11889 * debug/test-strcpy_chk-ifunc.c: Likewise.
11890
88481c16
SP
118912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11892
11893 [BZ #13601]
11894 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11895 header is not read in.
11896
135948bd
JM
118972012-10-19 Joseph Myers <joseph@codesourcery.com>
11898
89f1c388
JM
11899 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11900 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11901 directly. Pass built executable to script as
11902 $(built-program-cmd).
11903 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11904 $testprogram without using LD_LIBRARY_PATH and $ldso.
11905
e40a0d21
JM
11906 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11907 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11908 $(rtld-installed-name).
11909 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11910 (rtld_installed_name): Likewise.
11911 (library_path): Likewise.
11912 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11913 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11914 $(run-program-prefix) to tst-tables.sh.
11915 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11916 it to run tst-table-from and tst-table-to.
11917 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11918 Pass it to tst-table.sh.
11919 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11920 $(run-program-prefix) to tst-gettext.sh.
11921 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11922 tst-translit.sh.
11923 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11924 tst-gettext2.sh.
11925 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11926 to run tst-gettext.
11927 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11928 to run tst-gettext2.
11929 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11930 to run tst-translit.
11931 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11932 $(run-program-prefix) to tst-mtrace.sh.
11933 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11934 to run tst-mtrace.
11935 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11936 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11937 $(rtld-installed-name).
11938 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11939 (rtld_installed_name): Likewise.
11940 (run_program_prefix): New variable. Use it to run wordexp-test.
11941
728e272a
JM
11942 * Makeconfig (ARCH): Remove all definitions.
11943 (machine): Likewise.
11944 [ARCH]: Remove conditional code.
11945 [!objdir]: Give error.
11946 [!objdir] (objpfx): Remove.
11947 [!objdir] (common-objpfx): Likewise.
11948 [!objdir] (common-objdir): Likewise.
11949 * configure.in (config_makefile): Remove. Hardcode Makefile in
11950 AC_CONFIG_FILES call.
11951 * configure: Regenerated.
11952
d528cdcf
JM
11953 [BZ #13888]
11954 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11955 or TMPDIR.
11956 (testout): Likewise.
11957
135948bd
JM
11958 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11959 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11960 $(rtld-installed-name).
11961 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11962 (rtld_installed_name): Likwise.
11963 (runit): Remove function.
11964 (run_getconf): New variable, Use it for running getconf binary.
11965
38c78296
L
119662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 [BZ #14716]
11969 * string/test-memmem.c (check_result): New function.
11970 (do_one_test): Use it.
11971 (check1): New function.
11972 (test_main): Use it.
11973
d077f65f
MT
119742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11975
11976 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11977
ced52c71
JM
119782012-10-18 Joseph Myers <joseph@codesourcery.com>
11979
11980 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11981 (_G_LSEEK64): Likewise.
11982 (_G_MMAP64): Likewise.
11983 (_G_FSTAT64): Likewise.
11984 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11985 (_G_LSEEK64): Likewise.
11986 (_G_MMAP64): Likewise.
11987 (_G_FSTAT64): Likewise.
11988 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11989 unconditional. Call __mmap64 directly.
11990 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11991 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11992 __lseek64 directly.
11993 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11994 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11995 __mmap64 directly.
11996 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11997 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11998 __lseek64 directly.
11999 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12000 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12001 __lseek64 directly.
12002 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12003 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12004 __lseek64 directly.
12005 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12006 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12007 __fxstat64 directly.
12008 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12009 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12010 unconditional.
12011 (freopen64) [!_G_OPEN64]: Remove conditional code.
12012 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12013 unconditional.
12014 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12015 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12016 unconditional.
12017 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12018 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12019 unconditional.
12020 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12021 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12022 unconditional.
12023 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12024 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12025 unconditional.
12026 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12027 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12028 unconditional.
12029 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12030 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12031 unconditional.
12032 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12033
b741de23
SP
120342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12035
12036 [BZ #12140]
12037 * manual/memory.texi (Malloc Tunable Parameters): Add note
12038 about free list pointers overwriting some perturb bytes.
12039 Wording suggested by Roland McGrath.
12040
f9b9d9c9
JM
120412012-10-17 Joseph Myers <joseph@codesourcery.com>
12042
12043 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12044 (lgamma_test): Likewise.
12045 (tgamma_test): Likewise.
12046
172a631a
FW
120472012-10-16 Florian Weimer <fweimer@redhat.com>
12048
12049 [BZ #14700]
12050 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12051 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12052
e9f37252
MK
120532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12054
12055 * NEWS: Mention BZ #14716.
12056 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12057 when removing AVAILABLE1_USES_J macro.
12058
d394eb74
L
120592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12062 (__bswap_64): __uint64_t for unsigned 64-bit int.
12063
ca38dc17
AS
120642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12065
12066 * include/string.h (memmem): Declare libc hidden alias.
12067 * string/memmem.c (memmem): Define libc hidden alias.
12068 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12069 __read, __close instead of open, read, close.
12070
9a387d1f
L
120712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12072
ac49ecaf
L
12073 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12074 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12075 global and hidden.
12076 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12077 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12078 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12079 Likewise.
12080 (__rawmemchr_sse2): Likewise.
12081 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12082 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12083 (__strchr_sse2): Likewise.
12084 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12085 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12086 (__strcasecmp_sse2): Likewise.
12087 (__strncasecmp_sse2): Likewise.
12088 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12089 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12090 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12091 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12092 (__strrchr_sse2): Likewise.
12093 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12094 ifunc-impl-list.c.
12095 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12096 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12097 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12098 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12099 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12100 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12101 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12102 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12103 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12104 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12105 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12106 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12107 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12108 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12109 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12110 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12111 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12112 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12113 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12114 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12115 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12116 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12117 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12118 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12119 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12120 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12121 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12122 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12123 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12124 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12125
b090e8ea
L
12126 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12127 global and hidden.
12128 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12129 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12130 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12131 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12132 Likewise.
12133 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12134 Likewise.
12135 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12136 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12137 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12138 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12139 ifunc-impl-list.c.
12140 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12141 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12144 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12148 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12149 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12150 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12151 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12152 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12153 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12154 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12157 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12158 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12159 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12160 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12161 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12165 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12167 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12168 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12169 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12170 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12174 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12175 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12176 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12177 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12178 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12179 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12180 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12181
11dd4af6
L
12182 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12183 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12184 * include/ifunc-impl-list.h: New file.
12185 * misc/ifunc-impl-list.c: Likewise.
12186 * misc/Makefile (routines): Add ifunc-impl-list.
12187 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12188 * string/test-string.h: Include <ifunc-impl-list.h>.
12189 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12190 impl_array): New variables.
12191 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12192 are defined.
12193 (test_init): Call __libc_ifunc_impl_list to initialize
12194 func_list if TEST_IFUNC and TEST_NAME are defined.
12195
9a387d1f
L
12196 * string/Makefile (strop-tests): Add bcopy and bzero.
12197 * string/test-bcopy.c: New file.
12198 * string/test-bzero.c: Likewise.
12199 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12200 defined.
12201 * string/test-memset.c: Support bzero test if TEST_BZERO is
12202 defined.
12203 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12204 __libc_memmove.
12205 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12206 __libc_memset.
12207 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12208 of memset.
12209
472371b9
JM
122102012-10-10 Joseph Myers <joseph@codesourcery.com>
12211
1e4a9536
JM
12212 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12213 * configure: Regenerated.
12214
d173d12e
JM
12215 * Makeconfig (+link-static-before-libc): Don't include
12216 $(link-static-libc).
12217
472371b9
JM
12218 * libio/libio.h (_IO_pos_t): Remove.
12219
89a3ad0b
AO
122202012-10-10 Alexandre Oliva <aoliva@redhat.com>
12221
12222 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12223 McGrath.
12224
e7451425
AO
122252012-10-10 Alexandre Oliva <aoliva@redhat.com>
12226
12227 * crypt/crypt-entry.c: Include fips-private.h.
12228 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12229 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12230 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12231 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12232
4ba74a35
AO
122332012-10-10 Alexandre Oliva <aoliva@redhat.com>
12234
12235 * crypt/crypt-private.h: Include stdbool.h.
12236 (_ufc_setup_salt_r): Return bool.
12237 * crypt/crypt-entry.c: Include errno.h.
12238 (__crypt_r): Return NULL with EINVAL for bad salt.
12239 * crypt/crypt_util.c (bad_for_salt): New.
12240 (_ufc_setup_salt_r): Check that salt is long enough and within
12241 the specified alphabet.
12242 * crypt/badsalttest.c: New file.
12243 * crypt/Makefile (tests): Add it.
12244 ($(objpfx)badsalttest): New.
12245
f96f1242
MK
122462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12247
12248 * NEWS: Add entry for BZ #14602.
12249
0e8e0c1c
JM
122502012-10-09 Joseph Myers <joseph@codesourcery.com>
12251
12252 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12253 type-generic.
12254 * math/libm-test.inc: Update comment listing what functions and
12255 macros are tested.
12256 (isgreater_test): New function.
12257 (isgreaterequal_test): Likewise.
12258 (isless_test): Likewise.
12259 (islessequal_test): Likewise.
12260 (islessgreater_test): Likewise.
12261 (isunordered_test): Likewise.
12262 (main): Call the new functions.
12263
273edc5e
RM
122642012-10-09 Roland McGrath <roland@hack.frob.com>
12265
b8493de0
RM
12266 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12267 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12268 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12269 * sysdeps/i386/configure: Regenerated.
12270 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12271 * sysdeps/mach/configure: Regenerated.
12272 * sysdeps/mach/hurd/configure: Regenerated.
12273 * sysdeps/powerpc/configure: Regenerated.
12274 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12275 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12276 * sysdeps/s390/s390-32/configure: Regenerated.
12277 * sysdeps/s390/s390-64/configure: Regenerated.
12278 * sysdeps/sh/configure: Regenerated.
12279 * sysdeps/sparc/configure: Regenerated.
12280 * sysdeps/unix/sysv/linux/configure: Regenerated.
12281 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12282 * sysdeps/x86_64/configure: Regenerated.
12283
273edc5e
RM
12284 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12285 defined. Don't check if MAP is NULL.
12286
c8450f70
JM
122872012-10-09 Joseph Myers <joseph@codesourcery.com>
12288
12289 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12290 (_G_stat64): Likewise.
12291 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12292 (_G_stat64): Likewise.
12293 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12294 instead of struct _G_stat64.
12295 * libio/fileops.c (mmap_remap_check): Likewise.
12296 (decide_maybe_mmap): Likewise.
12297 (_IO_new_file_seekoff): Likewise.
12298 (_IO_file_stat): Likewise.
12299 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12300 _G_off64_t.
12301 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12302 instead of struct _G_stat64.
12303 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12304
57e605ba
MK
123052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12306
12307 [BZ #14602]
12308 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12309 Replace with ...
12310 (CHECK_EOL): New macro.
12311 (two_way_short_needle): Check beginning of haystack for EOL. Use
12312 CHECK_EOL.
12313 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12314 Replace with CHECK_EOL.
12315 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12316 Replace with CHECK_EOL.
12317
ef1bb361
JM
123182012-10-08 Joseph Myers <joseph@codesourcery.com>
12319
12320 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12321 type-generic.
12322 * math/libm-test.inc: Update comment listing what functions and
12323 macros are tested.
12324 (finite_test): New function.
12325 (isinf_test): Likewise.
12326 (isnan_test): Likewise.
12327 (fpclassify_test): Test subnormal input.
12328 (isfinite_test): Likewise.
12329 (isnormal_test): Likewise.
12330 (main): Call the new functions.
12331
55f11534
JN
123322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12333
12334 [BZ #14660]
12335 * Makerules (%.dynsym): Force C locale when running
12336 $(OBJDUMP) --dynamic-syms.
12337
1ab29350
AS
123382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12339
12340 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12341 <stdint.h>.
12342
f1ecb7ef
DM
123432012-10-06 David S. Miller <davem@davemloft.net>
12344
12345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12346 upper 32-bits of the length value in %o2 since we use branch-on-register
12347 tests which consider the entire 64-bit register.
12348
5d41d91a
L
123492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12350
12351 * string/test-strstr.c (check2): Add a test for page boundary.
12352
3baddb72
DM
123532012-10-05 David S. Miller <davem@davemloft.net>
12354
12355 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12356 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12357 file.
12358 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12359 sysdep_routines.
12360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12361 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12362 and bzero when HWCAP_SPARC_CRYPTO is present.
12363
9cee5585
L
123642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12365
d7e0dab9
L
12366 [BZ #14602]
12367 * string/test-strstr.c (check2): New function.
12368 (test_main): Call check2.
12369
03759f47
L
12370 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12371 and bug-strchr1.
12372 * string/bug-strcasestr1.c (do_test): Moved to ...
12373 * string/test-strcasestr.c (check1): Here. New function.
12374 (do_one_test): Break out result checking code into ...
12375 (check_result): This. New function.
12376 (do_one_test): Call check_result.
12377 (test_main): Call check1.
12378 * string/bug-strchr1.c (do_test): Moved to ...
12379 * string/test-strchr.c (check1): Here. New function.
12380 (do_one_test): Break out result checking code into ...
12381 (check_result): This. New function.
12382 (do_one_test): Call check_result.
12383 (test_main): Call check1.
12384 * string/bug-strstr1.c (main): Moved to ...
046f153e 12385 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12386 (do_one_test): Break out result checking code into ...
12387 (check_result): This. New function.
12388 (do_one_test): Call check_result.
12389 (test_main): Call check1.
12390 * string/bug-strcasestr1.c: Removed.
12391 * string/bug-strchr1.c: Likewise.
12392 * string/bug-strstr1.c: Likewise.
12393
53cea63e
L
12394 * elf/Makefile (dl-routines): Add hwcaps.
12395 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12396 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12397 (_dl_important_hwcaps): Moved to ...
12398 * elf/dl-hwcaps.c: Here. New file.
12399 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12400
9cee5585 12401 [BZ #14557]
bb859b06
L
12402 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12403 if IS_IN_rtld isn't defined.
12404
9cee5585
L
12405 * elf/dl-support.c (_dl_sysinfo_map): New.
12406 Include "get-dynamic-info.h" and "setup-vdso.h".
12407 (_dl_non_dynamic_init): Call setup_vdso.
12408 * elf/dynamic-link.h: Don't include <assert.h>.
12409 (elf_get_dynamic_info): Moved to ...
12410 * elf/get-dynamic-info.h: Here. New file.
12411 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12412 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12413 * elf/setup-vdso.h: Here. New file.
12414 * elf/rtld.c: Include "setup-vdso.h".
12415 (dl_main): Call setup_vdso.
12416
23c31b76
JM
124172012-10-05 Joseph Myers <joseph@codesourcery.com>
12418
28234b07
JM
12419 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12420 creal in comment listing functions tested. List finite, isinf,
12421 isnan, isless, islessequal, isgreater, isgreaterequal,
12422 islessgreater, isunordered, lgamma_r and pow10 as functions and
12423 macros not tested. Mention which functions not tested are aliases
12424 for other functions. Fix typo. Note that signs of NaNs are not
12425 tested.
12426
23c31b76
JM
12427 * scripts/config.guess: Update from config.git.
12428 * scripts/config.sub: Likewise.
12429
9043e228
RM
124302012-10-04 Roland McGrath <roland@hack.frob.com>
12431
12432 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12433 * misc/madvise.c (madvise): Renamed to __madvise.
12434 Make madvise a weak alias.
12435 * include/sys/mman.h: Declare __madvise.
12436 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12437 * sysdeps/unix/syscalls.list
12438 (madvise): Make __madvise the strong name, and madvise a weak alias.
12439 * sysdeps/unix/sysv/linux/syscalls.list
12440 (madvise, mmap): Remove redundant entries.
12441 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12442 * malloc/malloc.c (mtrim): Likewise.
12443 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12444
f57f8055
RM
124452012-10-03 Roland McGrath <roland@hack.frob.com>
12446
12447 * sysdeps/mach/hurd/dl-cache.c: File removed.
12448 * config.h.in (USE_LDCONFIG): New #undef.
12449 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12450 * configure: Regenerated.
12451 * elf/Makefile (dl-routines): Add dl-cache only under
12452 [$(use-ldconfig) = yes].
12453 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12454 cache on [USE_LDCONFIG].
12455 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12456 [USE_LDCONFIG].
12457 * elf/rtld.c (dl_main): Likewise.
12458
5bb0c10a
PT
124592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12460
12461 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12462 _SC_LEVEL4_CACHE_LINESIZE.
12463
010188c6
RM
124642012-10-03 Roland McGrath <roland@hack.frob.com>
12465
12466 * sysdeps/unix/bsd/confstr.h: File removed.
12467
b6c5ec07
AO
124682012-10-02 Alexandre Oliva <aoliva@redhat.com>
12469
12470 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12471 sys/sdt-config.h.
12472
408223d4
RM
124732012-10-02 Roland McGrath <roland@hack.frob.com>
12474
12475 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12476 Make 'mapoff' field ElfW(Off) rather than off_t.
12477
bb9510dc
DL
124782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12479
fc997c6e
DL
12480 * nscd/Makefile: Remove nscd-cflags and all its users.
12481 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12482 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12483
bb9510dc
DL
12484 [BZ #10631]
12485 * malloc.c (malloc_printerr): Clarify error message.
12486
05699367
L
124872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12488
12489 [BZ #14648]
12490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12491 Set bit_FMA_Usable if FMA is supported.
12492 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12493 macro.
12494 (bit_FMA4_Usable): Updated.
12495 (index_FMA_Usable): New macro.
12496 (CPUID_FMA): Likewise
12497 (HAS_FMA): Defined with bit_FMA_Usable.
12498
51367701
RM
124992012-10-01 Roland McGrath <roland@hack.frob.com>
12500
12501 * bits/types.h (__swblk_t): Type removed.
12502 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12503 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12505 (__SWBLK_T_TYPE): Likewise.
12506 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12507 (__SWBLK_T_TYPE): Likewise.
12508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12509 (__SWBLK_T_TYPE): Likewise.
12510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12511 (__SWBLK_T_TYPE): Likewise.
12512
4d57bf63 125132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12514 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12515
12516 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12517 (xdr_mapname): Use YPMAXMAP as maxsize.
12518 (xdr_peername): Use YPMAXPEER as maxsize.
12519 (xdr_keydat): Use YPAXRECORD as maxsize.
12520 (xdr_valdat): Use YPMAXRECORD as maxsize.
12521
93c65d43
RM
125222012-10-01 Roland McGrath <roland@hack.frob.com>
12523
497a03d6
RM
12524 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12525
93c65d43
RM
12526 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12527 * csu/init-first.c: ... here.
12528 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12529 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12530 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12532 * sysdeps/i386/init-first.c: File removed.
12533 * sysdeps/sh/init-first.c: File removed.
12534
bec749fd
JM
125352012-10-01 Joseph Myers <joseph@codesourcery.com>
12536
12537 [BZ #14645]
12538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12539 if x * y might underflow to zero and z is zero.
12540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12542 * math/libm-test.inc (min_subnorm_value): New variable.
12543 (fma_test): Add more tests.
12544 (fma_test_towardzero): Likewise.
12545 (fma_test_downward): Likewise
12546 (fma_test_upward): Likewise.
12547 (initialize): Set min_subnorm_value.
12548
8ec5b013
JM
125492012-09-29 Joseph Myers <joseph@codesourcery.com>
12550
12551 [BZ #14638]
12552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12553 0 + 0.
12554 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12555 mode for addition resulting in exact zero.
12556 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12558 exact 0 + 0.
12559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12561 * math/libm-test.inc (fma_test): Add more tests.
12562 (fma_test_towardzero): New function.
12563 (fma_test_downward): Likewise.
12564 (fma_test_upward): Likewise.
12565 (main): Call the new functions.
12566
b1fa802e
DM
125672012-09-28 David S. Miller <davem@davemloft.net>
12568
12569 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12570
d3b9fd9e
RM
125712012-09-28 Roland McGrath <roland@hack.frob.com>
12572
ea4d37b3
RM
12573 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12574 instead of SIGALRM.
12575
ac51c949
RM
12576 * sysdeps/gnu/_G_config.h: Moved to ...
12577 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12578 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12579 * sysdeps/generic/_G_config.h: ... here.
12580
28c195f7
RM
12581 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12582
848917f9
RM
12583 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12584
6bacf05b
RM
12585 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12586 Conditionalize target on [libnss_test1.so-version].
12587
91363dbb
RM
12588 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12589
cc87f7d8
RM
12590 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12591 (elfobjdir): Move out of conditionals.
12592
b1c608fe
RM
12593 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12594 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12595 (__nss_lookup_function): Conditionalize label remove_from_tree on
12596 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12597
1d9a6d96
DM
125982012-09-28 David S. Miller <davem@davemloft.net>
12599
12600 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12601 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12602 file.
12603 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12604 sysdep_routines.
12605 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12607 when HWCAP_SPARC_CRYPTO is present.
12608
72581615
PT
126092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12610
12611 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12612
715a900c
JL
126132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12614
12615 [BZ #6530]
12616 * stdio-common/vfprintf.c (process_string_arg): Revert
12617 2000-07-22 change.
12618
126192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12620
12621 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12622 for testcase.
12623 * stdio-common/tst-sprintf.c: Include <locale.h>
12624 (main): Test sprintf's handling of incomplete multibyte
12625 characters.
12626
9bac1d86
L
126272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12628
12629 * elf/dl-runtime.c (VERSYMIDX): Removed.
12630 * elf/dl-version.c (VERSYMIDX): Likewise.
12631 * elf/do-rel.h (VERSYMIDX): Likewise.
12632 (VALIDX): Likewise.
12633 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12634 * elf/rtld.c (VALIDX): Likewise.
12635 (ADDRIDX): Likewise.
9bac1d86
L
12636 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12637 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12638 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12639 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12640 (VALIDX): Likewise.
12641 (ADDRIDX): Likewise.
9bac1d86 12642
b31606c0
PT
126432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12644
12645 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12646
11541177
JL
126472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12648
12649 [BZ #11438]
12650 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12651 to global scope.
12652 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12653 addresses are in the same scope as 192.0.2/24.
12654 * posix/gai.conf: Document new scope table defaults.
12655
adb26fae
SP
126562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12657
12658 [BZ #5298]
12659 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12660 for ftell. Compute offsets from write pointers instead.
12661 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12662
4573c6b0
SP
126632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12664
12665 [BZ #14543]
12666 * libio/Makefile (tests): New test case tst-fseek.
12667 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12668 combination works in wide mode.
12669 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12670 state when the external buffer state changes.
12671
aa9bbfe6
DM
126722012-09-27 David S. Miller <davem@davemloft.net>
12673
12674 [BZ #14376]
12675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12676 pass reloc->r_addend in as the 'high' argument to
12677 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12678
784421e7
DM
12679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12680
c39bc8b8
PT
126812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12682
12683 * rt/tst-aio2.c: Include <pthread.h>.
12684 * rt/tst-aio3.c: Likewise.
12685
1ccc2399
SE
126862012-09-27 Steve Ellcey <sellcey@mips.com>
12687
12688 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12689
31ed4153
L
126902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12691
25f5f885
L
12692 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12693 contents on [SHARED].
31ed4153 12694
b7bfe116
MP
126952012-09-26 Marek Polacek <polacek@redhat.com>
12696
12697 [BZ #14530]
12698 [BZ #13741]
12699 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12700 for C++ and GCC <4.3 as well as for non GCC compilers.
12701
43c4edba
MT
127022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12703
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12705
6a1bf82f
RM
127062012-09-25 Roland McGrath <roland@hack.frob.com>
12707
12708 * Makefile.in (all, install): Declare with .PHONY.
12709 Reported by Michael Hope <michael.hope@linaro.org>.
12710
8ad11b9a
TMQMF
127112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12712
12713 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12714 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12715 system header.
12716 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12717 Likewise.
12718 (sydep_routines): Add the new and the internal functions.
12719 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12720 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12722 (GLIBC_2.17): Add the new function.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12724 (GLIBC_2.17): Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12726 (GLIBC_2.17): Likewise.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12728 (GLIBC_2.17): Likewise.
12729 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12730
7e2fca8d
AM
127312012-09-25 Alan Modra <amodra@gmail.com>
12732
12733 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12734 Add release barrier before setting once_control to say
12735 initialisation is done. Add hints on lwarx. Use macro in
12736 place of isync.
12737 (clear_once_control): Add release barrier.
12738
b87c4b24
JM
127392012-09-25 Joseph Myers <joseph@codesourcery.com>
12740
d032e0d2
JM
12741 [BZ #13629]
12742 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12743 specially.
12744 * math/s_clog10.c (__clog10): Likewise.
12745 * math/s_clog10f.c (__clog10f): Likewise.
12746 * math/s_clog10l.c (__clog10l): Likewise.
12747 * math/s_clogf.c (__clogf): Likewise.
12748 * math/s_clogl.c (__clogl): Likewise.
12749 * math/Makefile (libm-calls): Add x2y2m1.
12750 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12751 (__x2y2m1): Likewise.
12752 (__x2y2m1l): Likewise.
12753 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12754 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12759 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12760 * sysdeps/i386/fpu/libm-test-ulps: Update.
12761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12762
b87c4b24
JM
12763 [BZ #14621]
12764 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12765 int as type of variable DEPTH.
12766 (glob): Use size_t instead of int as type of variables NEWCOUNT
12767 and OLD_PATHC.
12768
6d3bf199
LD
127692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12770
22bf5c17
LD
12771 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12772 Add s_sincosf-sse2.
12773 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12774 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12775 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12776 macros for using routine as __sincosf_ia32.
12777 Use macro for function declaration and weak_alias.
12778 * sysdeps/i386/fpu/libm-test-ulps: Update.
12779
12780 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12782
12783 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12784 subnormal argument.
12785 * math/s_cexpf.c (__cexpf): Likewise.
12786 * math/s_csinf.c (__csinf): Likewise.
12787 * math/s_csinhf.c (__csinhf): Likewise.
12788 * math/s_ctanf.c (__ctanf): Likewise.
12789 * math/s_ctanhf.c (__ctanhf): Likewise.
12790 * math/s_ccosh.c (__ccoshf): Likewise.
12791 * math/s_cexp.c (__cexpl): Likewise.
12792 * math/s_csin.c (__csin): Likewise.
12793 * math/s_csinh.c (__csinh): Likewise.
12794 * math/s_ctan.c (__ctan): Likewise.
12795 * math/s_ctanh.c (ctanh): Likewise.
12796 * math/s_ccoshl.c (__ccoshl): Likewise.
12797 * math/s_cexpl.c (__cexpl): Likewise.
12798 * math/s_csinl.c (__csinl): Likewise.
12799 * math/s_csinhl.c (__csinhl): Likewise.
12800 * math/s_ctanl.c (__ctanl): Likewise.
12801 * math/s_ctanhl.c (__ctanhl): Likewise.
12802
203e5603
JM
128032012-09-25 Joseph Myers <joseph@codesourcery.com>
12804
12805 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12806 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12807 (_IO_off_t): Define to __off_t, not _G_off_t.
12808 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12809 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12810 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12811 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12812 type of __dummy and __dummy2 fields.
12813 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12814 (_G_ssize_t): Likewise.
12815 (_G_off_t): Likewise.
12816 (_G_pid_t): Likewise.
12817 (_G_uid_t): Likewise.
12818 (_G_wchar_t): Likewise.
12819 (_G_wint_t): Likewise.
12820 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12821 (_G_ssize_t): Likewise.
12822 (_G_off_t): Likewise.
12823 (_G_pid_t): Likewise.
12824 (_G_uid_t): Likewise.
12825 (_G_wchar_t): Likewise.
12826 (_G_wint_t): Likewise.
12827 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12828 (_G_ssize_t): Likewise.
12829 (_G_off_t): Likewise.
12830 (_G_pid_t): Likewise.
12831 (_G_uid_t): Likewise.
12832 (_G_wchar_t): Likewise.
12833 (_G_wint_t): Likewise.
12834
9fab36eb
SP
128352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12836
12837 * malloc/arena.c: Include malloc-sysdep.h.
12838 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12839 is sufficient to shrink the heap or an unmap is needed.
12840 * sysdeps/generic/malloc-sysdep.h: New file. Define
12841 new function check_may_shrink_heap.
12842 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12843 new function check_may_shrink_heap.
12844
2b4f00d1
SP
128452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
12847 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12848 comments.
12849
9a9028b1
DL
128502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12851
57c69bef
DL
12852 * catgets/test-gencat.sh: Add "set -e".
12853 * elf/tst-pathopt.sh: Likewise.
12854 * grp/tst_fgetgrent.sh: Likewise.
12855 * iconvdata/run-iconv-test.sh: Likewise.
12856 * intl/tst-gettext.sh: Likewise.
12857 * intl/tst-gettext2.sh: Likewise.
12858 * intl/tst-gettext4.sh: Likewise.
12859 * intl/tst-gettext6.sh: Likewise.
12860 * intl/tst-translit.sh: Likewise.
12861 * io/ftwtest-sh: Likewise.
12862 * libio/test-freopen.sh: Likewise.
12863 * malloc/tst-mtrace.sh: Likewise.
12864 * posix/globtest.sh: Likewise.
12865 * posix/tst-getconf.sh: Likewise.
12866 * posix/wordexp-tst.sh: Likewise.
12867 * stdio-common/tst-printf.sh: Likewise.
12868 * stdio-common/tst-unbputc.sh: Likewise.
12869 * stdlib/tst-fmtmsg.sh: Likewise.
12870 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12871 * catgets/Makefile: Do not specify -e option when running
12872 testsuite shell scripts.
12873 * elf/Makefile: Likewise.
12874 * grp/Makefile: Likewise.
12875 * iconvdata/Makefile: Likewise.
12876 * intl/Makefile: Likewise.
12877 * io/Makefile: Likewise.
12878 * libio/Makefile: Likewise.
12879 * malloc/Makefile: Likewise.
12880 * posix/Makefile: Likewise.
12881 * stdio-common/Makefile: Likewise.
12882 * stdlib/Makefile: Likewise.
12883 * sysdeps/x86_64/Makefile: Likewise.
12884
9a9028b1
DL
12885 * io/ftwtest-sh: Add copyright header.
12886 * posix/globtest.sh: Likewise.
12887 * posix/tst-getconf.sh: Likewise.
12888 * posix/wordexp-tst.sh: Likewise.
12889 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12890
ced6f16e
L
128912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12892
94b32c39
L
12893 [BZ #13679]
12894 * Makeconfig (+link): Defined as $(+link-static) if
12895 $(build-shared) isn't yes.
12896 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12897 isn't yes.
12898 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12899
189e935b
L
12900 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12901
ced6f16e
L
12902 [BZ #14562]
12903 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12904 new chunk size with MALLOC_ALIGN_MASK.
12905
a9f8e53a
JM
129062012-09-24 Joseph Myers <joseph@codesourcery.com>
12907
12908 [BZ #5044]
12909 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12910 <rounding-mode.h>.
12911 (__printf_fphex): Determine rounding using get_rounding_mode and
12912 round_away.
12913 * stdio-common/tst-printf-round.c (struct hex_test): New
12914 structure.
12915 (hex_tests): New variable.
12916 (test_hex_in_one_mode): New function.
12917 (do_test): Also run tests for hex float output.
12918
43153109
JM
129192012-09-21 Joseph Myers <joseph@codesourcery.com>
12920
12921 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12922 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12923 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12924 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12925 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12926 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12927 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12928 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12929
8a26625d
JM
129302012-09-20 Joseph Myers <joseph@codesourcery.com>
12931
12932 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12933 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12934 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12935 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12936
f3fd569c
DL
129372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12938
12939 [BZ #14579]
12940 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12941 mode only.
12942 * elf/tst-rtld-load-self.sh: New test.
12943 * elf/Makefile: Run it.
12944
63bbedd4
JM
129452012-09-18 Joseph Myers <joseph@codesourcery.com>
12946
12947 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12948 (tst-writev-ENV): Remove.
12949 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12950
626f8b6a
CM
129512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12952
12953 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12954
b7aaa4d6
JM
129552012-09-17 Joseph Myers <joseph@codesourcery.com>
12956
12957 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12958 unconditional.
12959 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12960 Likewise.
12961 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12962 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12963 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12964 Likewise.
12965
65513990
L
129662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12967
12968 [BZ #14587]
12969 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12970 * config.make.in (have-cpp-asm-debuginfo): Removed.
12971 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12972 * configure: Regenerated.
12973
784761be
JM
129742012-09-14 Joseph Myers <joseph@codesourcery.com>
12975
12976 [BZ #5044]
12977 * stdio-common/printf_fp.c: Include <stdbool.h> and
12978 <rounding-mode.h>.
12979 (___printf_fp): Determine rounding using get_rounding_mode and
12980 round_away.
12981 * stdio-common/tst-printf-round.c: New file.
12982 * stdio-common/Makefile (tests): Add tst-printf-round.
12983 (link-libm): New variable.
12984 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12985
9503345f
L
129862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12987
12988 [BZ #14576]
12989 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12990 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12991 Likewise.
12992 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12993 Likewise.
12994
ad35fc00
JM
129952012-09-13 Joseph Myers <joseph@codesourcery.com>
12996
12997 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12998 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12999 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13000 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13001
6c9b0f68
JM
130022012-09-12 Joseph Myers <joseph@codesourcery.com>
13003
13004 [BZ #14518]
13005 * include/rounding-mode.h: New file.
13006 * sysdeps/generic/get-rounding-mode.h: Likewise.
13007 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13008 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13009 (MAX_VALUE): New macro.
13010 (MIN_VALUE): Likewise.
13011 (overflow_value): New function.
13012 (underflow_value): Likewise.
13013 (round_and_return): Use overflow_value and underflow_value to
13014 determine return values in overflow and underflow cases. Use
13015 round_away to determine rounding depending on rounding mode.
13016 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13017 determine return values in overflow and underflow cases.
13018 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13019 (struct test_results): New structure.
13020 (struct test): Use struct test_results to store expected results
13021 for all rounding modes.
13022 (TEST): Include expected results for all rounding modes.
13023 (test_in_one_mode): New function.
13024 (do_test): Use test_in_one_mode to compute and check results.
13025 Check results for all rounding modes.
13026 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13027 $(link-libm).
13028
19fcedd5
AM
130292012-12-09 Allan McRae <allan@archlinux.org>
13030
1e9d84cd 13031 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13032
8bbfd2f1
JM
130332012-09-11 Joseph Myers <joseph@codesourcery.com>
13034
13035 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13036 (_G_int32_t): Likewise.
13037 (_G_uint16_t): Likewise.
13038 (_G_uint32_t): Likewise.
13039 (_G_HAVE_BOOL): Likewise.
13040 (_G_HAVE_ATEXIT): Likewise.
13041 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13042 (_G_HAVE_IO_FILE_OPEN): Likewise.
13043 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13044 (_G_int32_t): Likewise.
13045 (_G_uint16_t): Likewise.
13046 (_G_uint32_t): Likewise.
13047 (_G_HAVE_BOOL): Likewise.
13048 (_G_HAVE_ATEXIT): Likewise.
13049 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13050 (_G_HAVE_IO_FILE_OPEN): Likewise.
13051 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13052 (_G_int32_t): Likewise.
13053 (_G_uint16_t): Likewise.
13054 (_G_uint32_t): Likewise.
13055 (_G_HAVE_BOOL): Likewise.
13056 (_G_HAVE_ATEXIT): Likewise.
13057 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13058 (_G_HAVE_IO_FILE_OPEN): Likewise.
13059
b1dc5912
L
130602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13061
13062 * csu/libc-tls.c: Update copyright years.
13063
0e886ef9
JM
130642012-09-10 Joseph Myers <joseph@codesourcery.com>
13065
28361c5e
JM
13066 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13067 [!_G_USING_THUNKS]: Remove conditional code.
13068 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13069 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13070
0e886ef9
JM
13071 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13072 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13073 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13074 (_G_VTABLE_LABEL_PREFIX): Likewise.
13075 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13076 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13077 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13078 (_G_VTABLE_LABEL_PREFIX): Likewise.
13079 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13080 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13081 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13082 (_G_VTABLE_LABEL_PREFIX): Likewise.
13083 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13084
bcba7aa2
L
130852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13086
13087 * libio/Makefile: Include ../Makeconfig before tests.
13088 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13089 only if $(build-shared) is yes.
13090
06585ee8
L
13091 * iconv/gconv_db.c: Update copyright years.
13092
80ccd52c
LD
130932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13094
13095 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13096 unwind info if defined PIC. Fix special cases description.
13097 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13098
13099 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13100 DP_HI_MASK entry.
13101 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13102
691bc9c1
L
131032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13104
3d9b46b3
L
13105 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13106
de2139a9
L
13107 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13108 is NULL.
13109
5ca78dd0
L
13110 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13111 (LDLIBS-tst-chk4): This.
13112 (LDFLAGS-tst-chk5): Renamed to ...
13113 (LDLIBS-tst-chk5): This.
13114 (LDFLAGS-tst-chk6): Renamed to ...
13115 (LDLIBS-tst-chk6): This.
13116 (LDFLAGS-tst-lfschk4): Renamed to ...
13117 (LDLIBS-tst-lfschk4): This.
13118 (LDFLAGS-tst-lfschk5): Renamed to ...
13119 (LDLIBS-tst-lfschk5): This.
13120 (LDFLAGS-tst-lfschk6): Renamed to ...
13121 (LDLIBS-tst-lfschk6): This.
13122
691bc9c1
L
13123 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13124 on $(common-objpfx)soversions.mk.
13125
65cafb1c
JM
131262012-09-07 Joseph Myers <joseph@codesourcery.com>
13127
13128 [BZ #10014]
13129 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13130 example host name.
13131
c78ab094
SP
131322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13133
13134 * malloc/arena.c (arena_get_retry): New function that gets
13135 another arena for the caller to try its request on.
13136 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13137 current arena cannot fulfill the request.
13138 (__libc_memalign): Likewise.
13139 (__libc_memalign): Likewise.
13140 (__libc_pvalloc): Likewise.
13141 (__libc_calloc): Likewise.
13142
01f49f59
JT
131432012-09-05 John Tobey <john.tobey@gmail.com>
13144
13145 [BZ #13542]
13146 * manual/arith.texi (Operations on Complex): Fix description
13147 of carg branch cut.
13148
4c23fed5
JM
131492012-09-06 Joseph Myers <joseph@codesourcery.com>
13150
1d3c8572
JM
13151 [BZ #10014]
13152 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13153 host name.
13154
4c23fed5
JM
13155 [BZ #10038]
13156 * manual/memory.texi (Memory): Make order of menu items match
13157 order of sections.
13158
04570aaa
L
131592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13162 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13163 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13164
b80af2f4
L
131652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 * csu/libc-tls.c (static_dtv): Renamed to ...
13168 (_dl_static_dtv): This. Make it global.
13169 (_dl_initial_dtv): Removed.
13170 (__libc_setup_tls): Updated.
13171 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13172 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13173 DL_INITIAL_DTV.
13174
2abe9f15
PM
131752012-09-06 Petr Machata <pmachata@redhat.com>
13176
13177 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13178 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13179 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13180 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13181
0948c3af
L
131822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13183
13184 [BZ #14545]
13185 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13186 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13187 freeing dtv[-1].
13188
a5055ad1
L
131892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13190
13191 [BZ #14544]
13192 * Makeconfig (link-static-before-libc): Replace $(+prector)
13193 with $(+prectorT).
13194 (link-static-after-libc): Replace $(+postctor) with
13195 $(+postctorT).
13196 (link-bounded): Replace $(+prector)/$(+postctor) with
13197 $(+prectorT)/$(+postctorT).
13198 (+prectorT): New macro.
13199 (+postctorT): Likewise.
13200
ed8c2ecd
JM
132012012-09-06 Joseph Myers <joseph@codesourcery.com>
13202
13203 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13204 (round_str): Handle values above the maximum for IBM long double
13205 as inexact.
13206 * stdlib/tst-strtod-round.c (tests): Regenerated.
13207
14c996c8
AK
132082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13209
13210 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13211 assembler flag.
13212 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13213 zarch_nohighgprs around the zarch optimized routines.
13214 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13215 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13217 for zarch.
13218
430d6ce6
DM
132192012-09-05 David S. Miller <davem@davemloft.net>
13220
13221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13222
ff04dda4
DM
13223 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13224 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13225 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13226 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13227 entries.
13228
24d4e01b
AO
132292012-09-05 Alexandre Oliva <aoliva@redhat.com>
13230
13231 * malloc/arena.c: Fold copyright years.
13232 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13233
61d58174
AO
132342012-09-05 Alexandre Oliva <aoliva@redhat.com>
13235
13236 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13237
20196a5e
AO
132382012-09-05 Alexandre Oliva <aoliva@redhat.com>
13239
13240 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13241
5c447383
AO
132422012-09-05 Alexandre Oliva <aoliva@redhat.com>
13243
13244 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13245 change internal state upon failure.
13246
fad64255
AO
132472012-09-05 Alexandre Oliva <aoliva@redhat.com>
13248
13249 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13250 * malloc/memusage.c (mmap): Likewise.
13251 (mmap64, mremap): Likewise. Adjust name in comment.
13252
1ffb8c90
SP
132532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13254
13255 * libio/fileops.c: Fix typos in comments.
13256 * libio/oldfileops.c: Likewise.
13257 * libio/wfileops.c: Likewise.
13258
6ef9cc37
SP
132592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13260
13261 [BZ #1349]
13262 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13263 (tst-malloc-usable-ENV): Set environment for test case.
13264 * malloc/hooks.c (malloc_check_get_size): New function to get
13265 requested size.
13266 * malloc/malloc.c (musable): Use malloc_check_get_size.
13267 * malloc/tst-malloc-usable.c: New test case.
13268
4d038ae3
AS
132692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13270
13271 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13272
c4e85184
AM
132732012-09-05 Allan McRae <allan@archlinux.org>
13274
b9dafc56 13275 [BZ #13966]
c4e85184
AM
13276 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13277 determine header location.
13278 * configure: Regenerated.
13279
e1343020
AS
132802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13281
13282 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13283 float format.
13284 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13285 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13286 format.
e1343020
AS
13287 (test): Regenerate.
13288
0a9f1987
DM
132892012-09-04 David S. Miller <davem@davemloft.net>
13290
13291 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13292 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13293 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13294
29237804
FW
132952012-09-04 Florian Weimer <fweimer@redhat.com>
13296
13297 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13298 failures.
13299
edb3cb88
FW
13300 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13301
60160d83
JM
133022012-09-04 Joseph Myers <joseph@codesourcery.com>
13303
13304 [BZ #9914]
13305 * libio/iogetdelim.c: Include <limits.h>.
13306 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13307 + len + 1 would overflow.
13308
bcd6c8dc
AJ
133092012-09-03 Andreas Jaeger <aj@suse.de>
13310
13311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13312 * sysdeps/i386/fpu/libm-test-ulps: Update.
13313
4ffffbd2
LD
133142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13315
13316 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13317 Add s_sinf-sse2, s_conf-sse2.
13318
13319 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13320 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13321 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13322 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13323
13324 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13325 for using routine as __sinf_ia32.
13326 Use macro for function declaration and weak_alias.
13327 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13328 for using routine as __cosf_ia32.
13329 Use macro for function declaration and weak_alias.
13330
13331 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13332 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13333
13334 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13335 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13337
13338 * math/libm-test.inc (cos_test): Add more test cases.
13339 (sin_test): Likewise.
13340 (sincos_test): Likewise.
13341
511fa286
AK
133422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13343
13344 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13345 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13346 hidden.
13347 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13348
5f30cfec
L
133492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13350
13351 [BZ #14538]
13352 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13353 first element of the GOT.
13354 (elf_machine_load_address): Return the difference between
13355 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13356
0786794f
AM
133572012-09-01 Allan McRae <allan@archlinux.org>
13358
5f30cfec
L
13359 [BZ #13412]
13360 * configure.in (AWK): Require gawk version 3.0 or later.
13361 * configure: Regenerated.
0786794f 13362
26889eac
JM
133632012-09-01 Joseph Myers <joseph@codesourcery.com>
13364
13365 * sysdeps/unix/sysv/linux/kernel-features.h
13366 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13368 [__NR_clock_getres]: Make code unconditional.
13369 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13370 (clock_getcpuclockid): Remove code left unreachable by removal of
13371 conditionals.
13372 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13373 code unconditional.
13374 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13375 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13376 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13377 Make code unconditional.
13378 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13379 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13380 * sysdeps/unix/sysv/linux/clock_settime.c
13381 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13382 conditional code.
13383 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13384 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13385
d22e28b0
L
133862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13387
13388 [BZ #14476]
13389 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13390 scripts/test-installation.pl.
13391
13392 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13393 and $ld_so_version if it is set.
13394
050af9c4
SP
133952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13396
13397 [BZ #14516]
13398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13399 failure if reading from procfs failed.
13400 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13401
ad845c0b
JM
134022012-08-27 Joseph Myers <joseph@codesourcery.com>
13403
13404 * sysdeps/unix/sysv/linux/kernel-features.h
13405 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13406 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13407 Remove conditional code.
13408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13409 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13410 Remove conditional code.
13411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13412 * sysdeps/unix/sysv/linux/i386/fxstat.c
13413 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13415 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13416 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13418 * sysdeps/unix/sysv/linux/i386/lxstat.c
13419 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13421 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13422 Remove conditional code.
13423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13424 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13425 Remove conditional code.
13426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13427 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13428 <kernel-features.h>.
13429 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13430 Remove.
13431 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13432 Remove conditional code.
13433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13434 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13435 Remove conditional.
13436
5dbf56af
MF
134372012-08-27 Mike Frysinger <vapier@gentoo.org>
13438
13439 [BZ #5400]
13440 * NEWS: Add fixed bug number.
13441
d6e70f43
JM
134422012-08-27 Joseph Myers <joseph@codesourcery.com>
13443
7efb4737
JM
13444 [BZ #14519]
13445 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13446 underflowing exponent in case of negative sign.
13447 * stdlib/tst-strtod-round-data: Add more tests.
13448 * stdlib/tst-strtod-round.c (tests): Regenerated.
13449
af92131a
JM
13450 [BZ #3479]
13451 * stdlib/strtod_l.c (NDIG): Remove.
13452 (HEXNDIG): Likewise.
13453 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13454 smallest representable value.
13455 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13456 lie within an exact representation of 1/2 ulp of the result.
13457 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13458 unconditionally.
13459 (TENS_P9_IDX): Define unconditionally.
13460 (TENS_P9_SIZE): Likewise.
13461 (TENS_P10_IDX): Likewise.
13462 (TENS_P10_SIZE): Likewise.
13463 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13464 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13465 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13466 entries for 10^2^13 and 10^2^14.
13467 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13468 (TENS_P13_IDX): Define.
13469 (TENS_P13_SIZE): Likewise.
13470 (TENS_P14_IDX): Likewise.
13471 (TENS_P14_SIZE): Likewise.
13472 (_fpioconst_pow10): Change array size to
13473 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13474 unconditional.
13475 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13476 1024]: Add entries for 10^2^13 and 10^2^14.
13477 [LAST_POW10 > _LAST_POW10]: Remove #error.
13478 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13479 (_fpioconst_pow10): Change array size to
13480 FPIOCONST_POW10_ARRAY_SIZE.
13481 * stdlib/gen-fpioconst.c: New file.
13482 * stdlib/gen-tst-strtod-round.c: Likewise.
13483 * stdlib/tst-strtod-round-data: Likewise.
13484 * stdlib/tst-strtod-round.c: Likewise.
13485 * stdlib/Makefile (tests): Add tst-strtod-round.
13486
d6e70f43
JM
13487 [BZ #14459]
13488 * stdlib/strtod_l.c: Include <stdint.h>.
13489 (NDEBUG): Do not define.
13490 (round_and_return): Change EXPONENT parameter to type intmax_t.
13491 Rearrange calculations to avoid internal overflow possibilities.
13492 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13493 Rearrange calculations to avoid internal overflow possibilities.
13494 Assert that number fits inside MPNSIZE limbs.
13495 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13496 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13497 calculations and add assertions to avoid internal overflow
13498 possibilities. Add casts to avoid signed/unsigned operations.
13499 * stdlib/tst-strtod-overflow.c: New file.
13500 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13501
1f529f7d
MP
135022012-08-25 Marek Polacek <polacek@redhat.com>
13503
13504 * time/time.h: Fix some typos in comments.
13505
59a629f1
RM
135062012-08-23 Roland McGrath <roland@hack.frob.com>
13507
13508 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13509 * posix/tst-rfc3484-2.c: Likewise.
13510 * posix/tst-rfc3484-3.c: Likewise.
13511
d3bafbc9
SM
135122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13513
13514 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13515 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13516
4efcc022
JM
135172012-08-23 Joseph Myers <joseph@codesourcery.com>
13518
13519 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13520 #include of fxstatat64.c.
13521
3cc3ef96
RM
135222012-08-22 Roland McGrath <roland@hack.frob.com>
13523
f04e2132
RM
13524 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13525 * shadow/getspent_r.c: Likewise.
13526 * shadow/getspnam.c: Likewise.
13527 * shadow/getspnam_r.c: Likewise.
13528 * gshadow/getsgent.c: Likewise.
13529 * gshadow/getsgent_r.c: Likewise.
13530 * gshadow/getsgnam.c: Likewise.
13531 * gshadow/getsgnam_r.c: Likewise.
13532 * inet/getnetbyad.c: Likewise.
13533 * inet/getnetbyad_r.c: Likewise.
13534 * inet/getnetbynm.c: Likewise.
13535 * inet/getnetbynm_r.c: Likewise.
13536 * inet/getnetent.c: Likewise.
13537 * inet/getnetent_r.c: Likewise.
13538 * inet/getproto.c: Likewise.
13539 * inet/getproto_r.c: Likewise.
13540 * inet/getprtent.c: Likewise.
13541 * inet/getprtent_r.c: Likewise.
13542 * inet/getprtname.c: Likewise.
13543 * inet/getprtname_r.c: Likewise.
13544 * inet/getrpcbyname.c: Likewise.
13545 * inet/getrpcbyname_r.c: Likewise.
13546 * inet/getrpcbynumber.c: Likewise.
13547 * inet/getrpcbynumber_r.c: Likewise.
13548 * inet/getrpcent.c: Likewise.
13549 * inet/getrpcent_r.c: Likewise.
13550 * inet/getaliasent.c: Likewise.
13551 * inet/getaliasent_r.c: Likewise.
13552 * inet/getaliasname.c: Likewise.
13553 * inet/getaliasname_r.c: Likewise.
13554 * nscd/getgrgid_r.c: Likewise.
13555 * nscd/getgrnam_r.c: Likewise.
13556 * nscd/gethstbyad_r.c: Likewise.
13557 * nscd/gethstbynm3_r.c: Likewise.
13558 * nscd/getpwnam_r.c: Likewise.
13559 * nscd/getpwuid_r.c: Likewise.
13560 * nscd/getsrvbynm_r.c: Likewise.
13561 * nscd/getsrvbypt_r.c: Likewise.
13562 * nscd/gai.c: Likewise.
13563
c53d909c
RM
13564 * configure.in (build_nscd): New substituted variable, set
13565 by --disable-build-nscd and defaults to $use_nscd.
13566 * configure: Regenerated.
13567 * config.make.in (build-nscd): New substituted variable.
13568 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13569 Change conditional to require [$(build-nscd) = yes] as well.
13570 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13571
3cc3ef96
RM
13572 [BZ# 13696]
13573 * configure.in (use_nscd): New substituted variable, set by
13574 --disable-nscd. If enabled, define USE_NSCD.
13575 * configure: Regenerated.
13576 * config.h.in: Add USE_NSCD.
13577 * config.make.in (use-nscd): New substituted variable.
13578 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13579 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13580 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13581 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13582 (CFLAGS-getgrnam_r.c): Likewise.
13583 (CFLAGS-initgroups.c): Likewise.
13584 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13585 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13586 Variables removed.
13587 * inet/getnetgrent_r.c
13588 (nscd_setnetgrent): New function, broken out of ...
13589 (setnetgrent): ... here. Call it.
13590 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13591 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13592 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13593 * nscd/Makefile (routines, aux): Move definitions after include of
13594 Makeconfig. Conditionalize on [$(use-nscd) != no].
13595 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13596 Conditionalize on [USE_NSCD].
13597 (is_nscd, nscd_init_cb): Likewise.
13598 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13599 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13600 * nss/nss_db/db-init.c: Likewise.
13601 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13602 [USE_NSCD].
13603 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13604 (make_request): Use it.
13605 (cache_valid_p): New function.
13606 (__check_pf): Use it.
13607 * NEWS: Add item for --disable-nscd.
13608
07e51550
DL
136092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13610
13611 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13612 to support sed >= 4.2.1-20-ga9bf076.
13613 * configure: Regenerated.
13614
35a5b08b
RM
136152012-08-22 Roland McGrath <roland@hack.frob.com>
13616
13617 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13618 Conditionalize whole body on [IREL].
13619
8479f23a
JL
136202012-08-22 Jeff Law <law@redhat.com>
13621
13622 [BZ #14505]
13623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13624 if the family is PF_UNSPEC.
13625
48da0b21
MF
136262012-08-22 Mike Frysinger <vapier@gentoo.org>
13627
13628 * Makerules (lib-version): Rename from V.
13629 (install-lib-nosubdir): Change V to lib-version.
13630
15d0da8c
WS
136312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13632
13633 [BZ #14252]
13634 * powerpc32/power6/wcschr.c: New file.
13635 * powerpc32/power6/wcscpy.c: New file.
13636 * powerpc32/power6/wcsrchr.c: New file.
13637 * powerpc64/power6/wcschr.c: New file.
13638 * powerpc64/power6/wcscpy.c: New file.
13639 * powerpc64/power6/wcsrchr.c: New file.
13640
bcca0895
MK
136412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13642
13643 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13644 (two_way_short_needle): Use it.
5a4aaa33
RM
13645 * string/strstr.c (AVAILABLE1_USES_J): Define.
13646 * string/strcasestr.c: Likewise.
99677e57
MK
13647
13648 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13649 array references.
13650 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13651
400726de
MK
13652 [BZ #11607]
13653 * NEWS: Add an entry.
13654 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13655 define their defaults.
13656 (two_way_short_needle): Detect end-of-string on-the-fly.
13657 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13658 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13659 * string/bug-strcasestr1.c: New test.
13660 * string/Makefile: Run it.
13661
20a71f2c
MK
136622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13663
13664 [BZ #11607]
13665 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13666 the first character.
13667
21ad0558
RM
136682012-08-21 Roland McGrath <roland@hack.frob.com>
13669
13670 * csu/elf-init.c (__libc_csu_irel): Function removed.
13671 * csu/libc-start.c (apply_irel): New function.
13672 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13673
0e1d9911
JM
136742012-08-21 Joseph Myers <joseph@codesourcery.com>
13675
13676 * sysdeps/unix/sysv/linux/kernel-features.h
13677 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13678 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13679 <kernel-features.h>.
13680 [__NR_fadvise64_64]: Make code unconditional.
13681 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13682 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13683 !__NR_fadvise64_64)]: Likewise.
13684 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13685 !__NR_fadvise64_64))]: Likewise.
13686 [__NR_fadvise64]: Make code unconditional.
13687 [!__NR_fadvise64]: Remove conditional code.
13688 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13689 <kernel-features.h>.
13690 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13691 unconditional.
13692 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13693 conditional code.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13695 not include <kernel-features.h>.
13696 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13697 unconditional.
13698 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13699 conditional code.
13700 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13701 include <kernel-features.h>.
13702 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13703 unconditional.
13704 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13705 conditional code.
13706
14a50c9d
WS
137072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13708
13709 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13710 slight instruction rearrangements per scrollpipe analysis.
13711 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13712
c0f4faf0
RM
137132012-08-20 Roland McGrath <roland@hack.frob.com>
13714
696da859
RM
13715 * manual/syslog.texi (syslog; vsyslog, closelog):
13716 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13717 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13718
c0f4faf0
RM
13719 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13720 DSOCAPS to match condition on defining it.
13721
348363b2
JM
137222012-08-20 Joseph Myers <joseph@codesourcery.com>
13723
a35cbf28
JM
13724 * sysdeps/unix/sysv/linux/kernel-features.h
13725 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13727 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13728 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13730 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13731 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13733 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13734 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13735
445f7ecd
JM
13736 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13737 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13738
348363b2
JM
13739 * sysdeps/unix/sysv/linux/kernel-features.h
13740 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13741 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13742 unconditional.
13743 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13744 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13745 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13746 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13747 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13748 Make code unconditional.
13749 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13750 (__mmap64) [!__NR_mmap2]: Likewise.
13751 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13752 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13753 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13754 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13755 [__NR_mmap2]: Make code unconditional.
13756 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13757 (__mmap64) [!__NR_mmap2]: Likewise.
13758
bc5bc0e5
AK
137592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13760
13761 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13762
88d506de
AJ
137632012-08-18 Andreas Jaeger <aj@suse.de>
13764
13765 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13766
493387d2
MF
137672012-08-18 Mike Frysinger <vapier@gentoo.org>
13768
13769 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13770 * include/unistd.h (__have_sock_cloexec): Likewise.
13771 (__have_pipe2): Likewise.
13772 (__have_dup3): Likewise.
13773
a277af22
MF
137742012-08-18 Mike Frysinger <vapier@gentoo.org>
13775
13776 [BZ #9685]
13777 * include/unistd.h (__have_pipe2): Change define into an extern int.
13778 (__have_dup3): Likewise.
13779 * socket/have_sock_cloexec.c: Include fcntl.h.
13780 (__have_pipe2): New variable.
13781 (__have_dup3): Likewise.
13782
fdab8fd3
MF
137832012-08-17 Mike Frysinger <vapier@gentoo.org>
13784
13785 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13786
31035e80
MP
137872012-08-17 Marek Polacek <polacek@redhat.com>
13788
13789 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13790 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13791
3bd9e993
RM
137922012-08-17 Roland McGrath <roland@hack.frob.com>
13793
c91c505f
RM
13794 * configure.in: Add AC_SUBST for sysheaders.
13795 * configure: Regenerated.
13796 * config.make.in (sysheaders): New substituted variable.
13797
7c6f9d53
RM
13798 * sysdeps/unix/mkfifo.c: Moved ...
13799 * sysdeps/posix/mkfifo.c: ... here.
13800 * sysdeps/unix/mkfifoat.c: Moved ...
13801 * sysdeps/posix/mkfifoat.c: ... here.
13802
13803 * sysdeps/unix/utime.c: Moved ...
13804 * sysdeps/posix/utime.c: ... here.
13805
13806 * sysdeps/unix/time.c: Moved ...
13807 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13808 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13810
13811 * sysdeps/unix/nice.c: Moved ...
13812 * sysdeps/posix/nice.c: ... here.
13813
13814 * sysdeps/unix/alarm.c: Moved ...
13815 * sysdeps/posix/alarm.c: ... here.
13816
3bd9e993
RM
13817 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13818
d1f09384
JL
138192012-08-17 Jeff Law <law@redhat.com>
13820
13821 * intl/Makefile (codeset_mo): New variable.
13822 ($(codeset_mo)): New target.
13823 (tst-codeset.out): Depend on that. Remove explicit rule.
13824 (tst-gettext3.out, tst-gettext5.out): Likewise.
13825 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13826 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13827 * intl/tst-codeset.sh: Remove.
13828 * intl/tst-gettext3.sh: Likewise.
13829 * intl/tst-gettext5.sh: Likewise.
13830
2ae1ae5c
RM
138312012-08-17 Roland McGrath <roland@hack.frob.com>
13832
c31fdb83
RM
13833 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13834 * sysdeps/unix/syscalls.list: ... here.
13835
a0844057
RM
13836 * sysdeps/posix/getaddrinfo.c
13837 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13838 (gaiconf_init, gaiconf_reload): Use them.
13839 [!_STATBUF_ST_NSEC]
13840 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13841 Define using time_t rather than struct timespec.
13842
750c1f2a
RM
13843 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13844 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13845 Macros removed.
13846 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13847 [!NO_THREADS].
13848 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13849 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13850 Likewise.
13851
2ae1ae5c
RM
13852 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13853 __libc_cleanup_push argument.
13854
e66a42f5
RM
13855 * bits/param.h: New file.
13856 * misc/sys/param.h: New file.
13857 * include/sys/param.h: New file.
13858 * misc/Makefile (headers): Add bits/param.h.
13859 * sysdeps/generic/sys/param.h: File removed.
13860 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13861 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13862 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13863 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13864
b7c08a66
RM
13865 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13866 last change.
13867
b2e1c562
RM
13868 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13869 [_IO_MTSAFE_IO].
13870 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13871 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13872 New macros.
13873
c75ccd4c
RM
13874 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13875 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13876 rather than -D_IO_MTSAFE_IO conditionally.
13877 * stdio-common/Makefile (CPPFLAGS): Likewise.
13878 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13879 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13880 Use $(libio-mtsafe).
13881 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13882 of -D_IO_MTSAFE_IO.
13883 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13884 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13885 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13886 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13887 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13888 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13889 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13890 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13891 (CFLAGS-fread_u_chk.c): Likewise.
13892 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13893 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13894 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13895 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13896 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13897 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13898 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13899 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13900 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13901
13902 * libio/Makefile: Test [$(libc-reentrant) = yes]
13903 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13904
13905 * Makeconfig
13906 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13907 * sysdeps/pthread/configure: File removed.
13908 * sysdeps/pthread/Makeconfig: New file.
13909 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13910 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13911
d9195db8
GB
139122012-08-16 Gary Benson <gbenson@redhat.com>
13913
13914 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13915 unmapping the first object in a namespace.
13916
86466cd9
RM
139172012-08-16 Roland McGrath <roland@hack.frob.com>
13918
13919 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13920 (__internal_setnetgrent): ... this. Add internal_function to
13921 definition. Add libc_hidden_def.
13922 (setnetgrent): Update caller.
13923 (internal_endnetgrent): Renamed to ...
13924 (__internal_endnetgrent): ... this. Add internal_function to
13925 definition. Add libc_hidden_def.
13926 (endnetgrent): Update caller.
13927 (internal_getnetgrent_r): Renamed to ...
13928 (__internal_getnetgrent_r): ... this. Add internal_function to
13929 definition. Add libc_hidden_def.
13930 (__getnetgrent_r): Update caller.
13931 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13932
c3c8283c
JM
139332012-08-16 Joseph Myers <joseph@codesourcery.com>
13934
13935 * stdlib/longlong.h: Update from GCC.
13936
db1ee0a8
RM
139372012-08-16 Roland McGrath <roland@hack.frob.com>
13938
13939 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13940 on _QL, which is set by umul_ppmm but never used.
13941 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13942 variables, which are set by GMP macros but never used.
13943 * stdio-common/_itowa.c (_itowa): Likewise.
13944 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13945 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13946
30f69637
CD
139472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13948
13949 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13950 struct La_sh_regs is not constant.
13951 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13952 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13953 and struct La_sparc64_regs are not constant.
13954
93a78ac4
JM
139552012-08-16 Joseph Myers <joseph@codesourcery.com>
13956
13957 * sysdeps/unix/sysv/linux/kernel-features.h
13958 (__ASSUME_POSIX_TIMERS): Remove.
13959 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13960 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13961 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13962 Make code unconditional.
13963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13964 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13965 Make code unconditional.
13966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13967 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13968 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13970 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13971 Make code unconditional.
13972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13973 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13974 (__libc_missing_posix_timers): Remove.
13975
dd924cd7
RM
139762012-08-15 Roland McGrath <roland@hack.frob.com>
13977
4b4f2771
RM
13978 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13979 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13980
601c888b
RM
13981 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13982
176790a7
RM
13983 * elf/dl-sym.c: Include <stdlib.h>.
13984
329bc018
RM
13985 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13986 constants, which avoids warnings in 32-bit builds.
13987
e04e272d
RM
13988 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13989 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13990
952bf94a
RM
13991 * misc/lseek.c: File moved to ...
13992 * io/lseek.c: ... here.
13993
7c99b50a
RM
13994 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13995
dd924cd7
RM
13996 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13997 shifting LEN more than 31 bits at once.
13998
b3f479a8
LD
139992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14000
14001 [BZ #14195]
8c4ae0d4
RM
14002 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14003 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14004 * string/test-strncasecmp.c (check1): Renamed to...
14005 (bz12205): ...this.
14006 (bz14195): Add new testcase for two empty input strings and N > 0.
14007 (test_main): Call new testcase, adapt for renamed function.
14008
9c55864e
AJ
140092012-08-15 Andreas Jaeger <aj@suse.de>
14010
14011 [BZ #14090]
14012 * crypt/md5test2.c: New test, based on test supplied by Serge
14013 Belyshev <belyshev@depni.sinp.msu.ru>.
14014 * crypt/Makefile (xtests): Add md5test-giant..
14015 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14016
02dcb6c5
PE
140172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14018
14019 [BZ #14090]
14020 * crypt/md5.c (md5_process_block): Don't assume the buffer
14021 length is less than 2**32.
14022 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14023 length is less than 2**64.
14024
a3f95dcc
RM
140252012-08-15 Roland McGrath <roland@hack.frob.com>
14026
be75d758
RM
14027 * string/str-two-way.h: Include <sys/param.h>.
14028 (MAX): Macro removed.
14029
7312ca90
RM
14030 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14031 Move #define and #undef of memmove to just before and after
14032 including <string.h>.
14033
9a0a5486
RM
14034 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14035 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14036 and after including <string.h>. Move declarations of
14037 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14038 to before #include "string/memmove.c".
14039
67cc348d
RM
14040 * include/dirent.h: Declare __getdirentries.
14041
a3f95dcc
RM
14042 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14043 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14044
ca98e171
MF
140452012-08-14 Mike Frysinger <vapier@gentoo.org>
14046
14047 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14048 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14049 * sysdeps/i386/configure: Regenerated.
14050 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14051 STABS_CURRENT_FILE, and STABS_FUN.
14052 (END): Remove call to STABS_FUN_END.
14053 (STABS_CURRENT_FILE1): Delete.
14054 (STABS_CURRENT_FILE): Likewise.
14055 (STABS_FUN): Likewise.
14056 (STABS_FUN_END): Likewise.
14057 (STABS_FUN2): Likewise.
14058 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14059 * sysdeps/x86_64/configure: Regenerated.
14060
5908bf46
RM
140612012-08-14 Roland McGrath <roland@hack.frob.com>
14062
14063 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14064 * elf/dl-lookup.c: Likewise.
5908bf46 14065
f2c05b9e
JM
140662012-08-14 Joseph Myers <joseph@codesourcery.com>
14067
14068 * sysdeps/unix/sysv/linux/kernel-features.h
14069 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14070 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14071 unconditionally.
14072 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14073 unconditionally.
14074 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14075 condition on __ASSUME_CLONE_THREAD_FLAGS.
14076
e11f5155
AJ
140772012-08-14 Andreas Jaeger <aj@suse.de>
14078
14079 * sysdeps/i386/fpu/libm-test-ulps: Update.
14080
51a9ba86
MK
140812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14082
2fdd4f78
AJ
14083 * include/atomic.h (atomic_exchange_and_add): Split into ...
14084 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14085 New atomic macros.
51a9ba86 14086
ba6cba9e
MT
140872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14088
14089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14090
42443a47
JL
140912012-08-13 Jeff Law <law@redhat.com>
14092
14093 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14094 null byte in the output string.
14095
121dce05
JM
140962012-08-10 Joseph Myers <joseph@codesourcery.com>
14097
14098 * sysdeps/unix/sysv/linux/kernel-features.h
14099 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14100 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14101 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14102 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14103 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14104 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14105 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14106
bf51f568
JL
141072012-08-09 Jeff Law <law@redhat.com>
14108
14109 [BZ #13939]
14110 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14111 When avoid_arena is set, don't retry in the that arena. Pick the
14112 next one, whatever it might be.
14113 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14114 (arena_lock): Pass in new parameter to arena_get2.
14115 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14116 arena_get2.
14117 (__libc_malloc): Unify retrying after main arena failure with
14118 __libc_memalign version.
14119 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14120
f85fa270
L
141212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 [BZ #14166]
14124 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14125 to __redirect_strstr.
14126 (__strstr_sse42): Use typeof __redirect_strstr.
14127 (__strstr_ia32): Likewise.
14128 (__libc_strstr): New prototype.
14129 (strstr): Renamed to ...
14130 (__libc_strstr): This.
14131 (strstr): New strong alias of __libc_strstr.
14132 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14133 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14134 __redirect_time.
14135 Include <time.h>.
14136 (__libc_time): New prototype.
14137 (time_ifunc): Replace time with __libc_time.
14138 (time): New strong alias and hidden definition of __libc_time.
14139 (__GI_time): Remove strong alias.
14140 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14141 Include <stddef.h>.
14142 (memmove): Redefined to __redirect_memmove.
14143 (__memmove_sse2): Use typeof __redirect_memmove.
14144 (__memmove_ssse3): Likewise.
14145 (__memmove_ssse3_back): Likewise.
14146 (__libc_memmove): New prototype.
14147 (memmove): Renamed to ...
14148 (__libc_memmove): This.
14149 (memmove): New strong alias of __libc_memmove.
14150
33b4a91e
MS
141512012-08-08 Mark Salter <msalter@redhat.com>
14152
14153 * elf/elf.h
14154 (R_MN10300_TLS_GD): Define.
14155 (R_MN10300_TLS_LD): Likewise.
14156 (R_MN10300_TLS_LDO): Likewise.
14157 (R_MN10300_TLS_GOTIE): Likewise.
14158 (R_MN10300_TLS_IE): Likewise.
14159 (R_MN10300_TLS_LE): Likewise.
14160 (R_MN10300_TLS_DTPMOD): Likewise.
14161 (R_MN10300_TLS_DTPOFF): Likewise.
14162 (R_MN10300_TLS_TPOFF): Likewise.
14163 (R_MN10300_SYM_DIFF): Likewise.
14164 (R_MN10300_ALIGN): Likewise.
14165 (R_MN10300_NUM): Update.
14166
b36137f1
JM
141672012-08-08 Joseph Myers <joseph@codesourcery.com>
14168
14169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14170 Remove.
14171
cdd915fd
RM
141722012-08-08 Roland McGrath <roland@hack.frob.com>
14173
a2433aac
RM
14174 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14175
cdd915fd
RM
14176 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14177 sysdeps/unix -> sysdeps/posix move.
14178 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14179
bf9b740a
AM
141802012-08-07 Allan McRae <allan@archlinux.org>
14181
14182 [BZ #14303]
14183 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14184 (SUNOS_CPP): Likewise.
14185 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14186 not found.
14187 (open_input): Call CPP using execvp.
14188
93df14ee
JM
141892012-08-07 Joseph Myers <joseph@codesourcery.com>
14190
14191 * sysdeps/unix/sysv/linux/kernel-features.h
14192 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14193 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14194 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14195 (__ASSUME_WAITID_SYSCALL): Likewise.
14196 * sysdeps/unix/sysv/linux/dl-execstack.c
14197 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14198 code unconditional.
14199 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14200 conditional code.
14201 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14202 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14203 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14204 code.
14205 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14206 unconditional.
14207 [__ASSUME_WAITID_SYSCALL]: Likewise.
14208 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14209
d34689de
RM
142102012-08-07 Roland McGrath <roland@hack.frob.com>
14211
a281decc
RM
14212 * sysdeps/unix/closedir.c: Renamed to ...
14213 * sysdeps/posix/closedir.c: ... here.
14214 * sysdeps/unix/dirfd.c: Renamed to ...
14215 * sysdeps/posix/dirfd.c: ... here.
14216 * sysdeps/unix/dirstream.h: Renamed to ...
14217 * sysdeps/posix/dirstream.h: ... here.
14218 * sysdeps/unix/fdopendir.c: Renamed to ...
14219 * sysdeps/posix/fdopendir.c: ... here.
14220 * sysdeps/unix/opendir.c: Renamed to ...
14221 * sysdeps/posix/opendir.c: ... here.
14222 * sysdeps/unix/readdir.c: Renamed to ...
14223 * sysdeps/posix/readdir.c: ... here.
14224 * sysdeps/unix/readdir_r.c: Renamed to ...
14225 * sysdeps/posix/readdir_r.c: ... here.
14226 * sysdeps/unix/rewinddir.c: Renamed to ...
14227 * sysdeps/posix/rewinddir.c: ... here.
14228 * sysdeps/unix/seekdir.c: Renamed to ...
14229 * sysdeps/posix/seekdir.c: ... here.
14230 * sysdeps/unix/telldir.c: Renamed to ...
14231 * sysdeps/posix/telldir.c: ... here.
14232 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14233 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14234 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14235 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14236
22895b47
RM
14237 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14238 * bits/fcntl.h: ... here.
14239
707a53b6
RM
14240 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14241 not 0.
14242 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14243 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14244 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14245 (struct flock): Move l_start, l_len to the beginning.
14246 Use __pid_t for l_pid.
14247 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14248 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14249 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14250 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14251 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14252 [__USE_LARGEFILE64] (struct flock64): New type.
14253 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14254
f0bd3e25
RM
14255 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14256 * bits/dirent.h: ... here.
14257
d34689de
RM
14258 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14259 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14260
6dad2c06
JM
142612012-08-07 Joseph Myers <joseph@codesourcery.com>
14262
14263 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14264 Change from 2.6.0 to 2.6.16.
14265 * sysdeps/unix/sysv/linux/configure: Regenerated.
14266 * sysdeps/unix/sysv/linux/kernel-features.h
14267 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14268 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14269 version.
14270 (__ASSUME_UTIMES): Likewise.
14271 (__ASSUME_CLONE_STOPPED): Remove.
14272 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14273 architectures, not kernel version.
14274 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14275 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14276 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14277 (__ASSUME_WAITID_SYSCALL): Likewise.
14278 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14279 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14280 * README: State 2.6.16 as minimum Linux kernel version. Do not
14281 refer to older versions.
14282
03af9520
RM
142832012-08-06 Roland McGrath <roland@hack.frob.com>
14284
8e49df1d
RM
14285 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14286 Define alphasort64 as an alias.
14287 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14288 Define versionsort64 as an alias.
14289 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14290 Define scandir64 as an alias.
14291 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14292 Define scandirat64 as an alias.
14293 * dirent/alphasort64.c (alphasort64):
14294 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14295 * dirent/versionsort64.c: Likewise.
14296 * dirent/scandir64.c: Likewise.
14297 * dirent/scandirat64.c: Likewise.
14298 * sysdeps/wordsize-64/alphasort.c: File removed.
14299 * sysdeps/wordsize-64/alphasort64.c: File removed.
14300 * sysdeps/wordsize-64/scandir.c: File removed.
14301 * sysdeps/wordsize-64/scandir64.c: File removed.
14302 * sysdeps/wordsize-64/scandirat.c: File removed.
14303 * sysdeps/wordsize-64/scandirat64.c: File removed.
14304 * sysdeps/wordsize-64/versionsort.c: File removed.
14305 * sysdeps/wordsize-64/versionsort64.c: File removed.
14306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14307 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14309 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14311 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14312 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14313 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14314
14315 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14317 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14319 [defined __arch64__ || defined __sparcv9]
14320 (__INO_T_MATCHES_INO64_T): New macro.
14321 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14322 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14323 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14324 * sysdeps/unix/sysv/linux/bits/dirent.h
14325 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14326 (_DIRENT_MATCHES_DIRENT64): New macro.
14327
03af9520
RM
14328 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14329 Define lockf64 as an alias.
14330 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14331 Define fseeko64 as an alias.
14332 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14333 Define ftello64 as an alias.
14334 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14335 Define _IO_fgetpos64 and fgetpos64 as aliases.
14336 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14337 Define _IO_fsetpos64 and fsetpos64 as aliases.
14338 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14339 Conditionalize body on this.
14340 * libio/fseeko64.c: Likewise.
14341 * libio/ftello64.c: Likewise.
14342 * libio/iofgetpos64.c: Likewise.
14343 * libio/iofsetpos64.c: Likewise.
14344 * sysdeps/wordsize-64/lockf.c: File removed.
14345 * sysdeps/wordsize-64/lockf64.c: File removed.
14346 * sysdeps/wordsize-64/fseeko.c: File removed.
14347 * sysdeps/wordsize-64/fseeko64.c: File removed.
14348 * sysdeps/wordsize-64/ftello.c: File removed.
14349 * sysdeps/wordsize-64/ftello64.c: File removed.
14350 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14351 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14352 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14353 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14355 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14357 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14359 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14361 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14364
14365 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14367 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14369 [defined __arch64__ || defined __sparcv9]
14370 (__OFF_T_MATCHES_OFF64_T): New macro.
14371 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14372 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14374 (__OFF_T_MATCHES_OFF64_T): New macro.
14375
c5757acd
L
143762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 * stdlib/secure-getenv.c (__secure_getenv): Replace
14379 GLIBC_2_16 with GLIBC_2_17.
14380
3a31811e
L
143812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14382
14383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14384 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14385
faa2bccb
DM
143862012-08-03 David S. Miller <davem@davemloft.net>
14387
14388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14389
85fe1997
JM
143902012-08-03 Joseph Myers <joseph@codesourcery.com>
14391
14392 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14393 Remove.
14394 (__ASSUME_CORRECT_SI_PID): Likewise.
14395 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14396 (__ASSUME_TMPFS_NAME): Likewise.
14397 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14398 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14399 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14400 (HAVE_AUX_SECURE): Make definition unconditional.
14401 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14402 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14403
4f75b7a0
RM
144042012-08-03 Roland McGrath <roland@hack.frob.com>
14405
14406 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14407 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14408 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14409 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14410 __eloop_threshold instead of SYMLOOP_MAX.
14411
14412 * sysdeps/generic/eloop-threshold.h: New file.
14413 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14414 of MAXSYMLINKS.
14415 * elf/chroot_canon.c (chroot_canon): Likewise.
14416
7aab07e4
JM
144172012-08-03 Joseph Myers <joseph@codesourcery.com>
14418
14419 [BZ #13717]
14420 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14421 Change to 2.6.0 everywhere.
14422 * sysdeps/unix/sysv/linux/configure: Regenerated.
14423 * sysdeps/unix/sysv/linux/kernel-features.h
14424 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14425 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14426 kernel versions.
14427 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14428 (__ASSUME_FUTEX_REQUEUE): Remove.
14429 (__ASSUME_STATFS64): Define unconditionally.
14430 (__ASSUME_AT_SECURE): Likewise.
14431 (__ASSUME_CORRECT_SI_PID): Likewise.
14432 (__ASSUME_TGKILL): Define without depending on kernel version for
14433 i386.
14434 (__ASSUME_UTIMES): Likewise.
14435 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14436 kernel version.
14437 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14438 (__ASSUME_TMPFS_NAME): Likewise.
14439 * README: Update reference to Linux kernel versions.
14440
b67e9372
MP
144412012-08-02 Marek Polacek <polacek@redhat.com>
14442
1f529f7d 14443 [BZ# 14150]
b67e9372
MP
14444 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14445 libc_cv_asm_type_prefix with %.
14446 * configure: Regenerated.
d2441631
RM
14447 * include/libc-symbols.h: Remove comment about
14448 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14449 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14450 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14451 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14452 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14453 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14454 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14455 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14456 * elf/tst-unique2mod1.c: Likewise.
14457 * elf/tst-unique1mod2.c: Likewise.
14458 * elf/tst-unique1mod1.c: Likewise.
14459 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14460 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14461 Replace ASM_TYPE_DIRECTIVE with .type.
14462 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14463 * sysdeps/i386/sysdep.h: Likewise.
14464 * sysdeps/x86_64/sysdep.h: Likewise.
14465 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14467 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14468 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14469 * sysdeps/powerpc/powerpc32/sysdep.h:
14470 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14471 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14472 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14473 * sysdeps/i386/fpu/e_powf.S: Likewise.
14474 * sysdeps/i386/fpu/e_expl.S: Likewise.
14475 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14476 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14477 * sysdeps/i386/fpu/e_pow.S: Likewise.
14478 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14479 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14480 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14481 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14482 * sysdeps/i386/fpu/e_log2.S: Likewise.
14483 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14484 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14485 * sysdeps/i386/fpu/e_powl.S: Likewise.
14486 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14487 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14488 * sysdeps/i386/fpu/e_logl.S: Likewise.
14489 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14490 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14491 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14494 * sysdeps/i386/fpu/e_log.S: Likewise.
14495 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14496 * sysdeps/i386/fpu/e_logf.S: Likewise.
14497 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14498 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14499 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14500 * sysdeps/i386/fpu/e_log10.S: Likewise.
14501 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14502 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14503 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14504 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14505 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14506 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14507 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14508 * sysdeps/i386/i686/strtok.S: Likewise.
14509 * sysdeps/i386/i386-mcount.S: Likewise.
14510 * sysdeps/i386/strtok.S: Likewise.
14511 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14513 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14514 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14515 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14516 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14517 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14518 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14519 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14520 * sysdeps/x86_64/_mcount.S: Likewise.
14521 * sysdeps/x86_64/strtok.S: Likewise.
14522 * sysdeps/sh/_mcount.S: Likewise.
14523
2747bf9a
RM
145242012-08-01 Roland McGrath <roland@hack.frob.com>
14525
14526 * libio/iofopen.c: Include <fcntl.h>.
14527 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14528 (_IO_fopen64, fopen64): Define as aliases.
14529 * libio/iofopen64.c: Include <fcntl.h>.
14530 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14531 Conditionalize body on this.
14532 * sysdeps/wordsize-64/iofopen.c: File removed.
14533 * sysdeps/wordsize-64/iofopen64.c: File removed.
14534
3fb791b8
MP
145352012-08-01 Marek Polacek <polacek@redhat.com>
14536
14537 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14538 Use dlfcn directly instead of a variable.
14539 (binfmt-subdir): Do not define.
14540 (dlfcn): Likewise.
14541
a9f1039f
JM
145422012-08-01 Joseph Myers <joseph@codesourcery.com>
14543
23bddc06
JM
14544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14545 Remove all definitions.
14546 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14547 <kernel-features.h>.
14548 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14549 (miss_F_GETOWN_EX): Remove all definitions.
14550 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14551 macro definition.
14552 [!__ASSUME_FCNTL64]: Remove conditional code.
14553 [__ASSUME_FCNTL64]: Make code unconditional.
14554 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14555 <kernel-features.h>.
14556 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14557 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14558 (lockf64) [__NR_fcntl64]: Make code unconditional.
14559 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14560
a9f1039f
JM
14561 * sysdeps/unix/sysv/linux/kernel-features.h
14562 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14563 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14564 Make code unconditional.
14565 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14566 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14568 [__NR_vfork]: Make code unconditional.
14569 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14570 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14572 [__NR_vfork]: Make code unconditional.
14573 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14574 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14575
09c0ee5f
RM
145762012-08-01 Roland McGrath <roland@hack.frob.com>
14577
48aec5b9
RM
14578 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14579 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14580
cd97c966
RM
14581 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14582 Define mkstemp64 as an alias.
3f55550c
RM
14583 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14584 Define mkstemps64 as an alias.
cd97c966
RM
14585 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14586 Define mkostemp64 as an alias.
b8625cfc
RM
14587 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14588 Define mkostemps64 as an alias.
cd97c966
RM
14589 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14590 Conditionalize body on this.
14591 * misc/mkostemp64.c: Likewise.
b8625cfc 14592 * misc/mkostemps64.c: Likewise.
3f55550c 14593 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14594 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14595 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14596 * sysdeps/wordsize-64/mkostemp.c: File removed.
14597 * sysdeps/wordsize-64/mkstemp.c: File removed.
14598 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14600 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14602
09c0ee5f
RM
14603 [BZ #14138]
14604 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14605 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14606 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14607 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14608
14609 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14610 compat_symbol macros from <shlib-compat.h> rather than the underlying
14611 default_symbol_version and symbol_version macros, so that DEFAULT
14612 lines in shlib-versions are respected.
14613 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14614
7e66ee51
FW
146152012-08-01 Florian Weimer <fweimer@redhat.com>
14616
14617 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14618 Declare with warn_unused_result.
14619 (setgid, setregid, setegid, setresgid): Likewise.
14620 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14621 Likewise.
14622 * WUR-REPORT: Remove set*id functions.
14623
d2a54255
PT
146242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14625
14626 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14627
7ecdb005
RM
146282012-07-31 Roland McGrath <roland@hack.frob.com>
14629
b4180a5e 14630 [BZ #10191]
789bd351
RM
14631 * include/sys/socket.h (__libc_accept, __libc_accept4):
14632 Add attribute_hidden.
14633 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14634
40ce302d
RM
14635 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14636 use of PTR_MANGLE.
14637 * inet/getnetgrent_r.c (setup): Likewise.
14638
7ecdb005
RM
14639 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14640
e2eabb2c
DM
146412012-07-31 David S. Miller <davem@davemloft.net>
14642
14643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14644
d0419dbf
JM
146452012-07-31 Joseph Myers <joseph@codesourcery.com>
14646
14647 [BZ #13629]
14648 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14649 value between 1.0 and 2.0 and smaller part has absolute value less
14650 than 1.0.
14651 * math/s_clog10.c (__clog10): Likewise.
14652 * math/s_clog10f.c (__clog10f): Likewise.
14653 * math/s_clog10l.c (__clog10l): Likewise.
14654 * math/s_clogf.c (__clogf): Likewise.
14655 * math/s_clogl.c (__clogl): Likewise.
14656 * math/libm-test.inc (clog_test): Add more tests.
14657 (clog10_test): Likewise.
14658 * sysdeps/i386/fpu/libm-test-ulps: Update.
14659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14660
2bc13872
FW
146612012-07-31 Florian Weimer <fweimer@redhat.com>
14662
14663 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14664 Exit with zero in case no suitable GID is found, and write a
14665 message to standard error.
14666
bea9b193
RM
146672012-07-30 Roland McGrath <roland@hack.frob.com>
14668
14669 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14670 rather than to 1.
14671 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14672 (MAXPATHLEN): Removed.
14673 (NOGROUP, NODEV): New macros.
14674 (setbit, clrbit, isset, isclr): New macros.
14675 (howmany, roundup, powerof2): New macros.
14676 (DEV_BSIZE): New macro.
14677
14678 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14679 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14680
14681 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14682 definition on [!__NO_LONG_DOUBLE_MATH].
14683
14684 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14685 PTR_MANGLE and PTR_DEMANGLE.
14686
14687 * socket/accept4.c (accept4): Rename to __libc_accept4.
14688 Define accept4 as a weak alias.
14689
14690 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14691 on [_DIRENT_HAVE_D_TYPE].
14692 * io/ftw.c (ftw_dir): Likewise.
14693
14694 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14695
14696 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14697
14698 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14699 Use the BSD numbers rather than the arbitrary ones we had.
14700 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14701 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14702 (SIGXCPU, SIGXFSZ): New macros.
14703 (_NSIG): Now 32.
14704
14705 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14706 initializer on [_LIBC_REENTRANT].
14707
14708 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14709 definitions inside [_POSIX_MAPPED_FILES].
14710
14711 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14712
14713 * dirent/opendir.c: Include <fcntl.h>.
14714
14715 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14716 (__libc_getspecific): Likewise.
14717 (__libc_key_create): Likewise.
14718
14719 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14720 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14721 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14722 (tmpfile64): Define as alias.
14723 * sysdeps/wordsize-64/tmpfile.c: File removed.
14724 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14725 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14726 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14727
14728 * stdio-common/vfscanf.c: Include <stdbool.h>.
14729 * nss/makedb.c: Likewise.
14730 * stdio-common/_i18n_number.h: Likewise.
14731 * argp/argp-help.c: Likewise.
14732 * posix/wordexp.c: Likewise.
14733 * sysdeps/posix/spawni.c: Likewise.
14734 * nss/nss_files/files-initgroups.c: Likewise.
14735 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14736 * nss/nss_files/files-initgroups.c: Likewise.
14737 * nss/nss_db/db-netgrp.c: Likewise.
14738 * nss/nss_db/db-initgroups.c: Likewise.
14739 * io/fchmodat.c: Include <sys/stat.h>.
14740
14741 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14742 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14743
14744 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14745 [HAVE_MMAP].
14746
14747 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14748 Add multiple inclusion protection.
14749
e5abc686
DM
147502012-07-27 David S. Miller <davem@davemloft.net>
14751
14752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14753
815e6fa3
GB
147542012-07-27 Gary Benson <gbenson@redhat.com>
14755
14756 [BZ #14298]
14757 * elf/rtld.c: Include <stap-probe.h>.
14758 (dl_main): Added static probes "init_start" and "init_complete".
14759 * elf/dl-load.c: Include <stap-probe.h>.
14760 (lose): Take new parameter "nsid".
14761 Added static probe "map_failed".
14762 (_dl_map_object_from_fd): Pass namespace id to lose.
14763 Added static probe "map_start".
14764 (open_verify): Pass namespace id to lose.
14765 * elf/dl-open.c: Include <stap-probe.h>.
14766 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14767 and "reloc_complete".
14768 * elf/dl-close.c: Include <stap-probe.h>.
14769 (_dl_close_worker): Added static probes "unmap_start" and
14770 "unmap_complete".
14771 * elf/rtld-debugger-interface.txt: New file documenting the above.
14772
9f98c16c
RM
147732012-07-26 Roland McGrath <roland@hack.frob.com>
14774
14775 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14776 rather than a string variable.
14777 * sunrpc/rpc_main.c (h_output): Likewise.
14778 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14779
f3c22df3
PT
147802012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14781
14782 * inet/check_native.c: New file.
14783
3129cfc6
JM
147842012-07-26 Joseph Myers <joseph@codesourcery.com>
14785
da865e95
JM
14786 [BZ #13629]
14787 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14788 if larger part has absolute value 1.0.
14789 * math/s_clog10.c (__clog10): Likewise.
14790 * math/s_clog10f.c (__clog10f): Likewise.
14791 * math/s_clog10l.c (__clog10l): Likewise.
14792 * math/s_clogf.c (__clogf): Likewise.
14793 * math/s_clogl.c (__clogl): Likewise.
14794 * math/libm-test.inc (clog_test): Add more tests.
14795 (clog10_test): Likewise.
14796 * sysdeps/i386/fpu/libm-test-ulps: Update.
14797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14798
3129cfc6
JM
14799 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14800 (pltexit): Likewise.
14801 (La_regs): Likewise.
14802 (La_retval): Likewise.
14803 (int_retval): Likewise.
14804 Update #error for removed macros to refer only to definitions in
14805 tst-audit.h.
14806 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14807 macro.
14808 (pltexit): Likewise.
14809 (La_regs): Likewise.
14810 (La_retval): Likewise.
14811 (int_retval): Likewise.
14812 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14813 macro.
14814 (pltexit): Likewise.
14815 (La_regs): Likewise.
14816 (La_retval): Likewise.
14817 (int_retval): Likewise.
14818 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14819 macro.
14820 (pltexit): Likewise.
14821 (La_regs): Likewise.
14822 (La_retval): Likewise.
14823 (int_retval): Likewise.
14824 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14825 macro.
14826 (pltexit): Likewise.
14827 (La_regs): Likewise.
14828 (La_retval): Likewise.
14829 (int_retval): Likewise.
14830 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14831 macro.
14832 (pltexit): Likewise.
14833 (La_regs): Likewise.
14834 (La_retval): Likewise.
14835 (int_retval): Likewise.
14836 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14837 macro.
14838 (pltexit): Likewise.
14839 (La_regs): Likewise.
14840 (La_retval): Likewise.
14841 (int_retval): Likewise.
14842 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14843 macro definitions in tst-audit.h.
14844 * sysdeps/i386/tst-audit.h: New file.
14845 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14846 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14847 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14848 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14849 * sysdeps/sh/tst-audit.h: Likewise.
14850 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14851 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14852 * sysdeps/x86_64/tst-audit.h: Likewise.
14853
bfc07087
AJ
148542012-07-26 Andreas Jaeger <aj@suse.de>
14855
b1b2aaf8
AJ
14856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14857 ptrace.
14858
14859 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14860 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14861 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14862 PTRACE_O_MASK.
14863 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14865 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14866
bfc07087
AJ
14867 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14868 value.
14869
14870 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14871 _sigsys.
14872 (si_call_addr, si_syscall, si_arch): Define new macro.
14873 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14874 _sigsys.
14875 (si_call_addr, si_syscall, si_arch): Define new marcro.
14876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14877 _sigsys.
14878 (si_call_addr, si_syscall, si_arch): Define new macro.
14879 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14880 _sigsys.
14881 (si_call_addr, si_syscall, si_arch): Define new macro.
14882
89b4b02f
JM
148832012-07-25 Joseph Myers <joseph@codesourcery.com>
14884
14885 [BZ #13717]
14886 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14887 Change to 2.4.21 where previously 2.4.1.
14888 * sysdeps/unix/sysv/linux/configure: Regenerated.
14889 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14890 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14891 Linux kernel version.
14892 (__ASSUME_STD_AUXV): Remove.
14893 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14894 kernel version.
14895 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14896 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14897 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14898 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14899 (__ASSUME_NETLINK_SUPPORT): Likewise.
14900 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14901 (__no_netlink_support): Remove conditional definition.
14902 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14903 Remove.
14904 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14905 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14906 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14907 (if_nameindex_ioctl): Remove.
14908 (if_nameindex_netlink): Do not handle __no_netlink_support.
14909 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14910 code.
14911 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14912 Remove conditional code.
14913 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14914 code.
14915 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14916 unconditional.
14917 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14918 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14919 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14920 Remove.
14921 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14922 [!__ASSUME_STD_AUXV]: Remove conditional code.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14924 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14925 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14927 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14928 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14929 code.
14930 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14932 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14933 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14934 conditional code.
14935 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14937 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14938 code.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14940 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14941 conditional code.
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14943 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14944 code unconditional.
14945 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14946 conditional code.
14947 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14948 unconditional.
14949 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14950 conditional code.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14952 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14953 unconditional.
14954 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14955 conditional code.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14957 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14958 code unconditional.
14959 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14960 conditional code.
14961 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14962 unconditional.
14963 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14964 conditional code.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14966 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14967 code unconditional.
14968 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14969 conditional code.
14970 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14971 unconditional.
14972 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14973 conditional code.
14974
842a39cd
AS
149752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14976
14977 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14978 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14979 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14980 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14981 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14982 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14983 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14984 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14985 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14986 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14987 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14988 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14989 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14990 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14991 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14992 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14993 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14994 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14995 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14997 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14998 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14999 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15000
84b3fd84
FW
150012012-07-25 Florian Weimer <fweimer@redhat.com>
15002
15003 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15004 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15005 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15006 Introduce __libc_secure_getenv.
0c7936d5
FW
15007 * stdlib/Versions (2.17): Add secure_getenv
15008 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15009 * stdlib/secure-getenv.c: Rename __secure_getenv to
15010 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15011 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15012 * stdlib/tst-secure-getenv.c: New.
15013 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15014 * manual/startup.texi (Environment Access): Document
15015 secure_getenv.
84b3fd84
FW
15016 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15017 __libc_secure_getenv.
15018 * inet/ruserpass.c (ruserpass): Likewise.
15019 * malloc/mtrace.c (mtrace): Likewise.
15020 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15021 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15022 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15023 * sysdeps/posix/tempname.c: Likewise. Evaluate
15024 HAVE_SECURE_GETENV.
15025 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15026 __secure_getenv to __libc_secure_getenv.
84b3fd84 15027 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15029 Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15031 Likewise.
15032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15039
56e49b71
JM
150402012-07-25 Joseph Myers <joseph@codesourcery.com>
15041
15042 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15043 (struct La_i86_retval): Likewise.
15044 (struct La_x86_64_regs): Likewise.
15045 (struct La_x86_64_retval): Likewise.
15046 (struct La_x32_regs): Likewise.
15047 (struct La_x32_retval): Likewise.
15048 (struct La_ppc32_regs): Likewise.
15049 (struct La_ppc32_retval): Likewise.
15050 (struct La_ppc64_regs): Likewise.
15051 (struct La_ppc64_retval): Likewise.
15052 (struct La_sh_regs): Likewise.
15053 (struct La_sh_retval): Likewise.
15054 (struct La_s390_32_regs): Likewise.
15055 (struct La_s390_32_retval): Likewise.
15056 (struct La_s390_64_regs): Likewise.
15057 (struct La_s390_64_retval): Likewise.
15058 (struct La_sparc32_regs): Likewise.
15059 (struct La_sparc32_retval): Likewise.
15060 (struct La_sparc64_regs): Likewise.
15061 (struct La_sparc64_retval): Likewise.
15062 (struct audit_ifaces): Remove architecture-specific pltenter and
15063 pltexit members.
15064 * sysdeps/i386/ldsodefs.h: New file.
15065 * sysdeps/powerpc/ldsodefs.h: Likewise.
15066 * sysdeps/s390/ldsodefs.h: Likewise.
15067 * sysdeps/sh/ldsodefs.h: Likewise.
15068 * sysdeps/sparc/ldsodefs.h: Likewise.
15069 * sysdeps/x86_64/ldsodefs.h: Likewise.
15070
354691b7
MP
150712012-07-25 Marek Polacek <polacek@redhat.com>
15072
15073 [BZ #6808]
15074 * math/libm-test.inc (yn_test): Add another test.
15075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15076 to ERANGE when the result is +-Inf.
15077 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15078 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15079 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15080 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15081
bf9e2071
JM
150822012-07-24 Joseph Myers <joseph@codesourcery.com>
15083
15084 * conform/data/time.h-data (NULL): Use macro-constant. Require
15085 equal to 0.
15086 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15087 clock_t.
15088 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15089
57633811
TS
150902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15091
15092 * configure.in <sysdeps resolving>: Correct printing
15093 Implies_before.
15094 * configure: Regenerate.
15095
c23c33b0
TS
150962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15097
15098 * math/w_ilogb.c: Include <limits.h>.
15099 * math/w_ilogbl.c: Likewise.
15100
b5982523
JM
151012012-07-20 Joseph Myers <joseph@codesourcery.com>
15102
15103 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15104 va_copy. Document allowing for unavailable va_copy only as
15105 pre-C99 compatibility.
15106 * manual/string.texi (Copying and Concatenation): Use va_copy
15107 instead of __va_copy in concat example.
15108
ac4ea442
PT
151092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15110
15111 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15112 (__sendto): Use create_address_port. Initialize APORT and deallocate
15113 it if not null.
15114
f98eafbd
PT
15115 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15116 with O_NOLINK passed to __file_name_lookup.
15117
898c7aab
PT
15118 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15119 with O_NOLINK passed to __file_name_lookup.
15120
0ced335a
PT
15121 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15122 negative N or less than NGIDS.
15123
b3404dbd
PT
15124 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15125 type to string_t. Set ERANGE as errno and return it if NAME is not big
15126 enough. Use memcpy instead of strncpy.
15127
0f48659e
JM
151282012-07-20 Joseph Myers <joseph@codesourcery.com>
15129
15130 * elf/Makefile (check-data): Remove.
15131 (localplt.data): New vpath directive.
15132 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15133 instead of $(check-data).
15134 * scripts/data/localplt-generic.data: Move to ...
15135 * sysdeps/generic/localplt.data: ... here.
15136 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15137 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15138 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15140 ... here.
15141 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15143 ... here.
15144 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15146 ... here.
15147 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15149 ... here.
15150 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15152 ... here.
15153 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15155 ... here.
15156
d37cbdaa
AZ
151572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15158
15159 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15160 PPC32 and PPC64 files.
15161 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15162 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15163
46f85fc2
AK
151642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15165
15166 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15167 __makecontext_ret to ...
15168 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15169 ... here and call exit if uc_link is NULL. New file.
15170 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15171 __makecontext_ret.S.
15172 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15173 __makecontext_ret to ...
15174 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15175 ... here and call exit if uc_link is NULL. New file.
15176 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15177 __makecontext_ret.S.
15178
08f43f9b
AK
151792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15180
15181 * elf/elf.h (R_390_IRELATIVE): New definition.
15182 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15183 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15184 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15185 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15186 (elf_machine_lazy_rel): Likewise.
15187 * sysdeps/s390/dl-irel.h: New file.
15188 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15189 * sysdeps/s390/s390-64/memset.S: New asm code.
15190 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15191 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15193 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15194 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15195 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15196 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15197 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15198 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15199 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15200 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15201 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15202 * sysdeps/s390/s390-32/memset.S: New asm code.
15203 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15204
3b05db33
MP
152052012-07-17 Marek Polacek <polacek@redhat.com>
15206
15207 [BZ #14349]
15208 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15209 * sysdeps/s390/s390-64/configure.in: Likewise.
15210 * sysdeps/sparc/configure.in: Likewise.
15211 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15212 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15213 * sysdeps/i386/configure.in: Likewise.
15214 * sysdeps/x86_64/configure.in: Likewise.
15215 * sysdeps/sh/configure.in: Likewise.
15216 * sysdeps/s390/s390-32/configure: Regenerated.
15217 * sysdeps/s390/s390-64/configure: Likewise.
15218 * sysdeps/x86_64/configure: Likewise.
15219 * sysdeps/sh/configure: Likewise.
15220 * sysdeps/powerpc/powerpc64/configure: Likewise.
15221 * sysdeps/powerpc/powerpc32/configure: Likewise.
15222 * sysdeps/sparc/configure: Likwise.
15223 * sysdeps/i386/configure: Likewise.
15224
a66877c6
MP
15225 * elf/dl-open.c: Comment fixes.
15226
cfc82fd8
JM
152272012-07-17 Joseph Myers <joseph@codesourcery.com>
15228
bd29910a
JM
15229 * Makefile [CXX] (check-data): Remove.
15230 [CXX] (c++-types.data): New vpath directive.
15231 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15232 vpath. Do not allow for C++ type data being missing.
15233 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15234 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15235 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15236 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15237 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15238 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15239 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15241 ... here.
15242 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15244 ... here.
15245 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15247 ... here.
15248 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15250 ... here.
15251 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15253 ... here.
15254 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15256 ... here.
15257 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15259 ... here.
15260 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15262
cfc82fd8
JM
15263 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15264 definitions to architecture-specific files.
15265 (TLS_IE): Likewise.
15266 (TLS_LD): Likewise.
15267 (TLS_GD): Likewise.
15268 * sysdeps/i386/tls-macros.h: New file.
15269 * sysdeps/powerpc/tls-macros.h: Likewise.
15270 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15271 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15272 * sysdeps/sh/tls-macros.h: Likewise.
15273 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15274 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15275 * sysdeps/x86_64/tls-macros.h: Likewise.
15276
f7db3170
TS
152772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15278
07cbfc23
TS
15279 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15280 zero value for regular exit case.
15281
f7db3170
TS
15282 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15283 (__start_context): Preserve zero value for regular exit case.
15284
dc97c227
TS
152852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15286 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15287
15288 * manual/setjmp.texi (setcontext): Clarify normal process
15289 termination when uc_link is the null pointer.
15290 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15291 exit call.
15292
d0cd7d02
AS
152932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15294
15295 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15296 preprocessor. Test for each exception mask separately.
15297
dd318934
AJ
152982012-07-16 Andreas Jaeger <aj@suse.de>
15299
15300 * po/ru.po: Update from translation team.
15301
8048311a
JM
153022012-07-15 Joseph Myers <joseph@codesourcery.com>
15303
15304 * conform/data/string.h-data (NULL): Use macro-constant. Require
15305 equal to 0.
15306 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15307 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15308 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15309 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15311
b637d46e
AJ
153122012-07-13 Andreas Jaeger <aj@suse.de>
15313
15314 * po/fr.po: Update from translation team.
15315
541428fe
MP
153162012-07-12 Marek Polacek <polacek@redhat.com>
15317
15318 [BZ #14173]
15319 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15321 loop condition.
15322
ec332e94
JM
153232012-07-12 Joseph Myers <joseph@codesourcery.com>
15324
15325 [BZ #13717]
15326 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15327 Change to 2.4.1 where previously 2.4.0.
15328 * sysdeps/unix/sysv/linux/configure: Regenerated.
15329 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15330 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15331 version.
15332 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15333 (__ASSUME_AT_CLKTCK): Remove.
15334 (__ASSUME_AT_PAGESIZE): Likewise.
15335 (__ASSUME_AT_XID): Likewise.
15336 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15337 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15338 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15339 unconditionally.
15340 (HAVE_AUX_PAGESIZE): Likewise.
15341 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15342 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15343 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15344
7b6e99be
JB
153452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15346
15347 [BZ #14307]
15348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15349 the temporary buffer used to invoke __gethostbyname2_r,
15350 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15351 host_data / struct gaih_addrtuple.
15352 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15353 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15354 header file nss/nsswitch.h.
15355 * nss/nsswitch.h (global scope): Add definition of implementation
15356 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15357 resolv/nss_dns/dns-host.c).
15358
608404eb
AJ
153592012-07-11 Andreas Jaeger <aj@suse.de>
15360
15361 * po/fr.po: Update from translation team.
15362
71220aca
AJ
15363 * po/sv.po: Update from translation team
15364 * po/fr.po: Another update from translation team.
15365
28cfe843
AZ
153662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15367
15368 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15369 for subnormals or multiply small sinh result by itself.
15370 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15372
6b90f981
DM
153732012-07-11 David S. Miller <davem@davemloft.net>
15374
15375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15376
c6825772
AS
153772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15378
15379 [BZ #14347]
15380 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15381 (INTERNAL_MARK): Shift it here.
15382
7b8e0d49
MP
153832012-07-10 Marek Polacek <polacek@redhat.com>
15384
15385 [BZ #14151]
15386 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15387 libc_cv_asm_global_directive with .globl.
15388 * configure: Regenerated.
15389 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15390 with .globl.
15391 * sysdeps/i386/configure: Regenerated.
15392 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15393 with .globl.
15394 * sysdeps/x86_64/configure: Regenerated.
15395 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15396 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15397 * elf/tst-unique2mod2.c: Likewise.
15398 * elf/tst-unique2mod1.c: Likewise.
15399 * elf/tst-unique1mod2.c: Likewise.
15400 * elf/tst-unique1mod1.c: Likewise.
15401 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15402 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15405 * sysdeps/mach/sysdep.h: Likewise.
15406 * sysdeps/i386/sysdep.h: Likewise.
15407 * sysdeps/i386/i386-mcount.S: Likewise.
15408 * sysdeps/x86_64/_mcount.S: Likewise.
15409 * sysdeps/x86_64/sysdep.h: Likewise.
15410 * sysdeps/sh/_mcount.S: Likewise.
15411 * sysdeps/sh/sysdep.h: Likewise.
15412 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15413 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15414 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15415 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15416 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15417 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15418 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15419 * locale/localeinfo.h: Likewise.
15420 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15421 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15422
6c55cda3
RM
154232012-07-09 Roland McGrath <roland@hack.frob.com>
15424
15425 [BZ #14336]
15426 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15427 system".
15428 * manual/message.texi (The Uniforum approach): Likewise.
15429 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15430 (glibc iconv Implementation): Likewise.
15431
638a572e
JM
154322012-07-09 Joseph Myers <joseph@codesourcery.com>
15433
15434 [BZ #14337]
15435 * math/s_clog.c (__clog): Avoid scaling a value down where that
15436 could result in underflow.
15437 * math/s_clog10.c (__clog10): Likewise.
15438 * math/s_clog10f.c (__clog10f): Likewise.
15439 * math/s_clog10l.c (__clog10l): Likewise.
15440 * math/s_clogf.c (__clogf): Likewise.
15441 * math/s_clogl.c (__clogl): Likewise.
15442 * math/libm-test.inc (clog_test): Add more tests.
15443 (clog10_test): Likewise.
15444 * sysdeps/i386/fpu/libm-test-ulps: Update.
15445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15446
261f4859
AS
154472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15448
0abaf3e4
AS
15449 [BZ #14283]
15450 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15451 by 7 not 8 to examine high bit of fractional part.
15452
261f4859
AS
15453 [BZ #14042]
15454 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15455 for call to __mcount_internal.
15456 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15457 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15458 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15459
f17ac40d
JM
154602012-07-06 Joseph Myers <joseph@codesourcery.com>
15461
9ad63c23
JM
15462 [BZ #14154]
15463 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15464 approximation for values within 0x1p-13f of an odd multiple of
15465 pi/4.
15466 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15467 exception. Add more tests.
15468 * sysdeps/i386/fpu/libm-test-ulps: Update.
15469
f17ac40d
JM
15470 [BZ #6778]
15471 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15472 inputs and return -1 for them. Do not check for +Inf in case not
15473 reachable for +Inf.
15474 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15475 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15477 and return -1 for them. Do not check for +Inf in case not
15478 reachable for +Inf.
15479 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15480 define.
15481 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15482 and return -1 for them. Do not check for +Inf in case not
15483 reachable for +Inf.
15484 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15485 spurious underflow.
15486 * sysdeps/i386/fpu/libm-test-ulps: Update.
15487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15488
fb21f89b
MF
154892012-07-06 Mike Frysinger <vapier@gentoo.org>
15490
15491 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15492
cdfe2c5e
JM
154932012-07-05 Joseph Myers <joseph@codesourcery.com>
15494
15495 [BZ #14157]
15496 [BZ #14331]
15497 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15498 could result in spurious underflow. Scale down values above
15499 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15500 * math/s_csqrtf.c (__csqrtf): Likewise.
15501 * math/s_csqrtl.c (__csqrtl): Likewise.
15502 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15503 spurious underflow.
15504 * sysdeps/i386/fpu/libm-test-ulps: Update.
15505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15506
70d35b67
AS
155072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15508
704bc459
AS
15509 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15510 xopen-msg.sed.
15511 * catgets/xopen-msg.awk: New file.
15512 * catgets/xopen-msg.sed: Removed.
15513
70d35b67
AS
15514 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15515 po2text.sed.
15516 * intl/po2test.awk: New file.
15517 * intl/po2test.sed: Removed.
15518
ca61cf32
JM
155192012-07-04 Joseph Myers <joseph@codesourcery.com>
15520
15521 [BZ #14328]
15522 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15523 or multiply small sinh result by itself.
15524 * math/s_ctanf.c (__ctanf): Likewise.
15525 * math/s_ctanh.c (__ctanh): Likewise.
15526 * math/s_ctanhf.c (__ctanhf): Likewise.
15527 * math/s_ctanhl.c (__ctanhl): Likewise.
15528 * math/s_ctanl.c (__ctanl): Likewise.
15529 * math/libm-test.inc (ctan_test_tonearest): New function.
15530 (ctan_test_towardzero): Likewise.
15531 (ctan_test_downward): Likewise.
15532 (ctan_test_upward): Likewise.
15533 (ctanh_test_tonearest): Likewise.
15534 (ctanh_test_towardzero): Likewise.
15535 (ctanh_test_downward): Likewise.
15536 (ctanh_test_upward): Likewise.
15537 (main): Call these new functions.
15538 * sysdeps/i386/fpu/libm-test-ulps: Update.
15539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15540
ca48a46a
MF
155412012-07-03 Mike Frysinger <vapier@gentoo.org>
15542
15543 * .gitignore: Delete /ports entry.
15544
9d63d37d
AJ
155452012-07-03 Andreas Jaeger <aj@suse.de>
15546
15547 * po/bg.po: Update from translation team.
15548 * po/cs.po: Likewise.
15549 * po/de.po: Likewise.
15550 * po/hr.po: Likewise.
15551 * po/nl.pl: Likewise.
15552 * po/pl.po: Likewise.
15553 * po/vi.po: Likewise.
15554
370ca3d2
JM
155552012-07-03 Joseph Myers <joseph@codesourcery.com>
15556
95f5a9a8
JM
15557 * Makeconfig [!+link] (+link-before-libc): New variable.
15558 [!+link] (+link-after-libc): Likewise.
15559 [!+link] (+link-tests): Likewise.
15560 [!+link] (+link): Define in terms of $(+link-before-libc) and
15561 $(+link-after-libc).
15562 [!+link-static] (+link-static-before-libc): New variable.
15563 [!+link-static] (+link-static-after-libc): Likewise.
15564 [!+link-static] (+link-static-tests): Likewise.
15565 [!+link-static] (+link-static): Define in terms of
15566 $(+link-static-before-libc) and $(+link-static-after-libc).
15567 [build-shared] (link-libc-before-gnulib): New variable.
15568 [build-shared] (link-libc-tests): Likewise.
15569 [build-shared] (link-libc): Define in terms of
15570 $(link-libc-before-gnulib).
15571 [!build-shared] (link-libc-tests): New variable.
15572 (link-libc-static-tests): New variable.
15573 [!gnulib] (gnulib-arch): New variable.
15574 [!gnulib] (gnulib-tests): Likewise.
15575 [!gnulib] (static-gnulib-arch): Likewise.
15576 [!gnulib] (static-gnulib-tests): Likewise.
15577 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15578 Define with "=" instead of ":=".
15579 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15580 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15581 * Rules (binaries-all-notests): New variable.
15582 (binaries-all-tests): Likewise.
15583 (binaries-static-notests): Likewise.
15584 (binaries-static-tests): Likewise.
15585 (binaries-all): Define using $(binaries-all-notests) and
15586 $(binaries-all-tests).
15587 (binaries-static): Define using $(binaries-static-notests) and
15588 $(binaries-static-tests).
15589 (binaries-shared-tests): New variable.
15590 (binaries-shared-notests): Likewise.
15591 (binaries-shared): Remove variable.
15592 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15593 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15594 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15595 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15596 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15597 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15598 * elf/Makefile (sln-modules): New variable.
15599 (extra-objs): Add $(sln-modules:=.o).
15600 (ldconfig-modules): Add static-stubs.
15601 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15602 * elf/static-stubs.c: New file.
15603
7a845b2c
JM
15604 [BZ #14283]
15605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15606 by 7 not 8 to examine high bit of fractional part. Use volatile
15607 variables when splitting into final array of floats if
15608 __FLT_EVAL_METHOD__ != 0.
15609 * math/libm-test.inc (cos_test): Add another test.
15610 (sin_test): Likewise.
15611 * sysdeps/i386/fpu/libm-test-ulps: Update.
15612
e2283f38
JM
15613 [BZ #14273]
15614 * math/libm-test.inc (cosh_test): Add more tests.
15615
370ca3d2
JM
15616 * version.h (RELEASE): Set to "development".
15617 (VERSION): Set to "2.16.90".
15618
ee9247c3
CD
156192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15620
15621 * NEWS: Update copyright. Remove last-updated date.
15622 Mention math library bug fixes and timezone data changes.
15623 * README: Mention GNU/Hurd, x32, and HPPA support status.
15624
4648c381
TS
156252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15626
15627 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15628
aac78a43
AJ
156292012-06-27 Andreas Jaeger <aj@suse.de>
15630
15631 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15632
ed3dbfad
AJ
156332012-06-25 Andreas Jaeger <aj@suse.de>
15634
15635 * sysdeps/s390/fpu/libm-test-ulps: Update.
15636
4d0ee855
AS
156372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15638 Thomas Schwinge <thomas@codesourcery.com>
15639
15640 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15641 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15643 fanotify_mark.
15644
af1bce34
TS
156452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15646
a9fa33ba
TS
15647 * sysdeps/mach/start.c: Remove file.
15648 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15649 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15650 * sysdeps/sh/init-first.c: Likewise.
15651
58f902b8
TS
15652 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15653 registers for frame unwinding purposes, add CFI directives.
15654 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15656 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15657 Likewise.
15658
1518f58b
TS
15659 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15660 __fortify_fail returning.
15661 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15662
db9b5059
TS
15663 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15664 sysdeps/sh/____longjmp_chk.S.
15665 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15666 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15667 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15668 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15669
967705fe
TS
15670 * sysdeps/sh/abort-instr.h: New file.
15671 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15672 process in case exit returns.
15673
a9def8c4
TS
15674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15675 initialize the GOT register before use.
15676
2a649725
TS
15677 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15678 calculation of ARGC > 4.
15679
af1bce34
TS
15680 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15681 meaningful names to some local labels.
15682
d230f50a
KK
156832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15684 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15685
15686 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15687 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15688 (__arch_compare_and_exchange_val_16_acq): Likewise.
15689 (__arch_compare_and_exchange_val_32_acq): Likewise.
15690 (atomic_exchange_and_add): Fix gUSA sequence.
15691 (atomic_add): Likewise.
15692 (atomic_add_negative): Likewise.
15693 (atomic_add_zero): Likewise.
15694 (atomic_bit_test_set): Likewise.
15695
0479b305
AS
156962012-06-22 Andreas Schwab <schwab@redhat.com>
15697
15698 [BZ #13579]
15699 * include/link.h (struct link_map): Add l_free_initfini.
15700 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15701 l_initfini.
15702 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15703 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15704 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15705 set.
15706
0e3933b9
CD
157072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15708
15709 * configure.in: Use AC_LANG_SOURCE.
15710 * configure: Regenerate.
15711
4248b1b1
RM
157122012-06-22 Roland McGrath <roland@hack.frob.com>
15713
15714 * configure.in (libc_cv_localstatedir): New substituted variable.
15715 * configure: Regenerated.
15716 * config.make.in (localstatedir): New variable, substituted from
15717 libc_cv_localstatedir.
15718 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15719 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15720 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15721 * sysdeps/gnu/configure: Regenerated.
15722
006dd861
JL
157232012-06-21 Jeff Law <law@redhat.com>
15724
15725 [BZ #14277]
15726 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15727 free. Simplify list management for _LIBC case.
15728
79662d42
JM
157292012-06-21 Joseph Myers <joseph@codesourcery.com>
15730
b7abb4bf
JM
15731 [BZ #14273]
15732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15733 Clear sign bit of 64-bit integer value before comparing against
15734 overflow value.
15735
79662d42
JM
15736 * sysdeps/mach/configure: Regenerated.
15737
1f150908
L
157382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15739
15740 [BZ #14278]
15741 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15742
28363bbf
JL
157432012-06-21 Jeff Law <law@redhat.com>
15744
15745 [BZ #13882]
15746 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15747 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15748 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15749 * elf/dl-open.c (dl_open_worker): Likewise.
15750
09615db4
CD
157512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15752
15753 * scripts/list-sources.sh: Scan PORTS for translations.
15754 * po/libc.pot: Regenerated.
15755
2174c6dd
AJ
157562012-06-21 Andreas Jaeger <aj@suse.de>
15757
15758 [BZ #12194]
15759 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15760 warning.
15761 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15762 * bits/byteswap-16.h (__bswap_16): Likewise.
15763 * bits/byteswap.h (__bswap_constant_16): Likewise.
15764
3ee947b1
L
157652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15766
15767 [BZ #14117]
a2f34833
L
15768 * sysdeps/i386/fpu_control.h: Removed.
15769 * sysdeps/x86_64/fpu_control.h: Moved to ...
15770 * sysdeps/x86/fpu_control.h: Here.
15771
3ee947b1
L
15772 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15773 (_FPU_SETCW): Likewise.
15774
ed1825f8
L
157752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15776
25f1282a
L
15777 [BZ #14117]
15778 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15779 * sysdeps/x86/fpu/bits/mathinline.h: This.
15780 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15781
ed1825f8
L
15782 [BZ #14050]
15783 [BZ #14117]
15784 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15785 functions if __x86_64__ is defined.
15786
36d54b74
CLT
157872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15788
15789 * string/endian.h: Add !__ASSEMBLER__ condition for including
15790 conversion interfaces.
15791
10285c21
JM
157922012-06-15 Joseph Myers <joseph@codesourcery.com>
15793
15794 [BZ #14241]
15795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15796 of ABS(x) in calculating zero to negative powers other than odd
15797 integers.
15798 * math/libm-test.inc (pow_test): Add more tests.
15799
06c5abbd
AJ
158002012-06-15 Andreas Jaeger <aj@suse.de>
15801
15802 * manual/contrib.texi (Contributors): Update entry of Liubov
15803 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15804 Machado Filho.
15805
a3aeac40
CH
158062012-06-15 Cyril Hrubis <metan@ucw.cz>
15807
15808 * string/string.h: Add __wur to GNU version of strerror_r.
15809
49bdf4c1
L
158102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15811
15812 [BZ #14229]
15813 * string/Makefile (tests): Add tst-strtok_r.
15814 * string/tst-strtok_r.c: New file.
15815 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15816 RAX_LP/RDX_LP on SAVE_PTR.
15817
834f9b8d
RM
158182012-06-14 Roland McGrath <roland@hack.frob.com>
15819
15820 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15821
75fa1921
JM
158222012-06-14 Joseph Myers <joseph@codesourcery.com>
15823
15824 * libm_test.inc (csqrt_test): Allow more spurious underflow
15825 exceptions.
15826 (j0_test): Likewise.
15827 (j1_test): Likewise.
15828 (y0_test): Likewise.
15829 (y1_test): Likewise.
15830
771766df
CD
158312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15832
15833 * po/Makefile (libc.pot): Use UTF-8 charset.
15834
ceb9e56b
PP
158352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15836
15837 [BZ #14210]
15838 Suppress sign-conversion warning from FD_SET.
15839 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15840 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15841 not unsigned long int.
15842 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15843
ddb28975
L
158442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15845
15846 [BZ #14050]
15847 [BZ #14117]
15848 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15849 __extern_always_inline instead of __extern_inline.
15850 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15851 (__signbit): Likewise.
15852 (__signbitl): Support C++ namespace.
15853 (lrintf): New inline function.
15854 (lrint): Likewise.
15855 (llrintf): Likewise.
15856 (llrint): Likewise.
15857 (fmaxf): Likewise.
15858 (fmax): Likewise.
15859 (fminf): Likewise.
15860 (fmin): Likewise.
15861 (rint): Likewise.
15862 (rintf): Likewise.
15863 (ceil): Likewise.
15864 (ceilf): Likewise.
15865 (floor): Likewise.
15866 (floorf): Likewise.
15867 (nearbyint): Likewise.
15868 (nearbyintf): Likewise.
15869
d7b4fb26
TS
158702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15871
15872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15873 non-default versions.
15874
eb55f5c2
RM
158752012-06-11 Roland McGrath <roland@hack.frob.com>
15876
15877 [BZ #14218]
15878 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15879
366af02c
TS
158802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15881
99ff6e5c
TS
15882 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15883 (FE_UPWARD, FE_DOWNWARD): Don't define.
15884 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15885 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15886
366af02c
TS
15887 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15888 reading it.
15889 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15890 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15891
793ea851
KK
158922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15893
15894 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15896 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15898
a728a38f
L
158992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 [BZ #14117]
c08010c7
L
15902 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15903 * sysdeps/i386/fpu/Implies: New file.
15904 * sysdeps/x86_64/fpu/Implies: Likewise.
15905 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15906 * sysdeps/x86/fpu/bits/fenv.h: This.
15907
a728a38f
L
15908 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15909 __SSE_MATH__.
15910
6e230d11
SP
159112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15912
15913 [BZ #14134]
15914 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15915 character 0xffff that matches the last element of the
15916 conversion table.
15917
1b671feb
AZ
159182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15919
15920 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15921 fmodl commit.
15922
6043738b
AZ
159232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15924
15925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15926 values higher than 25.6283.
15927
34ae0b32
AZ
159282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15929
15930 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15931 subnormal exponent extraction and add some __builtin_expect.
15932 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15933 Fix for subnormal mantissa calculation.
15934
1214ec8f
MF
159352012-06-04 Mike Frysinger <vapier@gentoo.org>
15936
15937 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15938 cpu2 is -1 and errno is not ENOSYS.
15939
f3d1f93c
L
159402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15941
15942 [BZ #14117]
0e4a3cd7
L
15943 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15944 * sysdeps/x86/bits/string.h: This.
15945 * sysdeps/x86_64/bits/string.h: Removed.
15946
6704c645
L
15947 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15948 if not compiling for x86-64, but compiling for >= i486.
15949
48495318
L
15950 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15951 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15952
14adcbfc
L
15953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15954 New macro from Linux kernel 3.4.0.
15955 (FP_XSTATE_MAGIC2): Likewise.
15956 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15957 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15958 (struct _fpx_sw_bytes): New struct.
15959 (struct _xsave_hdr): Likewise.
15960 (struct _ymmh_state): Likewise.
15961 (struct _xstate): Likewise.
15962
68e408ab
L
15963 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15964 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15965 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15966 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15967 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15968 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15969
f3d1f93c
L
15970 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15971 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15972 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15973 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15974 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15975 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15976
d9dc34cd
TMQMF
159772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15978
15979 [BZ #13743]
15980 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15981 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15982 (sysdep_headers): Include sys/platform/ppc.h.
15983 * sysdeps/powerpc/test-gettimebase.c: Test for
15984 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15985 * manual/Makefile (appendices): Include platform.texi.
15986 * manual/contrib.texi (Contributors): Update @node pointers.
15987 * manual/maint.texi (Maintenance): Likewise.
15988 (Platform): New node.
15989 * manual/platform.texi: New file. Document the new features.
15990
4af3879c
SP
159912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15992 Jakub Jelinek <jakub@redhat.com>
15993
15994 [BZ #14188]
15995 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15996 where __builtin_expect is unavailable.
15997
2fd6ff13
DM
159982012-06-03 David S. Miller <davem@davemloft.net>
15999
16000 * stdlib/longlong.h: Updated from GCC.
16001
173f7220
AS
160022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16003
16004 [BZ #14042]
16005 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16006 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16007 __mcount_internal.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16009 (GLIBC_2.16): Likewise.
16010
f34a1c6f
L
160112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16012
16013 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16014
88a4576f
JM
160152012-06-01 Joseph Myers <joseph@codesourcery.com>
16016
ea32bcdd
JM
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16018 (default-abi): New variable.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16020 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16021 variable.
16022 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16023 Likewise.
16024 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16025 Likewise.
16026 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16027 Likewise.
16028
88a4576f
JM
16029 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16030 definition. Document in comment.
16031
402fe938
DM
160322012-06-01 David S. Miller <davem@davemloft.net>
16033
16034 * stdlib/longlong.h: Updated from GCC.
16035
3553723f
L
160362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16037
16038 [BZ #14117]
3bd872c4
L
16039 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16040 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16041 sys/debugreg.h sys/io.h here.
16042 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16043 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16044 sys/io.h.
16045 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16046 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16047 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16048 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16049 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16050 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16051
3553723f
L
16052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16053 Define only if __x86_64__ is defined.
16054
4842e4fe
JM
160552012-06-01 Joseph Myers <joseph@codesourcery.com>
16056
c5bfe3d5
JM
16057 [BZ #14048]
16058 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16059 Use int64_t for variable i.
16060 * math/libm-test.inc (fmod_test): Add more tests.
16061
4842e4fe
JM
16062 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16063 z computation is not scheduled after fetestexcept.
16064 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16065 Use math_force_eval instead of asm to ensure calculation scheduled
16066 before exception test.
16067 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16068 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16069
efb73488
AJ
160702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16071
16072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16073 computation is not scheduled after fetestexcept.
16074
29bcce7c
L
160752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 [BZ #14117]
16078 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16079 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16080
73a68f94
AZ
160812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16082
16083 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16084 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16085
67b6df78
L
160862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16087
edf2933a 16088 [BZ #14117]
ebc64a18
L
16089 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16090 <bits/wordsize.h>.
16091 (__WCHAR_MIN): Support __WORDSIZE == 64.
16092 (__WCHAR_MAX): Likewise.
16093
edf2933a
L
16094 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16096
57c6cf40
L
16097 [BZ #14183]
16098 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16099 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16100
67b6df78 16101 [BZ #14117]
8eb6281e
L
16102 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16103 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16104
aac639f4
L
16105 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16106 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16107
67b6df78
L
16108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16109 Defined to 1 if __x86_64__ isn't defined.
16110 (_STAT_VER_LINUX_OLD): New.
16111 (st_atime): Remove duplicate.
16112 (st_mtime): Likewise.
16113 (st_ctime): Likewise.
16114
1c2cfe81
DM
161152012-05-31 David S. Miller <davem@davemloft.net>
16116
16117 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16118 entries.
16119
5be8418c
AS
161202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16121
e7725326
AS
16122 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16123 gen-libm-test.pl.
16124
5be8418c
AS
16125 [BZ #14132]
16126 * elf/dl-reloc.c: Include <_itoa.h>.
16127 (_dl_reloc_bad_type): Remove use of INTUSE.
16128 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16129 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16130 * stdio-common/psiginfo.c (psiginfo): Likewise.
16131 * stdio-common/psignal.c (psignal): Likewise.
16132 * string/strsignal.c (strsignal): Likewise.
16133 * include/signal.h (_sys_siglist): Declare hidden proto.
16134 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16135 INTVARDEF with libc_hidden_data_def.
16136 * stdio-common/itoa-udigits.c: Likewise.
16137 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16138 (_itoa_lower_digits_internal): Remove declaration.
16139 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16140 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16141 (_sys_sigabbrev_internal): Remove aliases.
16142 (_sys_siglist): Define hidden alias.
16143
507352f1
MT
161442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16145
16146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16147 bits/sysctl.h.
16148
42bbb1c3
L
161492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16150
16151 [BZ #14117]
6bd784b6
L
16152 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16153 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16154
8bca20f0
L
16155 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16156 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16157 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16158 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16160 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16161
f9e890a9
L
16162 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16164 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16165
471101a1
L
16166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16167 with __addr.
16168 (insw): Likewise.
16169 (insl): Likewise.
16170 (outsb): Likewise.
16171 (outsw): Likewise.
16172 (outsl): Likewise.
16173
6451c862
L
16174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16176 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16177
a254b8c9
L
16178 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16179 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16180 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16181 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16182 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16183 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16184
b8dfdd92
L
16185 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16186 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16187
578cd270
L
16188 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16189 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16190
de662f5f
L
16191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16193 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16194
25653439
L
16195 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16196 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16197 to ...
16198 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16199
6bad24a0
L
16200 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16202 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16203
42bbb1c3
L
16204 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16205 for x86-64.
16206 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16207
2d10d547
JM
162082012-05-31 Joseph Myers <joseph@codesourcery.com>
16209
16210 * math/math.h (M_El): Use two more decimal places.
16211 (M_LOG2El): Likewise.
16212 (M_LOG10El): Likewise.
16213 (M_LN2l): Likewise.
16214 (M_LN10l): Likewise.
16215 (M_PIl): Likewise.
16216 (M_PI_2l): Likewise.
16217 (M_PI_4l): Likewise.
16218 (M_1_PIl): Likewise.
16219 (M_2_PIl): Likewise.
16220 (M_2_SQRTPIl): Likewise.
16221 (M_SQRT2l): Likewise.
16222 (M_SQRT1_2l): Likewise.
16223
f230c29b
DM
162242012-05-31 David S. Miller <davem@davemloft.net>
16225
16226 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16227 values between float registers.
16228 * sysdeps/sparc/sparc64/memset.S: Likewise.
16229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16230
fed806c3
MF
162312012-05-31 Mike Frysinger <vapier@gentoo.org>
16232
16233 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16234 -D_FORTIFY_SOURCE=1.
16235 (CPPFLAGS-tst-longjmp_chk.c): Define.
16236 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16237 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16238 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16239 CFLAGS-tst-wchar-h.c.
16240
30917259
MP
162412012-05-31 Marek Polacek <polacek@redhat.com>
16242
16243 [BZ #14132]
16244 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16245 __endmntent_internal): Remove declaration.
16246 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16247 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16248 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16249
1c58d5dc
DM
162502012-05-30 David S. Miller <davem@davemloft.net>
16251
16252 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16253 (___Q_simulate_exceptions): Use real FP ops rather than writing
16254 into the %fsr.
16255 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16256 Likewise.
16257
7dc00e0d
L
162582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 [BZ #14117]
0bd53985
L
16261 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16262 * sysdeps/x86/bits/xtitypes.h: This.
16263
3a257e66
L
16264 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16265 * sysdeps/x86/bits/wordsize.h: This.
16266
62f62904
L
16267 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16268 * sysdeps/x86/bits/huge_vall.h: This.
16269
404fe9d9
L
16270 * sysdeps/i386/bits/select.h: Removed.
16271 * sysdeps/x86_64/bits/select.h: Renamed to ...
16272 * sysdeps/x86/bits/select.h: This.
16273
d48d0446
L
16274 * sysdeps/i386/bits/setjmp.h: Removed.
16275 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16276 * sysdeps/x86/bits/setjmp.h: This.
16277
7dc00e0d
L
16278 * sysdeps/i386/bits/mathdef.h: Removed.
16279 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16280 * sysdeps/x86/bits/mathdef.h: This.
16281
03277f8f
AS
162822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16283
16284 [BZ #14132]
16285 * include/sys/socket.h (__connect_internal)
16286 (__libc_sa_len_internal): Remove declaration.
16287 (__connect, __libc_sa_len): Declare hidden_proto.
16288 (SA_LEN): Remove use of INTUSE.
16289 * socket/connect.c: Add libc_hidden_def.
16290 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16291 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16292 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16293 alias.
16294 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16296 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16297 of adding _internal alias.
16298
13764867
L
162992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16300
16301 [BZ #14117]
6bd97696
L
16302 * sysdeps/i386/bits/link.h: Removed.
16303 * sysdeps/i386/bits/linkmap.h: Likewise.
16304 * sysdeps/x86_64/bits/link.h: Renamed to ...
16305 * sysdeps/x86/bits/link.h: This.
16306 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16307 * sysdeps/x86/bits/linkmap.h: This.
16308
f726f0bb
L
16309 * sysdeps/i386/bits/endian.h: Removed.
16310 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16311 * sysdeps/x86/bits/endian.h: This.
16312
13764867
L
16313 * sysdeps/i386/bits/byteswap.h: Removed.
16314 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16315 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16316 * sysdeps/x86/bits/byteswap.h: This.
16317 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16318 * sysdeps/x86/bits/byteswap-16.h: This.
16319 * sysdeps/i386/Implies: Add x86.
16320 * sysdeps/x86_64/Implies: Likewise.
16321
ae251b0b
DM
163222012-05-30 David S. Miller <davem@davemloft.net>
16323
16324 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16325 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16326 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16327 (FP_TRAPPING_EXCEPTIONS): Define.
16328 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16329 (FP_TRAPPING_EXCEPTIONS): Define.
16330 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16331 subnormals only when inexact has been signalled or underflow
16332 exceptions are enabled.
16333 (_FP_PACK_CANONICAL): Likewise.
16334
d5c90867
L
163352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16336
16337 [BZ #14183]
16338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16339 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16340
63f1549e
RH
163412012-05-30 Richard Henderson <rth@twiddle.net>
16342
8d8f2279
RH
16343 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16344 with #ifndef NOT_IN_libc.
16345
63f1549e
RH
16346 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16347 marked to avoid plt entry.
16348
0ab0291b
L
163492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16350
16351 [BZ #14112]
16352 * Makeconfig (default-abi): New macro.
16353 (abi-includes): Likewise.
16354 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16355 $(abi-$(default-abi)-lib-soname) for soname if defined.
16356 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16357 abi-variants.
16358 * Makefile (installed-stubs): Likewise.
16359 * include/stubs-biarch.h: Removed.
16360 * scripts/lib-names.awk: Only handle one library at a time.
16361 * scripts/soversions.awk: Remove WORDSIZE support.
16362 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16363 entries.
16364 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16365 Removed.
16366 (syscall-list-default-condition): Likewise.
16367 (syscall-list-default-condition): Likewise.
16368 (syscall-list-includes): Likewise.
16369 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16370 syscall-list-* with abi-*. Handle undefined abi-variants.
16371 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16372 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16373 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16374 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16375 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16376 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16377 Removed.
16378 (syscall-list-32-options): Likewise.
16379 (syscall-list-32-condition): Likewise.
16380 (syscall-list-64-options): Likewise.
16381 (syscall-list-64-condition): Likewise.
16382 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16383 macro.
16384 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16385 Renamed to ...
16386 (abi-*): This.
16387 (abi-64-ld-soname): New macro.
16388 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16389 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16390 Renamed to ...
16391 (abi-*): This.
16392 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16393 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16394
4da0431d
JM
163952012-05-30 Joseph Myers <joseph@codesourcery.com>
16396
3a85279c
JM
16397 * sysdeps/unix/sysv/linux/kernel-features.h
16398 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16399 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16400 include <kernel-features.h>.
16401 [!__NR_ftruncate64]: Remove conditional code.
16402 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16403 [__NR_ftruncate64]: Make code unconditional.
16404 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16405 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16406 include <kernel-features.h>.
16407 [!__NR_ftruncate64]: Remove conditional code.
16408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16409 [__NR_ftruncate64]: Make code unconditional.
16410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16412 include <kernel-features.h>.
16413 [!__NR_ftruncate64]: Remove conditional code.
16414 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16415 [__NR_ftruncate64]: Make code unconditional.
16416 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16418 include <kernel-features.h>.
16419 [!__NR_ftruncate64]: Remove conditional code.
16420 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16421 [__NR_ftruncate64]: Make code unconditional.
16422 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16423
4da0431d
JM
16424 * configure.in (libc_cv_fpie): Weaken to a compile test using
16425 LIBC_TRY_CC_OPTION.
16426 * configure: Regenerated.
16427
11ef492c
AK
164282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16429
16430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16434 Refreshed.
16435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16441 Refreshed.
16442
d66ef399
DM
164432012-05-27 David S. Miller <davem@davemloft.net>
16444
16445 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16446 (___Q_zero): New.
16447 (__Q_simulate_exceptions): Return void. Change to simulate
16448 exceptions by writing into the %fsr.
16449 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16450 (__Qp_handle_exceptions): Likewise.
16451 (numbers): Delete.
16452 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16453 __Qp_handle_exceptions.
16454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16455 __Qp_handle_exceptions.
16456 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16457 as unused and give dummy FP_RND_NEAREST initializer.
16458 (FP_INHIBIT_RESULTS): Define.
16459 (___Q_simulate_exceptions): Update declaration.
16460 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16461 formatting.
16462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16463 as unused and give dummy FP_RND_NEAREST initializer.
16464 (__Qp_handle_exceptions): Update declaration.
16465 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16466 formatting.
16467
04fb54b5
TS
164682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16469
16470 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16471 the temporary FPU control word.
16472 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16473 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16475 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16476 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16477 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16478 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16479 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16480 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16481 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16482 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16483
3f99608f
KK
164842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16485
16486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16487 fields.
16488
65a4de4e
CLT
164892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16490
16491 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16492 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16493 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16494 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16495 Likewise.
16496 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16497 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16498 Likewise.
16499
15749d40
UD
165002012-05-27 Ulrich Drepper <drepper@gmail.com>
16501
16502 * po/h.po: Update from translation team.
16503
25dbcb27
AS
165042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16505
3d3f8e55
AS
16506 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16507
25dbcb27
AS
16508 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16509 handling of denormals.
16510 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16511 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16512 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16513 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16517 Likewise.
16518
7ad47a80 165192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16520
16521 [BZ #14152]
16522 * math/libm-test.inc (fma_test): Don't always expect underflow
16523 exception.
16524
9c6ea9fa
SP
165252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16526
16527 [BZ #12416]
16528 * elf/tst-execstack.c: Include stackinfo.h.
16529 (do_test): Adjust test case to ensure that pthread_getattr_np
16530 behaviour remains the same after marking stack executable.
16531
a8239222
JM
165322012-05-25 Joseph Myers <joseph@codesourcery.com>
16533
16534 * sysdeps/unix/sysv/linux/kernel-features.h
16535 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16536 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16537 kernel-features.h.
16538 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16539 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16540 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16541 kernel-features.h.
16542 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16543 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16544
918b5606
L
165452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16546
16547 * configure.in: Define the default includes to being none.
16548 * configure: Regenerated.
16549
3a097cc7
RM
165502012-05-25 Roland McGrath <roland@hack.frob.com>
16551
8422c9a5
RM
16552 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16553 * sysdeps/x86_64/setjmp.S: Likewise.
16554 * sysdeps/i386/bsd-setjmp.S: Likewise.
16555 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16556 * sysdeps/i386/setjmp.S: Likewise.
16557 * sysdeps/i386/__longjmp.S: Likewise.
16558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16559 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16560
3a097cc7
RM
16561 * include/stap-probe.h: New file.
16562 * configure.in: Handle --enable-systemtap.
16563 * configure: Regenerated.
16564 * config.h.in (USE_STAP_PROBE): New #undef.
16565 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16566 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16567 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16568
21708942
JM
165692012-05-25 Joseph Myers <joseph@codesourcery.com>
16570
16571 [BZ #13717]
16572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16573 to 2.4.0 where earlier.
16574 * sysdeps/unix/sysv/linux/configure: Regenerated.
16575 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16576 <kernel-features.h>.
16577 [__ASSUME_32BITUIDS]: Make code unconditional.
16578 [!__ASSUME_32BITUIDS]: Remove conditional code.
16579 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16580 <kernel-features.h>.
16581 [__ASSUME_32BITUIDS]: Make code unconditional.
16582 [!__ASSUME_32BITUIDS]: Remove conditional code.
16583 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16584 [__ASSUME_32BITUIDS]: Make code unconditional.
16585 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16586 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16587 <kernel-features.h>.
16588 [__ASSUME_32BITUIDS]: Make code unconditional.
16589 [!__ASSUME_32BITUIDS]: Remove conditional code.
16590 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16591 <kernel-features.h>.
16592 [__ASSUME_32BITUIDS]: Make code unconditional.
16593 [!__ASSUME_32BITUIDS]: Remove conditional code.
16594 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16595 <kernel-features.h>.
16596 [__ASSUME_32BITUIDS]: Make code unconditional.
16597 [!__ASSUME_32BITUIDS]: Remove conditional code.
16598 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
16607 <kernel-features.h>.
16608 [__ASSUME_32BITUIDS]: Make code unconditional.
16609 [!__ASSUME_32BITUIDS]: Remove conditional code.
16610 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16611 <kernel-features.h>.
16612 [__ASSUME_32BITUIDS]: Make code unconditional.
16613 [!__ASSUME_32BITUIDS]: Remove conditional code.
16614 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16615 <kernel-features.h>.
16616 [__ASSUME_32BITUIDS]: Make code unconditional.
16617 [!__ASSUME_32BITUIDS]: Remove conditional code.
16618 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16619 <kernel-features.h>.
16620 [__ASSUME_32BITUIDS]: Make code unconditional.
16621 [!__ASSUME_32BITUIDS]: Remove conditional code.
16622 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16623 <kernel-features.h>.
16624 [__ASSUME_32BITUIDS]: Make code unconditional.
16625 [!__ASSUME_32BITUIDS]: Remove conditional code.
16626 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16627 <kernel-features.h>.
16628 [__NR_setresgid] (__setresgid): Do not declare.
16629 [__ASSUME_32BITUIDS]: Make code unconditional.
16630 [!__ASSUME_32BITUIDS]: Remove conditional code.
16631 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16632 <kernel-features.h>.
16633 [__NR_setresuid] (__setresuid): Do not declare.
16634 [__ASSUME_32BITUIDS]: Make code unconditional.
16635 [!__ASSUME_32BITUIDS]: Remove conditional code.
16636 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16637 <kernel-features.h>.
16638 [__ASSUME_32BITUIDS]: Make code unconditional.
16639 [!__ASSUME_32BITUIDS]: Remove conditional code.
16640 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16641 <kernel-features.h>.
16642 [__ASSUME_32BITUIDS]: Make code unconditional.
16643 [!__ASSUME_32BITUIDS]: Remove conditional code.
16644 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16645 <kernel-features.h>.
16646 [__ASSUME_32BITUIDS]: Make code unconditional.
16647 [!__ASSUME_32BITUIDS]: Remove conditional code.
16648 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16649 <kernel-features.h>.
16650 [__ASSUME_32BITUIDS]: Make code unconditional.
16651 [!__ASSUME_32BITUIDS]: Remove conditional code.
16652 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16653 <kernel-features.h>.
16654 [__ASSUME_32BITUIDS]: Make code unconditional.
16655 [!__ASSUME_32BITUIDS]: Remove conditional code.
16656 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16657 <kernel-features.h>.
16658 [__ASSUME_32BITUIDS]: Make code unconditional.
16659 [!__ASSUME_32BITUIDS]: Remove conditional code.
16660 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16661 <kernel-features.h>.
16662 [__ASSUME_32BITUIDS]: Make code unconditional.
16663 [!__ASSUME_32BITUIDS]: Remove conditional code.
16664 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16665 <kernel-features.h>.
16666 [__ASSUME_32BITUIDS]: Make code unconditional.
16667 [!__ASSUME_32BITUIDS]: Remove conditional code.
16668 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16669 <kernel-features.h>.
16670 [__ASSUME_32BITUIDS]: Make code unconditional.
16671 [!__ASSUME_32BITUIDS]: Remove conditional code.
16672 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16673 <kernel-features.h>.
16674 [__ASSUME_32BITUIDS]: Make code unconditional.
16675 [!__ASSUME_32BITUIDS]: Remove conditional code.
16676 * sysdeps/unix/sysv/linux/kernel-features.h
16677 (__ASSUME_SETRESUID_SYSCALL): Remove.
16678 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16679 (__ASSUME_32BITUIDS): Likewise.
16680 (__ASSUME_LDT_WORKS): Likewise.
16681 (__ASSUME_O_DIRECTORY): Likewise.
16682 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16683 architecture but not kernel version.
16684 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16685 (__ASSUME_MMAP2_SYSCALL): Likewise.
16686 (__ASSUME_STAT64_SYSCALL): Likewise.
16687 (__ASSUME_IPC64): Likewise.
16688 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16689 <kernel-features.h>.
16690 [__ASSUME_32BITUIDS]: Make code unconditional.
16691 [!__ASSUME_32BITUIDS]: Remove conditional code.
16692 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16693 <kernel-features.h>.
16694 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16695 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16696 132096]: Remove conditional code.
16697 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16698 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16699 <kernel-features.h>.
16700 [__ASSUME_32BITUIDS]: Make code unconditional.
16701 [!__ASSUME_32BITUIDS]: Remove conditional code.
16702 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16703 <kernel-features.h>.
16704 [__ASSUME_32BITUIDS]: Make code unconditional.
16705 [!__ASSUME_32BITUIDS]: Remove conditional code.
16706 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16707 <kernel-features.h>.
16708 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16709 unconditional.
16710 (__setresgid): Do not declare.
16711 [__ASSUME_32BITUIDS]: Make code unconditional.
16712 [!__ASSUME_32BITUIDS]: Remove conditional code.
16713 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16714 <kernel-features.h>.
16715 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16716 unconditional.
16717 (__setresuid): Do not declare.
16718 [__ASSUME_32BITUIDS]: Make code unconditional.
16719 [!__ASSUME_32BITUIDS]: Remove conditional code.
16720 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16721 <kernel-features.h>.
16722 [__ASSUME_32BITUIDS]: Make code unconditional.
16723 [!__ASSUME_32BITUIDS]: Remove conditional code.
16724 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16725 <kernel-features.h>.
16726 [__ASSUME_32BITUIDS]: Make code unconditional.
16727 [!__ASSUME_32BITUIDS]: Remove conditional code.
16728
a386f1cc
RH
167292012-05-25 Richard Henderson <rth@twiddle.net>
16730
16731 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16732 dl_hwcap to ifunc resolver.
16733 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16734 elf_ifunc_invoke.
16735 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16736 dl_hwcap to ifunc resolver.
16737 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16738
b6550497
JM
167392012-05-24 Joseph Myers <joseph@codesourcery.com>
16740
16741 [BZ #14153]
16742 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16743 for |x| <= 2**-26, not 2**-57.
16744 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16745 exception.
16746
b0bc23a1
JL
167472012-05-24 Jeff Law <law@redhat.com>
16748
16749 * stdio-common/Makefile (tests): Add bug25.
16750 * stdio-common/bug25.c: New test.
16751
347c92e9
L
167522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16753
16754 [BZ #13576]
16755 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16756 multiple of MALLOC_ALIGNMENT in size.
16757 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16758
6bcc8b3f
JM
167592012-05-24 Joseph Myers <joseph@codesourcery.com>
16760
16761 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16762 Require >= 256.
16763 (FILENAME_MAX): Use macro-int-constant.
16764 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16765 (_IOFBF): Use macro-int-constant.
16766 (_IOLBF): Likewise.
16767 (_IONBF): Likewise.
16768 (SEEK_CUR): Likewise.
16769 (SEEK_END): Likewise.
16770 (SEEK_SET): Likewise.
16771 (TMP_MAX): Likewise.
16772 (EOF): Use macro-int-constant. Require < 0.
16773 (NULL): Use macro-constant. Require == 0.
16774 (stdin): Require type to be FILE *.
16775 (stdout): Likewise.
16776 (stderr): Likewise.
16777 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16778 macro-int-constant.
16779 (EXIT_SUCCESS): Likewise.
16780 (NULL): Use macro-constant. Require == 0.
16781 (RAND_MAX): Use macro-int-constant.
16782 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16783 [C99-based standards] (strtof): Require function.
16784 [C99-based standards] (strtold): Likewise.
16785 [C99-based standards] (strtoll): Likewise.
16786 [C99-based standards] (strtoull): Likewise.
16787 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16788 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16789 [ISO || ISO99 || ISO11] (math.h): Likewise.
16790 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16791 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16793
d18ea0c5
AS
167942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16795
16796 [BZ #14132]
56d25bb8
AS
16797 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16798 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16799 * intl/dgettext.c (DCGETTEXT): Likewise.
16800 * intl/gettext.c (DCGETTEXT): Likewise.
16801 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16802 * posix/regex_internal.h (gettext): Likewise.
16803 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16804 Remove declaration.
16805 * include/argz.h (__argz_count_internal)
16806 (__argz_stringify_internal): Remove declaration.
16807 (__argz_count, __argz_stringify): Declare hidden proto.
16808 * intl/dcgettext.c: Remove use of INTDEF.
16809 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16810 * string/argz-stringify.c: Likewise.
16811 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16812 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16813 Declare hidden proto.
d18ea0c5
AS
16814 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16815 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16816 Declare hidden proto.
16817 * include/stdio.h (__asprintf_internal): Don't declare.
16818 (__asprintf): Don't define as macro. Declare hidden proto.
16819 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16820 (__fsetlocking): Declare hidden proto.
16821 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16822 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16823 hidden proto.
16824 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16825 (_IO_setlinebuf): Remove use of INTUSE.
16826 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16827 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16828 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16829 Remove declaration.
16830 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16831 (_IO_do_flush): Remove use of INTUSE.
16832 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16833 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16834 (_IO_adjust_column, _IO_least_wmarker)
16835 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16836 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16837 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16838 (_IO_default_doallocate, _IO_wdefault_doallocate)
16839 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16840 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16841 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16842 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16843 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16844 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16845 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16846 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16847 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16848 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16849 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16850 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16851 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16852 proto.
16853 (_IO_flush_all_internal, _IO_adjust_column_internal)
16854 (_IO_default_uflow_internal, _IO_default_finish_internal)
16855 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16856 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16857 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16858 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16859 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16860 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16861 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16862 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16863 (_IO_file_close_internal, _IO_file_close_it_internal)
16864 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16865 (_IO_file_init_internal, _IO_file_attach_internal)
16866 (_IO_file_fopen_internal, _IO_file_read_internal)
16867 (_IO_file_sync_internal, _IO_file_seek_internal)
16868 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16869 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16870 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16871 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16872 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16873 (_IO_list_all_internal, _IO_link_in_internal)
16874 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16875 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16876 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16877 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16878 (_IO_do_write_internal, _IO_padn_internal)
16879 (_IO_getline_info_internal, _IO_getline_internal)
16880 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16881 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16882 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16883 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16884 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16885 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16886 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16887 with libc_hidden_ver, remove use of INTUSE.
16888 * libio/genops.c: Likewise.
16889 * libio/freopen.c: Likewise.
16890 * libio/freopen64.c: Likewise.
16891 * libio/iofclose.c: Likewise.
16892 * libio/iofdopen.c: Likewise.
16893 * libio/iofflush.c: Likewise.
16894 * libio/iofflush_u.c: Likewise.
16895 * libio/iofgets.c: Likewise.
16896 * libio/iofgets_u.c: Likewise.
16897 * libio/iofopen.c: Likewise.
16898 * libio/iofopncook.c: Likewise.
16899 * libio/iofread.c: Likewise.
16900 * libio/iofread_u.c: Likewise.
16901 * libio/ioftell.c: Likewise.
16902 * libio/iofwrite.c: Likewise.
16903 * libio/iogetline.c: Likewise.
16904 * libio/iogets.c: Likewise.
16905 * libio/iogetwline.c: Likewise.
16906 * libio/iopadn.c: Likewise.
16907 * libio/iopopen.c: Likewise.
16908 * libio/ioseekoff.c: Likewise.
16909 * libio/ioseekpos.c: Likewise.
16910 * libio/iosetbuffer.c: Likewise.
16911 * libio/iosetvbuf.c: Likewise.
16912 * libio/ioungetc.c: Likewise.
16913 * libio/ioungetwc.c: Likewise.
16914 * libio/iovdprintf.c: Likewise.
16915 * libio/iovsprintf.c: Likewise.
16916 * libio/iovsscanf.c: Likewise.
16917 * libio/memstream.c: Likewise.
16918 * libio/obprintf.c: Likewise.
16919 * libio/oldfileops.c: Likewise.
16920 * libio/oldiofclose.c: Likewise.
16921 * libio/oldiofdopen.c: Likewise.
16922 * libio/oldiofopen.c: Likewise.
16923 * libio/oldiopopen.c: Likewise.
16924 * libio/oldstdfiles.c: Likewise.
16925 * libio/putc.c: Likewise.
16926 * libio/setbuf.c: Likewise.
16927 * libio/setlinebuf.c: Likewise.
16928 * libio/stdfiles.c: Likewise.
16929 * libio/strops.c: Likewise.
16930 * libio/vasprintf.c: Likewise.
16931 * libio/vscanf.c: Likewise.
16932 * libio/vsnprintf.c: Likewise.
16933 * libio/vswprintf.c: Likewise.
16934 * libio/wfiledoalloc.c: Likewise.
16935 * libio/wfileops.c: Likewise.
16936 * libio/wgenops.c: Likewise.
16937 * libio/wmemstream.c: Likewise.
16938 * libio/wstrops.c: Likewise.
16939 * libio/__fpurge.c: Likewise.
16940 * libio/__fsetlocking.c: Likewise.
16941 * assert/assert.c: Likewise.
16942 * debug/fgets_chk.c: Likewise.
16943 * debug/fgets_u_chk.c: Likewise.
16944 * debug/fread_chk.c: Likewise.
16945 * debug/fread_u_chk.c: Likewise.
16946 * debug/gets_chk.c: Likewise.
16947 * debug/obprintf_chk.c: Likewise.
16948 * debug/vasprintf_chk.c: Likewise.
16949 * debug/vdprintf_chk.c: Likewise.
16950 * debug/vsnprintf_chk.c: Likewise.
16951 * debug/vsprintf_chk.c: Likewise.
16952 * malloc/mtrace.c: Likewise.
16953 * misc/error.c: Likewise.
16954 * misc/syslog.c: Likewise.
16955 * stdio-common/asprintf.c: Likewise.
16956 * stdio-common/fxprintf.c: Likewise.
16957 * stdio-common/getw.c: Likewise.
16958 * stdio-common/isoc99_fscanf.c: Likewise.
16959 * stdio-common/isoc99_scanf.c: Likewise.
16960 * stdio-common/isoc99_vfscanf.c: Likewise.
16961 * stdio-common/isoc99_vscanf.c: Likewise.
16962 * stdio-common/isoc99_vsscanf.c: Likewise.
16963 * stdio-common/printf-prs.c: Likewise.
16964 * stdio-common/printf_fp.c: Likewise.
16965 * stdio-common/printf_fphex.c: Likewise.
16966 * stdio-common/printf_size.c: Likewise.
16967 * stdio-common/putw.c: Likewise.
16968 * stdio-common/scanf.c: Likewise.
16969 * stdio-common/sprintf.c: Likewise.
16970 * stdio-common/tmpfile.c: Likewise.
16971 * stdio-common/vfprintf.c: Likewise.
16972 * stdio-common/vfscanf.c: Likewise.
16973 * stdlib/strfmon_l.c: Likewise.
16974 * sunrpc/openchild.c: Likewise.
16975 * sunrpc/xdr_stdio.c: Likewise.
16976 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16977 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16978
d6c33fda
RM
169792012-05-24 Roland McGrath <roland@hack.frob.com>
16980
c1487492
RM
16981 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16982
16983 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16984 in the third column, to generate for the shared library an IFUNC
16985 that uses _dl_vdso_vsym.
16986 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16987 * Makeconfig (object-suffixes-noshared): New variable.
16988
16989 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16990 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16991 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16992 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16993
d6c33fda
RM
16994 [BZ #14132]
16995 * include/sys/time.h (__gettimeofday): Remove macro.
16996 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16997 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16998 Remove INTDEF.
16999 (__gettimeofday): Add libc_hidden_def.
17000 (gettimeofday): Add libc_hidden_weak.
17001 * sysdeps/mach/gettimeofday.c: Likewise.
17002 * sysdeps/posix/gettimeofday.c: Likewise.
17003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17004 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17006 (__gettimeofday_internal): Remove strong_alias.
17007 (__gettimeofday): Add libc_hidden_def.
17008 (gettimeofday): Add libc_hidden_weak.
17009 * sysdeps/unix/syscalls.list (gettimeofday):
17010 Remove __gettimeofday_internal alias.
17011
b5a2bbe6
L
170122012-05-24 Daniel Jacobowitz <drow@false.org>
17013 H.J. Lu <hongjiu.lu@intel.com>
17014
17015 [BZ #12495]
17016 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17017 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17018 (largebin_index_32_big): New.
17019 (largebin_index): Use it for 16-byte alignment.
17020 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17021 correction with front_misalign.
17022
cfba4fda
L
170232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17024
7f907421
L
17025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17027 Likewise.
17028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17029 Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17031 Likewise.
17032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17033 Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17037 Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17039 Likewise.
17040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17041 Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17043 Likewise.
17044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17045 Likewise.
17046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17047 Likewise.
17048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17049 Likewise.
17050
cfba4fda
L
17051 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17052 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17053
80bad0cc
JM
170542012-05-24 Joseph Myers <joseph@codesourcery.com>
17055
7a25eb06
JM
17056 [BZ #10846]
17057 [BZ #14036]
17058 * math/libm-test.inc (exp_test): Add test from bug 14036.
17059 (pow_test): Add test from bug 10846.
17060
795405f9
JM
17061 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17062 and other flags.
17063 (special_function): Do not include flags in test name.
17064 (parse_args): Likewise.
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17066 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17067 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17068 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17070
80bad0cc
JM
17071 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17072 exceptions.
17073 * math/libm-test.inc ("Philosophy"): Update comment about
17074 exception testing.
17075 (UNDERFLOW_EXCEPTION): New macro.
17076 (UNDERFLOW_EXCEPTION_OK): Likewise.
17077 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17078 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17079 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17080 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17081 (INVALID_EXCEPTION_OK): Update value.
17082 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17083 (OVERFLOW_EXCEPTION_OK): Likewise.
17084 (IGNORE_ZERO_INF_SIGN): Likewise.
17085 (test_exceptions): Handle underflow exceptions.
17086 (acos_test): Update for underflow exception expectations.
17087 (cexp_test): Likewise.
17088 (clog_test): Likewise.
17089 (clog10_test): Likewise.
17090 (csqrt_test): Likewise.
17091 (ctan_test): Likewise.
17092 (ctanh_test): Likewise.
17093 (exp_test): Likewise.
17094 (exp10_test): Likewise.
17095 (exp2_test): Likewise.
17096 (expm1_test): Likewise.
17097 (fma_test): Likewise.
17098 (j0_test): Likewise.
17099 (jn_test): Likewise.
17100 (nexttoward_test): Likewise.
17101 (pow_test): Likewise.
17102 (scalbn_test): Likewise.
17103 (scalbln_test): Likewise.
17104 (tan_test): Likewise.
17105 (y1_test): Likewise.
17106 * sysdeps/i386/fpu/libm-test-ulps: Update.
17107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17108
9e0e3d0b
DM
171092012-05-23 David S. Miller <davem@davemloft.net>
17110
17111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17112 (__libc_sigaction): Remove unused local variables.
17113
ccd0a08f
L
171142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17115
17116 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17117
62bdf9a6
PE
171182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17119
f8591f80
PE
17120 mktime: avoid signed integer overflow
17121 * time/mktime.c (__mktime_internal): Do not mishandle the case
17122 where diff == INT_MIN.
17123
94c7d826
PE
17124 mktime: simplify computation of average
17125 * time/mktime.c (ranged_convert): Use new time_t_avg function
17126 instead of rolling our own (probably-slower) code.
17127
ce73d683
PE
17128 mktime: do not assume signed right shift propagates sign bit
17129 * time/mktime.c (isdst_differ): New static function.
17130 (__mktime_internal): No need to normalize tm_isdst now.
17131 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17132 tm_isdst values.
17133
72a22e59
PE
17134 mktime: merge another wrapv change from gnulib
17135 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17136 from some compilers.
17137
68605433
PE
17138 mktime: remove incorrect attempt at unusual arithmetics
17139 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17140 The code didn't really work on such machines anyway.
17141 (TYPE_MINIMUM): Assume two's complement.
17142 (twos_complement_arithmetic): Verify that long_int and time_t
17143 are two's complement (or unsigned, in the latter case).
17144
03cf7fe3
PE
17145 mktime: check signed shifts on long_int and time_t, too
17146 * time/mktime.c (SHR): Check that shifts work as desired
17147 on the types long_int and time_t too, as SHR is used on
17148 such types.
17149
f04dfbc2
PE
17150 mktime: do not assume 'long' is wide enough
17151 * time/mktime.c (verify): Move decl up.
17152 (long_int): New type.
17153 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17154 to remove assumption in the code that 'long' is wide enough to
17155 store year values. This assumption is not true on x32 and on
17156 some non-glibc platforms.
17157
62bdf9a6
PE
17158 mktime: merge wrapv change from gnulib
17159 * time/mktime.c (WRAPV): New macro.
17160 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17161 (guess_time_tm, __mktime_internal): Do not assume that signed
17162 integer overflow wraps around; modern compilers generate code
17163 where this assumption is no longer valid.
17164
5e292e4f
L
171652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17166
17167 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17168 Replace "jmp L(pseudo_end)" with "ret".
17169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17170 Likewise.
17171
8caf8c87
AJ
171722012-05-23 Andreas Jaeger <aj@suse.de>
17173
17174 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17175 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17176
1a09dc56
AJ
171772012-05-23 Andreas Jaeger <aj@suse.de>
17178 Maximilian Attems <max@stro.at>
17179
17180 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17181 New macros.
17182
1c87aba0
L
171832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17184
17185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17186 code so that pseudo_end is just ret and the stack pointer is
17187 correct also for static library in error case.
17188
40e45bd5
JM
171892012-05-23 Joseph Myers <joseph@codesourcery.com>
17190
c2670533
JM
17191 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17192 move to syscalls.list.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17197
40e45bd5
JM
17198 * manual/install.texi (Running make install): Do not mention Linux
17199 kernel version for which pt_chown is not needed.
17200 (Linux): Do not mention problems with nscd with 2.0 kernels.
17201 * INSTALL: Regenerated.
17202
be08eda5
AJ
172032012-05-23 Andreas Jaeger <aj@suse.de>
17204
17205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17206 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17207 macro.
17208 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17209 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17210 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17211 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17212 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17213 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17217 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17218 * sysdeps/unix/sysv/linux/bits/in.h
17219 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17220
a6a056bb
RM
172212012-05-22 Roland McGrath <roland@hack.frob.com>
17222
17223 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17224 (PREPARE_VERSION): Just use assert instead, it will be elided
17225 under [NDEBUG] anyway.
17226
c9009328
L
172272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17228
17229 * sysdeps/unix/sysv/linux/Makefile: Include
17230 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17231 (sysdep_routines): Remove sysctl.
c9009328
L
17232 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17233 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17234 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17235 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17236 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17237
73338355
AJ
172382012-05-22 Andreas Jaeger <aj@suse.de>
17239
17240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17241 that pseudo_end is just ret and the stack pointer is correct also
17242 for static library in error case.
17243
d44638b0
PP
172442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17245
17246 [BZ #14122]
17247 * nss/nsswitch.c (defconfig_entries): New variable.
17248 (__nss_database_lookup): Don't leak defconfig entries.
17249 (nss_parse_service_list): Don't leak on error paths.
17250 (free_database_entries): New function.
17251 (free_defconfig): New function.
17252 (free_mem): Move common code to free_database_entries.
17253
31a39bd8
L
172542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17255
da0331a8
L
17256 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17257 Add arch_prctl.
17258 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17259
31a39bd8
L
17260 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17261 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17263 New macro.
17264 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17265 (INTERNAL_SYSCALL_TYPES): Likewise.
17266 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17267 (LOAD_REGS_TYPES_[1-6]): Likewise.
17268 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17269 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17270
45470df3
AZ
172712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17272
17273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17274 copysignl for GLIBC_2_0.
17275 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17276 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17278 logbl for GLIBC_2_0.
17279 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17280 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17281
98a61bcb
L
172822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17283
a4f6e481
L
17284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17285 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17286
f63d5db6
L
17287 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17288 Use "neg %eax".
17289
98a61bcb
L
17290 * time/mktime.c: Update copyright years.
17291
95770f14
PE
172922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17293
6226efbd
PE
17294 mktime: merge comment-quoting-style change from gnulib
17295 * time/mktime.c: Quote 'like this' in comments.
17296 The GNU coding standards suggest that we no longer quote `like this',
17297 as "`" and "'" are typically rendered asymmetrically nowadays.
17298 The typical gnulib style is to quote 'like this' when quoting
17299 code, and "like this" when quoting English.
17300
b99e4f78
PE
17301 * time/mktime.c (compile-command): Add "-I.".
17302
643e01e6
PE
17303 mktime: merge mktime-internal.h change from gnulib
17304 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17305
2554247d
PE
17306 mktime: merge time_r change from gnulib
17307 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17308
826dd0ab
PE
17309 mktime: merge DEBUG change from gnulib
17310 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17311 case system <time.h> has a #define.
17312
bd83aabe
PE
17313 mktime: merge <sys/types.h> change from gnulib
17314 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17315 since <time.t> is now guaranteed to define time_t.
17316
95770f14
PE
17317 mktime: merge HAVE_CONFIG_H change from gnulib
17318 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17319
5e1a27a9
L
173202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17321
0e44a77e
L
17322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17323 Use "neg %eax".
17324
5e1a27a9
L
17325 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17326 __rlim_t cast.
17327 (struct rusage): Use anonymous union to pad each field to
17328 __syscall_slong_t.
17329
46259bec
DM
173302012-05-21 David S. Miller <davem@davemloft.net>
17331
17332 * Makefules (o-iterator): Remove .s cases.
17333 (compile-command.s): Delete.
17334 (COMPILE.s): Delete.
17335 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17336
59f0c22e
JM
173372012-05-21 Joseph Myers <joseph@codesourcery.com>
17338
17339 * configure.in (libc_cv_predef_stack_protector): Only consider
17340 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17341 * configure: Regenerated.
17342
20c07380
L
173432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17344
bbb3154b
L
17345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17346 New macro. Use R*LP on int and pointer.
17347 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17348 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17350 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17351
20c07380
L
17352 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17353 [__WORDSIZE_TIME64_COMPAT32] instead of
17354 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17355 (struct utmp): Likewise.
17356 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17357 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17358 Renamed to ...
17359 (__WORDSIZE_TIME64_COMPAT32): This.
17360 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17361 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17362 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17363 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17364 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17365 (__WORDSIZE_TIME64_COMPAT32): New macro.
17366
d8d1017e
AJ
173672012-05-21 Andreas Jaeger <aj@suse.de>
17368
17369 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17370 only if [SHARED]. Add prototype for __wcschr_ia32.
17371
6c7fb145
RM
173722012-05-21 Roland McGrath <roland@hack.frob.com>
17373
17374 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17375 of %rbp unmolested in the jmp_buf while mangling the low bits.
17376 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17377 unmolested high bits of %rbp while demangling the low bits.
17378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17379
66274218
AJ
173802012-05-21 Andreas Jaeger <aj@suse.de>
17381
07c58f8f
AJ
17382 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17383 * sunrpc/svc_simple.c: Use it for registerrpc.
17384 * sunrpc/xcrypt.c: Use it for passwd2des.
17385
66274218
AJ
17386 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17387
61f65140
L
173882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17389
17390 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17391 Don't define if [__SYSCALL_WORDSIZE != 32].
17392 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17393 New macro.
17394
5fefb436
AJ
173952012-05-21 Bruno Haible <bruno@clisp.org>
17396 Andreas Jaeger <aj@suse.de>
17397
17398 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17399 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17400 inptr and inend for must_buffer_ch.
17401 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17402 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17403 * stdio-common/Makefile (tests): Remove bug15.
17404 (bug15-ENV): Remove macro.
17405 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17406 anymore.
17407
d8e272ab
AJ
174082012-05-19 Andreas Jaeger <aj@suse.de>
17409 Roland McGrath <roland@hack.frob.com>
17410
17411 * manual/contrib.texi: Completely rewritten. It contains now an
17412 alphabetical list of contributors and their contributions.
17413
4a56a162
RH
174142012-05-21 Richard Henderson <rth@twiddle.net>
17415
17416 * misc/getauxval.c (__getauxval): Use unsigned long int.
17417 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17418 (getauxval): Use unsigned long int.
17419
d024d23c
L
174202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17421
17422 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17423
cbc00a03
RM
174242012-05-21 Roland McGrath <roland@hack.frob.com>
17425
17426 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17427 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17428 __alignof__ (long double).
17429
478143fa
AZ
174302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17431
17432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17433
c7683a6d
RH
174342012-05-20 Richard Henderson <rth@twiddle.net>
17435
17436 * misc/getauxval.c: New file.
17437 * misc/sys/auxv.h: New file.
17438 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17439 (routines): Add getauxval.
17440 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17441 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17442 * elf/dl-sysdep.c (_dl_auxv): Remove.
17443 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17444 * elf/dl-support.c (_dl_auxv): New variable.
17445 (_dl_aux_init): Initialize it.
17446 * manual/startup.texi (Auxiliary Vector): New node.
17447 * sysdeps/generic/bits/hwcap.h: New file.
17448 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17449 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17450 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17451 * sysdeps/sparc/sysdep.h: ... here. Include it.
17452 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17453 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17455 Update.
c7683a6d
RH
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17464
a6f1845d
AZ
174652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17466
17467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17468
cbcbe830
DM
174692012-05-19 David S. Miller <davem@davemloft.net>
17470
17471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17472
e0b16cc2
JM
174732012-05-19 Joseph Myers <joseph@codesourcery.com>
17474
17475 [BZ #14123]
17476 * math/s_ccosh.c: Include <float.h>
17477 (__ccosh): Avoid internal overflow calculating sinh and cosh
17478 values before multiplying by sin and cos values.
17479 * math/s_ccoshf.c: Likewise.
17480 * math/s_ccoshl.c: Likewise.
17481 * math/s_csin.c: Likewise.
17482 * math/s_csinf.c: Likewise.
17483 * math/s_csinl.c: Likewise.
17484 * math/s_csinh.c: Likewise.
17485 * math/s_csinhf.c: Likewise.
17486 * math/s_csinhl.c: Likewise.
17487 * math/libm-test.inc (ccos_test): Add more tests.
17488 (ccosh_test): Likewise.
17489 (csin_test): Likewise.
17490 (csinh_test): Likewise.
17491 * sysdeps/i386/fpu/libm-test-ulps: Update.
17492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17493
6ad13e08
L
174942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17495
f66f0ce8
L
17496 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17497 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17498
6ad13e08
L
17499 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17500
b1d072a7
JM
175012012-05-19 Joseph Myers <joseph@codesourcery.com>
17502
17503 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17504 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17505 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17506 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17507 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17508 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17509 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17510 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17511 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17512 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17513 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17514 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17515 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17516 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17517 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17518 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17519 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17520 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17521 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17522 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17523 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17524 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17525 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17526 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17527 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17528 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17529 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17530 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17531 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17532 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17533 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17534
9eae47cb
AJ
175352012-05-18 Andreas Jaeger <aj@suse.de>
17536
17537 * csu/.gitignore: Delete.
17538
bb07f69f
L
175392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17540
17541 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17542 (timex): Use __syscall_slong_t.
17543
e6bdb741
AJ
175442012-05-18 Andreas Jaeger <aj@suse.de>
17545 Carlos O'Donell <carlos_odonell@mentor.com>
17546
17547 * manual/install.texi (Configuring and compiling): Update
17548 description about files modified in the source directory.
d6c33fda 17549 * INSTALL: Regenerated.
e6bdb741 17550
1b74487e
L
175512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17554 value. Use "or" to set return value to -1.
17555 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17556 negate return value.
17557
a88b64b9
TMQMF
175582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17559
17560 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17561 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17562 failure if the compiler has Graphite support disabled.
17563 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17564 Likewise.
17565 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17566 CFLAGS-memmove.c): Likewise.
17567 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17568 Likewise.
17569
3707636e
L
175702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17571
610b8622
L
17572 * sysdeps/x86_64/x32/_itoa.h: New file.
17573
7cd195df
L
17574 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17575 getdents system call only if kernel and user dirents have the
17576 same d_ino and d_off.
17577
94b07d20
L
17578 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17579 LLONG_MAX != LONG_MAX.
17580 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17581 (_fitoa_word): Likewise.
17582
18298070
L
17583 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17584 years.
17585 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17587 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17588
553c7ea4
L
17589 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17590 include <bits/wordsize.h>. Check __x86_64__ instead of
17591 __WORDSIZE.
17592 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17593 if __x86_64__ is defined. Use anonymous union on fpstate.
17594
3707636e
L
17595 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17596 anonymous union.
17597
b53ef01a
AS
175982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17599
37fb1dc0
AS
17600 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17601 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17603 Refer to _rtld_local_ro instead of _rtld_global_ro.
17604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17605 Likewise.
17606 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17607 Likewise.
17608 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17609 Likewise.
17610 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17611 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17612 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17613
b53ef01a
AS
17614 * sysdeps/powerpc/powerpc32/dl-machine.c
17615 (__elf_machine_runtime_setup) [PROF]: Don't reference
17616 _dl_prof_resolve.
17617
7a185db2
AJ
176182012-05-18 Andreas Jaeger <aj@suse.de>
17619
17620 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17621 function only available for GCCs before 3.4 since GCC 3.4
17622 introduced a builtin.
17623 (lrint): Likewise.
17624 (llrintf): Likewise.
17625 (llrint): Likewise.
17626 (fmaxf): Likewise.
17627 (fmax): Likewise.
17628 (fminf): Likewise.
17629 (fmin): Likewise.
17630 (rint): Likewise.
17631 (rintf): Likewise.
17632 (nearbyint): Likewise.
17633 (nearbyintf): Likewise.
17634 (ceil): Likewise.
17635 (ceilf): Likewise.
17636 (floor): Likewise.
17637 (floorf): Likewise.
17638
3e5aef87
L
176392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17640
428bd707
L
17641 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17642 on both fields and cast pointer to __syscall_ulong_t.
17643
3e5aef87
L
17644 * bits/types.h (__fsword_t): New type.
17645 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17646 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17648 (__FSWORD_T_TYPE): Likewise.
17649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17650 (__FSWORD_T_TYPE): Likewise.
17651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17652 (__FSWORD_T_TYPE): Likewise.
17653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17654 (__FSWORD_T_TYPE): Likewise.
17655 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17656 __SWORD_TYPE with __fsword_t.
17657 (statfs64): Likewise.
17658
1ba7c3dc
DM
176592012-05-17 David S. Miller <davem@davemloft.net>
17660
17661 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17662
59910343
AJ
176632012-05-17 Andreas Jaeger <aj@suse.de>
17664
17665 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17666 warning.
17667
2e4c1e9e
L
176682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17669
17670 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17671
de7f5ce7
AJ
176722012-05-17 Andreas Jaeger <aj@suse.de>
17673
17674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17675 when it is used.
17676
286abc3d
CM
176772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17678
17679 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17680
477cc68e
L
176812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17682
17683 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17684 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17685
1a0994f5
CD
176862012-05-17 Andreas Jaeger <aj@suse.de>
17687 Carlos O'Donell <carlos_odonell@mentor.com>
17688
17689 [BZ #14059]
17690 * sysdeps/x86_64/multiarch/init-arch.h
17691 (bit_YMM_Usable): Rename to...
17692 (bit_AVX_Usable): ... this.
17693 (bit_FMA4_Usable): New macro.
17694 (bit_XMM_state): New macro.
17695 (bit_YMM_state): New macro.
17696 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17697 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17698 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17699 (CPUID_OSXSAVE): New macro.
17700 (CPUID_AVX): New macro.
17701 (CPUID_FMA4): New macro.
17702 (index_YMM_Usable): Rename to...
17703 (index_AVX_Usable): ... this.
17704 (HAS_AVX): Use HAS_ARCH_FEATURE.
17705 (HAS_FMA4): Likewise.
17706 (HAS_YMM_USABLE): Remove.
17707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17708 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17709 are present.
17710 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17711 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17712 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17713 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17714 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17715
0af797de
CM
177162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17717
17718 * math/libm-test.c: Support platforms without multiple rounding modes.
17719 * math/bug-nextafter.c: Support platforms without FP exceptions.
17720 * math/bug-nexttoward.c: Likewise.
17721 * math/test-fenv.c: Likewise.
17722 * math/test-misc.c: Likewise.
17723 * stdlib/bug-getcontext.c: Likewise.
17724
e39745ff
AJ
177252012-05-17 Andreas Jaeger <aj@suse.de>
17726
17727 * manual/examples/search.c (critter_cmp): Change signature to
17728 avoid warnings.
17729 * manual/string.texi (Collation Functions): Likewise.
17730
48970aba
L
177312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17732
17733 * bits/types.h: Fold copyright years.
17734 * bits/typesizes.h: Likewise.
17735 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17739 * time/time.h: Likewise.
17740
bedee953
PP
177412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17742
17743 [BZ #208]
17744 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17745 in instead of returning them. Return void.
17746 (__libc_mallinfo): Accumulate over all arenas.
17747 (__malloc_stats): Adjust for change in int_mallinfo interface.
17748
61653dfb
RM
177492012-05-16 Roland McGrath <roland@hack.frob.com>
17750
30b99d79
RM
17751 [BZ #10375]
17752 * configure.in (NM): Add AC_CHECK_TOOL for it.
17753 (libc_extra_cflags): New substituted variable.
17754 Check for -fstack-protector being used implicitly.
17755 * configure: Regenerated.
17756 * config.make.in (config-extra-cflags): New variable,
17757 gets @libc_extra_cflags@.
17758 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17759
61653dfb
RM
17760 [BZ #10375]
17761 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17762 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17763 * configure: Regenerated.
17764 * config.make.in (CPPUNDEFS): New substituted variable.
17765 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17766 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17767 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17768
661768bb
L
177692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17772 (mq_attr): Use __syscall_slong_t.
17773
d4261567
L
177742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17777 Check __x86_64__ instead of __WORDSIZE.
17778 (_STAT_VER_LINUX): Likewise.
17779 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17780 __syscall_ulong_t and __syscall_slong_t.
17781 (stat64): Likewise.
17782
cf3ff365
L
177832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17784
17785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17786
76cf3e4d
L
177872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17788
17789 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17790
a637753a
L
177912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17792
17793 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17794 __syscall_ulong_t.
17795
d5e05119
L
17796 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17797 include <bits/wordsize.h>. Check __x86_64__ instead of
17798 __WORDSIZE.
17799 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17800 defined.
17801 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17802
f62ee380
L
17803 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17804 include <bits/wordsize.h>. Check __x86_64__ instead of
17805 __WORDSIZE.
17806 (user_regs_struct): Use "__extension__ unsigned long long"
17807 instead of "unsigned long" if __x86_64__ is defined.
17808 (user): Likewise. Pad after pointer field if __ILP32__ is
17809 defined.
17810
4e124ced
JM
178112012-05-16 Joseph Myers <joseph@codesourcery.com>
17812
6a3951a0
JM
17813 * configure.in (makeinfo): Require version 4.5 or later. Allow
17814 versions 5 to 9.
17815 * configure: Regenerated.
17816 * manual/install.texi (texinfo): Increase version requirement to
17817 4.5 or later.
17818 * INSTALL: Regenerated.
17819
4e124ced
JM
17820 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17821
953ca31a
L
178222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17823
17824 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17825
617aca05
L
17826 * sysdeps/x86_64/x32/ffs.c: New file.
17827
5762f7ae
L
17828 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17829 __syscall_ulong_t.
17830 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17831 defined. Use __syscall_ulong_t.
17832 (shminfo): Use __syscall_ulong_t.
17833 (shm_info): Likewise.
17834
a26b6856
L
17835 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17836 __syscall_ulong_t.
17837
cb2b9ef7
L
17838 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17839 <bits/wordsize.h>.
17840 (msgqnum_t): Use __syscall_ulong_t.
17841 (msglen_t): Likewise.
17842 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17843 __syscall_ulong_t.
17844
34683bb0
L
17845 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17847
84a68786
L
17848 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17849
48baa5f1
L
17850 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17851 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17852
180be88b
L
17853 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17854 __syscall_slong_t.
17855
5e90c8ad
L
17856 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17857 include <bits/wordsize.h>. Check __x86_64__ instead of
17858 __WORDSIZE.
17859
23dfb58b
L
17860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17861 "unsigned long long int" if __x86_64__ is defined.
17862 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17863
ce5d54b0
L
17864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17865 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17866 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17867
13dc9eac
L
17868 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17869 <stdint.h>.
17870 (GET_PC): Cast to uintptr_t first.
17871 (GET_FRAME): Likewise.
17872 (GET_STACK): Likewise.
17873
a7895d15
L
17874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17875 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17877 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17879 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17881 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17888 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17890 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17892 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17896 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17898 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17902 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17903
656416c9
AS
179042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17905
5bd66283
AS
17906 * Makerules (+depfiles): Also collect depfiles from .oS in
17907 $(extra-objs).
17908 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17909 .oS, $(libnldbl-routines)).
17910
656416c9
AS
17911 * Makerules (native-compile-mkdep-flags): Define.
17912 * sunrpc/Makefile (extra-objs): Add $(addprefix
17913 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17914 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17915 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17916 calling $(make-target-directory).
17917
a46f2169
L
179182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17919
17920 * bits/types.h (__snseconds_t): Removed.
17921 * time/time.h (struct timespec): Replace __snseconds_t with
17922 __syscall_slong_t.
17923 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17924 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17925 Likewise.
17926 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17927 (__SNSECONDS_T_TYPE): Likewise.
17928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17929 (__SNSECONDS_T_TYPE): Likewise.
17930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17931 (__SNSECONDS_T_TYPE): Likewise.
17932
6af6528b
L
179332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 * sysdeps/mach/hurd/bits/typesizes.h
17936 (__SYSCALL_SLONG_TYPE): New macro.
17937 (__SYSCALL_ULONG_TYPE): Likewise.
17938
de986b56
L
179392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17940
17941 * bits/types.h (__syscall_slong_t): New type.
17942 (__syscall_ulong_t): Likewise.
17943
17944 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17945 (__SYSCALL_ULONG_TYPE): Likewise.
17946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17947 (__SYSCALL_SLONG_TYPE): Likewise.
17948 (__SYSCALL_ULONG_TYPE): Likewise.
17949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17950 (__SYSCALL_SLONG_TYPE): Likewise.
17951 (__SYSCALL_ULONG_TYPE): Likewise.
17952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17953 (__SYSCALL_SLONG_TYPE): Likewise.
17954 (__SYSCALL_ULONG_TYPE): Likewise.
17955
85736dc7
L
179562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17957
17958 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17959 Add sigaltstack-offsets.sym.
17960 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17961 <sigaltstack-offsets.h>.
17962 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17963 longjmp_msg pointer.
17964 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17965 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17966 signal stack.
17967 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17968
cc03b296
JM
179692012-05-15 Joseph Myers <joseph@codesourcery.com>
17970
a9538892
JM
17971 * elf/stackguard-macros.h: Remove file.
17972 * sysdeps/generic/stackguard-macros.h: New file.
17973 * sysdeps/i386/stackguard-macros.h: Likewise.
17974 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17975 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17976 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17977 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17978 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17979 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17980 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17981 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17982 <elf/stackguard-macros.h>.
17983
cc03b296
JM
17984 [BZ #14109]
17985 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17986 __aligned__ in attribute.
17987 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17988 (gregset_t): Likewise.
17989
93171016
L
179902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17993 * sysdeps/x86_64/64/Implies-after: Here. New file.
17994 * sysdeps/x86_64/x32/Implies-after: New file.
17995
d86813a0
L
179962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17997
17998 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17999 and access return value for _dl_profile_fixup. Use R10_LP to
18000 load frame size.
18001
2953ec75
L
180022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18005
3b550e9e
L
180062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18007
18008 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18009 * sysdeps/x86_64/x32/sysdep.h: New file.
18010
eda41706
L
180112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18012
18013 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18014 * sysdeps/x86_64/setjmp.S: Likewise.
18015
9ea01d93
AZ
180162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18017
18018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18019 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18020 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18022 remove unused global constant.
18023
02a91938
CM
180242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18025
18026 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18027 include of <not-cancel.h>.
18028
6540185f
RM
180292012-05-15 Roland McGrath <roland@hack.frob.com>
18030
18031 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18032
509072a0
AJ
180332012-05-15 Jeff Law <law@redhat.com>
18034 Andreas Jaeger <aj@suse.de>
18035
18036 [BZ #13594]
18037 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18038 out from...
18039 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18040 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18041 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18042 code changing __hst_map_handle.map.
18043
ba75122d
RM
180442012-05-15 Roland McGrath <roland@hack.frob.com>
18045
18046 * configure.in (sysnames): Look for Implies-before and Implies-after
18047 files.
18048 * configure: Regenerated.
18049
890d8bd8
L
180502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18051
18052 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18053 8-byte data alignment with LP_SIZE alignment.
18054
f6ee6623
L
180552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18056
18057 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18058 into R10_LP.
18059
ea2626f6
L
180602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18061
18062 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18063
085f715e
L
180642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18065
18066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18067 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18068 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18069 Likewise.
18070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18071
be8498fc
L
180722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18073
18074 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18075 (stackinfo_sub_sp): Likewise.
18076
70bc83b9
L
180772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18080 RAX_LP.
18081
9bc0b730
L
180822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18083
18084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18085 into R*_LP.
18086
6d2850e7
L
180872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18088
18089 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18090 sizes into R*_LP.
18091
3cb84561
L
180922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18093
18094 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18095
54e2ed81
L
180962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18097
18098 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18099 into R11_LP and load __x86_64_shared_cache_size_half into
18100 R8_LP.
18101
8a17f349
L
181022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18105 R8_LP.
18106
777b1eea
AZ
181072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18108
18109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18110 logb for POWER7.
18111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18112 logbf for POWER7.
18113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18114 logbl for POWER7.
18115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18116 powerpc32/power7/fpu/s_logb.c via #include.
18117 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18118 powerpc32/power7/fpu/s_logbf.c via #include.
18119 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18120 powerpc32/power7/fpu/s_logbl.c via #include.
18121
d20d4ac2
JM
181222012-05-15 Joseph Myers <joseph@codesourcery.com>
18123
18124 * README.libm: Remove file.
18125
6cdef1ab
L
181262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18127
18128 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18129 count for x32. Use R*_LP and omit operand-size suffix.
18130
0b254d8f
L
181312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18132
18133 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18134 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18135 * sysdeps/x86_64/x32/shlib-versions: New file.
18136
ceb809dc
RM
181372012-05-14 Roland McGrath <roland@hack.frob.com>
18138
18139 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18140 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18141 Use _dl_fatal_printf instead.
18142
37f1abd4
JM
181432012-05-14 Joseph Myers <joseph@codesourcery.com>
18144
18145 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18146 set if not set by the user. Do not allow for being unset.
18147 * sysdeps/unix/sysv/linux/configure: Regenerated.
18148
11de3a33
L
181492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18150
18151 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18152 the `q' suffix from lea and replace .quad with ASM_ADDR.
18153
e02f153a
L
181542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18155
18156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18157 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18158 instead of $17.
18159 (PTR_DEMANGLE): Likewise.
18160
520ae0fd
L
181612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18164 (LP_OP): Likewise.
18165 (ASM_ADDR): Likewise.
18166 (RAX_LP): Likewise.
18167 (RBP_LP): Likewise.
18168 (RBX_LP): Likewise.
18169 (RCX_LP): Likewise.
18170 (RDI_LP): Likewise.
18171 (RSI_LP): Likewise.
18172 (RSP_LP): Likewise.
18173 (R8_LP): Likewise.
18174 (R9_LP): Likewise.
18175 (R10_LP): Likewise.
18176 (R10_LP): Likewise.
18177 (R11_LP): Likewise.
18178 (R12_LP): Likewise.
18179 (R13_LP): Likewise.
18180 (R14_LP): Likewise.
18181 (R15_LP): Likewise.
18182
b985be81
L
181832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18184
18185 * sysdeps/x86_64/x32/dl-machine.h: New file.
18186
6a4888ff
AJ
181872012-05-14 Andreas Jaeger <aj@suse.de>
18188
18189 * manual/Makefile (subdir): Remove export of subdir.
18190 (all): Remove target.
18191 (.PHONY): Remove all from list.
18192 (mkinstalldirs): Remove.
18193 (.PHONY): Remove installdirs from list.
18194 ($(inst_infodir)/libc.info): Use make-target-directory.
18195 (installdirs): Remove.
18196 (subdir_%): Remove.
18197 (glibc-targets): Remove.
18198 (lib): Remove.
18199 (stubs): Remove.
18200 ($(objpfx)stubs ../po/manual.pot): Remove.
18201 ($(objpfx)stamp%): Remove.
18202 (make-target-directory): Remove.
18203 (subdir_install): Remove.
18204 (routines): Remove.
18205 (aux): Remove.
18206 (sources): Remove.
18207 (objects): Remove.
18208 (headers): Remove.
18209
18210 [BZ #13750]
18211 * manual/.gitignore: Remove, it's not needed anymore.
18212 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18213 all files in it.
18214 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18215 directory.
18216 (texis): Renamed to $(objpfx)texis.
18217 (texis-path): New, contains path to generated files.
18218 (chapters.%): Use texis-path for complete path, add extra argument
18219 libc-texinfo.sh.
18220 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18221 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18222 (summary,texi, stamp-summary): Use complete path of
18223 files. Generate files in build dir.
18224 (dir-add.texi): Build in build dir.
18225 (libm-err.texi,stamp-libm-err): Likewise.
18226 (version.texi, stamp-version): Likewise.
18227 (.%c.texi): Likewise.
18228 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18229 (mostlyclean): Remove target.
18230 (realclean): Remove target.
18231 (generated): Add new variable with contents from mostlyclean and
18232 realclean, remove entries duplicated in common-mostlyclean, add
18233 stamp-libm-err and stamp-version.
18234 (generated-dirs): Add libc directory.
18235 ($(inst_infodir)/libc.info): Install files from build dir.
18236
18237 * manual/install.texi (Configuring and compiling): Adjust since
18238 the info files are not part of the tar ball anymore.
18239
7ac77294
AJ
182402012-05-14 Andreas Jaeger <aj@suse.de>
18241
18242 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18243 variable.
18244
ffb7875d
JM
182452012-05-14 Joseph Myers <joseph@codesourcery.com>
18246
18247 [BZ #13717]
18248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18249 to 2.2.0 where earlier.
18250 * sysdeps/unix/sysv/linux/configure: Regenerated.
18251 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18252 Remove conditional code.
18253 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18254 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18255 Remove conditional code.
18256 [!__NR_lchown]: Likewise.
18257 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18258 [__NR_lchown]: Likewise.
18259 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18260 comment referencing __ASSUME_LCHOWN_SYSCALL.
18261 * sysdeps/unix/sysv/linux/i386/sigaction.c
18262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18264 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18265 Remove conditional code.
18266 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18267 (__protocol_available): Remove #if 0 code.
18268 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18269 conditional code.
18270 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18271 * sysdeps/unix/sysv/linux/kernel-features.h
18272 (__ASSUME_GETCWD_SYSCALL): Don't define.
18273 (__ASSUME_REALTIME_SIGNALS): Likewise.
18274 (__ASSUME_PREAD_SYSCALL): Likewise.
18275 (__ASSUME_PWRITE_SYSCALL): Likewise.
18276 (__ASSUME_POLL_SYSCALL): Likewise.
18277 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18278 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18279 non-SPARC.
18280 (__ASSUME_SIOCGIFNAME): Don't define.
18281 (__ASSUME_MSG_NOSIGNAL): Likewise.
18282 (__ASSUME_SENDFILE): Define unconditionally.
18283 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18284 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18285 conditional code.
18286 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18288 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18289 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18290 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18291 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18292 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18309 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18315 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18317 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18318 Remove conditional code.
18319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18320 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18321 Remove conditional code.
18322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18323 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18324 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18325 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18326 Remove conditional code.
18327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18328 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18329 Remove conditional code.
18330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18331 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18332 Remove conditional code.
18333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18334 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18335 Remove conditional code.
18336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18337 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18338 Remove conditional code.
18339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18340 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18343 * sysdeps/unix/sysv/linux/sigaction.c
18344 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18345 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18346 * sysdeps/unix/sysv/linux/sigpending.c
18347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18349 * sysdeps/unix/sysv/linux/sigprocmask.c
18350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18352 * sysdeps/unix/sysv/linux/sigsuspend.c
18353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18356 (__libc_missing_rt_sigs): Remove.
18357 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18358 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18359 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18360 Remove conditional code.
18361 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18362 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18363 return 1.
18364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18365 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18366 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18367 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18368
1bfb7291
AJ
183692012-05-14 Andreas Jaeger <aj@suse.de>
18370
caae5a81
AJ
18371 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18372 it's not used in glibc.
18373 (__coshm1): Likewise.
18374 (__acosh1p): Likewise.
18375 (__sgn): Likewise.
18376
1bfb7291
AJ
18377 * manual/string.texi (Copying and Concatenation): Add missing
18378 variable in concat example.
18379 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18380
c044d724
L
183812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18382
144c5467 18383 [BZ #14103]
c044d724
L
18384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18385 __builtin_clzl with __builtin_clzll.
18386
2523c62b
L
183872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18388
18389 [BZ #14104]
18390 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18391 libc_freeres_ptr.
18392
d7bb4c42
LD
183932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18394
18395 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18396 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18397 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18398 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18399
9dc4e1fb
MF
184002012-05-14 Mike Frysinger <vapier@gentoo.org>
18401
18402 * NEWS: Update ia64 info.
18403
c7df0112
AS
184042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18405
18406 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18407 used as bcopy.
18408
dc70356c
TS
184092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18410
18411 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18412 * sysdeps/unix/syscalls.list (dup3): Likewise.
18413 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18414 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18415
9fb1a21f
L
184162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18417
18418 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18419 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18420
4822a2a5
L
184212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18422
18423 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18424 thread pointer.
18425 (TLS_IE): Use mov/add instead of movq/addq to load thread
18426 pointer.
18427 (TLS_GD_PREFIX): New.
18428 (TLS_GD): Use it.
18429
842b81d6
DM
184302012-05-11 David S. Miller <davem@davemloft.net>
18431
18432 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18433 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18434 (_FPU_SETCW): Likewise.
18435
1cf463cd
L
184362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18439 is 32-byte aligned.
18440
60cc4a18
AS
184412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18442
18443 [BZ #11837]
18444 * iconvdata/gb18030.c: Update tables.
18445 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18446 characters specially.
18447 (BODY for TO_LOOP): Add encoding of missing ranges.
18448
febb44a4
TS
184492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18450
18451 [BZ #13673]
18452 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18453 * sysdeps/mach/hurd/dup3.c: Likewise.
18454 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18455 * sysdeps/powerpc/memmove.c:: Likewise.
18456
0a10fb9e
L
184572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18458
18459 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18460 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18461
df8a552f
L
184622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18463
18464 * elf/elf.h (R_X86_64_RELATIVE64): New.
18465 (R_X86_64_NUM): Updated.
18466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18467 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18468 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18469 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18470 tst-quad1pie tst-quad2pie
18471 (modules-names): Add tst-quadmod1 tst-quadmod2.
18472 ($(objpfx)tst-quad1): New dependency.
18473 ($(objpfx)tst-quad2): Likewise.
18474 ($(objpfx)tst-quad1pie): Likewise.
18475 ($(objpfx)tst-quad2pie): Likewise.
18476 * sysdeps/x86_64/tst-quad1.c: New file.
18477 * sysdeps/x86_64/tst-quad1pie.c: New file.
18478 * sysdeps/x86_64/tst-quad2.c: Likewise.
18479 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18480 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18481 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18482 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18483 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18484
f34d6f84
ST
184852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18486
f42d41d1
ST
18487 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18488 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18489 * streams/stropts.h (t_scalar_t): Define type.
18490
3c3571fc
ST
18491 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18492 (_PATH_PRESERVE): Set to "/var/lib".
18493 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18494
61f06bd3
ST
18495 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18496 instead of int.
18497
918d4d71
ST
18498 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18499 if __dir_mkfile succeeded.
18500
f34d6f84
ST
18501 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18502 checking for _hurd_dtablesize. Unlock it right after having
18503 finished _hurd_dtable allocation.
18504
10589b4a
TS
185052012-05-10 Thomas Schwinge <thomas@schwinge.name>
18506
674cdbc7
TS
18507 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18508 * sysdeps/mach/hurd/configure: Regenerated.
18509 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18510 special-casing to...
18511 * sysdeps/gnu/configure.in: ... this new file.
18512 * sysdeps/unix/sysv/linux/configure: Regenerated.
18513 * sysdeps/gnu/configure: New generated file.
18514
8e41b99f
TS
18515 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18516 for Linux: use nsec instead of usec, as well as:
18517 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18518 members of type struct timespec.
18519 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18520 New macros.
18521 (struct stat64): Likewise.
18522 (_STATBUF_ST_NSEC): New macro.
18523 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18524
10589b4a
TS
18525 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18526 __strtoul_internal rather than strtoul.
18527
63643c85
PT
185282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18529
18530 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18531 and reject them.
18532
3faebe6a
ST
185332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18534
18535 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18536 which preserves existing values.
18537 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18538
c6474b07
PT
185392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18540
18541 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18542 TIMEOUT values. Return EINVAL for NFDS values either negative or
18543 greater than FD_SETSIZE.
18544
1043890b
ST
185452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18546
18547 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18548 allocated, call __vm_protect to finish enabling the existing space, and
18549 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18550 allocate the remainder.
18551
37ed8b9b
PT
185522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18553
18554 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18555 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18556
db653660
ST
185572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18558
37ed8b9b
PT
18559 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18560 sysdeps/mach/hurd/readlink.c.
b29d4053 18561
db653660
ST
18562 * posix/tst-sysconf.c (posix_options): Only use
18563 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18564 _POSIX_SYNCHRONIZED_IO when they are defined
18565 * sysdeps/mach/hurd/bits/posix_opt.h:
18566 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18567 (_XOPEN_REALTIME): Undefine macro.
18568 (_XOPEN_REALTIME_THREADS): Undefine macro.
18569 (_XOPEN_SHM): Undefine macro.
18570 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18571 macro to -1.
18572 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18573 macro to -1.
18574 (_POSIX_ASYNC_IO): Undefine macro.
18575 (_POSIX_PRIORITIZED_IO): Undefine macro.
18576 (_POSIX_SPIN_LOCKS): Define macro to -1.
18577
ee16e894
ST
18578 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18579 SA_NODEFER, SA_RESETHAND.
18580 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18581 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18582 F_DUPFD_CLOEXEC.
18583
6103ae3b
TS
185842012-05-10 Thomas Schwinge <thomas@schwinge.name>
18585
18586 * elf/Makefile (pldd-modules): Define unconditionally.
18587
80b4e5f3
TS
185882012-05-10 Thomas Schwinge <thomas@schwinge.name>
18589
18590 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18591
edadcbd6
ST
185922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18593
18594 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18595 Return ENOENT when name is empty.
18596 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18597
80694780
TS
185982012-05-10 Thomas Schwinge <thomas@schwinge.name>
18599
1792c087
TS
18600 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18601
80694780
TS
18602 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18603
6b645f0d
ST
186042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18605
80694780
TS
18606 Fix mlock in all cases except non-readable pages.
18607 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18608 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18609
6b645f0d
ST
18610 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18611 (__mkdir): When path is `/', just fail with EEXIST.
18612 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18613
e468f8a3
TS
186142012-05-10 Thomas Schwinge <thomas@schwinge.name>
18615
18616 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18617 <sys/uio.h> (for writev).
18618 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18619 and <sys/param.h> (for MIN).
18620
a4186cff
PT
186212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18622
18623 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18624 REQUESTED_TIME. Properly set the remaining time and return EINTR
18625 if interrupted.
18626
510bbf14
TS
186272012-05-10 Thomas Schwinge <thomas@schwinge.name>
18628
18629 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18630 Depend on against $(link-rpcuserlibs).
18631
5d5722e8
ST
186322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633
a4186cff
PT
18634 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18635 (__libc_stack_end): Do not use attribute_relro.
18636 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18637 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18638 to libthread-provided value.
a4186cff
PT
18639 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18640 attribute_relro.
5d5722e8 18641
37233df9
TS
186422012-05-10 Thomas Schwinge <thomas@schwinge.name>
18643
be971a2b
TS
18644 [BZ #3748]
18645 * bits/libc-lock.h (__libc_once_get): New macro.
18646 * sysdeps/mach/bits/libc-lock.h: Likewise.
18647 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18649 instead of using implementation details.
18650
37233df9
TS
18651 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18652 * libio/freopen.c: Likewise.
18653 * libio/freopen64.c: Likewise.
18654 * misc/syslog.c: Likewise.
18655 * nscd/connections.c: Likewise.
18656 * nscd/netgroupcache.c: Likewise.
18657 * sysdeps/posix/getcwd.c: Likewise.
18658
38de94a5
RM
186592012-05-10 Roland McGrath <roland@hack.frob.com>
18660
18661 * math/w_ilogbf.c: Add #include <limits.h>.
18662
67530489
ST
186632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18664
a4186cff 18665 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18666 path instead of returning without unlocking.
18667
67530489
ST
18668 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18669 immediate-write ioctls.
18670 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18671
5aa3a74a
TS
186722012-05-10 Thomas Schwinge <thomas@schwinge.name>
18673
18bad2ae
TS
18674 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18675 __builtin_frame_address instead of making assumptions about the
18676 location of the return address relative to DATA. Force early load of
18677 the return address.
18678 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18679 __builtin_frame_address.
18680
5aa3a74a
TS
18681 dup3 for GNU Hurd.
18682 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18683 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18684 implement dup3 and do some further code clean-ups.
18685 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18686 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18687
ecd0de9a
ST
186882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18689
cd9fa985
ST
18690 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18691
a4186cff
PT
18692 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18693 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18694 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18695 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18696 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18697 d->port.lock.
802ca5a5 18698
a4186cff
PT
18699 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18700 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18701 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18702
bcf55240
TS
187032012-05-10 Thomas Schwinge <thomas@schwinge.name>
18704
6960eb42
TS
18705 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18706 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18707 definitions.
18708
eb43375f
TS
18709 accept4 for GNU Hurd.
18710 * include/sys/socket.h (__libc_accept4): New prototype.
18711 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18712 to implement __libc_accept4.
18713 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18714 __libc_accept4.
18715 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18716
bcf55240
TS
18717 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18718 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18719 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18720 signal-defines.sym.
18721
6178c55b
ST
187222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18723
a4186cff 18724 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18725
6f080c2f
TS
187262012-05-10 Thomas Schwinge <thomas@schwinge.name>
18727
18728 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18729 assertion on O_CLOEXEC flag.
18730 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18731 * hurd/intern-fd.c: Likewise.
18732 * hurd/port2fd.c: Likewise.
18733
bcfe3a54
ST
187342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18735
18736 [BZ #3906]
18737 * bits/in.h (IPV6_PKTINFO): Define new macro.
18738 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18739
89c9aa49
AZ
187402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18741
18742 [BZ #13954]
18743 [BZ #13955]
18744 [BZ #13956]
18745 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18747 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18748 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18751 * math/libm-test.inc (logb_test) : Additional logb tests.
18752
021db4be
AJ
187532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18754 Andreas Jaeger <aj@suse.de>
18755
18756 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18757 * configure: Regenerated.
18758 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18759 * config.make.in (link-obsolete-rpc): New substituted variable.
18760 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18761 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18762 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18763 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18764 so that libc.a contains the symbols.
18765 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18766 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18767 * sunrpc/auth_none.c: Likewise.
18768 * sunrpc/auth_unix.c: Likewise.
18769 * sunrpc/authdes_prot.c: Likewise.
18770 * sunrpc/authuxprot.c: Likewise.
18771 * sunrpc/clnt_gen.c: Likewise.
18772 * sunrpc/clnt_perr.c: Likewise.
18773 * sunrpc/clnt_raw.c: Likewise.
18774 * sunrpc/clnt_simp.c: Likewise.
18775 * sunrpc/clnt_tcp.c: Likewise.
18776 * sunrpc/clnt_udp.c: Likewise.
18777 * sunrpc/clnt_unix.c: Likewise.
18778 * sunrpc/des_crypt.c: Likewise.
18779 * sunrpc/des_soft.c: Likewise.
18780 * sunrpc/get_myaddr.c: Likewise.
18781 * sunrpc/key_call.c: Likewise.
18782 * sunrpc/key_prot.c: Likewise.
18783 * sunrpc/netname.c: Likewise.
18784 * sunrpc/pm_getmaps.c: Likewise.
18785 * sunrpc/pm_getport.c: Likewise.
18786 * sunrpc/pmap_clnt.c: Likewise.
18787 * sunrpc/pmap_prot.c: Likewise.
18788 * sunrpc/pmap_prot2.c: Likewise.
18789 * sunrpc/pmap_rmt.c: Likewise.
18790 * sunrpc/publickey.c: Likewise.
18791 * sunrpc/rpc_cmsg.c: Likewise.
18792 * sunrpc/rpc_common.c: Likewise.
18793 * sunrpc/rpc_dtable.c: Likewise.
18794 * sunrpc/rpc_prot.c: Likewise.
18795 * sunrpc/rpc_thread.c: Likewise.
18796 * sunrpc/rtime.c: Likewise.
18797 * sunrpc/svc.c: Likewise.
18798 * sunrpc/svc_auth.c: Likewise.
18799 * sunrpc/svc_raw.c: Likewise.
18800 * sunrpc/svc_run.c: Likewise.
18801 * sunrpc/svc_tcp.c: Likewise.
18802 * sunrpc/svc_udp.c: Likewise.
18803 * sunrpc/svc_unix.c: Likewise.
18804 * sunrpc/svcauth_des.c: Likewise.
18805 * sunrpc/xcrypt.c: Likewise.
18806 * sunrpc/xdr.c: Likewise.
18807 * sunrpc/xdr_array.c: Likewise.
18808 * sunrpc/xdr_float.c: Likewise.
18809 * sunrpc/xdr_intXX_t.c: Likewise.
18810 * sunrpc/xdr_mem.c: Likewise.
18811 * sunrpc/xdr_rec.c: Likewise.
18812 * sunrpc/xdr_ref.c: Likewise.
18813 * sunrpc/xdr_sizeof.c: Likewise.
18814 * sunrpc/xdr_stdio.c: Likewise.
18815
b5c086a2
RM
188162012-05-10 Roland McGrath <roland@hack.frob.com>
18817
18818 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18819 change. Update copyright years.
18820
6d74dd09
JM
188212012-05-10 Joseph Myers <joseph@codesourcery.com>
18822
18823 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18824
28e72501
MK
188252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18826 Joseph Myers <joseph@codesourcery.com>
18827 Paul Pluzhnikov <ppluzhnikov@google.com>
18828
18829 [BZ #14012]
18830 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18831 requiring rpcgen.
18832 [cross-compiling] (extra-libs): Likewise.
18833 [cross-compiling] (extra-libs-others): Likewise.
18834 [cross-compiling] (librpcsvc-routines): Likewise.
18835 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18836 [cross-compiling] (omit-deps): Likewise.
18837 (sunrpc-CPPFLAGS): New variable.
18838 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18839 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18840 (cross-rpcgen-objs): New variable.
18841 (extra-objs): Append $(cross-rpcgen-objs).
18842 ($(cross-rpcgen-objs)): New rule.
18843 ($(objpfx)cross-rpcgen): Likewise.
18844 (rpcgen-cmd): Define to use $(built-program-file). Expand
18845 comment.
18846 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18847 ($(objpfx)x%.stmp): Likewise.
18848 * sunrpc/proto.h [IS_IN_build] (_): Define.
18849 [IS_IN_build] (_libc_intl_domainname): Likewise.
18850
c8c59454
L
188512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18852
18853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18854 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18855 and R_X86_64_TPOFF64.
18856
6f27cd16
JM
188572012-05-10 Joseph Myers <joseph@codesourcery.com>
18858
18859 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18860 sysdeps/unix/sysv/syscalls.list.
18861 (stime): Likewise.
18862 (utime): Likewise.
18863 * sysdeps/unix/sysv/syscalls.list: Remove file.
18864
02467e1c
PE
188652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18866
18867 [BZ #3440]
18868 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18869 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18870 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18871 (__LC_IDENTIFICATION): Make these macros useful in #if
18872 expressions, as required by C99.
18873
da392631
AS
188742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18875
18876 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18877 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18878 after this.
18879
8115f29b
L
188802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18881
18882 * stdlib/longlong.h: Updated from GCC.
18883
bdd74070
AJ
188842012-05-09 Andreas Jaeger <aj@suse.de>
18885
edfe0dbe
AJ
18886 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18887 default is first entry.
18888 (run_mode): Set type.
18889 (main): Remove informal message about syslog.
18890 (options): Fix typo.
18891
bcfe3a54
ST
18892 [BZ #14053]
18893 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18894 to asm.
bcfe3a54
ST
18895 (lrint): Likewise.
18896 (llrintf): Likewise.
18897 (llrint): Likewise.
18898 (rint): Likewise.
18899 (rintf): Likewise.
18900 (nearbyint): Likewise.
18901 (nearbyintf): Likewise.
bdd74070 18902
91d8d69e
AJ
189032012-05-09 Andreas Jaeger <aj@suse.de>
18904 Pedro Alves <palves@redhat.com>
18905
18906 * nscd/nscd.c (run_mode): Use enum.
18907 (main): Cleanup coding style issue.
18908
bb90b80b
AJ
189092012-05-09 Alexandre Oliva <aoliva@redhat.com>
18910 Andreas Jaeger <aj@suse.de>
18911
bcfe3a54
ST
18912 * nscd/nscd.c (go_background): Replaced with...
18913 (run_mode): ... this.
bb90b80b 18914 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18915 (options): Add -F --foreground.
18916 (main): Implement it.
18917 (parse_opt): Parse it.
bb90b80b 18918
1a4b75a1
AJ
189192012-05-09 Andreas Jaeger <aj@suse.de>
18920
18921 [BZ #14083]
18922 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18923 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18924 -Wconversion warning.
18925 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18926 Likewise.
18927
b1cc2472
JM
189282012-05-09 Joseph Myers <joseph@codesourcery.com>
18929
18930 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18931 == 0.
18932 (LC_ALL): Use macro-int-constant.
18933 (LC_COLLATE): Likewise.
18934 (LC_CTYPE): Likewise.
18935 (LC_MESSAGES): Likewise.
18936 (LC_MONETARY): Likewise.
18937 (LC_NUMERIC): Likewise.
18938 (LC_TIME): Likewise.
18939 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18940 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18942 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18943 Specify type.
18944 [C99-based standards] (float_t): Expect type.
18945 [C99-based standards] (double_t): Expect type.
18946 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18947 type.
18948 [C99-based standards] (HUGE_VALL): Likewise.
18949 [C99-based standards] (INFINITY): Likewise.
18950 [C99-based standards] (NAN): Likewise.
18951 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18952 [C99-based standards] (FP_NAN): Likewise.
18953 [C99-based standards] (FP_NORMAL): Likewise.
18954 [C99-based standards] (FP_SUBNORMAL): Likewise.
18955 [C99-based standards] (FP_ZERO): Likewise.
18956 [C99-based standards] (FP_FAST_FMA): Use
18957 optional-macro-int-constant. Specify type. Require == 1.
18958 [C99-based standards] (FP_FAST_FMAF): Likewise.
18959 [C99-based standards] (FP_FAST_FMAL): Likewise.
18960 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18961 [C99-based standards] (FP_ILOGBNAN): Likewise.
18962 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18963 Specify type.
18964 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18965 [C99-based standards] (math_errhandling): Specify type.
18966 [ISO99 || ISO11] (signgam): Do not allow.
18967 [non-C99-based standards] (copysignf): Do not allow.
18968 [non-C99-based standards] (exp2f): Likewise.
18969 [non-C99-based standards] (log2f): Likewise.
18970 [non-C99-based standards] (modff): Allow.
18971 [non-C99-based standards] (erff): Do not allow.
18972 [non-C99-based standards] (erfcf): Likewise.
18973 [non-C99-based standards] (gammaf): Likewise.
18974 [non-C99-based standards] (hypotf): Likewise.
18975 [non-C99-based standards] (j0f): Likewise.
18976 [non-C99-based standards] (j1f): Likewise.
18977 [non-C99-based standards] (jnf): Likewise.
18978 [non-C99-based standards] (lgammaf): Likewise.
18979 [non-C99-based standards] (tgammaf): Likewise.
18980 [non-C99-based standards] (y0f): Likewise.
18981 [non-C99-based standards] (y1f): Likewise.
18982 [non-C99-based standards] (ynf): Likewise.
18983 [non-C99-based standards] (isnanf): Likewise.
18984 [non-C99-based standards] (acoshf): Likewise.
18985 [non-C99-based standards] (asinhf): Likewise.
18986 [non-C99-based standards] (atanhf): Likewise.
18987 [non-C99-based standards] (cbrtf): Likewise.
18988 [non-C99-based standards] (expm1f): Likewise.
18989 [non-C99-based standards] (ilogbf): Likewise.
18990 [non-C99-based standards] (log1pf): Likewise.
18991 [non-C99-based standards] (logbf): Likewise.
18992 [non-C99-based standards] (nextafterf): Likewise.
18993 [non-C99-based standards] (remainderf): Likewise.
18994 [non-C99-based standards] (rintf): Likewise.
18995 [non-C99-based standards] (scalbf): Likewise.
18996 [non-C99-based standards] (copysignl): Likewise.
18997 [non-C99-based standards] (exp2l): Likewise.
18998 [non-C99-based standards] (log2l): Likewise.
18999 [non-C99-based standards] (modfl): Allow.
19000 [non-C99-based standards] (erfl): Do not allow.
19001 [non-C99-based standards] (erfcl): Likewise.
19002 [non-C99-based standards] (gammal): Likewise.
19003 [non-C99-based standards] (hypotl): Likewise.
19004 [non-C99-based standards] (j0l): Likewise.
19005 [non-C99-based standards] (j1l): Likewise.
19006 [non-C99-based standards] (jnl): Likewise.
19007 [non-C99-based standards] (lgammal): Likewise.
19008 [non-C99-based standards] (tgammal): Likewise.
19009 [non-C99-based standards] (y0l): Likewise.
19010 [non-C99-based standards] (y1l): Likewise.
19011 [non-C99-based standards] (ynl): Likewise.
19012 [non-C99-based standards] (isnanl): Likewise.
19013 [non-C99-based standards] (acoshl): Likewise.
19014 [non-C99-based standards] (asinhl): Likewise.
19015 [non-C99-based standards] (atanhl): Likewise.
19016 [non-C99-based standards] (cbrtl): Likewise.
19017 [non-C99-based standards] (expm1l): Likewise.
19018 [non-C99-based standards] (ilogbl): Likewise.
19019 [non-C99-based standards] (log1pl): Likewise.
19020 [non-C99-based standards] (logbl): Likewise.
19021 [non-C99-based standards] (nextafterl): Likewise.
19022 [non-C99-based standards] (remainderl): Likewise.
19023 [non-C99-based standards] (rintl): Likewise.
19024 [non-C99-based standards] (scalbl): Likewise.
19025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19026 [non-C99-based standards] (FP_*): Do not allow.
19027 [C99-based standards] (FP_*): Change to
19028 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19029 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19030 allow.
19031 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19032 (SIG_ERR): Likewise.
19033 [X/Open-based standards] (SIG_HOLD): Likewise.
19034 (SIG_IGN): Likewise.
19035 (SIGABRT): Use macro-int-constant. Specify type. Require
19036 positive value.
19037 (SIGFPE): Likewise.
19038 (SIGILL): Likewise.
19039 (SIGINT): Likewise.
19040 (SIGSEGV): Likewise.
19041 (SIGTER): Likewise.
19042 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19043 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19044 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19045 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19046 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19047 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19048 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19049 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19050 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19051 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19052 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19053 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19054 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19055 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19056 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19057 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19058 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19059 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19060 [X/Open-based standards] (SIGTRAP): Likewise.
19061 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19062 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19063 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19064 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19065 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19066 allow.
19067
b9f1922d
IW
190682012-05-08 Ian Wienand <ianw@vmware.com>
19069
19070 [BZ #14080]
19071 * time/tzset.c (__tzset_parse_tz): Update default rules for
19072 daylight time changes in the Energy Policy Act of 2005.
19073
1db86e88
AJ
190742012-05-09 Andreas Jaeger <aj@suse.de>
19075
19076 [BZ #13983]
19077 * elf/ldconfig.c (parse_conf): Change string to make clear that
19078 ldconfig only issued a warning if ld.so.conf does not exist.
19079
dee4a4e3
DM
190802012-05-08 David S. Miller <davem@davemloft.net>
19081
ee0db190
DM
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19083 movxtod instead of popping the value on the stack.
19084
dee4a4e3
DM
19085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19086
6a43ec98
CD
190872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19088
19089 * config.h.in: Add HAVE_ARM_PCS_VFP.
19090
05c2c961
RMG
190912012-05-08 Roland Mc Grath <roland@hack.frob.com>
19092
bcfe3a54
ST
19093 [BZ #13979]
19094 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19095 checking but the checks are disabled for any reason.
05c2c961 19096
4b30f61a
L
190972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19098
19099 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19100 and ELF64_R_TYPE with ELFW(R_TYPE).
19101
eee2bc67
JM
191022012-05-08 Joseph Myers <joseph@codesourcery.com>
19103
7ea5391a
JM
19104 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19105 (ulimit): Likewise.
19106
eee2bc67
JM
19107 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19108 (settimeofday): Likewise.
19109
abb66a67
MF
191102012-05-08 Mike Frysinger <vapier@gentoo.org>
19111
19112 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19113 a struct th_u2 inside the union, and move tu_block/tu_code into
19114 a new th_u3 union of tu_block/tu_code inside of that. Move
19115 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19116 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19117 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19118 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19119 (th_stuff): Change to th_u1.tu_stuff.
19120 (th_data): Define.
19121 (th_msg): Change to th_u1.th_u2.tu_data.
19122
7f18b530
DM
191232012-05-07 David S. Miller <davem@davemloft.net>
19124
05760585
DM
19125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19126
7f18b530
DM
19127 [BZ #14074]
19128 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19129 (SETUP_PIC_REG): Use it.
19130 (SETUP_PIC_REG_LEAF): Use it.
19131
495fd99f
JM
191322012-05-07 Joseph Myers <joseph@codesourcery.com>
19133
19134 [BZ #13885]
19135 [BZ #13923]
19136 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19137 USE_AS_EXPM1L.
19138 (EXPL_FINITE): Likewise.
19139 (FLDLOG): Likewise.
19140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19141 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19142 e_expl.S.
19143 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19144 USE_AS_EXPM1L.
19145 (EXPL_FINITE): Likewise.
19146 (FLDLOG): Likewise.
19147 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19148 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19149 e_expl.S.
19150 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19151 test of -max_value argument for long double.
19152 * sysdeps/i386/fpu/libm-test-ulps: Update.
19153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19154
6693d694
DM
191552012-05-06 David S. Miller <davem@davemloft.net>
19156
19157 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19158 quad soft-float symbols whose references which are compiler
19159 generated.
19160 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19161
6c23e11c
JM
191622012-05-06 Joseph Myers <joseph@codesourcery.com>
19163
d8b82cad
JM
19164 [BZ #13884]
19165 [BZ #13914]
19166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19167 USE_AS_EXP10L.
19168 (EXPL_FINITE): Likewise.
19169 (FLDLOG): Likewise.
19170 (c0): Likewise.
19171 (c1): Likewise.
19172 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19173 Adjust comments for base varying.
19174 (__expl_finite): Change alias to EXPL_FINITE.
19175 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19176 e_expl.S.
19177 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19178 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19180 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19181 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19182 USE_AS_EXP10L.
19183 (EXPL_FINITE): Likewise.
19184 (FLDLOG): Likewise.
19185 (c0): Likewise.
19186 (c1): Likewise.
19187 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19188 Adjust comments for base varying.
19189 (__expl_finite): Change alias to EXPL_FINITE.
19190 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19191 tests for bugs.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19193
6c23e11c
JM
19194 [BZ #14064]
19195 * math/libm-test.inc (check_float_internal): Correct ulp
19196 calculation for subnormal expected results.
19197
29ba805c
AJ
191982012-05-06 Andreas Jaeger <aj@suse.de>
19199
19200 * Makeconfig (+math-flags): New, set to -frounding-math.
19201 (+cflags): Add +math-flags so that all of glibc gets compiled with
19202 it.
19203
19204 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19205
7b17aeda
JM
192062012-05-05 Joseph Myers <joseph@codesourcery.com>
19207
5779f134
JM
19208 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19209 Disable one test.
19210
41498f4d
JM
19211 [BZ #13787]
19212 [BZ #13922]
19213 [BZ #14036]
19214 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19215 (__ieee754_expl): Allow for and saturate large arguments.
19216 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19217 (u_threshold): Likewise.
19218 (__exp): Call __ieee754_exp before checking for overflow and
19219 underflow.
19220 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19221 (u_threshold): Likewise.
19222 (__expf): Call __ieee754_expf before checking for overflow and
19223 underflow.
19224 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19225 (u_threshold): Likewise.
19226 (__expl): Call __ieee754_expl before checking for overflow and
19227 underflow.
19228 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19229 (__ieee754_expl): Allow for and saturate large arguments.
19230 * math/libm-test.inc (exp_test): Add another test. Do not allow
19231 missing overflow exception on overflow.
19232 (expm1_test): Do not allow missing overflow exception on overflow.
19233
6698b8bf
JM
19234 * sysdeps/i386/fpu/e_expl.c: Move to ...
19235 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19236 rather than using inline asm.
19237 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19238 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19239 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19240
7b17aeda
JM
19241 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19242 (nice): Likewise.
19243 (poll): Likewise.
19244 (signal): Likewise.
19245 (time): Likewise.
19246 (times): Likewise.
19247
f7c85819
JM
192482012-05-04 Joseph Myers <joseph@codesourcery.com>
19249
19250 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19251 sysdeps/unix/common/syscalls.list.
19252 (fchmod): Likewise.
19253 (fchown): Likewise.
19254 (ftruncate): Likewise.
19255 (getrusage): Likewise.
19256 (gettimeofday): Likewise.
19257 (setpgid): Likewise.
19258 (setregid): Likewise.
19259 (setreuid): Likewise.
19260 (sigaction): Likewise.
19261 (truncate): Likewise.
19262 (vhangup): Likewise.
19263 * sysdeps/unix/common/syscalls.list: Remove file.
19264 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19265 * sysdeps/unix/sysv/linux/Implies: Likewise.
19266
336270d0
L
192672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19268
19269 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19271 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19272 Moved to ...
19273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19274 Here.
19275 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19276 to ...
19277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19278 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19279 to ...
19280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19281 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19282 to ...
19283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19284 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19285 to ...
19286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19287 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19288 to ...
19289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19290 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19291 to ...
19292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19293 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19294 to ...
19295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19296 Here.
19297 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19298 to ...
19299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19300 Here.
19301 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19302 to ...
19303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19304 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19305 Moved to ...
19306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19307 Here.
19308 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19309 to ...
19310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19311
d128e450
JM
193122012-05-04 Joseph Myers <joseph@codesourcery.com>
19313
fa8ee516
JM
19314 * sysdeps/unix/common/bits/dirent.h: Remove file.
19315 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19316
d128e450
JM
19317 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19318 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19319 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19320 * sysdeps/unix/bsd/isatty.c: Likewise.
19321 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19322 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19323 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19324
ff8faaf0 193252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19326
62881be4 19327 [BZ #13563]
31dc8730
AZ
19328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19329 long double comparison inaccuracies.
19330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19332
6fef930c
AS
193332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19334
19335 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19337
8f203e6c
JM
193382012-05-04 Joseph Myers <joseph@codesourcery.com>
19339
19340 [BZ #14049]
19341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19342 nonzero digits before rounding a hex value.
19343 * stdlib/tst-strtod.c (tests): Add another test.
19344
5197d9c2
AK
193452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19346
19347 * sysdeps/s390/fpu/libm-test-ulps: Update.
19348
f0c1dedf
AJ
193492012-05-03 Andreas Jaeger <aj@suse.de>
19350
19351 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19352 does not get optimized out.
19353 (malloc_opt_barrier): New.
19354
a65ef2ae 193552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19356 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19357
2b942cb7 19358 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19359 intermediate file deletion.
2b942cb7 19360 (generated): Add .symlist files.
a65ef2ae 19361
54b71e02
JM
193622012-05-03 Joseph Myers <joseph@codesourcery.com>
19363
19364 [BZ #13775]
19365 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19366 Redirect under this condition.
19367 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19368 [__USE_GNU] (__dprintf_chk): Not under this condition.
19369 [__USE_GNU] (__vdprintf_chk): Likewise.
19370 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19371 under this condition.
19372 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19373 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19374 [__USE_XOPEN2K8] (vdprintf): Likewise.
19375 [__USE_GNU] (__dprintf_chk): Not under this condition.
19376 [__USE_GNU] (__vdprintf_chk): Likewise.
19377 [__USE_GNU] (dprintf): Likewise.
19378 [__USE_GNU] (vdprintf): Likewise.
19379
d3dfcc41
RM
193802012-05-03 Roland McGrath <roland@hack.frob.com>
19381
19382 * elf/Makefile (common-generated): Set this instead of generated for
19383 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19384 $(all-built-dso)-derived lists.
19385
7ac30cc5
AJ
193862012-05-03 Andreas Jaeger <aj@suse.de>
19387
0c51e550
AJ
19388 * sysdeps/i386/fpu/libm-test-ulps: Update.
19389
7ac30cc5
AJ
19390 * FAQ: Removed.
19391 * FAQ.in: Likewise.
19392 * scripts/gen-FAQ.pl: Likewise.
19393 * manual/install.texi (Installation): Point to online location of
19394 FAQ.
19395 * Makefile (files-for-dist): Remove FAQ.
19396 (FAQ): Remove.
19397
d4c2917f
AM
193982012-05-02 Allan McRae <allan@archlinux.org>
19399
19400 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19401 (LDFLAGS-reldepmod5.so): Likewise.
19402 (LDFLAGS-reldep6mod1.so): Likewise.
19403 (LDFLAGS-reldep6mod4.so): Likewise.
19404 (LDFLAGS-reldep8mod3.so): Likewise.
19405 (LDFLAGS-unload4mod1.so): Likewise.
19406 (LDFLAGS-unload4mod2.so): Likewise.
19407 (LDFLAGS-tst-initorder): Likewise.
19408 (LDFLAGS-tst-initordera2.so): Likewise.
19409 (LDFLAGS-tst-initordera3.so): Likewise.
19410 (LDFLAGS-tst-initordera4.so): Likewise.
19411 (LDFLAGS-tst-initorderb2.so): Likewise.
19412 (LDFLAGS-noload): Likewise.
19413 (LDFLAGS-next): Likewise.
19414 (LDFLAGS-order2mod1.so): Likewise.
19415 (LDFLAGS-order2mod2.so): Likewise.
19416 (LDFLAGS-tst-initorder2): Likewise.
19417 (LDFLAGS-tst-initorder2a.so): Likewise.
19418 (LDFLAGS-tst-initorder2b.so): Likewise.
19419 (LDFLAGS-tst-initorder2c.so): Likewise.
19420 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19421
d77f993f
DM
194222012-05-02 David S. Miller <davem@davemloft.net>
19423
19424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19425
171a70b4
PP
194262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19427
19428 [BZ #14055]
19429 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19430
0be196ad
AJ
194312012-05-02 Andreas Jaeger <aj@suse.de>
19432
19433 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19434 since we manipulate rounding mode.
19435 (CPPFLAGS-test-idouble.c): Likewise.
19436 (CPPFLAGS-test-ifloat.c): Likewise.
19437 (CFLAGS-test-ldouble.c): Likewise.
19438 (CFLAGS-test-double.c): Likewise.
19439 (CFLAGS-test-float.c): Likewise.
19440 (CFLAGS-test-misc.c): Likewise.
19441 (CFLAGS-test-test-fenv.c): Likewise.
19442
4f9d04aa
AZ
194432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19444
2b942cb7
RM
19445 [BZ #2550]
19446 [BZ #2570]
19447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19448 comparisons to determine direction to adjust input.
4f9d04aa 19449
82a79e7d
RM
194502012-05-01 Roland McGrath <roland@hack.frob.com>
19451
f5a01ca9
RM
19452 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19453 output to the target.
19454
90fe4186
RM
19455 * scripts/localplt.awk: New file.
19456 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19457 (check-localplt-CFLAGS): Variable removed.
19458 ($(all-built-dso:=.jmprel)): New static pattern rule.
19459 (generated): Add those targets.
19460 (localplt-built-dso): New variable.
19461 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19462
19463 * elf/check-localplt.c: File removed.
19464
82397ed6
RM
19465 * scripts/check-execstack.awk: New file.
19466 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19467 (check-execstack-CFLAGS): Variable removed.
19468 ($(objpfx)check-execstack.h): Target removed.
19469 ($(objpfx)execstack-default): New target.
19470 (generated): Add that instead of check-execstack.h.
19471 ($(all-built-dso:=.phdr)): New static pattern rule.
19472 (generated): Add those targets.
19473 * elf/check-execstack.c: File removed.
19474
82a79e7d
RM
19475 * scripts/check-textrel.awk: New file.
19476 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19477 (check-textrel-CFLAGS): Variable removed.
19478 (all-built-dso): Use := to define.o
19479 ($(all-built-dso:=.dyn)): New static pattern rule.
19480 (generated): Add those targets.
19481 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19482 * config.make.in (READELF): New substituted variable.
19483 * elf/check-textrel.c: File removed.
19484
62fde54f 194852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19486
615605c9
JM
19487 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19488 allow.
19489 * conform/data/ctype.h-data [C99-based standards] (isblank):
19490 Expect function.
19491 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19492 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19494 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19495 Specify type. Require positive value.
19496 (EILSEQ): Likewise.
19497 (ERANGE): Likewise.
19498 [ISO || POSIX] (EILSEQ): Do not expect.
19499 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19500 Specify type. Require positive value.
19501 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19502 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19504 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19505 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19506 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19507 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19509 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19511 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19551 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19557 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19575 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19576 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19577 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19578 Require >= 2.
19579 (FLT_ROUNDS): Expect as macro, not constant.
19580 (FLT_MANT_DIG): Use macro-int-constant.
19581 (DBL_MANT_DIG): Likewise.
19582 (LDBL_MANT_DIG): Likewise.
19583 (FLT_DIG): Likewise.
19584 (DBL_DIG): Likewise.
19585 (LDBL_DIG): Likewise.
19586 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19587 (DBL_MIN_EXP): Likewise.
19588 (LDBL_MIN_EXP): Likewise.
19589 (FLT_MAX_EXP): Use macro-int-constant.
19590 (DBL_MAX_EXP): Likewise.
19591 (LDBL_MAX_EXP): Likewise.
19592 (FLT_MAX_10_EXP): Likewise.
19593 (DBL_MAX_10_EXP): Likewise.
19594 (LDBL_MAX_10_EXP): Likewise.
19595 (FLT_MAX): Use macro-constant.
19596 (DBL_MAX): Likewise.
19597 (LDBL_MAX): Likewise.
19598 (FLT_EPSILON): Use macro-constant. Give upper bound.
19599 (DBL_EPSILON): Likewise.
19600 (LDBL_EPSILON): Likewise.
19601 (FLT_MIN): Likewise.
19602 (DBL_MIN): Likewise.
19603 (LDBL_MIN): Likewise.
19604 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19605 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19606 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19607 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19608 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19609 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19610 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19611 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19612 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19613 [ISO11] (FLT_TRUE_MIN): Likewise.
19614 [ISO11] (LDBL_TRUE_MIN): Likewise.
19615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19616 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19617 (SCHAR_MIN): Use macro-int-constant. Specify type.
19618 (SCHAR_MAX): Likewise.
19619 (UCHAR_MAX): Likewise.
19620 (CHAR_MIN): Likewise.
19621 (CHAR_MAX): Likewise.
19622 (MB_LEN_MAX): Use macro-int-constant.
19623 (SHRT_MIN): Use macro-int-constant. Specify type.
19624 (SHRT_MAX): Likewise.
19625 (USHRT_MAX): Likewise.
19626 (INT_MAX): Likewise.
19627 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19628 bound negative.
19629 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19630 bound with "U".
19631 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19632 bound with "L".
19633 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19634 bound negative. Suffix upper bound with "L".
19635 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19636 bound with "UL".
19637 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19638 Specify type.
19639 [C99-based standards] (LLONG_MAX): Likewise.
19640 [C99-based standards] (ULLONG_MAX): Likewise.
19641 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19642 == 0.
19643 [ISO11] (max_align_t): Require type.
19644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19645
c9140a62
JM
19646 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19647 from $CFLAGS, without defining away __attribute__ calls.
19648 (checknamespace): Use $CFLAGS_namespace.
19649
9af0bf29
JM
19650 * conform/conformtest.pl (@keywords): Only include C99 keywords
19651 for standards based on C99 or C11.
19652
343222a2
JM
19653 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19654 Disable tests.
19655 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19656 UNIX98]: Likewise.
19657
661f8cf0
JM
19658 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19659 usability of symbols in #if.
19660
ee74b9cb
JM
19661 * conform/conformtest.pl: If macro or constant types start
19662 "promoted:", expect the symbol to be of the following type
19663 promoted by the integer promotions.
62fde54f 19664
aafc49b3
JM
19665 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19666 in one place. Also handle "macro-constant".
19667
fefdf574
JM
19668 * conform/conformtest.pl: Only accept expected macro values with
19669 "==". Parse all "macro" lines in one place.
19670 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19671
f2d922fe
JM
19672 * conform/conformtest.pl: Handle braced types on "constant" lines
19673 instead of handling "typed-constant".
19674 * conform/data/signal.h-data: Use "constant" instead of
19675 "typed-constant".
19676
d22956c9
JM
19677 * conform/conformtest.pl: Handle "optional-" at start of lines in
19678 one place rather than duplicating several cases. Handle each
19679 format of "macro" line with initial "optional-".
19680
028e2e38
JM
19681 * conform/conformtest.pl: Only accept expected constant or
19682 optional-constant values with "==". Parse all "constant" lines in
19683 one place. Parse all "optional-constant" lines in one place.
19684 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19685 * conform/data/fmtmsg.h-data: Likewise.
19686 * conform/data/netinet/in.h-data: Likewise.
19687 * conform/data/tar.h-data: Likewise.
19688 * conform/data/limits.h-data: Use "==" form on "constant" and
19689 "optional-constant" lines.
19690
1b8f2850
JM
19691 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19692 Use -std=c99 for XOPEN2K.
19693 (@knownproblems): Remove.
19694 (newtoken): Don't check %isknown.
19695
a05a144b
JM
19696 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19697 Do not expect macro.
19698 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19710 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19711 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19728 [XPG3] (acosh): Likewise.
19729 [XPG3] (asinh): Likewise.
19730 [XPG3] (atanh): Likewise.
19731 [XPG3] (cbrt): Likewise.
19732 [XPG3] (expm1): Likewise.
19733 [XPG3] (ilogb): Likewise.
19734 [XPG3] (log1p): Likewise.
19735 [XPG3] (logb): Likewise.
19736 [XPG3] (nextafter): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19739 [XPG3] (remainder): Likewise.
19740 [XPG3] (rint): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19748 [UNIX98 || XOPEN2K] (scalb): Expect.
19749 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19750 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19886
73c5ebe3
JM
19887 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19888 _XOPEN_SOURCE_EXTENDED for XPG4.
19889
39c33b6c
JM
19890 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19891
62fde54f
JM
19892 * Makeconfig (localtime): Remove variable.
19893 (inst_localtime-file): Likewise.
19894
0741d64c
AS
198952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19896
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19898 Update.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19900 Update.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19902 Update.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19904 Update.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19906 Update.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19908 Update.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19910 Update.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19912 Update.
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19914 Update.
19915
7cb029ee
JM
199162012-05-01 Joseph Myers <joseph@codesourcery.com>
19917
19918 [BZ #2550]
19919 [BZ #2570]
19920 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19921 comparisons to determine direction to adjust input.
19922 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19923 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19925 Likewise.
19926 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19927 Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19929 Likewise.
19930 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19931 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19932 Likewise.
19933 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19934 Likewise.
19935 * math/libm-test.inc (nexttoward_test): Add more tests.
19936
412bd966
AS
199372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19938
19939 [BZ #14040]
19940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19941 in version GLIBC_2.1, not GLIBC_2.0.
19942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19943 Likewise.
19944
9568c0c2
JM
199452012-04-30 Joseph Myers <joseph@codesourcery.com>
19946
adfbc8ac
JM
19947 [BZ #13942]
19948 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19949 (1 - x) * (1 + x).
19950 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19951 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19952 * math/libm-test.inc (acos_test): Add more tests.
19953 (asin_test): Likewise.
19954 * sysdeps/i386/fpu/libm-test-ulps: Update.
19955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19956
5ba3cc69
JM
19957 [BZ #14034]
19958 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19959 of square root.
19960 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19961 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19962 * math/libm-test.inc (acos_test_tonearest): New function.
19963 (acos_test_towardzero): Likewise.
19964 (acos_test_downward): Likewise.
19965 (acos_test_upward): Likewise.
19966 (asin_test_tonearest): Likewise.
19967 (asin_test_towardzero): Likewise.
19968 (asin_test_downward): Likewise.
19969 (asin_test_upward): Likewise.
19970 (main): Call the new functions.
19971 * sysdeps/i386/fpu/libm-test-ulps: Update.
19972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19973
9568c0c2
JM
19974 [BZ #13884]
19975 [BZ #13924]
19976 * math/e_exp10.c: Include <float.h>.
19977 (__ieee754_exp10): Handle underflow here rather than multiplying
19978 large negative argument by M_LN10.
19979 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19980 of __ieee754_expf.
19981 * math/e_exp10l.c: Include <float.h>.
19982 (__ieee754_exp10l): Handle underflow here rather than multiplying
19983 large negative argument by M_LN10l.
19984 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19985 spurious overflow exception on underflow.
19986
5ac3ea17
MP
199872012-04-29 Marek Polacek <polacek@redhat.com>
19988
19989 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19990 (__fortify_function): New macro.
19991 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19992 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19993 __extern_always_inline.
19994 * libio/bits/stdio2.h: Likewise.
19995 * libio/bits/stdio.h: Likewise.
19996 * string/string.h: Likewise.
19997 * string/bits/string3.h: Likewise.
19998 * include/stdio.h: Likewise.
19999 * stdlib/bits/stdlib.h: Likewise.
20000 * stdlib/stdlib.h: Likewise.
20001 * rt/bits/mqueue2.h: Likewise.
20002 * rt/mqueue.h: Likewise.
20003 * posix/bits/unistd.h: Likewise.
20004 * posix/unistd.h: Likewise.
20005 * io/bits/poll2.h: Likewise.
20006 * io/bits/fcntl2.h: Likewise.
20007 * io/fcntl.h: Likewise.
20008 * io/sys/poll.h: Likewise.
20009 * misc/bits/syslog.h: Likewise.
20010 * misc/bits/syslog-ldbl.h: Likewise.
20011 * misc/sys/syslog.h: Likewise.
20012 * socket/bits/socket2.h: Likewise.
20013 * socket/sys/socket.h: Likewise.
20014 * debug/tst-chk1.c: Likewise.
20015 * wcsmbs/bits/wchar2.h: Likewise.
20016 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20017 * wcsmbs/wchar.h: Likewise.
20018
ecf0ebfb
AJ
200192012-04-29 Andreas Jaeger <aj@suse.de>
20020
20021 * Makerules (tests): Remove enable-check-abi protection.
20022 (check-abi-warn): Remove.
20023 (check-abi-%): Remove check-abi-warn usage.
20024
20025 * configure.in: Remove check-abi configure option.
20026 * configure: Regenerated.
20027 * config.make.in (enable-check-abi): Remove.
20028
6d5c57fa
AS
200292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20030
24c5d07e 20031 [BZ #14033]
ded5180a
AS
20032 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20033 double functions to double *_finite functions.
20034
7e0d315d
AS
20035 [BZ #13941]
20036 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20037 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20038 LDBL_MIN_EXP.
20039 * stdio-common/Makefile (tests): Add tst-sprintf3.
20040 * stdio-common/tst-sprintf3.c: New file.
20041
6d5c57fa
AS
20042 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20043 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20044
0749ff8b
JM
200452012-04-28 Joseph Myers <joseph@codesourcery.com>
20046
20047 * conform/conformtest.pl: Remove duplicate typed-constant
20048 handling.
20049
8dbd5d7b
DM
200502012-04-28 David S. Miller <davem@davemloft.net>
20051
20052 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20053 (check-abi-%): Remove AWK script prerequisite and explicit
20054 abilist directory.
20055 (check-abi): Rewrite to just diff the symlist with the abilist.
20056 (config-tls, config-abi-config): Delete, no longer used.
20057 (update-abi-%): Remove AWK script and explicit abilist directory.
20058 (update-abi): Rewrite to simply compare and conditionally copy the
20059 symlist and the sysdep abilist file. Remove update-abi-config
20060 checks.
20061 * abilist/ld.abilist: Remove.
20062 * abilist/libBrokenLocale.abilist: Remove.
20063 * abilist/libanl.abilist: Remove.
20064 * abilist/libcrypt.abilist: Remove.
20065 * abilist/libdl.abilist: Remove.
20066 * abilist/librt.abilist: Remove.
20067 * abilist/libthread_db.abilist: Remove.
20068 * abilist/libutil.abilist: Remove.
20069 * scripts/extract-abilist.awk: Remove.
20070 * scripts/merge-abilist.awk: Remove.
20071 * sysdeps/generic/libcidn.abilist: New file.
20072 * sysdeps/generic/libnss_compat.abilist: New file.
20073 * sysdeps/generic/libnss_db.abilist: New file.
20074 * sysdeps/generic/libnss_dns.abilist: New file.
20075 * sysdeps/generic/libnss_files.abilist: New file.
20076 * sysdeps/generic/libnss_hesiod.abilist: New file.
20077 * sysdeps/generic/libnss_nis.abilist: New file.
20078 * sysdeps/generic/libnss_nisplus.abilist: New file.
20079 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20080 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20081 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20082 file.
20083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20084 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20085 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20086 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20087 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20088 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20089 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20090 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20091 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20092 file.
20093 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20094 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20095 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20096 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20097 file.
20098 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20099 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20100 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20101 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20102 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20103 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20104 file.
20105 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20106 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20107 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20108 file.
20109 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20111 New file.
20112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20113 New file.
20114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20115 New file.
20116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20117 New file.
20118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20119 New file.
20120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20121 New file.
20122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20123 New file.
20124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20125 New file.
20126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20127 New file.
20128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20129 New file.
20130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20131 New file.
20132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20133 New file.
20134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20135 New file.
20136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20137 file.
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20139 New file.
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20141 New file.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20143 file.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20145 New file.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20147 New file.
20148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20149 file.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20151 New file.
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20153 New file.
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20155 New file.
20156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20157 New file.
20158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20159 New file.
20160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20161 New file.
20162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20164 file.
20165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20166 New file.
20167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20168 file.
20169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20170 file.
20171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20172 file.
20173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20174 file.
20175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20176 file.
20177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20178 New file.
20179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20180 file.
20181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20182 file.
20183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20184 New file.
20185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20186 file.
20187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20189 file.
20190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20191 New file.
20192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20193 file.
20194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20195 file.
20196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20197 file.
20198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20199 file.
20200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20201 file.
20202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20203 New file.
20204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20205 file.
20206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20207 file.
20208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20209 New file.
20210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20211 file.
20212 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20213 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20214 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20215 file.
20216 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20217 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20218 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20219 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20220 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20221 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20222 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20224 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20225 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20228 file.
20229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20230 New file.
20231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20232 file.
20233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20234 file.
20235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20236 file.
20237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20238 file.
20239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20240 file.
20241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20242 New file.
20243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20244 New file.
20245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20246 file.
20247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20248 New file.
20249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20250 file.
20251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20253 file.
20254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20255 New file.
20256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20257 file.
20258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20259 file.
20260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20261 file.
20262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20263 file.
20264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20265 file.
20266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20267 New file.
20268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20269 New file.
20270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20271 file.
20272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20273 New file.
20274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20275 file.
20276
41d73a1b
JM
202772012-04-28 Joseph Myers <joseph@codesourcery.com>
20278
20279 * conform/conformtest.pl: Fix typo in handling typed-constant from
20280 allow-header.
20281
28aeeda4
JM
202822012-04-27 Joseph Myers <joseph@codesourcery.com>
20283
adae8f5e
JM
20284 * README: Cut down references to pre-2.6 Linux kernels and
20285 Linuxthreads. Update lists of configurations in libc and ports
20286 and sort alphabetically. Say "or newer" with Linux kernel version
20287 requirements.
20288
28aeeda4
JM
20289 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20290
a462cb63
RA
202912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20292
20293 [BZ #887]
20294 * math/libm-test.inc (logb_test_downward): New test to expose
20295 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20296 rounding mode.
20297
6ad3493e
JM
202982012-04-27 Joseph Myers <joseph@codesourcery.com>
20299
20300 [BZ #14027]
20301 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20302 to be done.
20303 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20304 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20305
2ce4f015
JM
203062012-04-26 Joseph Myers <joseph@codesourcery.com>
20307
5aeb141a
JM
20308 * sysdeps/unix/i386/brk.S: Remove file.
20309 * sysdeps/unix/i386/dl-brk.S: Likewise.
20310 * sysdeps/unix/i386/pipe.S: Likewise.
20311 * sysdeps/unix/i386/sigreturn.S: Likewise.
20312 * sysdeps/unix/i386/syscall.S: Likewise.
20313 * sysdeps/unix/i386/vfork.S: Likewise.
20314 * sysdeps/unix/i386/wait.S: Likewise.
20315
7143acae
JM
20316 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20317 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20318
2ce4f015
JM
20319 * configure.in (arm*-none*): Do not allow without
20320 --enable-hacker-mode.
20321 (netbsd*): Remove case setting base_os.
20322 (386bsd*): Likewise.
20323 (freebsd*): Likewise.
20324 (bsdi*): Likewise.
20325 (osf*): Likewise.
20326 (sunos*): Likewise.
20327 (ultrix*): Likewise.
20328 (newsos*): Likewise.
20329 (dynix*): Likewise.
20330 (*bsd*): Likewise.
20331 (sysv*): Likewise.
20332 (isc*): Likewise.
20333 (esix*): Likewise.
20334 (sco*): Likewise.
20335 (minix*): Likewise.
20336 (irix4*): Likewise.
20337 (irix6*): Likewise.
20338 (solaris[2-9]*): Likewise.
20339 (none): Likewise.
20340 * configure: Regenerated.
20341
0ac229c8
AZ
203422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20343
20344 [BZ #11521]
20345 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20346 overflow or cancellation in calculating denominator.
20347 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20349 down expression to avoid unexpected rounding in newer GCCs.
20350 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20351
33f244f4
DM
203522012-04-26 David S. Miller <davem@davemloft.net>
20353
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20355 long-double compat symbols.
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20369
cfa1f3e8
DM
203702012-04-25 David S. Miller <davem@davemloft.net>
20371
20372 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20373 HWCAP_* values only after the memory barriers have been defined.
20374 (atomic_full_barrier): Define.
20375 (atomic_read_barrier): Define.
20376 (atomic_write_barrier): Define.
20377
6e236b92
SP
203782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20379
20380 * shlib-versions: Add libgcc_s version information.
20381 * sysdeps/generic/libgcc_s.h: Remove.
20382 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20383 libgcc_s.h.
20384 * sysdeps/gnu/unwind-resume.c: Likewise.
20385 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20386
aab39a09
DM
203872012-04-25 David S. Miller <davem@davemloft.net>
20388
20389 * sysdeps/unix/sparc/brk.S: Delete.
20390 * sysdeps/unix/sparc/dl-brk.S: Delete.
20391 * sysdeps/unix/sparc/pipe.S: Delete.
20392 * sysdeps/unix/sparc/sysdep.S: Delete.
20393 * sysdeps/unix/sparc/sysdep.h: Delete.
20394 * sysdeps/unix/sparc/vfork.S: Delete.
20395 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20396 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20398 ret_ERRVAL, r0, r1, MOVE): Define.
20399 (JUMPTARGET): Remove.
20400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20401 sysdeps/unix/sparc/sysdep.h
20402 (ENTRY, END): Remove.
20403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20404
a3cc4f48
JM
204052012-04-25 Joseph Myers <joseph@codesourcery.com>
20406
2ed8cda2
JM
20407 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20408 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20409 -DIS_IN_build.
20410
35d76d59
JM
20411 * timezone/README: Update upstream location and email address for
20412 tzcode and tzdata.
20413 * timezone/zdump.c: Update from tzcode 2012b.
20414 * timezone/zic.c: Likewise.
20415
a3cc4f48
JM
20416 * configure.in (libc_cv_as_needed): Remove test.
20417 * configure: Regenerated.
20418 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20419 conditional definition.
20420 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20421 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20422 * config.make.in (have-as-needed): Remove variable.
20423
ceab42c3
SP
204242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20425 Paul Pluzhnikov <ppluzhnikov@google.com>
20426
20427 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20428 strings correctly.
20429
3ce2865f
CLT
204302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20431
20432 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20433 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20434 * sysdeps/sh/strlen.S: Likewise.
20435
f37e0d68
JM
204362012-04-24 Joseph Myers <joseph@codesourcery.com>
20437
ae186e9a
JM
20438 * sysdeps/unix/fork.S: Remove file.
20439 * sysdeps/unix/i386/fork.S: Likewise.
20440 * sysdeps/unix/sparc/fork.S: Likewise.
20441
b96914af
JM
20442 * sysdeps/unix/system.c: Remove file.
20443 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20444
f37e0d68
JM
20445 * sysdeps/unix/getegid.S: Remove file.
20446 * sysdeps/unix/geteuid.S: Likewise.
20447
87ef29ca
RM
204482012-04-24 Roland McGrath <roland@hack.frob.com>
20449
83bcd236
RM
20450 * scripts/check-localplt.awk: New file.
20451 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20452 of diff.
20453 * scripts/data/localplt-generic.data: Add a comment.
20454
87ef29ca
RM
20455 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20456 NODE when __dir_mkfile failed.
20457 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20458 Reported by Ludovic Courtès <ludo@gnu.org>.
20459
e5a6e567
AJ
204602012-04-24 Andreas Jaeger <aj@suse.de>
20461
20462 * Makerules (common-clean): Also remove gen-as-const-headers
20463 files.
20464
c1820385
JM
204652012-04-24 Joseph Myers <joseph@codesourcery.com>
20466
20467 * Makerules (native-compile): Do not change working directory for
20468 build. Use $(OUTPUT_OPTION) in command.
20469 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20470
94e02fc4
AZ
204712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20472
20473 [BZ #13886]
20474 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20475 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20476 * math/libm-test.inc (floor_test): Add more tests.
20477 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20478
3a533ca3
JM
204792012-04-24 Joseph Myers <joseph@codesourcery.com>
20480
940ab4b3
JM
20481 * sysdeps/unix/getdents.c: Remove file.
20482 * sysdeps/unix/sysv/getdents.c: Likewise.
20483 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20484
90e037bd
JM
20485 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20486 sysdeps/unix/mman/syscalls.list.
20487 (mmap): Likewise.
20488 (mprotect): Likewise.
20489 (msync): Likewise.
20490 (munmap): Likewise.
20491 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20492 * sysdeps/unix/mman/syscalls.list: Remove.
20493 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20494
3a533ca3
JM
20495 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20496 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20497 * configure: Regenerated.
20498 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20499 $(libgcc_s_suffix).
20500 * config.make.in (libgcc_s_suffix): Remove variable.
20501
1ad743de
JM
205022012-04-23 Joseph Myers <joseph@codesourcery.com>
20503
4ad451e2
JM
20504 * sysdeps/unix/sysv/gethostname.c: Move to ...
20505 * sysdeps/posix/gethostname.c: ... here.
20506
5e37ce39
JM
20507 * sysdeps/unix/execve.S: Remove file.
20508
1ad743de
JM
20509 * sysdeps/unix/_exit.S: Remove file.
20510
4e681b5b
AJ
205112012-04-23 Andreas Jaeger <aj@suse.de>
20512
20513 [BZ #13739]
20514 * manual/Makefile: Remove make dist support, there's no
20515 need for a stand-alone documentation tar ball.
20516 (TEXI2DVI): Define always, it's not in Makeconfig.
20517 (dist): Removed.
20518 (tar-it): Removed.
20519 (edition): Removed.
20520 (glibc-doc-$(edition).tar): Removed
20521 (%.Z): Removed.
20522 (%.gz): Removed.
20523 (%.uu): Removed.
20524 (ETAGS): Remove, it's in Makeconfig.
20525 (move-if-change): Remove, it's in Makeconfig.
20526
38686a03 205272012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20528
20529 [BZ #13970]
20530 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20531 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20532 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20533 (strtod_l, strtof_l, strtold_l): Remove __wur.
20534 It is not necessarily an error to ignore strtol's return value.
20535 One can reliably look at the stored endptr to decide whether
20536 the number had valid syntax.
20537
7c0616fa
AJ
205382012-04-21 Andreas Jaeger <aj@suse.de>
20539
803cb6b7 20540 [BZ #13739]
7c0616fa
AJ
20541 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20542
b0fe253f
JM
205432012-04-21 Joseph Myers <joseph@codesourcery.com>
20544
20545 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20546 * sysdeps/unix/sysv/Versions: Remove file.
20547
8280f22d
MT
205482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20549
20550 [BZ #13927]
20551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20552
75ce411f 205532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20554
20555 [BZ #7064]
20556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20557 version from __vm86.
20558
097d59fa
JM
205592012-04-20 Joseph Myers <joseph@codesourcery.com>
20560
a90f3bcb
JM
20561 * sysdeps/unix/common/lxstat.c: Remove file.
20562 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20563
edc7ea78
JM
20564 * sysdeps/unix/sysv/Makefile: Remove file.
20565
cb78c221
JM
20566 * sysdeps/unix/sysv/direct.h: Remove file.
20567
efa6a45f
JM
20568 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20569 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20570 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20571 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20572 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20573 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20574 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20575
9c9f2d0c
JM
20576 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20577
4541c83b
JM
20578 * sysdeps/unix/xmknod.c: Remove file.
20579 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20580
f5d153a0
JM
20581 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20582
aa746595
JM
20583 * sysdeps/unix/sysv/i386/time.S: Remove file.
20584
cce5905e
JM
20585 * sysdeps/unix/fxstat.c: Remove file.
20586 * sysdeps/unix/xstat.c: Likewise.
20587 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20588
37fa3841
JM
20589 * sysdeps/unix/sysv/sigaction.c: Remove file.
20590
ff1962a3
JM
20591 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20592 (sysdep_headers): Remove variable.
20593 [termio.h not in sysdep_headers] (generated): Likewise.
20594 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20595 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20596 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20597 * sysdeps/unix/sysv/tcflow.c: Likewise.
20598 * sysdeps/unix/sysv/tcflush.c: Likewise.
20599 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20600 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20601 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20602 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20603 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20604
e7740d31
JM
20605 * sysdeps/unix/siglist.c: Remove file.
20606
ee06f18b
JM
20607 * sysdeps/unix/getppid.S: Remove file.
20608
097d59fa
JM
20609 * sysdeps/unix/mkdir.c: Remove file.
20610 * sysdeps/unix/rmdir.c: Likewise.
20611
ff3d51ec
AS
206122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20613
20614 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20615 ERR_MAX value.
20616 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20617 errlist-compat value.
20618
50f81fd7
DM
206192012-04-18 David S. Miller <davem@davemloft.net>
20620
20621 * sysdeps/generic/memcopy.h (reg_char): Delete.
20622 * debug/strcat_chk.c: Use char, not reg_char.
20623 * debug/strcpy_chk.c: Likewise.
20624 * debug/strncat_chk.c: Likewise.
20625 * debug/strncpy_chk.c: Likewise.
20626 * string/memchr.c: Likewise.
20627 * string/memrchr.c: Likewise.
20628 * string/rawmemchr.c: Likewise.
20629 * string/strcat.c: Likewise.
20630 * string/strchr.c: Likewise.
20631 * string/strchrnul.c: Likewise.
20632 * string/strcmp.c: Likewise.
20633 * string/strcpy.c: Likewise.
20634 * string/strncat.c: Likewise.
20635 * string/strncmp.c: Likewise.
20636 * string/strncpy.c: Likewise.
20637
8ff41c46
WS
206382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20639
20640 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20641 __builtin_memcopy is called when src and dest ranges are known to not
20642 overlap.
20643
6b652f46
WS
206442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20645
20646 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20647 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20648 fwd_align_merge macro call.
20649 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20650 bwd_align_merge macro call.
20651 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20652
b282631e
WS
206532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20654
20655 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20656 bwd_align_merge macros.
20657 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20658 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20659 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20660
95aa737c
DM
206612012-04-18 David S. Miller <davem@davemloft.net>
20662
20663 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20664
7a99a614
AJ
206652012-04-18 Andreas Jaeger <aj@suse.de>
20666
20667 [BZ# 6794]
20668 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20669 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20670 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20671
20672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20673 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20674 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20675
20676 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20677 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20678 Adjust for changed ldbl-128 files.
20679
20680 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20681 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20682 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20683
e5270c23
DM
206842012-04-17 David S. Miller <davem@davemloft.net>
20685
20686 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20687
fb5e92c9
AS
206882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20689
20690 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20691 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20692 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20693 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20694 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20695 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20696
76da7265
AZ
206972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20698
20699 [BZ #6794]
20700 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20701 * math/libm-test.inc: Add ilogb errno and exception tests.
20702 * math/w_ilogb.c: New file: ilogb wrapper.
20703 * math/w_ilogbf.c: New file: ilogbf wrapper.
20704 * math/w_ilogbl.c: New file: ilogbl wrapper.
20705 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20706 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20707 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20708 exception being thrown with 0.0 as argument.
20709 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20710 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20711 exception being thrown with 0.0 as argument.
20712 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20713 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20714 exception being thrown with 0.0 as argument.
20715 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20716 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20717 exception being thrown with 0.0 as argument.
20718 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20719 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20720 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20721 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20722 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20723 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20724 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20725 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20726 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20727
0396e69d
PB
207282012-04-17 Petr Baudis <pasky@ucw.cz>
20729
20730 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20731 with altivec.
20732
750b5926
MP
207332012-04-16 Marek Polacek <polacek@redhat.com>
20734
20735 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20736
751728a1
MP
207372012-04-16 Marek Polacek <polacek@redhat.com>
20738
20739 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20740 operands of fdivp instruction.
20741
34a27407
L
207422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20743
20744 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20745 * elf/tst-auditmod3b.c: Likewise.
20746 * elf/tst-auditmod4b.c: Likewise.
20747 * elf/tst-auditmod5b.c: Likewise.
20748 * elf/tst-auditmod6b.c: Likewise.
20749 * elf/tst-auditmod6c.c: Likewise.
20750 * elf/tst-auditmod7b.c: Likewise.
20751 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20752 * sysdeps/x86_64/preconfigure.in: Likewise.
20753 * sysdeps/x86_64/preconfigure: Regenerated.
20754
7e73e17d
L
207552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20756
20757 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20758 __ILP32__.
20759
c7a6ab72
AB
207602012-04-13 Antoine Balestrat <merkil33@gmail.com>
20761
20762 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20763 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20764
a9e8e0e0
CL
207652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20766
20767 [BZ #13973]
20768 * locale/iso-639.def: Fix gl language name. Spotted by
20769 Yaron Shahrabani.
20770
ec98af7d
RM
207712012-04-12 Roland McGrath <roland@hack.frob.com>
20772
20773 [BZ #2074]
20774 * libio/libio.h (__io_write_fn): Update comment.
20775
247c3ede
PB
207762012-04-12 Petr Baudis <pasky@ucw.cz>
20777
20778 [BZ #2074]
20779 * stdio.texi (Hook Functions): The user provided writer function
20780 is not allowed to return -1.
20781
55939d6d
DM
207822012-04-11 David S. Miller <davem@davemloft.net>
20783
20784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20785
90020f5a
MF
207862012-04-11 Mike Frysinger <vapier@gentoo.org>
20787
20788 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20789 Add a leading slash to rtkaio.
20790
288f9098
JM
207912012-04-11 Jim Meyering <meyering@redhat.com>
20792
90020f5a
MF
20793 [BZ #11959]
20794 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20795 It is not necessarily an error to ignore fwrite's return
20796 value. One can reliably use ferror to test for errors after
20797 the fact.
288f9098 20798
4be2b570
L
207992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20800
20801 * bits/types.h (__snseconds_t): New type.
20802 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20803
20804 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20806 (__SNSECONDS_T_TYPE): Likewise.
20807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20808 (__SNSECONDS_T_TYPE): Likewise.
20809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20810 (__SNSECONDS_T_TYPE): Likewise.
20811
288f9098 208122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20813
20814 [BZ #2636]
20815 * manual/time.texi (Processor Time): Return type of times is
20816 elapsed real time since an arbitrary point in the past.
20817 (CPU Time): Move CLK_TCK from here...
20818 (Processor Time): ...to here. Correct description.
20819 * manual/conf.texi (Constants for Sysconf): Correct description of
20820 _SC_CLK_TCK.
20821
d7dd4413
DM
208222012-04-10 David S. Miller <davem@davemloft.net>
20823
20824 [BZ #13967]
20825 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20826 where the is a gap between DT_REL(A) and DT_JMPREL.
20827
b46068fc
L
208282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20829
20830 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20831 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20832 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20833
73d65cc3
SP
208342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20835
20836 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20837 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20838 (dl_main): Handle --inhibit-cache.
20839 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20840 _dl_inhibit_cache.
20841 * elf/dl-load.c (_dl_map_object): Use it.
20842 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20843
bcc8d661
JM
208442012-04-09 Joseph Myers <joseph@codesourcery.com>
20845
8f9a2fae
JM
20846 [BZ #13872]
20847 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20848 (__ieee754_powl): Saturate large exponents rather than testing for
20849 overflow of y*log2(x).
20850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20851 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20852 exceptions.
20853
bcc8d661
JM
20854 [BZ #11521]
20855 * math/s_ctan.c: Include <float.h>.
20856 (__ctan): Avoid internal overflow or cancellation in calculating
20857 denominator.
20858 * math/s_ctanf.c: Likewise.
20859 * math/s_ctanl.c: Likewise.
20860 * math/s_ctanh.c: Likewise.
20861 * math/s_ctanhf.c: Likewise.
20862 * math/s_ctanhl.c: Likewise.
20863 * math/libm-test.inc (ctan_test): Add more tests.
20864 (ctanh_test): Likewise.
20865 * sysdeps/i386/fpu/libm-test-ulps: Update.
20866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20867
823fbbb4
AJ
208682012-04-09 Andreas Jaeger <aj@suse.de>
20869
03879793
AJ
20870 [BZ #6894]
20871 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20872 is an optional BSD extension.
20873
823fbbb4
AJ
20874 [BZ #10254]
20875 * manual/stdio.texi (Opening Streams): Document additional fopen
20876 parameters.
20877
8de131cb
RM
208782012-04-09 Roland McGrath <roland@hack.frob.com>
20879
20880 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20881 %eax without telling the compiler.
20882
c0ed9d7d
CD
208832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20884
20885 [BZ # 13963]
20886 * manual/install.texi: Use sourceware.org.
20887
c483f6b4
JM
208882012-04-09 Joseph Myers <joseph@codesourcery.com>
20889
d7dd9453
JM
20890 [BZ #13873]
20891 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20892 (__ieee754_pow): Generate overflow and underflow using huge*huge
20893 and tiny*tiny rather than just returning constant infinity or zero
20894 for large exponents.
20895 * math/libm-test.inc (pow_test): Require overflow exceptions for
20896 applicable cases of large exponents.
20897
c483f6b4
JM
20898 [BZ #706]
20899 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20900 (__ieee754_pow): Use iterative multiplication algorithm only for
20901 integer exponents with absolute value below 1024. Check for odd
20902 integer exponents when using algorithm for real exponents.
20903 * math/libm-test.inc (pow_test): Add more tests.
20904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20905
d2de7579
JM
209062012-04-08 Joseph Myers <joseph@codesourcery.com>
20907
20908 [BZ #13705]
20909 * math/libm-test.inc (exp_test): Do not allow overflow exception
20910 on underflow test.
20911
f77f1232
AJ
209122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20913
20914 [BZ #13705]
20915 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20916 instead of __kernel_standard_f.
20917
3884932b
MF
209182012-04-08 Mike Frysinger <vapier@gentoo.org>
20919
20920 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20921 * sysdeps/x86_64/memset_chk.S: Likewise.
20922
54472e9c
AJ
209232012-04-08 Andreas Jaeger <aj@suse.de>
20924
6ab0fbfc
AJ
20925 [BZ #10153]
20926 * manual/startup.texi (Environment Access): Describe return value
20927 for putenv and setenv.
20928
61efba8c
AJ
20929 [BZ #6895]
20930 * manual/filesys.texi (Directory Entries): Add description for
20931 DT_LNK.
20932
95c3f29a
AJ
20933 [BZ #6890]
20934 * manual/filesys.texi (Directory Entries): Clarify that it's file
20935 system not operating system in the description of DT_UNKNOWN.
20936
54472e9c
AJ
20937 [BZ #6578]
20938 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20939
624254b1
SC
209402012-04-08 Stephen Compall <s11@member.fsf.org>
20941
20942 [BZ #6649]
20943 * manual/llio.texi (Opening and Closing Files): Add cross
20944 reference to explain mode argument.
20945
1e4920e0
MF
209462012-04-07 Mike Frysinger <vapier@gentoo.org>
20947
20948 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20949 * sysdeps/x86_64/memset_chk.S: Likewise.
20950
5ed848f3
DM
209512012-04-07 David S. Miller <davem@davemloft.net>
20952
20953 * elf/elf.h (R_SPARC_WDISP10): Define.
20954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20955 R_SPARC_SIZE32.
20956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20957 R_SPARC_SIZE64 and R_SPARC_H34.
20958
96154cd8
CD
209592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20960
20961 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20962 conditions and remove no longer applicable assertion.
20963
9904dc47
L
209642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20965
20966 * bits/byteswap.h: Include <features.h>.
20967 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20968 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20969
f8887d0a
L
209702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20971
20972 * bits/byteswap.h (__bswap_16): Removed.
20973 Include <bits/byteswap-16.h> to get __bswap_16.
20974 * sysdeps/i386/bits/byteswap.h: Likewise.
20975 * sysdeps/s390/bits/byteswap.h: Likewise.
20976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20977 * bits/byteswap-16.h: New file.
20978 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20979 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20980 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20981 * string/Makefile (headers): Add bits/byteswap-16.h.
20982
62470f60
PP
209832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20984
20985 [BZ #13895]
20986 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20987 extra indirection.
20988 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20989 * nss/tst-nss-static.c: New.
20990
4dad7bab
RM
209912012-04-06 Robert Millan <rmh@gnu.org>
20992
20993 [BZ #6486]
20994 * manual/llio.texi (File Position Primitive): lseek
20995 refers to WHENCE when it really means OFFSET.
20996
e9142a17
AJ
209972012-04-06 Andreas Jaeger <aj@suse.de>
20998
2c040eff
AJ
20999 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21000 strncmp declarations.
21001
e9142a17
AJ
21002 * abilist/libc.abilist: Add __poll and __ppoll.
21003
ff9f1c5f
DM
210042012-04-05 David S. Miller <davem@davemloft.net>
21005
dcd2ae90
DM
21006 * scripts/check-local-headers.sh: Accept a host triplet in the
21007 path matched by the exclude regexp.
21008
993eb054
DM
21009 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21010 definition.
21011 * sysdeps/powerpc/powerpc32/dl-machine.h
21012 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21013 * sysdeps/s390/s390-32/dl-machine.h
21014 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21015 * sysdeps/sparc/sparc32/dl-machine.h
21016 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21017 * sysdeps/sparc/sparc64/dl-machine.h
21018 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21019
ff9f1c5f
DM
21020 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21021 lazy binding.
48e2e132 21022 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21023 undefined symbol errors.
21024
48e2e132 21025 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21026 DT_NEEDED entries.
21027
e80d6f94
MM
210282012-04-05 Michael Matz <matz@suse.de>
21029
21030 [BZ #13592]
21031 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21032
349fa79f
AJ
210332012-04-05 Andreas Jaeger <aj@suse.de>
21034
21035 [BZ #13908]
21036 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21037 comment.
21038
f402708f
KK
210392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21040
21041 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21042 which ROUND is no valid rounding mode.
21043
2ecccfc9
KK
210442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21045
21046 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21047 read again.
21048 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21049
8a53f50f
KK
210502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21051
21052 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21053 an exception using FPU order intentionally.
21054
210552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21056
21057 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21058 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21059 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21060 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21061
d653abb7
SJ
210622012-04-05 Simon Josefsson <simon@josefsson.org>
21063
21064 [BZ #12340]
21065 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21066 EINVAL when BUFLEN is too smal.
21067
c3b1bf7d
TS
210682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21069
21070 [BZ #13553]
21071 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21072 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21073
b1aa60f3
AJ
210742012-04-03 Andreas Jaeger <aj@suse.de>
21075
c3b1bf7d 21076 [BZ #13938]
67f60a26
AJ
21077 * manual/setjmp.texi (System V contexts): Fix sentence.
21078
b1aa60f3
AJ
21079 [BZ #13926]
21080 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21081 New macro for this case.
21082 [!__GNUC__] (__bswap_64): New inline function for this case.
21083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21084 * bits/byteswap.h: Likewise.
21085 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21086 ull, guard with __GLIBC_HAVE_LONG_LONG.
21087
21088 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21089 __GLIBC_HAVE_LONG_LONG.
21090
21091 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21092 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21093
39c59c35
TMQMF
210942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21095
21096 [BZ #13691]
21097 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21098 inptr and inend, rather than using last_ch.
21099
135ffda8
DM
211002012-04-02 David S. Miller <davem@davemloft.net>
21101
21102 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21103 * stdio-common/printf-parse.h (read_int): Change return type to
21104 'int', return -1 on INT_MAX overflow.
21105 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21106 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21107 overflows INT_MAX. Check for overflow of in-format-string precision
21108 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21109 SIZE_MAX not INT_MAX for integer overflow test.
21110 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21111 skip the construct in the format string but do not record anything.
21112 * stdio-common/bug22.c: Adjust to test both width/prevision
21113 INT_MAX overflow as well as total length INT_MAX overflow. Check
21114 explicitly for proper errno values.
21115
228c019e
TS
211162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21117
302cadd3
TS
21118 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21119 CHAR_MAX.
21120 * string/test-strcmp.c [! WIDE]: Likewise.
21121 * time/tst-mktime2.c: Likewise for INT_MAX.
21122 * string/test-string.h: #include <sys/param.h> for MIN.
21123
228c019e
TS
21124 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21125 * sysdeps/i386/init-first.c (init): Likewise.
21126 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21127 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21128 * sysdeps/sh/init-first.c (init): Likewise.
21129
cfa633f5
UD
211302012-04-01 Ulrich Drepper <drepper@gmail.com>
21131
21132 * po/ru.po: Update from translation team.
d1635ef8 21133 * po/vi.po: Likewise.
cfa633f5 21134
6cd0a5ea
SP
211352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21136
21137 * resolv/nss_dns/dns-host.c: Merge copyright years.
21138
4b43400f
LD
211392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21140
21141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21142 Optimize memcpy with prefetch if
21143 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21144 src, dst pointers have unequal 16 byte alignments.
21145
48c41d04
SP
211462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21147
21148 [BZ #13928]
21149 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21150 from a CNAME entry and return the minimum ttl for the query.
21151 (gaih_getanswer_slice): Likewise.
21152
b8dc394d
JL
211532012-03-30 Jeff Law <law@redhat.com>
21154
21155 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21156 due to long keys.
21157 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21158 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21159
2f5a5ed0
JL
21160 * resolv/nss_dns/dns-host.c: Update copyright year.
21161
1d39e359
UD
211622012-03-30 Ulrich Drepper <drepper@gmail.com>
21163
c030f70c 21164 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21165 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21166
1d39e359
UD
21167 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21168 comments for sendmmsg.
21169
211702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21171
21172 [BZ #13691]
21173 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21174 with only 1 character between 0x0041 and 0x01b0.
21175 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21176 * wcsmbs/tst-mbsnrtowcs.c: New file.
21177
20fde227
DM
211782012-03-29 David S. Miller <davem@davemloft.net>
21179
21180 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21181 small copies by hand.
21182
984a4237
JL
211832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
21185 [BZ #13761]
21186 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21187 _nss_compat_initgroups_dyn): Fall back to malloc/free
21188 for large group memberships.
21189
18c9d62b
DM
211902012-03-28 David S. Miller <davem@davemloft.net>
21191
88d85d4f
DM
21192 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21193 that branches into memcpy.
21194 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21197 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21199 bits.
21200 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21201 implementation too.
21202 * sysdeps/sparc/mempcpy.S: New file.
21203
e5aa83e1
DM
21204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21205 the IFUNC routine in the libc case.
21206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21207
88570753
DM
21208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21209 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21210 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21211 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21212 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21213 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21214 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21215 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21216
249d7567
DM
21217 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21218 loop to 256 bytes instead of 64 bytes and fix test signedness.
21219
18c9d62b
DM
21220 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21221 * sysdeps/sparc/sparc32/Makefile: rather than here...
21222 * sysdeps/sparc/sparc64/Makefile: and here.
21223
05f3d1f6
UD
212242012-03-28 Ulrich Drepper <drepper@gmail.com>
21225
21226 * malloc/mallocbug.c: Avoid warnings about unused variables.
21227
86ae07a8
JL
212282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21229
21230 [BZ #13760]
21231 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21232 in the right place. Discard and retry query if response is
21233 larger than input buffer size.
21234
41bf21a1
JM
212352012-03-28 Joseph Myers <joseph@codesourcery.com>
21236
d6270972
JM
21237 [BZ #369]
21238 [BZ #2678]
21239 [BZ #3866]
21240 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21241 x for large integer exponent.
21242 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21243 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21244 sign of result as needed afterwards.
21245 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21246 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21247 result for underflowing pow the same as for overflow.
21248 (__kernel_standard_l): Handle powl overflow and underflow here
21249 rather than calling __kernel_standard.
21250 * math/libm-test.inc (pow_test): Add more tests.
21251
414fca03 21252 [BZ #3868]
41bf21a1
JM
21253 [BZ #13879]
21254 [BZ #13910]
21255 [BZ #13911]
21256 [BZ #13912]
21257 [BZ #13913]
21258 [BZ #13915]
21259 [BZ #13916]
21260 [BZ #13917]
21261 [BZ #13918]
21262 [BZ #13919]
21263 [BZ #13920]
21264 [BZ #13921]
21265 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21266 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21267 (__kernel_standard_l): New function.
21268 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21269 __kernel_standard.
21270 * math/w_acosl.c (__acosl): Likewise.
21271 * math/w_asinl.c (__asinl): Likewise.
21272 * math/w_atan2l.c (__atan2l): Likewise.
21273 * math/w_atanhl.c (__atanhl): Likewise.
21274 * math/w_coshl.c (__coshl): Likewise.
21275 * math/w_exp10l.c (__exp10l): Likewise.
21276 * math/w_exp2l.c (__exp2l): Likewise.
21277 * math/w_fmodl.c (__fmodl): Likewise.
21278 * math/w_hypotl.c (__hypotl): Likewise.
21279 * math/w_j0l.c (__j0l, __y0l): Likewise.
21280 * math/w_j1l.c (__j1l, __y1l): Likewise.
21281 * math/w_jnl.c (__jnl, __ynl): Likewise.
21282 * math/w_lgammal.c (__lgammal): Likewise.
21283 * math/w_log10l.c (__log10l): Likewise.
21284 * math/w_log2l.c (__log2l): Likewise.
21285 * math/w_logl.c (__logl): Likewise.
21286 * math/w_powl.c (__powl): Likewise.
21287 * math/w_remainderl.c (__remainderl): Likewise.
21288 * math/w_scalbl.c (sysv_scalbl): Likewise.
21289 * math/w_sinhl.c (__sinhl): Likewise.
21290 * math/w_sqrtl.c (__sqrtl): Likewise.
21291 * math/w_tgammal.c (__tgammal): Likewise.
21292 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21293 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21294 * math/libm-test.inc (acos_test): Add more tests.
21295 (acosh_test): Likewise.
21296 (asin_test): Likewise.
21297 (atanh_test): Likewise.
21298 (exp_test): Likewise.
21299 (exp10_test): Likewise.
21300 (exp2_test): Likewise.
21301 (expm1_test): Likewise.
21302 (lgamma_test): Likewise.
21303 (log_test): Likewise.
21304 (log10_test): Likewise.
21305 (log1p_test): Likewise.
21306 (log2_test): Likewise.
21307 (pow_test): Do not allow some spurious overflow exceptions.
21308 (sqrt_test): Add more tests.
21309 (tgamma_test): Likewise.
21310 (y0_test): Likewise.
21311 (y1_test): Likewise.
21312 (yn_test): Likewise.
21313
dd62fda6
AB
213142012-03-27 Anton Blanchard <anton@samba.org>
21315
21316 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21317 MAP_HUGETLB.
21318 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21321
1e3cdfda
AJ
213222012-03-27 David S. Miller <davem@davemloft.net>
21323
b855ab85
DM
21324 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21325
1e3cdfda
AJ
21326 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21327 have-as-vis3 check.
21328
213292012-03-27 Andreas Jaeger <aj@suse.de>
21330
21331 * sysdeps/x86_64/elf/configure.in: Moved to ...
21332 * sysdeps/x86_64/configure.in: ... here.
21333 * sysdeps/x86_64/elf/start.S: Moved to ...
21334 * sysdeps/x86_64/start.S: ... here.
21335 * sysdeps/x86_64/elf/configure: Delete.
21336
21337 * sysdeps/x86_64/configure.in: Merge contents from
21338 sysdeps/i386/configure.in (without i686 check).
21339
21340 * sysdeps/i386/elf/Versions: Merge into ...
21341 * sysdeps/i386/Versions: ... this.
21342 * sysdeps/i386/elf/Versions: Delete file.
21343 * sysdeps/i386/elf/start.S: Moved to ...
21344 * sysdeps/i386/start.S: ...here.
21345 * sysdeps/i386/elf/configure.in: Merge into...
21346 * sysdeps/i386/configure.in: ...here.
21347 * sysdeps/i386/elf/configure.in: Delete file.
21348 * sysdeps/i386/elf/configure: Delete file.
21349
21350 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21351 * debug/backtracesyms.c: ... here.
21352 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21353 * debug/backtracesymsfd.c: ... here.
21354 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21355 * sysdeps/generic/ifunc-sel.h: ... here.
21356
21357 * sysdeps/unix/i386/start.c: Delete file.
21358 * sysdeps/unix/sparc/start.c: Delete file.
21359 * sysdeps/unix/start.c: Delete file.
21360
21361 * sysdeps/sh/elf/configure.in: Moved to ...
21362 * sysdeps/sh/configure.in: ... here.
21363 * sysdeps/sh/elf/start.S: Moved to ...
21364 * sysdeps/sh/start.S: ... here.
21365 * sysdeps/sh/elf/configure: Delete file.
21366
21367 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21368 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21369 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21370 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21371 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21372 * sysdeps/powerpc/powerpc64/start.S: here.
21373 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21374 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21375 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21376 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21377 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21378
21379 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21380 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21381 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21382 * sysdeps/powerpc/powerpc32/start.S: ... here.
21383 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21384 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21385 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21386
21387 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21388 * sysdeps/powerpc/ifunc-sel.h: ... here.
21389 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21390 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21391
21392 * sysdeps/sparc/elf/configure.in: Moved to ...
21393 * sysdeps/sparc/configure.in: ... here.
21394 * sysdeps/sparc/elf/configure: Delete file.
21395 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21396 * sysdeps/sparc/sparc32/start.S: ... here.
21397 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21398 * sysdeps/sparc/sparc64/start.S: ... here.
21399 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21400 * sysdeps/sparc/sparc32/Makefile: ... this.
21401 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21402 * sysdeps/sparc/sparc64/Makefile: ... this.
21403
21404 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21405 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21406 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21407 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21408 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21409 * sysdeps/s390/s390-32/setjmp.S: ... here.
21410 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21411 * sysdeps/s390/s390-32/configure.in: ... here.
21412 * sysdeps/s390/s390-32/elf/configure: Delete file.
21413 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21414 * sysdeps/s390/s390-32/start.S: ... here.
21415
21416 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21417 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21418 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21419 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21420 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21421 * sysdeps/s390/s390-64/setjmp.S: ... here.
21422 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21423 * sysdeps/s390/s390-64/configure.in: ... here
21424 * sysdeps/s390/s390-64/elf/configure: Delete file.
21425 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21426 * sysdeps/s390/s390-64/start.S: ... here.
21427 * sysdeps/s390/s390-64/elf/configure: Delete.
21428
21429 * configure.in: Remove support for elf directories in sysdeps.
21430
21431 * configure: Regenerated.
21432 * sysdeps/i386/configure: Regenerated.
21433 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21434 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21435 * sysdeps/s390/s390-32/configure: Regenerated.
21436 * sysdeps/s390/s390-64/configure: Regenerated.
21437 * sysdeps/sh/configure: Regenerated.
21438 * sysdeps/sparc/configure: Regenerated.
21439 * sysdeps/x86_64/configure: Regenerated.
21440
a3f61311
AS
214412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21442
c876e002
AS
21443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21444
a3f61311
AS
21445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21446 denormal result into account.
21447
ac4c54f0
RM
214482012-03-25 Roland McGrath <roland@hack.frob.com>
21449
21450 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21451 Reported by Allan McRae <allan@archlinux.org>.
21452
6a9b9c02
JL
214532012-03-23 Jeff Law <law@redhat.com>
21454
21455 * nss/getnssent.c (__nss_getent): Fix typo.
21456
4c42a0c1
DM
214572012-03-23 David S. Miller <davem@davemloft.net>
21458
21459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21460
1532c7ac
L
214612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21462
21463 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21464 to pad to uint64_t for each field.
21465 (dl_tls_index): Replace unsigned long with uint64_t.
21466
3ff42526
PP
214672012-03-23 Daniel Jacobowitz <dmj@google.com>
21468 Paul Pluzhnikov <ppluzhnikov@google.com>
21469
21470 [BZ #6528]
21471 * grp/Makefile (otherlibs): Don't set it.
21472 * inet/Makefile (otherlibs): Likewise.
21473 * login/Makefile (otherlibs): Likewise.
21474 * nscd/Makefile (otherlibs): Likewise.
21475 * posix/Makefile (otherlibs): Likewise.
21476 * pwd/Makefile (otherlibs): Likewise.
21477 * rt/Makefile (otherlibs): Likewise.
21478 * sunrpc/Makefile (otherlibs): Likewise.
21479 * nss/Makefile (otherlibs): Likewise.
21480 Add libnss_files to routines and static-only-routines.
21481 ($(objpfx)getent): Remove rule.
21482 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21483 static-only-routines.
21484
7c69cd14
JM
214852012-03-22 Joseph Myers <joseph@codesourcery.com>
21486
21487 [BZ #13892]
21488 * math/s_cexp.c: Include <float.h>.
21489 (__cexp): Handle exp result overflowing not necessarily
21490 overflowing both real and imaginary parts of result.
21491 * math/s_cexpf.c: Likewise.
21492 * math/s_cexpl.c: Likewise.
21493 * math/libm-test.inc (cexp_test): Add more tests.
21494 * sysdeps/i386/fpu/libm-test-ulps: Update.
21495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21496
81b035fe
L
214972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21498
21499 * include/link.h (ELFW): New macro.
21500 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21501 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21502
1da7940c
L
215032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21506 with uint64_t.
21507
b749dbb9
L
215082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21511 declaration.
21512 (struct La_x32_retval): Likewise.
21513
2ff87f3f
L
215142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21515
21516 * sysdeps/x86_64/preconfigure.in: New file.
21517 * sysdeps/x86_64/preconfigure: New generated file.
21518
c0df8e69
JM
215192012-03-22 Joseph Myers <joseph@codesourcery.com>
21520
48e44791
JM
21521 [BZ #13824]
21522 * math/e_exp2l.c: Include <float.h>.
21523 (__ieee754_exp2l): Handle overflow and underflow cases
21524 separately. Only pass fractional part of argument to
21525 __ieee754_expl.
21526 * math/libm-test.inc (exp2_test): Add more tests.
21527
c0df8e69
JM
21528 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21529 negating x to take absolute value.
21530 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21531 Likewise.
21532 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21533 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21534 Likewise.
21535 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21536 computing low part if x was negated.
21537 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21538
c8e43ba7
L
215392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21540
21541 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21542 la_x32_gnu_pltexit.
21543 (pltexit): Cast int_retval to ptrdiff_t.
21544 * elf/tst-auditmod3b.c: Likewise.
21545 * elf/tst-auditmod4b.c: Likewise.
21546 * elf/tst-auditmod5b.c: Likewise.
21547 * elf/tst-auditmod6b.c: Likewise.
21548 * elf/tst-auditmod6c.c: Likewise.
21549 * elf/tst-auditmod7b.c: Likewise.
21550
21551 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21552 and x32_gnu_pltexit.
21553
21554 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21555 __ELF_NATIVE_CLASS.
21556 (La_x32_regs): New macro.
21557 (La_x32_retval): Likewise.
21558 (la_x32_gnu_pltenter): New function prototype.
21559 (la_x32_gnu_pltexit): Likewise.
21560
7998fa78
AS
215612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21562
dcb33988
AS
21563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21564 exponent.
21565
233fc563
AS
21566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21567
7998fa78
AS
21568 * configure.in (libc_cv_cc_nofma): Check for option to disable
21569 generation of FMA instructions.
21570 * configure: Regenerate.
21571 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21572 * sysdeps/ieee754/dbl-64/Makefile: New file.
21573 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21574 Remove brandred-fma4.
21575 (CFLAGS-brandred-fma4.c): Remove.
21576 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21578 define.
21579 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21580 define.
21581
8e95c99a
L
215822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21585 LLONG_MAX != LONG_MAX.
21586 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21587 (_fitoa_word): Likewise.
21588 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21589 LLONG_MAX != LONG_MAX.
21590 * stdio-common/_itowa.h: Include <_itoa.h>.
21591 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21592 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21593 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21594 only if not defined.
21595 (_ITOA_WORD_TYPE): Likewise.
21596 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21597 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21598
6f4db457
DM
215992012-03-21 David S. Miller <davem@davemloft.net>
21600
21601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21602
7785fe5a
L
216032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21604
21605 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21606 of x86_64 when setting libc_cv_slibdir, libdir and
21607 libc_cv_localedir.
21608 * sysdeps/unix/sysv/linux/configure: Regenerated.
21609
4535cd55
JM
216102012-03-21 Joseph Myers <joseph@codesourcery.com>
21611
21612 * manual/lang.texi (Old Varargs): Remove section.
21613 (How Variadic): Update menu.
21614 (va_start): Do not mention varargs.h.
21615
17228132
TS
216162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21617 Joseph Myers <joseph@codesourcery.com>
21618
21619 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21620 link test.
21621 * configure: Regenerated.
21622
8149f976
TS
216232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21624
05f3d1f6
UD
21625 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21626 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21627 conformtest.pl
8149f976 21628
1a4ac776
JM
216292012-03-21 Joseph Myers <joseph@codesourcery.com>
21630
be22ce65
JM
21631 * NOTES: Remove.
21632 * Makefile (files-for-dist): Remove NOTES.
21633 (NOTES): Remove rule.
21634 * README: Don't refer to NOTES.
21635 * manual/creature.texi: Don't include macros.texi.
21636 * manual/intro.texi (creature.texi): Remove comment referring to
21637 NOTES.
21638
40b601fb
JM
21639 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21640 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21641 * configure: Regenerated.
21642 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21643 LIBC_TRY_CC_OPTION.
21644 (libc_cv_as_i686): Likewise.
21645 (libc_cv_cc_avx): Likewise.
21646 (libc_cv_cc_sse2avx): Likewise.
21647 (libc_cv_cc_fma4): Likewise.
21648 (libc_cv_cc_novzeroupper): Likewise.
21649 * sysdeps/i386/configure: Regenerated.
21650
1a4ac776
JM
21651 [BZ #13883]
21652 * sysdeps/i386/fpu/s_cexp.S: Remove.
21653 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21654 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21655 * math/libm-test.inc (cexp_test): Add more tests.
21656 * sysdeps/i386/fpu/libm-test-ulps: Update.
21657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21658
a458e7fe
AM
216592012-03-21 Allan McRae <allan@archlinux.org>
21660
21661 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21662
0cb7efc5
JM
216632012-03-21 Joseph Myers <joseph@codesourcery.com>
21664
21665 [BZ #13871]
21666 * math/w_exp2.c: Do not include <float.h>.
21667 (o_threshold, u_threshold): Remove.
21668 (__exp2): Calculate result before checking finiteness and calling
21669 __kernel_standard.
21670 * math/w_exp2f.c: Likewise.
21671 * math/w_exp2l.c: Likewise.
21672 * math/libm-test.inc (exp2_test): Require overflow exception for
21673 1e6 input.
2460d3aa
JM
21674
21675 [BZ #3866]
21676 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21677 range of signed 64-bit integers before using fistpll. Remove
21678 checks for whether integers fit in mantissa bits.
21679 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21680 the range of signed 32-bit integers before using fistpl. Remove
21681 checks for whether integers fit in mantissa bits.
21682 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21683 (__ieee754_powl): Test for y outside the range of signed 64-bit
21684 integers before using fistpll. Reduce 64-bit values to 63-bit
21685 ones as needed.
21686 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21687 divide-by-zero is raised for zero to large negative powers.
21688 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21689 (__ieee754_powl): Test for y outside the range of signed 64-bit
21690 integers before using fistpll. Reduce 64-bit values to 63-bit
21691 ones as needed.
21692 * math/libm-test.inc (pow_test): Add more tests.
21693
eb96ffb0
L
216942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21695
21696 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21697 <stdio-common/_itoa.h>.
21698 * debug/segfault.c: Likewise.
21699 * elf/dl-cache.c: Likewise.
21700 * elf/dl-minimal.c: Likewise.
21701 * elf/dl-misc.c: Likewise.
21702 * elf/dl-sysdep.c: Likewise.
21703 * elf/dl-version.c: Likewise.
21704 * elf/rtld.c: Likewise.
21705 * hurd/hurdsock.c: Likewise.
21706 * hurd/lookup-retry.c: Likewise.
21707 * malloc/malloc.c: Likewise.
21708 * malloc/mtrace.c: Likewise.
21709 * nscd/nscd_getgr_r.c: Likewise.
21710 * nscd/nscd_getpw_r.c: Likewise.
21711 * nscd/nscd_getserv_r.c: Likewise.
21712 * posix/getopt_init.c: Likewise.
21713 * posix/wordexp.c: Likewise.
21714 * stdio-common/_itoa.c: Likewise.
21715 * stdio-common/printf_fphex.c: Likewise.
21716 * stdio-common/vfprintf.c: Likewise.
21717 * string/_strerror.c: Likewise.
21718 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21719 * sysdeps/i386/i686/hp-timing.h: Likewise.
21720 * sysdeps/mach/_strerror.c: Likewise.
21721 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21722 * sysdeps/mach/hurd/sethostid.c: Likewise.
21723 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21724 * sysdeps/mach/xpg-strerror.c: Likewise.
21725 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21727 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21728 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21729 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21730 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21731 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21732 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21733 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21734 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21735 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21736 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21737 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21738 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21739 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21740 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21741 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21742 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21743 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21744 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21745 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21746
21747 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21748
21749 * stdio-common/_itoa.h: Moved to ...
21750 * sysdeps/generic/_itoa.h: Here.
21751
21752 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21753
21754 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21755 instead of "_itoa.h" and "_itowa.h".
21756 * stdio-common/vfprintf.: Likewise.
21757
d1af992d
L
217582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21759
21760 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21761 <bits/wordsize.h>.
21762 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21763 (__signbit): Likwise.
21764 (llrintf): Likwise.
21765 (llrint): Likwise.
21766
114883e0
L
217672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21768
21769 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21770 __WORDSIZE != 64.
21771
c135cc1b
JM
217722012-03-20 Joseph Myers <joseph@codesourcery.com>
21773
21774 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21775 OVERFLOW_EXCEPTION_OK.
21776 * math/libm-test.inc ("Philosophy"): Update comment about
21777 exception testing.
21778 (OVERFLOW_EXCEPTION): Define.
21779 (OVERFLOW_EXCEPTION_OK): Likewise.
21780 (INVALID_EXCEPTION_OK): Renumber.
21781 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21782 (IGNORE_ZERO_INF_SIGN): Likewise.
21783 (test_exceptions): Handle FE_OVERFLOW.
21784 (exp10_test): Expect overflow exceptions.
21785 (exp2_test): Likewise.
21786 (expm1_test): Likewise.
21787 (nextafter_test): Likewise.
21788 (pow_test): Likewise.
21789 (scalbn_test): Likewise.
21790 (scalbln_test): Likewise.
21791
95443d88
L
217922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21793
21794 * sysdeps/x86_64/bits/atomic.h
21795 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21796 64bit integer.
21797 (atomic_exchange_acq): Likewise.
21798 (__arch_exchange_and_add_body): Likewise.
21799 (__arch_add_body): Likewise.
21800 (atomic_add_negative): Likewise.
21801 (atomic_add_zero): Likewise.
21802
490df6c4
L
218032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21804
c2722551 21805 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21806 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21807
5e52b189
L
218082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21811 Check __x86_64__ instead of __WORDSIZE.
21812
a9879d4c
L
218132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21814
21815 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21816
5df98260
DM
218172012-03-19 David S. Miller <davem@davemloft.net>
21818
e1497744
DM
21819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21820
5df98260
DM
21821 * sysdeps/sparc/fpu/fenv_private.h: New file.
21822 * sysdeps/sparc/fpu/math_private.h: Use it.
21823 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21824 Remove.
21825 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21826 (libc_feholdexcept_setroundl): Remove.
21827 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21828 Remove.
21829 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21830 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21831
b4c35121
L
218322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21833
21834 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21835 int64_t instead of long int.
21836 (INSERT_WORDS64): Likwise.
21837
56965fd7
L
218382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21839
21840 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21841 _Unwind_GetCFA return to _Unwind_Ptr first.
21842
83d1aec8
JM
218432012-03-19 Joseph Myers <joseph@codesourcery.com>
21844
1897ad44
JM
21845 [BZ #13629]
21846 * math/s_clog.c: Include <float.h>.
21847 (__clog): Scale large or subnormal inputs.
21848 * math/s_clogf.c: Likewise.
21849 * math/s_clogl.c: Likewise.
21850 * math/s_clog10.c: Include <float.h>.
21851 (M_LOG10_2): Define.
21852 (__clog10): Scale large or subnormal inputs.
21853 * math/s_clog10f.c: Likewise.
21854 * math/s_clog10l.c: Likewise.
21855 * math/libm-test.inc (clog_test): Add more tests.
21856 (clog10_test): Likewise.
21857 * sysdeps/i386/fpu/libm-test-ulps: Update.
21858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859
7726d6a9
JM
21860 [BZ #11451]
21861 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21862 x and y.
21863 * math/libm-test.inc (atan2_test): Add another test.
21864
83d1aec8
JM
21865 * Makerules (common-objdir-compile): Remove.
21866 * sysdeps/unix/Makefile (config-generated): Do not add
21867 $(unix-generated) to variable.
21868 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21869 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21870 Remove rule.
21871 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21872 Likewise.
21873 [generic bits/local_lim.h] (before-compile): Do not append to
21874 variable.
21875 [generic bits/local_lim.h] (common-generated): Likewise.
21876 [generic sys/param.h] (before-compile): Do not append to variable.
21877 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21878 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21880 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21881 include.
21882 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21883 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21884 [generic sys/param.h] ($(addprefix
21885 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21886 [generic sys/param.h] (common-generated): Do not append to
21887 variable.
21888 [generic sys/param.h] (sysdep_headers): Likewise.
21889 [generic bits/errno.h] (before-compile): Do not append to
21890 variable.
21891 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21892 rule.
21893 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21894 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21895 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21896 [generic bits/errno.h] (common-generated): Do not append to
21897 variable.
21898 [generic bits/ioctls.h] (before-compile): Do not append to
21899 variable.
21900 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21901 rule.
21902 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21903 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21904 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21905 rule.
21906 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21907 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21908 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21909 [generic bits/ioctls.h] (common-generated): Do not append to
21910 variable.
21911 [generic sys/syscall.h] (syscall.h): Remove variable.
21912 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21913 rule.
21914 [generic sys/syscall.h] (before-compile): Do not append to
21915 variable.
21916 [generic sys/syscall.h] (common-generated): Likewise.
21917 * sysdeps/unix/errnos-tmpl.c: Remove file.
21918 * sysdeps/unix/errnos.awk: Likewise.
21919 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21920 * sysdeps/unix/ioctls.awk: Likewise.
21921 * sysdeps/unix/mk-local_lim.c: Likewise.
21922 * sysdeps/unix/snarf-ioctls: Likewise.
21923
4851a949
RH
219242012-03-19 Richard Henderson <rth@twiddle.net>
21925
bd37f2ee
RH
21926 * sysdeps/i386/fpu/fenv_private.h: New file.
21927 * sysdeps/i386/fpu/math_private.h: Use it.
21928 (math_opt_barrier, math_force_eval): Remove.
21929 (libc_feholdexcept_setround_53bit): Remove.
21930 (libc_feupdateenv_53bit): Remove.
21931 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21932 (math_opt_barrier, math_force_eval): Remove.
21933 (libc_feholdexcept): Remove.
21934 (libc_feholdexcept_setround): Remove.
21935 (libc_fetestexcept, libc_fesetenv): Remove.
21936 (libc_feupdateenv_test): Remove.
21937 (libc_feupdateenv, libc_feholdsetround): Remove.
21938 (libc_feresetround): Remove.
21939
d0adc922
RH
21940 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21941 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21942
0fe0f1f8
RH
21943 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21944 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21945 (libc_feupdateenv_testl): New.
21946 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21947 (libc_feupdateenv_testf): New.
21948 (libc_feupdateenv): Use libc_feupdateenv_test.
21949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21950 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21951
eb92c487
RH
21952 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21953 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21954 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21955 (libc_feresetround_noex): New.
21956 (libc_feresetround_noexf): New.
21957 (libc_feresetround_noexl): New.
21958 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21959 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21960 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21961 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21962 SET_RESTORE_ROUND.
21963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21964 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21965 (__cos): Likewise.
21966 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21967 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21968 SET_RESTORE_ROUND_NOEX.
21969 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21970 SET_RESTORE_ROUND_NOEXF.
21971 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21972 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21973 (libc_feholdsetroundf): New.
21974 (libc_feresetround, libc_feresetroundf): New.
21975
7d2e8012
RH
21976 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21977 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21978 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21979
b4dabbb4
RH
21980 * sysdeps/generic/math_private.h: Include <fenv.h>.
21981 (default_libc_feholdexcept): New.
21982 (default_libc_feholdexcept_setround): New.
21983 (default_libc_fesetenv, default_libc_feupdateenv): New.
21984 (libc_feholdexcept): Only define if undefined.
21985 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21986 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21987 (libc_feholdexcept_setroundl): Likewise.
21988 (libc_feholdexcept_setround_53bit): Likewise.
21989 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21990 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21991 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21992 (libc_feupdateenv_53bit): Likewise.
21993 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21994 (libc_feholdexcept): Convert from macro to inline function.
21995 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21996 (libc_fesetenv, libc_feupdateenv): Likewise.
21997
4851a949
RH
21998 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21999 not previously defined.
22000 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22001 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22002 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22003 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22004 * sysdeps/ieee754/flt-32/math_private.h: New file.
22005 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22006 math_private.h below SET_FLOAT_WORD.
22007 (__isnan, __isinf_ns, __finite): Remove.
22008 (__isnanf, __isinf_nsf, __finitef): Remove.
22009
e79d442e
AS
220102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22011
22012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22013
90b80344
DM
220142012-03-17 David S. Miller <davem@davemloft.net>
22015
22016 [BZ #6471]
22017 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22018 for 2.16.
22019
edc21804
DM
220202012-03-16 David S. Miller <davem@davemloft.net>
22021
77e927af
DM
22022 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22023 warnings.
22024
374976dd
DM
22025 [BZ #6471]
22026 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22027 properly.
22028 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22029 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22030 sysdep_routines when subdir is sysvipc.
22031 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22032 __getshmlba helper.
22033
edc21804
DM
22034 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22035
473c3ef3
L
220362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22039 [__LP64__].
22040
eb0f39b6
L
220412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22044 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22045 (__lround): Renamed to ...
22046 (__llround): This. Replace long int with long long int.
22047 Define lround functions as aliases of llround functions.
22048 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22049
6b6cd74b
L
220502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22053 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22054 adresses to uintptr_t. Replace "long int" and "unsigned long
22055 int" with "greg_t" on va_arg.
22056
f1a77b01
L
220572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22058
22059 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22060 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22061
22062 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22063 Move e_machine check before EI_CLASS check. Handle x32
22064 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22065 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22066 SKIP_EM_IA_64 and include
22067 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22068
22069 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22070 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22071 (add_system_dir): New macro.
22072
22073 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22074 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22075
11b90b9f
JM
220762012-03-16 Joseph Myers <joseph@codesourcery.com>
22077
c36e1d23
JM
22078 [BZ #2551]
22079 [BZ #2552]
22080 [BZ #2553]
22081 [BZ #2554]
22082 [BZ #2562]
22083 [BZ #2563]
22084 [BZ #2565]
22085 [BZ #2566]
22086 [BZ #2576]
22087 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22088 (y0): Likewise.
22089 * math/w_j0f.c (j0f): Likewise.
22090 (y0f): Likewise.
22091 * math/w_j0l.c (__j0l): Likewise.
22092 (__y0l): Likewise.
22093 * math/w_j1.c (j1): Likewise.
22094 (y1): Likewise.
22095 * math/w_j1f.c (j1f): Likewise.
22096 (y1f): Likewise.
22097 * math/w_j1l.c (__j1l): Likewise.
22098 (__y1l): Likewise.
22099 * math/w_jn.c (jn): Likewise.
22100 (yn): Likewise.
22101 * math/w_jnf.c (jnf): Likewise.
22102 (ynf): Likewise.
22103 * math/w_jnl.c (__jnl): Likewise.
22104 (__ynl): Likewise.
22105 * math/libm-test.inc (j0_test): Add more tests.
22106 (j1_test): Likewise.
22107 (jn_test): Likewise. Add trailing semicolon to existing test.
22108 (y0_test): Likewise.
22109 (y1_test): Likewise.
22110 * sysdeps/i386/fpu/libm-test-ulps: Update.
22111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22112
11b90b9f
JM
22113 [BZ #13851]
22114 [BZ #13854]
22115 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22116 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22117 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22118 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22119 (__tanl): Set errno for infinite argument.
22120 * sysdeps/i386/fpu/mptan.c: Remove.
22121 * sysdeps/i386/fpu/s_tan.S: Likewise.
22122 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22123 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22124 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22125 * math/libm-test.inc (tan_test): Add more tests and enable more
22126 tests for double and long double.
22127 * sysdeps/i386/fpu/libm-test-ulps: Update.
22128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22129
6a1bd2a1
JK
221302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22131
22132 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22133 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22134
10a803e0
RM
221352012-03-16 Roland McGrath <roland@hack.frob.com>
22136
22137 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22138 * configure.in: Use it for both main tree and add-ons.
22139 * configure: Regenerated.
22140
f196c7f7
L
221412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22142
22143 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22144
8848d99d
JM
221452012-03-16 Joseph Myers <joseph@codesourcery.com>
22146
96cbe7f4
JM
22147 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22148 in comment.
22149
8848d99d
JM
22150 [BZ #13851]
22151 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22152 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22156 infinite argument.
22157 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22158 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22159 != 0 for prec == 2.
22160 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22161 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22162 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22163 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22164 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22165 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22166 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22167 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22168 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22169 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22170 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22171 * math/libm-test.inc (cos_test): Add more tests and enable more
22172 tests for long double.
22173 (sin_test): Likewise.
22174 (sincos_test): Likewise.
22175 * sysdeps/i386/fpu/libm-test-ulps: Update.
22176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22177
dd7f4703
DM
221782012-03-16 David S. Miller <davem@davemloft.net>
22179
22180 * sysdeps/sparc/fpu/math_private.h: New file.
22181
006f1daa
DM
221822012-03-15 David S. Miller <davem@davemloft.net>
22183
c0c83bc8
DM
22184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22185 file.
e6a62e18 22186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22188 file.
e6a62e18
DM
22189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22194 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22195 sysdep routines.
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22197
88cb87d9
DM
22198 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22199 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22200
006f1daa 22201 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22203 sparc-ifunc.h
006f1daa 22204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22206 Likewise.
22207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22208 Likewise.
006f1daa
DM
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22213 Likewise.
006f1daa
DM
22214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22219 Likewise.
22220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22221 Likewise.
006f1daa
DM
22222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22246
11e0098e
AS
222472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22248
22249 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22250 scaling.
22251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22252
e85b09d0
AJ
222532012-03-15 Andreas Jaeger <aj@suse.de>
22254
22255 [BZ #13852]
22256 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22257 ieee754/flt-32 implementation for sin, cos and sincos.
22258 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22259 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22260 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22261 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22262 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22263 ieee754/flt-32 implementation for tan.
22264
22265 * math/libm-test.inc (cos_test): Enable some large input tests for
22266 float as well
22267 (sin_test): Likewise.
22268 (sincos_test): Likewise.
22269 (tan_test): Add tests for large input.
22270
22271 * sysdeps/i386/fpu/libm-test-ulps: Update.
22272
81c64153
AJ
222732012-03-15 Andreas Jaeger <aj@suse.de>
22274
22275 [BZ #13658]
22276 * math/libm-test.inc (cos_test): Add more test cases.
22277 (sin_test): Likewise.
22278 (sincos_test): Likewise.
22279
7bbfa5c6
AJ
222802012-03-15 Andreas Jaeger <aj@suse.de>
22281
22282 [BZ #13837]
22283 * math/libm-test.inc (cos_test): Add a test case for large input
22284 value.
22285 (sin_test): Likewise.
22286 (sincos_test): Likewise.
22287
222882012-03-15 Andreas Jaeger <aj@suse.de>,
22289 Joseph Myers <joseph@codesourcery.com>
22290
22291 [BZ #13658]
0671f479 22292 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22293 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22294 * sysdeps/i386/fpu/branred.c: Likewise.
22295 * sysdeps/i386/fpu/dosincos.c: Likewise.
22296 * sysdeps/i386/fpu/mpa.c: Likewise.
22297 * sysdeps/i386/fpu/s_cos.S: Likewise.
22298 * sysdeps/i386/fpu/s_sin.S: Likewise.
22299 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22300 * sysdeps/i386/fpu/sincos32.c: Likewise.
22301
22302 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22303 Define.
22304 (libc_feupdateenv_53bit): Define.
22305 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22306 Define.
22307 (libc_feupdateenv_53bit): Define.
22308
22309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22310 53 bit (without extend i386 double precision).
22311
22312 * math/libm-test.inc (sincos_test): Add tests for large input.
22313 (sin): Likewise.
22314 (cos): Likewise.
22315
22316 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22317
9cad04ea
AS
223182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22319
22320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22321
f7062b9a
DM
223222012-03-15 David S. Miller <davem@davemloft.net>
22323
22324 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22325 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22326 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22327 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22340 file.
f7062b9a 22341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22343 file.
f7062b9a 22344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22346 file.
f7062b9a 22347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22349 file.
f7062b9a
DM
22350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22352 fmin/fmax sysdep routines.
22353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22354
7bd951ff
DM
223552012-03-14 David S. Miller <davem@davemloft.net>
22356
559398ab
DM
22357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22386 routines.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22388 file.
559398ab 22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22391 file.
559398ab 22392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22394 file.
559398ab 22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22397 file.
559398ab 22398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22400 file.
559398ab 22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22403 file.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22405 file.
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22407 file.
22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22409 file.
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22411 New file.
22412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22413 file.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22415 file.
559398ab 22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22418 file.
559398ab 22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22421 file.
559398ab 22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22424 file.
559398ab 22425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22427 VIS3 routines.
559398ab
DM
22428
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22430 New file.
22431
5a1c1e32
DM
22432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22433
eae47a36
DM
22434 * sysdeps/sparc/configure.in: New file.
22435 * sysdeps/sparc/configure: Generate.
22436 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22437 * configure: Regenerate.
22438 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22439 * config.make.in (have-as-vis3): New.
22440 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22441 available use -Av9d instead of -Av9a.
22442 * sysdeps/sparc/sparc64/Makefile: Likewise.
22443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22445 New file.
22446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22447 file.
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22449 New file.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22451 file.
eae47a36
DM
22452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22457
c0c83bc8
DM
22458 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22459 fzeros/fnegs to load 0x80000000 into a float register instead of
22460 using the stack.
7bd951ff
DM
22461 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22462
bd951ccb
JM
224632012-03-14 Joseph Myers <joseph@codesourcery.com>
22464
22465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22466 bits/syscall.h.
22467 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22468 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22469 ($(inst_includedir)/bits/syscall.h): Remove rule.
22470 ($(objpfx)bits/syscall.d): Include instead of
22471 $(objpfx)syscall-list.d.
22472 (generated): Change syscall-list.h and syscall-list.d to
22473 bits/syscall.h and bits/syscall.d.
22474
bb4e6db2
RM
224752012-03-14 Roland McGrath <roland@hack.frob.com>
22476
22477 [BZ #13846]
22478 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22479
aa4a2ae1
JM
224802012-03-14 Joseph Myers <joseph@codesourcery.com>
22481
e456826d
JM
22482 [BZ #13841]
22483 * math/s_csqrt.c: Include <float.h>.
22484 (__csqrt): Scale large or subnormal inputs.
22485 * math/s_csqrtf.c: Likewise.
22486 * math/s_csqrtl.c: Likewise.
22487 * math/libm-test.inc (csqrt_test): Add more tests.
22488 * sysdeps/i386/fpu/libm-test-ulps: Update.
22489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22490
aa4a2ae1
JM
22491 [BZ #13840]
22492 * math/libm-test.inc (hypot_test): Add more tests.
22493
7c10fd35
DM
224942012-03-13 David S. Miller <davem@davemloft.net>
22495
22496 [BZ #13840]
22497 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22498 double-precision for the calculation instead of scaling.
22499
f453b98b
JM
225002012-03-13 Joseph Myers <joseph@codesourcery.com>
22501
22502 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22503 manipulate bits before adding and subtracting TWO52[sx].
22504 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22505 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22506 Likewise.
22507 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22508
09a3453f
DM
225092012-03-13 David S. Miller <davem@davemloft.net>
22510
8e59da90
DM
22511 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22512 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22514 rtld-global-offsets.h
22515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22516
2a8ab7f2
DM
22517 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22518 large parameters.
22519
10f62770
DM
22520 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22521
5f0bdb18
DM
22522 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22523 'err' in the ifdef scope in which it is actually used.
22524
09a3453f
DM
22525 * nss/nss_db/db-init.c: Include string.h
22526
b4b2eb5e
DM
225272012-03-12 David S. Miller <davem@davemloft.net>
22528
98bb2f1c
DM
22529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22530 masking out of the most significant byte of random value used.
22531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22532 Fix coding style in previous change.
22533
b4b2eb5e
DM
22534 * sysdeps/unix/sysv/linux/kernel-features.h
22535 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22536 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22537 expression.
22538 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22539 later.
22540
6e226b09
DM
225412012-03-11 David S. Miller <davem@davemloft.net>
22542
a1bcbd40
DM
22543 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22544 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22546 for 'resultvar' otherwise things get truncated on 64-bit.
22547
cb9d6174
DM
22548 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22549 Fix masking out of the most significant byte of random value used.
22550
6e226b09
DM
22551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22552
058c132d
AS
225532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22554
22555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22556
2d2cd515
DM
225572012-03-09 David S. Miller <davem@davemloft.net>
22558
22559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22560 variables with appropriate CPP guards.
22561 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22562 frame pointer, not the stack pointer. Correct layout comments. Fix test
22563 on resulting framesize and the management of the outregs buffer for pltexit.
22564 Preserve floating point return values across _dl_call_pltexit call.
22565 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22566 framesize and the management of the outregs buffer for pltexit.
22567 Preserve floating point return values across _dl_call_pltexit
22568 call.
22569 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22570 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22571 (print_exit): Fix format string for return register value.
22572
9a07f9d0
JM
225732012-03-10 Joseph Myers <joseph@codesourcery.com>
22574
22575 * sunrpc/Makefile (others): Add rpcgen.
22576 ($(objpfx)rpcgen): Remove special build rule and dependency on
22577 libc.
22578 * sunrpc/rpcgen.c: New file.
22579
547b5e30
PE
225802012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22581
c524201a
PE
22582 [BZ #13673]
22583 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22584 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22585 * sysdeps/i386/crti.S: Likewise.
22586 * sysdeps/i386/crtn.S: Likewise.
22587 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22588 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22589 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22590 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22591 * sysdeps/sh/crti.S: Likewise.
22592 * sysdeps/sh/crtn.S: Likewise.
22593 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22594
7b6235f2
PE
22595 [BZ #13673]
22596 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22597 with URL.
22598 * locale/programs/locfile-kw.gperf: Likewise.
22599 * locale/programs/charmap-kw.h: Regenerated.
22600 * locale/programs/locfile-kw.h: Likewise.
22601
547b5e30
PE
22602 [BZ #13673]
22603 * intl/plural.y: Replace FSF snail mail address with URL.
22604 * intl/plural.c: Regenerated.
22605
5f0a5dae
RH
226062012-03-09 Richard Henderson <rth@twiddle.net>
22607
22608 * include/math_private.h: Remove file.
22609 * math/math_private.h: Move file ...
22610 * sysdeps/generic/math_private.h: ... here.
22611
b8c03620
RH
22612 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22613 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22614 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22615
4e234f5d 22616 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22617 and <math_private.h>.
22618 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22619 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22620 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22621 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22622 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22676 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22706 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22709 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22710 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22712 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22713 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22714 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22715 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22716 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22718 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22719 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22720 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22721 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22722 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22723 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22724 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22725 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22726 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22728 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22737 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22738 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22739 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22740 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22741 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22742 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22743 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22745 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22746 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22747 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22748 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22749 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22750 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22751 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22752 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22753 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22754 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22755 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22756 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22757 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22758 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22759 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22761 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22762 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22763 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22764 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22765 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22766 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22767 * sysdeps/ieee754/k_standard.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22883 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22887 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22890 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22895 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22900 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22906 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22917 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22918 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22921 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22923 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22926 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22927 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22928 * sysdeps/ieee754/s_lib_version.c: Likewise.
22929 * sysdeps/ieee754/s_matherr.c: Likewise.
22930 * sysdeps/ieee754/s_signgam.c: Likewise.
22931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22933 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22934 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22935 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22936 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22937 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22938 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22939 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22940 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22941 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22942 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22943 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22944 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22945 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22946 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22947 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22948 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22952
1991fa03
JM
229532012-03-09 Joseph Myers <joseph@codesourcery.com>
22954
22955 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22956 * sunrpc/rpc_main.c: Likewise.
22957 * sunrpc/rpc_svcout.c: Likewise.
22958
60d6f5a6
DM
229592012-03-09 David S. Miller <davem@davemloft.net>
22960
22961 * include/math_private.h: New file.
22962
4962050e
JM
229632012-03-09 Joseph Myers <joseph@codesourcery.com>
22964
02a6f887
JM
22965 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22966 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22967 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22968 from <bits/socket_type.h>.
22969 (enum __socket_type): Don't define here.
22970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22972 bits/socket_type.h.
22973
c6e013c1
JM
22974 [BZ #13566]
22975 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22976 checking __USE_GNU.
22977
4962050e
JM
22978 * Makerules ($(inst_includedir)/%.h): New rule.
22979 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22980 (install-others): Remove variable setting.
22981 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22982
38842f45
RH
229832012-03-08 Richard Henderson <rth@twiddle.net>
22984
67bb6da6
RH
22985 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22986 from macro to inline function; merge with the
22987 !__LIBC_INTERNAL_MATH_INLINES version.
22988 (__ieee754_sqrtf): Likewise.
22989
15194b4b
RH
22990 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22991 to inline function.
22992 (__rintf, __floor, __floorf): Likewise.
22993
64e21ede
RH
22994 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22995 macro to inline function.
22996 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22997
38842f45
RH
22998 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22999 not <math/math_private.h>.
23000
c64bf5fe
DM
230012012-03-08 David S. Miller <davem@davemloft.net>
23002
23003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23004 copyright year.
23005 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23006
82d86f28
TS
230072012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23008
23009 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23010 normalization.
23011 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23012 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23013
aea5d727
UD
230142012-03-08 Ulrich Drepper <drepper@gmail.com>
23015
23016 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23017 be defined individually, they must be defined as a block. Define
23018 S for printing a string instead of hidint the different by using a
23019 macro for adding the 'l'.
23020 * stdio-common/tst-fphex-wide.c: Adjust.
23021
70bca0a3
MP
230222012-03-07 Marek Polacek <polacek@redhat.com>
23023
23024 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23025
65b81130
MP
230262012-03-08 Marek Polacek <polacek@redhat.com>
23027
23028 [BZ #13806]
23029 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23030 * stdio-common/tst-fphex.c: Define a few macros to make the
23031 test reusable. Use them.
23032 * stdio-common/tst-fphex-wide.c: New file.
23033
07037eeb
JM
230342012-03-08 Joseph Myers <joseph@codesourcery.com>
23035
a7a93d50
JM
23036 [BZ #6911]
23037 * manual/macros.texi (gnusystems): New macro.
23038 (nongnusystems): Likewise.
23039 (gnulinuxhurdsystems): Likewise.
23040 (gnuhurdsystems): Likewise..
23041 (gnulinuxsystems): Likewise.
23042 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23043 variants of the GNU system, not "GNU system".
23044 * manual/conf.texi: Likewise.
23045 * manual/errno.texi: Likewise. Update example of errno macro
23046 expansion.
23047 * manual/filesys.texi: Likewise.
23048 (getumask): Document as specific to GNU/Hurd.
23049 * manual/install.texi: Likewise. Reword some references to
23050 GNU/Linux.
23051 * manual/intro.texi: Likewise.
23052 * manual/io.texi: Likewise.
23053 (File Name Portability): Detail which constraints are inapplicable
23054 to all GNU systems and which are only inapplicable to GNU/Hurd.
23055 * manual/job.texi: Likewise.
23056 * manual/llio.texi: Likewise.
23057 (O_NOCTTY): Document as present on GNU/Linux.
23058 * manual/maint.texi: Likewise.
23059 * manual/memory.texi: Likewise.
23060 * manual/pattern.texi: Likewise.
23061 * manual/pipe.texi: Likewise.
23062 * manual/process.texi: Likewise.
23063 * manual/resource.texi: Likewise.
23064 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23065 child on GNU/Hurd.
23066 * manual/setjmp.texi: Likewise.
23067 * manual/signal.texi: Likewise.
23068 * manual/startup.texi: Likewise.
23069 * manual/stdio.texi: Likewise.
23070 * manual/terminal.texi: Likewise.
23071 (ONLCR): Document as POSIX.
23072 (OXTABS): Document availability on GNU/Linux as XTABS.
23073 (ONOEOT): Document availability separately from other bits.
23074 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23075 * manual/time.texi: Likewise.
23076 * manual/users.texi: Likewise.
23077 * INSTALL: Regenerated.
23078 * sysdeps/gnu/errlist.c: Regenerated.
23079
07037eeb
JM
23080 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23081 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23082 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23083 puts.
23084 * configure: Regenerated.
23085
d1d3431a
JM
230862012-03-07 Joseph Myers <joseph@codesourcery.com>
23087
af6a1e37
JM
23088 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23089 default includes instead of AC_HEADER_CHECK.
23090 * sysdeps/i386/configure: Regenerated.
23091
d1d3431a
JM
23092 [BZ #10716]
23093 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23094 * math/s_cacoshf.c (__cacoshf): Likewise.
23095 * math/s_cacoshl.c (__cacoshl): Likewise.
23096 * math/s_casinh.c (__casinh): Set signs of result from argument.
23097 * math/s_casinhf.c (__casinhf): Likewise.
23098 * math/s_casinhl.c (__casinhl): Likewise.
23099 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23100 (casinh_test): Add more tests.
23101 * sysdeps/i386/fpu/libm-test-ulps: Update.
23102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23103
482ff4da
UD
231042012-03-07 Ulrich Drepper <drepper@gmail.com>
23105
872fda05
UD
23106 * po/zh_TW.po: Update from translation team.
23107
a4300c7a
UD
23108 * login/Makefile (distribute): Remove variable.
23109 * catgets/Makefile: Likewise.
23110 * mach/Makefile: Likewise.
23111 * malloc/Makefile: Likewise.
23112 * misc/Makefile: Likewise.
23113 * iconv/Makefile: Likewise.
23114 * nscd/Makefile: Likewise.
23115 * hurd/Makefile: Likewise.
23116 * manual/Makefile: Likewise.
23117 * locale/Makefile: Likewise.
23118 * intl/Makefile: Likewise.
23119 * conform/Makefile: Likewise.
23120 * nss/Makefile: Likewise.
23121 * time/Makefile: Likewise.
23122 * soft-fp/Makefile: Likewise.
23123 * dirent/Makefile: Likewise.
23124 * gmon/Makefile: Likewise.
23125 * po/Makefile: Likewise.
23126 * rt/Makefile: Likewise.
23127 * socket/Makefile: Likewise.
23128 * math/Makefile: Likewise.
23129 * signal/Makefile: Likewise.
23130 * debug/Makefile: Likewise.
23131 * elf/Makefile: Likewise.
23132 * timezone/Makefile: Likewise.
23133 * stdlib/Makefile: Likewise.
23134 * iconvdata/Makefile: Likewise.
23135 * sunrpc/Makefile: Likewise.
23136 * io/Makefile: Likewise.
23137 * argp/Makefile: Likewise.
23138 * inet/Makefile: Likewise.
23139 * hesiod/Makefile: Likewise.
23140 * grp/Makefile: Likewise.
23141 * csu/Makefile: Likewise.
23142 * wctype/Makefile: Likewise.
23143 * crypt/Makefile: Likewise.
23144 * libio/Makefile: Likewise.
23145 * string/Makefile: Likewise.
23146 * nis/Makefile: Likewise.
23147 * resolv/Makefile: Likewise.
23148 * stdio-common/Makefile: Likewise.
23149 * wcsmbs/Makefile: Likewise.
23150 * dlfcn/Makefile: Likewise.
23151 * posix/Makefile: Likewise.
23152
3b7c4e74 23153 [BZ #6959]
482ff4da
UD
23154 * timezone/Makefile: Don't install timezone files, just the programs
23155 and scripts.
23156
f72ed77d
UD
231572012-03-06 Ulrich Drepper <drepper@gmail.com>
23158
a000466f
UD
23159 * nss/databases.def: Add missing gshadow entry.
23160
f72ed77d
UD
23161 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23162
a53b7a4e
MP
231632012-03-06 Marek Polacek <polacek@redhat.com>
23164
23165 [BZ #13726]
23166 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23167 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23168 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23169 * stdio-common/tst-long-dbl-fphex.c: New file.
23170
e9258400
DM
231712012-03-06 David S. Miller <davem@davemloft.net>
23172
23173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23174 (set_obp_int): New function.
23175 (get_obp_int): New function.
23176 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23178 Avoid unused variable warnings on 'val' and use builtin_expect.
23179 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23180 __builtin_expect.
e9258400
DM
23181 (INLINE_CLONE_SYSCALL): Likewise.
23182
3bd2c723
DM
231832012-03-05 David S. Miller <davem@davemloft.net>
23184
23185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23186
bbb78d03
AS
231872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23188
884c5db4
AS
23189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23190
bbb78d03
AS
23191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23192 only for |x| >= 40.
23193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23194
1c9f702a 231952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23196
23197 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23198 Replace gettimeofday with __vdso_gettimeofday.
23199
7be16f82
RM
23200 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23201 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23202 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23203
23204 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23205 time with __vdso_time.
23206
ed58a00f
JM
232072012-03-05 Joseph Myers <joseph@codesourcery.com>
23208
23209 * manual/lang.texi (size_t): Note types to which size_t may be
23210 equivalent with the GNU C Library, but do not describe when
23211 differences between them are significant.
23212
30ee4ced
AJ
232132012-03-05 Andreas Jaeger <aj@suse.de>
23214
23215 * sysdeps/i386/fpu/libm-test-ulps: Update.
23216
b7cd39e8
JM
232172012-03-05 Joseph Myers <joseph@codesourcery.com>
23218
23219 [BZ #3976]
23220 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23221 (__ieee754_pow): Save and restore rounding mode and use
23222 round-to-nearest for main computations.
23223 * math/libm-test.inc (pow_test_tonearest): New function.
23224 (pow_test_towardzero): Likewise.
23225 (pow_test_downward): Likewise.
23226 (pow_test_upward): Likewise.
23227 (main): Call the new functions.
23228 * sysdeps/i386/fpu/libm-test-ulps: Update.
23229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23230
23231 [BZ #3976]
23232 * math/libm-test.inc (cosh_test_tonearest): New function.
23233 (cosh_test_towardzero): Likewise.
23234 (cosh_test_downward): Likewise.
23235 (cosh_test_upward): Likewise.
23236 (sinh_test_tonearest): Likewise.
23237 (sinh_test_towardzero): Likewise.
23238 (sinh_test_downward): Likewise.
23239 (sinh_test_upward): Likewise.
23240 (main): Call the new functions.
23241 * sysdeps/i386/fpu/libm-test-ulps: Update.
23242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23243
6c6a98c9
TV
232442012-03-05 Tom de Vries <tom@codesourcery.com>
23245
23246 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23247 default stack guard is set in last bytes.
23248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23249
21bb2d2e 232502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23251
21bb2d2e 23252 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23253
21bb2d2e
AJ
23254 [BZ #13656]
23255 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23256 possibly allocate from heap instead of stack.
23257 * stdio-common/bug-vfprintf-nargs.c: New file.
23258 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23259
c6922934
AS
232602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23261
23262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23263
bc957d53
MP
232642012-03-03 Marek Polacek <polacek@redhat.com>
23265
23266 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23267 * math/math_private.h: Likewise.
23268 * stdlib/tst-strtod.c: Likewise.
23269 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23270 * sysdeps/x86_64/bits/atomic.h: Likewise.
23271
6358490d
DM
232722012-03-02 David S. Miller <davem@davemloft.net>
23273
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23278 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23279 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23280 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23281 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23282
01ae168d
RM
232832012-03-02 Roland McGrath <roland@hack.frob.com>
23284
d9a17c07
RM
23285 [BZ #13792]
23286 * manual/examples/README: New file, says the example source files
23287 can be used under GPL>=2.
23288 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23289 line containing just "*/".
23290 * manual/examples/add.c: Add copyright header (GPL>=2).
23291 * manual/examples/argp-ex1.c: Likewise.
23292 * manual/examples/argp-ex2.c: Likewise.
23293 * manual/examples/argp-ex3.c: Likewise.
23294 * manual/examples/argp-ex4.c: Likewise.
23295 * manual/examples/atexit.c: Likewise.
23296 * manual/examples/db.c: Likewise.
23297 * manual/examples/dir.c: Likewise.
23298 * manual/examples/dir2.c: Likewise.
23299 * manual/examples/execinfo.c: Likewise.
23300 * manual/examples/filecli.c: Likewise.
23301 * manual/examples/filesrv.c: Likewise.
23302 * manual/examples/fmtmsgexpl.c: Likewise.
23303 * manual/examples/genpass.c: Likewise.
23304 * manual/examples/inetcli.c: Likewise.
23305 * manual/examples/inetsrv.c: Likewise.
23306 * manual/examples/isockad.c: Likewise.
23307 * manual/examples/longopt.c: Likewise.
23308 * manual/examples/memopen.c: Likewise.
23309 * manual/examples/memstrm.c: Likewise.
23310 * manual/examples/mkfsock.c: Likewise.
23311 * manual/examples/mkisock.c: Likewise.
23312 * manual/examples/mygetpass.c: Likewise.
23313 * manual/examples/pipe.c: Likewise.
23314 * manual/examples/popen.c: Likewise.
23315 * manual/examples/rprintf.c: Likewise.
23316 * manual/examples/search.c: Likewise.
23317 * manual/examples/select.c: Likewise.
23318 * manual/examples/setjmp.c: Likewise.
23319 * manual/examples/sigh1.c: Likewise.
23320 * manual/examples/sigusr.c: Likewise.
23321 * manual/examples/stpcpy.c: Likewise.
23322 * manual/examples/strdupa.c: Likewise.
23323 * manual/examples/strftim.c: Likewise.
23324 * manual/examples/strncat.c: Likewise.
23325 * manual/examples/subopt.c: Likewise.
23326 * manual/examples/swapcontext.c: Likewise.
23327 * manual/examples/termios.c: Likewise.
23328 * manual/examples/testopt.c: Likewise.
23329 * manual/examples/testpass.c: Likewise.
23330 * manual/examples/timeval_subtract.c: Likewise.
23331
01ae168d
RM
23332 [BZ #13792]
23333 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23334 function to ...
23335 * manual/timeval_subtract.c.texi: ... here, new file.
23336
49efa33d
DM
233372012-03-02 David S. Miller <davem@davemloft.net>
23338
23339 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23340
28afd92d
JM
233412012-03-02 Joseph Myers <joseph@codesourcery.com>
23342
804360ed
JM
23343 [BZ #3976]
23344 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23345 (__sin): Save and restore rounding mode and use round-to-nearest
23346 for all computations.
23347 (__cos): Save and restore rounding mode and use round-to-nearest
23348 for all computations.
23349 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23350 <fenv.h>.
23351 (tan): Save and restore rounding mode and use round-to-nearest for
23352 all computations.
23353 * math/libm-test.inc (cos_test_tonearest): New function.
23354 (cos_test_towardzero): Likewise.
23355 (cos_test_downward): Likewise.
23356 (cos_test_upward): Likewise.
23357 (sin_test_tonearest): Likewise.
23358 (sin_test_towardzero): Likewise.
23359 (sin_test_downward): Likewise.
23360 (sin_test_upward): Likewise.
23361 (tan_test_tonearest): Likewise.
23362 (tan_test_towardzero): Likewise.
23363 (tan_test_downward): Likewise.
23364 (tan_test_upward): Likewise.
23365 (main): Call the new functions.
23366 * sysdeps/i386/fpu/libm-test-ulps: Update.
23367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23368
a6d06d7b
JM
23369 [BZ #10135]
23370 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23371 small n, then large n, before computing and testing k+n.
23372 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23374 Likewise.
23375 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23376 Likewise.
23377 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23378 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23383 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23384 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23385 * math/libm-test.inc (scalbn_test): Add more tests.
23386 (scalbln_test): Likewise.
23387
07e12bb3
JM
23388 * manual/filesys.texi (mode_t): Describe constraints on size and
23389 signedness, not exact equivalence to a particular type.
23390 (ino_t): Likewise.
23391 (ino64_t): Likewise.
23392 (dev_t): Likewise.
23393 (nlink_t): Likewise.
23394 (blkcnt_t): Likewise.
23395 (blkcnt64_t): Likewise.
23396 * manual/llio.texi (off_t): Likewise.
23397
28afd92d
JM
23398 [BZ #3976]
23399 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23400 (__ieee754_exp): Save and restore rounding mode and use
23401 round-to-nearest for all computations.
23402 * math/libm-test.inc (exp_test_tonearest): New function.
23403 (exp_test_towardzero): Likewise.
23404 (exp_test_downward): Likewise.
23405 (exp_test_upward): Likewise.
23406 (main): Call the new functions.
23407 * sysdeps/i386/fpu/libm-test-ulps: Update.
23408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23409
b1eeb65d
CD
234102012-03-01 Chris Demetriou <cgd@google.com>
23411
23412 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23413 have predictable order.
23414
53362a4b
DM
234152012-03-01 David S. Miller <davem@davemloft.net>
23416
3c969083
DM
23417 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23418
759707de
DM
23419 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23420 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23421 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23422 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23423
dfdb8ff2
DM
23424 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23425 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23426 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23428 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23429 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23430 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23431 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23432 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23433
ead89f96
DM
23434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23435
7f66bd07
DM
23436 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23437 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23438 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23439
53362a4b
DM
23440 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23441 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23442 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23443 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23444 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23447 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23448 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23451 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23456 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23457 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23458 * sysdeps/sparc/elf/configure: Regenerated.
23459
7b1902cb
JM
234602012-03-01 Joseph Myers <joseph@codesourcery.com>
23461
bec039bc
JM
23462 * configure.in (AS, LD): Require binutils 2.20 or later.
23463 * configure: Regenerated.
23464 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23465 as required minimum version.
23466 * INSTALL: Regenerated.
23467
7b1902cb
JM
23468 [BZ #2541]
23469 [BZ #4108]
23470 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23471 before squaring exponent.
23472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23473 bottom long double and 27 bits of top long double before squaring
23474 exponent.
23475 * math/libm-test.inc (erfc_test): Add more tests.
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23479
f775c276
KT
234802012-03-01 Kai Tietz <ktietz@redhat.com>
23481
23482 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23483 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23484 containing bit-fields.
23485 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23486 * soft-fp/single.h (_FP_UNION_S): Likewise.
23487 * soft-fp/double.h (_FP_UNION_D): Likewise.
23488
5b8a4d4a
JM
234892012-02-29 Joseph Myers <joseph@codesourcery.com>
23490
0bab47b6
JM
23491 [BZ #13786]
23492 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23493 not include ../strcmp.S.
23494 [USE_AS_STRNCASECMP_L]: Likewise.
23495 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23496 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23497 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23498 (__strncasecmp_l_ia32): Define as alias to
23499 __strncasecmp_l_nonascii.
23500
0fcad3e2
JM
23501 [BZ #5794]
23502 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23503 * sysdeps/i386/fpu/libm-test-ulps: Update.
23504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23505
5b8a4d4a
JM
23506 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23508
8fdceb2e
JL
235092012-02-29 Jeff Law <law@redhat.com>
23510
23511 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23512 out of bounds read.
23513
1f393a11
MP
235142012-02-29 Marek Polacek <polacek@redhat.com>
23515
23516 [BZ #13706]
23517 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23518 * elf/Makefile: Add rules to run tst-unused-dep.out.
23519
8847f037
DM
235202012-02-28 David S. Miller <davem@davemloft.net>
23521
23522 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23523 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23526 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23527 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23528
169d7f11
JM
235292012-02-29 Joseph Myers <joseph@codesourcery.com>
23530
23531 * math/libm-test.inc (llround_test): Move one test from
23532 lround_test. Use TEST_f_L in moved test.
23533 (lround_test): Move misplaced test to llround_test. Add testcase
23534 from bug 2561.
23535
39adf059
UD
235362012-02-28 Ulrich Drepper <drepper@gmail.com>
23537
23538 * sysdeps/x86_64/fpu/e_expf.S: New file.
23539 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23540
71b5d1c5
SB
235412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23542
23543 [BZ #13637]
23544 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23545 of remain_len that may cause incomplete multi-byte character and
23546 false match.
23547 * posix/bug-regex33.c: New file.
23548 * posix/Makefile (tests): Add bug-regex33.
23549
1f77f049
JM
235502012-02-28 Joseph Myers <joseph@codesourcery.com>
23551
23552 * manual/macros.texi: New file.
23553 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23554 * manual/libc.texinfo: Include macros.texi.
23555 * manual/creatute.texi: Likewise.
23556 * manual/install.texi: Likewise.
23557 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23558 @glibcadj{} in references to the GNU C Library.
23559 * manual/charset.texi: Likewise.
23560 * manual/conf.texi: Likewise.
23561 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23562 when not using those macros.
23563 * manual/creature.texi: Likewise.
23564 * manual/crypt.texi: Likewise.
23565 * manual/errno.texi: Likewise.
23566 * manual/filesys.texi: Likewise.
23567 * manual/header.texi: Likewise.
23568 * manual/install.texi: Likewise.
23569 * manual/intro.texi: Likewise.
23570 * manual/io.texi: Likewise.
23571 * manual/job.texi: Likewise.
23572 * manual/lang.texi: Likewise.
23573 * manual/libc.texiinfo: Likewise.
23574 * manual/llio.texi: Likewise.
23575 * manual/locale.texi: Likewise.
23576 * manual/maint.texi: Likewise.
23577 * manual/math.texi: Likewise.
23578 * manual/memory.texi: Likewise.
23579 * manual/message.texi: Likewise.
23580 * manual/nss.texi: Likewise.
23581 * manual/pattern.texi: Likewise.
23582 * manual/process.texi: Likewise.
23583 * manual/resource.texi: Likewise.
23584 * manual/search.texi: Likewise.
23585 * manual/setjmp.texi: Likewise.
23586 * manual/signal.texi: Likewise.
23587 * manual/socket.texi: Likewise.
23588 * manual/startup.texi: Likewise.
23589 * manual/stdio.texi: Likewise.
23590 * manual/string.texi: Likewise.
23591 * manual/sysinfo.texi: Likewise.
23592 * manual/syslog.texi: Likewise.
23593 * manual/terminal.texi: Likewise.
23594 * manual/time.texi: Likewise.
23595 * manual/users.texi: Likewise.
23596 * INSTALL: Regenerated.
23597 * NOTES: Regenerated.
d40c5d54 23598 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23599
450bf206
AS
236002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23601
23602 * include/dirent.h: Include <dirstream.h> before
23603 <dirent/dirent.h>.
23604
741a235b
DM
236052012-02-28 David S. Miller <davem@davemloft.net>
23606
23607 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23608 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23609 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23610 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23611
d6b5aa58
DM
236122012-02-27 David S. Miller <davem@davemloft.net>
23613
1aff59a3
DM
23614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23616 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23617 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23618
d6b5aa58
DM
23619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23620 frame pointer instead of stack pointer relative arg slot.
23621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23622 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23623 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23624
433f48bf
CD
236252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23626
23627 [BZ #3992]
23628 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23629
d674b76d
DM
236302012-02-27 David S. Miller <davem@davemloft.net>
23631
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23636 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23637 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23638 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23639 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23640
0e7727f7
JM
236412012-02-27 Joseph Myers <joseph@codesourcery.com>
23642
23643 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23644 later. Allow versions 5-9.
43be4ca2 23645 * configure: Regenerated.
0e7727f7
JM
23646 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23647 required minimum version and 4.6 as recommended version. Do not
23648 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23649 * INSTALL: Regenerated.
0e7727f7 23650
a78bc654
DM
236512012-02-27 David S. Miller <davem@davemloft.net>
23652
428d5830
DM
23653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23657 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23658 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23659 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23660 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23661
a78bc654
DM
23662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23663 manipulate bits before adding and subtracting TWO112[sx].
23664 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23665
4579f81c
RM
236662012-02-27 Roland McGrath <roland@hack.frob.com>
23667
36c8acb4
RM
23668 [BZ #13775]
23669 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23670 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23671 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23672 being in POSIX, because they are in 1003.1-2008.
23673
84ad622b
RM
23674 * rt/tst-aio.c: Include <fcntl.h>.
23675 * rt/tst-aio7.c: Likewise.
23676 * rt/tst-aio64.c: Likewise.
23677
4579f81c
RM
23678 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23679
abd923db
JM
236802012-02-27 Joseph Myers <joseph@codesourcery.com>
23681
23682 * manual/install.texi (--with-headers): Describe headers as
23683 interface headers, not private headers.
23684 (Specific advice for GNU/Linux systems): Describe use of headers
23685 from "make headers_install", not private headers from older
23686 kernels.
43be4ca2 23687 * INSTALL: Regenerated.
abd923db
JM
23688 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23689 Change to 2.6.19.
23690 * sysdeps/unix/sysv/linux/configure: Regenerated.
23691
6664049b
JM
23692 * manual/llio.texi (fclean): Remove documentation.
23693
bb8b6697
JM
23694 * manual/Makefile (libc-texi-generated): New variable. Include
23695 version.texi.
23696 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23697 $(libc-texi-generated), not duplicated list of files.
23698 (version.texi, stamp-version): New rules.
23699 (realclean): Remove $(libc-texi-generated), not individual files
23700 from that list. Do not remove dir-add.texinfo.
23701 * manual/libc.texinfo: Comment out uses of edition numbers and
23702 references to printed manual. Remove last-updated dates.
23703 (EDITION): Comment out.
23704 (ISBN): Likewise.
23705 (VERSION, UPDATED): Remove.
23706 (version.texi): Include.
23707
12e5c3b9
AS
237082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23709
23710 * sysdeps/posix/spawni.c: Include <signal.h>.
23711 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23712 * sysdeps/pthread/aio_fsync.c: Likewise.
23713
4efeffc1 237142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23715
ba63ba08
UD
23716 * conform/Makefile (tests): Run only when not cross-compiling and
23717 when fast-check is not defined.
23718
d94a4670
UD
23719 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23720 * conform/data/limits.h-data: Fixes for POSIX2008.
23721 * conform/run-conformtest.sh: Run all tests.
23722 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23723 headers.
23724 * include/bits/dlfcn.h: Likewise.
23725 * include/langinfo.h: Likewise.
23726 * include/monetary.h: Likewise.
23727 * include/sys/poll.h: Likewise.
23728
23729 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23730 for __USE_GNU.
23731 * posix/spawn.h: Define __need_sigset_t.
23732 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23733 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23734 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23735 to get sigevent_t only.
23736 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23737 only for __USE_GNU.
23738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23739 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23740 process_vm_writev only for __USE_GNU.
23741 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23742
23743 * conform/Makefile: For now ignore errors from run-conformtest.
23744 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23745 POSIX to avoid namespace pollution. Don't prepend headers.
23746 * conform/data/aio.h-data: Fixes for POSIX testing.
23747 * conform/data/fcntl.h-data: Likewise.
23748 * conform/data/glob.h-data: Likewise.
23749 * conform/data/grp.h-data: Likewise.
23750 * conform/data/pthread.h-data: Likewise.
23751 * conform/data/pwd.h-data: Likewise.
23752 * conform/data/signal.h-data: Likewise.
23753 * conform/data/spawn.h-data: Likewise.
23754 * conform/data/stdio.h-data: Likewise.
23755 * conform/data/stdlib.h-data: Likewise.
23756 * conform/data/stropts.h-data: Likewise.
23757 * conform/data/sys/mman.h-data: Likewise.
23758 * conform/data/sys/stat.h-data: Likewise.
23759 * conform/data/sys/types.h-data: Likewise.
23760 * conform/data/sys/wait.h-data: Likewise.
23761 * conform/data/time.h-data: Likewise.
23762 * conform/data/unistd.h-data: Likewise.
23763 * conform/data/utime.h-data: Likewise.
23764
23765 * io/sys/stat.h: fchmod was always in POSIX.
23766 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23767 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23768 * rt/aio.h: Define __need_timespec before including <time.h>.
23769 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23770 struct. Add forward declaration of pthread_attr_t and use it in
23771 sigevent.
23772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23773 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23774 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23775 always remove CLK_TCK definition.
23776
c20105c3
AS
237772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23778
23779 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23780
7a270350
UD
237812012-02-25 Ulrich Drepper <drepper@gmail.com>
23782
31341567
UD
23783 * conform/run-conformtest.sh: New file.
23784 * conform/Makefile: Run run-conformtest for tests.
23785 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23786 support.
23787
23788 * conform/data/uchar.h-data: New file.
23789 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23790 * conform/data/arpa/inet.h-data: Likewise.
23791 * conform/data/assert.h-data: Likewise.
23792 * conform/data/complex.h-data: Likewise.
23793 * conform/data/cpio.h-data: Likewise.
23794 * conform/data/ctype.h-data: Likewise.
23795 * conform/data/dirent.h-data: Likewise.
23796 * conform/data/dlfcn.h-data: Likewise.
23797 * conform/data/errno.h-data: Likewise.
23798 * conform/data/fcntl.h-data: Likewise.
23799 * conform/data/float.h-data: Likewise.
23800 * conform/data/fmtmsg.h-data: Likewise.
23801 * conform/data/fnmatch.h-data: Likewise.
23802 * conform/data/ftw.h-data: Likewise.
23803 * conform/data/glob.h-data: Likewise.
23804 * conform/data/grp.h-data: Likewise.
23805 * conform/data/iconv.h-data: Likewise.
23806 * conform/data/inttypes.h-data: Likewise.
23807 * conform/data/langinfo.h-data: Likewise.
23808 * conform/data/libgen.h-data: Likewise.
23809 * conform/data/limits.h-data: Likewise.
23810 * conform/data/locale.h-data: Likewise.
23811 * conform/data/math.h-data: Likewise.
23812 * conform/data/monetary.h-data: Likewise.
23813 * conform/data/mqueue.h-data: Likewise.
23814 * conform/data/ndbm.h-data: Likewise.
23815 * conform/data/net/if.h-data: Likewise.
23816 * conform/data/netdb.h-data: Likewise.
23817 * conform/data/netinet/in.h-data: Likewise.
23818 * conform/data/nl_types.h-data: Likewise.
23819 * conform/data/poll.h-data: Likewise.
23820 * conform/data/pthread.h-data: Likewise.
23821 * conform/data/pwd.h-data: Likewise.
23822 * conform/data/regex.h-data: Likewise.
23823 * conform/data/sched.h-data: Likewise.
23824 * conform/data/search.h-data: Likewise.
23825 * conform/data/semaphore.h-data: Likewise.
23826 * conform/data/setjmp.h-data: Likewise.
23827 * conform/data/signal.h-data: Likewise.
23828 * conform/data/spawn.h-data: Likewise.
23829 * conform/data/stdarg.h-data: Likewise.
23830 * conform/data/stdio.h-data: Likewise.
23831 * conform/data/stdlib.h-data: Likewise.
23832 * conform/data/string.h-data: Likewise.
23833 * conform/data/strings.h-data: Likewise.
23834 * conform/data/stropts.h-data: Likewise.
23835 * conform/data/sys/ipc.h-data: Likewise.
23836 * conform/data/sys/mman.h-data: Likewise.
23837 * conform/data/sys/msg.h-data: Likewise.
23838 * conform/data/sys/resource.h-data: Likewise.
23839 * conform/data/sys/select.h-data: Likewise.
23840 * conform/data/sys/sem.h-data: Likewise.
23841 * conform/data/sys/shm.h-data: Likewise.
23842 * conform/data/sys/socket.h-data: Likewise.
23843 * conform/data/sys/stat.h-data: Likewise.
23844 * conform/data/sys/statvfs.h-data: Likewise.
23845 * conform/data/sys/time.h-data: Likewise.
23846 * conform/data/sys/timeb.h-data: Likewise.
23847 * conform/data/sys/times.h-data: Likewise.
23848 * conform/data/sys/types.h-data: Likewise.
23849 * conform/data/sys/uio.h-data: Likewise.
23850 * conform/data/sys/un.h-data: Likewise.
23851 * conform/data/sys/utsname.h-data: Likewise.
23852 * conform/data/sys/wait.h-data: Likewise.
23853 * conform/data/syslog.h-data: Likewise.
23854 * conform/data/tar.h-data: Likewise.
23855 * conform/data/termios.h-data: Likewise.
23856 * conform/data/utime.h-data: Likewise.
23857 * conform/data/utmpx.h-data: Likewise.
23858 * conform/data/varargs.h-data: Likewise.
23859 * conform/data/wchar.h-data: Likewise.
23860 * conform/data/wctype.h-data: Likewise.
23861 * conform/data/wordexp.h-data: Likewise.
23862
23863 * include/stropts.h: New file.
23864 * include/uchar.h: New file.
23865 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23866 * include/assert.h: Likewise.
23867 * include/ctype.h: Likewise.
23868 * include/dirent.h: Likewise.
23869 * include/dlfcn.h: Likewise.
23870 * include/fcntl.h: Likewise.
23871 * include/fnmatch.h: Likewise.
23872 * include/glob.h: Likewise.
23873 * include/grp.h: Likewise.
23874 * include/libio.h: Likewise.
23875 * include/locale.h: Likewise.
23876 * include/math.h: Likewise.
23877 * include/net/if.h: Likewise.
23878 * include/netdb.h: Likewise.
23879 * include/netinet/in.h: Likewise.
23880 * include/pthread.h: Likewise.
23881 * include/pwd.h: Likewise.
23882 * include/regex.h: Likewise.
23883 * include/sched.h: Likewise.
23884 * include/search.h: Likewise.
23885 * include/setjmp.h: Likewise.
23886 * include/signal.h: Likewise.
23887 * include/stdio.h: Likewise.
23888 * include/stdlib.h: Likewise.
23889 * include/string.h: Likewise.
23890 * include/sys/cdefs.h: Likewise.
23891 * include/sys/mman.h: Likewise.
23892 * include/sys/msg.h: Likewise.
23893 * include/sys/resource.h: Likewise.
23894 * include/sys/select.h: Likewise.
23895 * include/sys/socket.h: Likewise.
23896 * include/sys/stat.h: Likewise.
23897 * include/sys/statvfs.h: Likewise.
23898 * include/sys/time.h: Likewise.
23899 * include/sys/times.h: Likewise.
23900 * include/sys/uio.h: Likewise.
23901 * include/sys/utsname.h: Likewise.
23902 * include/sys/wait.h: Likewise.
23903 * include/termios.h: Likewise.
23904 * include/time.h: Likewise.
23905 * include/ulimit.h: Likewise.
23906 * include/unistd.h: Likewise.
23907 * include/utime.h: Likewise.
23908 * include/wchar.h: Likewise.
23909 * include/wctype.h: Likewise.
23910 * include/wordexp.h: Likewise.
23911
23912 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23913
7a270350
UD
23914 * time/time.h: TIME_UTC must be a macro.
23915 Make timespec_get available for ISO C11 only as well.
23916
7724defc
UD
239172012-02-24 Ulrich Drepper <drepper@gmail.com>
23918
23919 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23920 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23921
6b1d1d46
JM
239222012-02-24 Joseph Myers <joseph@codesourcery.com>
23923
23924 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23925
0f8bbd69
JM
239262012-02-24 Joseph Myers <joseph@codesourcery.com>
23927
23928 * manual/texinfo.tex: Update to version 2012-01-19.16.
23929
66ab80bc
JM
239302012-02-24 Joseph Myers <joseph@codesourcery.com>
23931
23932 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23933
74981cc5
RM
239342012-02-24 Roland McGrath <roland@hack.frob.com>
23935
ee968201
RM
23936 [BZ #13738]
23937 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23938 * manual/fdl-1.3.texi: New file.
23939 * manual/fdl-1.1.texi: File removed.
23940
74981cc5
RM
23941 [BZ #13738]
23942 * manual/libc.texinfo (FDL_VERSION): New @set.
23943 Use it for mention of FDL in cover text.
23944 (Documentation License): Use it in @include file name.
23945
7bb764bc
JM
239462012-02-22 Joseph Myers <joseph@codesourcery.com>
23947 Roland McGrath <roland@hack.frob.com>
23948
23949 [BZ #5461]
23950 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23951 not LONG_LONG_MAX and LONG_LONG_MIN.
23952 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23953 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23954 name.
23955 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23956
6cbeae47
JM
239572012-02-22 Joseph Myers <joseph@codesourcery.com>
23958
23959 [BZ #2547]
23960 [BZ #11365]
23961 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23962 manipulate bits before adding and subtracting TWO23[sx].
23963 * math/libm-test.inc (nearbyint_test): Add more tests.
23964
fe45ce09
JM
239652012-02-22 Joseph Myers <joseph@codesourcery.com>
23966
23967 [BZ #2548]
23968 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23969 bits before adding and subtracting TWO23[sx].
23970 * math/libm-test.inc (rint_test): Add more tests.
23971 (rint_test_tonearest): Likewise.
23972 (rint_test_towardzero): Likewise.
23973 (rint_test_downward): Likewise.
23974 (rint_test_upward: Likewise.
23975
ff3b3d82
JM
239762012-02-22 Joseph Myers <joseph@codesourcery.com>
23977
23978 [BZ #10110]
23979 * include/stdc-predef.h: New file. Extracted from features.h.
23980 * include/features.h: Include stdc-predef.h.
23981 * Makefile (headers): Add stdc-predef.h.
23982 * CONFORMANCE (Compiler limitations): Update.
23983
ef0aab35
JM
239842012-02-22 Joseph Myers <joseph@codesourcery.com>
23985
23986 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23987
58639409
DM
239882012-02-21 David S. Miller <davem@davemloft.net>
23989
23990 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23991 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23992
c0e70b25
DM
239932012-02-20 David S. Miller <davem@davemloft.net>
23994
23995 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23996 using a normal save/restore sequence, rather than allocating a
23997 dummy stack frame just to store a frame pointer and restore.
23998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23999
fb06851d
JM
240002012-02-21 Joseph Myers <joseph@codesourcery.com>
24001
24002 * manual/install.texi: Fix stray word in line-wrapped comment.
24003
7a8b71c3
DM
240042012-02-20 David S. Miller <davem@davemloft.net>
24005
d510c123
DM
24006 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24007 both binutils and gcc support GOTDATA.
24008
0722d7c2
DM
24009 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24010 "rd %pc" in the PIC register setup sequences.
24011
3d2b3019
DM
24012 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24013 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24014 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24015 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24016 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24019 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24021 (SYSCALL_ERROR_HANDLER): Likewise.
24022 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24023 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24025 (SYSCALL_ERROR_HANDLER): Likewise.
24026
c80098a9
DM
24027 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24028 (HAVE_GCC_GOTDATA): New.
24029 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24030 relocation support in both binutils and gcc.
24031 * sysdeps/sparc/elf/configure: Regenerate.
24032
3a2545a0
DM
24033 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24034 * sysdeps/sparc/sparc32/elf/configure: Delete.
24035 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24036 * sysdeps/sparc/sparc64/elf/configure: Delete.
24037 * sysdeps/sparc/elf/configure.in: New file.
24038 * sysdeps/sparc/elf/configure: Generate.
24039
7a8b71c3
DM
24040 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24041 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24042 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24043 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24044 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24045
f1e86fca
JM
240462012-02-21 Joseph Myers <joseph@codesourcery.com>
24047
24048 * manual/install.texi: Do not mention specific glibc version
24049 numbers.
24050 * manual/libc.texinfo (VERSION, UPDATED): Update.
24051 (@copying): Use @copyright{} and range of years.
24052
0e7dfaef
JM
240532012-02-21 Joseph Myers <joseph@codesourcery.com>
24054
24055 [BZ #13695]
24056 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24057 [crti.S not in sysdirs] (generated): Do not append.
24058 [crti.S not in sysdirs] (omit-deps): Likewise.
24059 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24060 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24061 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24062 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24063 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24064 Likewise.
24065 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24066 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24067 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24068 * csu/defs.awk: Remove file.
24069 * sysdeps/generic/initfini.c: Likewise.
24070 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24071 variable.
24072 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24073 Likewise.
24074
599af3ca
JM
240752012-02-20 Joseph Myers <joseph@codesourcery.com>
24076
24077 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24078 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24079 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24080 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24082 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24083 <bits/epoll.h>.
24084 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24085 (__EPOLL_PACKED): Define to empty if not defined by
24086 <bits/epoll.h>.
24087 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24089 bits/epoll.h.
24090
0e499750
JM
240912012-02-20 Joseph Myers <joseph@codesourcery.com>
24092
24093 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24094 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24095 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24096 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24097 <bits/timerfd.h>.
24098 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24100 bits/timerfd.h.
24101
5ad91f6e
JM
241022012-02-20 Joseph Myers <joseph@codesourcery.com>
24103
24104 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24105 in C locale.
24106 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24107 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24110
06b99b02
AJ
241112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24112
24113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24114 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24115
7638c0fd
AS
241162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24117
24118 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24119 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24120 defined.
24121 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24122 Likewise.
24123 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24124 entry for 2.16.
24125
92221550
AJ
241262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24127
24128 * math/w_acos.c: Use non-signaling floating-point comparisons.
24129 * math/w_acosf.c: Likewise.
24130 * math/w_acosh.c: Likewise.
24131 * math/w_acoshf.c: Likewise.
24132 * math/w_acoshl.c: Likewise.
24133 * math/w_acosl.c: Likewise.
24134 * math/w_asin.c: Likewise.
24135 * math/w_asinf.c: Likewise.
24136 * math/w_asinl.c: Likewise.
24137 * math/w_atanh.c: Likewise.
24138 * math/w_atanhf.c: Likewise.
24139 * math/w_atanhl.c: Likewise.
24140 * math/w_exp2.c: Likewise.
24141 * math/w_exp2f.c: Likewise.
24142 * math/w_exp2l.c: Likewise.
24143 * math/w_j0.c: Likewise.
24144 * math/w_j0f.c: Likewise.
24145 * math/w_j0l.c: Likewise.
24146 * math/w_j1.c: Likewise.
24147 * math/w_j1f.c: Likewise.
24148 * math/w_j1l.c: Likewise.
24149 * math/w_jn.c: Likewise.
24150 * math/w_jnf.c: Likewise.
24151 * math/w_log.c: Likewise.
24152 * math/w_log10.c: Likewise.
24153 * math/w_log10f.c: Likewise.
24154 * math/w_log10l.c: Likewise.
24155 * math/w_log2.c: Likewise.
24156 * math/w_log2f.c: Likewise.
24157 * math/w_log2l.c: Likewise.
24158 * math/w_logf.c: Likewise.
24159 * math/w_logl.c: Likewise.
24160 * math/w_sqrt.c: Likewise.
24161 * math/w_sqrtf.c: Likewise.
24162 * math/w_sqrtl.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24166 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24167 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24168
ebaf36eb
JM
241692012-02-19 Joseph Myers <joseph@codesourcery.com>
24170
24171 [BZ #9739]
24172 * manual/string.texi (strnlen): Use correct parameter name in
24173 equivalent expression.
24174
71c254a6
JM
241752012-02-19 Joseph Myers <joseph@codesourcery.com>
24176
24177 [BZ #11174]
24178 * manual/users.texi (seteuid): Consistently use neweuid for
24179 argument name.
24180
16d2c631
JM
241812012-02-19 Joseph Myers <joseph@codesourcery.com>
24182
24183 [BZ #13704]
24184 * manual/nss.texi (Services in the NSS configuration): Correct
24185 list of services in example configuration file.
24186
cd837b09
NB
241872012-02-19 Nick Bowler <nbowler@draconx.ca>
24188
24189 [BZ #11322]
24190 * manual/arith.texi: Remove statements about negative zero
24191 behaving identically to zero.
24192
02c4bbad
JM
241932012-02-18 Joseph Myers <joseph@codesourcery.com>
24194
24195 [BZ #5993]
24196 * manual/install.texi: Do not document upgrading from libc5.
24197
366842e7
JM
241982012-02-18 Joseph Myers <joseph@codesourcery.com>
24199
24200 [BZ #4596]
24201 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24202
dd54084d
DM
242032012-02-18 David S. Miller <davem@davemloft.net>
24204
24205 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24206 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24207 %o7 across the call.
24208 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24209 instead.
24210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24211 SETUP_PIC_REG_LEAF.
24212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24213 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24214 * sysdeps/sparc/crtn.S: Likewise.
24215
2bcc53a3
UD
242162012-02-17 Ulrich Drepper <drepper@gmail.com>
24217
24218 * aout/Makefile: Remove.
24219
09c093b5
RK
242202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24221
24222 [BZ #13058]
24223 * manual/examples/argp-ex1.c (main): Format definition in GNU
24224 style.
24225 * manual/examples/argp-ex2.c (main): Likewise.
24226 * manual/examples/argp-ex3.c (main): Likewise.
24227 * manual/examples/argp-ex4.c (main): Likewise.
24228 * manual/examples/longopt.c (main): Use new-style prototype
24229 definition.
24230 * manual/examples/strncat.c (main): Specify return type and use
24231 (void) for arguments.
24232 * manual/examples/subopt.c (main): Use char **argv argument.
24233
2ee633a2
JM
242342012-02-17 Joseph Myers <joseph@codesourcery.com>
24235
24236 [BZ #5077]
24237 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24238 rounding modes.
24239
0520adde
FB
242402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24241
24242 [BZ #6907]
24243 * manual/string.texi (strchr): Change when strchrnul is
24244 recommended.
24245
3f4081cd
DGM
242462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24247
24248 [BZ #174]
24249 * manual/locale.texi (setlocale): Document LOCPATH.
24250
d1b10e78
JM
242512012-02-17 Joseph Myers <joseph@codesourcery.com>
24252
24253 [BZ #10210]
24254 * manual/process.texi (execle): Move @dots{} before last argument.
24255
79c6869c
PB
242562012-02-17 Paul Bolle <pebolle@tiscali.nl>
24257
24258 [BZ #12047]
24259 * manual/charset.texi (Generic Charset Conversion): Fix typo
24260 (LC_TYPE -> LC_CTYPE).
24261
cc6e48bc
NB
242622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24263
24264 [BZ #5805]
24265 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24266 (scalbnf): Likewise.
24267 (scalbnl): Likewise.
24268 (scalbln): Likewise.
24269 (scalblnf): Likewise.
24270 (scalblnl): Likewise.
24271 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24272 (vwarnx): Likewise.
24273 (verr): Likewise.
24274 (verrx): Likewise.
24275 * manual/filesys.texi (telldir): Use braces around return type.
24276 * manual/llio.texi (mmap): Add space after comma.
24277 (mmap64): Likewise.
24278 * manual/math.texi (jn): Use @var{} on parameter names.
24279 (jnf): Likewise.
24280 (jnl): Likewise.
24281 (yn): Likewise.
24282 (ynf): Likewise.
24283 (ynl): Likewise.
24284 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24285 line.
24286 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24287 "...".
24288 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24289 (sched_get_priority_max): Likewise.
24290 * manual/signal.texi (sigvec): Add space after comma.
24291 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24292 names.
24293 (if_indextoname): Likewise.
24294 (if_freenameindex): Likewise.
24295 (sendto): Use ',' instead of '.' in prototype.
24296 * manual/startup.texi (syscall): Use @dots{} instead of literal
24297 "...".
24298 * manual/stdio.texi (__fpending): Separate initial words of
24299 paragraph from @deftypefun line.
24300 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24301 "...".
24302 (vsyslog): Use @var{} on parameter names.
24303 * manual/terminal.texi (stty): Use @var{} on parameter names.
24304 * manual/users.texi (getutmp): Use @var{} on parameter names.
24305 (getutmpx): Likewise.
24306
5b23062f
JM
243072012-02-17 Joseph Myers <joseph@codesourcery.com>
24308
24309 [BZ #6884]
24310 * manual/stdio.texi (fopen): Fix typos in description of
24311 ",ccs=STRING".
24312
8dee4833
AJ
243132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24314
24315 [BZ #4026]
24316 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24317 get clock_id definition.
24318
9078ce93
TS
243192012-02-17 Thomas Schwinge <thomas@schwinge.name>
24320
24321 [BZ #4822]
24322 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24323 (madvise): Cast every argument to void on its own.
24324
3835c55f
JM
243252012-02-17 Joseph Myers <joseph@codesourcery.com>
24326
24327 [BZ #9902]
24328 * manual/startup.texi (Exit Status): Fix typo.
24329
35c47e37
JM
243302012-02-17 Joseph Myers <joseph@codesourcery.com>
24331
24332 [BZ #10140]
24333 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24334 * manual/examples/argp-ex2.c: Likewise.
24335 * manual/examples/argp-ex3.c: Likewise.
24336
e3b69ca7
RH
243372012-02-16 Richard Henderson <rth@redhat.com>
24338
24339 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24340 * sysdeps/s390/s390-32/initfini.c: Remove.
24341 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24342 * sysdeps/s390/s390-64/initfini.c: Remove.
24343
df83af67
KK
243442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24345
24346 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24347 compiler output for sysdeps/generic/initfini.c.
24348 * sysdeps/sh/elf/initfini.c: Remove file.
24349
f63f3380
DM
243502012-02-16 David S. Miller <davem@davemloft.net>
24351
fb59b3a4
DM
24352 [BZ #11494]
24353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24354
f63f3380
DM
24355 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24356 * sysdeps/sparc/crti.S: New file.
24357 * sysdeps/sparc/crtn.S: New file.
24358 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24359 * sysdeps/sparc/sparc64/Makefile: Likewise.
24360
df6a4a4a
MF
243612012-02-15 Mike Frysinger <vapier@gentoo.org>
24362
6dd8f3dc 24363 [BZ #3335]
df6a4a4a
MF
24364 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24365
1cac7236
RM
243662012-02-15 Roland McGrath <roland@hack.frob.com>
24367
d2c736f8
RM
24368 [BZ #4822]
24369 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24370
1cac7236
RM
24371 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24372 (write, read, close): Likewise.
24373 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24374
8e475601
JM
243752012-02-15 Joseph Myers <joseph@codesourcery.com>
24376
24377 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24378 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24379 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24380 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24381 <bits/signalfd.h>.
24382 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24384 bits/signalfd.h.
24385
ed656b40
MP
243862012-02-14 Marek Polacek <polacek@redhat.com>
24387
24388 * sysdeps/x86_64/crti.S: New file.
24389 * sysdeps/x86_64/crtn.S: New file.
24390 * sysdeps/x86_64/elf/initfini.c: Remove file.
24391
2a979d3a
JM
243922012-02-13 Joseph Myers <joseph@codesourcery.com>
24393
24394 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24395 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24396 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24397 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24398 <bits/inotify.h>.
24399 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24401 bits/inotify.h.
24402
2a418ac3
JM
244032012-02-13 Joseph Myers <joseph@codesourcery.com>
24404
24405 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24406 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24407 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24408 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24409 <bits/eventfd.h>.
24410 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24412 bits/eventfd.h.
24413
fb779be7
TS
244142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24415
e19e83c5
RM
24416 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24417 __feraiseexcept instead of feraiseexcept.
7c35ffed 24418
fb779be7
TS
24419 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24420 nanosleep invocations.
24421 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24422 strings, and add error checking for a nanosleep invocations.
24423
59ba27a6
PE
244242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24425
24426 Replace FSF snail mail address with URLs, as per GNU coding standards.
24427 Most of the snail mail addresses were wrong anyway, and omitting
24428 them makes the source code easier to maintain. Almost all of the
24429 changes are to license notices and to locale LC_IDENTIFICATION
24430 addresses, except for this one:
24431 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24432 not its snail mail address.
24433
57b957eb
RH
244342012-02-09 Richard Henderson <rth@twiddle.net>
24435
af850b1c
RH
24436 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24437 of kernel-features.h.
24438
57b957eb
RH
24439 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24440
6b73181a
MP
244412012-02-08 Marek Polacek <polacek@redhat.com>
24442
24443 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24444 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24445 * sysdeps/gnu/_G_config.h: Likewise.
24446 * sysdeps/generic/_G_config.h: Likewise.
24447
26ecc33a
AS
244482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24449
6c6dbc63
AS
24450 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24451 tests.
24452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24453
e216c012
AS
24454 * sysdeps/powerpc/powerpc32/crti.S: New file.
24455 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24456 * sysdeps/powerpc/powerpc64/crti.S: New file.
24457 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24458
26ecc33a
AS
24459 * Makeconfig (have-initfini): Don't set.
24460 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24461 * configure.in (nopic_initfini): Don't substitute.
24462 * config.h.in (HAVE_INITFINI): Don't #undef.
24463 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24464 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24465
3add8e13
JM
244662012-02-08 Joseph Myers <joseph@codesourcery.com>
24467
24468 Support crti.S and crtn.S provided directly by architectures.
24469 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24470 [crti.S in sysdirs] (omit-deps): Likewise.
24471 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24472 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24473 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24474 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24475 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24476 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24477 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24478 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24479 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24480 compiler output for sysdeps/generic/initfini.c.
24481 * sysdeps/i386/elf/Makefile: Remove file.
24482 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24483
a22f12b4
MP
244842012-02-07 Marek Polacek <polacek@redhat.com>
24485
24486 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24487 * sysdeps/gnu/_G_config.h: Likewise.
24488 * sysdeps/mach/hurd/_G_config.h: Likewise.
24489
148cf100
MP
244902012-02-07 Marek Polacek <polacek@redhat.com>
24491
24492 * math/Makefile (tests): Add tst-CMPLX2.
24493 * math/tst-CMPLX2.c: New file.
24494
cfdc0dd7
AS
244952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24496
84ba42c4
AS
24497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24498
cfdc0dd7
AS
24499 * math/libm-test.inc (jn_test): Add missing L suffix.
24500
622c86f4
MP
245012012-02-06 Marek Polacek <polacek@redhat.com>
24502
24503 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24504 * sysdeps/i386/fpu/e_powf.S: Likewise.
24505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24508 * sysdeps/i386/fpu/e_pow.S: Likewise.
24509 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24511 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24512 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24513 * sysdeps/i386/fpu/e_log2.S: Likewise.
24514 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24515 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24516 * sysdeps/i386/fpu/e_powl.S: Likewise.
24517 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24518 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24519 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24520 * sysdeps/i386/fpu/e_logl.S: Likewise.
24521 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24522 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24523 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24524 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24525 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24526 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24527 * sysdeps/i386/fpu/e_log.S: Likewise.
24528 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24529 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24530 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24531 * sysdeps/i386/fpu/e_logf.S: Likewise.
24532 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24534 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24535 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24536 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24537 * sysdeps/i386/fpu/e_log10.S: Likewise.
24538 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24539 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24540 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24541 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24542 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24543 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24544 * sysdeps/i386/asm-syntax.h: Likewise.
24545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24547 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24548 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24549 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24551 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24552 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24554 * sysdeps/powerpc/sysdep.h: Likewise.
24555 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24556 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24557
d4a54ac6
JM
245582012-02-06 Joseph Myers <joseph@codesourcery.com>
24559
24560 [BZ #411]
24561 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24562
314054ea
JM
245632012-02-06 Joseph Myers <joseph@codesourcery.com>
24564
24565 * sysdeps/i386/sysdep.h: Include <features.h>.
24566 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24567 version.
24568
d8e0ca50
JM
245692012-02-05 Joseph Myers <joseph@codesourcery.com>
24570
24571 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24572 Define.
24573 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24574 LOAD_PIC_REG_STR.
24575
b1da7dd9
JM
245762012-02-03 Joseph Myers <joseph@codesourcery.com>
24577
24578 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24579 (SETUP_PIC_REG): Use GET_PC_THUNK.
24580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24581 macro.
24582
9a1d9254
JM
245832012-02-03 Joseph Myers <joseph@codesourcery.com>
24584
24585 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24586 for non-PIC compilation.
24587 (SETUP_PIC_REG): Add .p2align directive.
24588 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24589 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24590 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24591 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24593 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24594 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24596 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24597 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24598 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24599 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24600 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24601 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24602 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24603 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24604 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24605 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24606 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24607 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24609 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24610 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24611 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24614 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24616 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24617 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24618 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24619 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24620 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24621 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24622 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24623 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24624 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24625 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24626 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24627 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24628 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24629
65dc3b75
JM
246302012-02-03 Joseph Myers <joseph@codesourcery.com>
24631
24632 * math/tst-CMPLX.c: Include <stdio.h>.
24633
d55bf177
JM
246342012-01-31 Joseph Myers <joseph@codesourcery.com>
24635
24636 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24637 float.
24638 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24639 * sysdeps/sparc/bits/mathdef.h: Likewise.
24640
69db4f8f
MP
246412012-01-31 Marek Polacek <polacek@redhat.com>
24642
24643 * libio/libio.h: Don't define _PARAMS.
24644 * locale/programs/config.h: Don't define PARAMS.
24645 * stdlib/strtol_l.c: Likewise.
24646 (__strtol_l): Remove PARAMS from the prototype.
24647
41b81892
UD
246482012-01-31 Ulrich Drepper <drepper@gmail.com>
24649
3b49edc0
UD
24650 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24651 names. Just use the correct names. Remove unnecessary wrapper
24652 functions.
24653 * malloc/arena.c: Likewise.
24654 * malloc/hooks.c: Likewise.
24655
41b81892
UD
24656 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24657 ARENA_TEST says not to. Simplify test for creation of a new arena.
24658 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24659
27a25b6e
UD
246602012-01-30 Ulrich Drepper <drepper@gmail.com>
24661
24662 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24663 into tail calls.
24664 (update_get_addr): New function.
24665 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24666 GET_ADDR_MODULE parameter.
24667
c8a89e7d
JM
246682012-01-30 Joseph Myers <joseph@codesourcery.com>
24669
24670 * crypt/cert.c: Remove __STDC__ conditionals.
24671 * crypt/crypt-entry.c: Likewise.
24672 * crypt/crypt_util.c: Likewise.
24673 * libio/filedoalloc.c: Likewise.
24674 * libio/fileops.c: Likewise.
24675 * libio/genops.c: Likewise.
24676 * libio/iofclose.c: Likewise.
24677 * libio/iofdopen.c: Likewise.
24678 * libio/iofopen.c: Likewise.
24679 * libio/iofopen64.c: Likewise.
24680 * libio/iogetdelim.c: Likewise.
24681 * libio/iopopen.c: Likewise.
24682 * libio/obprintf.c: Likewise.
24683 * libio/oldfileops.c: Likewise.
24684 * libio/oldiofclose.c: Likewise.
24685 * libio/oldiofdopen.c: Likewise.
24686 * libio/oldiofopen.c: Likewise.
24687 * libio/oldiopopen.c: Likewise.
24688 * libio/wfiledoalloc.c: Likewise.
24689 * libio/wgenops.c: Likewise.
24690 * locale/programs/xmalloc.c: Likewise.
24691 * misc/syslog.c: Likewise.
24692 * stdio-common/xbug.c: Likewise.
24693 * string/memchr.c: Likewise.
24694 * string/memcmp.c: Likewise.
24695 * string/memrchr.c: Likewise.
24696 * string/rawmemchr.c: Likewise.
24697 * sysdeps/posix/getcwd.c: Likewise.
24698 * time/strftime_l.c: Likewise.
24699
3b100462
JM
247002012-01-30 Joseph Myers <joseph@codesourcery.com>
24701
24702 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24703 * config.make.in (config-cflags-sse2avx): Define.
24704 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24705 Fix typo.
24706
607998af
CM
247072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24708
24709 * scripts/config.guess: Update from upstream config git repository.
24710 * scripts/config.sub: Likewise.
24711
3601428f
CM
247122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24713
3ac8b282
CM
24714 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24715 (EM_NUM): Update.
24716 (R_TILEPRO_*, R_TILEGX_*): New macros.
24717
e034841e
CM
24718 * scripts/firstversions.awk: Fix bug in version range handling.
24719
540d7568
CM
24720 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24721
3601428f
CM
24722 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24723
463de862
CM
24724 * include/sys/epoll.h: New file.
24725 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24726 libc_hidden_def.
24727
73139a76
UD
247282012-01-28 Ulrich Drepper <drepper@gmail.com>
24729
96bc5b45
UD
24730 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24731 Avoid unnecessary __WORDSIZE == 64 test.
24732 (fmaxf): Use VEX format if possible.
24733 (fmax): Likewise.
24734 (fminf): Likewise.
24735 (fmin): Likewise.
24736
56f6f6a2
UD
24737 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24738 * math/math_private.h: Remove libc_fegetround* and
24739 libc_fesetround*.
24740 * sysdeps/i386/configure.in: Check for -msse2avx.
24741 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24742 also if SSE2AVX is defined.
24743 Remove libc_fegetround* and libc_fesetround*.
24744 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24745 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24747 of HAS_YMM_USABLE.
24748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24753
73139a76
UD
24754 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24755
d73f93a4
AZ
247562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24757
24758 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24759 size is not set.
24760 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24761
6ee65ed6
UD
247622012-01-27 Ulrich Drepper <drepper@gmail.com>
24763
24764 [BZ #13618]
24765 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24766 relocation.
24767 * Makeconfig (libm): Define.
24768 * elf/Makefile: Add rules to build and run tst-relsort1.
24769 * elf/tst-relsort1.c: New file.
24770 * elf/tst-relsort1mod1.c: New file.
24771 * elf/tst-relsort1mod2.c: New file.
24772
8db21882
JM
247732012-01-27 Joseph Myers <joseph@codesourcery.com>
24774
24775 * math/s_ldexp.c: Remove __STDC__ conditionals.
24776 * math/s_ldexpf.c: Likewise.
24777 * math/s_ldexpl.c: Likewise.
24778 * math/s_nextafter.c: Likewise.
24779 * math/s_nexttowardf.c: Likewise.
24780 * math/s_significand.c: Likewise.
24781 * math/s_significandf.c: Likewise.
24782 * math/s_significandl.c: Likewise.
24783 * math/w_jnl.c: Likewise.
24784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24803 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24804 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24805 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24806 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24808 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24809 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24810 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24811 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24812 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24813 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24814 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24815 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24816 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24817 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24818 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24820 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24821 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24822 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24823 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24824 * sysdeps/ieee754/k_standard.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24875 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24884 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24886 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24889 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24891 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24899 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24900 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24904 * sysdeps/ieee754/s_matherr.c: Likewise.
24905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24909
965a54a4
JM
249102012-01-26 Joseph Myers <joseph@codesourcery.com>
24911
24912 * crypt/md5.h: Remove __STDC__ conditionals.
24913 * libio/libioP.h: Likewise.
24914 * locale/programs/config.h: Likewise.
24915 * sysdeps/generic/sysdep.h: Likewise.
24916 * sysdeps/i386/asm-syntax.h: Likewise.
24917 * sysdeps/s390/asm-syntax.h: Likewise.
24918 * sysdeps/unix/sysdep.h: Likewise.
24919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24921
7071ad79
JM
249222012-01-26 Joseph Myers <joseph@codesourcery.com>
24923
24924 * libio/libio.h: Remove __STDC__ conditionals.
24925 * malloc/obstack.h: Likewise.
24926 * math/complex.h: Likewise.
24927 * math/math.h: Likewise.
24928 * sysdeps/generic/_G_config.h: Likewise.
24929 * sysdeps/gnu/_G_config.h: Likewise.
24930 * sysdeps/mach/hurd/_G_config.h: Likewise.
24931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24932 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24933 * sysdeps/sparc/bits/mathdef.h: Likewise.
24934
afc5ed09
UD
249352012-01-26 Ulrich Drepper <drepper@gmail.com>
24936
24937 [BZ #13583]
24938 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24939 Clean up HAS_* macros.
afc5ed09 24940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24941 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24942 possible.
24943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24944 HAS_AVX.
24945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24950
bdb6de1d
JM
249512012-01-25 Joseph Myers <joseph@codesourcery.com>
24952
24953 * elf/tst-unique3.cc (gets): Remove declaration.
24954 * elf/tst-unique3lib.cc (gets): Likewise.
24955 * elf/tst-unique3lib2.cc (gets): Likewise.
24956 * elf/tst-unique4.cc (gets): Likewise.
24957
b15549e6
UD
249582012-01-24 Ulrich Drepper <drepper@gmail.com>
24959
24960 * include/stdio.h: Add C++ protection. Add gets declarations and
24961 definitions.
24962 * debug/tst-chk1.c: Don't declare gets here.
24963 * stdio-common/tst-gets.c: Likewise.
24964
a037381f
JM
249652012-01-24 Joseph Myers <joseph@codesourcery.com>
24966
24967 * posix/glob: Remove directory.
24968
f1d4aa75
JM
249692012-01-24 Joseph Myers <joseph@codesourcery.com>
24970
24971 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24972
81c0c964
PT
249732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24974
24975 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24976 of the non-standard EPFNOSUPPORT.
24977
0ea698ae
ST
249782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24979
24980 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24981 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24982 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24983
d220b117
UD
249842012-01-21 Ulrich Drepper <drepper@gmail.com>
24985
24986 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24987
3e1aa84e
UD
249882012-01-20 Ulrich Drepper <drepper@gmail.com>
24989
24990 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24991 transient errors.
24992 * nscd/grpcache.c (cache_addgr): Likewise.
24993 * nscd/hstcache.c (cache_addhst): Likewise.
24994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24995 * nscd/pwdcache.c (cache_addpw): Likewise.
24996 * nscd/servicescache.c (cache_addserv): Likewise.
24997
400aa020
UD
249982012-01-16 Ulrich Drepper <drepper@gmail.com>
24999
d77e7869
UD
25000 * malloc/malloc.c: Various cleanups.
25001 * malloc/hooks.c: Likewise.
25002
400aa020
UD
25003 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25004 * stdlib/bug-fmtmsg1.c: New file.
25005
25006 * stdlib/fmtmsg.c (init): Add missing unlock.
25007 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25008
e0a309cf
MP
250092012-01-12 Marek Polacek <polacek@redhat.com>
25010
25011 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25012 and _GNU_SOURCE.
25013
929d11c7
WS
250142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25015
25016 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25017 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25018 macro to ensure uniqueness of label name.
25019 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25020 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25021
41d0e869
UD
250222012-01-11 Ulrich Drepper <drepper@gmail.com>
25023
0cc5ed3b
UD
25024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25025
41d0e869
UD
25026 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25027 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25028 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25030
a47a831a
UD
250312012-01-10 Ulrich Drepper <drepper@gmail.com>
25032
daa891c0
UD
25033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25034
25035 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25036 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25037 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25038
e58ef0f2
UD
25039 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25040
a47a831a 25041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25042 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25043 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25045
25046 * math/bits/math-finite.h: Add ldexp support.
25047
a0bfc9c7
MP
250482012-01-10 Marek Polacek <polacek@redhat.com>
25049
25050 * locale/programs/localedef.h (show_archive_content): Add noreturn
25051 attribute.
25052
d6e97a1d
UD
250532012-01-09 Ulrich Drepper <drepper@gmail.com>
25054
25055 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25056
d5835c26
UD
250572012-01-08 Ulrich Drepper <drepper@gmail.com>
25058
e5f484c6
UD
25059 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25060
d5835c26
UD
25061 * io/Makefile (headers): Add bits/poll2.h.
25062
d1f741e9
WS
250632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25064
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25066 typo #include statement.
25067
ec09c1c4
UD
250682012-01-08 Ulrich Drepper <drepper@gmail.com>
25069
25070 * include/sys/cdefs.h: Define __attribute_alloc_size.
25071 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25072 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25073 * elf/pldd.c: Likewise.
25074 * iconv/iconv_charmap.c: Likewise.
25075 * iconv/iconvconfig.c: Likewise.
25076 * iconv/strtab.c: Likewise.
25077 * locale/programs/locale.c: Likewise.
25078 * locale/programs/localedef.h: Likewise.
25079 * locale/programs/simple-hash.c: Likewise.
25080 * nscd/nscd.h: Likewise.
25081 * nss/makedb.c: Likewise.
25082 * sysdeps/generic/ldconfig.h: Likewise.
25083 * locale/programs/localedef.c: Remove xmalloc prototype.
25084 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25085
20b38e03
PP
250862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25087
25088 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25089 appropriate.
25090
a0da5fe1
UD
250912012-01-08 Ulrich Drepper <drepper@gmail.com>
25092
1d5a644a 25093 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25094 * math/tst-CMPLX.c: New file.
1d5a644a 25095
8784a6db
UD
25096 * math/complex.h (CMPLXL): Fix typo.
25097
d9a216c0
UD
25098 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25099 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25100 GLIBC_2.16.
25101 * debug/tst-chk1.c: Add poll and ppoll tests.
25102 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25103 * include/sys/poll.h: Add hidden proto for ppoll.
25104 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25105 * sysdeps/mach/hurd/ppoll.c: Likewise.
25106 * io/ppoll.c: Likewise.
25107 * debug/poll_chk.c: New file.
25108 * debug/ppoll_chk.c: New file.
25109 * include/bits/poll2.h: New file.
25110 * io/bits/poll2.h: New file.
25111
ac097f5c
UD
25112 [BZ #1350]
25113 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25114
2119dcfa
UD
25115 * configure.in: static is always set to yes. Remove.
25116 * config.make.in: Don't set build-static.
25117 * Makeconfig: Remove use of build-static.
25118 * dlfcn/Makefile: Likewise.
25119 * elf/Makefile: Likewise.
25120 * math/Makefile: Likewise.
25121 * misc/Makefile: Likewise.
25122 * nptl/Makefile: Likewise.
25123 * sysdeps/mach/hurd/Makefile: Likewise.
25124
121766a9
UD
25125 * configure.in: PWD_P is not used anymore.
25126 * config.make.in: Remove PWD_P entry.
25127
51a1d39c 25128 * configure.in: Remove last remnants of RANLIB.
8720d066 25129 No need to check for signed size_t anymore.
215f4bdc
UD
25130 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25131 and IA-64.
3857022a 25132 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25133 * aclocal.m4: Likewise.
25134
d3ed7225
UD
25135 * wcsmbs/mbrtoc16.c: Implement using towc function.
25136 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25137 * wcsmbs/wcsmbsload.c: Likewise.
25138 * iconv/gconv_simple.c: Likewise.
25139 * iconv/gconv_int.h: Likewise.
25140 * iconv/gconv_builtin.h: Likewise.
25141 * iconv/iconv_prog.c: Remove CHAR16 handling.
25142
25143 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25144
25145 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25146
a0da5fe1
UD
25147 * configure.in: Remove --with-elf and --enable-bounded options.
25148 Dont set base_machine for ia64. More non-ELF conditions removed.
25149 Remove testing and setting of leading underscore information.
25150 * config.make.in (build-bounded): Set to no.
25151 * config.h.in: Remove NO_UNDERSCORES entry.
25152 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25153 them.
25154 * csu/start.c: Remove !NO_UNDERSCORE code.
25155 * locale/localeinfo.h: Likewise.
25156 * sysdeps/generic/machine-gmon.h: Likewise.
25157 * sysdeps/generic/sysdep.h: Likewise.
25158 * sysdeps/i386/sysdep.h: Likewise.
25159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25160 * sysdeps/mach/sysdep.h: Likewise.
25161 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25163 * sysdeps/sh/sysdep.h: Likewise.
25164 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25165 * sysdeps/unix/i386/sysdep.S: Likewise.
25166 * sysdeps/unix/sparc/start.c: Likewise.
25167 * sysdeps/unix/sparc/sysdep.S: Likewise.
25168 * sysdeps/unix/sparc/sysdep.h: Likewise.
25169 * sysdeps/unix/start.c: Likewise.
25170 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25171 * sysdeps/x86_64/sysdep.h: Likewise.
25172
df78418a
UD
251732012-01-07 Ulrich Drepper <drepper@gmail.com>
25174
a784e502
UD
25175 [BZ #13553]
25176 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25177 for non-gcc.
25178 * argp/argp-fmtstream.h: Use const instead __const.
25179 * argp/argp.h: Likewise.
25180 * assert/assert.h: Likewise.
25181 * bits/fenv.h: Likewise.
25182 * bits/sched.h: Likewise.
25183 * bits/sigset.h: Likewise.
25184 * bits/sigthread.h: Likewise.
25185 * catgets/nl_types.h: Likewise.
25186 * conform/data/pthread.h-data: Likewise.
25187 * crypt/crypt-private.h: Likewise.
25188 * crypt/crypt.h: Likewise.
25189 * crypt/crypt_util.c: Likewise.
25190 * ctype/ctype.h: Likewise.
25191 * debug/execinfo.h: Likewise.
25192 * debug/mbsnrtowcs_chk.c: Likewise.
25193 * debug/mbsrtowcs_chk.c: Likewise.
25194 * debug/wcsnrtombs_chk.c: Likewise.
25195 * debug/wcsrtombs_chk.c: Likewise.
25196 * debug/wcstombs_chk.c: Likewise.
25197 * dirent/dirent.h: Likewise.
25198 * dlfcn/dlfcn.h: Likewise.
25199 * elf/neededtest4.c: Likewise.
25200 * grp/grp.h: Likewise.
25201 * gshadow/gshadow.h: Likewise.
25202 * iconv/gconv.h: Likewise.
25203 * iconv/gconv_int.h: Likewise.
25204 * iconv/gconv_simple.c: Likewise.
25205 * iconv/iconv.h: Likewise.
25206 * iconv/loop.c: Likewise.
25207 * iconv/skeleton.c: Likewise.
25208 * include/aio.h: Likewise.
25209 * include/aliases.h: Likewise.
25210 * include/argz.h: Likewise.
25211 * include/arpa/inet.h: Likewise.
25212 * include/assert.h: Likewise.
25213 * include/dirent.h: Likewise.
25214 * include/dlfcn.h: Likewise.
25215 * include/execinfo.h: Likewise.
25216 * include/fcntl.h: Likewise.
25217 * include/fenv.h: Likewise.
25218 * include/glob.h: Likewise.
25219 * include/grp.h: Likewise.
25220 * include/libintl.h: Likewise.
25221 * include/mntent.h: Likewise.
25222 * include/netdb.h: Likewise.
25223 * include/pwd.h: Likewise.
25224 * include/rpc/netdb.h: Likewise.
25225 * include/sched.h: Likewise.
25226 * include/search.h: Likewise.
25227 * include/shadow.h: Likewise.
25228 * include/signal.h: Likewise.
25229 * include/stdio.h: Likewise.
25230 * include/stdlib.h: Likewise.
25231 * include/string.h: Likewise.
25232 * include/sys/socket.h: Likewise.
25233 * include/sys/stat.h: Likewise.
25234 * include/sys/statfs.h: Likewise.
25235 * include/sys/statvfs.h: Likewise.
25236 * include/sys/syslog.h: Likewise.
25237 * include/sys/time.h: Likewise.
25238 * include/sys/uio.h: Likewise.
25239 * include/time.h: Likewise.
25240 * include/unistd.h: Likewise.
25241 * include/utmp.h: Likewise.
25242 * include/wchar.h: Likewise.
25243 * include/wctype.h: Likewise.
25244 * inet/aliases.h: Likewise.
25245 * inet/arpa/inet.h: Likewise.
25246 * inet/netinet/ether.h: Likewise.
25247 * inet/netinet/in.h: Likewise.
25248 * intl/libintl.h: Likewise.
25249 * io/bits/fcntl2.h: Likewise.
25250 * io/fcntl.h: Likewise.
25251 * io/ftw.h: Likewise.
25252 * io/sys/poll.h: Likewise.
25253 * io/sys/stat.h: Likewise.
25254 * io/sys/statfs.h: Likewise.
25255 * io/sys/statvfs.h: Likewise.
25256 * io/utime.h: Likewise.
25257 * libio/bits/stdio.h: Likewise.
25258 * libio/bits/stdio2.h: Likewise.
25259 * libio/libio.h: Likewise.
25260 * libio/libioP.h: Likewise.
25261 * libio/stdio.h: Likewise.
25262 * locale/lc-ctype.c: Likewise.
25263 * locale/locale.h: Likewise.
25264 * login/utmp.h: Likewise.
25265 * malloc/arena.c: Likewise.
25266 * malloc/malloc.c: Likewise.
25267 * malloc/malloc.h: Likewise.
25268 * malloc/mcheck.c: Likewise.
25269 * malloc/mtrace.c: Likewise.
25270 * math/bits/mathcalls.h: Likewise.
25271 * math/fenv.h: Likewise.
25272 * math/math_private.h: Likewise.
25273 * misc/bits/error.h: Likewise.
25274 * misc/bits/syslog.h: Likewise.
25275 * misc/err.h: Likewise.
25276 * misc/error.h: Likewise.
25277 * misc/fstab.h: Likewise.
25278 * misc/mntent.h: Likewise.
25279 * misc/regexp.h: Likewise.
25280 * misc/search.h: Likewise.
25281 * misc/sgtty.h: Likewise.
25282 * misc/sys/mman.h: Likewise.
25283 * misc/sys/syslog.h: Likewise.
25284 * misc/sys/uio.h: Likewise.
25285 * misc/sys/xattr.h: Likewise.
25286 * misc/ttyent.h: Likewise.
25287 * nis/rpcsvc/ypclnt.h: Likewise.
25288 * nss/nss.h: Likewise.
25289 * posix/bits/unistd.h: Likewise.
25290 * posix/fnmatch.h: Likewise.
25291 * posix/glob.h: Likewise.
25292 * posix/sched.h: Likewise.
25293 * posix/spawn.h: Likewise.
25294 * posix/sys/wait.h: Likewise.
25295 * posix/unistd.h: Likewise.
25296 * posix/wordexp.h: Likewise.
25297 * pwd/pwd.h: Likewise.
25298 * resolv/netdb.h: Likewise.
25299 * resource/sys/resource.h: Likewise.
25300 * rt/aio.h: Likewise.
25301 * rt/bits/mqueue2.h: Likewise.
25302 * rt/mqueue.h: Likewise.
25303 * shadow/shadow.h: Likewise.
25304 * signal/signal.h: Likewise.
25305 * socket/send.c: Likewise.
25306 * socket/sendto.c: Likewise.
25307 * socket/sys/socket.h: Likewise.
25308 * stdio-common/printf.h: Likewise.
25309 * stdlib/bits/stdlib.h: Likewise.
25310 * stdlib/fmtmsg.h: Likewise.
25311 * stdlib/monetary.h: Likewise.
25312 * stdlib/stdlib.h: Likewise.
25313 * stdlib/ucontext.h: Likewise.
25314 * streams/stropts.h: Likewise.
25315 * string/argz.h: Likewise.
25316 * string/bits/string2.h: Likewise.
25317 * string/string.h: Likewise.
25318 * string/strings.h: Likewise.
25319 * sunrpc/rpc/auth.h: Likewise.
25320 * sunrpc/rpc/auth_des.h: Likewise.
25321 * sunrpc/rpc/clnt.h: Likewise.
25322 * sunrpc/rpc/netdb.h: Likewise.
25323 * sunrpc/rpc/pmap_clnt.h: Likewise.
25324 * sunrpc/rpc/xdr.h: Likewise.
25325 * sysdeps/generic/inttypes.h: Likewise.
25326 * sysdeps/generic/net/if.h: Likewise.
25327 * sysdeps/generic/sys/swap.h: Likewise.
25328 * sysdeps/gnu/net/if.h: Likewise.
25329 * sysdeps/gnu/utmpx.h: Likewise.
25330 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25331 * sysdeps/i386/i486/bits/string.h: Likewise.
25332 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25333 * sysdeps/s390/bits/string.h: Likewise.
25334 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25335 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25336 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25337 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25338 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25339 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25340 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25341 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25342 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25343 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25344 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25345 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25346 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25347 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25348 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25349 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25350 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25355 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25356 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25357 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25358 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25359 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25360 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25361 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25362 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25363 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25364 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25365 * sysvipc/sys/ipc.h: Likewise.
25366 * sysvipc/sys/msg.h: Likewise.
25367 * sysvipc/sys/sem.h: Likewise.
25368 * sysvipc/sys/shm.h: Likewise.
25369 * termios/termios.h: Likewise.
25370 * time/sys/time.h: Likewise.
25371 * time/time.h: Likewise.
25372 * wcsmbs/bits/wchar2.h: Likewise.
25373 * wcsmbs/uchar.h: Likewise.
25374 * wcsmbs/wchar.h: Likewise.
25375 * wctype/wctype.h: Likewise.
25376
0269750c
UD
25377 [BZ #13551]
25378 * Makeconfig: Remove all but ELF support including AIX support.
25379 * Makerules: Likewise.
25380 * config.h.in: Likewise.
25381 * config.make.in: Likewise.
25382 * configure: Likewise.
25383 * configure.in: Likewise.
25384 * csu/Makefile: Likewise.
25385 * csu/version.c: Likewise.
25386 * debug/Makefile: Likewise.
25387 * dlfcn/Makefile: Likewise.
25388 * elf/Makefile: Likewise.
25389 * extra-lib.mk: Likewise.
25390 * iconv/Makefile: Likewise.
25391 * include/libc-symbols.h: Likewise.
25392 * include/shlib-compat.h: Likewise.
25393 * resolv/Makefile: Likewise.
25394 * resolv/res_libc.c: Likewise.
25395 * rt/Makefile: Likewise.
25396 * sysdeps/i386/asm-syntax.h: Likewise.
25397 * sysdeps/i386/sysdep.h: Likewise.
25398 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25399 * sysdeps/mach/sysdep.h: Likewise.
25400 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25401 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25402 * sysdeps/s390/asm-syntax.h: Likewise.
25403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25405 * sysdeps/sh/sysdep.h: Likewise.
25406 * sysdeps/unix/sparc/sysdep.h: Likewise.
25407 * sysdeps/wordsize-32/divdi3.c: Likewise.
25408 * sysdeps/x86_64/sysdep.h: Likewise.
25409
00bbd29b
UD
25410 * argp/Versions: Remove _argp_unlock_xxx.
25411
25412 [BZ #13559]
25413 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25414 * abilist/libBrokenLocale.abilist: Likewise.
25415 * abilist/libanl.abilist: Likewise.
25416 * abilist/libc.abilist: Likewise.
25417 * abilist/libcrypt.abilist: Likewise.
25418 * abilist/libdl.abilist: Likewise.
25419 * abilist/libm.abilist: Likewise.
25420 * abilist/libnsl.abilist: Likewise.
25421 * abilist/libpthread.abilist: Likewise.
25422 * abilist/libresolv.abilist: Likewise.
25423 * abilist/librt.abilist: Likewise.
25424 * abilist/libthread_db.abilist: Likewise.
25425 * abilist/libutil.abilist: Likewise.
25426 * abilist/libnss_db.abilist: New file.
25427
25428 * scripts/abilist.awk: Add support for indirect functions.
25429
a2693a0e
UD
25430 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25431
3f05895f
UD
25432 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25433
ecb6fb48
UD
25434 * shlib-versions: Remove entries for ports architectures.
25435
664f8cb9
UD
25436 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25437 files in ports.
25438 * elf/stackguard-macros.h: Remove support for IA-64.
25439 * elf/tst-auditmod1.c: Likewise.
25440 * sysdeps/generic/ldsodefs.h: Likewise.
25441
7ae81d88
UD
25442 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25443 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25444 configure files.
25445
bdeba135
UD
25446 [BZ #13552]
25447 * configure.in: Remove --enable-omitfp support.
25448 * FAQ.in: Adjust.
25449 * config.make.in: Likewise.
25450 * Makeconfig: Likewise.
25451 * manual/install.texi: Likewise.
25452
d75a0a62
UD
25453 In case anyone cares, the IA-64 architecture could move to ports.
25454 * sysdeps/ia64/*: Removed.
25455 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25456 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25457
dcc9756b
UD
25458 [BZ #13555]
25459 * configure.in: Remove entries for unsupported architectures.
25460
d3761ebc 25461 [BZ #13533]
9954432e
UD
25462 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25463 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25464 routines.
25465 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25466 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25467 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25468 fall back to using wcrtomb.
25469 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25470 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25471 renaming.
25472 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25473 * wcsmbs/tst-c16c32-1.c: New file.
25474
25475 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25476 local variable.
25477
c3a87236
UD
25478 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25479
28926a1b
UD
25480 * elf/tst-unique3.cc: Add explicit declaration of gets.
25481 * elf/tst-unique3lib.cc: Likewise.
25482 * elf/tst-unique3lib2.cc: Likewise.
25483 * elf/tst-unique4.cc: Likewise.
25484
df78418a
UD
25485 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25486
8ecd6b2a
JM
254872012-01-06 Joseph Myers <joseph@codesourcery.com>
25488
25489 [BZ #13566]
25490 * assert/assert.h (static_assert): Don't define for C++.
25491 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25492 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25493
9f115170
UD
254942012-01-03 Ulrich Drepper <drepper@gmail.com>
25495
5e0d0300
UD
25496 * iconv/loop.c (single loop): Fix assertion in storing of
25497 remaining bytes.
25498
9f115170
UD
25499 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25500
81fb02b0
UD
255012012-01-01 Ulrich Drepper <drepper@gmail.com>
25502
25503 * posix/getconf.c: Update copyright year.
25504 * nss/getent.c: Likewise.
a316c1f6 25505 * nss/makedb.c: Likewise.
81fb02b0
UD
25506 * iconv/iconvconfig.c: Likewise.
25507 * iconv/iconv_prog.c: Likewise.
25508 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25509 * elf/pldd.c: Likewise.
25510 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25511 * catgets/gencat.c: Likewise.
25512 * csu/version.c: Likewise.
25513 * elf/ldd.bash.in: Likewise.
25514 * elf/sprof.c (print_version): Likewise.
25515 * locale/programs/locale.c: Likewise.
25516 * locale/programs/localedef.c: Likewise.
a316c1f6 25517 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25518 * nscd/nscd.c (print_version): Likewise.
25519 * debug/xtrace.sh: Likewise.
25520 * malloc/memusage.sh: Likewise.
25521 * malloc/mtrace.pl: Likewise.
25522 * debug/catchsegv.sh: Likewise.
25523
2ba92745
JJ
255242011-12-30 Jakub Jelinek <jakub@redhat.com>
25525
25526 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25527 pure attribute.
25528
dadebdae
UD
255292011-12-24 Ulrich Drepper <drepper@gmail.com>
25530
d3761ebc 25531 [BZ #13533]
db6af3eb
UD
25532 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25533 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25534 transformations.
25535 * iconv/gconv_int.h: Likewise.
25536 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25537 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25538 from libc for GLIBC_2.16.
25539 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25540 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25541 * wcsmbs/uchar.h: Really define mbstate_t.
25542 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25543 * wcsmbs/c16rtomb.c: New file.
25544 * wcsmbs/mbrtoc16.c: New file.
25545 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25546 for C/POSIX locale.
25547 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25548 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25549
dadebdae
UD
25550 * wcsmbs/wchar.h: Add missing __restrict.
25551
67371b56
UD
255522011-12-23 Ulrich Drepper <drepper@gmail.com>
25553
74033a25
UD
25554 [BZ #13532]
25555 * time/Makefile (routines): Add timespec_get.
25556 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25557 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25558 timespec for ISO C11.
25559 * time/timespec_get.c: New file.
25560 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25561 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25562
380d7e87
UD
25563 [BZ #13531]
25564 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25565 * stdlib/stdlib.h: Declare aligned_alloc.
25566 * Versions.def: Add GLIBC_2.16 for libc.
25567 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25568
4e9e7a35
UD
25569 [BZ 13527]
25570 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25571 ISO C11.
25572
380d7e87 25573 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25574 code.
25575
03a71829
UD
25576 [BZ #13528]
25577 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25578
839e283e
UD
25579 [BZ #13529]
25580 * assert/assert.h (static_assert): Define.
25581
ce5294e2 25582 * version.h: Update for 2.16 development version.
90fa7312 25583
8d44e150 25584 [BZ #13526]
d7809905
UD
25585 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25586 _ISOC11_SOURCE.
25587
c0da14cd
UD
25588 * version.h (RELEASE): Bump for 2.15 release.
25589 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25590
530a3249
MP
25591 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25592 Patch by Marek Polacek <mpolacek@redhat.com>.
25593
67371b56
UD
25594 * bits/byteswap.h: Protect long long constants with __extension__.
25595 * sysdeps/i386/bits/byteswap.h: Likewise.
25596 * sysdeps/ia64/bits/byteswap.h: Likewise.
25597 * sysdeps/s390/bits/byteswap.h: Likewise.
25598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25599
15db4de1
LD
256002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25601
25602 [BZ #13540]
bbe315ea
LD
25603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25604 destination buffer.
15db4de1
LD
25605 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25606
2b2596b1
MP
256072011-12-23 Marek Polacek <polacek@redhat.com>
25608
25609 * elf/dl-addr.c (determine_info): Add inline keyword.
25610 * elf/tst-auditmod4b.c (check_avx): Likewise.
25611 * elf/tst-auditmod6b.c (check_avx): Likewise.
25612 * elf/tst-auditmod6c.c (check_avx): Likewise.
25613 * elf/tst-auditmod7b.c (check_avx): Likewise.
25614
70c6c246
UD
256152011-12-23 Ulrich Drepper <drepper@gmail.com>
25616
25617 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25618 !__SSE_MATH__.
25619
c044cf14
LD
256202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25621
15db4de1 25622 [BZ #13540]
c044cf14
LD
25623 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25624 processing for last bytes.
25625
6b13d9d9
BH
256262011-08-06 Bruno Haible <bruno@clisp.org>
25627
d455f537
BH
25628 [BZ #13061]
25629 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25630 U+0385, not to U+1FEE.
25631
6b13d9d9
BH
25632 [BZ #13062]
25633 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25634 entry for U+00A5 U+0301.
25635
db910efd
UD
256362011-12-22 Ulrich Drepper <drepper@gmail.com>
25637
27deeafc
UD
25638 [BZ #13166]
25639 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25640 buffer for the output is too small.
25641
aed9d171
UD
25642 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25643 optimization.
25644
db910efd
UD
25645 [BZ #13185]
25646 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25647 SSE flags if possible.
25648
2bd779ae
LD
256492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25650
e7f9dac3 25651 [BZ #13540]
2bd779ae
LD
25652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25653 processing for last bytes.
25654
154bfc16
JM
256552011-12-22 Joseph Myers <joseph@codesourcery.com>
25656
25657 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25658 (syscall-list-default-options, syscall-list-default-condition)
25659 (syscall-list-includes): Define.
25660 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25661 list of ABIs and options and #if conditions for each ABI. Do not
25662 handle common syscalls between ABIs specially.
25663 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25664 Remove.
25665 (syscall-list-variants, syscall-list-32bit-options)
25666 (syscall-list-32bit-condition, syscall-list-64bit-options)
25667 (syscall-list-64bit-condition): Define.
25668 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25669 (syscall-list-variants, syscall-list-32bit-options)
25670 (syscall-list-32bit-condition, syscall-list-64bit-options)
25671 (syscall-list-64bit-condition): Define.
25672 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25673 Remove.
25674 (syscall-list-variants, syscall-list-32bit-options)
25675 (syscall-list-32bit-condition, syscall-list-64bit-options)
25676 (syscall-list-64bit-condition): Define.
25677 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25678 Remove.
25679 (syscall-list-variants, syscall-list-32bit-options)
25680 (syscall-list-32bit-condition, syscall-list-64bit-options)
25681 (syscall-list-64bit-condition): Define.
25682
21eaf3a5
UD
256832011-12-22 Ulrich Drepper <drepper@gmail.com>
25684
16c6f992
UD
25685 * locale/iso-639.def: Add brx entry.
25686
41043168
UD
25687 [BZ #13328]
25688 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25689 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25690
21eaf3a5
UD
25691 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25692 __feraiseexcept_renamed.
25693
e3a851a2
UD
256942011-12-21 Ulrich Drepper <drepper@gmail.com>
25695
4920765e
UD
25696 [BZ #13538]
25697 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25698 EPOLLET with unsigned values.
25699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25700 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25701
e3a851a2
UD
25702 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25703 to large cancellation.
25704 * math/s_cacoshf.c: Likewise.
25705 * math/s_cacoshl.c: Likewise.
25706
b27e24b8
RK
257072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25708
25709 [BZ #13305]
aebefeee 25710 [BZ #12786]
b27e24b8
RK
25711 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25712 * math/s_cacoshf.c: Likewise.
25713 * math/s_cacoshl.c: Likewise.
25714
ee190f67
UD
257152011-12-21 Ulrich Drepper <drepper@gmail.com>
25716
25717 [BZ #13439]
25718 * iconv/gconv.h: Define __GCONV_SWAP.
25719 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25720 * iconvdata/utf-16.c: Likewise.
25721 * iconvdata/utf-32.c: Likewise.
25722
707f25df
AS
257232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25724
25725 [BZ #13524]
25726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25727 numerator after shifting it by one limb.
25728
d2daaa1e
RÁE
257292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25730
25731 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25732 under [__USE_EXTERN_INLINES].
25733
a4647e72
UD
257342011-12-17 Ulrich Drepper <drepper@gmail.com>
25735
25736 [BZ #13446]
25737 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25738
f0b264f1
AZ
257392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25740
25741 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25742 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25743 optimized code.
25744 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25745 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25746 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25747 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25748 for strncasecmp/strncasecmp_l compilation.
25749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25750 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25751
8ef4f244
MP
257522011-12-08 Marek Polacek <mpolacek@redhat.com>
25753
25754 [BZ #13484]
25755 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25756 of __asm__.
25757
97ac2654
UD
257582011-12-17 Ulrich Drepper <drepper@gmail.com>
25759
25760 [BZ #13506]
25761 * time/tzfile.c (__tzfile_read): Check values from file header.
25762
91d2a845
WS
257632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25764
25765 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25766 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25767 * powerpc/powerpc32/dl-start.S: Likewise.
25768 * powerpc/powerpc32/elf/start.S: Likewise.
25769 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25770 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25771 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25772 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25773 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25774 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25775 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25776 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25777 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25778 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25779 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25780 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25781 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25782 * powerpc/powerpc32/memset.S: Likewise.
25783 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25784 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25785 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25786 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25787 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25788 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25789 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25790 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25791 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25792 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25794 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25795 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25796
a1267ba1
AZ
257972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25798
25799 * math/libm-test.inc: Added more nearbyint tests.
25800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25804
ad8ac1bd
RL
258052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25806
25807 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25808 FD_CLOEXEC.
25809
1d3e4b61
UD
258102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25811
25812 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25813 Add wcscpy-ssse3 wcscpy-c.
25814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25815 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25816 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25817 * sysdeps/x86_64/wcschr.S: New file.
25818 * sysdeps/x86_64/wcsrchr.S: New file.
25819 * string/test-strcmp.c: Remove checking of wcscmp function for
25820 wrong alignments.
25821 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25822 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25823 wcsrchr-sse2 wcsrchr-c.
25824 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25825 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25826 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25827 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25828 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25829 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25830 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25831 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25833 * wcsmbc/wcschr.c (WCSCHR): New macro.
25834
5b330a2d
UD
258352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25836
25837 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25838 * wcsmbs/test-wcsrchr.c: New file.
25839 * string/test-strrchr.c: Add wcsrchr support.
25840 (WIDE): New macro.
25841 * wcsmbs/test-wcscpy.c: New file.
25842 * string/test-strcpy.c: Add wcscpy support.
25843 (WIDE): New macro.
26428b7c 25844
f039c043
UD
258452011-12-10 Ulrich Drepper <drepper@gmail.com>
25846
25847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25848 the inner loop.
25849
850fb039
AS
258502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25851
25852 [BZ #13472]
25853 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25854
4efbd5cb
UD
258552011-12-04 Ulrich Drepper <drepper@gmail.com>
25856
52ff5dd0 25857 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25858 Minor optimizations.
52ff5dd0 25859
4efbd5cb
UD
25860 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25861 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25862 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25863
8a426e12
UD
258642011-12-03 Ulrich Drepper <drepper@gmail.com>
25865
aff2453d
UD
25866 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25867 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25868 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25869 for gcc to avoid warnings.
25870 * inet/Makefile (tests): Add tst-checks.
25871 * inet/tst-checks.c: New file.
25872
25873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25874 warning.
25875
25876 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25877 __wmemcmp_sse2.
25878
25879 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25880 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25881
8a426e12
UD
25882 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25883
9bea3473
UD
258842011-12-02 Ulrich Drepper <drepper@gmail.com>
25885
3a965496
UD
25886 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25887 problem.
25888
9bea3473
UD
25889 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25890
f101631b
UD
258912011-11-29 Joseph Myers <joseph@codesourcery.com>
25892
25893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25894 conditional on GCC version.
25895 (__arch_compare_and_exchange_val_8_acq)
25896 (__arch_compare_and_exchange_val_16_acq)
25897 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25898 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25899 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25900
a98275aa
UD
259012011-12-02 Joseph Myers <joseph@codesourcery.com>
25902
25903 * sysdeps/sh/backtrace.c: New file.
25904
d4cc29a2
AS
259052011-12-02 Andreas Schwab <schwab@redhat.com>
25906
25907 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25908 parenthesis.
25909
6257af2d
AS
259102011-12-01 Andreas Schwab <schwab@redhat.com>
25911
25912 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25913 falling back to utime.
25914
b5f44c1a
AS
259152011-11-30 Andreas Schwab <schwab@redhat.com>
25916
25917 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25918 expectations for float.
25919
f3a6cc0a
AS
259202011-11-29 Andreas Schwab <schwab@redhat.com>
25921
25922 * locale/weight.h (findidx): Add parameter len.
25923 * locale/weightwc.h (findidx): Likewise.
25924 * posix/fnmatch_loop.c (FCT): Adjust caller.
25925 * posix/regcomp.c (build_equiv_class): Likewise.
25926 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25927 * posix/regexec.c (check_node_accept_bytes): Likewise.
25928 * string/strcoll_l.c (STRCOLL): Likewise.
25929 * string/strxfrm_l.c (STRXFRM): Likewise.
25930
9d65ea3a
UD
259312011-11-17 Ulrich Drepper <drepper@gmail.com>
25932
25933 * Makefile.in: Remove CVSOPT handling.
25934 * configure.in: Remove use of AC_REVISION.
25935 * iconvdata/Makefile (distribute): No need to filter out CVS.
25936 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25937 handling.
25938
5583a086
AS
259392011-11-16 Andreas Schwab <schwab@redhat.com>
25940
25941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25942 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25943 [USE_AS_STRNCASECMP_L]: Likewise.
25944 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25945 NO_TLS_DIRECT_SEG_REFS.
25946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25947 Fix argument offsets for non-PIC.
25948 [USE_AS_STRNCASECMP_L]: Likewise.
25949 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25950 NO_TLS_DIRECT_SEG_REFS.
25951
d62a8200
UD
259522011-11-15 Ulrich Drepper <drepper@gmail.com>
25953
9d65ea3a 25954 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25955 O_CLOEXEC.
25956 * locale/loadlocale.c (_nl_load_locale): Likewise.
25957
09f93bd3
AS
259582011-11-15 Andreas Schwab <schwab@redhat.com>
25959
446514f9
AS
25960 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25961 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25962 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25963 (SYSCALL_GETTIME): Set errno on error.
25964
09f93bd3
AS
25965 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25966 count references to noai6ai_cached.
25967
312be3f9
UD
259682011-11-15 Ulrich Drepper <drepper@gmail.com>
25969
25970 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25971
25972 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25973 FD_CLOEXEC for /proc/self/maps.
25974
25975 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25976 FD_CLOEXEC for /proc/meminfo.
25977
25978 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25979 gai.conf.
25980
25981 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25982 FD_CLOEXEC for given file.
25983
25984 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25985
25986 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25987 FD_CLOEXEC for /etc/hosts.
25988 (_gethtent): Likewise.
25989
25990 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25991
25992 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25993 cancellation and set FD_CLOEXEC for /etc/netgroup.
25994
25995 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25996 reading /etc/publickey.
25997
25998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25999 allow cancellation when reading /etc/group.
26000
26001 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26002 cancellation.
26003 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26004
26005 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26006 when using data file.
26007
26008 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26009
26010 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26011 (write_nis_obj): Use "c" and "e" in fopen.
26012
26013 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26014
26015 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26016
26017 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26018
26019 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26020
26021 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26022 locale.alias.
26023
26024 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26025
26026 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26027
26028 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26029
26030 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26031 file parsing and set FD_CLOEXEC.
26032
82af0fa8
UD
260332011-11-14 Ulrich Drepper <drepper@gmail.com>
26034
26035 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26036
a5fb313c
AS
260372011-11-14 Andreas Schwab <schwab@redhat.com>
26038
26039 * malloc/arena.c (arena_get2): Don't call reused_arena when
26040 _int_new_arena failed.
26041
6abf3465
UD
260422011-11-14 Ulrich Drepper <drepper@gmail.com>
26043
26044 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26045 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26049 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26050 to compile strcasecmp and strncasecmp.
26051 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26052 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26053
26054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26055
76e3966e
UD
260562011-11-13 Ulrich Drepper <drepper@gmail.com>
26057
26058 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26059 locale-defines.sym to gen-as-const-headers.
26060 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26061 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26063 to compile strcasecmp and strncasecmp.
26064 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26065 strcasecmp_l and strncasecmp_l.
26066 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26067 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26068 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26069 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26070 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26072 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26073 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26074 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26075 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26076 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26077
ab26144e
UD
260782011-11-12 Ulrich Drepper <drepper@gmail.com>
26079
7edb22ef
UD
26080 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26081 result of SYSDEP_GETTIME_CPU to retval.
26082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26083 parameter list to macro. Remove trailing semicolon. Adjust users.
26084
9694fc44
UD
26085 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26086 variable.
26087
8ad89ef8
UD
26088 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26089 mantissa words.
26090 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26091
0c822ef9
UD
26092 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26093 from unused variable.
26094
874e0564
UD
26095 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26096 DWARF definitions.
26097 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26098 for assembling.
26099
3a2edc79
UD
26100 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26101 over namespaces.
26102
f3c2577f
UD
26103 * sunrpc/rpc_prot.c (rejected): Fix case value.
26104
294ce126
UD
26105 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26106 unsigned long long int to avoid warnings in shift.
26107
5e2b63c6
UD
26108 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26109 of use of trans.
26110 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26111 variable tmp.
26112
e7f4b08e
UD
26113 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26114 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26116
ab26144e
UD
26117 * nis/nis_table.c (nis_list): Use variable of correct type for
26118 result of __follow_path call.
26119
8a6d5255
AZ
261202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26121
26122 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26123 of math functions ceil, trunc, floor, round, and sqrt, when
26124 avaliable on the platform.
26125 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26126 name clash.
26127 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26128 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26129 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26130
aaddc98c
MP
261312011-10-30 Marek Polacek <mpolacek@redhat.com>
26132
26133 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26134 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26135
95b7042b
RM
261362011-11-11 Roland McGrath <roland@hack.frob.com>
26137
26138 * include/unistd.h: Fix __readlink return type.
26139 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26140
57769839
UD
261412011-11-11 Ulrich Drepper <drepper@gmail.com>
26142
26143 * stdlib/ucontext.h: Undo last change for makecontext.
26144
edc5984d
AS
261452011-11-11 Andreas Schwab <schwab@redhat.com>
26146
98591e58
AS
26147 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26148
edc5984d
AS
26149 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26150 * setjmp/setjmp.h: Mark functions as non-leaf.
26151 * setjmp/bits/setjmp2.h: Likewise.
26152 * stdlib/ucontext.h: Likewise.
26153
77cdc054
AS
261542011-11-10 Andreas Schwab <schwab@redhat.com>
26155
26156 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26157 (reused_arena): Don't check arena limit.
26158 (arena_get2): Atomically check arena limit.
26159
fe72eebd
UD
261602011-11-08 Ulrich Drepper <drepper@gmail.com>
26161
5f078c32
UD
26162 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26163 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26164
fe72eebd
UD
26165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26166 instructions.
26167
ae1bc2fa
AS
261682011-11-07 Andreas Schwab <schwab@redhat.com>
26169
7583a88d
AS
26170 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26171 handler when locking.
26172
ae1bc2fa
AS
26173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26174 Fix size of allocated buffer.
26175
10fb0bfa
AS
261762011-11-04 Andreas Schwab <schwab@redhat.com>
26177
998832a4
AS
26178 [BZ #10103]
26179 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26180 declarations for long double functions.
26181 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26182
10fb0bfa
AS
26183 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26184
3d7ba52b
AS
261852011-11-03 Andreas Schwab <schwab@redhat.com>
26186
a9ae54a1
AS
26187 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26188 installed.
26189
3d7ba52b
AS
26190 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26191 is disabled.
26192
bc8db248
ST
261932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26194
26195 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26196
45b96dd6
AS
261972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26198
647776f6
AS
26199 * include/alloca.h (stackinfo_alloca_round): Define.
26200 (extend_alloca): Use it.
26201 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26202 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26203 here.
26204
d91a8b93
AS
26205 * scripts/check-local-headers.sh: Ignore libaudit.h.
26206
45b96dd6
AS
26207 * nscd/Makefile (extra-objs): Make recursively expanded.
26208
432d41ce
UD
262092011-11-01 Ulrich Drepper <drepper@gmail.com>
26210
34372fc6
UD
26211 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26213
fadb59f8
UD
26214 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26215 * posix/tst-rfc3484-2.c: Likewise.
26216 * posix/tst-rfc3484-3.c: Likewise.
26217
78239589
UD
26218 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26219 process_vm_writev.
26220 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26221 process_vm_writev.
26222 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26223 process_vm_writev from libc using GLIBC_2.15 version.
26224
432d41ce
UD
26225 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26226
02f9c6cf
PP
262272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26228
26229 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26230 stack usage.
26231
3a2c0242
UD
262322011-10-31 Ulrich Drepper <drepper@gmail.com>
26233
f4ec4833
UD
26234 [BZ #13367]
26235 * nss/getent.c (initgroups_keys): Show error message in case no group
26236 names are given.
26237
3a2c0242
UD
26238 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26239 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26240 __bump_nl_timestamp.
26241 * nscd/connections (nscd_init): When host database is served open
26242 netlink socket and request notification about configuration changes.
26243 (main_loop_poll): Track netlink file descriptor and bump timestamp
26244 in case data becomes available.
26245 (main_loop_epoll): Likewise.
26246 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26247 (database_pers_head): Add extra_data fileds.
26248 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26249 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26250 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26251 Adjust caller.
26252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26253 in6ai data, call __free_in6ai.
26254 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26255 Add -DHAVE_NETLINK.
26256 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26257 interface information. Reuse previous data if netlink timestamp
26258 is not changed.
26259 (__bump_nl_timestamp): New function.
26260 (__free_in6ai): New function.
26261
636064eb
UD
262622011-10-30 Ulrich Drepper <drepper@gmail.com>
26263
26264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26265 close_not_cancel_no_status here.
26266 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26267
9beb2334
UD
262682011-10-29 Ulrich Drepper <drepper@gmail.com>
26269
6ef76f3b
UD
26270 [BZ #13276]
26271 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26272 return value.
26273
0ffc4f3e 26274 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26275 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26276 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26277
cb95113e
UD
262782011-07-03 Andreas Jaeger <aj@suse.de>
26279
26280 [BZ #10709]
26281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26282 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26283 * math/libm-test.inc (sin_test): Add test case.
26284
a1b560ff
UD
262852011-10-29 Ulrich Drepper <drepper@gmail.com>
26286
c9aaface
UD
26287 [BZ #13337]
26288 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26289 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26290
d272e7f1
UD
26291 * elf/chroot_canon.c (chroot_canon): Cleanups.
26292
1bc33071
UD
26293 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26294
1760874d
TJ
26295 [BZ #13335]
26296 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26297 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26298
51d91b18
UD
26299 * string/test-strchr.c: Make usable for strchrnul testing.
26300 * string/test-strchrnul.c: New file.
26301 * string/Makefile (strop-tests): Add strchrnul.
26302
a1b560ff 26303 * po/it.po: Update from translation team.
b611fb81 26304 * po/es.po: Likewise.
a1b560ff 26305
a5b81e1f
UD
263062011-10-28 Ulrich Drepper <drepper@gmail.com>
26307
fd52bc6d
UD
26308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26309 the three constants needed as parameters. Drop the others.
26310 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26311 __m128i_strloadu_tolower.
52e4b9eb
UD
26312 Create and initialize variable zero and use it in all the places
26313 where _mm_setzero_si128 was used.
fd52bc6d 26314
a5b81e1f
UD
26315 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26316 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26317 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26319 anymore.
26320 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26321 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26322 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26323 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26325 __mpranred, __mptan.
26326 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26327 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26328 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26329 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26330 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26331 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26332 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26333 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26334 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26335
b4343346
AS
263362011-10-28 Andreas Schwab <schwab@redhat.com>
26337
0c92d8a8
AS
26338 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26339 redefine if SHARED.
26340 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26341
b4343346
AS
26342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26343 wide char related routines to wcsmbs subdir.
26344
3871f58f
AS
263452011-10-27 Andreas Schwab <schwab@redhat.com>
26346
26347 [BZ #13344]
26348 * misc/sys/cdefs.h (__THROWNL): Define.
26349 * posix/unistd.h: Use __THREADNL instead of __THREAD
26350 for memory synchronization functions.
26351
94d44d9f
RM
263522011-10-26 Roland McGrath <roland@hack.frob.com>
26353
21b64b15 26354 [BZ #13349]
94d44d9f
RM
26355 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26356 doesn't exist.
26357 * manual/stdio.texi (Obstack Streams): Node removed.
26358
f6ce9294
AS
263592011-10-26 Andreas Schwab <schwab@redhat.com>
26360
80479147
AS
26361 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26362 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26364
f6ce9294
AS
26365 * math/math_private.h (math_force_eval): Allow non-addressable
26366 arguments.
26367 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26368
618280a1
UD
263692011-10-25 Ulrich Drepper <drepper@gmail.com>
26370
e0016b11
UD
26371 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26372 file is not needed.
26373
26374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26381 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26382 Add AVX variants.
26383 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26384 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26385 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26386 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26388 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26389 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26390 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26391 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26392 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26393 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26394 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26397 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26398 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26399 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26400 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26401 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26402
26403 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26404 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26405
618280a1
UD
26406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26407 place. Use VEX encoding when compiling for AVX.
26408
37822576
AS
264092011-10-25 Andreas Schwab <schwab@redhat.com>
26410
1f1e1947
AS
26411 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26412 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26413
37822576
AS
26414 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26415
31ea014d
UD
264162011-10-25 Ulrich Drepper <drepper@gmail.com>
26417
d7826aa1 26418 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26419 useless if() expression.
d7826aa1
UD
26420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26430 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26431 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26432 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26433 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26434 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26435 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26436 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26438 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26439
31ea014d
UD
26440 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26441
16437fec
AS
264422011-10-25 Andreas Schwab <schwab@redhat.com>
26443
26444 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26445 condition.
26446 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26447
31d3cc00
UD
264482011-10-25 Ulrich Drepper <drepper@gmail.com>
26449
26450 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26451 .text section. Avoid duplicate constants.
26452 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26462 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26463 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26464 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26469 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26479 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26480 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26481 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26482 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26483 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26484 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26485 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26486 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26487 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26488 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26489 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26490 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26491 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26494 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26496 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26497
58985aa9
UD
264982011-10-24 Ulrich Drepper <drepper@gmail.com>
26499
202c9deb
UD
26500 * sysdeps/x86_64/dla.h: Move to ...
26501 * sysdeps/x86_64/fpu/dla.h: ...here.
26502 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26503 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26504
af968f62
UD
26505 * config.make.in: Add have-mfma4 entry.
26506 * configure.in: Substitute libc_cv_cc_fma4.
26507 * math/Makefile (dbl-only-routines): Add sincostab.
26508 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26509 Use __sincostab not sincos.
26510 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26511 name is a macro.
26512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26516 using __copysign.
26517 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26518 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26519 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26520 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26521 and __inv.
26522 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26523 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26524 __copysign.
26525 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26526 define aliases when function name is a macro.
26527 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26528 sysdeps/ieee754/dbl-64/sincos.tbl.
26529 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26530 fma4-enabled routines.
26531 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26532 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26533 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26534 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26536 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26538 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26540 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26541 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26542 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26543 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26544 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26545 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26546 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26547 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26548 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26549 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26551 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26552 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26557 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26558 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26559 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26560 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26561
58985aa9
UD
26562 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26563 rename.
26564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26572
a201fbcf
AS
265732011-10-24 Andreas Schwab <schwab@redhat.com>
26574
26575 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26576
fc2ee42a
LD
265772011-10-23 Ulrich Drepper <drepper@gmail.com>
26578
bb3129bd
UD
26579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26580
0275fff8
UD
26581 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26582 prediction.
26583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26584
2fa2ae85
UD
26585 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26586 Remove unused variable magic_bits.
26587 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26588
fc2ee42a
LD
26589 * string/strnlen.c: Define and use STRNLEN macro.
26590 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26591 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26593 * wcsmbs/wcslen.c: Define and use WCSLEN.
26594 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26595 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26596 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26597 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26598 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26599 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26601
ce7dd29f
LD
266022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26603
26604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26605 strnlen-sse2-no-bsf.
26606 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26608 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26609 Add strnlen support.
26610 (USE_AS_STRNLEN): New macro.
26611 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26612 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26613 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26614 * sysdeps/x86_64/wcslen.S: New file.
26615
979c70a3
MZ
266162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26617
26618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26619 XMM-moves are used for copying on small sizes.
26620
2d09f82f
LD
266212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26622
26623 * wcsmbs/Makefile (strop-tests): Add wcschr.
26624 * wcsmbs/test-wcschr.c: New file.
26625 * string/test-strchr.c: Update.
26626 Add wcschr support.
26627 (WIDE): New macro.
26628
619fccca
LD
266292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26630
2d09f82f 26631 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26632 * wcsmbs/test-wcslen.c: New file.
26633 * string/test-strlen.c: Update.
26634 Add wcslen support.
26635 (WIDE): New macro.
26636
09f699ea
UD
266372011-10-23 Ulrich Drepper <drepper@gmail.com>
26638
26639 * po/it.po: Update from translation team.
26640
95584d3b
LD
266412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26642
26643 * sysdeps/x86_64/wcscmp.S: Update.
26644 Fix wrong comparison semantics.
26645 wcscmp shall use signed comparison not unsigned.
26646 Don't use substraction to avoid overflow bug.
26647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26648 * wcsmbc/wcscmp.c: Likewise.
26649 * string/test-strcmp.c: Likewise.
26650 Add new tests to check cases with negative values.
26651
c8b3296b
UD
266522011-10-23 Ulrich Drepper <drepper@gmail.com>
26653
26654 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26655 * sysdeps/x86_64/dla.h: ...here. New file.
26656 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26665
246ad57a
AS
266662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26667
26668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26669 __ynl_finite aliases.
26670
a1a87169
UD
266712011-10-22 Ulrich Drepper <drepper@gmail.com>
26672
0d355eb7
UD
26673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26674
a1a87169
UD
26675 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26676 define DLA_FMA.
26677 [DLA_FMA] (EMULV): Use DLA_FMA.
26678 [DLA_FMA] (MUL12): Use EMULV.
26679 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26680 that are not needed.
26681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_pow.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
ee2aafe0
AS
266892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26690
26691 * math/s_nan.c: Undef __nan.
26692 * math/s_nanf.c: Undef __nanf.
26693 * math/s_nanl.c: Undef __nanl.
26694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26695 "math_private.h".
26696
bc62c2fb
UD
266972011-10-22 Ulrich Drepper <drepper@gmail.com>
26698
77425c63
UD
26699 * math/s_catan.c: Add branch predictions.
26700 * math/s_catanf.c: Likewise.
26701 * math/s_catanh.c: Likewise.
26702 * math/s_catanhf.c: Likewise.
26703 * math/s_catanhl.c: Likewise.
26704 * math/s_catanl.c: Likewise.
26705 * math/s_cexp.c: Likewise.
26706 * math/s_cexpf.c: Likewise.
26707 * math/s_cexpl.c: Likewise.
26708 * math/s_clog.c: Likewise.
26709 * math/s_clog10.c: Likewise.
26710 * math/s_clog10f.c: Likewise.
26711 * math/s_clog10l.c: Likewise.
26712 * math/s_clogf.c: Likewise.
26713 * math/s_clogl.c: Likewise.
26714 * math/s_csqrt.c: Likewise.
26715 * math/s_csqrtf.c: Likewise.
26716 * math/s_csqrtl.c: Likewise.
26717 * math/s_ctanf.c: Likewise.
26718 * math/s_ctanh.c: Likewise.
26719 * math/s_ctanhf.c: Likewise.
26720 * math/s_ctanhl.c: Likewise.
26721 * math/s_ctanl.c: Likewise.
26722
bc62c2fb
UD
26723 * math/math_private.h: Define __nan, __nanf, __nanl.
26724 * math/s_cacosh.c: Include <math_private.h>.
26725 * math/s_cacoshl.c: Likewise.
26726 * math/s_casinh.c: Likewise.
26727 * math/s_casinhf.c: Likewise.
26728 * math/s_casinhl.c: Likewise.
26729 * math/s_ccos.c: Rely entire on ccosh.
26730 * math/s_ccosf.c: Rely entire on ccoshf.
26731 * math/s_ccosl.c: Rely entirely on ccoshl.
26732 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26733 Remove tests for FE_INVALID.
26734 * math/s_ccoshf.c: Likewise.
26735 * math/s_ccoshl.c: Likewise.
26736 * math/s_csin.c: Likewise.
26737 * math/s_csinf.c: Likewise.
26738 * math/s_csinh.c Likewise.
26739 * math/s_csinhf.c: Likewise.
26740 * math/s_csinhl.c: Likewise.
26741 * math/s_csinl.c: Likewise.
26742 * math/s_ctan.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26744 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26746
8ec250a4
UD
267472011-10-21 Ulrich Drepper <drepper@gmail.com>
26748
c196fed8
UD
26749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26750 compilation problems.
26751
8ec250a4
UD
26752 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26753 __builtin_expect.
26754
8d4f46c6
UD
267552011-10-20 Ulrich Drepper <drepper@gmail.com>
26756
ed72b654
UD
26757 * sysdeps/i386/configure.in: Test for -mfma4 option.
26758 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26759 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26760 COMMON_CPUID_INDEX_80000001.
26761 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26762 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26763 use it if FMA3 is not supported.
26764 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26765
8d4f46c6
UD
26766 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26767 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26768
d45c60c2
AS
267692011-10-20 Andreas Schwab <schwab@redhat.com>
26770
26771 [BZ #12892]
26772 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26773 it would create a cycle with a link time dependency.
26774
d9a4d2ab
UD
267752011-10-19 Ulrich Drepper <drepper@gmail.com>
26776
855d1560
UD
26777 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26778 instruction.
26779 * string/Makefile (strop-tests): Add rawmemchr.
26780 * string/test-rawmemchr.c: New file.
26781
d9a4d2ab
UD
26782 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26783 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26784 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26785 when compiling str{,n}casecmp and when AVX is available. Hook up
26786 new optimized code in initializers.
26787
8f3b1ffe
AS
267882011-10-19 Andreas Schwab <schwab@redhat.com>
26789
26790 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26791 __feraiseexcept instead of feraiseexcept.
26792
d38f1dba
UD
267932011-10-18 Ulrich Drepper <drepper@gmail.com>
26794
d9a8d0ab
UD
26795 * math/math_private.h: Define defaults for libc_fetestexcept and
26796 libc_feupdateenv.
26797 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26798 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26800 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26801 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26802 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26803 libc_fetestexcept and libc_feupdateenv.
26804
4855e3dd
UD
26805 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26806 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26807 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26808 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26809 libc_feholdexcept_setround.
26810
581d30e3
UD
26811 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26812 Add s_nearbyint-c and s_nearbyintf-c.
26813 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26814 nearbyintf inlines.
26815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26819
d38f1dba
UD
26820 * math/math_private.h: Define defaults for libc_fegetround,
26821 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26822 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26823 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26825 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26826 standard functions.
26827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26828 Remove comments and hacks for old compiler versions.
26829 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26830 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26831 libc_feholdexceptl.
26832
caa6c9d8
AS
268332011-10-18 Andreas Schwab <schwab@redhat.com>
26834
26835 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26836 (__feraiseexcept_renamed): Add __NTH.
26837 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26838 namespace violations.
26839
97c066e6
UD
268402011-10-17 Ulrich Drepper <drepper@gmail.com>
26841
99ce7b04
UD
26842 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26843
1004d182
UD
26844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26845
228a984d
UD
26846 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26847 recently added interfaces.
26848 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26849
c8553a6a
UD
26850 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26851 about macro parameter expansion.
26852
ed22dcf6
UD
26853 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26854 __NO_MATH_INLINES is defined. Cleanups.
26855
26856 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26857 and __floorf is target has SSE4.1.
26858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26859 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26860 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26861 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26862
b171c137
UD
26863 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26864 name.
26865 (floorf): Likewise.
26866
97c066e6
UD
26867 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26868
629f62ef
AS
268692011-10-17 Andreas Schwab <schwab@redhat.com>
26870
49a43d80
AS
26871 * misc/sys/cdefs.h: Fix last change.
26872
629f62ef
AS
26873 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26874 database lookup.
26875
e453f6cd
UD
268762011-10-16 Ulrich Drepper <drepper@gmail.com>
26877
aa78043a
UD
26878 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26879
ad0f5cad
UD
26880 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26883 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26885 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26887 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26888 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26889 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26890 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26891 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26892 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26893 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26894 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26895 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26896 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26897 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26898 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26899 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26900 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26901 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26902
26903 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26904 ceil, ceilf, floor, floorf.
26905
26906 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26907 Perform IRELATIVE relocations last.
26908
e453f6cd
UD
26909 * elf/do-rel.h: Add another parameter nrelative, replacing the
26910 local variable with the same name. Change name of the function
26911 to end in Rel or Rela (uppercase).
26912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26913 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26914 elf_dynamic_do_##reloc function.
26915
fd5bdc09
UD
269162011-10-15 Ulrich Drepper <drepper@gmail.com>
26917
79b195b5
UD
26918 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26919 is sufficient, at least on modern CPUs.
26920
d4a28569
UD
26921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26922
b61099b5
UD
26923 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26924 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26925
bcf01e6d
UD
26926 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26927 __expl_finite.
26928 * math/bits/math-finite.h: Add entries for exp.
26929 * math/e_expl.c: Add __*_finite alias.
26930 * sysdeps/i386/fpu/e_exp.S: Likewise.
26931 * sysdeps/i386/fpu/e_expf.S: Likewise.
26932 * sysdeps/i386/fpu/e_expl.c: Likewise.
26933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26934 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26937 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26938 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26939 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26940
ba1a0d59
UD
26941 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26942 is sufficient, at least on modern CPUs.
26943
fd5bdc09
UD
26944 * ctype/ctype-info.c (__ctype_init): Define.
26945 * include/ctype.h (__ctype_init): Declare.
26946 (__ctype_b_loc): The variable is always initialized.
26947 (__ctype_toupper_loc): Likewise.
26948 (__ctype_tolower_loc): Likewise.
26949 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26950 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26951
7872cfb0
AS
269522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26953
b468825a
AS
26954 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26955
7872cfb0
AS
26956 * configure.in: Also look in $cxxmachine/include for C++ system
26957 headers.
26958
be13f7bf
LD
269592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26960
26961 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26962 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26963 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26964 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26965 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26966 (USE_AS_WMEMCMP): New macro.
26967 Fixing indents.
26968 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26969 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26970 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26971 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26973 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26974 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26975 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26976 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26977 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26978 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26979 (USE_AS_WMEMCMP): New macro.
26980 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26981 * sysdeps/string/test-memcmp.c: Update.
26982 Fix simple_wmemcmp.
26983 Add new tests.
26984 * wcsmbs/wmemcmp.c: Update.
26985 (WMEMCMP): New macro.
26986 Fix overflow bug.
26987
556a2007
AJ
269882011-10-12 Andreas Jaeger <aj@suse.de>
26989
26990 [BZ #13268]
26991 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26992
538faaa7
UD
269932011-10-15 Ulrich Drepper <drepper@gmail.com>
26994
ab6737ff
UD
26995 * libio/iofwide.c (do_length): Avoid warning.
26996
538faaa7
UD
26997 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26998
396a21b1
UD
269992011-10-14 Ulrich Drepper <drepper@gmail.com>
27000
cdf2901f
UD
27001 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27002
38ad40ce
UD
27003 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27004 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27005 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27006 * sysdeps/i386/i686/fpu/e_log.S: New file.
27007 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27008 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27009
396a21b1
UD
27010 * ctype/ctype.h: Add support for inlined isXXX functions when
27011 compiling C++ code.
27012
6b1f68c9
AS
270132011-10-14 Andreas Schwab <schwab@redhat.com>
27014
349290c0
AS
27015 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27016
6b1f68c9
AS
27017 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27018
f2282d42
RM
270192011-10-13 Roland McGrath <roland@hack.frob.com>
27020
27021 [BZ #13291]
27022 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27023
5298ffa8
AS
270242011-10-13 Andreas Schwab <schwab@redhat.com>
27025
714fad23
AS
27026 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27027 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27028 feraiseexcept.
27029
81dcc7fb
AS
27030 * sysdeps/x86_64/memrchr.S: Check for zero size.
27031
5298ffa8
AS
27032 * string/stratcliff.c: Add memrchr tests.
27033
951fbcec
LD
270342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27035
27036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27037 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27038 rawmemchr-sse2 rawmemchr-sse2-bsf.
27039 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27040 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27041 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27042 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27043 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27044 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27045 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27046 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27048 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27049 * string/memrchr.c (MEMRCHR): New macro.
27050
0ac5ae23
UD
270512011-10-12 Ulrich Drepper <drepper@gmail.com>
27052
27053 Add integration with gcc's -ffinite-math-only and optimize wrapper
27054 functions in libm.
27055 * Versions.def: Define GLIBC_2.15 version for libm.
27056 * math/Makefile (headers): Add bits/math-finite.h.
27057 * math/bits/math-finite.h: New file.
27058 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27059 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27060 * math/e_acoshl.c: Add __*_finite alias.
27061 * math/e_acosl.c: Likewise.
27062 * math/e_asinl.c: Likewise.
27063 * math/e_atan2l.c: Likewise.
27064 * math/e_atanhl.c: Likewise.
27065 * math/e_coshl.c: Likewise.
27066 * math/e_exp10.c: Likewise.
27067 * math/e_exp10f.c: Likewise.
27068 * math/e_exp10l.c: Likewise.
27069 * math/e_exp2l.c: Likewise.
27070 * math/e_fmodl.c: Likewise.
27071 * math/e_gammal_r.c: Likewise.
27072 * math/e_hypotl.c: Likewise.
27073 * math/e_j0l.c: Likewise.
27074 * math/e_j1l.c: Likewise.
27075 * math/e_jnl.c: Likewise.
27076 * math/e_lgammal_r.c: Likewise.
27077 * math/e_log10l.c: Likewise.
27078 * math/e_log2l.c: Likewise.
27079 * math/e_logl.c: Likewise.
27080 * math/e_powl.c: Likewise.
27081 * math/e_sinhl.c: Likewise.
27082 * math/e_sqrtl.c: Likewise.
27083 * math/e_scalb.c: Completely rewritten and optimized.
27084 * math/e_scalbf.c: Likewise.
27085 * math/e_scalbl.c: Likewise.
27086 * math/w_acos.c: Likewise.
27087 * math/w_acosf.c: Likewise.
27088 * math/w_acosl.c: Likewise.
27089 * math/w_acosh.c: Likewise.
27090 * math/w_acoshf.c: Likewise.
27091 * math/w_acoshl.c: Likewise.
27092 * math/w_asin.c: Likewise.
27093 * math/w_asinf.c: Likewise.
27094 * math/w_asinl.c: Likewise.
27095 * math/w_atan2.c: Likewise.
27096 * math/w_atan2f.c: Likewise.
27097 * math/w_atan2l.c: Likewise.
27098 * math/w_atanh.c: Likewise.
27099 * math/w_atanhf.c: Likewise.
27100 * math/w_atanhl.c: Likewise.
27101 * math/w_exp10.c: Likewise.
27102 * math/w_exp10f.c: Likewise.
27103 * math/w_exp10l.c: Likewise.
27104 * math/w_fmod.c: Likewise.
27105 * math/w_fmodf.c: Likewise.
27106 * math/w_fmodl.c: Likewise.
27107 * math/w_j0.c: Likewise.
27108 * math/w_j0f.c: Likewise.
27109 * math/w_j0l.c: Likewise.
27110 * math/w_j1.c: Likewise.
27111 * math/w_j1f.c: Likewise.
27112 * math/w_j1l.c: Likewise.
27113 * math/w_jn.c: Likewise.
27114 * math/w_jnf.c: Likewise.
27115 * math/w_log.c: Likewise.
27116 * math/w_logf.c: Likewise.
27117 * math/w_logl.c: Likewise.
27118 * math/w_log10.c: Likewise.
27119 * math/w_log10f.c: Likewise.
27120 * math/w_log10l.c: Likewise.
27121 * math/w_log2.c: Likewise.
27122 * math/w_log2f.c: Likewise.
27123 * math/w_log2l.c: Likewise.
27124 * math/w_pow.c: Likewise.
27125 * math/w_powf.c: Likewise.
27126 * math/w_powl.c: Likewise.
27127 * math/w_remainder.c: Likewise.
27128 * math/w_remainderf.c: Likewise.
27129 * math/w_remainderl.c: Likewise.
27130 * math/w_scalb.c: Likewise.
27131 * math/w_scalbf.c: Likewise.
27132 * math/w_scalbl.c: Likewise.
27133 * math/w_sqrt.c: Likewise.
27134 * math/w_sqrtf.c: Likewise.
27135 * math/w_sqrtl.c: Likewise.
27136 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27137 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27138 used.
27139 * math/math_private.h: Declare __kernel_standard_f.
27140 * math/w_cosh.c: Remove cruft and optimize a bit.
27141 * math/w_coshf.c: Likewise.
27142 * math/w_coshl.c: Likewise.
27143 * math/w_exp2.c: Likewise.
27144 * math/w_exp2f.c: Likewise.
27145 * math/w_exp2l.c: Likewise.
27146 * math/w_hypot.c: Likewise.
27147 * math/w_hypotf.c: Likewise.
27148 * math/w_hypotl.c: Likewise.
27149 * math/w_lgamma.c: Likewise.
27150 * math/w_lgamma_r.c: Likewise.
27151 * math/w_lgammaf.c: Likewise.
27152 * math/w_lgammaf_r.c: Likewise.
27153 * math/w_lgammal.c: Likewise.
27154 * math/w_lgammal_r.c: Likewise.
27155 * math/w_sinh.c: Likewise.
27156 * math/w_sinhf.c: Likewise.
27157 * math/w_sinhl.c: Likewise.
27158 * math/w_tgamma.c: Likewise.
27159 * math/w_tgammaf.c: Likewise.
27160 * math/w_tgammal.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27163 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27164 Minor optimizations. Pretty printing. Remove cruft.
27165 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27166 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27169 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27170 * sysdeps/i386/fpu/e_asin.S: Likewise.
27171 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27172 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27173 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27174 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27175 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27177 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27178 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27179 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27180 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27181 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27182 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27183 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27184 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27185 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27186 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27187 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27188 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27189 * sysdeps/i386/fpu/e_log.S: Likewise.
27190 * sysdeps/i386/fpu/e_log10.S: Likewise.
27191 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27193 * sysdeps/i386/fpu/e_log2.S: Likewise.
27194 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27195 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27196 * sysdeps/i386/fpu/e_logf.S: Likewise.
27197 * sysdeps/i386/fpu/e_logl.S: Likewise.
27198 * sysdeps/i386/fpu/e_pow.S: Likewise.
27199 * sysdeps/i386/fpu/e_powf.S: Likewise.
27200 * sysdeps/i386/fpu/e_powl.S: Likewise.
27201 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27202 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27203 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27204 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27205 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27207 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27208 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27209 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27210 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27211 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27213 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27231 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27232 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27233 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27234 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27235 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27236 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27237 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27238 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27239 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27241 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27243 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27244 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27245 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27246 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27247 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27248 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27249 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27250 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27251 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27265 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27266 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27290 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27295 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27298 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27299 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27301 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27302 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27303 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27304 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27305 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27306 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27307 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27308 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27309 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27310 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27311 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27312 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27313 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27315 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27316 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27318 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27319 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27320 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27321 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27322 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27323 (__isnanf): Likewise.
27324 (__isinf_ns): Likewise.
27325 (__isinf_nsf): Likewise.
27326 (__finite): Likewise.
27327 (__finitef): Likewise.
27328 (__ieee754_sqrt): Define as macro.
27329 (__ieee754_sqrtf): Define as macro.
27330 (__ieee754_sqrtl): Define as macro.
27331 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27332 inlined copy.
27333 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27334 __FINITE_MATH_ONLY__ consistent.
27335 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27336
12cc2fcd
AS
273372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27338
a843a204
AS
27339 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27340 of rawmemchr.
27341
12cc2fcd
AS
27342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27343
c853acd5
UD
273442011-10-09 Ulrich Drepper <drepper@gmail.com>
27345
27346 * po/ja.po: Update from translation team.
27347
c658d255
RM
273482011-10-08 Roland McGrath <roland@hack.frob.com>
27349
110946e4
RM
27350 * locale/programs/locarchive.c (prepare_address_space): New function.
27351 (create_archive, enlarge_archive, open_archive): Use it.
27352
50604220
RM
27353 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27354 inside [SHARED], where it is used.
27355
c658d255
RM
27356 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27357
27358 * nss/getent.c (netgroup_keys): Remove unused variable.
27359 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27360
6a621eb7
UD
273612011-10-08 Ulrich Drepper <drepper@gmail.com>
27362
7edb55ce
UD
27363 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27364 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27366 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27367 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27368 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27369 * math/Makefile (libm-calls): Add s_isinf_ns.
27370 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27371 * math/multc3.c: Likewise.
27372 * math/s_casin.c: Likewise.
27373 * math/s_casinf.c: Likewise.
27374 * math/s_casinl.c: Likewise.
27375 * math/s_ccos.c: Likewise.
27376 * math/s_ccosf.c: Likewise.
27377 * math/s_ccosl.c: Likewise.
27378 * math/s_ctan.c: Likewise.
27379 * math/s_ctanf.c: Likewise.
27380 * math/s_ctanh.c: Likewise.
27381 * math/s_ctanhf.c: Likewise.
27382 * math/s_ctanhl.c: Likewise.
27383 * math/s_ctanl.c: Likewise.
27384 * math/w_fmod.c: Likewise.
27385 * math/w_fmodf.c: Likewise.
27386 * math/w_fmodl.c: Likewise.
27387 * math/w_remainder.c: Likewise.
27388 * math/w_remainderf.c: Likewise.
27389 * math/w_remainderl.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27391 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27392 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27394 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27395 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27396 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27397 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27398
187da0ae
UD
27399 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27400 of the number.
27401 * stdio-common/printf_fphex.c: Likewise.
27402 * stdio-common/printf_size.c: Likewise.
27403
9277c064
UD
27404 * math/e_exp10.c: Include math_private.h using <...> not "...".
27405 * math/e_exp10f.c: Likewise.
27406 * math/e_exp10l.c: Likewise.
27407 * math/e_exp2l.c: Likewise.
27408 * math/e_j0l.c: Likewise.
27409 * math/e_j1l.c: Likewise.
27410 * math/e_jnl.c: Likewise.
27411 * math/e_lgammal_r.c: Likewise.
27412 * math/e_rem_pio2l.c: Likewise.
27413 * math/e_scalb.c: Likewise.
27414 * math/e_scalbf.c: Likewise.
27415 * math/e_scalbl.c: Likewise.
27416 * math/k_cosl.c: Likewise.
27417 * math/k_sinl.c: Likewise.
27418 * math/k_tanl.c: Likewise.
27419 * math/s_cacoshf.c: Likewise.
27420 * math/s_catan.c: Likewise.
27421 * math/s_catanf.c: Likewise.
27422 * math/s_catanh.c: Likewise.
27423 * math/s_catanhf.c: Likewise.
27424 * math/s_catanhl.c: Likewise.
27425 * math/s_catanl.c: Likewise.
27426 * math/s_ccosh.c: Likewise.
27427 * math/s_ccoshf.c: Likewise.
27428 * math/s_ccoshl.c: Likewise.
27429 * math/s_cexp.c: Likewise.
27430 * math/s_cexpf.c: Likewise.
27431 * math/s_cexpl.c: Likewise.
27432 * math/s_clog.c: Likewise.
27433 * math/s_clog10.c: Likewise.
27434 * math/s_clog10f.c: Likewise.
27435 * math/s_clog10l.c: Likewise.
27436 * math/s_clogf.c: Likewise.
27437 * math/s_clogl.c: Likewise.
27438 * math/s_csin.c: Likewise.
27439 * math/s_csinf.c: Likewise.
27440 * math/s_csinh.c: Likewise.
27441 * math/s_csinhf.c: Likewise.
27442 * math/s_csinhl.c: Likewise.
27443 * math/s_csinl.c: Likewise.
27444 * math/s_csqrt.c: Likewise.
27445 * math/s_csqrtf.c: Likewise.
27446 * math/s_csqrtl.c: Likewise.
27447 * math/s_ctan.c: Likewise.
27448 * math/s_ctanf.c: Likewise.
27449 * math/s_ctanh.c: Likewise.
27450 * math/s_ctanhf.c: Likewise.
27451 * math/s_ctanhl.c: Likewise.
27452 * math/s_ctanl.c: Likewise.
27453 * math/s_ldexp.c: Likewise.
27454 * math/s_ldexpf.c: Likewise.
27455 * math/s_ldexpl.c: Likewise.
27456 * math/s_significand.c: Likewise.
27457 * math/s_significandf.c: Likewise.
27458 * math/s_significandl.c: Likewise.
27459 * math/w_acos.c: Likewise.
27460 * math/w_acosf.c: Likewise.
27461 * math/w_acosh.c: Likewise.
27462 * math/w_acoshf.c: Likewise.
27463 * math/w_acoshl.c: Likewise.
27464 * math/w_acosl.c: Likewise.
27465 * math/w_asin.c: Likewise.
27466 * math/w_asinf.c: Likewise.
27467 * math/w_asinl.c: Likewise.
27468 * math/w_atan2.c: Likewise.
27469 * math/w_atan2f.c: Likewise.
27470 * math/w_atan2l.c: Likewise.
27471 * math/w_atanh.c: Likewise.
27472 * math/w_atanhf.c: Likewise.
27473 * math/w_atanhl.c: Likewise.
27474 * math/w_cosh.c: Likewise.
27475 * math/w_coshf.c: Likewise.
27476 * math/w_coshl.c: Likewise.
27477 * math/w_dremf.c: Likewise.
27478 * math/w_exp10.c: Likewise.
27479 * math/w_exp10f.c: Likewise.
27480 * math/w_exp10l.c: Likewise.
27481 * math/w_exp2.c: Likewise.
27482 * math/w_exp2f.c: Likewise.
27483 * math/w_fmod.c: Likewise.
27484 * math/w_fmodf.c: Likewise.
27485 * math/w_fmodl.c: Likewise.
27486 * math/w_hypot.c: Likewise.
27487 * math/w_hypotf.c: Likewise.
27488 * math/w_hypotl.c: Likewise.
27489 * math/w_j0.c: Likewise.
27490 * math/w_j0f.c: Likewise.
27491 * math/w_j0l.c: Likewise.
27492 * math/w_j1.c: Likewise.
27493 * math/w_j1f.c: Likewise.
27494 * math/w_j1l.c: Likewise.
27495 * math/w_jn.c: Likewise.
27496 * math/w_jnf.c: Likewise.
27497 * math/w_jnl.c: Likewise.
27498 * math/w_lgamma.c: Likewise.
27499 * math/w_lgamma_r.c: Likewise.
27500 * math/w_lgammaf.c: Likewise.
27501 * math/w_lgammaf_r.c: Likewise.
27502 * math/w_lgammal.c: Likewise.
27503 * math/w_lgammal_r.c: Likewise.
27504 * math/w_log.c: Likewise.
27505 * math/w_log10.c: Likewise.
27506 * math/w_log10f.c: Likewise.
27507 * math/w_log10l.c: Likewise.
27508 * math/w_log2.c: Likewise.
27509 * math/w_log2f.c: Likewise.
27510 * math/w_log2l.c: Likewise.
27511 * math/w_logf.c: Likewise.
27512 * math/w_logl.c: Likewise.
27513 * math/w_pow.c: Likewise.
27514 * math/w_powf.c: Likewise.
27515 * math/w_powl.c: Likewise.
27516 * math/w_remainder.c: Likewise.
27517 * math/w_remainderf.c: Likewise.
27518 * math/w_remainderl.c: Likewise.
27519 * math/w_scalb.c: Likewise.
27520 * math/w_scalbf.c: Likewise.
27521 * math/w_scalbl.c: Likewise.
27522 * math/w_sinh.c: Likewise.
27523 * math/w_sinhf.c: Likewise.
27524 * math/w_sinhl.c: Likewise.
27525 * math/w_sqrt.c: Likewise.
27526 * math/w_sqrtf.c: Likewise.
27527 * math/w_sqrtl.c: Likewise.
27528 * math/w_tgamma.c: Likewise.
27529 * math/w_tgammaf.c: Likewise.
27530 * math/w_tgammal.c: Likewise.
27531
6a621eb7
UD
27532 * po/ja.po: Update from translation team.
27533
bf582445
AJ
275342011-09-29 Andreas Jaeger <aj@suse.de>
27535
f9efbf3a
AJ
27536 [BZ #13179]
27537 * sunrpc/netname.c (netname2host): Fix logic.
27538
bf582445
AJ
27539 [BZ #6779]
27540 [BZ #6783]
27541 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27542 correctly.
27543 * math/w_remainder.c (__remainder): Likewise.
27544 * math/w_remainderf.c (__remainderf): Likewise.
27545 * math/libm-test.inc (remainder_test): Add test cases.
27546
48693bea
AK
275472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27548
27549 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27550 sdiv_qrnnd.
27551
42622229
LD
275522011-10-07 Ulrich Drepper <drepper@gmail.com>
27553
27554 * string/test-memcmp.c: Avoid unncessary #defines.
27555 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27556
093ecf92
LD
275572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27558
27559 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27560 Use new sse2 version for core i3 - i7 as it's faster
27561 than sse42 version.
27562 (bit_Prefer_PMINUB_for_stringop): New.
27563 * sysdeps/x86_64/rawmemchr.S: Update.
27564 Replace with faster SSE2 version.
27565 * sysdeps/x86_64/memrchr.S: New file.
27566 * sysdeps/x86_64/memchr.S: Update.
27567 Replace with faster SSE2 version.
27568
fde56e5c
MP
275692011-09-12 Marek Polacek <mpolacek@redhat.com>
27570
27571 * elf/dl-load.c (lose): Add cast to avoid warning.
27572
21fd49a9
UD
275732011-10-07 Ulrich Drepper <drepper@gmail.com>
27574
5a06e643
UD
27575 * po/ca.po: Update from translation team.
27576
684ae515
UD
27577 * inet/getnetgrent_r.c: Hook up nscd.
27578 * nscd/Makefile (routines): Add nscd_netgroup.
27579 (nscd-modules): Add netgroupcache.
27580 (CFLAGS-netgroupcache.c): Define.
27581 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27582 (cache_search): Add const to second parameter.
27583 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27584 INNETGR.
27585 (dbs): Add netgrdb entry.
27586 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27587 (verify_persistent_db): Handle netgrdb.
27588 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27589 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27590 GETFDNETGR.
27591 (netgroup_response_header): Define.
27592 (innetgroup_response_header): Define.
27593 (datahead): Add netgroup_response_header and innetgroup_response_header
27594 elements.
27595 * nscd/nscd.conf: Add entries for netgroup cache.
27596 * nscd/nscd.h (dbtype): Add netgrdb.
27597 (_PATH_NSCD_NETGROUP_DB): Define.
27598 (netgroup_iov_disabled): Declare.
27599 (xmalloc, xcalloc, xrealloc): Move declarations here.
27600 (cache_search): Adjust prototype.
27601 Add netgroup-related prototypes.
27602 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27603 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27604 (__nscd_innetgr): Declare.
27605 * nscd/selinux.c (perms): Use access_vector_t as element type and
27606 add netgroup-related initializers.
27607 * nscd/netgroupcache.c: New file.
27608 * nscd/nscd_netgroup.c: New file.
27609 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27610 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27611 For four parameters use innetgr.
27612 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27613 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27614 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27615 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27616
21fd49a9
UD
27617 * nscd/connections.c (register_traced_file): Don't register file
27618 for disabled databases.
27619
054c0457
UD
276202011-10-06 Ulrich Drepper <drepper@gmail.com>
27621
32b63198
UD
27622 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27623
054c0457
UD
27624 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27625 from tree and freeing node.
27626
64031225
JO
276272011-09-25 Jiri Olsa <jolsa@redhat.com>
27628
27629 * nss/nsswitch.c (__nss_database_lookup): Handle
27630 nss_parse_service_list out of memory case.
27631
0490345c
JO
276322011-09-15 Jiri Olsa <jolsa@redhat.com>
27633
27634 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27635 out of memory case.
27636
3a62d00d
AS
276372011-10-04 Andreas Schwab <schwab@redhat.com>
27638
27639 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27640 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27641 pass it down.
27642 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27643 elf_machine_rela, elf_machine_lazy_rel.
27644 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27645 (ELF_DYNAMIC_DO_REL): Likewise.
27646 (ELF_DYNAMIC_DO_RELA): Likewise.
27647 (ELF_DYNAMIC_RELOCATE): Likewise.
27648 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27649 to ELF_DYNAMIC_DO_REL.
27650 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27651 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27652 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27653 elf_machine_rela.
27654 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27655 skip_ifunc, don't call ifunc function if non-zero.
27656 (elf_machine_rela): Likewise.
27657 (elf_machine_lazy_rel): Likewise.
27658 (elf_machine_lazy_rela): Likewise.
27659 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27660 (elf_machine_lazy_rel): Likewise.
27661 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27662 Likewise.
27663 (elf_machine_lazy_rel): Likewise.
27664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27665 Likewise.
27666 (elf_machine_lazy_rel): Likewise.
27667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27668 (elf_machine_lazy_rel): Likewise.
27669 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27670 (elf_machine_lazy_rel): Likewise.
27671 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27672 (elf_machine_lazy_rel): Likewise.
27673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27674 (elf_machine_lazy_rel): Likewise.
27675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27676 (elf_machine_lazy_rel): Likewise.
27677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27678 (elf_machine_lazy_rel): Likewise.
27679
68577918
UD
276802011-09-28 Ulrich Drepper <drepper@gmail.com>
27681
27682 * nss/nss_files/files-init.c (_nss_files_init): Use static
27683 initialization for all the *_traced_file variables.
27684
68822d74
AS
276852011-09-28 Andreas Schwab <schwab@redhat.com>
27686
27687 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27688
2056100b
RM
276892011-09-27 Roland McGrath <roland@hack.frob.com>
27690
27691 [BZ #13226]
27692 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27693
32c76b63
AS
276942011-09-27 Andreas Schwab <schwab@redhat.com>
27695
27696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27697 Reread the line before reparsing it.
27698
bf972c9d
AS
276992011-09-26 Andreas Schwab <schwab@redhat.com>
27700
27701 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27702
e057a1b5
JM
277032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27704 Maxim Kuvyrkov <maxim@codesourcery.com>
27705 Joseph Myers <joseph@codesourcery.com>
27706
27707 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27708 if needed for __stack_chk_guard.
27709
bc7e1c36
RM
277102011-09-19 Roland McGrath <roland@hack.frob.com>
27711
ecb1482f
RM
27712 * sysdeps/posix/spawni.c (script_execute): Always define it.
27713 It will be optimized away if unused.
27714 (maybe_script_execute): New function.
27715 (__spawni): Call it.
27716
bc7e1c36
RM
27717 * Makerules: Don't include tls.make.
27718 (config-tls): Always set to thread.
27719 * tls.make.c: File removed.
27720
1c3b002b
MF
277212011-09-19 Mike Frysinger <vapier@gentoo.org>
27722
27723 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27724 * config.make.in (CPPFLAGS-config): New substituted variable.
27725
2840865d
UD
277262011-09-15 Ulrich Drepper <drepper@gmail.com>
27727
88738eb6
UD
27728 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27729
cbf645a6 27730 [BZ #13192]
2840865d
UD
27731 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27732 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27733
b402e91a
RM
277342011-09-15 Roland McGrath <roland@hack.frob.com>
27735
27736 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27737 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27738 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27739 (CALL_FAIL): Likewise.
27740 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27741 (CALL_FAIL): Macro removed.
27742 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27743
4c1a1f71
UD
277442011-09-15 Ulrich Drepper <drepper@gmail.com>
27745
27746 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27747 for __FINITE_MATH_ONLY__ == 1.
27748
edc121be
AS
277492011-09-15 Andreas Schwab <schwab@redhat.com>
27750
27751 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27752 __ieee754_sqrt instead of sqrt.
27753 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27754 __ieee754_sqrtf instead of sqrtf.
27755 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27756 __floorf instead of floorf.
27757 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27758 __floorf, __truncf instead of floorf, truncf.
27759
cd205654
UD
277602011-09-14 Ulrich Drepper <drepper@gmail.com>
27761
ee4d0315
UD
27762 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27763
cd205654
UD
27764 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27765 __extern_always_inline.
27766 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27767 32-bit.
27768
48b67d71
AS
277692011-09-14 Andreas Schwab <schwab@redhat.com>
27770
27771 * elf/rtld.c (dl_main): Also relocate in dependency order when
27772 doing symbol dependency testing.
27773
1ae12c75
AS
277742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27775
27776 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27777 Always define `refsym'.
27778
995a80df
AS
277792011-09-13 Andreas Schwab <schwab@redhat.com>
27780
e529793b
AS
27781 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27782 (__FD_ELT): Renamed from __FDELT.
27783 * misc/bits/select2.h (__FD_ELT): Likewise.
27784 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27785 __FD_MASK instead of __FDELT, __FDMASK.
27786 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27787 Likewise.
27788 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27789 Likewise.
27790
52d4fef8
AS
27791 * elf/Makefile (gen-ldd): Fix pattern.
27792
995a80df
AS
27793 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27794 (init_tls): Likewise.
27795
8682f8b0
UD
277962011-09-12 Ulrich Drepper <drepper@gmail.com>
27797
27798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27799
de82006d
AS
278002011-09-12 Andreas Schwab <schwab@redhat.com>
27801
a7c8e6a1
AS
27802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27803 `struct cmsghdr *' instead of `void *'.
27804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27805 Likewise.
27806
0f31fe77
AS
278072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27808
27809 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27810 if non-absolute.
27811 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27812 ldd_rewrite_script.
0f31fe77 27813
32b4c839
UD
278142011-09-11 Ulrich Drepper <drepper@gmail.com>
27815
83cd1420
UD
27816 * configure.in: Remove --with-tls option.
27817 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27818 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27819 out in case it is missing.
27820 * sysdeps/ia64/elf/configure.in: Likewise.
27821 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27822 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27823 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27824 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27825 * sysdeps/sh/elf/configure.in: Likewise.
27826 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27827 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27828 * sysdeps/x86_64/elf/configure.in: Likewise.
27829 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27830 * sysdeps/mach/hurd/tls.h: Likewise.
27831
633f745d
UD
27832 [BZ #13067]
27833 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27834
f318beb8
UD
27835 [BZ #13090]
27836 * configure.in: Fix use of AC_INIT.
27837
32b4c839
UD
27838 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27839
3ce1f295
UD
278402011-09-10 Ulrich Drepper <drepper@gmail.com>
27841
bb016596
UD
27842 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27843 __set_errno.
8e58439c
UD
27844 * malloc/hooks.c: Likewise.
27845
aebae053 27846 [BZ #11929]
02d46fc4
UD
27847 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27848 variables statically.
27849 (narenas): Initialize.
27850 (list_lock): Initialize.
bb016596
UD
27851 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27852 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27853 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27854 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27855 Add initializers to main_arena and mp_.
27856 (malloc_state): Remove pagesize member. Change all users to use
27857 GLRO(dl_pagesize).
27858
27859 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27860 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27861 is always initialized.
27862
22a89187
UD
27863 * malloc/malloc.c: Removed unused configurations and dead code.
27864 * malloc/arena.c: Likewise.
27865 * malloc/hooks.c: Likewise.
02d46fc4 27866 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27867
d063d164
UD
27868 * include/tls.h: Removed. USE___THREAD must always be defined.
27869 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27870 * elf/dl-libc.c: Likewise.
27871 * elf/dl-tsd.c: Likewise.
27872 * include/errno.h: Likewise.
27873 * include/netdb.h: Likewise.
27874 * include/resolv.h: Likewise.
27875 * inet/herrno-loc.c: Likewise.
27876 * inet/herrno.c: Likewise.
27877 * malloc/arena.c: Likewise.
27878 * malloc/hooks.c: Likewise.
27879 * malloc/malloc.c: Likewise.
27880 * resolv/res-state.c: Likewise.
27881 * resolv/res_libc.c: Likewise.
27882 * sysdeps/i386/dl-machine.h: Likewise.
27883 * sysdeps/ia64/dl-machine.h: Likewise.
27884 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27885 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27886 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27887 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27888 * sysdeps/sh/dl-machine.h: Likewise.
27889 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27890 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27891 * sysdeps/unix/i386/sysdep.S: Likewise.
27892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27893 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27898 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27902 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27903 * sysdeps/x86_64/dl-machine.h: Likewise.
27904 * tls.make.c: Likewise.
27905
3ce1f295
UD
27906 * configure.in: Remove --with-__thread option. Make tests for
27907 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27908 tls_model attribute fail if no support is available. Remove
27909 USE_IN_LIBIO.
27910 * Makeconfig: Adjust for dropped configure option. All features are
27911 now mandatory.
27912 * Makerules: Likewise.
27913 * Versions.def: Likewise.
27914 * argp/argp-fmtstream.c: Likewise.
27915 * argp/argp-fmtstream.h: Likewise.
27916 * argp/argp-help.c: Likewise.
27917 * assert/assert.c: Likewise.
27918 * config.h.in: Likewise.
27919 * config.make.in: Likewise.
27920 * configure: Likewise.
27921 * configure.in: Likewise.
27922 * csu/Versions: Likewise.
27923 * csu/init.c: Likewise.
27924 * elf/tst-audit2.c: Likewise.
27925 * elf/tst-tls10.c: Likewise.
27926 * elf/tst-tls10.h: Likewise.
27927 * elf/tst-tls11.c: Likewise.
27928 * elf/tst-tls12.c: Likewise.
27929 * elf/tst-tls14.c: Likewise.
27930 * elf/tst-tlsmod11.c: Likewise.
27931 * elf/tst-tlsmod12.c: Likewise.
27932 * elf/tst-tlsmod13.c: Likewise.
27933 * elf/tst-tlsmod13a.c: Likewise.
27934 * elf/tst-tlsmod14a.c: Likewise.
27935 * elf/tst-tlsmod15b.c: Likewise.
27936 * elf/tst-tlsmod16a.c: Likewise.
27937 * elf/tst-tlsmod16b.c: Likewise.
27938 * elf/tst-tlsmod7.c: Likewise.
27939 * elf/tst-tlsmod8.c: Likewise.
27940 * elf/tst-tlsmod9.c: Likewise.
27941 * gmon/gmon.c: Likewise.
27942 * grp/fgetgrent_r.c: Likewise.
27943 * grp/putgrent.c: Likewise.
27944 * hurd/fopenport.c: Likewise.
27945 * include/libc-symbols.h: Likewise.
27946 * include/tls.h: Likewise.
27947 * intl/gettextP.h: Likewise.
27948 * intl/loadinfo.h: Likewise.
27949 * locale/global-locale.c: Likewise.
27950 * locale/localeinfo.h: Likewise.
27951 * mach/devstream.c: Likewise.
27952 * malloc/arena.c: Likewise.
27953 * malloc/set-freeres.c: Likewise.
27954 * misc/err.c: Likewise.
27955 * misc/getttyent.c: Likewise.
27956 * misc/mntent_r.c: Likewise.
27957 * posix/getopt.c: Likewise.
27958 * posix/wordexp.c: Likewise.
27959 * pwd/fgetpwent_r.c: Likewise.
27960 * resolv/Versions: Likewise.
27961 * resolv/res_hconf.c: Likewise.
27962 * shadow/fgetspent_r.c: Likewise.
27963 * shadow/putspent.c: Likewise.
27964 * stdio-common/printf_fphex.c: Likewise.
27965 * stdio-common/tmpfile.c: Likewise.
27966 * stdlib/abort.c: Likewise.
27967 * stdlib/fmtmsg.c: Likewise.
27968 * sunrpc/auth_unix.c: Likewise.
27969 * sunrpc/clnt_perr.c: Likewise.
27970 * sunrpc/clnt_tcp.c: Likewise.
27971 * sunrpc/clnt_udp.c: Likewise.
27972 * sunrpc/clnt_unix.c: Likewise.
27973 * sunrpc/openchild.c: Likewise.
27974 * sunrpc/svc_simple.c: Likewise.
27975 * sunrpc/svc_tcp.c: Likewise.
27976 * sunrpc/svc_udp.c: Likewise.
27977 * sunrpc/svc_unix.c: Likewise.
27978 * sunrpc/xdr.c: Likewise.
27979 * sunrpc/xdr_array.c: Likewise.
27980 * sunrpc/xdr_rec.c: Likewise.
27981 * sunrpc/xdr_ref.c: Likewise.
27982 * sunrpc/xdr_stdio.c: Likewise.
27983
1248c1c4
PB
279842011-09-09 Ulrich Drepper <drepper@gmail.com>
27985
27986 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27987
279882011-07-03 Andreas Jaeger <aj@suse.de>
27989
27990 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27991 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27992 regenerate with gen-libm-tests.pl.
27993
279942010-05-12 Petr Baudis <pasky@suse.cz>
27995
27996 [BZ #11589]
27997 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27998 around j0() zero points by switching to j1().
27999 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28003
f22e1074
UD
280042011-09-09 Ulrich Drepper <drepper@gmail.com>
28005
f19009c1
UD
28006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28007 instead of 0.
28008 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28009 instead of 0.
f19009c1
UD
28010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28011 Patch in part by Pavel Roskin <proski@gnu.org>.
28012
3f8cc204
UD
28013 [BZ #13138]
28014 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28015 realloc.
28016 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28017 Free memory block if necessary.
28018
f22e1074
UD
28019 [BZ #12847]
28020 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28021 be NULL. Don't lock in this case.
28022
0a2349f9
RM
280232011-09-09 Roland McGrath <roland@hack.frob.com>
28024
28025 * elf/elf.h (ELFOSABI_GNU): New macro.
28026 (ELFOSABI_LINUX): Define to that.
28027
f3cdd467
DZ
280282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28029
28030 * string/strncat.c (strncat): Undef the symbol in case it has been
28031 defined in bits/string.h.
28032
74718d13
UD
280332011-09-09 Ulrich Drepper <drepper@gmail.com>
28034
633e9e0f
UD
28035 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28036
0a2349f9 28037 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28038 link map.
28039
f9924780
AJ
280402011-08-17 Andreas Jaeger <aj@suse.de>
28041
28042 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28043
7f5517aa
PP
280442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28045 Ian Lance Taylor <iant@google.com>
28046
28047 * math/libm-test.inc (lround_test): New testcase.
28048 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28049
762011fe
UD
280502011-09-08 Ulrich Drepper <drepper@gmail.com>
28051
92963737
UD
28052 * Makefile: Remove support for automatic cvs check-ins.
28053 * Makerules: Likewise.
28054 * config.make.in: Likewise.
28055 * configure.in: Likewise.
28056 * intl/Makefile: Likewise.
28057 * locale/Makefile: Likewise.
28058 * po/Makefile: Likewise.
28059 * posix/Makefile: Likewise.
28060 * sysdeps/gnu/Makefile: Likewise.
28061 * sysdeps/mach/hurd/Makefile: Likewise.
28062 * sysdeps/sparc/sparc32/Makefile: Likewise.
28063
b0727fd8
JS
28064 [BZ #13118]
28065 * posix/Makefile (bug-regex32-ENV): Define.
28066 Patch by John Stanley <jpsinthemix@verizon.net>.
28067
a0f33f99
UD
28068 * misc/Makefile (headers): Add bits/select2.h.
28069 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28070 * misc/bits/select2.h: New file.
28071 * include/bits/select2.h: New file.
28072 * debug/Makefile (routines): Add fdelt_chk.
28073 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28074 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28075 FD_ISSET.
28076 * debug/fdelt_chk.c: New file.
28077
762011fe
UD
28078 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28079 * wcsmbs/test-wmemcmp.c: Likewise.
28080 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28081 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28082
280832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28084
28085 * string/Makefile (strop-tests): Add memcmp.
28086 * string/test-wmemcmp.c: New file.
28087 * string/test-memcmp.c: Add wmemcmp support.
28088
7f513ec8
RM
280892011-09-08 Roland McGrath <roland@hack.frob.com>
28090
0442afb4
RM
28091 [BZ #13153]
28092 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28093 2011-07-19 change.
28094
7f513ec8
RM
28095 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28096 garbage value in a __mach_port_mod_refs call in the cases of the
28097 task-self and thread-self ports.
28098
a12b2239
ST
280992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28100
28101 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28102
610f9ab4
AS
281032011-09-08 Andreas Schwab <schwab@redhat.com>
28104
7f513ec8 28105 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28106
48882a1a
LD
281072011-09-07 Ulrich Drepper <drepper@gmail.com>
28108
b49865be
UD
28109 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28110
fdc86bc9
UD
28111 * elf/dl-libc.c (dlerror_run): Pass back error code from
28112 dl_catch_error.
28113
c966526a
UD
28114 [BZ #13123]
28115 * elf/dl-load.c (lose): Free l_origin if it is valid.
28116
48882a1a
LD
28117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28118 names.
28119 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28124 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28125
77a2a8b4
AZ
281262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28127
28128 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28129 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28131 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28132 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28133 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28134 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28135 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28136 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28137 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28138
24f579d8
AM
281392011-08-15 Alan Modra <amodra@gmail.com>
28140
28141 [BZ #13092]
28142 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28143 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28144 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28145 ppc_mcount to static-only-routines.
28146 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28147 __mcount_internal.
28148 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28149 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28150
3d4837df
UD
281512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28152
28153 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28154 for finite and infinity parameters.
28155
22700377
WS
281562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28157
28158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28159 and add nop instructions for throughput optimization.
28160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28161
5025581e
WS
281622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28163
28164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28165 aligned copy for power7 with vector-scalar instructions.
28166 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28167
08a300c9
L
281682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28169
28170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28171 AVX check.
28172
59178ef9
AS
281732011-09-07 Andreas Schwab <schwab@redhat.com>
28174
28175 [BZ #13144]
28176 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28177 last change.
28178
e38ba7ab
UD
281792011-09-07 Ulrich Drepper <drepper@gmail.com>
28180
28181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28182 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28183 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28184 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28185 clock_gettime.
28186
d53a73ac
UD
281872011-09-06 Ulrich Drepper <drepper@gmail.com>
28188
fc8bffcc
UD
28189 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28190 Forgot to demangle the pointer.
28191
ceaa0c5d
UD
28192 * sysdeps/i386/sysdep.h: Define atom_text_section.
28193 * sysdeps/x86_64/sysdep.h: Likewise.
28194 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28195 section with atom_text_section.
28196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28198 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28201
a77d3c17
UD
28202 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28203 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28204 already be defined. Change to take two parameters and don't assign
28205 result to variable. Adjust all users.
28206 Define INTERNAL_GETTIME if not already defined.
28207 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28208 call.
28209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28210 HAVE_CLOCK_GETTIME_VSYSCALL.
28211 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28212
d53a73ac
UD
28213 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28214 gettimeofday vsyscall, just use time.
28215
a8f84144
AS
282162011-09-06 Andreas Schwab <schwab@redhat.com>
28217
28218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28219 <errno.h>.
28220
ef606249
UD
282212011-09-06 Ulrich Drepper <drepper@gmail.com>
28222
28223 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28224 syscall on x86-64.
28225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28226 syscall.
28227 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28229 syscall if possible.
28230
6585cb60
UD
282312011-09-05 Ulrich Drepper <drepper@gmail.com>
28232
28233 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28234 e_ident. Don't pass to find_mapsXX.
28235 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28236
a5f524e4
LD
282372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28238
28239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28240 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28241 * sysdeps/x86_64/multiarch/strchr.S: Update.
28242 Check bit_slow_BSF bit.
28243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28244 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28246
554881ef
UD
282472011-09-05 Ulrich Drepper <drepper@gmail.com>
28248
d96de963
UD
28249 [BZ #13134]
28250 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28251 before glibc 2.15.
28252 (tryshell): Define.
28253 (__spawni): Change last parameter to be flag. Test
28254 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28255 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28256 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28257 * posix/spawni.c: Likewise.
28258 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28259 * posix/spawnp.c: Likewise. Change normal version to use
28260 SPAWN_XFLAGS_USE_PATH.
28261 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28262 SPAWN_XFLAGS_TRY_SHELL.
28263
d48e5868
UD
28264 [BZ #13150]
28265 * posix/glob.h: Remove gcc 1.x support.
28266
554881ef
UD
28267 [BZ #13068]
28268 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28269
693fb948
LD
282702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28271
28272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28273 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28274 strrchr-sse2-bsf
28275 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28276 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28277 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28278 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28279 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28281
1b48c537
UD
282822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28283
49d42c37
UD
28284 * sysdeps/x86_64/wcscmp.S: New file.
28285
1b48c537
UD
28286 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28287 wcscmp-c wcscmp-sse2
28288 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28289 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28290 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28291 * wcsmbs/wcscmp.c: Allow renaming.
28292
15c95c5d
DM
282932011-09-05 David S. Miller <davem@davemloft.net>
28294
28295 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28296 stack slot, rather than the struct return pointer slot.
28297 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28298 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28300 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28301
2f0ad8f3
UD
283022011-09-05 Ulrich Drepper <drepper@gmail.com>
28303
d88ae418
UD
28304 * po/ja.po: Update from translation team.
28305
2f0ad8f3
UD
28306 [BZ #13144]
28307 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28308 kernel in 64-bit binaries.
28309
5f4318d1
DM
283102011-09-01 David S. Miller <davem@davemloft.net>
28311
28312 * elf/elf.h (HWCAP_SPARC_*): Move to..
28313 * sysdeps/sparc/sysdep.h: this new file and add new values.
28314 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28315 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28316 _DL_HWCAP_COUNT to 24.
28317 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28318 entries.
28319 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28320 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28321 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28323 instead of magic constants.
28324 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28325
3ba57516
DM
283262011-08-31 David S. Miller <davem@davemloft.net>
28327
28328 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28330 Reimplement to do errno handling inline.
28331 (SYSCALL_ERROR_HANDLER): New macro.
28332 (__SYSCALL_STRING): Do not do errno handling in asm.
28333 (__CLONE_SYSCALL_STRING): Delete.
28334 (__INTERNAL_SYSCALL_STRING): Delete.
28335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28336 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28337 (PSEUDO): Reimplement to do errno handling inline.
28338 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28339 (SYSCALL_ERROR_HANDLER): New macro.
28340 (__SYSCALL_STRING): Do not do errno handling in asm.
28341 (__CLONE_SYSCALL_STRING): Delete.
28342 (__INTERNAL_SYSCALL_STRING): Delete.
28343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28344 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28345 i386.
28346 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28347 (inline_syscall*): Add 'err' argument.
28348 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28349 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28350 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28351 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28352
28353 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28354 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28355
2bc17433
AS
283562011-08-30 Andreas Schwab <schwab@redhat.com>
28357
28358 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28359
fbeb5f4d
JO
283602011-08-29 Jiri Olsa <jolsa@redhat.com>
28361
28362 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28363 directive.
28364
ad69cc26
DM
283652011-08-24 David S. Miller <davem@davemloft.net>
28366
28367 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28368
39dd69df
AS
283692011-08-24 Andreas Schwab <schwab@redhat.com>
28370
28371 * elf/Makefile: Add rules to build and run unload8 test.
28372 * elf/unload8.c: New file.
28373 * elf/unload8mod1.c: New file.
28374 * elf/unload8mod1x.c: New file.
28375 * elf/unload8mod2.c: New file.
28376 * elf/unload8mod3.c: New file.
28377
28378 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28379 it wasn't used.
28380
2c0b250a
DM
283812011-08-23 David S. Miller <davem@davemloft.net>
28382
28383 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28384 subtract stack bias.
28385 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28386 %sp not %fp in calculations.
28387 (_JMPBUF_UNWINDS_ADJ): Likewise.
28388
22044b48
DM
28389 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28390 (aio_suspend): Call it to force an exception region around the
28391 AIO_MISC_WAIT() invocation.
28392
2cae4995
AS
283932011-08-23 Andreas Schwab <schwab@redhat.com>
28394
28395 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28396 backslash.
28397
873a772e
AJ
283982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28399
28400 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28401 protection macro.
28402 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28403 and <dl-machine.h>.
28404 (Elf64_FuncDesc): Remove.
28405
25ad0df1
DM
284062011-08-22 David S. Miller <davem@davemloft.net>
28407
28408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28409 sigaltstack check, add missing cfi directives.
28410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28411 missing cfi directives, and sigaltstack handling.
28412
e888bcbe
AS
284132011-08-16 Andreas Schwab <schwab@redhat.com>
28414
28415 [BZ #11724]
28416 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28417 object is seen twice.
28418 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28419
28420 * elf/Makefile (distribute): Add tst-initorder2.c.
28421 (tests): Add tst-initorder2.
28422 (modules-names): Add tst-initorder2a tst-initorder2b
28423 tst-initorder2c tst-initorder2d. Add rules to build them.
28424 ($(objpfx)tst-initorder2.out): New rule.
28425 * elf/tst-initorder2.c: New file.
28426 * elf/tst-initorder2.exp: New file.
28427
87162f46
AS
284282011-08-22 Andreas Schwab <schwab@redhat.com>
28429
70538b7f
AS
28430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28431
f55ffe58
AS
28432 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28433 dependencies back to end of function.
28434
87162f46
AS
28435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28436 $(elfobjdir)/ld.so.
28437
91b392a4
UD
284382011-08-21 Ulrich Drepper <drepper@gmail.com>
28439
28440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28441 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28443 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28444 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28445 of __vdso_gettimeofday.
28446 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28447 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28448 attribute_hidden.
28449 (_libc_vdso_platform_setup): Remove initialization of
28450 __vdso_gettimeofday and __vdso_time.
28451
5c43483f
UD
284522011-08-20 Ulrich Drepper <drepper@gmail.com>
28453
775a77e7
UD
28454 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28455 and fgetc_unlocked.
28456 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28457 getc_unlocked.
89f447ed 28458
49c74ba9
UD
28459 * elf/dl-open.c (add_to_global): Report additions to the global scope
28460 for LD_DEBUG=scopes.
28461 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28462 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28463
5c43483f
UD
28464 [BZ #13114]
28465 * stdio-common/Makefile (tests): Add bug24.
28466 * stdio-common/bug24.c: New file.
28467
a101b025
AJ
284682011-08-19 Andreas Jaeger <aj@suse.de>
28469
28470 [BZ #13114]
28471 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28472 non-existant file when using close-on-exec mode.
28473
c88f1766
UD
284742011-08-20 Ulrich Drepper <drepper@gmail.com>
28475
0276a718
UD
28476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28477 the very first instruction.
28478
c88f1766
UD
28479 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28480 the CFI state in the end.
28481 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28482 inclusion of dl-trampoline.h.
28483 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28484
51ccffa0
AS
284852011-08-19 Andreas Schwab <schwab@redhat.com>
28486
94d7165f
AS
28487 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28488 expectations for long double.
28489
51ccffa0
AS
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28491 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28492
fd708658 284932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28494
28495 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28496 artificual limit depends upon the system page size.
28497
44f0a71e
UD
284982011-08-17 Ulrich Drepper <drepper@gmail.com>
28499
28500 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28501 * resolv/Makefile: Define CFLAGS-libresolv.
28502
8de79a24
AS
285032011-08-17 Andreas Schwab <schwab@redhat.com>
28504
28505 * nss/makedb.c (compute_tables): Make variables used in nested
28506 function static.
28507
27724598
UD
285082011-08-17 Ulrich Drepper <drepper@gmail.com>
28509
c5305d88
UD
28510 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28511 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28512 if buffer was too small.
28513
27724598
UD
28514 * elf/pldd.c (main): Attach to all threads in the process.
28515 Rewrite /proc handling to use *at functions.
28516
076fe015
UD
285172011-08-16 Ulrich Drepper <drepper@gmail.com>
28518
174baab3
UD
28519 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28520 specifies first scope to show.
28521 (dl_open_worker): Update callers. Move printing scope of new
28522 object to before the relocation.
44f0a71e 28523 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28524 * sysdeps/generic/ldsodefs.h: Update declaration.
28525
076fe015
UD
28526 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28527 string for the scope number.
28528
a60df2c3
UD
285292011-08-14 Ulrich Drepper <drepper@gmail.com>
28530
28531 * nscd/servicescache.c (cache_addserv): Make sure written is always
28532 initialized.
28533
5e4287d1
RM
285342011-08-14 Roland McGrath <roland@hack.frob.com>
28535
85ae0589
RM
28536 * sysdeps/i386/i486/bits/atomic.h
28537 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28538 statement expression, so as to suppress "set but not used" warning.
28539 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28540
69f63097
RM
28541 * string/strncat.c (STRNCAT): Use prototype definition.
28542
675456ef
RM
28543 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28544 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28545 -Iprograms here.
28546 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28547 (localedef-modules): Add localedef.
28548 (locale-modules): Add locale.
28549
5e4287d1
RM
28550 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28551 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28552 to avoid a warning.
28553
9c96ff23
DM
285542011-08-14 David S. Miller <davem@davemloft.net>
28555
28556 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28557 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28558
f9ddf089
UD
285592011-08-13 Ulrich Drepper <drepper@gmail.com>
28560
44f0a71e 28561 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28562 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28563 * elf/rtld.c (dl_main): Set l_name of vDSO.
28564 Call _dl_show_scope when DL_DEBUG_SCOPES.
28565 (process_dl_debug): Recognize scopes flag and also set it for all.
28566 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28567 Declare _dl_show_scope.
28568
1dc27704
UD
28569 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28570 (do_dlopen): Pass caller_dlopen to dl_open.
28571 (__libc_dlopen_mode): Initialize caller_dlopen.
28572
f9ddf089
UD
28573 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28574 of libc. Make tolower call locale-independent. Optimize a bit by
28575 using isdigit instead of isalnum.
28576 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28577
9ac533d3
UD
285782011-08-12 Ulrich Drepper <drepper@gmail.com>
28579
28580 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28581 was a dependency or dynamically loaded.
28582
89edf2e9
UD
285832011-08-11 Ulrich Drepper <drepper@gmail.com>
28584
8e999d29
UD
28585 * intl/l10nflist.c: Allow architecture-specific pop function.
28586 * sysdeps/x86_64/l10nflist.c: New file.
28587
89edf2e9
UD
28588 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28589 classification.
28590
14d96785
AS
285912011-08-10 Andreas Schwab <schwab@redhat.com>
28592
28593 * include/dirent.h: Add libc_hidden_proto for scandirat and
28594 scandirat64. Don't declare __scandirat64.
28595 * dirent/scandirat.c: Add libc_hidden_def.
28596 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28597 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28598
6761ac04
DM
285992011-08-10 David S. Miller <davem@davemloft.net>
28600
28601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28602 enum.
28603 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28605 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28606
c55fbd1e
UD
286072011-08-09 Ulrich Drepper <drepper@gmail.com>
28608
28609 * Versions.def [libc]: Add GLIBC_2.15.
28610 * dirent/Makefile (routines): Add scandirat and scandirat64.
28611 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28612 GLIBC_2.15.
28613 * dirent/dirent.h: Declare scandirat and scandirat64.
28614 * dirent/scandirat.c: New file.
28615 * dirent/scandirat64.c: New file.
28616 * sysdeps/wordsize-64/scandirat.c: New file.
28617 * sysdeps/wordsize-64/scandirat64.c: New file.
28618 * dirent/opendir.c: Define opendirat.
28619 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28620 using scandirat.
28621 * dirent/scandir64.c: Adjust for scandir.c change.
28622 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28623 __scandirat64, and __scandir_cancel_handler.
28624 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28625 additional parameter and use openat instead of open (outside of ld.so).
28626 Add new __opendir as wrapper around __opendirat.
28627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28628 here without requiring old scandirat implementation.
28629
879165f2
UD
286302011-08-08 Ulrich Drepper <drepper@gmail.com>
28631
28632 * dirent/scandir.c (cancel_handler): Renamed to
28633 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28634 defined. Adjust users.
28635 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28637
cb7e923b
UD
286382011-08-04 Ulrich Drepper <drepper@gmail.com>
28639
16292edd
UD
28640 * string/test-string.h (IMPL): Use __STRING to expand name and then
28641 stringify it.
28642
cb7e923b
UD
28643 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28644 of cleanups.
28645
cff82933
LD
286462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28647
28648 * string/Makefile: Update.
28649 (strop-tests): Append strncat.
28650 * string/test-wcscmp.c: New file.
28651 New comprehensive test for wcscmp.
28652 * string/test-strcmp.c: Update.
28653 (WIDE): New define.
28654
9be9bfcc
AS
286552011-07-22 Andreas Schwab <schwab@redhat.com>
28656
28657 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28658 line.
28659
2e96f1c7
AS
286602011-07-26 Andreas Schwab <schwab@redhat.com>
28661
28662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28663 encoding to ACE if AI_IDN.
28664
85188888
JJ
286652011-08-01 Jakub Jelinek <jakub@redhat.com>
28666
28667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28668 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28669
5fa16e9b
LD
286702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28671
28672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28673 Fix overflow bug in strncat.
28674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28675
28676 * string/test-strncat.c: Update.
28677 Add new tests for checking overflow bugs.
28678
286792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28680
28681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28682 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28683 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28684 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28686 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28687 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28688 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28689 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28690
28691 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28692 (USE_AS_STRCAT): Define.
28693 Add strcat and strncat support.
28694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28695
8c1a459f
AS
286962011-07-25 Andreas Schwab <schwab@redhat.com>
28697
28698 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28699 __n bigger than INT_MAX+1.
28700 (__strncmp_g): Likewise.
28701
bba33c28
UD
287022011-07-23 Ulrich Drepper <drepper@gmail.com>
28703
798be72d
UD
28704 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28705 * libio/stido.h: Likewise.
28706
8accd4dc
UD
28707 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28708 (AF_NFC): Define.
28709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28710 (AF_NFC): Define.
28711
cbff0d96
UD
28712 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28713 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28715 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28717
9191c04a
UD
28718 [BZ #13021]
28719 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28720 installed.
28721
bba33c28
UD
28722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28723 typo.
28724 (_dl_x86_64_save_sse): Likewise.
28725
90f139dd
UD
287262011-07-22 Ulrich Drepper <drepper@gmail.com>
28727
1aae088a
UD
28728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28729 OSXSAVE.
28730 (_dl_x86_64_save_sse): Likewise.
28731
8e2045f5
UD
28732 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28733
90f139dd
UD
28734 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28735
1d002f25
AS
287362011-07-21 Andreas Schwab <schwab@redhat.com>
28737
28738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28739 change.
28740 (_dl_x86_64_save_sse): Use correct AVX check.
28741
21137f89
UD
287422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28743
28744 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28745 bug in strncpy/strncat.
28746 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28747
a65c0b7a
UD
287482011-07-21 Ulrich Drepper <drepper@gmail.com>
28749
28750 * string/tester.c (test_strcat): Add tests for different alignments
28751 of source and destination.
28752 (test_strncat): Likewise.
28753
6986b98a
UD
287542011-07-20 Ulrich Drepper <drepper@gmail.com>
28755
90bb2039
UD
28756 [BZ #12852]
28757 * posix/glob.c (glob): Check passed in values before using them in
28758 expressions to avoid some overflows.
28759 (glob_in_dir): Likewise.
28760
5644ef54
UD
28761 [BZ #13007]
28762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28763 check for AVX enablement so that we don't crash with old kernels and
28764 new hardware.
28765 * elf/tst-audit4.c: Add same checks here.
28766 * elf/tst-audit6.c: Likewise.
28767
28768 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28769
bfc9dc9b
AS
287702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28771
28772 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28773
702e64bb
UD
287742011-07-20 Ulrich Drepper <drepper@gmail.com>
28775
28776 * po/cs.po: Update from translation team.
28777 * po/bg.po: Likewise.
28778
295e904f
MP
287792011-07-12 Marek Polacek <mpolacek@redhat.com>
28780
28781 * misc/sys/cdefs.h: Add support for const attribute.
28782 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28783 to gnu_dev_{major,minor,makedev} functions.
28784
3ff94596
MP
287852011-07-20 Marek Polacek <mpolacek@redhat.com>
28786
28787 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28788
28b59fca
AS
287892011-07-20 Andreas Schwab <schwab@redhat.com>
28790
28791 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28792 strlen results.
28793
19df733e
AK
287942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28795
28796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28797 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28798 register in order to avoid conflicts with the soft frame pointer
28799 being held in r11 when necessary.
28800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28801 (INTERNAL_VSYSCALL_NCS): Likewise.
28802
c8835729
MP
288032011-07-14 Marek Polacek <mpolacek@redhat.com>
28804
28805 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28806 * elf/dl-fini.c (_dl_fini): Adjust caller.
28807 * elf/dl-close.c (_dl_close_worker): Likewise.
28808 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28809
b902330c
MP
288102011-07-15 Marek Polacek <mpolacek@redhat.com>
28811
8991e135
MP
28812 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28813 "aux_cache->nlibs < 0".
28814
b902330c
MP
28815 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28816 in the reload-count case.
28817
99710781
LD
288182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28819
28820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28821 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28822 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28823 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28824 * sysdeps/x86_64/multiarch/strcat.S: New file.
28825 * sysdeps/x86_64/multiarch/strncat.S: New file.
28826 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28827 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28828 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28829 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28830 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28831 (USE_AS_STRCAT): Define.
28832 Add strcat and strncat support.
28833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28834 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28835 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28836 * string/strncat.c: Update.
28837 (USE_AS_STRNCAT): Define.
28838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28839 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28840 and i7.
28841 * sysdeps/x86_64/multiarch/init-arch.h
28842 (bit_Prefer_PMINUB_for_stringop): New.
28843 (index_Prefer_PMINUB_for_stringop): Likewise.
28844 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28845 bit_Prefer_PMINUB_for_stringop.
28846
7dc6bd90
UD
288472011-07-19 Ulrich Drepper <drepper@gmail.com>
28848
28849 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28850 buffer64.
28851 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28852 of casting of buffer.
28853 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28854 buffer32 and buffer64.
28855 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28856 writes instead of casting of buffer.
28857 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28858 buffer32.
28859 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28860 casting of buffer.
28861
e0e72284
AS
288622011-07-19 Andreas Schwab <schwab@redhat.com>
28863
28864 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28865
feb1eb0b
UD
288662011-07-19 Ulrich Drepper <drepper@gmail.com>
28867
28868 * nscd/nscd.c (termination_handler): Don't do anything for a database
28869 if it has not yet been initialized.
28870
298711ff
UD
288712011-07-18 Ulrich Drepper <drepper@gmail.com>
28872
28873 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28874
288752011-07-15 Marek Polacek <mpolacek@redhat.com>
28876
28877 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28878
f9d68389
UD
288792011-07-18 Ulrich Drepper <drepper@gmail.com>
28880
28881 * po/nl.po: Update from translation team.
28882 * po/sv.po: Likewise.
28883
db290cf5
RM
288842011-07-16 Roland McGrath <roland@hack.frob.com>
28885
28886 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28887 now disallowed by GCC.
5c550700 28888
fd5e21c7
RM
28889 * configure.in (use-default-link): Default to yes if a test -shared
28890 link meets our qualifications.
28891 * configure: Regenerated.
28892
5c550700
RM
28893 * config.make.in (output-format): New variable.
28894 * configure.in: Check for ld --print-output-format support.
28895 * configure: Regenerated.
28896 * Makerules ($(common-objpfx)format.lds)
28897 [$(output-format) != unknown]: Just use $(output-format),
28898 instead of the linker-script munging.
28899
9fa2c032
RM
289002011-07-14 Roland McGrath <roland@hack.frob.com>
28901
a6928d51
RM
28902 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28903 of $(common-objpfx)shlib.lds.
28904 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28905
661607b3
RM
28906 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28907 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28908
9fa2c032
RM
28909 * configure.in (-z relro check): Adjust test code to add a large
28910 writable data section after it.
28911 * configure: Regenerated.
28912
defe9061
RM
289132011-07-11 Roland McGrath <roland@hack.frob.com>
28914
28915 * configure.in (-z relro check): Fix test code to make the variable
28916 truly const.
28917 * configure: Regenerated.
28918
319b9ad4
UD
289192011-07-11 Ulrich Drepper <drepper@gmail.com>
28920
28921 * nscd/nscd.h (struct traced_file): Define.
28922 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28923 elements. Add traced_files.
28924 (inotify_fd): Declare.
28925 (register_traced_file): Declare.
28926 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28927 (inotify_fd): Export.
28928 (resolv_conf_descr): Remove.
28929 (nscd_init): Move inotify descriptor creation to main.
28930 Don't register files for notification here.
28931 (register_traced_file): New function.
28932 (invalidate_cache): Don't use reset_res to determine whether to call
28933 res_init, go through the list of registered files.
28934 (main_loop_poll): The inotify descriptors are now stored in the
28935 structures for the traced files.
28936 (main_loop_epoll): Likewise
28937 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28938 to __nss_disable_nscd.
28939 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28940 for a database anymore. Check the records for all the registered
28941 files instead.
28942 * nss/Makefile (libnss_files-routines): Add files-init.
28943 (libnss_db-routines): Add db-init.
28944 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28945 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28946 * nss/nss_db/db-init.c: New file.
28947 * nss/nss_files/files-init.c: New file.
28948 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28949 __nss_lookup_function.
28950 (__nss_lookup_function): Call nss_load_library.
28951 (nss_load_all_libraries): New function.
28952 (__nss_disable_nscd): Take parameter with callback function for files
28953 to register. Set is_nscd. Load all the DSOs for the NSS modules
28954 used for the cached services.
28955 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28956 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28957 options for features to all the files in nscd.
28958
28959 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28960
23bee3e8
RM
289612011-07-10 Roland McGrath <roland@hack.frob.com>
28962
28963 * csu/elf-init.c (__libc_csu_init): Comment typo.
28964
46a5b7f0
UD
289652011-07-09 Ulrich Drepper <drepper@gmail.com>
28966
28967 * po/pl.po: Update from translation team.
28968 * po/ja.po: Likewise.
28969 * po/ru.po: Likewise.
28970 * po/ko.po: Likewise.
28971 * po/fr.po: Likewise.
28972
d30cf5bb
RM
289732011-07-09 Roland McGrath <roland@hack.frob.com>
28974
113ddea4
RM
28975 * configure.in (.ctors/.dtors header and trailer check):
28976 Use an empirical test on a built program.
28977 * configure: Regenerated.
28978
574920b4
RM
28979 * configure.in (-z relro check): Use an empirical test on a built DSO.
28980 Detect, but do not require, on ia64.
28981 * configure: Regenerated.
28982
d30cf5bb
RM
28983 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28984 Update tests that use readelf to use $READELF instead.
28985 * configure: Regenerated.
28986
8538fdb3
UD
289872011-07-08 Ulrich Drepper <drepper@gmail.com>
28988
28989 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28990 if the result is not used.
28991
04d08991
AJ
289922011-07-05 Andreas Jaeger <aj@suse.de>
28993
28994 [BZ#9696]
28995 * stdlib/tst-strtod.c: Add testcase.
28996
de283087
AD
289972011-07-07 Ulrich Drepper <drepper@gmail.com>
28998
4e5f31c8 28999 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29000 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29001 The latter has a higher limit. Take additional parameter to pass to
29002 the new function.
29003 (__pathconf): Pass file to __statfs_link_max.
29004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29005 __statfs_link_max.
29006 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29007 __statfs_link_max.
29008
de283087
AD
29009 [BZ #12868]
29010 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29012 Handle Lustre.
29013 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29014 (__statfs_filesize_max): Likewise.
29015 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29016
c75fa153
AJ
290172011-07-05 Andreas Jaeger <aj@suse.de>
29018
29019 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29020
1a544854
UD
290212011-07-06 Marek Polacek <mpolacek@redhat.com>
29022
29023 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29024 `status' variable.
29025 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29026 Likewise.
29027
6f0eec67
UD
290282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 * Makefile (strop-tests): Add strncat.
29031 * string/test-strncat.c: New file.
29032
aae30307
UD
290332011-06-30 Marek Polacek <mpolacek@redhat.com>
29034
29035 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29036
c0cfb5eb
UD
290372011-06-21 Andreas Jaeger <aj@suse.de>
29038
29039 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29040 Copy rule from iconvdata/Makefile.
29041
01636b21
UD
290422011-07-06 Ulrich Drepper <drepper@gmail.com>
29043
29044 [BZ #12922]
29045 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29046 but no long options are defined, just return 'W'.
29047
9895c8bc
UD
290482011-06-22 Marek Polacek <mpolacek@redhat.com>
29049
29050 [BZ #9696]
29051 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29052
5d4cf042
UD
290532011-07-06 Ulrich Drepper <drepper@gmail.com>
29054
29055 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29056 netgroups to read.
960e5535 29057 (innetgr): Likewise.
5d4cf042 29058
751eb97e
RM
290592011-07-05 Roland McGrath <roland@hack.frob.com>
29060
29061 * config.make.in (install_root): Default to $(DESTDIR).
29062
f15f1e45
UD
290632011-07-05 Ulrich Drepper <drepper@gmail.com>
29064
29065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29066
4e34ac6a
RM
290672011-07-02 Roland McGrath <roland@hack.frob.com>
29068
5e9b6af4
RM
29069 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29070
84f9ea0f
RM
29071 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29072 containing directory rather than embedding absolute directory names.
29073
ea5ee9f7
RM
29074 * scripts/check-local-headers.sh: Rewritten using awk.
29075 Match by word, not by line. Print error messages for matches.
29076 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29077
1b74661a
RM
29078 * Makerules [shlib-lds-flags empty]:
29079 ($(common-objpfx)libc_pic.opts): New target.
29080 ($(common-objpfx)libc_pic.os.clean): New target.
29081 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29082
29083 * config.make.in (OBJCOPY): New variable.
29084 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29085 * configure: Regenerated.
29086
f781ef40
RM
29087 * config.make.in (use-default-link): New variable.
29088 * configure.in (use_default_link): Grok --with-default-link to set it.
29089 * configure: Regenerated.
29090 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29091 (shlib-lds, shlib-lds-flags): Define to empty.
29092
2d4fa81e
RM
29093 * Makerules (shlib-lds): New variable.
29094 (shlib-lds-flags): New variable.
29095 (build-shlib, build-moduile, build-module-asneeded): Use it.
29096 ($(common-objpfx)libc.so): Use $(shlib-lds).
29097 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29098 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29099
31fffa6b
RM
29100 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29101 DT_FLAGS/DT_FLAGS_1 with zero flags.
29102
4e34ac6a
RM
29103 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29104 linker script munging.
29105
fcfc776b
UD
291062011-07-02 Ulrich Drepper <drepper@gmail.com>
29107
29108 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29109 as 128-bit value.
29110 * crypt/sha512.c (sha512_process_block): Perform total addition using
29111 128-bit if possible.
29112 (__sha512_finish_ctx): Likewise.
29113 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29114 as 64-bit value.
29115 * crypt/sha256.c (SWAP64): Define.
29116 (sha256_process_block): Perform total addition using 64-bit if
29117 possible.
29118 (__sha256_finish_ctx): Likewise.
29119
99231d9a
UD
291202011-07-01 Ulrich Drepper <drepper@gmail.com>
29121
29122 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29124 * nscd/hstcache.c (cache_addhst): Likewise.
29125 * nscd/grpcache.c (cache_addgr): Likewise.
29126 * nscd/aicache.c (addhstaiX): Likewise
29127 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29128
445b4a53
TK
291292011-07-01 Thorsten Kukuk <kukuk@suse.de>
29130
29131 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29133 * nscd/hstcache.c (cache_addhst): Likewise.
29134 * nscd/grpcache.c (cache_addgr): Likewise.
29135 * nscd/aicache.c (addhstaiX): Likewise
29136
6d4d8e8e
AS
291372011-07-01 Andreas Schwab <schwab@redhat.com>
29138
29139 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29140 domain only when needed.
29141
89f654c5
AS
291422011-06-30 Andreas Schwab <schwab@redhat.com>
29143
29144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29145 is always restored.
29146
cf3b23ff
UD
291472011-06-29 Ulrich Drepper <drepper@gmail.com>
29148
29149 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29150 are re-adding the entry.
29151 * nscd/servicescache.c (cache_addserv): Likewise.
29152
751626f9
AJ
291532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29154
29155 * sysdeps/generic/dl-irel.h: fix protection against multiple
29156 inclusions.
29157 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29158
9113ea1f
UD
291592011-06-28 Ulrich Drepper <drepper@gmail.com>
29160
5c0b8d90
UD
29161 [BZ #12935]
29162 * malloc/memusage.sh: Fix quoting in message.
29163 * debug/xtrace.sh: Likewise.
29164
9113ea1f
UD
29165 * configure.in: Remove support for --experimental-malloc option, make
29166 it the default.
29167 * config.make.in: Likewise.
29168 * malloc/Makefile: Likewise.
29169
a4172181
AS
291702011-06-27 Andreas Schwab <schwab@redhat.com>
29171
29172 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29173 two-byte characters.
29174
78a7eee7
RM
291752011-06-27 Roland McGrath <roland@hack.frob.com>
29176
62bede13
RM
29177 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29178 AC_CACHE_CHECK invocation.
29179 * configure: Regenerated.
29180
78a7eee7
RM
29181 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29182
5ce33a62
UD
291832011-06-27 Ulrich Drepper <drepper@gmail.com>
29184
034807a9
UD
29185 [BZ #12350]
29186 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29187 bit from old_res_options.
29188
4902da17
UD
29189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29190
5ce33a62
UD
29191 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29192 value type for setfct.
29193
c2344f56
L
291942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29195
29196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29197 __gettimeofday instead of gettimeofday.
29198
68468076
UD
291992011-06-26 Ulrich Drepper <drepper@gmail.com>
29200
29201 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29202
acb0d739
L
292032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29204
29205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29206
29207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29208 info.
29209
8912479f
L
292102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29213 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29214 strcpy-sse2-unaligned strncpy-sse2-unaligned
29215 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29216 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29217 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29218 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29219 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29222 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29223 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29224 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29225 (STRCPY): Support SSE2 and SSSE3 versions.
29226
d5495a11
UD
292272011-06-24 Ulrich Drepper <drepper@gmail.com>
29228
29229 [BZ #12874]
29230 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29231 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29232 kernels which artificially limit size of requests.
29233
0b1cbaae
L
292342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29235
29236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29237 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29238 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29239 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29240 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29241 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29242 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29243 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29246 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29247 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29248 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29249 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29250 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29252 Enable unaligned load optimization for Intel Core i3, i5 and i7
29253 processors.
29254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29255 Define.
29256 (index_Fast_Unaligned_Load): Define.
29257 (HAS_FAST_UNALIGNED_LOAD): Define.
29258
07f494a0
MP
292592011-06-23 Marek Polacek <mpolacek@redhat.com>
29260
29261 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29262
fa3fc0fe
UD
292632011-06-22 Ulrich Drepper <drepper@gmail.com>
29264
29265 [BZ #12907]
29266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29267 until it is clear that the information is realy needed.
29268 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29269
e12df166
AS
292702011-06-22 Andreas Schwab <schwab@redhat.com>
29271
29272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29273
852eb34d
UD
292742011-06-22 Ulrich Drepper <drepper@gmail.com>
29275
84e2a551
UD
29276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29277 /sys/devices/system/cpu/online if it is usable.
29278
852eb34d
UD
29279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29280 reading the information from the /proc filesystem to once a second.
29281
6e502e19
UD
292822011-06-21 Andreas Jaeger <aj@suse.de>
29283
29284 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29285 NULL after inclusion of kernel headers.
29286
75d39ff2
UD
292872011-06-21 Ulrich Drepper <drepper@gmail.com>
29288
51f9aa6a
UD
29289 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29290 calls to internal_setent.
29291
c0244a9d
UD
29292 [BZ #12885]
29293 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29294 addresses using gethostbyname4_r ignore IPv4 addresses.
29295
c5e3c2ae
UD
29296 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29297 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29298
75d39ff2
UD
29299 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29300
42675c6f
DM
293012011-06-20 David S. Miller <davem@davemloft.net>
29302
29303 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29304 inclusions.
29305 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29306
29307 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29308 (elf_irel): Use it.
29309 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29310 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29311 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29312 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29313 * sysdeps/x86_64/dl-irel.h: Likewise.
29314
29315 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29316 * elf/dl-sym.c: Likewise.
29317
57912a71
UD
293182011-06-15 Ulrich Drepper <drepper@gmail.com>
29319
29320 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29321 need to dereference resplen2.
29322
ee22793d
AS
293232011-06-14 Andreas Schwab <schwab@redhat.com>
29324
29325 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29326
a9e836b0
UD
293272011-06-15 Ulrich Drepper <drepper@gmail.com>
29328
77fb9117
UD
29329 * Makeconfig: Define vardbdir and inst_vardbdir.
29330 * nss/Makefile: Add rules to install db-Makefile.
29331
40c1b22c
UD
29332 * nss/nss_db/db-XXX.c: Cleanup.
29333
9f2da732
UD
29334 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29335 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29336 GLIBC_PRIVATE.
29337 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29338 * nss/makedb.c: Implement -g option to specify that value strings
29339 are generated and should not be added to table iterated over for
29340 get*ent calls.
29341 * nss/nss_db/db-initgroups.c: New file.
29342
82e9a1f7
UD
29343 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29344 interface.
29345
c41af17e
UD
29346 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29347 (internal_getgrouplist): Adjust to name change.
29348 Update use_initgroups_entry if this is not the first call.
29349 * nss/databases.def: Add initgroups entry.
29350
a9e836b0
UD
29351 * nss/makedb.c (compute_tables): Check result of multiple hash table
29352 sizes to minimize maximum chain length.
29353
2666d441
UD
293542011-06-14 Ulrich Drepper <drepper@gmail.com>
29355
29356 * Versions.def: Add entry for libnss_db.
29357 * shlib-versions: Likewise.
29358 * nss/Makefile: Add rules to build libnss_db.
29359 * nss/Versions: Add libnss_db information. Organize libnss_files
29360 entries better.
29361 * nss/db-Makefile: Add gshadow support. Change rules for the new
29362 makedb progra. Some minor improvements to generate smaller files.
29363 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29364 here from...
29365 * nss/makedb.c: ...here.
29366 Improve database format to be smaller and require less memory at
29367 runtime.
29368 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29369 db anymore.
29370 * nss/nss_db/db-netgrp.c: Likewise.
29371 * nss/nss_db/db-open.c: Likewise.
29372 * nss/nss_files/flies-XXX.x: Adjust comments.
29373 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29374 * nss/nss_files/files-grp.c: Likewise.
29375 * nss/nss_files/files-hosts.c: Likewise.
29376 * nss/nss_files/files-network.c: Likewise.
29377 * nss/nss_files/files-proto.c: Likewise.
29378 * nss/nss_files/files-pwd.c: Likewise.
29379 * nss/nss_files/files-rpc.c: Likewise.
29380 * nss/nss_files/files-service.c: Likewise.
29381 * nss/nss_files/files-sgrp.c: Likewise.
29382 * nss/nss_files/files-spwd.c: Likewise.
29383 * nss/nss_db/db-alias.c: Removed.
29384 * nss/nss_db/dummy-db.h: Removed.
29385
9ee76b5a
UD
293862011-06-02 Ulrich Drepper <drepper@gmail.com>
29387
29388 * nss/makedb.c: Rewritten to not use database library.
29389 * nss/Makefile: Update to build new makedb program.
29390
c71ca1f8
AJ
293912011-06-14 Andreas Jaeger <aj@suse.de>
29392
29393 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29394 memset declaration.
29395
3154bfb8
UD
293962011-06-10 Andreas Schwab <schwab@redhat.com>
29397
29398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29399 tmpbuf.
29400
b350afab
RM
294012011-06-10 Roland McGrath <roland@hack.frob.com>
29402
decd4e50
RM
29403 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29404 * elf/Makefile ($(objpfx)ld.so): Likewise.
29405
5615eaf2
RM
29406 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29407 Don't list ld.so twice in dependencies.
29408
29409 * posix/bug-regex31.c: Include <stdlib.h>.
29410
29411 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29412
29413 * nis/nss_compat/compat-spwd.c
29414 (getspent_next_nss_netgr): Remove unused variable.
29415 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29416
29417 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29418 nonmembers" output to use the right array.
29419
29420 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29421
29422 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29423
29424 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29425 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29426 * catgets/gencat.c (read_input_file): Likewise.
29427 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29428
29429 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29430 variable definition inside #if's controlling its use.
29431
29432 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29433
29434 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29435
29436 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29437
29438 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29439 unreachable code.
29440
29441 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29442
b68e08db
RM
29443 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29444 * configure: Regenerated.
29445
b350afab
RM
29446 * Makerules: Revert last change.
29447 * elf/Makefile: Likewise.
29448
28368601
RM
294492011-06-09 Roland McGrath <roland@hack.frob.com>
29450
29451 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29452 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29453 (reloc-link): Likewise.
29454
11988f8f
UD
294552011-06-09 Ulrich Drepper <drepper@gmail.com>
29456
29457 * elf/Makefile: Add rules to build pldd.
29458 * elf/pldd.c: New file.
29459 * elf/pldd-xx.c: New file.
29460
e80fab37
UD
294612011-06-07 Ulrich Drepper <drepper@gmail.com>
29462
29463 * version.h: Update for 2.15 development version.
29464
9b849836
DM
294652011-06-07 David S. Miller <davem@davemloft.net>
29466
29467 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29468 ifuncs.
29469 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29470 elf_machine_lazy_rel): Likewise.
29471 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29473 elf_machine_lazy_rel): Likewise.
29474 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29475 dl_hwcap via passed in argument.
29476 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29477 Likewise.
29478
5a31b283
AK
294792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29480
29481 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29482
069e52f8
RM
294832011-06-06 Roland McGrath <roland@hack.frob.com>
29484
29485 [BZ #12849]
29486 * manual/fdl-1.1.texi: New file, verbatim from:
29487 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29488 * manual/lgpl-2.1.texi: New file, verbatim from:
29489 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29490 * manual/Makefile (licenses): New variable, list those new file names.
29491 (texis): Use it.
29492 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29493
29494 * manual/fdl.texi: File removed.
29495 * manual/lesser.texi: File removed.
29496 * manual/libc.texinfo (Copying, Documentation License):
29497 Use new @include file names, put @appendix directive before @include.
29498
f16846a5
JJ
294992011-06-04 Jakub Jelinek <jakub@redhat.com>
29500
29501 [BZ #12841]
29502 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29503 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29504 (mq_open): Add __NTH.
29505
3d29045b
L
295062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29507
29508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29509 Assume Intel Core i3/i5/i7 processor if AVX is available.
29510
8c297311
UD
295112011-05-31 Ulrich Drepper <drepper@gmail.com>
29512
29513 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29514 typo.
29515
c8fc0c91
UD
295162011-05-31 Andreas Schwab <schwab@redhat.com>
29517
29518 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29519 memory. Use alloca_account. Fix memory leak when retrying.
29520
5b27a807
UD
295212011-05-31 Ulrich Drepper <drepper@gmail.com>
29522
356f8bc6
UD
29523 * version.h (RELEASE): Bump for 2.14 release.
29524 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29525
5b27a807
UD
29526 * config.make.in (RANLIB): Remove entry.
29527
01f16ab0
UD
295282011-05-30 Ulrich Drepper <drepper@gmail.com>
29529
41fce8bd
UD
29530 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29531 (libc.pot): Work around missing support for .ksh extension in xgettext.
29532
4769ae77
UD
29533 [BZ #12684]
29534 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29535 if both request failed.
29536 (send_dg): In case of server errors clear resplen or *resplen2.
29537
6b1e7d19
UD
29538 [BZ #12454]
29539 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29540 when there are multiple maps.
29541 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29542 (_dl_fini): Remove test here.
29543
01f16ab0
UD
29544 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29545
b1ebd700
UD
295462011-05-29 Ulrich Drepper <drepper@gmail.com>
29547
7ae22829
UD
29548 [BZ #12350]
29549 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29550 bit from old_res_options.
29551 (gaih_inet): Likewise.
29552
553149f6 29553 [BZ #11099]
18a84741 29554 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29555 as signed.
29556
652ffab1
UD
29557 * resolv/res_init.c (res_setoptions): Make the code more compact.
29558
16985fd0
UD
29559 [BZ #11558]
29560 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29561 set RES_USEVC.
29562
0464f746
UD
29563 [BZ #11634]
29564 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29565
7d17596c
UD
29566 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29567
cf6bbbd7
UD
29568 [BZ #11781]
29569 * malloc/malloc.h: Declare malloc hook variables as volatile.
29570
13f1ab36
UD
29571 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29572 in last patch.
29573
b1ebd700
UD
29574 [BZ #11799]
29575 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29576 raise in the comment.
80e2212d
UD
29577 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29579 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29580
ce67228d
UD
295812011-05-28 Ulrich Drepper <drepper@gmail.com>
29582
8887a920
UD
29583 [BZ #12811]
29584 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29585 grow the buffers more if it already has to be sufficient.
29586 (build_wcs_upper_buffer): Likewise.
29587 * posix/regexec.c (check_matching): Likewise.
29588 (clean_state_log_if_needed): Likewise.
29589 (extend_buffers): Don't enlarge buffers beyond size of the input
29590 buffer.
29591 Patches mostly by Emil Wojak <emil@wojak.eu>.
29592 * posix/bug-regex32.c: New file.
29593 * posix/Makefile (tests): Add bug-regex32.
29594
4f031072
UD
29595 * locale/findlocale.c (_nl_find_locale): Return right away if
29596 _nl_explode_name failed.
29597 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29598
d0478f0c
UD
29599 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29600
de81b246
UD
29601 * debug/xtrace.sh: Unify messages.
29602 * malloc/memusage.sh: Likewise.
29603
c738465a
UD
29604 [BZ #12813]
29605 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29606 time symbol from vDSO. Substitute with vsyscall if not available.
29607 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29608 __vdso_time.
29609
f1f929d7
UD
29610 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29611 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29612 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29613 Add sendmmsg and internal_sendmmsg.
29614 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29617
ce67228d
UD
29618 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29619 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29621
e57420c6
UD
296222011-05-27 Ulrich Drepper <drepper@gmail.com>
29623
a8509ca5
UD
29624 [BZ #12813]
29625 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29626 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29627 available.
29628 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29629 __vdso_getcpu.
29630
e57420c6
UD
29631 [BZ #12814]
29632 * iconvdata/Makefile (tests): Add bug-iconv9.
29633 * iconvdata/bug-iconv9.c: New file.
29634
4d07db15
AS
296352011-05-27 Andreas Schwab <schwab@redhat.com>
29636
29637 [BZ #12814]
29638 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29639
ea486f69
JJ
296402011-05-25 Jakub Jelinek <jakub@redhat.com>
29641
29642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29643 (struct user_regs_struct): Change intcs field back to cs.
29644
6f038433
UD
296452011-05-25 Ulrich Drepper <drepper@gmail.com>
29646
29647 * po/ja.po: Update from translation team.
29648
67f86a25
UD
296492011-05-23 Ulrich Drepper <drepper@gmail.com>
29650
29651 [BZ #12795]
29652 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29653 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29654
def7fbd6
AS
296552011-05-20 Andreas Schwab <schwab@redhat.com>
29656
29657 * stdlib/longlong.h: Update from GCC.
29658
f50ef8f1
AS
296592011-05-23 Andreas Schwab <schwab@redhat.com>
29660
29661 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29662 parameter name.
29663 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29664 Add parameter name.
29665 (__sysconf): Pass it down.
29666
de7ce8f1
UD
296672011-05-22 Ulrich Drepper <drepper@gmail.com>
29668
f2962a71
UD
29669 [BZ #12671]
29670 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29671 some situations.
29672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29673 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29674 add in in __libc_use_alloca calls. Adjust callers.
29675 (glob): Use malloc in some situations.
29676
de7ce8f1
UD
29677 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29678 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29679 pltexit.
29680
aec84f53
UD
296812011-05-21 Ulrich Drepper <drepper@gmail.com>
29682
05bb4a68
UD
29683 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29684 and CLOCK_BOOTTIME_ALARM.
29685
7ea72f99
UD
29686 [BZ #12782]
29687 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29688 is returned.
29689
7e4afad5
UD
29690 * string/_strerror.c (__strerror_r): Print negative errors as signed
29691 numbers.
29692
8e211fec
UD
29693 [BZ #12777]
29694 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29695 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29696 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29697
f7d82dc9
UD
29698 * configure.in: Fix typo in redirection and correct removal of test
29699 files in two cases.
29700
cc9e536d
UD
29701 [BZ #12788]
29702 * locale/setlocale.c (new_composite_name): Fix test to check for
29703 identical name of all categories.
29704
aec84f53
UD
29705 [BZ #12792]
29706 * libio/filedoalloc.c (local_isatty): New function.
29707 (_IO_file_doallocate): Use local_isatty.
29708 * stdio-common/perror.c (perror): In case a new stream is used
29709 forward the stream error.
29710 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29711 error flag.
29712
78e64fdc
RT
297132011-05-20 Ulrich Drepper <drepper@gmail.com>
29714
34a9094f
UD
29715 [BZ #11869]
29716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29717 alloca.
29718 * include/alloca.h (extend_alloca_account): Define.
29719
78e64fdc
RT
29720 [BZ #11857]
29721 * posix/regex.h: Fix comments with documentation of user-accessible
29722 fields after compilation and describe correct free'ing of pattern
29723 after re_compile_pattern.
29724 Patch by Reuben Thomas <rrt@sc3d.org>.
29725
457bddfc
RA
297262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29727
29728 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29729 and -mno-altivec to prevent the compiler from using Altivec and/or
29730 VSX instructions when the corresponding registers are not available.
29731
a4527b51
AS
297322011-05-19 Andreas Schwab <schwab@redhat.com>
29733
29734 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29735
ed690b2f
UD
297362011-05-19 Ulrich Drepper <drepper@gmail.com>
29737
29738 * libio/freopen.c (freopen): Use __dup2, not dup2.
29739 * libio/freopen64.c (freopen64): Likewise.
29740
8db73634
L
297412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29742
29743 [BZ #12775]
29744 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29745 * math/Makefile (tests): Add test-powl.
29746 (CFLAGS-test-powl.c): Define.
29747 * math/test-powl.c: New file.
29748
0a197a9d
L
297492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29750
29751 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29752
ee30c380
UD
297532011-05-17 Ulrich Drepper <drepper@gmail.com>
29754
29755 [BZ #11837]
29756 * iconvdata/gb18030.c: Update to GB18020-2005.
29757
6ce75379
UD
297582011-05-16 Ulrich Drepper <drepper@gmail.com>
29759
a4b89fd8
AR
29760 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29761 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29762 Patch by Aharon Robbins <arnold@skeeve.com>.
29763
ea389b12
UD
29764 [BZ #11892]
29765 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29766 on the stack.
29767
68a3f91f
UD
29768 [BZ #11895]
29769 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29770 through underflows.
29771
15cc7dd1
UD
29772 [BZ #12766]
29773 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29774 point to strings before performing equality test for error_one_per_line
29775 mode.
29776
f3799213
UD
29777 [BZ #11697]
29778 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29779
d79a9c94
UD
29780 [BZ #11820]
29781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29782 (struct user_fpregs_struct): Avoid __uint*_t types.
29783
56e5eb46
UD
29784 [BZ #6420]
29785 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29786 symbol info. Use it instead of calling _dl_addr locally.
29787 (lock_and_info): New function.
29788 (tr_freehook): Call lock_and_info and pass symbol info as additional
29789 parameter to tr_where.
29790 (tr_mallochook): Likewise.
29791 (tr_reallochook): Likewise.
29792 (tr_memalignhook): Likewise.
29793
6ce75379
UD
29794 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29795 used and couldn't be at all thread-safe.
29796
f8a3b5bf
UD
297972011-05-15 Ulrich Drepper <drepper@gmail.com>
29798
94b7cc37
UD
29799 * libio/freopen.c (freopen): Don't close old file descriptor
29800 before the new one is opened. Instead dup the new file descriptor
29801 to the old one after the new stream is created.
29802 * libio/freopen64.c (freopen64): Likewise.
29803 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29804 * libio/fileops.c (_IO_new_file_close_it): Handle new
29805 _IO_FLAGS2_NOCLOSE flag.
29806 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29807 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29808 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29809 _IO_FLAGS2_NOCLOSE flag.
29810 * include/unistd.h: Add hidden_proto for dup3.
29811 Define __have_dup3.
29812 * io/dup3.c: Define hidden symbol.
29813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29814
bd25564e
UD
29815 [BZ #7101]
29816 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29817 when an incomplete long option is used.
29818 * posix/tst-getopt_long1.c: New file.
29819 * posix/Makefile (tests): Add tst-getopt_long1.
29820
c84cfef4
UD
29821 [BZ #10138]
29822 * scripts/config.guess: Update from autoconf-2.68.
29823 * scripts/config.sub: Likewise.
29824
3b85df27
UD
29825 [BZ #10157]
29826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29827 tests into ...
29828 (has_cpuclock): ...this. New function.
29829 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29830 macro here based on has_cpuclock code.
29831
15a856b1
UD
29832 [BZ #10149]
29833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29834 First byte (not low byte) is now always NUL.
29835 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29836
05f399e6
UD
29837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29838 Use non-cancelable interfaces.
29839
10a52685 29840 [BZ #9809]
94ecc67d
UD
29841 * locale/iso-639.def: Add entry for Sorani.
29842
f8a3b5bf
UD
29843 [BZ #11901]
29844 * include/stdlib.h: Move include protection to the right place.
29845 Define abort_msg_s. Declare __abort_msg with it.
29846 * stdlib/abort.c (__abort_msg): Adjust type.
29847 * assert/assert.c (__assert_fail_base): New function. Majority
29848 of code from __assert_fail. Allocate memory for __abort_msg with
29849 mmap.
29850 (__assert_fail): Now call __assert_fail_base.
29851 * assert/assert-perr.c: Remove bulk of implementation. Use
29852 __assert_fail_base.
29853 * include/assert.hL Declare __assert_fail_base.
29854 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29855 mmap.
29856 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29857
1af4e298
UD
298582011-05-14 Ulrich Drepper <drepper@gmail.com>
29859
f8a3b5bf 29860 [BZ #11952]
d26dfc60
MG
29861 [BZ #12453]
29862 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29863 until all modules are registered in the DTV.
29864 * elf/Makefile: Add rules to build and run tst-tls19.
29865 * elf/tst-tls19.c: New file.
29866 * elf/tst-tls19mod1.c: New file.
29867 * elf/tst-tls19mod2.c: New file.
29868 * elf/tst-tls19mod3.c: New file.
29869 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29870
2fc54d6f
UD
29871 [BZ #12083]
29872 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29873 correctly.
29874
98d76b46
UD
29875 [BZ #12601]
29876 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29877 two-byte sequence errors.
29878 * iconvdata/Makefile (tests): Add bug-iconv8.
29879 * iconvdata/bug-iconv8.c: New file.
29880
da3c19ef
UD
29881 [BZ #12626]
29882 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29883 buf2 definition.
29884
ca408c15
UD
29885 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29886
d6f67f7d
UD
29887 [BZ #12432]
29888 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29889 (dummy_getcfa): New function.
29890 (init): Get _Unwind_GetCFA address, use dummy if not found.
29891 (backtrace_helper): In recursion check, also check whether CFA changes.
29892 (__backtrace): Completely initialize arg.
29893
1af4e298 29894 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29895 storing incomplete byte sequence in state object. Avoid testing for
29896 guaranteed too small input if we know there is enough data available.
1af4e298 29897
da62f81b
AS
298982011-05-11 Andreas Schwab <schwab@redhat.com>
29899
29900 * Makeconfig (+link-pie): Indent.
29901 * Rules (binaries-pie): Define if $(have-fpie) and
29902 $(build-shared).
29903 (binaries-shared): Also filter out $(binaries-pie).
29904 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29905 * nscd/Makefile (others-pie): Add nscd.
29906 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29907 ($(objpfx)nscd): Remove command override.
29908 * login/Makefile (others-pie): Add pt_chown.
29909 ($(objpfx)pt_chown): Remove command override.
29910 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29911 remove command overrides.
29912
fcabc0f8
UD
299132011-05-13 Ulrich Drepper <drepper@gmail.com>
29914
20030ae6
UD
29915 * libio/tst_putwc.c: Fix error messages.
29916
fcabc0f8
UD
29917 [BZ #12724]
29918 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29919 currently writing and seek to current position when not.
29920 * libio/Makefile (tests): Add bug-fclose1.
29921 * libio/bug-fclose1.c: New file.
29922
320a5dc0
PB
299232011-05-12 Ulrich Drepper <drepper@gmail.com>
29924
29925 [BZ #12511]
29926 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29927 don't set DF_1_NODELETE here.
29928 (do_lookup_x): When entering new entry test for copy relocation
29929 and if necessary set DF_1_NODELETE flag.
29930 * elf/tst-unique4.cc: New file.
29931 * elf/tst-unique4.h: New file.
29932 * elf/tst-unique4lib.cc: New file.
29933 * elf/Makefile: Add rules to build and run tst-unique4.
29934 Patch by Piotr Bury <pbury@goahead.com>.
29935
22836f52
UD
299362011-05-11 Ulrich Drepper <drepper@gmail.com>
29937
f574184a
UD
29938 [BZ #12052]
29939 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29940
e1fb097f
UD
29941 [BZ #12625]
29942 * misc/mntent_r.c (addmntent): Flush the stream after the output
29943
22836f52
UD
29944 [BZ #12393]
29945 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29946 (is_trusted_path_normalize): Skip initial colon. Append slash
29947 to empty buffer. Duplicate is_trusted_path code but allow
29948 constructed patch to be prefix.
29949 (is_dst): Allow $ORIGIN followed by /.
29950 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29951 Correct testing of result of is_trusted_path_normalize
29952 (decompose_rpath): Fix warning.
29953
7b3b0b2a
UD
299542011-05-10 Ulrich Drepper <drepper@gmail.com>
29955
29956 [BZ #11257]
29957 * grp/initgroups.c (internal_getgrouplist): When we found the service
29958 list through the initgroups entry in nsswitch.conf do not always
29959 continue on a successful lookup. Don't always use the
eac80ce2 29960 __nss_group_database value if it is set.
7b3b0b2a
UD
29961 * nss/nsswitch.conf (initgroups): Change action for successful db
29962 lookup to continue for compatibility.
29963
2a81eaa5
UD
299642011-05-09 Ulrich Drepper <drepper@gmail.com>
29965
be97a69e
UD
29966 [BZ #11532]
29967 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29968 and CP774 modules.
29969 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29970 and CP774 modules.
29971 * iconvdata/tst-tables.sh: Likewise.
29972 * iconvdata/cp770.c: New file.
29973 * iconvdata/cp771.c: New file.
29974 * iconvdata/cp772.c: New file.
29975 * iconvdata/cp773.c: New file.
29976 * iconvdata/cp774.c: New file.
29977 * iconvdata/testdata/CP770: New file.
29978 * iconvdata/testdata/CP770..UTF8: New file.
29979 * iconvdata/testdata/CP771: New file.
29980 * iconvdata/testdata/CP771..UTF8: New file.
29981 * iconvdata/testdata/CP772: New file.
29982 * iconvdata/testdata/CP772..UTF8: New file.
29983 * iconvdata/testdata/CP773: New file.
29984 * iconvdata/testdata/CP773..UTF8: New file.
29985 * iconvdata/testdata/CP774: New file.
29986 * iconvdata/testdata/CP774..UTF8: New file.
29987
29988 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29989 END CHARMAP line.
29990 * iconvdata/gen-8bit-gap.sh: Likewise.
29991 * iconvdata/gen-8bit.sh: Likewise.
29992
c1e9e399
UD
29993 * locale/iso-639.def: Add ary entry.
29994
24c55fb3 29995 [BZ #11258]
96b4b1b0
UD
29996 * locale/C-translit.h.in: Add U20A1 transliteration.
29997
bdc2f971
KB
29998 [BZ #12178]
29999 * locale/iso-639.def: Add wae entry.
30000 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30001
2952b117
UD
30002 [BZ #12545]
30003 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30004 for n.
30005
2a81eaa5
UD
30006 [BZ #12711]
30007 * locale/C-translit.h.in: Add entry for U20B9.
30008 Patch by pravin.d.s@gmail.com.
30009
28377d1b
UD
300102011-05-08 Ulrich Drepper <drepper@gmail.com>
30011
7fb90fb8
UD
30012 [BZ #12713]
30013 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30014 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30015 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30016 in rtld. Use *stat64.
7fb90fb8 30017 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30018 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30019 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30020 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30021 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30022 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30023 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30024 __fstatat64 macros.
7fb90fb8
UD
30025 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30026 * dirent/rewinddir.c: Add libc_hidden_def.
30027 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30028 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30029
28377d1b
UD
30030 * include/dirent.h (__alloc_dir): Add flags parameter.
30031 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30032 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30033 __alloc_dir.
30034 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30035 from fdopendir if O_CLOEXEC is already set.
30036
66bdbaa4
AM
300372011-03-15 Alan Modra <amodra@gmail.com>
30038
30039 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30040 l_tls_firstbyte_offset non-zero. Save padding offset in
30041 l_tls_firstbyte_offset for later use.
30042 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30043 freeing static tls block.
30044
95721191
JN
300452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30046
30047 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30048 where #ifdef was intended. The intent is to prevent ARG_MAX from
30049 being defined by the kernel headers.
30050
f87dfb1f
UD
300512011-05-07 Ulrich Drepper <drepper@gmail.com>
30052
30053 [BZ #12734]
30054 * resolv/resolv.h: Define RES_NOTLDQUERY.
30055 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30056 no-tld-query and set RES_NOTLDQUERY.
30057 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30058 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30059 modern BIND to search name as TLD unless forbidden.
30060
47c3cd7a
UD
300612011-05-07 Petr Baudis <pasky@suse.cz>
30062 Ulrich Drepper <drepper@gmail.com>
30063
30064 [BZ #12393]
30065 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30066 (is_trusted_path): ...to here.
c1e9ea35 30067 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30068 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30069 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30070
8a35c912
PP
300712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30072
30073 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30074 __BEGIN/__END_DECLS.
30075
acd41f47
UD
300762011-05-06 Ulrich Drepper <drepper@gmail.com>
30077
30078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30079 NSS_STATUS_NOTFOUND if no record was found.
30080
597df647
AS
300812011-05-05 Andreas Schwab <schwab@redhat.com>
30082
30083 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30084 (headers-not-in-tirpc): Remove rpc/netdb.h
30085 * resolv/netdb.h: Revert last change.
30086
b9af1301
PP
300872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30088
30089 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30090 circular dependency between libgcc.a and libc.a.
30091
4e34d5f5
AS
300922011-05-05 Andreas Schwab <schwab@redhat.com>
30093
30094 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30095 * nis/Makefile: Don't install rpcsvc/*.
30096 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30097 instead of <rpc/types.h>.
30098 (MAXHOSTNAMELEN): Define.
30099
00ee369c
AS
301002011-05-03 Andreas Schwab <schwab@redhat.com>
30101
30102 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30103
0b592a30
MB
301042011-04-28 Maciej Babinski <mbabinski@google.com>
30105
30106 [BZ #12714]
30107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30108 gethostbyname4_r when IPv6 results are possible.
30109
6e04cbbe
UD
301102011-05-02 Ulrich Drepper <drepper@gmail.com>
30111
30112 [BZ #12723]
30113 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30114 _PC_PIPE_BUF handling.
30115
e4ecafe0
BH
301162011-04-30 Bruno Haible <bruno@clisp.org>
30117
30118 [BZ #12717]
30119 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30120 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30121 to 'int'.
30122 * inet/getnameinfo.c (getnameinfo): Likewise.
30123
125ee683
UD
301242011-04-29 Ulrich Drepper <drepper@gmail.com>
30125
30126 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30127 to groups setting in database lookup.
30128 * nss/nsswitch.conf: Add initgroups entry.
30129
b722481a
EB
301302011-04-22 Ulrich Drepper <drepper@gmail.com>
30131
30132 [BZ #12685]
30133 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30134 mode string.
30135 Patch by Eric Blake <eblake@redhat.com>.
30136
4df46dbd
L
301372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30138
30139 * sunrpc/Makefile (need-export-routines): Add svc_run.
30140 (routines): Remove svc_run.
30141 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30142 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30143 * sunrpc/svc_run.c (svc_run): Likewise.
30144 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30145
e84142d2
UD
301462011-04-21 Ulrich Drepper <drepper@gmail.com>
30147
30148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30149 problem in reallocation in last patch.
30150
877175d8
UD
301512011-04-20 Ulrich Drepper <drepper@gmail.com>
30152
30153 * sunrpc/Makefile: Move inclusion of Rules.
30154
ab8eed78
UD
301552011-04-19 Ulrich Drepper <drepper@gmail.com>
30156
30157 * nss/nss_files/files-initgroups.c: New file.
30158 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30159 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30160 _nss_files_initgroups_dyn.
30161
e3d8f584
RS
301622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30163
30164 * elf/elf.h (R_ARM_IRELATIVE): Define.
30165
af190f45
UD
301662011-04-19 Ulrich Drepper <drepper@gmail.com>
30167
30168 * po/ru.po: Update from translation team.
30169
53cf59ef
UD
301702011-04-17 Ulrich Drepper <drepper@gmail.com>
30171
30172 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30173 dependencies.
30174
4c559bcd
MF
301752011-02-06 Mike Frysinger <vapier@gentoo.org>
30176
30177 [BZ #12653]
30178 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30179 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30181 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30182 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30183
4420675c
AS
301842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30185
30186 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30187 differing bytes.
30188 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30191
75ea32ab
UD
301922011-04-17 Ulrich Drepper <drepper@gmail.com>
30193
30194 [BZ #12420]
30195 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30196 storing it.
30197 * stdlib/bug-getcontext.c: New file.
30198 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30199
27390476
AK
302002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30201
30202 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30203 instructions into .machine "z9-109".
30204 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30205 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30206
10442705
AK
302072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30208
30209 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30210 between environment variables and auxiliary vector.
30211
7b57bfe5
UD
302122011-04-16 Ulrich Drepper <drepper@gmail.com>
30213
30214 * Makefile: Add rules to build linkobj/libc.so.
30215 * include/libc-symbols.h: Define libc_hidden_nolink.
30216 * include/rpc/auth.h: Mark functions which are to be hidden.
30217 * include/rpc/auth_des.h: Likewise.
30218 * include/rpc/auth_unix.h: Likewise.
30219 * include/rpc/clnt.h: Likewise.
30220 * include/rpc/des_crypt.h: Likewise.
30221 * include/rpc/key_prot.h: Likewise.
30222 * include/rpc/pmap_clnt.h: Likewise.
30223 * include/rpc/pmap_prot.h: Likewise.
30224 * include/rpc/pmap_rmt.h: Likewise.
30225 * include/rpc/rpc_msg.h: Likewise.
30226 * include/rpc/svc.h: Likewise.
30227 * include/rpc/svc_auth.h: Likewise.
30228 * include/rpc/xdr.h: Likewise.
30229 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30230 * nss/Makefile: Likewise.
30231 * sunrpc/Makefile: Don't install headers. Build library with normal
30232 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30233 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30234 for the compat linking library. Remove use of INTDEF/INTUSE.
30235 * sunrpc/auth_none.c: Likewise.
30236 * sunrpc/auth_unix.c: Likewise.
30237 * sunrpc/authdes_prot.c: Likewise.
30238 * sunrpc/authuxprot.c: Likewise.
30239 * sunrpc/clnt_gen.c: Likewise.
30240 * sunrpc/clnt_perr.c: Likewise.
30241 * sunrpc/clnt_raw.c: Likewise.
30242 * sunrpc/clnt_simp.c: Likewise.
30243 * sunrpc/clnt_tcp.c: Likewise.
30244 * sunrpc/clnt_udp.c: Likewise.
30245 * sunrpc/clnt_unix.c: Likewise.
30246 * sunrpc/des_crypt.c: Likewise.
30247 * sunrpc/des_soft.c: Likewise.
30248 * sunrpc/get_myaddr.c: Likewise.
30249 * sunrpc/key_call.c: Likewise.
30250 * sunrpc/key_prot.c: Likewise.
30251 * sunrpc/netname.c: Likewise.
30252 * sunrpc/pm_getmaps.c: Likewise.
30253 * sunrpc/pm_getport.c: Likewise.
30254 * sunrpc/pmap_clnt.c: Likewise.
30255 * sunrpc/pmap_prot.c: Likewise.
30256 * sunrpc/pmap_prot2.c: Likewise.
30257 * sunrpc/pmap_rmt.c: Likewise.
30258 * sunrpc/publickey.c: Likewise.
30259 * sunrpc/rpc_cmsg.c: Likewise.
30260 * sunrpc/rpc_common.c: Likewise.
30261 * sunrpc/rpc_dtable.c: Likewise.
30262 * sunrpc/rpc_prot.c: Likewise.
30263 * sunrpc/rpc_thread.c: Likewise.
30264 * sunrpc/rtime.c: Likewise.
30265 * sunrpc/svc.c: Likewise.
30266 * sunrpc/svc_auth.c: Likewise.
30267 * sunrpc/svc_authux.c: Likewise.
30268 * sunrpc/svc_raw.c: Likewise.
30269 * sunrpc/svc_run.c: Likewise.
30270 * sunrpc/svc_simple.c: Likewise.
30271 * sunrpc/svc_tcp.c: Likewise.
30272 * sunrpc/svc_udp.c: Likewise.
30273 * sunrpc/svc_unix.c: Likewise.
30274 * sunrpc/svcauth_des.c: Likewise.
30275 * sunrpc/xcrypt.c: Likewise.
30276 * sunrpc/xdr.c: Likewise.
30277 * sunrpc/xdr_array.c: Likewise.
30278 * sunrpc/xdr_float.c: Likewise.
30279 * sunrpc/xdr_intXX_t.c: Likewise.
30280 * sunrpc/xdr_mem.c: Likewise.
30281 * sunrpc/xdr_rec.c: Likewise.
30282 * sunrpc/xdr_ref.c: Likewise.
30283 * sunrpc/xdr_sizeof.c: Likewise.
30284 * sunrpc/xdr_stdio.c: Likewise.
30285
e6c61494
UD
302862011-04-10 Ulrich Drepper <drepper@gmail.com>
30287
30288 [BZ #12650]
30289 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30290 * sysdeps/ia64/dl-tls.h: Likewise.
30291 * sysdeps/powerpc/dl-tls.h: Likewise.
30292 * sysdeps/s390/dl-tls.h: Likewise.
30293 * sysdeps/sh/dl-tls.h: Likewise.
30294 * sysdeps/sparc/dl-tls.h: Likewise.
30295 * sysdeps/x86_64/dl-tls.h: Likewise.
30296 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30297
34fe483e
AS
302982011-03-14 Andreas Schwab <schwab@redhat.com>
30299
30300 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30301 rpath element also skip the following colon.
30302 (expand_dynamic_string_token): Add is_path parameter and pass
30303 down to DL_DST_REQUIRED and _dl_dst_substitute.
30304 (decompose_rpath): Call expand_dynamic_string_token with
30305 non-zero is_path. Ignore empty rpaths.
30306 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30307 with zero is_path.
30308
f12a32e6
AS
303092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30310
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30312 Make cancelable.
30313
38a7d692
UD
303142011-04-09 Ulrich Drepper <drepper@gmail.com>
30315
30316 [BZ #12655]
30317 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30318 Patch by Filipe David Manana <fdmanana@apache.org>.
30319
e451d22b
AS
303202011-04-07 Andreas Schwab <schwab@redhat.com>
30321
30322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30323 Maintain aligned stack.
30324 (CHECK_RSP): Remove unused macro.
30325
dedc7c7b
UD
303262011-04-03 Ulrich Drepper <drepper@gmail.com>
30327
30328 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30330
94521213
UD
303312011-04-02 Ulrich Drepper <drepper@gmail.com>
30332
30333 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30334
8cb700c0 30335 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30336
0354e355
L
303372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30338
30339 [BZ #12518]
30340 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30341 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30342 * sysdeps/x86_64/memmove.c: New file.
30343 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30344 (memcpy): Renamed to ...
30345 (__new_memcpy): This.
30346 (memcpy): Provide GLIBC_2_14 memcpy.
30347 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30348 (memcpy): Provide GLIBC_2_2_5 memcpy.
30349
8593482f
UD
303502011-04-01 Ulrich Drepper <drepper@gmail.com>
30351
30352 [BZ #12631]
30353 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30354
81a5726b
AS
303552011-03-30 Andreas Schwab <schwab@redhat.com>
30356
30357 * misc/syncfs.c: New file.
30358 * misc/Makefile (routines): Add syncfs.
30359 * posix/unistd.h: Declare syncfs.
30360 * sysdeps/unix/syscalls.list: Add syncfs.
30361
00e5419f
AS
303622011-04-01 Andreas Schwab <schwab@redhat.com>
30363
30364 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30365 open_by_handle_at.
30366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30371 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30373
748876bf
UD
303742011-04-01 Ulrich Drepper <drepper@gmail.com>
30375
658e451d
UD
30376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30378 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30383
748876bf
UD
30384 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30385 sync_file_range.c with -fexceptions.
30386 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30387 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30388 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30389 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30390 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30391 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30392 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30393 sync_file_range as cancellation point
30394 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30395 now a wrapper around __call_sync_file_range with cancellation handling.
30396 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30397 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30398 function name to __call_sync_file_range.
30399 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30400 Add call_sync_file_range.
748876bf 30401
6e63d5e1
AS
304022011-04-01 Andreas Schwab <schwab@redhat.com>
30403
30404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30405 bits/timex.h.
6e63d5e1 30406
46998f74
UD
304072011-04-01 Ulrich Drepper <drepper@gmail.com>
30408
4c1423ed
UD
30409 * iconv/iconv.h: Fix typo in comment.
30410 * io/fcntl.h: Likewise.
30411 * libio/stdio.h: Likewise.
30412 * posix/spawn.h: Likewise.
30413 * posix/unistd.h: Likewise.
30414 * stdlib/stdlib.h: Likewise.
30415 * time/time.h: Likewise.
30416 * wcsmbs/wchar.h: Likewise.
30417
158648c0
UD
30418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30419 open_by_handle): Add.
30420 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30421 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30422 Augment a few comments.
30423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30428 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30429 open_by_handle.
30430
46998f74
UD
30431 * io/fcntl.h (AT_EMPTY_PATH): Define.
30432
83fe108b
UD
304332011-03-30 Ulrich Drepper <drepper@gmail.com>
30434
30435 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30436 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30437 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30438 to...
30439 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30440 * Versions.def: Add GLIBC_2.14.
30441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30442 Export.
83fe108b 30443
bb242059
UD
304442011-03-22 Ulrich Drepper <drepper@gmail.com>
30445
30446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30447 round counter.
30448 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30449
c97a1282
L
304502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30451
30452 [BZ #12597]
30453 * string/test-strncmp.c (do_page_test): New function.
30454 (check2): Likewise.
30455 (test_main): Call check2.
30456 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30457
2a115601
UD
304582011-03-20 Ulrich Drepper <drepper@gmail.com>
30459
30460 [BZ #12587]
30461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30462 Handle cache information in CPU leaf 4.
30463 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30464
8126d904
UD
304652011-03-18 Ulrich Drepper <drepper@gmail.com>
30466
042c49c6 30467 [BZ #12583]
8126d904
UD
30468 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30469 character representation.
30470 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30471
ccfe366e
RA
304722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30473
30474 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30475 END(__isnan) to END(__isnanf) to match function entry point/label
30476 EALIGN(__isnanf,...).
30477
c6e13027
JJ
304782011-03-10 Jakub Jelinek <jakub@redhat.com>
30479
30480 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30481
33f85a3f
UD
304822011-03-10 Ulrich Drepper <drepper@gmail.com>
30483
028478fa
UD
30484 [BZ #12510]
30485 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30486 copy from the symbol referenced in the relocation to initialize the
30487 used variable.
30488 Patch by Piotr Bury <pbury@goahead.com>.
30489 * elf/Makefile: Add rules to build and tst-unique3.
30490 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30491 * elf/tst-unique3.cc: New file.
30492 * elf/tst-unique3.h: New file.
30493 * elf/tst-unique3lib.cc: New file.
30494 * elf/tst-unique3lib2.cc: New file.
30495
33f85a3f
UD
30496 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30497
03592fc7
MF
304982011-03-10 Mike Frysinger <vapier@gentoo.org>
30499
30500 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30501 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30502 to _start.
03592fc7 30503
6a5ee102
UD
305042011-03-06 Ulrich Drepper <drepper@gmail.com>
30505
30506 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30507 to-be-loaded object along a path to loader is ld.so.
30508
7e4ba49c
HJ
305092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30510 Ulrich Drepper <drepper@gmail.com>
30511
30512 * sysdeps/x86_64/memset.S: After aligning destination, code
30513 branches to different locations depending on the value of
30514 misalignment, when multiarch is enabled. Fix this.
30515
305162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30517
30518 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30519 Set _x86_64_preferred_memory_instruction for AMD processsors.
30520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30521 Set bit_Prefer_SSE_for_memop for AMD processors.
30522
13a804de
UD
305232011-03-04 Ulrich Drepper <drepper@gmail.com>
30524
30525 * libio/fmemopen.c (fmemopen): Optimize a bit.
30526
9d25c392
AS
305272011-03-03 Andreas Schwab <schwab@redhat.com>
30528
30529 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30530
a5543c6a
RM
305312011-03-03 Roland McGrath <roland@redhat.com>
30532
30533 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30534
012d35f7
DM
305352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30536
7e4ba49c 30537 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30538 __bzero_ultra1 instead of __memset_ultra1.
30539
4bff6e01
AS
305402011-02-23 Andreas Schwab <schwab@redhat.com>
30541 Ulrich Drepper <drepper@gmail.com>
30542
30543 [BZ #12509]
30544 * include/link.h (struct link_map): Add l_orig_initfini.
30545 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30546 returning unsuccessfully.
30547 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30548 close of a file loaded at startup, restore the original l_initfini
30549 list.
30550 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30551 list, store the pointer.
30552 * elf/Makefile ($(objpfx)noload-mem): New rule.
30553 (noload-ENV): Define.
30554 (tests): Add $(objpfx)noload-mem.
30555 * elf/noload.c: Include <memcheck.h>.
30556 (main): Call mtrace. Close all opened handles.
30557
f2092faf
AS
305582011-02-17 Andreas Schwab <schwab@redhat.com>
30559
30560 [BZ #12454]
30561 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30562 dependencies are missing.
30563
6c8a2e88
ST
305642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30565
f2092faf 30566 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30567 Hurd needs munmap.
30568 * sysdeps/mach/hurd/ifreq.h: New file.
30569
84a42118
PB
305702011-01-27 Petr Baudis <pasky@suse.cz>
30571 Ulrich Drepper <drepper@gmail.com>
30572
071f805e 30573 [BZ 12445]#
84a42118
PB
30574 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30575 to extend_alloca().
30576 * stdio-common/bug23.c: New file.
30577 * stdio-common/Makefile (tests): Add bug23.
30578
e23fe25b
AS
305792010-09-28 Andreas Schwab <schwab@redhat.com>
30580 Ulrich Drepper <drepper@gmail.com>
30581
30582 [BZ #12489]
30583 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30584 before performing relro protection. At old place add assertion
30585 to make sure nothing changed.
30586
d3f02e10
NS
305872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30588 Glauber de Oliveira Costa <glommer@gmail.com>
30589
30590 * elf/elf.h: Add new ARM TLS relocs.
30591
d55fd7a5
RA
305922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30593
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30595 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30596 cast from r3.
30597 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30598 'tests' variable.
30599 * sysdeps/wordsize-64/tst-writev.c: New file.
30600
2206397e
RA
306012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30602
30603 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30604 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30605 insns in _dl_start to prevent a TOC reference before relocs are
30606 resolved.
30607
e9433893
UD
306082011-02-15 Ulrich Drepper <drepper@gmail.com>
30609
30610 [BZ #12469]
30611 * Makeconfig: Remove RANLIB definition.
30612 * Makerules: Don't use RANLIB.
30613 * aclocal.m4: Remove ranlib test.
30614 * configure.in: No need to check for ranlib.
30615 * elf/rtld-Rules: Don't use RANLIB.
30616
f75286c6
ST
306172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30618
8e31c82d
ST
30619 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30620 protection macro.
30621 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30622 inclusion protection macro.
30623
f75286c6
ST
30624 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30625 SIGRTMIN and SIGRTMAX and print information in that case only when
30626 SIGRTMIN is defined.
30627
c1d0e639
JJ
306282011-02-11 Jakub Jelinek <jakub@redhat.com>
30629
30630 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30631 arginfo fn returning -1.
30632
30633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30634 and thousands string is zero terminated.
30635
edf9294e
AS
306362011-02-03 Andreas Schwab <schwab@redhat.com>
30637
30638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30639 sysdeps/unix/sysv/linux/bits/socket.h.
30640
2b7e92df
ST
306412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30642
edf9294e
AS
30643 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30644 (__CPU_COUNT): Remove old macros.
30645 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30646 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30647 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30648 (__sched_cpualloc, __sched_cpufree): Add declarations.
30649
a4c7ea7b
UD
306502011-02-05 Ulrich Drepper <drepper@gmail.com>
30651
30652 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30653 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30654 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30655 (readdhstai): Return value of addhstaiX call.
30656 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30657 (addgrbyX): Return value returned by cache_addgr.
30658 (readdgrbyname): Return value returned by addgrbyX.
30659 (readdgrbygid): Likewise.
30660 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30661 (addpwbyX): Return value returned by cache_addpw.
30662 (readdpwbyname): Return value returned by addhstbyX.
30663 (readdpwbyuid): Likewise.
30664 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30665 (addservbyX): Return value returned by cache_addserv.
30666 (readdservbyname): Return value returned by addservbyX:
30667 (readdservbyport): Likewise.
30668 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30669 (addhstbyX): Return value returned by cache_addhst.
30670 (readdhstbyname): Return value returned by addhstbyX.
30671 (readdhstbyaddr): Likewise.
30672 (readdhstbynamev6): Likewise.
30673 (readdhstbyaddrv6): Likewise.
30674 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30675 (readdinitgroups): Return value returned by addinitgroupsX.
30676 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30677 (prune_cache): Keep track of timeout value of re-added entries.
30678 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30679 * nscd/nscd.h: Adjust prototypes of readd* functions.
30680
a0bf67cc
RM
306812011-02-04 Roland McGrath <roland@redhat.com>
30682
30683 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30684 (nis_stats): Likewise.
30685 * nis/nis_modify.c (nis_modify): Likewise.
30686 * nis/nis_remove.c (nis_remove): Likewise.
30687 * nis/nis_add.c (nis_add): Likewise.
30688
30689 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30690
30691 * posix/fnmatch_loop.c: Add some consts.
30692
30693 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30694
435b95eb
L
306952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30696
30697 [BZ #12460]
30698 * config.make.in (config-cflags-novzeroupper): Define.
30699 * configure.in: Substitute libc_cv_cc_novzeroupper.
30700 * elf/Makefile (AVX-CFLAGS): Define.
30701 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30702 (CFLAGS-tst-auditmod4a.c): Likewise.
30703 (CFLAGS-tst-auditmod4b.c): Likewise.
30704 (CFLAGS-tst-auditmod6b.c): Likewise.
30705 (CFLAGS-tst-auditmod6c.c): Likewise.
30706 (CFLAGS-tst-auditmod7b.c): Likewise.
30707 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30708
8517b15e
UD
307092011-02-02 Ulrich Drepper <drepper@gmail.com>
30710
30711 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30712 function to the callback.
30713 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30714
10a656fe
AS
307152011-02-02 Andreas Schwab <schwab@redhat.com>
30716
30717 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30718 of errno.
30719
968dad0a
UD
307202011-01-19 Ulrich Drepper <drepper@gmail.com>
30721
9f94d2ea 30722 [BZ #11724]
968dad0a
UD
30723 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30724 of constructors.
30725 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30726 of destructors.
30727 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30728
30729 [BZ #11724]
30730 * elf/Makefile: Add rules to build and run new test.
30731 * elf/tst-initorder.c: New file.
30732 * elf/tst-initorder.exp: New file.
30733 * elf/tst-initordera1.c: New file.
30734 * elf/tst-initordera2.c: New file.
30735 * elf/tst-initordera3.c: New file.
30736 * elf/tst-initordera4.c: New file.
30737 * elf/tst-initorderb1.c: New file.
30738 * elf/tst-initorderb2.c: New file.
30739 * elf/tst-order-a1.c: New file.
30740 * elf/tst-order-a2.c: New file.
30741 * elf/tst-order-a3.c: New file.
30742 * elf/tst-order-a4.c: New file.
30743 * elf/tst-order-b1.c: New file.
30744 * elf/tst-order-b2.c: New file.
30745 * elf/tst-order-main.c: New file.
30746 New test case by George Gensure <werkt0@gmail.com>.
30747
86e92359
UD
307482010-10-01 Andreas Schwab <schwab@redhat.com>
30749
30750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30751 decoding ACE if AI_CANONIDN.
30752
5d5732b0
UD
307532011-01-18 Ulrich Drepper <drepper@gmail.com>
30754
30755 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30756
a77e8cbc
UD
307572011-01-17 Ulrich Drepper <drepper@gmail.com>
30758
6392473f
UD
30759 * version.h (RELEASE): Bump for 2.13 release.
30760 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30761
620a0529
UD
30762 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30763
18ba70a5
UD
30764 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30765 MADV_NOHUGEPAGE.
32465c3e
UD
30766 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30769 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30772
c0dafcf1
UD
30773 * posix/getconf.c: Update copyright year.
30774 * catgets/gencat.c: Likewise.
30775 * csu/version.c: Likewise.
30776 * debug/catchsegv.sh: Likewise.
30777 * debug/xtrace.sh: Likewise.
30778 * elf/ldconfig.c: Likewise.
30779 * elf/ldd.bash.in: Likewise.
30780 * elf/sprof.c (print_version): Likewise.
30781 * iconv/iconv_prog.c: Likewise.
30782 * iconv/iconvconfig.c: Likewise.
30783 * locale/programs/locale.c: Likewise.
30784 * locale/programs/localedef.c: Likewise.
30785 * malloc/memusage.sh: Likewise.
30786 * malloc/mtrace.pl: Likewise.
30787 * nscd/nscd.c (print_version): Likewise.
30788 * nss/getent.c: Likewise.
30789
a77e8cbc
UD
30790 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30791 PF_CAIF, and PF_ALG.
30792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30793
77e8bddf
AS
307942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30795
1f20b93a
AS
30796 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30797 (modules-names): Use them.
30798 (ifunc-test-modules, ifunc-pie-tests): Define.
30799 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30800 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30801 (test-extras): Likewise.
30802 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30803 $(compile-command.c).
30804 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30805 (all-built-dso): Define.
30806 (check-textrel.out, check-execstack.out): Depend on it.
30807
77e8bddf
AS
30808 * configure.in: Don't override --enable-multi-arch.
30809
bc425b33
UD
308102011-01-15 Ulrich Drepper <drepper@gmail.com>
30811
30812 [BZ #6812]
30813 * nscd/hstcache.c (tryagain): Define.
30814 (cache_addhst): Return tryagain not notfound for temporary errors.
30815 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30816 failed.
30817
794c3ad3
UD
308182011-01-14 Ulrich Drepper <drepper@gmail.com>
30819
70181fdd
UD
30820 [BZ #10563]
30821 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30822 to make the syscall.
30823 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30824
794c3ad3
UD
30825 [BZ #12378]
30826 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30827 and fall back to matching as normal character if the string ends before
30828 the matching ']' is found. This is what POSIX requires.
30829 * posix/testfnm.c: Adjust test result.
30830 * posix/globtest.sh: Adjust test result. Add new test.
30831 * posix/tst-fnmatch.input: Likewise.
30832 * posix/tst-fnmatch2.c: Add new test.
30833
68dc9497
AS
308342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30835
30836 * elf/Makefile (check-execstack): Revert last change. Depend on
30837 check-execstack.h.
30838 (check-execstack.h): New target.
30839 (generated): Add check-execstack.h.
30840 * elf/check-execstack.c: Include "check-execstack.h".
30841 (main): Revert last change.
30842 (handle_file): Return zero if GNU_STACK is absent and
30843 DEFAULT_STACK_PERMS doesn't include PF_X.
30844
451f001b
UD
308452011-01-13 Ulrich Drepper <drepper@gmail.com>
30846
cfa28e56
UD
30847 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30848 in child fails because the descriptor is already closed.
8cf8ce17
UD
30849 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30850 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30851 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30852
1086d70d
UD
30853 [BZ #12397]
30854 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30855 syscall.
30856
451f001b
UD
30857 [BZ #10484]
30858 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30859 temporary buffer used to handle multi lookups locally.
a85b5cb4 30860 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30861
08769175
UD
308622011-01-12 Ulrich Drepper <drepper@gmail.com>
30863
30864 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30865 loader is ld.so.
30866
5e49c52e
UD
308672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30868
30869 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30870 alignment for SSE2.
30871
60522a5f
UD
308722011-01-12 Ulrich Drepper <drepper@gmail.com>
30873
30874 [BZ #12394]
30875 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30876 characters. When rounding increased number of integer digits recompute
30877 number of groups.
30878 * stdio-common/tst-grouping.c: New file.
30879 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30880
f257bbd7
UD
308812011-01-09 Ulrich Drepper <drepper@gmail.com>
30882
30883 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30884 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30885
30886 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30887 void.
30888 * bits/select.h: Likewise.
30889
fa9c15cb
UD
308902011-01-08 Ulrich Drepper <drepper@gmail.com>
30891
30892 * po/ja.po: Update from translation team.
30893
16c2895f
DM
308942011-01-04 David S. Miller <davem@sunset.davemloft.net>
30895
30896 [BZ #11155]
30897 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30898 implementation just like for lxstat, fxstatat, et al.
30899
2543fef2
JM
309002010-12-27 Jim Meyering <meyering@redhat.com>
30901
30902 [BZ #12348]
30903 * posix/regexec.c (build_trtable): Return failure indication upon
30904 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30905
98727dbe
UD
309062010-12-25 Ulrich Drepper <drepper@gmail.com>
30907
5bd6dc5c
UD
30908 [BZ #12201]
30909 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30910 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30911 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30912 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30913
97983464
UD
30914 [BZ #12207]
30915 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30916
98727dbe
UD
30917 [BZ #12204]
30918 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30919 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30920
4a531bb0
L
309212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30922
30923 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30924 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30925 script has SORT_BY_INIT_PRIORITY.
30926 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30927 NO_CTORS_DTORS_SECTIONS is defined.
30928 * elf/soinit.c: Likewise.
30929 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30930 NO_CTORS_DTORS_SECTIONS is defined.
30931 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30932 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30933 * sysdeps/sh/init-first.c: Likewise.
30934 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30935
07eb4b71
UD
309362010-12-24 Ulrich Drepper <drepper@gmail.com>
30937
30938 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30939 always use the slow path.
30940
30950a5f
RA
309412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30942
30943 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30944 similar rule which adds the sysdep directories to the header search in
30945 order to pick up the correct platform stackinfo.h.
30946 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30947 perform test if it is, otherwise return successfully without testing.
30948 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30949 DEFAULT_STACK_PERMS define in stackinfo.h.
30950 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30951 defined in stackinfo.h.
30952 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30953 DEFAULT_STACK_PERMS defined in stackinfo.h.
30954 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30955 * sysdeps/ia64/stackinfo.h: Likewise.
30956 * sysdeps/s390/stackinfo.h: Likewise.
30957 * sysdeps/sh/stackinfo.h: Likewise.
30958 * sysdeps/sparc/stackinfo.h: Likewise.
30959 * sysdeps/x86_64/stackinfo.h: Likewise.
30960 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30961 PF_X for powerpc64. Retain PF_X for powerpc32.
30962
db753e2c
UD
309632010-12-19 Ulrich Drepper <drepper@gmail.com>
30964
14b697f7
UD
30965 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30966 accurately.
db753e2c
UD
30967 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30968 GETDENTS_64BIT_ALIGNED.
30969
28300719
UD
309702010-12-14 Ulrich Drepper <dreper@gmail.com>
30971
14b697f7 30972 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30973
4f197237
AS
309742010-12-10 Andreas Schwab <schwab@redhat.com>
30975
dbb0472f
AS
30976 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30977 _GNU_SOURCE.
30978
4f197237
AS
30979 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30980 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30981 Remove __restrict.
30982 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30983 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30984
fb88ac72
UD
309852010-12-09 Ulrich Drepper <drepper@gmail.com>
30986
30987 [BZ #11655]
30988 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30989 are initialized.
30990
42acbb92
JJ
309912010-12-09 Jakub Jelinek <jakub@redhat.com>
30992
30993 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30994
c038d98d
UD
309952010-12-03 Ulrich Drepper <drepper@gmail.com>
30996
30997 * po/it.po: Update from translation team.
30998
3a4a2499
L
309992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31000
31001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31002 unused codes.
31003
1e24cf6e
UD
310042010-11-30 Ulrich Drepper <drepper@gmail.com>
31005
31006 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31007
a7690819
AS
310082010-11-24 Andreas Schwab <schwab@redhat.com>
31009
31010 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31011 specially.
31012 (gaih_getanswer_slice): Likewise.
31013
3bf8d1b1
JJ
310142010-10-20 Jakub Jelinek <jakub@redhat.com>
31015
31016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31017
6db52fbb
PB
310182010-05-31 Petr Baudis <pasky@suse.cz>
31019
31020 [BZ #11149]
31021 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31022 silently even in the chroot mode.
31023
eaca7569
UD
310242010-11-22 Ulrich Drepper <drepper@gmail.com>
31025
31026 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31027 last patch a bit. Pretty printing
31028
3056dcdb
UD
310292010-05-31 Petr Baudis <pasky@suse.cz>
31030
31031 [BZ #10085]
31032 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31033 initialization of skip_initgroups_dyn.
31034
cf7c9078
UD
310352010-11-19 Ulrich Drepper <drepper@gmail.com>
31036
31037 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31038 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31039
a1fb5e3e
UD
310402010-11-16 Ulrich Drepper <drepper@gmail.com>
31041
31042 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31043
3540d66b
AS
310442010-11-11 Andreas Schwab <schwab@redhat.com>
31045
31046 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31047 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31048 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31049 ($(objpfx)tst-fnmatch-mem): New rule.
31050 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31051 * posix/tst-fnmatch.c (main): Call mtrace.
31052
13b69574
L
310532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31054
31055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31056 Support Intel processor model 6 and model 0x2c.
31057
da93d214
LM
310582010-11-10 Luis Machado <luisgpm@br.ibm.com>
31059
31060 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31061 signed comparison.
31062
8ca52c6e
L
310632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31064
31065 [BZ #12205]
31066 * string/test-strncasecmp.c (check_result): New function.
31067 (do_one_test): Use it.
31068 (check1): New function.
31069 (test_main): Use it.
31070 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31071 Support strcasecmp and strncasecmp.
31072
69da074d
UD
310732010-11-08 Ulrich Drepper <drepper@gmail.com>
31074
31075 [BZ #12194]
31076 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31078
ff02d528
L
310792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31080
31081 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31082 IFUNC support.
31083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31084 memset-x86-64.
31085 * sysdeps/x86_64/multiarch/bzero.S: New file.
31086 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31087 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31088 * sysdeps/x86_64/multiarch/memset.S: New file.
31089 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31091 Set bit_Prefer_SSE_for_memop for Intel processors.
31092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31093 Define.
31094 (index_Prefer_SSE_for_memop): Define.
31095 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31096
344d0b54
LM
310972010-11-04 Luis Machado <luisgpm@br.ibm.com>
31098
31099 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31100 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31101
c0dde15b
UD
311022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31103
31104 [BZ #12191]
31105 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31106 (__x86_64_raw_data_cache_size_half): Likewise.
31107 (__x86_64_raw_shared_cache_size): Likewise.
31108 (__x86_64_raw_shared_cache_size_half): Likewise.
31109
31110 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31111 (__x86_64_raw_data_cache_size_half): Likewise.
31112 (__x86_64_raw_shared_cache_size): Likewise.
31113 (__x86_64_raw_shared_cache_size_half): Likewise.
31114 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31115 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31116 and __x86_64_raw_shared_cache_size_half. Round
31117 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31118 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31119 to multiple of 256 bytes.
31120
0e516e0e
MS
311212010-11-03 Ulrich Drepper <drepper@gmail.com>
31122
31123 [BZ #12167]
31124 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31125 of inacessible symlinks. Verify result of symlink before returning it.
31126 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31127 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31128
0e012e87
ER
311292010-10-28 Erich Ritz <erichritz@gmail.com>
31130
31131 * math/math.h (isinf): Fix typo in comment.
31132
de0ff7bc
UD
311332010-11-01 Ulrich Drepper <drepper@gmail.com>
31134
31135 * po/da.po: Update from translation team.
31136
fa41c84d
UD
311372010-10-26 Ulrich Drepper <drepper@gmail.com>
31138
31139 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31140 is added to the list.
31141
f0967738
AK
311422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31143 Ulrich Drepper <drepper@gmail.com>
31144
31145 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31146 the global list here. Move code to...
31147 (_dl_add_to_namespace_list): ...here. New function.
31148 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31149 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31150 * elf/dl-load.c (lose): Don't remove the element from the list.
31151 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31152 (_dl_map_object): Likewise.
31153
311542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31155
31156 [BZ #12159]
31157 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31158 into all bytes of SSE register.
31159 Patch by Richard Li <richardpku@gmail.com>.
31160
f0967738 311612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31162
31163 [BZ #12140]
31164 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31165 perturbing.
31166
d0b9e94f
MB
311672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31168
31169 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31170 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31172 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31174 submachine.
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31176
8e9f92e9
AS
311772010-10-22 Andreas Schwab <schwab@redhat.com>
31178
31179 * include/dlfcn.h (__RTLD_SECURE): Define.
31180 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31181 mode & __RTLD_SECURE instead.
31182 (open_path): Rename preloaded parameter to secure.
31183 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31184 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31185 * elf/dl-deps.c (openaux): Likewise.
31186 * elf/rtld.c (struct map_args): Remove is_preloaded.
31187 (map_doit): Don't use it.
31188 (dl_main): Likewise.
31189 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31190 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31191
bc96fbda
AS
311922010-09-09 Andreas Schwab <schwab@redhat.com>
31193
31194 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31195 (sysd-rules-targets): Remove duplicates.
31196 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31197 rtld-%.$o dependency.
31198
22cd1c9b
AS
311992010-10-18 Andreas Schwab <schwab@redhat.com>
31200
31201 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31202 _dl_map_object do it.
31203
18edac48
UD
312042010-10-19 Ulrich Drepper <drepper@gmail.com>
31205
31206 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31207 fast fma builtins, define the macros in the C99 standard.
31208 (FP_FAST_FMAF): Likewise.
31209 (FP_FAST_FMAL): Likewise.
31210 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31211
31212 * bits/mathdef.h: Update copyright year.
31213 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31214
d2050124
MM
312152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31216
31217 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31218 builtins, define the macros in the C99 standard.
31219 (FP_FAST_FMAF): Likewise.
31220 (FP_FAST_FMAL): Likewise.
31221 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31222 multiply/add.
31223 (FP_FAST_FMAF): Likewise.
31224
475facd1
JJ
312252010-10-15 Jakub Jelinek <jakub@redhat.com>
31226
31227 [BZ #3268]
31228 * math/libm-test.inc (fma_test): Some new testcases.
31229 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31230 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31231 y and infinite z. Do multiplication by C already in long double.
31232 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31234 y and infinite z. Do bitwise or of inexact bit into u.d.
31235 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31236 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31237 * sysdeps/i386/fpu/s_fma.S: Removed.
31238 * sysdeps/i386/fpu/s_fmal.S: Removed.
31239
7c08a05c
JJ
312402010-10-16 Jakub Jelinek <jakub@redhat.com>
31241
31242 [BZ #3268]
31243 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31245 computation is not scheduled after fetestexcept. Fix value
31246 of minimum denormal long double.
31247
f3f7372d
JJ
312482010-10-14 Jakub Jelinek <jakub@redhat.com>
31249
31250 [BZ #3268]
31251 * math/libm-test.inc (fma_test): Add some more tests.
31252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31253 correctly.
31254
14d43591
AS
312552010-10-15 Andreas Schwab <schwab@redhat.com>
31256
31257 * scripts/data/localplt-s390-linux-gnu.data: New file.
31258 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31259
5e908464
JJ
312602010-10-13 Jakub Jelinek <jakub@redhat.com>
31261
31262 [BZ #3268]
31263 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31264 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31265 instead of dbl-64.
31266 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31267 inlines.
31268 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31270 if one of x and y is very large and the other is subnormal.
31271 * sysdeps/s390/fpu/s_fmaf.c: New file.
31272 * sysdeps/s390/fpu/s_fma.c: New file.
31273 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31274 * sysdeps/powerpc/fpu/s_fma.S: New file.
31275 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31276 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31277 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31278
312792010-10-12 Jakub Jelinek <jakub@redhat.com>
31280
31281 [BZ #3268]
31282 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31283 fma tests.
31284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31285 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31286 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31287 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31288 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31289 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31291
b833d51f
UD
312922010-10-12 Ulrich Drepper <drepper@redhat.com>
31293
31294 [BZ #12078]
31295 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31296 * posix/bug-regex31.input: Add test case.
31297
1751705d
UD
312982010-10-11 Ulrich Drepper <drepper@gmail.com>
31299
e9b9cbf5
UD
31300 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31301 * posix/bug-regex31.input: New file.
31302
31303 [BZ #12078]
31304 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31305 (parse_sub_exp): Fix last change, use postorder.
31306
ef06edbe
UD
31307 * posix/bug-regex31.c: New file.
31308 * posix/Makefile: Add rules to build and run bug-regex31.
31309
a129c80d
UD
31310 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31311
31312 [BZ #12078]
31313 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31314
b76b818e
UD
31315 [BZ #12108]
31316 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31317 to have entries in sys_siglist.
31318
1751705d
UD
31319 [BZ #12093]
31320 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31321 be NULL.
31322
9ff8d36f
JJ
313232010-10-07 Jakub Jelinek <jakub@redhat.com>
31324
31325 [BZ #3268]
31326 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31327 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31328 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31329 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31331 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31332 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31333 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31334 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31335 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31336 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31337 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31338 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31339 * math/ftestexcept.c (fetestexcept): Likewise.
31340 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31341 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31342 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31343 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31344 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31345 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31347
af325969
UD
313482010-10-11 Ulrich Drepper <drepper@gmail.com>
31349
c579b202 31350 [BZ #12107]
af325969
UD
31351 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31352 newline.
31353
67a67b95
UD
313542010-10-06 Ulrich Drepper <drepper@gmail.com>
31355
31356 * string/bug-strstr1.c: New file.
31357 * string/Makefile: Add rules to build and run bug-strstr1.
31358
5fb308bc
EB
313592010-10-05 Eric Blake <eblake@redhat.com>
31360
31361 [BZ #12092]
31362 * string/str-two-way.h (two_way_long_needle): Always clear memory
31363 when skipping input due to the shift table.
31364
45db99c7
UD
313652010-10-03 Ulrich Drepper <drepper@gmail.com>
31366
3b111893
UD
31367 [BZ #12005]
31368 * malloc/mcheck.c: Handle large requests.
31369
45db99c7
UD
31370 [BZ #12077]
31371 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31372 for strncmp and strncasecmp.
31373 * string/stratcliff.c: Add tests for strcmp and strncmp.
31374 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31375
cf7a1eb8
NI
313762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31377
31378 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31379 __set_fpscr.
31380
6484ba5e
AJ
313812010-09-30 Andreas Jaeger <aj@suse.de>
31382
31383 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31384 (CGROUP_SUPER_MAGIC): Define.
31385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31386 Handle btrfs and cgroup file systems.
31387 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31388 Likewise.
31389
91c42559
LM
313902010-09-27 Luis Machado <luisgpm@br.ibm.com>
31391
31392 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31393 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31394
87a97932
AK
313952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31396
31397 [BZ #12067]
31398 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31399 trying to locate the ELF header.
31400
c21cc9bc
AS
314012010-09-27 Andreas Schwab <schwab@redhat.com>
31402
31403 [BZ #11611]
31404 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31405 Mask out sign-bit copies when constructing f_fsid.
31406
315970f6
PB
314072010-09-24 Petr Baudis <pasky@suse.cz>
31408
31409 * debug/stack_chk_fail_local.c: Add missing licence exception.
31410 * debug/warning-nop.c: Likewise.
31411
1ac7a2c7
JM
314122010-09-15 Joseph Myers <joseph@codesourcery.com>
31413
31414 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31415 implementing getdents64 using getdents syscall, set d_type if
31416 __ASSUME_GETDENTS32_D_TYPE.
31417
56801c50
AS
314182010-09-16 Andreas Schwab <schwab@redhat.com>
31419
31420 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31421 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31422
dda51327
UD
314232010-09-21 Ulrich Drepper <drepper@redhat.com>
31424
31425 [BZ #12037]
31426 * posix/unistd.h: Undo change of feature selection for ftruncate from
31427 2010-01-11.
31428
8ffcee4a
UD
314292010-09-20 Ulrich Drepper <drepper@redhat.com>
31430
a545ecd9 31431 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31432 detection.
31433
e24f0a8b
AS
314342010-09-20 Andreas Schwab <schwab@redhat.com>
31435
31436 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31437 fanotify_mark.
31438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31439
7291c56f
AS
314402010-09-14 Andreas Schwab <schwab@redhat.com>
31441
31442 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31443 variables after CHECK_SP call.
31444 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31445
bc5fb037
AS
314462010-09-13 Andreas Schwab <schwab@redhat.com>
31447 Ulrich Drepper <drepper@redhat.com>
31448
31449 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31450 re-relocationg ld.so.
31451 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31452 _dl_init_paths call.
31453 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31454 here anymore.
31455
e66e7419
UD
314562010-09-14 Ulrich Drepper <drepper@redhat.com>
31457
31458 * resolv/res_init.c (__res_vinit): Count the default server we added.
31459
c044aa75
CLT
314602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31461 Ulrich Drepper <drepper@redhat.com>
31462
31463 [BZ #11968]
31464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31465 (____longjmp_chk): Use %ebx for saving value across system call.
31466 Add unwind info.
31467
32cf4069
AS
314682010-09-06 Andreas Schwab <schwab@redhat.com>
31469
31470 * manual/Makefile: Don't mix pattern rules with normal rules.
31471
817328ee
AS
314722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31473
31474 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31475 operation.
31476 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31477 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31478 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31479 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31481 Likewise.
31482
29fddf61
UD
314832010-09-04 Ulrich Drepper <drepper@redhat.com>
31484
31485 [BZ #11979]
31486 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31487 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31488
0959ffc9
UD
314892010-09-02 Ulrich Drepper <drepper@redhat.com>
31490
31491 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31492 * sysdeps/x86_64/addmul_1.S: Likewise.
31493 * sysdeps/x86_64/lshift.S: Likewise.
31494 * sysdeps/x86_64/mul_1.S: Likewise.
31495 * sysdeps/x86_64/rshift.S: Likewise.
31496 * sysdeps/x86_64/sub_n.S: Likewise.
31497 * sysdeps/x86_64/submul_1.S: Likewise.
31498
ece29840
ST
314992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31500
0959ffc9
UD
31501 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31502 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31503 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31504 * bits/sched.h [__need_schedparam]
ece29840 31505 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31506 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31507 (__defined_schedparam): Define to 1.
ece29840
ST
31508 (__sched_param): New structure, identical to sched_param.
31509 (__need_schedparam): Undefine.
31510
e53a31fe
MF
315112010-08-31 Mike Frysinger <vapier@gentoo.org>
31512
fdc0c10d
MF
31513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31514 (epoll_create1): Declare.
31515
e53a31fe
MF
31516 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31517
a726d796
AS
315182010-08-31 Andreas Schwab <schwab@redhat.com>
31519
31520 [BZ #7066]
31521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31522 shifting retval into place.
31523
2f3e3dc7
UD
315242010-09-01 Ulrich Drepper <drepper@redhat.com>
31525
f2933da9
UD
31526 * nis/rpcsvc/nis.h: Update copyright notice.
31527 * nis/rpcsvc/nis.x: Likewise.
31528 * nis/rpcsvc/nis_callback.h: Likewise.
31529 * nis/rpcsvc/nis_callback.x: Likewise.
31530 * nis/rpcsvc/nis_object.x: Likewise.
31531 * nis/rpcsvc/nis_tags.h: Likewise.
31532 * nis/rpcsvc/yp.h: Likewise.
31533 * nis/rpcsvc/yp.x: Likewise.
31534 * nis/rpcsvc/ypupd.h: Likewise.
31535 * nis/yp_xdr.c: Likewise.
31536 * nis/ypupdate_xdr.c: Likewise.
31537
2f3e3dc7
UD
31538 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31539 mainly the body of pmap_getport. Add parameters to specify timeouts.
31540 (pmap_getport): Use __libc_rpc_getport.
31541 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31542 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31543 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31544
f3dcc2f9
AS
315452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31546
31547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31548 fanotify_mark.
31549
6d34eb5b
RM
315502010-08-27 Roland McGrath <roland@redhat.com>
31551
31552 * sysdeps/i386/i686/multiarch/Makefile
31553 (CFLAGS-varshift.c): New variable.
31554
9ea3de11
UD
315552010-08-27 Ulrich Drepper <drepper@redhat.com>
31556
c96d23fc
UD
31557 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31558 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31559
9ea3de11
UD
31560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31561
31562 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31563
623aac7f
L
315642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31565
31566 * sysdeps/x86_64/strlen.S: Unroll the loop.
31567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31568 strlen-sse2 strlen-sse2-bsf.
31569 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31570 __strlen_no_bsf if bit_Slow_BSF is set.
31571 (__strlen_sse42): Removed.
31572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31573 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31574
8b2b7715
RM
315752010-08-25 Roland McGrath <roland@redhat.com>
31576
31577 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31578 * sysdeps/x86_64/multiarch/varshift.c: New file.
31579 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31580 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31581 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31582 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31583
e73015f2
L
315842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31585
31586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31587 strlen-sse2 strlen-sse2-bsf.
31588 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31589 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31590 (__strlen_sse2): Removed.
31591 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31594 bit_Slow_BSF for Atom.
31595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31596 (index_Slow_BSF): Define.
31597 (HAS_SLOW_BSF): Define.
31598
df24a73e
UD
315992010-08-25 Ulrich Drepper <drepper@redhat.com>
31600
31601 [BZ #10851]
31602 * resolv/res_init.c (__res_vinit): When no server address at all
31603 is given default to loopback.
31604
f2ac4868
RM
316052010-08-24 Roland McGrath <roland@redhat.com>
31606
09055553
RM
31607 * configure.in: Remove config-name.h generation.
31608 * configure: Regenerated.
31609 * config-name.in: File removed.
31610 * scripts/config-uname.sh: New file.
31611 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31612 ($(objdir)config-name.h): New target.
31613
f2ac4868
RM
31614 * sunrpc/rpc_parse.h: Avoid nested comment.
31615
73f27d5e
RH
316162010-08-24 Richard Henderson <rth@redhat.com>
31617 Ulrich Drepper <drepper@redhat.com>
31618 H.J. Lu <hongjiu.lu@intel.com>
31619
31620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31622 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31623 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31624 _mm_alignr_epi8 with _mm_loadu_si128.
31625 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31626 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31627 (__m128i_shift_right): Removed.
31628 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31629 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31630 * sysdeps/x86_64/multiarch/varshift.h: New file.
31631 * sysdeps/x86_64/multiarch/varshift.S: New file.
31632
84b9230c
MF
316332010-08-21 Mike Frysinger <vapier@gentoo.org>
31634
31635 * configure.in: Move assembler checks to before sysdep dir checking.
31636
9bbd0ddc
PB
316372010-08-20 Petr Baudis <pasky@suse.cz>
31638
31639 * LICENSES: Sync the sunrpc license.
31640
9da4bb31
UD
316412010-08-19 Ulrich Drepper <drepper@redhat.com>
31642
a7ab6ec8
UD
31643 * sunrpc/auth_des.c: Update copyright notice once again.
31644 * sunrpc/auth_none.c: Likewise.
31645 * sunrpc/auth_unix.c: Likewise.
31646 * sunrpc/authdes_prot.c: Likewise.
31647 * sunrpc/authuxprot.c: Likewise.
31648 * sunrpc/bindrsvprt.c: Likewise.
31649 * sunrpc/clnt_gen.c: Likewise.
31650 * sunrpc/clnt_perr.c: Likewise.
31651 * sunrpc/clnt_raw.c: Likewise.
31652 * sunrpc/clnt_simp.c: Likewise.
31653 * sunrpc/clnt_tcp.c: Likewise.
31654 * sunrpc/clnt_udp.c: Likewise.
31655 * sunrpc/clnt_unix.c: Likewise.
31656 * sunrpc/des_crypt.c: Likewise.
31657 * sunrpc/des_soft.c: Likewise.
31658 * sunrpc/get_myaddr.c: Likewise.
31659 * sunrpc/getrpcport.c: Likewise.
31660 * sunrpc/key_call.c: Likewise.
31661 * sunrpc/key_prot.c: Likewise.
31662 * sunrpc/openchild.c: Likewise.
31663 * sunrpc/pm_getmaps.c: Likewise.
31664 * sunrpc/pm_getport.c: Likewise.
31665 * sunrpc/pmap_clnt.c: Likewise.
31666 * sunrpc/pmap_prot.c: Likewise.
31667 * sunrpc/pmap_prot2.c: Likewise.
31668 * sunrpc/pmap_rmt.c: Likewise.
31669 * sunrpc/rpc/auth.h: Likewise.
31670 * sunrpc/rpc/auth_unix.h: Likewise.
31671 * sunrpc/rpc/clnt.h: Likewise.
31672 * sunrpc/rpc/des_crypt.h: Likewise.
31673 * sunrpc/rpc/key_prot.h: Likewise.
31674 * sunrpc/rpc/netdb.h: Likewise.
31675 * sunrpc/rpc/pmap_clnt.h: Likewise.
31676 * sunrpc/rpc/pmap_prot.h: Likewise.
31677 * sunrpc/rpc/pmap_rmt.h: Likewise.
31678 * sunrpc/rpc/rpc.h: Likewise.
31679 * sunrpc/rpc/rpc_des.h: Likewise.
31680 * sunrpc/rpc/rpc_msg.h: Likewise.
31681 * sunrpc/rpc/svc.h: Likewise.
31682 * sunrpc/rpc/svc_auth.h: Likewise.
31683 * sunrpc/rpc/types.h: Likewise.
31684 * sunrpc/rpc/xdr.h: Likewise.
31685 * sunrpc/rpc_clntout.c: Likewise.
31686 * sunrpc/rpc_cmsg.c: Likewise.
31687 * sunrpc/rpc_common.c: Likewise.
31688 * sunrpc/rpc_cout.c: Likewise.
31689 * sunrpc/rpc_dtable.c: Likewise.
31690 * sunrpc/rpc_hout.c: Likewise.
31691 * sunrpc/rpc_main.c: Likewise.
31692 * sunrpc/rpc_parse.c: Likewise.
31693 * sunrpc/rpc_parse.h: Likewise.
31694 * sunrpc/rpc_prot.c: Likewise.
31695 * sunrpc/rpc_sample.c: Likewise.
31696 * sunrpc/rpc_scan.c: Likewise.
31697 * sunrpc/rpc_scan.h: Likewise.
31698 * sunrpc/rpc_svcout.c: Likewise.
31699 * sunrpc/rpc_tblout.c: Likewise.
31700 * sunrpc/rpc_util.c: Likewise.
31701 * sunrpc/rpc_util.h: Likewise.
31702 * sunrpc/rpcinfo.c: Likewise.
31703 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31704 * sunrpc/rpcsvc/key_prot.x: Likewise.
31705 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31706 * sunrpc/rpcsvc/mount.x: Likewise.
31707 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31708 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31709 * sunrpc/rpcsvc/rex.x: Likewise.
31710 * sunrpc/rpcsvc/rstat.x: Likewise.
31711 * sunrpc/rpcsvc/rusers.x: Likewise.
31712 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31713 * sunrpc/rpcsvc/spray.x: Likewise.
31714 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31715 * sunrpc/rtime.c: Likewise.
31716 * sunrpc/svc.c: Likewise.
31717 * sunrpc/svc_auth.c: Likewise.
31718 * sunrpc/svc_authux.c: Likewise.
31719 * sunrpc/svc_raw.c: Likewise.
31720 * sunrpc/svc_run.c: Likewise.
31721 * sunrpc/svc_simple.c: Likewise.
31722 * sunrpc/svc_tcp.c: Likewise.
31723 * sunrpc/svc_udp.c: Likewise.
31724 * sunrpc/svc_unix.c: Likewise.
31725 * sunrpc/svcauth_des.c: Likewise.
31726 * sunrpc/xcrypt.c: Likewise.
31727 * sunrpc/xdr.c: Likewise.
31728 * sunrpc/xdr_array.c: Likewise.
31729 * sunrpc/xdr_float.c: Likewise.
31730 * sunrpc/xdr_mem.c: Likewise.
31731 * sunrpc/xdr_rec.c: Likewise.
31732 * sunrpc/xdr_ref.c: Likewise.
31733 * sunrpc/xdr_sizeof.c: Likewise.
31734 * sunrpc/xdr_stdio.c: Likewise.
31735
9da4bb31
UD
31736 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31737 handling.
31738
bdaa77bc
AS
317392010-08-19 Andreas Schwab <schwab@redhat.com>
31740
31741 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31742
fe2f79db
LM
317432010-08-19 Luis Machado <luisgpm@br.ibm.com>
31744
31745 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31746 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31748 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31749 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31750 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31751 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31752 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31754 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31755 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31756 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31757 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31758 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31759
b9b42ee0
AB
317602010-07-26 Anton Blanchard <anton@samba.org>
31761
31762 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31763 * malloc/arena.c (heap_trim): Likewise.
31764
1c06ba31
UD
317652010-08-16 Ulrich Drepper <drepper@redhat.com>
31766
31767 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31768 here. Not...
31769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31770 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31771
f8392f40
L
317722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31773
31774 * sysdeps/i386/elf/Makefile: New file.
31775
3162f12e
AS
317762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31777
31778 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31779 from fanotify_init.
31780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31782
28c90b2c
UD
317832010-08-15 Ulrich Drepper <drepper@redhat.com>
31784
31785 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31786 of strncasecmp_l.
1feccb6c 31787 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31788
ca6bb004
UD
317892010-08-14 Ulrich Drepper <drepper@redhat.com>
31790
e9f82e0d
UD
31791 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31792 strncase_l-nonascii.
31793 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31794 Add strncase_l-ssse3.
31795 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31796 * sysdeps/x86_64/strcmp.S: Likewise.
31797 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31798 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31799 * sysdeps/x86_64/strncase.S: New file.
31800 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31801 * sysdeps/x86_64/strncase_l.S: New file.
31802 * string/Makefile (strop-tests): Add strncasecmp.
31803 * string/test-strncasecmp.c: New file.
31804
31805 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31806 warning.
31807
ca6bb004
UD
31808 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31809 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31810
052fa7b3
AS
318112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31812
31813 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31814
962dba78
UD
318152010-08-12 Ulrich Drepper <drepper@redhat.com>
31816
31817 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31818 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31819 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31820
bebff237
AM
318212010-05-01 Alan Modra <amodra@gmail.com>
31822
31823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31824 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31825 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31826 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31827 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31828 tidying. Don't tail-call __sigjmp_save for static lib.
31829 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31830 save location.
31831 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31832 (CALL_MCOUNT): Add eh info, and nop after bl.
31833 (TAIL_CALL_SYSCALL_ERROR): New macro.
31834 (PSEUDO_RET): Use it.
31835 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31836 Correct save location of integer regs and cr.
31837 (_dl_profile_resolve): Correct cr save location. Delete nops
31838 after bl when SHARED. Reduce cfi size a little by better
31839 placement of cfi directives.
31840 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31841 make a stack frame. Instead use parm save area as a temp.
31842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31843 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31845 Don't make a stack frame for parent, use parm save area.
31846 Increase child stack frame to 112 bytes. Don't save unused reg,
31847 and adjust reg usage. Set up cfi on error recovery and
31848 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31850 (__makecontext): Add dummy nop after jump to exit.
31851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31852 Use correct parm save area and cr save, reduce stack frame.
31853 Correct cfi for possible PSEUDO_RET frame setup.
31854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31855 Branch to local label emitted by PSEUDO_RET rather than
31856 __syscall_error.
31857
02637374
AS
318582010-08-12 Andreas Schwab <schwab@redhat.com>
31859
31860 [BZ #11904]
31861 * locale/programs/locale.c (print_assignment): New function.
31862 (show_locale_vars): Use it.
31863
c3e2f19b
UD
318642010-08-11 Ulrich Drepper <drepper@redhat.com>
31865
3cdaa6ad
UD
31866 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31867 field.
31868 (struct statfs64): Likewise.
31869 (_STATFS_F_FLAGS): Define.
31870 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31872 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31873 (ST_VALID): Define locally.
31874 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31875 __statvfs_getflags, use the provided value.
31876 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31877 __ASSUME_STATFS_F_FLAGS.
31878
754f7da3
UD
31879 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31880
10b3bedc
UD
31881 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31882 Add sys/fanotify.h.
31883 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31884 fanotify_mask for GLIBC_2.13.
31885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31886 fanotify_init and fanotify_mark.
31887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31888 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31889
c08fb0d7
UD
31890 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31891 Add prlimit.
31892 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31893 prlimit64 for GLIBC_2.13.
31894 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31895 prlimit64.
31896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31897 syscall.
31898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31899 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31900 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31901 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31903 add prlimit alias.
31904 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31905
15bac72b
UD
31906 [BZ #11903]
31907 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31908 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31909
c3e2f19b
UD
31910 * nss/Makefile: Add rules to build and run tst-nss-test1.
31911 * shlib-versions: Add entry for libnss_test1.
31912 * nss/nss_test1.c: New file.
31913 * nss/tst-nss-test1.c: New file.
31914
31915 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31916 (__nss_configure_lookup): Set appropriate entry in
31917 __nss_configure_lookup to true.
31918 * nss/nsswitch.h: Define enum with indeces of databases in
31919 databases and __nss_database_custom arrays. Declare
31920 __nss_database_custom.
31921 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31922 to avoid using nscd when custom rules are installed.
31923 * nss/getXXbyYY_r.c: Likewise.
31924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31925
31926 * nss/nss_files/files-parse.c: Whitespace fixes.
31927
f15ce4d8
UD
319282010-08-09 Ulrich Drepper <drepper@redhat.com>
31929
31930 [BZ #11883]
31931 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31932 * posix/fnmatch_loop.c: Likewise.
31933
d22e4cc9
AK
319342010-07-17 Andi Kleen <ak@linux.intel.com>
31935
31936 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31937 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31938 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31939 * Versions.def [GLIBC_2.13]: Add.
31940
805bc17d
UD
319412010-08-06 Ulrich Drepper <drepper@redhat.com>
31942
31943 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31944 Also fail if tpwd after pwuid call is NULL.
31945
5a42321d
ST
319462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31947
31948 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31949 when converting to ms.
31950
fd3ebeda
ST
319512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31952
31953 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31954 EOPNOTSUPP errors with ENOTTY.
31955 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31956 EOPNOTSUPP errors with ENOTTY.
31957
73507d3a
UD
319582010-07-31 Ulrich Drepper <drepper@redhat.com>
31959
31960 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31961 Add strcasecmp_l-ssse3.
31962 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31963 strcasecmp.
31964 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31965 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31966 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31967
fe36dd02
UD
319682010-07-30 Ulrich Drepper <drepper@redhat.com>
31969
66f6765a
UD
31970 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31971
42e08a54
UD
31972 * string/Makefile (strop-tests): Add strcasecmp.
31973 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31974 strcasecmp_l-nonascii.
31975 (gen-as-const-headers): Add locale-defines.sym.
31976 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31977 * sysdeps/x86_64/strcasecmp.S: New file.
31978 * sysdeps/x86_64/strcasecmp_l.S: New file.
31979 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31980 * sysdeps/x86_64/locale-defines.sym: New file.
31981 * string/test-strcasecmp.c: New file.
31982
fe36dd02
UD
31983 * string/test-strcasestr.c: Test both ends of the range of characters.
31984 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31985
48cbc0d6
RM
319862010-07-29 Roland McGrath <roland@redhat.com>
31987
76e6d6bc 31988 [BZ #11856]
48cbc0d6
RM
31989 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31990
880113d9
UD
319912010-07-27 Ulrich Drepper <drepper@redhat.com>
31992
31993 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31994 for ld.so.
31995
deb9cabb
AS
319962010-07-27 Andreas Schwab <schwab@redhat.com>
31997
31998 * manual/memory.texi (Malloc Tunable Parameters): Document
31999 M_PERTURB.
32000
1c7570ff
RM
320012010-07-26 Roland McGrath <roland@redhat.com>
32002
32003 [BZ #11840]
32004 * configure.in (-fgnu89-inline check): Set and substitute
32005 gnu89_inline, not libc_cv_gnu89_inline.
32006 * configure: Regenerated.
32007 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32008
24fb0f88
UD
320092010-07-26 Ulrich Drepper <drepper@redhat.com>
32010
32011 * string/test-strnlen.c: New file.
32012 * string/Makefile (strop-tests): Add strnlen.
32013 * string/tester.c (test_strnlen): Add a few more test cases.
32014 * string/tst-strlen.c: Better error reporting.
32015
32016 * sysdeps/x86_64/strnlen.S: New file.
32017
8e96b93a
UD
320182010-07-24 Ulrich Drepper <drepper@redhat.com>
32019
32020 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32021 lower-latency instructions.
32022
dbc676d4
UD
320232010-07-23 Ulrich Drepper <drepper@redhat.com>
32024
32025 * string/test-strcasestr.c: New file.
32026 * string/test-strstr.c: New file.
32027 * string/Makefile (strop-tests): Add strstr and strcasestr.
32028 * string/str-two-way.h: Don't undefine MAX.
32029 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32030
f6a31e0e
AS
320312010-07-21 Andreas Schwab <schwab@redhat.com>
32032
32033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32034 strcasestr-nonascii.
32035 (CFLAGS-strcasestr-nonascii.c): Define.
32036 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32038 Remove unused attribute.
32039
5dbc3b6c
RM
320402010-07-20 Roland McGrath <roland@redhat.com>
32041
32042 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32043 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32044 ld.so.cache was broken. With it, there is no way to disable dsocaps
32045 like LD_HWCAP_MASK can disable hwcaps.
32046
23d101d8
EPM
320472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32048
32049 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32050
cc9f2e47
UD
320512010-07-16 Ulrich Drepper <drepper@redhat.com>
32052
32053 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32054 call in strcasestr.
32055 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32056 __strcasestr_sse42_nonascii.
32057 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32058 strcasestr-nonascii.c.
32059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32060
77c1b069
LM
320612010-06-15 Luis Machado <luisgpm@br.ibm.com>
32062
32063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32064 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32067
440566c3
UD
320682010-07-09 Ulrich Drepper <drepper@redhat.com>
32069
32070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32071 fcntl.
32072
5be9d05d
AS
320732010-07-06 Andreas Schwab <schwab@redhat.com>
32074
c30b7ee2 32075 [BZ #11577]
5be9d05d
AS
32076 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32077 dl_signal_cerror.
32078
8a492a67
UD
320792010-07-06 Ulrich Drepper <drepper@redhat.com>
32080
32081 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32082 _PC_PIPE_BUF using F_GETPIPE_SZ.
32083
713df3d5
RM
320842010-07-05 Roland McGrath <roland@redhat.com>
32085
32086 * manual/arith.texi (Rounding Functions): Fix rint description
32087 implicit in round description.
32088
702e8f14
UD
320892010-07-02 Ulrich Drepper <drepper@redhat.com>
32090
32091 * elf/Makefile: Fix linking for a few tests to make recent linker
32092 happy.
32093
52ed8be9
AS
320942010-06-30 Andreas Schwab <schwab@redhat.com>
32095
32096 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32097 $(common-objpfx)libc_nonshared.a.
32098
f47c9a11
LM
320992010-06-21 Luis Machado <luisgpm@br.ibm.com>
32100
32101 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32102 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32103 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32104 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32105 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32106 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32107 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32108 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32123 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32124 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32125 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32126 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32127 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32128 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32129 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32130 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32131 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32132 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32133 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32134 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32149
6fb8cbcb
L
321502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32151
32152 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32153 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32154 * string/memmove.c (memmove): Renamed to ...
32155 (MEMMOVE): ...this. Default to memmove.
32156 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32157 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32158 (END_CHK): Define.
32159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32160 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32161 mempcpy-ssse3-back memmove-ssse3-back.
32162 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32165 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32166 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32167 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32168 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32169 * sysdeps/x86_64/multiarch/memmove.c: New file.
32170 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32171 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32172 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32173 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32174 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32176 Define.
32177 (index_Fast_Copy_Backward): Define.
32178 (HAS_ARCH_FEATURE): Define.
32179 (HAS_FAST_REP_STRING): Define.
32180 (HAS_FAST_COPY_BACKWARD): Define.
32181
4e733bac 321822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32183
32184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32185 Restore proper fallback handling.
32186
63c4ed22
UD
321872010-06-19 Ulrich Drepper <drepper@redhat.com>
32188
ac2b484c
UD
32189 [BZ #11701]
32190 * posix/group_member.c (__group_member): Correct checking loop.
32191
63c4ed22
UD
32192 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32193 OOM in getpwuid_r correctly. Return error number when the caller
32194 should return, otherwise -1.
32195 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32196 call returning > 0 value.
32197 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32198
765ade4b
AS
321992010-06-07 Andreas Schwab <schwab@redhat.com>
32200
32201 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32202 libc_nonshared.a from targets in modules-names.
32203
80da2e09
KS
322042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32205
32206 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32207 requires it.
32208
158db122
LM
322092010-06-10 Luis Machado <luisgpm@br.ibm.com>
32210
32211 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32212 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32215
caa78cf8
AS
322162010-06-02 Andreas Schwab <schwab@redhat.com>
32217
32218 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32219
b2ef2c01
UD
322202010-06-14 Ulrich Drepper <drepper@redhat.com>
32221
32222 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32223 and F_GETPIPE_SZ.
32224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32230
fbd643b6
RM
322312010-06-14 Roland McGrath <roland@redhat.com>
32232
32233 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32234
f32f2869
JJ
322352010-06-07 Jakub Jelinek <jakub@redhat.com>
32236
32237 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32238 __REDIRECT followed by __THROW.
32239 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32240 * posix/getopt.h (getopt): Likewise.
32241
2a50c078
EPM
322422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32243
32244 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32245 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32246 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32247 in AT_FLAGS.
32248 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32249 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32250
eb5ad2eb
LM
322512010-05-28 Luis Machado <luisgpm@br.ibm.com>
32252
32253 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32254
3c88fe1e
L
322552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 [BZ #11640]
32258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32259 Properly check family and model.
32260
d2f73151
TY
322612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32262
32263 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32264
ebd2e13d
LM
322652010-05-24 Luis Machado <luisgpm@br.ibm.com>
32266
32267 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32268
b32b8b45
UD
322692010-05-21 Ulrich Drepper <drepper@redhat.com>
32270
32271 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32272 symbol reference.
32273
9acbe24d
AS
322742010-05-19 Andreas Schwab <schwab@redhat.com>
32275
32276 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32277 symbol reference.
32278
f0ccf6ea
AS
322792010-05-21 Andreas Schwab <schwab@redhat.com>
32280
3d04ff3a
AS
32281 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32282 and internal_recvmmsg.
32283 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32284 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32285 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32286 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32287
f0ccf6ea
AS
32288 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32289 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32290 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32291
5b08ac57
AS
322922010-05-20 Andreas Schwab <schwab@redhat.com>
32293
32294 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32295
4828935d
LM
322962010-05-17 Luis Machado <luisgpm@br.ibm.com>
32297
32298 POWER7 optimizations.
32299 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32300 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32301
373d545e
UD
323022010-05-19 Ulrich Drepper <drepper@redhat.com>
32303
32304 * version.h: Update for 2.13 development version.
32305
21a2b1ae
AS
323062010-05-12 Andrew Stubbs <ams@codesourcery.com>
32307
32308 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32309 exceptions. Return 0.
32310
3f7dcb2b
RM
323112010-05-07 Roland McGrath <roland@redhat.com>
32312
32313 * elf/ldconfig.c (main): Add a const.
32314
5f24d53a 323152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32316
a160f8d8
UD
32317 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32318 (args_options): Add no-idn option.
32319 (ahosts_keys_int): Add idn_flags to ai_flags.
32320 (parse_option): Handle 'i' option to clear idn_flags.
32321
5f24d53a
UD
32322 * malloc/malloc.c (_int_free): Possible race in the most recently
32323 added check. Only act on the data if no current modification
32324 happened.
265bb1ce
UD
32325
32326See ChangeLog.17 for earlier changes.