]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use __glibc_unlikely instead of __builtin_expect (..., 0)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3a309239
SP
12013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5
3b813b29
MF
62013-08-27 Mike Frysinger <vapier@gentoo.org>
7
8 [BZ #15897]
9 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11 ($(objpfx)bug-dl-leaf): New rule.
12 ($(objpfx)bug-dl-leaf.so): Likewise.
13 ($(objpfx)bug-dl-leaf.out): Likewise.
14 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16 * dlfcn/bug-dl-leaf.c: New test.
17 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20 (dlclose): Likewise.
21 (dlmopen): Likewise.
22
8cc3269f
RM
232013-08-27 Roland McGrath <roland@hack.frob.com>
24
7f9d0034
RM
25 * include/netdb.h [!_ISOMAC]:
26 Don't include <tls.h>.
27 (h_errno, __libc_h_errno): Move declaration and macros out of
28 [_LIBC_REENTRANT].
29
fb431262
RM
30 * include/resolv.h [_RESOLV_H_]:
31 Don't include <tls.h>.
32 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33 * resolv/res_libc.c: Don't include <tls.h>.
34 (_res): Use __attribute__ ((nocommon)) in place of
35 __attribute__ ((section (".bss"))).
36
bd81123a
RM
37 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39
c4e42566
RM
40 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41
f890a59b
RM
42 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43 only under [SIOCGIFCONF && SIOCGIFNETMASK].
44
45 * resolv/res_mkquery.c: Include <sys/time.h>.
46
5d1f0a09
RM
47 * inet/ifreq.c: Moved to ...
48 * sysdeps/unix/ifreq.c: ... here.
49 * inet/ifreq.c: New file, true stub version.
50
6fcf28b3
RM
51 * socket/sa_len.c: New file.
52 * socket/Makefile (aux): Add it.
53 * sysdeps/unix/sysv/linux/Makefile
54 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56 and #include <socket/sa_len.c>.
57 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59
e041fb8b
RM
60 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61 * bits/socket.h: ... here.
62
8cc3269f
RM
63 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
65 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
66
5d228a43
AS
672013-08-27 Andreas Schwab <schwab@suse.de>
68
45b8accc
AS
69 [BZ #15736]
70 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
71 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
72 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
73 * string/test-strcasecmp.c (test_main): Run tests in several
74 locales.
75 * string/test-strncasecmp.c (test_main): Likewise.
76
5d228a43
AS
77 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
78 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
79 to __strcasecmp_nonascii and __strncasecmp_nonascii.
80 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
81 (__strncasecmp_ssse3) [PIC]: Likewise.
82
59d112a4
RM
832013-08-26 Roland McGrath <roland@hack.frob.com>
84
53234cc3
RM
85 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
86
59d112a4
RM
87 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
88 instead of explicitly declaring xdecrypt.
89 * nis/nss_nis/nis-publickey.c: Likewise.
90
595aba70
SP
912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92
93 [BZ #15890]
94 * nscd/aicache.c: Include res_hconf.h.
95 (addhstaiX): Initialize res_hconf.
96
ffabd393
AS
972013-08-26 Andreas Schwab <schwab@suse.de>
98
99 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
100 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
101
e0a69f5c
SP
1022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
103
104 * nscd/aicache.c (addhstaiX): Fix indentation.
105
8c12f01d
MF
1062013-08-25 Mike Frysinger <vapier@gentoo.org>
107
108 * configure.ac: Quote $build_pt_chown test.
109 * configure: Regenerated.
110
8fe89494
JM
1112013-08-23 Joseph Myers <joseph@codesourcery.com>
112
113 [BZ #15532]
114 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
115 * math/s_cexpf.c (__cexpf): Likewise.
116 * math/s_cexpl.c (__cexpl): Likewise.
117 * math/libm-test.inc (cexp_test_data): Correct expected return
118 value for NaN + i0. Add another test.
119
75b181d6
DM
1202013-08-22 David S. Miller <davem@davemloft.net>
121
122 * po/ca.po: Update Catalan translation from translation project.
936241e4 123 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 124
acd06bb1
JM
1252013-08-21 Joseph Myers <joseph@codesourcery.com>
126
127 [BZ #15797]
128 * math/s_fdim.c (__fdim): Check for infinite arguments if result
129 is infinite, not alongside NaN test.
130 * math/s_fdimf.c (__fdimf): Likewise.
131 * math/s_fdiml.c (__fdiml): Likewise.
132 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
133 errno is unchanged.
134
c0c3f78a
OB
1352013-08-21 Ondřej Bílka <neleai@seznam.cz>
136
137 * argp/argp-help.c: Fix typos.
138 * crypt/speeds.c: Likewise.
139 * csu/check_fds.c: Likewise.
140 * elf/dl-load.c: Likewise.
141 * elf/dl-open.c: Likewise.
142 * elf/reldep3.c: Likewise.
143 * elf/reldep.c: Likewise.
144 * elf/sprof.c: Likewise.
145 * iconv/iconv_charmap.c: Likewise.
146 * iconv/skeleton.c: Likewise.
147 * iconv/strtab.c: Likewise.
148 * io/lockf64.c: Likewise.
149 * libio/libioP.h: Likewise.
150 * resolv/gai_notify.c: Likewise.
151 * resolv/ns_name.c: Likewise.
152 * resolv/ns_samedomain.c: Likewise.
153 * resolv/res_send.c: Likewise.
154 * stdlib/random.c: Likewise.
155 * sunrpc/rpc/xdr.h: Likewise.
156 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
157 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
161 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
164 * sysdeps/mach/hurd/check_fds.c: Likewise.
165 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
167 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
169 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
170 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
171 * sysdeps/pthread/aio_notify.c: Likewise.
172 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
173 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
176 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
177
46ed1038
LD
1782013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
179
180 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
181 version if bit_Slow_SSE4_2 is set.
182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
184
d400dcac
AZ
1852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186
187 [BZ #15867]
188 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
189 trampoline stack frame information.
190 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
192 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
193 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
194 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
195 * sysdeps/unix/sysv/linux/powerpc/init-first.c
196 (_libc_vdso_platform_setup): Initialize the signal trampolines.
197 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
198 sa_flags value.
199 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
200 interrupting a syscall and set with option SA_SIGINFO.
201
42c8fdd8
JM
2022013-08-20 Joseph Myers <joseph@codesourcery.com>
203
c980f2f4
JM
204 [BZ #15531]
205 * math/s_cproj.c (__cproj): Only return an infinity if one part of
206 argument is infinite.
207 * math/s_cprojf.c (__cprojf): Likewise.
208 * math/s_cprojl.c (__cprojl): Likewise.
209 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
210 * math/libm-test.inc (cproj_test_data): Add more tests.
211
0716c4fc
JM
212 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
213
42c8fdd8
JM
214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
215 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
216 size. Use __ffs to determine corresponding shift.
217
b31469d0
JM
2182013-08-20 Joseph Myers <joseph@codesourcery.com>
219 Roland McGrath <roland@hack.frob.com>
220
221 * Makefile (INSTALL): Remove trailing blank lines from output of
222 makeinfo.
223
4e39af6e
AK
2242013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
225
226 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
227 Align 32 bit compat elf_greg to 8 bytes.
228
f315524e
AA
2292013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
230
231 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
232
1326ba1a
SP
2332013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
234
235 * string/strcoll_l.c (coll_seq): New structure.
236 (get_next_seq_cached): New function.
237 (get_next_seq): New function.
238 (do_compare): New function.
239 (STRCOLL): Use GNU style definition. Simplify implementation
240 by using get_next_seq, get_next_seq_cached and do_compare.
241
91ce4085
FW
2422013-08-16 Florian Weimer <fweimer@redhat.com>
243
244 [BZ #14699]
245 CVE-2013-4237
246 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
247 member.
248 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
249 member.
250 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
251 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
252 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
253 conditional.
254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
255 GETDENTS_64BIT_ALIGNED.
256 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
257 * manual/filesys.texi (Reading/Closing Directory): Document
258 ENAMETOOLONG return value of readdir_r. Recommend readdir more
259 strongly.
260 * manual/conf.texi (Limits for Files): Add portability note to
261 NAME_MAX, PATH_MAX.
262 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
263
ca0a6bc4
AS
2642013-08-13 Andreas Schwab <schwab@suse.de>
265
266 [BZ #15749]
267 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
268 of fabs.
269 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
270 LDBL_MAX_EXP >= 16384]: Add tests for it.
271
6c1fd795
DM
2722013-08-12 David S. Miller <davem@davemloft.net>
273
274 * version.h (RELEASE): Set to "development".
275 (VERSION): Set to "2.18.90".
276 * NEWS: Add 2.19 section.
277
31ad488d
DM
2782013-08-03 David S. Miller <davem@davemloft.net>
279
280 * po/ko.po: Update Korean translation from translation project.
281
db24e684
DM
2822013-08-01 David S. Miller <davem@davemloft.net>
283
284 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
285 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
286 Bilka.
287
f723285b
DM
2882013-07-30 David S. Miller <davem@davemloft.net>
289
290 * po/fr.po: Update French translation from translation project.
291
3cbc52db
DM
2922013-07-28 David S. Miller <davem@davemloft.net>
293
30bbc0cc
DM
294 * po/cs.po: Update Czech translation from translation project.
295
3cbc52db
DM
296 * po/sv.po: Update Swedish translation from translation project.
297
d492e6d0
DM
2982013-07-27 David S. Miller <davem@davemloft.net>
299
f1a7f492
DM
300 * po/eo.po: Update Esperanto translation from translation project.
301
90e62a4a
DM
302 * po/vi.po: Update Vietnamese translation from translation project.
303
d492e6d0
DM
304 * po/de.po: Update German translation from translation project.
305
d4baa62d
DM
3062013-07-26 David S. Miller <davem@davemloft.net>
307
641aa7b4
DM
308 * po/bg.po: Update Bulgarian translation from translation project.
309
d4baa62d
DM
310 * po/nl.po: Update Dutch translation from translation project.
311 * po/pl.po: Update Polish translation from translation project.
312 * po/ru.po: Update Russian translation from translation project.
313
61a9dcb9
DM
3142013-07-24 David S. Miller <davem@davemloft.net>
315
316 * po/libc.pot: Update.
317
7b1f8b58
AZ
3182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319
320 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
321 variable page size.
322 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
325
a8fc7a03
AK
3262013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
327
328 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
329
e4608715
CD
3302013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
331 Andreas Schwab <schwab@suse.de>
332 Roland McGrath <roland@hack.frob.com>
333 Joseph Myers <joseph@codesourcery.com>
334 Carlos O'Donell <carlos@redhat.com>
335
336 [BZ #15755]
337 * config.h.in: Define HAVE_PT_CHOWN.
338 * config.make.in (build-pt-chown): New variable.
339 * configure.in (--enable-pt_chown): New configure option.
340 * configure: Regenerate.
341 * login/Makefile: Include Makeconfig. Build pt_chown only if
342 build-pt-chown is enabled.
343 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
344 pt_chown to fix pty ownership.
345 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
346 CLOSE_ALL_FDS.
347 * manual/install.texi (Configuring and compiling): Mention
348 --enable-pt_chown. Add @findex for grantpt.
349 * INSTALL: Regenerate.
350
da2d62df
DM
3512013-07-20 David S. Miller <davem@davemloft.net>
352
353 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
354 difference between 32-bit and 64-bit.
355
d7e06450
CD
3562013-07-15 Carlos O'Donell <carlos@redhat.com>
357
358 [BZ #15711]
359 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
360 Avoid system header dependency with -ffreestanding.
361 ($(objpfx)bits/syscall%d): Likewise.
362
f959cfd7
DM
3632013-07-13 David S. Miller <davem@davemloft.net>
364
365 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
366 underflows from atanl/atan2l due to bug 15319.
367 (casinh_test_data): Likewise.
368
c61f8513
DM
3692013-07-07 David S. Miller <davem@davemloft.net>
370
371 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
372
72c90ed0
JA
3732013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
374
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
377
52dfbe13
SP
3782013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
379
380 * configure.in (--enable-lock-elision): Fix message text.
381 * INSTALL: Regenerate.
382 * configure: Regenerate.
383
3f169543
AZ
3842013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385
386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
387
521c6785
AJ
3882013-07-03 Andreas Jaeger <aj@suse.de>
389
390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
391 define.
392 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
393 (ptrace_peeksiginfo_args): Add.
394 (__ptrace_peeksiginfo_flags): Add.
395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
398
d2cc15cb
AM
3992013-07-03 Allan McRae <allan@archlinux.org>
400
401 * sysdeps/i386/fpu/libm-test-ulps: Update.
402
3aaeeca7
DM
4032013-07-02 David S. Miller <davem@davemloft.net>
404
405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
406
5314ed1a
MT
4072013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
408
409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
410
67338156
JM
4112013-07-02 Joseph Myers <joseph@codesourcery.com>
412
413 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415
1717da59
AK
4162013-07-02 Andi Kleen <ak@linux.intel.com>
417
418 * config.h.in (ENABLE_LOCK_ELISION): Add.
419 * configure.in (--enable-lock-elision): Add option.
420 * manual/install.texi: Document --enable lock elision.
421 * configure: Regenerate
422 * INSTALL: Regenerate.
423
1c81621c
L
4242013-07-02 H.J. Lu <hongjiu.lu@intel.com>
425
426 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
427 SSE4.2 strcasecmp for libc.a.
428 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
429
77f01ab5
JM
4302013-07-02 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #13304]
433 * soft-fp/op-common.h (_FP_FMA): New macro.
434 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
435 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
436 (_FP_MUL_MEAT_1_imm): ... here.
437 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
438 (_FP_MUL_MEAT_1_wide): ... here.
439 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
440 (_FP_MUL_MEAT_1_hard): ... here.
441 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
442 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
443 (_FP_MUL_MEAT_2_wide): ... here.
444 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
445 (_FP_MUL_MEAT_2_wide_3mul): ... here.
446 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
447 (_FP_MUL_MEAT_2_gmp): ... here.
448 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
449 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
450 (_FP_MUL_MEAT_4_wide): ... here.
451 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
452 (_FP_MUL_MEAT_4_gmp): ... here.
453 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
454 (_FP_WFRACBITS_DW_S): Likewise.
455 (_FP_WFRACXBITS_DW_S): Likewise.
456 (_FP_HIGHBIT_DW_S): Likewise.
457 (FP_FMA_S): Likewise.
458 (_FP_FRAC_HIGH_DW_S): Likewise.
459 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
460 (_FP_WFRACBITS_DW_D): Likewise.
461 (_FP_WFRACXBITS_DW_D): Likewise.
462 (_FP_HIGHBIT_DW_D): Likewise.
463 (FP_FMA_D): Likewise.
464 (_FP_FRAC_HIGH_DW_D): Likewise.
465 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
466 (_FP_WFRACBITS_DW_E): Likewise.
467 (_FP_WFRACXBITS_DW_E): Likewise.
468 (_FP_HIGHBIT_DW_E): Likewise.
469 (FP_FMA_E): Likewise.
470 (_FP_FRAC_HIGH_DW_E): Likewise.
471 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
472 (_FP_WFRACBITS_DW_Q): Likewise.
473 (_FP_WFRACXBITS_DW_Q): Likewise.
474 (_FP_HIGHBIT_DW_Q): Likewise.
475 (FP_FMA_Q): Likewise.
476 (_FP_FRAC_HIGH_DW_Q): Likewise.
477 * soft-fp/fmasf4.c: New file.
478 * soft-fp/fmadf4.c: Likewise.
479 * soft-fp/fmatf4.c: Likewise.
480
6308fd9a
LD
4812013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
482
483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
484 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
485 Silvermont.
486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
487 macro.
488 (index_Slow_SSE4_2): Likewise.
489 (index_Prefer_PMINUB_for_stringop): Likewise.
490 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
491 bit_Slow_SSE4_2 is set.
492 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
493 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
494
89cd9569
RA
4952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
496
497 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
498 rtld_global._dl_hwcap2.
499 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
500 POWER8.
501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
502 POWER8 feature descriptions defined in _dl_hwcap2.
503 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
504 string handling for POWER8 feature bits.
505 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
506 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
507 _dl_powerpc_cap_flags.
508 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
509 * sysdeps/powerpc/rtld-global-offsets.sym
510 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
511 _dl_hwcap2 in the rtld_global_ro structure.
512
1ae8bfe0
RA
5132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
514
515 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
516 hardware capabilities in support of AT_HWCAP2.
517 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
518 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
519 GLRO(dl_hwcap2).
520 (_dl_show_auxv): Add support for calling _dl_procinfo to display
521 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
522 explicitly the unknown a_type display mechanism is used.
523 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
524 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
525 struct member.
526 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
527 to macro prototype for AT_HWCAP2 support.
528 * sysdeps/i386/dl-procinfo.h: Likewise.
529 * sysdeps/s390/dl-procinfo.h: Likewise.
530 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
531 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
532 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
533 return -1 for unknown a_type display fallback.
534 * sysdeps/sparc/dl-procinfo.h: Likewise.
535 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
536 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
537
8fbec010
JM
5382013-06-28 Joseph Myers <joseph@codesourcery.com>
539
540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
541 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
542
0432680e
PY
5432013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
544
545 [BZ #12492]
546 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
547 mprotect making __stack_prot writable.
548
ce61a2ad
NF
5492013-06-28 Nathan Froyd <froydnj@codesourcery.com>
550 Joseph Myers <joseph@codesourcery.com>
551
552 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
553 as being properly aligned.
554
f91f1c0f
MR
5552013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
556
3d0f5d0c
MR
557 * dlfcn/modstatic5.c: New file.
558 * dlfcn/tststatic5.c: New file.
559 * dlfcn/Makefile (tests): Add tststatic5.
560 (tests-static): Likewise.
561 (modules-names): Add modstatic5.
562 (tststatic5-ENV): New variable.
563 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
564
f91f1c0f
MR
565 [BZ #15022]
566 * elf/dl-support.c (_dl_main_map): New variable.
567 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
568 (_dl_nns, _dl_load_adds): Set to 1.
569 (_dl_initial_searchlist): Refer to _dl_main_map.
570 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
571 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
572 call to _dl_get_origin.
573 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
574 around call_map.
575 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
576 * dlfcn/modstatic3.c: New file.
577 * dlfcn/tststatic3.c: New file.
578 * dlfcn/tststatic4.c: New file.
579 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
580 (tests-static): Likewise.
581 (modules-names): Add modstatic3.
582 (tststatic3-ENV, tststatic4-ENV): New variables.
583 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
584 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
585
cbe7d24b
JM
5862013-06-26 Joseph Myers <joseph@codesourcery.com>
587
588 * configure.in (CC): Require GCC version 4.4 or later.
589 * configure: Regenerated.
590 * manual/install.texi (Tools for Compilation): Update GCC version
591 requirement.
592 * INSTALL: Regenerated.
593
11b8a0e1
LD
5942013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
595
596 [BZ #15674]
bb5bb87c
L
597 * string/test-memcmp.c (check2): New.
598 (main): Call check2.
599
11b8a0e1
LD
600 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
601
b0037103
MR
6022013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
603
604 [BZ #15022]
605 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
606 over to...
607 (dl_open_worker) [!SHARED]: ... here.
608
c18c701d
RA
6092013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
610
611 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
612
1d17fa5f
RH
6132013-06-25 Richard Henderson <rth@redhat.com>
614
615 * locale/programs/locarchive.c: Include <libc-internal.h>
616
8fcb833a
JM
6172013-06-25 Joseph Myers <joseph@codesourcery.com>
618
619 * manual/texinfo.tex: Update to version 2013-06-21.17, with
620 trailing whitespace removed.
621
17db6e8d
MF
6222013-06-24 Mike Frysinger <vapier@gentoo.org>
623
624 [BZ #10283]
17db6e8d
MF
625 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
626 * locale/programs/locarchive.c: Include libc-mmap.h.
627 (prepare_address_space): Take two new outputs (the mmap base and len).
628 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
629 values.
630 (create_archive): Declare new mmap base and len values for
631 prepare_address_space, and store the result in ah.
632 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
633 (enlarge_archive): If ah->mmap_base is not NULL, use that and
634 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
635 Declare new mmap base and len values for
636 prepare_address_space, and store the result in new_ah.
637 (open_archive): Declare new mmap base and len values for
638 prepare_address_space, and store the result in ah.
639 (close_archive): If ah->mmap_base is not NULL, use that and
640 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
641 * sysdeps/generic/libc-mmap.h: New file.
642
d605071e
MF
6432013-06-24 Mike Frysinger <vapier@gentoo.org>
644
645 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
646 (ALIGN_UP): Likewise.
647 (PTR_ALIGN_DOWN): Likewise.
648 (PTR_ALIGN_UP): Likewise.
649
2f063a6e
RA
6502013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
651
652 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
653 entry mapped to PPC_PLATFORM_POWER8.
654 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
655 POWER8.
656 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
657 (_dl_string_platform): Add case for exporting platform position for
658 POWER8.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
660 search path to sysdeps/powerpc/powerpc32/power8 directory.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
662 search path to sysdeps/powerpc/powerpc64/power8 directory.
663 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
664 power7 directories.
665 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
666 power7 directories.
667
a31ee4b3
SP
6682013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
669
a74ca98f
SP
670 * INSTALL: Regenerate.
671
a31ee4b3
SP
672 * nscd/connections.c (nscd_init): Fix comment.
673
695c378f
JM
6742013-06-22 Joseph Myers <joseph@codesourcery.com>
675
d8412221
JM
676 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
677
695c378f
JM
678 [BZ #15667]
679 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
680 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
681
d1d54715
MR
6822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
683
684 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
685 DL_DST_REQ_STATIC.
686 (DL_DST_REQ_STATIC): Remove macro.
687
8fdda7af
JM
6882013-06-21 Joseph Myers <joseph@codesourcery.com>
689
690 [BZ #7006]
691 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
692 with a shift of 0 bits.
693
f3bc5e5a
MR
6942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
695
696 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
697 $(tststatic-ENV).
698
be09e8c9
KK
6992013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
700
701 [BZ #15655]
702 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
703
85c2e611
AZ
7042013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705
706 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
707 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
708 accepts -fno-tree-loop-distribute-patterns.
709 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
710 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
711 recursive call.
712 * string/memset.c (memset): Likewise.
713 * string/test-memmove.c (simple_memmove): Disable loop transformation
714 to library calls.
715 * string/test-memset.c (simple_memset): Likewise.
716 * benchtests/bench-memmove.c (simple_memmove): Likewise.
717 * benchtests/bench-memset.c (simple_memset): Likewise.
718 * configure: Regenerated.
719
c91e0825
JM
7202013-06-20 Joseph Myers <joseph@codesourcery.com>
721
b8c792af
JM
722 * math/test-misc.c (main): Ignore fesetround failure when failures
723 of subsequent rounding tests would be ignored.
724
c91e0825
JM
725 [BZ #15654]
726 * math/fedisblxcpt.c (fedisableexcept): Return 0.
727 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
728 * math/fegetenv.c (__fegetenv): Return 0.
729 * math/fegetexcept.c (fegetexcept): Return 0.
730 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
731 FE_TONEAREST.
732 * math/feholdexcpt.c (feholdexcept): Return 0.
733 * math/fesetenv.c (__fesetenv): Return 0.
734 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
735 argument FE_TONEAREST.
736 * math/feupdateenv.c (__feupdateenv): Return 0.
737 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
738
bfcacbde
RM
7392013-06-18 Roland McGrath <roland@hack.frob.com>
740
741 * elf/rtld-Rules (rtld-compile-command.S): New variable.
742 (rtld-compile-command.s, rtld-compile-command.c): New variables.
743 ($(objpfx)rtld-%.os rules): Use them.
744
e55a9b25
AZ
7452013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746
747 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
748 fields.
749
346d65b3
RM
7502013-06-17 Roland McGrath <roland@hack.frob.com>
751
12086fb4
RM
752 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
753 length of target pattern, then descending length of dependency pattern.
754 * configure.in (AWK): Require gawk 3.1.2 or newer.
755 * manual/install.texi (Tools for Compilation): Say that we do.
756 * configure: Regenerated.
757
346d65b3
RM
758 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
759 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
760 * scripts/sysd-rules.awk: ... this new script.
761 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
762 than a glob-style pattern.
763
1a846317
JM
7642013-06-17 Joseph Myers <joseph@codesourcery.com>
765
766 * math/test-misc.c (main): Do not treat incorrectly rounded
767 conversions as failure unless ROUNDING_TESTS passes.
768
8fc75e6f
JM
7692013-06-15 Joseph Myers <joseph@codesourcery.com>
770
3711a167
JM
771 [BZ #15631]
772 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
773 restore exception state around main square root computation, then
774 check for inexactness explicitly.
775
8fc75e6f
JM
776 * math/libm-test.inc (fma_test_data): Add another test.
777
61dd6208
SP
7782013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
779
adf23d2c
SP
780 * manual/threads.texi (Non-POSIX Extensions): New document
781 node. Document pthread_getattr_default_np and
782 pthread_setattr_default_np.
783
61dd6208
SP
784 * Versions.def (libpthread): Add GLIBC_2.18.
785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
787 Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
789 Likewise.
790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
791 Likewise.
792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
793 Likewise.
794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
795 Likewise.
796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
797 Likewise.
798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
799 Likewise.
800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
801 Likewise.
802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
803 Likewise.
804
d086fc7b
LD
8052013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
806
807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
808 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
809
747ef469
SP
8102013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
811 H.J. Lu <hjl.tools@gmail.com>
812
813 [BZ #15627]
814 * sysdeps/x86_64/rtld-memset.c: Remove file.
815 * sysdeps/x86_64/rtld-memset.S: New file.
816
1b2feed2
JM
8172013-06-14 Joseph Myers <joseph@codesourcery.com>
818
819 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
820 (test_in_one_mode): Take arguments for whether the rounding mode
821 is supported for each floating-point type.
822 (do_test): Pass new arguments to test_in_one_mode using
823 ROUNDING_TESTS.
824
a58ad3f8
RM
8252013-06-13 Roland McGrath <roland@hack.frob.com>
826
827 * posix/tst-waitid.c (do_test): Distinguish different instances of
828 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
829 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
830 before entering the kernel for waitpid.
831
c204ab28
SP
8322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
833
834 * NEWS: Fix note on clock function precision. Text by Roland
835 McGrath.
836
f4a29fba
RM
8372013-06-13 Roland McGrath <roland@hack.frob.com>
838
839 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
840 it into place only when and if the sanity check passes.
841
1f24b9ad
JM
8422013-06-13 Joseph Myers <joseph@codesourcery.com>
843
844 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
845 output for whether conversion result is exact. Take argument
846 indicating whether type is IBM long double.
847 (round_for_all): Change need_exact field to ibm_ld.
848 * stdlib/tst-strtod-round.c (struct exactness): New type.
849 (struct test): Change bool ld_ok field to struct exactness exact.
850 (TEST): Update all definitions for change to field.
851 (tests): Regenerate array contents.
852 (test_in_one_mode): Take pointer to new field instead of old ld_ok
853 field value. Check for IBM long double here.
854 (do_test): Update calls to test_in_one_mode.
855
58206c68
SP
8562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
857
858 [BZ #12515]
859 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
860 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
861
2d6f4c5b 8622013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
863
864 [BZ #15605]
865 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
866 generated by the compiler on loop optimizations.
867 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
868 general definitions.
869
94f2c076
JM
8702013-06-12 Joseph Myers <joseph@codesourcery.com>
871
872 * math/bug-nextafter.c: Include <math-tests.h>.
873 (main): Only test for exceptions if EXCEPTION_TESTS is true for
874 the relevant type.
875 * math/bug-nexttoward.c: Include <math-tests.h>.
876 (main): Only test for exceptions if EXCEPTION_TESTS is true for
877 the relevant type.
878 * math/test-misc.c: Include <math-tests.h>.
879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
880 the relevant type.
881
e0e50a0a
AJ
8822013-06-12 Andreas Jaeger <aj@suse.de>
883
884 * po/ia.po: Update Interlingua translation from translation
885 project.
886
25061094
SP
8872013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
888
889 * include/fenv.h: Include stdbool.h.
890 (struct rm_ctx): New structure.
891 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
892 Define macro.
893 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
894 (SET_RESTORE_ROUNDF): Likewise.
895 (SET_RESTORE_ROUNDL): Likewise.
896 (SET_RESTORE_ROUND_NOEX): Likewise.
897 (SET_RESTORE_ROUND_NOEXF): Likewise.
898 (SET_RESTORE_ROUND_NOEXL): Likewise.
899 (SET_RESTORE_ROUND_53BIT): Likewise.
900 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
901 (libc_feresetround_noexf_ctx): Likewise.
902 (libc_feresetround_noexl_ctx): Likewise.
903 (libc_feholdsetround_53bit_ctx): Likewise.
904 (libc_feresetround_53bit_ctx): Likewise.
905 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
906 (libc_feholdexcept_setround_sse_ctx): New function.
907 (libc_fesetenv_sse_ctx): Likewise.
908 (libc_feupdateenv_sse_ctx): Likewise.
909 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
910 (libc_feholdexcept_setround_387_ctx): Likewise.
911 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
912 (libc_feholdsetround_387_prec_ctx): Likewise.
913 (libc_feholdsetround_387_ctx): Likewise.
914 (libc_feholdsetround_387_53bit_ctx): Likewise.
915 (libc_feholdsetround_sse_ctx): Likewise.
916 (libc_feresetround_sse_ctx): Likewise.
917 (libc_feresetround_387_ctx): Likewise.
918 (libc_feupdateenv_387_ctx): Likewise.
919 (libc_feholdexcept_setroundf_ctx): Define macro.
920 (libc_fesetenvf_ctx): Likewise.
921 (libc_feupdateenvf_ctx): Likewise.
922 (libc_feholdsetroundf_ctx): Likewise.
923 (libc_feresetroundf_ctx): Likewise.
924 (libc_feholdexcept_setround_ctx): Likewise.
925 (libc_fesetenv_ctx): Likewise.
926 (libc_feupdateenv_ctx): Likewise.
927 (libc_feholdsetround_ctx): Likewise.
928 (libc_feresetround_ctx): Likewise.
929 (libc_feholdexcept_setroundl_ctx): Likewise.
930 (libc_feupdateenvl_ctx): Likewise.
931 (libc_feholdsetroundl_ctx): Likewise.
932 (libc_feresetroundl_ctx): Likewise.
933 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
934 (libc_feresetround_53bit_ctx): Likewise.
935
59b30555
SP
9362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
937
938 * locale/iso-639.def: Convert to UTF-8.
939
f1d73d30
JM
9402013-06-11 Joseph Myers <joseph@codesourcery.com>
941
942 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
943 (EXCEPTION_TESTS_double): Likewise.
944 (EXCEPTION_TESTS_long_double): Likewise.
945 (EXCEPTION_TESTS): Likewise.
946 * math/libm-test.inc (test_exceptions): Only test exceptions if
947 EXCEPTION_TESTS (FLOAT).
948
94aca5e7
SP
9492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
950
951 * benchtests/Makefile (string-bench): Add strcpy_chk and
952 stpcpy_chk.
953 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
954 * benchtests/bench-stpcpy_chk.c: New file.
955 * benchtests/bench-strcpy_chk-ifunc.c: New file.
956 * benchtests/bench-strcpy_chk.c: New file.
957 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
958 code.
959 (do_test): Likewise.
960
fac0c5f2
RA
9612013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
962
963 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
964 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
965 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
966 with tabs where appropriate.
967 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
968 dl-procinfo.h.
969 [PPC_PLATFORM_PPC440]: Likewise.
970 [PPC_PLATFORM_PPC464]: Likewise.
971 [PPC_PLATFORM_PPC476]: Likewise.
972 (_dl_string_platform): Add support for detecting ppc405, ppc440,
973 ppc464, and ppc476 platform strings merging from ports/
974 dl-procinfo.h.
975
f22bc486
AS
9762013-06-11 Andreas Schwab <schwab@suse.de>
977
978 [BZ #14991]
979 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
980 (from_ucs4_idx): Regenerate.
981 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
982 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
983 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
984 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
985 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
986 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
987 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
988 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
989 from FROM_LOOP and TO_LOOP specific macros.
990 (BODY): Handle combining characters.
991 * iconvdata/BIG5HKSCS.irreversible: Update.
992 * iconvdata/BIG5HKSCS.precomposed: New file.
993 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
994 characters.
995 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
996
c1f75dc3
SP
9972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
998
4eacded2
SP
999 * include/sys/time.h: Fix indentation and add copyright header.
1000
fec799f8
SP
1001 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1002 (do_test): Likewise.
1003 * string/test-memchr.c (do_one_test): Likewise.
1004 (do_test): Likewise.
1005 * string/test-memcmp.c (do_one_test): Likewise.
1006 (do_test): Likewise.
1007 * string/test-memcpy.c (do_one_test): Likewise.
1008 (do_test): Likewise.
1009 * string/test-memmem.c (do_one_test): Likewise.
1010 (do_test): Likewise.
1011 (do_random_tests): Likewise.
1012 * string/test-memmove.c (do_one_test): Likewise.
1013 (do_test): Likewise.
1014 * string/test-memset.c (do_one_test): Likewise.
1015 (do_test): Likewise.
1016 * string/test-rawmemchr.c (do_one_test): Likewise.
1017 (do_test): Likewise.
1018 * string/test-strcasecmp.c (do_one_test): Likewise.
1019 (do_test): Likewise.
1020 * string/test-strcasestr.c (do_one_test): Likewise.
1021 (do_test): Likewise.
1022 * string/test-strcat.c (do_one_test): Likewise.
1023 (do_test): Likewise.
1024 * string/test-strchr.c (do_one_test): Likewise.
1025 (do_test): Likewise.
1026 * string/test-strcmp.c (do_one_test): Likewise.
1027 (do_test): Likewise.
1028 * string/test-strcpy.c (do_one_test): Likewise.
1029 (do_test): Likewise.
1030 * string/test-string.h: Likewise.
1031 (test_init): Likewise.
1032 * string/test-strlen.c (do_one_test): Likewise.
1033 (do_test): Likewise.
1034 * string/test-strncasecmp.c (do_one_test): Likewise.
1035 (do_test): Likewise.
1036 * string/test-strncat.c (do_one_test): Likewise.
1037 (do_test): Likewise.
1038 * string/test-strncmp.c (do_one_test): Likewise.
1039 (do_test_limit): Likewise.
1040 (do_test): Likewise.
1041 * string/test-strncpy.c (do_one_test): Likewise.
1042 (do_test): Likewise.
1043 * string/test-strnlen.c (do_one_test): Likewise.
1044 (do_test): Likewise.
1045 * string/test-strpbrk.c (do_one_test): Likewise.
1046 (do_test): Likewise.
1047 * string/test-strrchr.c (do_one_test): Likewise.
1048 (do_test): Likewise.
1049 * string/test-strspn.c (do_one_test): Likewise.
1050 (do_test): Likewise.
1051 * string/test-strstr.c (do_one_test): Likewise.
1052 (do_test): Likewise.
1053
97020474
SP
1054 * benchtests/Makefile (string-bench): Add string benchmarks.
1055 * benchtests/bench-bcopy-ifunc.c: New file.
1056 * benchtests/bench-bcopy.c: New file.
1057 * benchtests/bench-bzero-ifunc.c: New file.
1058 * benchtests/bench-bzero.c: New file.
1059 * benchtests/bench-memccpy-ifunc.c: New file.
1060 * benchtests/bench-memccpy.c: New file.
1061 * benchtests/bench-memchr-ifunc.c: New file.
1062 * benchtests/bench-memchr.c: New file.
1063 * benchtests/bench-memcmp-ifunc.c: New file.
1064 * benchtests/bench-memcmp.c: New file.
1065 * benchtests/bench-memmem-ifunc.c: New file.
1066 * benchtests/bench-memmem.c: New file.
1067 * benchtests/bench-memmove-ifunc.c: New file.
1068 * benchtests/bench-memmove.c: New file.
1069 * benchtests/bench-mempcpy-ifunc.c: New file.
1070 * benchtests/bench-mempcpy.c: New file.
1071 * benchtests/bench-memset-ifunc.c: New file.
1072 * benchtests/bench-memset.c: New file.
1073 * benchtests/bench-rawmemchr-ifunc.c: New file.
1074 * benchtests/bench-rawmemchr.c: New file.
1075 * benchtests/bench-stpcpy-ifunc.c: New file.
1076 * benchtests/bench-stpcpy.c: New file.
1077 * benchtests/bench-stpncpy-ifunc.c: New file.
1078 * benchtests/bench-stpncpy.c: New file.
1079 * benchtests/bench-strcasecmp-ifunc.c: New file.
1080 * benchtests/bench-strcasecmp.c: New file.
1081 * benchtests/bench-strcasestr-ifunc.c: New file.
1082 * benchtests/bench-strcasestr.c: New file.
1083 * benchtests/bench-strcat-ifunc.c: New file.
1084 * benchtests/bench-strcat.c: New file.
1085 * benchtests/bench-strchr-ifunc.c: New file.
1086 * benchtests/bench-strchr.c: New file.
1087 * benchtests/bench-strchrnul-ifunc.c: New file.
1088 * benchtests/bench-strchrnul.c: New file.
1089 * benchtests/bench-strcmp-ifunc.c: New file.
1090 * benchtests/bench-strcmp.c: New file.
1091 * benchtests/bench-strcpy-ifunc.c: New file.
1092 * benchtests/bench-strcpy.c: New file.
1093 * benchtests/bench-strcspn-ifunc.c: New file.
1094 * benchtests/bench-strcspn.c: New file.
1095 * benchtests/bench-strlen-ifunc.c: New file.
1096 * benchtests/bench-strlen.c: New file.
1097 * benchtests/bench-strncasecmp-ifunc.c: New file.
1098 * benchtests/bench-strncasecmp.c: New file.
1099 * benchtests/bench-strncat-ifunc.c: New file.
1100 * benchtests/bench-strncat.c: New file.
1101 * benchtests/bench-strncmp-ifunc.c: New file.
1102 * benchtests/bench-strncmp.c: New file.
1103 * benchtests/bench-strncpy-ifunc.c: New file.
1104 * benchtests/bench-strncpy.c: New file.
1105 * benchtests/bench-strnlen-ifunc.c: New file.
1106 * benchtests/bench-strnlen.c: New file.
1107 * benchtests/bench-strpbrk-ifunc.c: New file.
1108 * benchtests/bench-strpbrk.c: New file.
1109 * benchtests/bench-strrchr-ifunc.c: New file.
1110 * benchtests/bench-strrchr.c: New file.
1111 * benchtests/bench-strspn-ifunc.c: New file.
1112 * benchtests/bench-strspn.c: New file.
1113 * benchtests/bench-strstr-ifunc.c: New file.
1114 * benchtests/bench-strstr.c: New file.
1115
c1f75dc3
SP
1116 * benchtests/Makefile: Disable parallel execution of targets.
1117 (string-bench): Add memcpy.
1118 (benchset): New variable to store a list of benchmark sets.
1119 (bench-func): Renamed from bench.
1120 (bench-set): New target.
1121 (bench): Depend on bench-func and bench-set.
1122 * benchtests/README: Add section on benchmark sets.
1123 * benchtests/bench-memcpy-ifunc.c: New file.
1124 * benchtests/bench-memcpy.c: New file.
1125 * benchtests/bench-string.h: New file.
1126
50fd745b
AS
11272013-06-11 Andreas Schwab <schwab@suse.de>
1128
1129 [BZ #15577]
1130 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1131 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1132 values in the triple.
1133 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1134 terminator in the group key.
1135
3ee7e9fe
AJ
11362013-06-11 Andreas Jaeger <aj@suse.de>
1137
1138 * po/zh_TW.po: Update Chinese (traditional) translation from
1139 translation project.
1140
89fb6835
SP
11412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1142
1143 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1144 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1145 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1147 (clock_getcpuclockid): Likewise.
1148 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1149 Add weak_alias and libc_hidden_def.
1150 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1151 * rt/clock_gettime.c (clock_gettime): Rename to
1152 __clock_gettime. Add weak_alias and libc_hidden_def.
1153 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1154 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1155 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1156 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1157 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1158 Likewise.
1159 * rt/clock_settime.c (clock_settime): Rename to
1160 __clock_settime. Add weak_alias and libc_hidden_def.
1161 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1162
0efa6f8b
JM
11632013-06-10 Joseph Myers <joseph@codesourcery.com>
1164
b8c61b4b
JM
1165 * mach/err_boot.sub: Remove trailing whitespace.
1166 * mach/err_ipc.sub: Likewise.
1167 * mach/err_mach.sub: Likewise.
1168
0efa6f8b
JM
1169 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1170 (ROUNDING_TESTS_double): Likewise.
1171 (ROUNDING_TESTS_long_double): Likewise.
1172 (ROUNDING_TESTS): Likewise.
1173 * math/libm-test.inc: Include <math-tests.h>.
1174 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1175 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1176 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1177 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1178
50b818bf
SP
11792013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1180
1181 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1182 of assigning.
1183
60d2f8f3
JM
11842013-06-08 Joseph Myers <joseph@codesourcery.com>
1185
4902d2c3
JM
1186 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1187 otherwise empty TRANS lines.
1188 * sysdeps/gnu/errlist.c: Regenerated.
1189
60d2f8f3
JM
1190 * catgets/gencat.c (error_print): Use (void) in function
1191 definition.
1192 * crypt/crypt_util.c (__init_des): Likewise.
1193 * crypt/speeds.c (Stop): Likewise.
1194 (main): Likewise.
1195 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1196 * inet/ruserpass.c (token): Likewise.
1197 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1198 * intl/localealias.c (extend_alias_table): Likewise.
1199 * intl/plural-exp.c (init_germanic_plural): Likewise.
1200 * libio/fcloseall.c (__fcloseall): Likewise.
1201 * libio/genops.c (_IO_flush_all): Likewise.
1202 (_IO_flush_all_linebuffered): Likewise.
1203 (_IO_cleanup): Likewise.
1204 (_IO_iter_begin): Likewise.
1205 (_IO_iter_end): Likewise.
1206 (_IO_list_lock): Likewise.
1207 (_IO_list_unlock): Likewise.
1208 (_IO_list_resetlock): Likewise.
1209 * libio/getchar.c (getchar): Likewise.
1210 * libio/getchar_u.c (getchar_unlocked): Likewise.
1211 * libio/getwchar.c (getwchar): Likewise.
1212 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1213 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1214 * login/getpt.c (__getpt): Likewise.
1215 * login/tst-utmp.c (main): Likewise.
1216 * malloc/hooks.c (__malloc_check_init): Likewise.
1217 * malloc/malloc.c (__malloc_stats): Likewise.
1218 * malloc/mtrace.c (tr_break): Likewise.
1219 (mtrace): Likewise.
1220 (muntrace): Likewise.
1221 * misc/fstab.c (endfsent): Likewise.
1222 * misc/getclktck.c (__getclktck): Likewise.
1223 * misc/getdtsz.c (__getdtablesize): Likewise.
1224 * misc/gethostid.c (gethostid): Likewise.
1225 * misc/getpagesize.c (__getpagesize): Likewise.
1226 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1227 (__get_nprocs): Likewise.
1228 (__get_phys_pages): Likewise.
1229 (__get_avphys_pages): Likewise.
1230 * misc/getttyent.c (getttyent): Likewise.
1231 (setttyent): Likewise.
1232 (endttyent): Likewise.
1233 * misc/getusershell.c (getusershell): Likewise.
1234 (endusershell): Likewise.
1235 (setusershell): Likewise.
1236 (initshells): Likewise.
1237 * misc/hsearch.c (__hdestroy): Likewise.
1238 * misc/sync.c (sync): Likewise.
1239 * misc/syslog.c (closelog_internal): Likewise.
1240 (closelog): Likewise.
1241 * misc/ttyslot.c (ttyslot): Likewise.
1242 * misc/vhangup.c (vhangup): Likewise.
1243 * posix/fork.c (__fork): Likewise.
1244 * posix/getegid.c (__getegid): Likewise.
1245 * posix/geteuid.c (__geteuid): Likewise.
1246 * posix/getgid.c (__getgid): Likewise.
1247 * posix/getpid.c (__getpid): Likewise.
1248 * posix/getppid.c (__getppid): Likewise.
1249 * posix/getuid.c (__getuid): Likewise.
1250 * posix/pause.c (pause): Likewise.
1251 * posix/setpgrp.c (setpgrp): Likewise.
1252 * posix/setsid.c (__setsid): Likewise.
1253 * posix/test-vfork.c (noop): Likewise.
1254 * resolv/gethnamaddr.c (_endhtent): Likewise.
1255 (_gethtent): Likewise.
1256 (ht_endhostent): Likewise.
1257 (gethostent): Likewise.
1258 (dns_service): Likewise.
1259 * stdlib/drand48.c (drand48): Likewise.
1260 * stdlib/lrand48.c (lrand48): Likewise.
1261 * stdlib/mrand48.c (mrand48): Likewise.
1262 * stdlib/rand.c (rand): Likewise.
1263 * stdlib/random.c (__random): Likewise.
1264 * stdlib/setenv.c (clearenv): Likewise.
1265 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1266 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1267 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1268 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1269 (__get_nprocs): Likewise.
1270 (__get_phys_pages): Likewise.
1271 (__get_avphys_pages): Likewise.
1272 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1273 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1274 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1275 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1276 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1277 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1278 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1279 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1280 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1281 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1282 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1283 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1284 * sysdeps/posix/clock.c (clock): Likewise.
1285 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1286 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1287 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1288 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1289 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1291 (__get_nprocs_conf): Likewise.
1292 (__get_phys_pages): Likewise.
1293 (__get_avphys_pages): Likewise.
1294 * time/clock.c (clock): Likewise.
1295 * time/tzset.c (__tzname_max): Likewise.
1296
2e09a79a
JM
12972013-06-07 Joseph Myers <joseph@codesourcery.com>
1298
1299 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1300 (__bswap_32): Do not use "register".
1301 * crypt/crypt.c (_ufc_doit_r): Likewise.
1302 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1303 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1304 * gmon/gmon.c (__monstartup): Likewise.
1305 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1306 * hurd/hurdmalloc.c (more_memory): Likewise.
1307 (malloc): Likewise.
1308 (free): Likewise.
1309 (realloc): Likewise.
1310 (malloc_fork_prepare): Likewise.
1311 (malloc_fork_parent): Likewise.
1312 (malloc_fork_child): Likewise.
1313 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1314 (_svcauth_des): Likewise.
1315 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1316 * inet/inet_net.c (inet_network): Likewise.
1317 * inet/inet_netof.c (inet_netof): Likewise.
1318 * inet/rcmd.c (__validuser2_sa): Likewise.
1319 * io/fts.c (fts_open): Likewise.
1320 (fts_load): Likewise.
1321 (fts_close): Likewise.
1322 (fts_read): Likewise.
1323 (fts_children): Likewise.
1324 (fts_build): Likewise.
1325 (fts_stat): Likewise.
1326 (fts_sort): Likewise.
1327 (fts_alloc): Likewise.
1328 (fts_lfree): Likewise.
1329 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1330 (_IO_file_xsgetn): Likewise.
1331 (_IO_file_xsgetn_mmap): Likewise.
1332 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1333 (_IO_cookie_write): Likewise.
1334 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1335 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1336 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1337 * malloc/obstack.c (_obstack_begin): Likewise.
1338 (_obstack_begin_1): Likewise.
1339 (_obstack_newchunk): Likewise.
1340 (_obstack_allocated_p): Likewise.
1341 (obstack_free): Likewise.
1342 (_obstack_memory_used): Likewise.
1343 * misc/getttyent.c (getttynam): Likewise.
1344 (getttyent): Likewise.
1345 (skip): Likewise.
1346 (value): Likewise.
1347 * misc/getusershell.c (initshells): Likewise.
1348 * misc/syslog.c (__vsyslog_chk): Likewise.
1349 * misc/ttyslot.c (ttyslot): Likewise.
1350 * nis/nis_hash.c (__nis_hash): Likewise.
1351 * posix/fnmatch_loop.c (FCT): Likewise.
1352 * posix/getconf.c (print_all): Likewise.
1353 (main): Likewise.
1354 * posix/getopt.c (exchange): Likewise.
1355 * posix/glob.c (globfree): Likewise.
1356 (prefix_array): Likewise.
1357 (__glob_pattern_type): Likewise.
1358 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1359 (NS_GET32): Likewise.
1360 (NS_PUT16): Likewise.
1361 (NS_PUT32): Likewise.
1362 * resolv/gethnamaddr.c (getanswer): Likewise.
1363 (gethostbyname2): Likewise.
1364 (gethostbyaddr): Likewise.
1365 (_gethtent): Likewise.
1366 (_gethtbyname2): Likewise.
1367 (_gethtbyaddr): Likewise.
1368 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1369 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1370 * resolv/res_init.c (__res_vinit): Likewise.
1371 (net_mask): Likewise.
1372 * resolv/res_mkquery.c (outchar): Likewise.
1373 (PRINT): Likewise.
1374 * stdio-common/printf_fp.c (outchar): Likewise.
1375 (PRINT): Likewise.
1376 * stdio-common/printf_fphex.c (outchar): Likewise.
1377 (PRINT): Likewise.
1378 * stdio-common/printf_size.c (outchar): Likewise.
1379 (PRINT): Likewise.
1380 * stdio-common/test_rdwr.c (main): Likewise.
1381 * stdio-common/tfformat.c (matches): Likewise.
1382 * stdio-common/vfprintf.c (outchar): Likewise.
1383 (printf_unknown): Likewise.
1384 (buffered_vfprintf): Likewise.
1385 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1386 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1387 (ReadFile): Likewise.
1388 * stdlib/qsort.c (SWAP): Likewise.
1389 (_quicksort): Likewise.
1390 * stdlib/setenv.c (__add_to_environ): Likewise.
1391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1392 * stdlib/strtol_l.c (__strtol_l): Likewise.
1393 * stdlib/tst-strtod.c (main): Likewise.
1394 * stdlib/tst-strtol.c (main): Likewise.
1395 * stdlib/tst-strtoll.c (main): Likewise.
1396 * string/bits/string2.h (__strcmp_cc): Likewise.
1397 (__strcmp_cg): Likewise.
1398 (__strcspn_c1): Likewise.
1399 (__strcspn_c2): Likewise.
1400 (__strcspn_c3): Likewise.
1401 (__strspn_c1): Likewise.
1402 (__strspn_c2): Likewise.
1403 (__strspn_c3): Likewise.
1404 (__strsep_1c): Likewise.
1405 (__strsep_2c): Likewise.
1406 (__strsep_3c): Likewise.
1407 * string/memccpy.c (__memccpy): Likewise.
1408 * string/stpcpy.c (__stpcpy): Likewise.
1409 * string/strcmp.c (strcmp): Likewise.
1410 * string/strrchr.c (strrchr): Likewise.
1411 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1412 Likewise.
1413 * sysdeps/mach/hurd/getcwd.c
1414 (_hurd_canonicalize_directory_name_internal): Likewise.
1415 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1416 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1417 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1418 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1419 Likewise, in both definitions.
1420 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1421 definitions.
1422 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1423 64] (__bswap_64): Likewise.
1424 * time/test_time.c (main): Likewise.
1425 * time/tzfile.c (__tzfile_read): Likewise.
1426 (__tzfile_compute): Likewise.
1427 * time/tzset.c (__tzset_parse_tz): Likewise.
1428 (tzset_internal): Likewise.
1429 (compute_change): Likewise.
1430 * wcsmbs/wcscat.c (__wcscat): Likewise.
1431 * wcsmbs/wcschr.c (wcschr): Likewise.
1432 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1433 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1434 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1435 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1436 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1437 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1438 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1439 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1440 * wcsmbs/wmemset.c (wmemset): Likewise.
1441
9e54314b
JM
14422013-06-06 Joseph Myers <joseph@codesourcery.com>
1443
1444 * scripts/config.guess: Update to version 2013-05-16.
1445 * scripts/config.sub: Update to version 2013-04-24.
1446 * scripts/install-sh: Update to version 2011-11-20.07.
1447 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1448 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1449
350635a5
OB
14502013-06-06 Ondřej Bílka <neleai@seznam.cz>
1451
1452 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1453 * elf/sln.c: Likewise.
1454 * hurd/hurd/ioctl.h: Likewise.
1455 * hurd/hurdmalloc.c: Likewise.
1456 * hurd/xattr.c: Likewise.
1457 * include/shlib-compat.h: Likewise.
1458 * inet/ruserpass.c: Likewise.
1459 * libio/iofgets_u.c: Likewise.
1460 * libio/iofgetws_u.c: Likewise.
1461 * locale/programs/ld-identification.c: Likewise.
1462 * locale/programs/ld-time.c: Likewise.
1463 * mach/msg-destroy.c: Likewise.
1464 * nss/nss_files/files-netgrp.c: Likewise.
1465 * resolv/res_data.c: Likewise.
1466 * soft-fp/op-1.h: Likewise.
1467 * soft-fp/op-2.h: Likewise.
1468 * soft-fp/op-4.h: Likewise.
1469 * soft-fp/op-common.h: Likewise.
1470 * stdio-common/printf_fphex.c: Likewise.
1471 * stdlib/strtod_l.c: Likewise.
1472 * sunrpc/rpc/clnt.h: Likewise.
1473 * sysdeps/generic/framestate.c: Likewise.
1474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1475 * sysdeps/i386/bsd-setjmp.S: Likewise.
1476 * sysdeps/i386/__longjmp.S: Likewise.
1477 * sysdeps/i386/setjmp.S: Likewise.
1478 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1496 * sysdeps/ieee754/support.c: Likewise.
1497 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1498 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1499 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1500 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1501 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1502 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1503 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1504 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1505 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1506 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1507 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1508 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1509 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1510 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1511 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1512 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1513 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1515
44a988af
OB
15162013-06-05 Ondřej Bílka <neleai@seznam.cz>
1517
25506f09 1518 * posix/transbug.c: Remove executable mode.
44a988af 1519
9c84384c
JM
15202013-06-05 Joseph Myers <joseph@codesourcery.com>
1521
1522 * crypt/speeds.c: Remove trailing whitespace.
1523 * dlfcn/default.c: Likewise.
1524 * elf/ifuncdep2.c: Likewise.
1525 * elf/ifuncmain1.c: Likewise.
1526 * elf/ifuncmain1vis.c: Likewise.
1527 * elf/testobj.h: Likewise.
1528 * elf/tst-stackguard1.c: Likewise.
1529 * gmon/sys/gmon.h: Likewise.
1530 * hurd/hurdmsg.c: Likewise.
1531 * hurd/new-fd.c: Likewise.
1532 * hurd/ports-get.c: Likewise.
1533 * iconvdata/ibm1008_420.c: Likewise.
1534 * inet/tst-getni1.c: Likewise.
1535 * inet/tst-getni2.c: Likewise.
1536 * libio/ioungetc.c: Likewise.
1537 * libio/wfiledoalloc.c: Likewise.
1538 * manual/libm-err-tab.pl: Likewise.
1539 * math/w_dremf.c: Likewise.
1540 * misc/ftruncate.c: Likewise.
1541 * posix/bug-glob2.c: Likewise.
1542 * posix/tst-pcre.c: Likewise.
1543 * posix/wait4.c: Likewise.
1544 * resolv/README: Likewise.
1545 * resolv/res_debug.h: Likewise.
1546 * resolv/tst-inet_ntop.c: Likewise.
1547 * setjmp/bug269-setjmp.c: Likewise.
1548 * soft-fp/extended.h: Likewise.
1549 * soft-fp/op-1.h: Likewise.
1550 * soft-fp/op-2.h: Likewise.
1551 * soft-fp/op-4.h: Likewise.
1552 * soft-fp/op-8.h: Likewise.
1553 * soft-fp/testit.c: Likewise.
1554 * stdio-common/bug16.c: Likewise.
1555 * stdlib/random.c: Likewise.
1556 * sunrpc/rpcsvc/rquota.x: Likewise.
1557 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1558 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1560 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1563 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1564 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1565 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1566 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1586 * sysdeps/ieee754/s_lib_version.c: Likewise.
1587 * sysdeps/mach/hurd/check_fds.c: Likewise.
1588 * sysdeps/mach/hurd/getsockname.c: Likewise.
1589 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1590 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1591 * sysdeps/powerpc/bits/link.h: Likewise.
1592 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1593 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1594 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1595 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1596 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1597 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1598 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1599 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1600 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1601 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1602 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1603 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1604 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1605 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1606 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1607 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1613 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1614 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1615 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1616 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1619 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1620 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1624 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1625 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1626 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1627 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1628 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1629 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1630 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1631 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1632 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1633 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1634 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1635 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1636 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1637 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1638 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1639 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1640 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1641 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1644 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1645 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1646 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1647 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1648 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1650 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1651 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1652 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1653 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1654 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1655 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1656 * sysdeps/powerpc/sysdep.h: Likewise.
1657 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1658 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1659 * sysdeps/sh/dl-trampoline.S: Likewise.
1660 * sysdeps/sh/memset.S: Likewise.
1661 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1662 * sysdeps/sh/strlen.S: Likewise.
1663 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1664 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1665 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1666 * sysdeps/sparc/sparc32/rem.S: Likewise.
1667 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1668 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1669 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1670 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1671 * sysdeps/sparc/sparc32/urem.S: Likewise.
1672 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1673 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1674 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1675 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1677 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1678 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1679 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1680 * sysdeps/unix/bsd/times.c: Likewise.
1681 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1682 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1686 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1688 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1689 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1690 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1691 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1692 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1693 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1694 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1695 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1696 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1698 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1699 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1700 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1701 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1702 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1703 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1704 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1705 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1706 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1709 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1710 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1711 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1712 * sysdeps/x86_64/strcspn.S: Likewise.
1713
869378a5
RA
17142013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1715
1716 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1717 generated file. Regenerate properly from gen-translit.pl.
1718 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1719 locale/C-translit.h.
1720
840e2943
AS
17212013-06-05 Andreas Schwab <schwab@suse.de>
1722
1723 [BZ #15100]
1724 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1725 week as 6 instead of -1.
1726 * time/tst-strptime.c (day_tests): Add test case.
1727
4c60cb0c
SP
17282013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1729
1730 * sysdeps/generic/math_private.h
1731 (libc_feholdexcept_setround_53bit): Replace with
1732 libc_feholdsetround_53bit.
1733 (libc_feupdateenv_53bit): Replace with
1734 libc_feresetround_53bit.
1735 (SET_RESTORE_ROUND_53BIT): Adjust.
1736
d180203e
SP
17372013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1738
96df079a
SP
1739 * string/test-strchrnul.c: Add copyright header.
1740
d180203e
SP
1741 * posix/tst-getaddrinfo4.c: Increase test timeout.
1742
8b0ccb2d
CD
17432013-06-03 Carlos O'Donell <carlos@redhat.com>
1744
1745 [BZ #15536]
1746 * math/libm-test.inc (MAX_EXP): Remove
1747 (MIN_EXP): Define.
1748 (ulp): Use MIN_EXP - MANT_DIG.
1749 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1750
3b3c4d40
CD
17512013-05-31 Carlos O'Donell <carlos@redhat.com>
1752
1753 * po/be.po: Revert last change.
1754 * po/zh_CN.po: Likewise.
1755 * po/header.pot: Likewise.
1756
fab7ce3f
JM
17572013-05-31 Joseph Myers <joseph@codesourcery.com>
1758
1759 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1760 link-libc-deps to empty as target-specific variable.
1761 * Makerules (link-libc-args): New variable.
1762 (libc-for-link): Likewise.
1763 (link-libc-deps): Likewise.
1764 (lib%.so): Depend on $(link-libc-deps). Link with
1765 $(link-libc-args).
1766 (build-module): Link with $(link-libc-args).
1767 (build-module-asneeded): Likewise.
1768 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1769 list of objects.
1770 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1771 target-specific variable.
1772 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1773 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1774 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1775 libc.
1776 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1777 libc and ld.so.
1778 ($(objpfx)libpcprofile.so): Likewise.
1779 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1780 libc_nonshared.a.
1781 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1782 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1783 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1784 $(link-libc-deps).
1785 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1786 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1787 * login/Makefile ($(objpfx)libutil.so): Likewise.
1788 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1789 * math/Makefile ($(objpfx)libm.so): Likewise.
1790 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1791 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1792 variable instead of depending directly on libc.
1793 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1794 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1795 $(link-libc-deps).
1796 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1797 libc.
1798 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1799 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1800 ($(objpfx)libanl.so): Likewise.
1801 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1802 ld.so.
1803 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1804 $(link-libc-deps).
1805 * sysdeps/i386/fpu/Makefile: Remove file.
1806 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1807 ($(objpfx)libm.so): Remove dependency on ld.so.
1808
eca5920c
PF
18092013-05-30 Patsy Franklin <pfrankli@redhat.com>
1810
1811 [BZ # 15553]
1812 * nis/yp_xdr.c (XDRMAXNAME): Define.
1813 (XDRMAXRECORD): Define.
1814 (xdr_domainname): Use XDRMAXNAME.
1815 (xdr_mapname): Likewise.
1816 (xdr_peername): Likewise.
1817 (xdr_keydat): Use XDRMAXRECORD.
1818 (xdr_valdat): Likewise.
1819
18202013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1821
1822 [BZ #14256]
1823 * manual/errno.texi (ESTALE): Update to account for more than
1824 just NFS file systems.
1825 * sysdeps/gnu/errlist.c: Regenerated.
1826
b9375348
SP
18272013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1828
1829 [BZ #15465]
1830 * elf/Makefile (tests): Add tst-null-argv.
1831 (modules-names): Add tst-null-argv-lib.
1832 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1833 (tst-null-argv-ENV): Set environment for tst-null-argv.
1834 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1835 (RTLD_PROGNAME): New macro.
1836 * elf/tst-null-argv.c: New test case.
1837 * elf/tst-null-argv-lib.c: Library for test case.
1838 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1839 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1840 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1841 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1842 * elf/dl-init.c (call_init): Likewise.
1843 (_dl_init): Likewise.
1844 * elf/dl-load.c (print_search_path): Likewise.
1845 (_dl_map_object): Likewise.
1846 * elf/dl-lookup.c (do_lookup_x): Likewise.
1847 (add_dependency): Likewise.
1848 (_dl_lookup_symbol_x): Likewise.
1849 (_dl_debug_bindings): Likewise.
1850 * elf/dl-open.c (_dl_show_scope): Likewise.
1851 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1852 * elf/dl-version.c (match_symbol): Likewise.
1853 (_dl_check_map_versions): Likewise.
1854 * elf/rtld.c (dl_main): Likewise.
1855 (print_unresolved): Use RTLD_PROGNAME.
1856 (print_missing_version): Likewise.
1857 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1858 (elf_machine_rela): Likewise.
1859 * sysdeps/powerpc/powerpc32/dl-machine.c
1860 (__process_machine_rela): Likewise.
1861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1862 Likewise.
1863 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1864 Likewise.
1865 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1866 Likewise.
1867 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1869 Likewise.
1870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1871 Likewise.
1872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1873
8a9f20c8
CD
18742013-05-28 Carlos O'Donell <carlos@redhat.com>
1875
1876 * po/be.po: Add descriptive title.
1877 * po/zh_CN.po: Likewise.
1878 * po/header.pot: Likewise.
1879
0e60d68e
MF
18802013-05-28 Mike Frysinger <vapier@gentoo.org>
1881
1882 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1883 error message.
1884 (enlarge_archive): Likewise.
1885
56b672e9
BN
18862013-05-28 Ben North <ben@redfrontdoor.org>
1887
1888 * manual/arith.texi (frexp): It is the magnitude of the return
1889 value which lies in [0.5, 1), not the return value itself.
1890
5e056687
AZ
18912013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892
1893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1894
2b66ef5d
TS
18952013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1896
528c2405
TS
1897 * stdio-common/bug26.c (main): Correct fscanf template.
1898
07b4c13d
TS
1899 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1900 declare _dl_skip_args.
1901
ec9dd97c
TS
1902 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1903 Don't declare.
1904
2b66ef5d
TS
1905 * manual/platform.texi: Add missing @end deftypefun.
1906
4f8dfe27
JM
19072013-05-24 Joseph Myers <joseph@codesourcery.com>
1908
0323d086
JM
1909 [BZ #15529]
1910 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1911 bit of mantissa of 2^16382.
1912 * math/libm-test.inc (hypot_test_data): Add more tests.
1913
dd4259b9
JM
1914 * math/libm-test.inc: Add drem and pow10 to list of tested
1915 functions.
1916 (pow10_test): New function.
1917 (drem_test): Likewise.
1918 (drem_test_tonearest): Likewise.
1919 (drem_test_towardzero): Likewise.
1920 (drem_test_downward): Likewise.
1921 (drem_test_upward): Likewise.
1922 (main): Call the new functions.
1923
4f8dfe27
JM
1924 * math/libm-test.inc (finite_test_data): Remove.
1925 (finite_test): Run tests from isfinite_test_data.
1926 (gamma_test_data): Remove.
1927 (gamma_test): Run tests from lgamma_test_data.
1928 * sysdeps/i386/fpu/libm-test-ulps: Update.
1929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1930
d116b7c4
AZ
19312013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932
1933 * manual/platform.texi: Add PowerPC PPR function set documentation.
1934 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1935 implementation.
1936
e96e3767
CD
19372013-05-24 Carlos O'Donell <carlos@redhat.com>
1938
1939 * math/libm-test.inc (MAX_EXP): Define.
1940 (ULPDIFF): Define.
1941 (ulp): New function.
1942 (check_float_internal): Use ULPDIFF.
1943 (cpow_test): Disable failing test.
1944 (check_ulp): Test ulp() implemetnation.
1945 (main): Call check_ulp before starting tests.
1946
b679a606
JM
19472013-05-24 Joseph Myers <joseph@codesourcery.com>
1948
e8bdba36
JM
1949 * math/gen-libm-test.pl (generate_testfile): Do not handle
1950 START_DATA and END_DATA.
1951 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1952 END_DATA.
1953 (acos_tonearest_test_data): Likewise.
1954 (acos_towardzero_test_data): Likewise.
1955 (acos_downward_test_data): Likewise.
1956 (acos_upward_test_data): Likewise.
1957 (acosh_test_data): Likewise.
1958 (asin_test_data): Likewise.
1959 (asin_tonearest_test_data): Likewise.
1960 (asin_towardzero_test_data): Likewise.
1961 (asin_downward_test_data): Likewise.
1962 (asin_upward_test_data): Likewise.
1963 (asinh_test_data): Likewise.
1964 (atan_test_data): Likewise.
1965 (atanh_test_data): Likewise.
1966 (atan2_test_data): Likewise.
1967 (cabs_test_data): Likewise.
1968 (cacos_test_data): Likewise.
1969 (cacosh_test_data): Likewise.
1970 (carg_test_data): Likewise.
1971 (casin_test_data): Likewise.
1972 (casinh_test_data): Likewise.
1973 (catan_test_data): Likewise.
1974 (catanh_test_data): Likewise.
1975 (cbrt_test_data): Likewise.
1976 (ccos_test_data): Likewise.
1977 (ccosh_test_data): Likewise.
1978 (ceil_test_data): Likewise.
1979 (cexp_test_data): Likewise.
1980 (cimag_test_data): Likewise.
1981 (clog_test_data): Likewise.
1982 (clog10_test_data): Likewise.
1983 (conj_test_data): Likewise.
1984 (copysign_test_data): Likewise.
1985 (cos_test_data): Likewise.
1986 (cos_tonearest_test_data): Likewise.
1987 (cos_towardzero_test_data): Likewise.
1988 (cos_downward_test_data): Likewise.
1989 (cos_upward_test_data): Likewise.
1990 (cosh_test_data): Likewise.
1991 (cosh_tonearest_test_data): Likewise.
1992 (cosh_towardzero_test_data): Likewise.
1993 (cosh_downward_test_data): Likewise.
1994 (cosh_upward_test_data): Likewise.
1995 (cpow_test_data): Likewise.
1996 (cproj_test_data): Likewise.
1997 (creal_test_data): Likewise.
1998 (csin_test_data): Likewise.
1999 (csinh_test_data): Likewise.
2000 (csqrt_test_data): Likewise.
2001 (ctan_test_data): Likewise.
2002 (ctan_tonearest_test_data): Likewise.
2003 (ctan_towardzero_test_data): Likewise.
2004 (ctan_downward_test_data): Likewise.
2005 (ctan_upward_test_data): Likewise.
2006 (ctanh_test_data): Likewise.
2007 (ctanh_tonearest_test_data): Likewise.
2008 (ctanh_towardzero_test_data): Likewise.
2009 (ctanh_downward_test_data): Likewise.
2010 (ctanh_upward_test_data): Likewise.
2011 (erf_test_data): Likewise.
2012 (erfc_test_data): Likewise.
2013 (exp_test_data): Likewise.
2014 (exp_tonearest_test_data): Likewise.
2015 (exp_towardzero_test_data): Likewise.
2016 (exp_downward_test_data): Likewise.
2017 (exp_upward_test_data): Likewise.
2018 (exp10_test_data): Likewise.
2019 (exp2_test_data): Likewise.
2020 (expm1_test_data): Likewise.
2021 (fabs_test_data): Likewise.
2022 (fdim_test_data): Likewise.
2023 (finite_test_data): Likewise.
2024 (floor_test_data): Likewise.
2025 (fma_test_data): Likewise.
2026 (fma_towardzero_test_data): Likewise.
2027 (fma_downward_test_data): Likewise.
2028 (fma_upward_test_data): Likewise.
2029 (fmax_test_data): Likewise.
2030 (fmin_test_data): Likewise.
2031 (fmod_test_data): Likewise.
2032 (fpclassify_test_data): Likewise.
2033 (frexp_test_data): Likewise.
2034 (gamma_test_data): Likewise.
2035 (hypot_test_data): Likewise.
2036 (ilogb_test_data): Likewise.
2037 (isfinite_test_data): Likewise.
2038 (isgreater_test_data): Likewise.
2039 (isgreaterequal_test_data): Likewise.
2040 (isinf_test_data): Likewise.
2041 (isless_test_data): Likewise.
2042 (islessequal_test_data): Likewise.
2043 (islessgreater_test_data): Likewise.
2044 (isnan_test_data): Likewise.
2045 (isnormal_test_data): Likewise.
2046 (issignaling_test_data): Likewise.
2047 (isunordered_test_data): Likewise.
2048 (j0_test_data): Likewise.
2049 (j1_test_data): Likewise.
2050 (jn_test_data): Likewise.
2051 (ldexp_test_data): Likewise.
2052 (lgamma_test_data): Likewise.
2053 (lrint_test_data): Likewise.
2054 (lrint_tonearest_test_data): Likewise.
2055 (lrint_towardzero_test_data): Likewise.
2056 (lrint_downward_test_data): Likewise.
2057 (lrint_upward_test_data): Likewise.
2058 (llrint_test_data): Likewise.
2059 (llrint_tonearest_test_data): Likewise.
2060 (llrint_towardzero_test_data): Likewise.
2061 (llrint_downward_test_data): Likewise.
2062 (llrint_upward_test_data): Likewise.
2063 (log_test_data): Likewise.
2064 (log10_test_data): Likewise.
2065 (log1p_test_data): Likewise.
2066 (log2_test_data): Likewise.
2067 (logb_test_data): Likewise.
2068 (logb_downward_test_data): Likewise.
2069 (lround_test_data): Likewise.
2070 (llround_test_data): Likewise.
2071 (modf_test_data): Likewise.
2072 (nearbyint_test_data): Likewise.
2073 (nextafter_test_data): Likewise.
2074 (nexttoward_test_data): Likewise.
2075 (pow_test_data): Likewise.
2076 (pow_tonearest_test_data): Likewise.
2077 (pow_towardzero_test_data): Likewise.
2078 (pow_downward_test_data): Likewise.
2079 (pow_upward_test_data): Likewise.
2080 (remainder_test_data): Likewise.
2081 (remainder_tonearest_test_data): Likewise.
2082 (remainder_towardzero_test_data): Likewise.
2083 (remainder_downward_test_data): Likewise.
2084 (remainder_upward_test_data): Likewise.
2085 (remquo_test_data): Likewise.
2086 (rint_test_data): Likewise.
2087 (rint_tonearest_test_data): Likewise.
2088 (rint_towardzero_test_data): Likewise.
2089 (rint_downward_test_data): Likewise.
2090 (rint_upward_test_data): Likewise.
2091 (round_test_data): Likewise.
2092 (scalb_test_data): Likewise.
2093 (scalbn_test_data): Likewise.
2094 (scalbln_test_data): Likewise.
2095 (signbit_test_data): Likewise.
2096 (sin_test_data): Likewise.
2097 (sin_tonearest_test_data): Likewise.
2098 (sin_towardzero_test_data): Likewise.
2099 (sin_downward_test_data): Likewise.
2100 (sin_upward_test_data): Likewise.
2101 (sincos_test_data): Likewise.
2102 (sinh_test_data): Likewise.
2103 (sinh_tonearest_test_data): Likewise.
2104 (sinh_towardzero_test_data): Likewise.
2105 (sinh_downward_test_data): Likewise.
2106 (sinh_upward_test_data): Likewise.
2107 (sqrt_test_data): Likewise.
2108 (tan_test_data): Likewise.
2109 (tan_tonearest_test_data): Likewise.
2110 (tan_towardzero_test_data): Likewise.
2111 (tan_downward_test_data): Likewise.
2112 (tan_upward_test_data): Likewise.
2113 (tanh_test_data): Likewise.
2114 (tgamma_test_data): Likewise.
2115 (trunc_test_data): Likewise.
2116 (y0_test_data): Likewise.
2117 (y1_test_data): Likewise.
2118 (yn_test_data): Likewise.
2119 (significand_test_data): Likewise.
2120
b679a606
JM
2121 * math/gen-libm-test.pl (@functions): Remove variable.
2122 (generate_testfile): Don't handle START and END lines.
2123 * math/libm-test.inc (START): New macro.
2124 (END): Likewise.
2125 (END_COMPLEX): Likewise.
2126 (acos_test): Use END macro without arguments.
2127 (acos_test_tonearest): Likewise.
2128 (acos_test_towardzero): Likewise.
2129 (acos_test_downward): Likewise.
2130 (acos_test_upward): Likewise.
2131 (acosh_test): Likewise.
2132 (asin_test): Likewise.
2133 (asin_test_tonearest): Likewise.
2134 (asin_test_towardzero): Likewise.
2135 (asin_test_downward): Likewise.
2136 (asin_test_upward): Likewise.
2137 (asinh_test): Likewise.
2138 (atan_test): Likewise.
2139 (atanh_test): Likewise.
2140 (atan2_test): Likewise.
2141 (cabs_test): Likewise.
2142 (cacos_test): Use END_COMPLEX macro without arguments.
2143 (cacosh_test): Likewise.
2144 (carg_test): Use END macro without arguments.
2145 (casin_test): Use END_COMPLEX macro without arguments.
2146 (casinh_test): Likewise.
2147 (catan_test): Likewise.
2148 (catanh_test): Likewise.
2149 (cbrt_test): Use END macro without arguments.
2150 (ccos_test): Use END_COMPLEX macro without arguments.
2151 (ccosh_test): Likewise.
2152 (ceil_test): Use END macro without arguments.
2153 (cexp_test): Use END_COMPLEX macro without arguments.
2154 (cimag_test): Use END macro without arguments.
2155 (clog_test): Use END_COMPLEX macro without arguments.
2156 (clog10_test): Likewise.
2157 (conj_test): Likewise.
2158 (copysign_test): Use END macro without arguments.
2159 (cos_test): Likewise.
2160 (cos_test_tonearest): Likewise.
2161 (cos_test_towardzero): Likewise.
2162 (cos_test_downward): Likewise.
2163 (cos_test_upward): Likewise.
2164 (cosh_test): Likewise.
2165 (cosh_test_tonearest): Likewise.
2166 (cosh_test_towardzero): Likewise.
2167 (cosh_test_downward): Likewise.
2168 (cosh_test_upward): Likewise.
2169 (cpow_test): Use END_COMPLEX macro without arguments.
2170 (cproj_test): Likewise.
2171 (creal_test): Use END macro without arguments.
2172 (csin_test): Use END_COMPLEX macro without arguments.
2173 (csinh_test): Likewise.
2174 (csqrt_test): Likewise.
2175 (ctan_test): Likewise.
2176 (ctan_test_tonearest): Likewise.
2177 (ctan_test_towardzero): Likewise.
2178 (ctan_test_downward): Likewise.
2179 (ctan_test_upward): Likewise.
2180 (ctanh_test): Likewise.
2181 (ctanh_test_tonearest): Likewise.
2182 (ctanh_test_towardzero): Likewise.
2183 (ctanh_test_downward): Likewise.
2184 (ctanh_test_upward): Likewise.
2185 (erf_test): Use END macro without arguments.
2186 (erfc_test): Likewise.
2187 (exp_test): Likewise.
2188 (exp_test_tonearest): Likewise.
2189 (exp_test_towardzero): Likewise.
2190 (exp_test_downward): Likewise.
2191 (exp_test_upward): Likewise.
2192 (exp10_test): Likewise.
2193 (exp2_test): Likewise.
2194 (expm1_test): Likewise.
2195 (fabs_test): Likewise.
2196 (fdim_test): Likewise.
2197 (finite_test): Likewise.
2198 (floor_test): Likewise.
2199 (fma_test): Likewise.
2200 (fma_test_towardzero): Likewise.
2201 (fma_test_downward): Likewise.
2202 (fma_test_upward): Likewise.
2203 (fmax_test): Likewise.
2204 (fmin_test): Likewise.
2205 (fmod_test): Likewise.
2206 (fpclassify_test): Likewise.
2207 (frexp_test): Likewise.
2208 (gamma_test): Likewise.
2209 (hypot_test): Likewise.
2210 (ilogb_test): Likewise.
2211 (isfinite_test): Likewise.
2212 (isgreater_test): Likewise.
2213 (isgreaterequal_test): Likewise.
2214 (isinf_test): Likewise.
2215 (isless_test): Likewise.
2216 (islessequal_test): Likewise.
2217 (islessgreater_test): Likewise.
2218 (isnan_test): Likewise.
2219 (isnormal_test): Likewise.
2220 (issignaling_test): Likewise.
2221 (isunordered_test): Likewise.
2222 (j0_test): Likewise.
2223 (j1_test): Likewise.
2224 (jn_test): Likewise.
2225 (ldexp_test): Likewise.
2226 (lgamma_test): Likewise.
2227 (lrint_test): Likewise.
2228 (lrint_test_tonearest): Likewise.
2229 (lrint_test_towardzero): Likewise.
2230 (lrint_test_downward): Likewise.
2231 (lrint_test_upward): Likewise.
2232 (llrint_test): Likewise.
2233 (llrint_test_tonearest): Likewise.
2234 (llrint_test_towardzero): Likewise.
2235 (llrint_test_downward): Likewise.
2236 (llrint_test_upward): Likewise.
2237 (log_test): Likewise.
2238 (log10_test): Likewise.
2239 (log1p_test): Likewise.
2240 (log2_test): Likewise.
2241 (logb_test): Likewise.
2242 (logb_test_downward): Likewise.
2243 (lround_test): Likewise.
2244 (llround_test): Likewise.
2245 (modf_test): Likewise.
2246 (nearbyint_test): Likewise.
2247 (nextafter_test): Likewise.
2248 (nexttoward_test): Likewise.
2249 (pow_test): Likewise.
2250 (pow_test_tonearest): Likewise.
2251 (pow_test_towardzero): Likewise.
2252 (pow_test_downward): Likewise.
2253 (pow_test_upward): Likewise.
2254 (remainder_test): Likewise.
2255 (remainder_test_tonearest): Likewise.
2256 (remainder_test_towardzero): Likewise.
2257 (remainder_test_downward): Likewise.
2258 (remainder_test_upward): Likewise.
2259 (remquo_test): Likewise.
2260 (rint_test): Likewise.
2261 (rint_test_tonearest): Likewise.
2262 (rint_test_towardzero): Likewise.
2263 (rint_test_downward): Likewise.
2264 (rint_test_upward): Likewise.
2265 (round_test): Likewise.
2266 (scalb_test): Likewise.
2267 (scalbn_test): Likewise.
2268 (scalbln_test): Likewise.
2269 (signbit_test): Likewise.
2270 (sin_test): Likewise.
2271 (sin_test_tonearest): Likewise.
2272 (sin_test_towardzero): Likewise.
2273 (sin_test_downward): Likewise.
2274 (sin_test_upward): Likewise.
2275 (sincos_test): Likewise.
2276 (sinh_test): Likewise.
2277 (sinh_test_tonearest): Likewise.
2278 (sinh_test_towardzero): Likewise.
2279 (sinh_test_downward): Likewise.
2280 (sinh_test_upward): Likewise.
2281 (sqrt_test): Likewise.
2282 (tan_test): Likewise.
2283 (tan_test_tonearest): Likewise.
2284 (tan_test_towardzero): Likewise.
2285 (tan_test_downward): Likewise.
2286 (tan_test_upward): Likewise.
2287 (tanh_test): Likewise.
2288 (tgamma_test): Likewise.
2289 (trunc_test): Likewise.
2290 (y0_test): Likewise.
2291 (y1_test): Likewise.
2292 (yn_test): Likewise.
2293 (significand_test): Likewise.
2294
bae143d2
OB
22952013-05-24 Ondřej Bílka <neleai@seznam.cz>
2296
2297 [BZ #15381]
2298 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2299
9323d39b
EM
23002013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2301
d4ea44a0 2302 [BZ #14894]
9323d39b
EM
2303 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2304 __ppc_mdoio and __ppc_mdoom.
2305 * manual/platform.texi: Document new functions __ppc_yield,
2306 __ppc_mdoio and __ppc_mdoom.
2307
13e23af7
CD
23082013-05-22 Carlos O'Donell <carlos@redhat.com>
2309
2310 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2311 (main): Mention "tls" pseudo-hwcap is legacy.
2312 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2313
351fe550
JM
23142013-05-22 Joseph Myers <joseph@codesourcery.com>
2315
2316 * math/gen-libm-test.pl (parse_args): Output only string of
2317 arguments as text for test name, not full call or descriptions of
2318 tests for extra outputs.
2319 (generate_testfile): Do not pass function name to parse_args.
2320 Generate this_func variable from START.
2321 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2322 field to arg_str.
2323 (struct test_ff_f_data): Likewise.
2324 (test_ff_f_data_nexttoward): Likewise.
2325 (struct test_fi_f_data): Likewise.
2326 (struct test_fl_f_data): Likewise.
2327 (struct test_if_f_data): Likewise.
2328 (struct test_fff_f_data): Likewise.
2329 (struct test_c_f_data): Likewise.
2330 (struct test_f_f1_data): Likewise. Remove field extra_name.
2331 (struct test_fF_f1_data): Likewise.
2332 (struct test_ffI_f1_data): Likewise.
2333 (struct test_c_c_data): Rename test_name field to arg_str.
2334 (struct test_cc_c_data): Likewise.
2335 (struct test_f_i_data): Likewise.
2336 (struct test_ff_i_data): Likewise.
2337 (struct test_f_l_data): Likewise.
2338 (struct test_f_L_data): Likewise.
2339 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2340 and extra2_name.
2341 (COMMON_TEST_SETUP): New macro.
2342 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2343 (COMMON_TEST_CLEANUP): Likewise.
2344 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2345 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2346 macros.
2347 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2348 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2349 macros.
2350 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2351 (RUN_TEST_fff_f): Take argument string. Call new setup and
2352 cleanup macros.
2353 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2354 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2355 macros.
2356 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2357 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2358 macros.
2359 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2360 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2361 cleanup macros.
2362 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2363 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2364 cleanup macros.
2365 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2366 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2367 cleanup macros.
2368 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2369 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2370 macros.
2371 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2372 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2373 macros.
2374 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2375 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2376 macros.
2377 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2378 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2379 cleanup macros.
2380 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2381 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2382 cleanup macros.
2383 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2384 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2385 macros.
2386 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2387 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2388 cleanup macros.
2389 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2390 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2391 macros.
2392 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2393 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2394 macros.
2395 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2396 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2397 cleanup macros.
2398 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2399
85118d4d
EBM
24002013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2401
2402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2403 to _sifields.sigfault.
2404 (si_addr_lsb): Define new macro.
2405 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2408
7a44c18f
CD
24092013-05-03 Carlos O'Donell <carlos at redhat.com>
2410
2411 [BZ #15441]
2412 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2413 returns -1.
2414 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2415 null return -1.
2416 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2417 loading the domain.
2418
b50a7181
JM
24192013-05-22 Joseph Myers <joseph@codesourcery.com>
2420
2421 * math/gen-libm-test.pl (parse_args): Do not include expected
2422 result in test name.
2423 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2425 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2426 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2427 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2429
051063c8
SP
24302013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
3ce9e010
SP
2432 * benchtests/Makefile: Sort function entries.
2433
051063c8
SP
2434 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2435 tanh, asinh, acosh, atanh.
2436 * benchtests/acos-inputs: New file.
2437 * benchtests/acosh-inputs: New file.
2438 * benchtests/asin-inputs: New file.
2439 * benchtests/asinh-inputs: New file.
2440 * benchtests/atanh-inputs: New file.
2441 * benchtests/cosh-inputs: New file.
2442 * benchtests/log-inputs: New file.
2443 * benchtests/sinh-inputs: New file.
2444 * benchtests/tanh-inputs: New file.
2445
47c22455
DL
24462013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2447
2448 [BZ #15339]
2449 * posix/tst-getaddrinfo4.c: New test.
2450 * posix/Makefile (tests): Add it.
2451
3d04f5db
SP
24522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2453
2454 [BZ #15339]
2455 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2456 when no services were used.
2457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2458 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2459
d5dd6189
AS
24602013-05-21 Andreas Schwab <schwab@suse.de>
2461
2462 [BZ #15014]
2463 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2464 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2465 successful.
2466 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2467 redundant variable declarations and reallocation of buffer when
2468 parsing as IPv6 address. Always set NSS status when called from
2469 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2470 buffer too small. Correct computation of needed size.
2471 * nss/Makefile (tests): Add test-digits-dots.
2472 * nss/test-digits-dots.c: New test.
2473
fef94eab
SP
24742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2475
2476 * benchtests/Makefile: Remove instructions for adding
2477 benchmark tests.
2478 * benchtests/README: New file to explain how to execute and
2479 enhance the benchmark tests.
2480
e39adf43
AS
24812013-05-21 Andreas Schwab <schwab@suse.de>
2482
2483 [BZ #15493]
2484 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2485 * setjmp/tst-sigsetjmp.c: New test.
2486
b2b671b6
OB
24872013-05-20 Ondřej Bílka <neleai@seznam.cz>
2488
2489 * sysdeps/x86_64/memset.S (memset): New implementation.
2490 (__bzero): Likewise.
2491 (__memset_tail): New function.
2492
2d48b41c
OB
24932013-05-20 Ondřej Bílka <neleai@seznam.cz>
2494
2495 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2496 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2497 __memcpy_sse2_unaligned ifunc selection.
2498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2499 Add memcpy-sse2-unaligned.S.
2500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2501 Add: __memcpy_sse2_unaligned.
2502
f16cc3eb
JM
25032013-05-19 Joseph Myers <joseph@codesourcery.com>
2504
3e694268
JM
2505 [BZ #15490]
2506 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2507 math_force_eval before restoring floating-point envrionment.
2508 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2510 Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2512 <math_private.h>.
2513 (__nearbyintl): Use math_force_eval before restoring
2514 floating-point environment.
2515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2516
db62a907
JM
2517 * math/gen-libm-test.pl (special_functions): Remove.
2518 (parse_args): Don't handle TEST_extra. Handle functions with no
2519 return value.
2520 * math/libm-test.inc (struct test_sincos_data): Replace with
2521 struct test_fFF_11_data.
2522 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2523 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2524 (sincos_test_data): Change element type to struct
2525 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2526 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2527 RUN_TEST_LOOP_sincos.
2528 * math/README.libm-test: Don't mention special handling of
2529 individual functions.
2530 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2532 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2533 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2534 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2536
f16cc3eb
JM
2537 * math/gen-libm-test.pl (get_variable): Remove function.
2538 (parse_args): Don't show pointer parameters to call in test
2539 names. Use "extra output N" in test names for extra outputs
2540 rather than naming variables.
2541
3779b5b6
JM
25422013-05-18 Joseph Myers <joseph@codesourcery.com>
2543
2ee094ff
JM
2544 [BZ #15488]
2545 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2546 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2547 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2548 double tests.
2549 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2550 disable.
2551 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2552 check_long_double.
2553
3779b5b6
JM
2554 * math/gen-libm-test.pl (@tests): Remove variable.
2555 ($count): Likewise.
2556 (new_test): Remove function.
2557 (show_exceptions): New function.
2558 (special_functions): Use show_exceptions instead of new_test.
2559 (parse_args): Likewise.
2560 (generate_testfile): Pass only function name in generated call to
2561 print_max_error or print_complex_max_error.
2562 (get_ulps): Do not handle complex tests specially.
2563 (output_test): Rename to ...
2564 (get_all_ulps_for_test): ... this. Return a string rather than
2565 printing to a file. Require ulps to be present.
2566 (output_ulps): Generate arrays rather than #defines.
2567 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2568 (struct ulp_data): New type.
2569 (BUILD_COMPLEX_ULP): Remove macro.
2570 (compare_ulp_data): New function.
2571 (find_ulps): Likewise.
2572 (find_test_ulps): Likewise.
2573 (find_function_ulps): Likewise.
2574 (find_complex_function_ulps): Likewise.
2575 (print_max_error): Determine allowed ulps using
2576 find_function_ulps.
2577 (print_complex_max_error): Determine allowed ulps using
2578 find_complex_function_ulps.
2579 (check_float_internal): Determine max ulps using find_test_ulps.
2580 (check_float): Do not take max_ulp parameter. Update call to
2581 check_float_internal.
2582 (check_complex): Likewise.
2583 (check_int): Do not take max_ulp parameter.
2584 (check_long): Likewise.
2585 (check_bool): Likewise.
2586 (check_longlong): Likewise.
2587 (struct test_f_f_data): Remove max_ulp field.
2588 (struct test_ff_f_data): Likewise.
2589 (struct test_ff_f_data_nexttoward): Likewise.
2590 (struct test_fi_f_data): Likewise.
2591 (struct test_fl_f_data): Likewise.
2592 (struct test_if_f_data): Likewise.
2593 (struct test_fff_f_data): Likewise.
2594 (struct test_c_f_data): Likewise.
2595 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2596 (struct test_fF_f1_data): Likewise.
2597 (struct test_ffI_f1_data): Likewise.
2598 (struct test_c_c_data): Remove max_ulp field.
2599 (struct test_cc_c_data): Likewise.
2600 (struct test_f_i_data): Likewise.
2601 (struct test_ff_i_data): Likewise.
2602 (struct test_f_l_data): Likewise.
2603 (struct test_f_L_data): Likewise.
2604 (struct test_sincos_data): Likewise.
2605 (RUN_TEST_f_f): Do not handle ulps.
2606 (RUN_TEST_LOOP_f_f): Likewise.
2607 (RUN_TEST_2_f): Likewise.
2608 (RUN_TEST_LOOP_2_f): Likewise.
2609 (RUN_TEST_fff_f): Likewise.
2610 (RUN_TEST_LOOP_fff_f): Likewise.
2611 (RUN_TEST_c_f): Likewise.
2612 (RUN_TEST_LOOP_c_f): Likewise.
2613 (RUN_TEST_f_f1): Likewise.
2614 (RUN_TEST_LOOP_f_f1): Likewise.
2615 (RUN_TEST_fF_f1): Likewise.
2616 (RUN_TEST_LOOP_fF_f1): Likewise.
2617 (RUN_TEST_fI_f1): Likewise.
2618 (RUN_TEST_LOOP_fI_f1): Likewise.
2619 (RUN_TEST_ffI_f1): Likewise.
2620 (RUN_TEST_LOOP_ffI_f1): Likewise.
2621 (RUN_TEST_c_c): Likewise.
2622 (RUN_TEST_LOOP_c_c): Likewise.
2623 (RUN_TEST_cc_c): Likewise.
2624 (RUN_TEST_LOOP_cc_c): Likewise.
2625 (RUN_TEST_f_i): Likewise.
2626 (RUN_TEST_LOOP_f_i): Likewise.
2627 (RUN_TEST_f_i_tg): Likewise.
2628 (RUN_TEST_LOOP_f_i_tg): Likewise.
2629 (RUN_TEST_ff_i_tg): Likewise.
2630 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2631 (RUN_TEST_f_b): Likewise.
2632 (RUN_TEST_LOOP_f_b): Likewise.
2633 (RUN_TEST_f_b_tg): Likewise.
2634 (RUN_TEST_LOOP_f_b_tg): Likewise.
2635 (RUN_TEST_f_l): Likewise.
2636 (RUN_TEST_LOOP_f_l): Likewise.
2637 (RUN_TEST_f_L): Likewise.
2638 (RUN_TEST_LOOP_f_L): Likewise.
2639 (RUN_TEST_sincos): Likewise.
2640 (RUN_TEST_LOOP_sincos): Likewise.
2641
8269107f
JM
26422013-05-17 Joseph Myers <joseph@codesourcery.com>
2643
bb38759d
JM
2644 [BZ #15480]
2645 [BZ #15485]
2646 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2647 main case of finite arguments, set rounding mode to FE_TONEAREST
2648 and discard exceptions.
2649 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2650 exceptions.
2651 (remainder_tonearest_test_data): New variable.
2652 (remainder_test_tonearest): New function.
2653 (remainder_towardzero_test_data): New variable.
2654 (remainder_test_towardzero): New function.
2655 (remainder_downward_test_data): New variable.
2656 (remainder_test_downward): New function.
2657 (remainder_upward_test_data): New variable.
2658 (remainder_test_upward): New function.
2659 (main): Call the new test functions.
2660
a00bdcf0
JM
2661 * math/libm-test.inc (struct test_f_f1_data): Remove field
2662 extra_init.
2663 (struct test_fF_f1_data): Likewise.
2664 (struct test_ffI_f1_data): Likewise.
2665 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2666 based on value of EXTRA_EXPECTED.
2667 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2668 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2669 EXTRA_VAR based on value of EXTRA_EXPECTED.
2670 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2671 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2672 EXTRA_VAR based on value of EXTRA_EXPECTED.
2673 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2674 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2675 EXTRA_VAR based on value of EXTRA_EXPECTED.
2676 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2677 * math/gen-libm-test.pl (parse_args): Don't output initializers
2678 for extra output values.
2679
de407f79
JM
2680 * math/libm-test.inc (check_int): Expect result to be exactly
2681 equal to expected value and do not handle ulps.
2682 (check_long): Likewise.
2683 (check_longlong): Likewise.
2684
8269107f
JM
2685 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2686 exceptions.
2687 (cimag_test_data): Likewise.
2688 (conj_test_data): Likewise.
2689 (copysign_test_data): Likewise.
2690 (cproj_test_data): Likewise.
2691 (creal_test_data): Likewise.
2692 (fabs_test_data): Likewise.
2693 (fdim_test_data): Likewise.
2694 (finite_test_data): Likewise.
2695 (floor_test_data): Likewise.
2696 (fmax_test_data): Likewise.
2697 (fmin_test_data): Likewise.
2698 (fmod_test_data): Likewise.
2699 (fpclassify_test_data): Likewise.
2700 (frexp_test_data): Likewise.
2701 (ilogb_test_data): Likewise.
2702 (isfinite_test_data): Likewise.
2703 (isgreater_test_data): Likewise.
2704 (isgreaterequal_test_data): Likewise.
2705 (isinf_test_data): Likewise.
2706 (isless_test_data): Likewise.
2707 (islessequal_test_data): Likewise.
2708 (islessgreater_test_data): Likewise.
2709 (isnan_test_data): Likewise.
2710 (isnormal_test_data): Likewise.
2711 (issignaling_test_data): Likewise.
2712 (isunordered_test_data): Likewise.
2713 (ldexp_test_data): Likewise.
2714 (lrint_test_data): Likewise.
2715 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2716 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2717 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2718 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2719 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2720 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2721 test input.
2722 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2723 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2724 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2725 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2726 that test input.
2727 (lrint_downward_test_data): Test for "inexact" exceptions.
2728 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2729 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2730 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2731 test input.
2732 (lrint_upward_test_data): Test for "inexact" exceptions.
2733 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2734 test input.
2735 (llrint_test_data): Test for "inexact" exceptions.
2736 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2737 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2738 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2739 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2740 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2741 (llrint_downward_test_data): Test for "inexact" exceptions.
2742 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2743 (llrint_upward_test_data): Test for "inexact" exceptions.
2744 (logb_test_data): Likewise.
2745 (logb_downward_test_data): Likewise.
2746 (nextafter_test_data): Likewise.
2747 (nexttoward_test_data): Likewise.
2748 (remainder_test_data): Likewise.
2749 (remquo_test_data): Likewise.
2750 (scalbn_test_data): Likewise.
2751 (scalbln_test_data): Likewise.
2752 (signbit_test_data): Likewise.
2753 (sqrt_test_data): Likewise.
2754 (significand_test_data): Likewise.
2755
48a18de1
SP
27562013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2757
2758 [BZ #15424]
2759 * benchtests/bench-modf.c (struct args): Mark arg0 as
2760 volatile.
2761 * scripts/bench.pl: Mark members of struct args as volatile.
2762
13d3b41a
AZ
27632013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
68191c1d 2765 [BZ # 15497]
13d3b41a
AZ
2766 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2767 negative infinity on POWER6 or lower.
2768 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2769
2848b105
MR
27702013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2771
2772 [BZ #15442]
2773 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2774 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2775 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2776 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2777 (_FP_SETQNAN): New macro.
2778 (_FP_SETQNAN_SEMIRAW): Likewise.
2779 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2780 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2781 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2782 (FP_EXTEND): Use _FP_FRAC_SNANP.
2783 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2784 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2785 into account.
2786 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2787 New macro.
2788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2789 Likewise.
2790
323e5cb7
JM
27912013-05-16 Joseph Myers <joseph@codesourcery.com>
2792
c58b274f
JM
2793 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2794 with DIVIDE_BY_ZERO_EXCEPTION.
2795 (gamma_test_data): Likewise.
2796 (lgamma_test_data): Likewise.
2797 (log_test_data): Likewise.
2798 (log10_test_data): Likewise.
2799 (log2_test_data): Likewise.
2800 (tgamma_test_data): Likewise.
2801
0ab34904
JM
2802 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2803 (acos_test_tonearest): Likewise.
2804 (acos_test_towardzero): Likewise.
2805 (acos_test_downward): Likewise.
2806 (acos_test_upward): Likewise.
2807 (acosh_test): Likewise.
2808 (asin_test): Likewise.
2809 (asin_test_tonearest): Likewise.
2810 (asin_test_towardzero): Likewise.
2811 (asin_test_downward): Likewise.
2812 (asin_test_upward): Likewise.
2813 (asinh_test): Likewise.
2814 (atan_test): Likewise.
2815 (atanh_test): Likewise.
2816 (atan2_test): Likewise.
2817 (cabs_test): Likewise.
2818 (cacos_test): Likewise.
2819 (cacosh_test): Likewise.
2820 (casin_test): Likewise.
2821 (casinh_test): Likewise.
2822 (catan_test): Likewise.
2823 (catanh_test): Likewise.
2824 (cbrt_test): Likewise.
2825 (ccos_test): Likewise.
2826 (ccosh_test): Likewise.
2827 (cexp_test): Likewise.
2828 (clog_test): Likewise.
2829 (clog10_test): Likewise.
2830 (cos_test): Likewise.
2831 (cos_test_tonearest): Likewise.
2832 (cos_test_towardzero): Likewise.
2833 (cos_test_downward): Likewise.
2834 (cos_test_upward): Likewise.
2835 (cosh_test): Likewise.
2836 (cosh_test_tonearest): Likewise.
2837 (cosh_test_towardzero): Likewise.
2838 (cosh_test_downward): Likewise.
2839 (cosh_test_upward): Likewise.
2840 (cpow_test): Likewise.
2841 (csin_test): Likewise.
2842 (csinh_test): Likewise.
2843 (csqrt_test): Likewise.
2844 (ctan_test): Likewise.
2845 (ctan_test_tonearest): Likewise.
2846 (ctan_test_towardzero): Likewise.
2847 (ctan_test_downward): Likewise.
2848 (ctan_test_upward): Likewise.
2849 (ctanh_test): Likewise.
2850 (ctanh_test_tonearest): Likewise.
2851 (ctanh_test_towardzero): Likewise.
2852 (ctanh_test_downward): Likewise.
2853 (ctanh_test_upward): Likewise.
2854 (erf_test): Likewise.
2855 (erfc_test): Likewise.
2856 (exp_test): Likewise.
2857 (exp_test_tonearest): Likewise.
2858 (exp_test_towardzero): Likewise.
2859 (exp_test_downward): Likewise.
2860 (exp_test_upward): Likewise.
2861 (exp10_test): Likewise.
2862 (exp2_test): Likewise.
2863 (expm1_test): Likewise.
2864 (fmod_test): Likewise.
2865 (gamma_test): Likewise.
2866 (hypot_test): Likewise.
2867 (j0_test): Likewise.
2868 (j1_test): Likewise.
2869 (jn_test): Likewise.
2870 (lgamma_test): Likewise.
2871 (log_test): Likewise.
2872 (log10_test): Likewise.
2873 (log1p_test): Likewise.
2874 (log2_test): Likewise.
2875 (logb_test_downward): Likewise.
2876 (pow_test): Likewise.
2877 (pow_test_tonearest): Likewise.
2878 (pow_test_towardzero): Likewise.
2879 (pow_test_downward): Likewise.
2880 (pow_test_upward): Likewise.
2881 (remainder_test): Likewise.
2882 (remquo_test): Likewise.
2883 (sin_test): Likewise.
2884 (sin_test_tonearest): Likewise.
2885 (sin_test_towardzero): Likewise.
2886 (sin_test_downward): Likewise.
2887 (sin_test_upward): Likewise.
2888 (sincos_test): Likewise.
2889 (sinh_test): Likewise.
2890 (sinh_test_tonearest): Likewise.
2891 (sinh_test_towardzero): Likewise.
2892 (sinh_test_downward): Likewise.
2893 (sinh_test_upward): Likewise.
2894 (sqrt_test): Likewise.
2895 (tan_test): Likewise.
2896 (tan_test_tonearest): Likewise.
2897 (tan_test_towardzero): Likewise.
2898 (tan_test_downward): Likewise.
2899 (tan_test_upward): Likewise.
2900 (tanh_test): Likewise.
2901 (tgamma_test): Likewise.
2902 (y0_test): Likewise.
2903 (y1_test): Likewise.
2904 (yn_test): Likewise.
2905
323e5cb7
JM
2906 * math/gen-libm-test.pl (adjust_arg): Remove function.
2907 (special_function): Remove argument $in_func. Only handle
2908 generating output for tables of tests, not inside functions.
2909 (parse_args): Likewise.
2910 (generate_testfile): Remove variable $in_func. Update call to
2911 parse_args.
2912 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2913 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2914 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2915 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2916 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2917 (MAX_VALUE_INIT): Rename macro to max_value.
2918 (MIN_VALUE_INIT): Rename macro to min_value.
2919 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2920 (plus_zero): Remove variable.
2921 (minus_zero): Likewise.
2922 (plus_infty): Likewise.
2923 (minus_infty): Likewise.
2924 (qnan_value): Likewise.
2925 (max_value): Likewise.
2926 (min_value): Likewise.
2927 (min_subnorm_value): Likewise.
2928
e054f494
RA
29292013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2930
2931 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2932 uint64_t or uint32_t usage.
2933 * crypt/sha256-block.c: Likewise.
2934 * crypt/sha256-crypt.c: Likewise.
2935 * crypt/sha256.c: Likewise.
2936 * crypt/sha512-block.c: Likewise.
2937 * crypt/sha512-crypt.c: Likewise.
2938 * crypt/sha512.c: Likewise.
2939 * debug/backtrace-tst.c: Likewise.
2940 * debug/pcprofiledump.c: Likewise.
2941 * elf/cache.c: Likewise.
2942 * elf/dl-cache.c: Likewise.
2943 * elf/dl-misc.c: Likewise.
2944 * elf/dl-profile.c: Likewise.
2945 * elf/dl-support.c: Likewise.
2946 * elf/ldconfig.c: Likewise.
2947 * elf/sprof.c: Likewise.
2948 * iconv/dummy-repertoire.c: Likewise.
2949 * iconv/iconv_charmap.c: Likewise.
2950 * iconv/skeleton.c: Likewise.
2951 * iconvdata/8bit-generic.c: Likewise.
2952 * iconvdata/cp737.h: Likewise.
2953 * iconvdata/cp775.h: Likewise.
2954 * iconvdata/ibm1008.h: Likewise.
2955 * iconvdata/ibm1025.h: Likewise.
2956 * iconvdata/ibm1046.h: Likewise.
2957 * iconvdata/ibm1097.h: Likewise.
2958 * iconvdata/ibm1112.h: Likewise.
2959 * iconvdata/ibm1122.h: Likewise.
2960 * iconvdata/ibm1123.h: Likewise.
2961 * iconvdata/ibm1124.h: Likewise.
2962 * iconvdata/ibm1129.h: Likewise.
2963 * iconvdata/ibm1130.h: Likewise.
2964 * iconvdata/ibm1132.h: Likewise.
2965 * iconvdata/ibm1133.h: Likewise.
2966 * iconvdata/ibm1137.h: Likewise.
2967 * iconvdata/ibm1140.h: Likewise.
2968 * iconvdata/ibm1141.h: Likewise.
2969 * iconvdata/ibm1142.h: Likewise.
2970 * iconvdata/ibm1143.h: Likewise.
2971 * iconvdata/ibm1144.h: Likewise.
2972 * iconvdata/ibm1145.h: Likewise.
2973 * iconvdata/ibm1146.h: Likewise.
2974 * iconvdata/ibm1147.h: Likewise.
2975 * iconvdata/ibm1148.h: Likewise.
2976 * iconvdata/ibm1149.h: Likewise.
2977 * iconvdata/ibm1153.h: Likewise.
2978 * iconvdata/ibm1154.h: Likewise.
2979 * iconvdata/ibm1155.h: Likewise.
2980 * iconvdata/ibm1156.h: Likewise.
2981 * iconvdata/ibm1157.h: Likewise.
2982 * iconvdata/ibm1158.h: Likewise.
2983 * iconvdata/ibm1160.h: Likewise.
2984 * iconvdata/ibm1161.h: Likewise.
2985 * iconvdata/ibm1162.h: Likewise.
2986 * iconvdata/ibm1163.h: Likewise.
2987 * iconvdata/ibm1164.h: Likewise.
2988 * iconvdata/ibm1166.h: Likewise.
2989 * iconvdata/ibm1167.h: Likewise.
2990 * iconvdata/ibm12712.h: Likewise.
2991 * iconvdata/ibm1390.h: Likewise.
2992 * iconvdata/ibm1399.h: Likewise.
2993 * iconvdata/ibm16804.h: Likewise.
2994 * iconvdata/ibm4517.h: Likewise.
2995 * iconvdata/ibm4899.h: Likewise.
2996 * iconvdata/ibm4909.h: Likewise.
2997 * iconvdata/ibm4971.h: Likewise.
2998 * iconvdata/ibm5347.h: Likewise.
2999 * iconvdata/ibm803.h: Likewise.
3000 * iconvdata/ibm856.h: Likewise.
3001 * iconvdata/ibm901.h: Likewise.
3002 * iconvdata/ibm902.h: Likewise.
3003 * iconvdata/ibm9030.h: Likewise.
3004 * iconvdata/ibm9066.h: Likewise.
3005 * iconvdata/ibm921.h: Likewise.
3006 * iconvdata/ibm922.h: Likewise.
3007 * iconvdata/ibm9448.h: Likewise.
3008 * iconvdata/isiri-3342.h: Likewise.
3009 * iconvdata/jis0201.h: Likewise.
3010 * include/link.h: Likewise.
3011 * include/netdb.h: Likewise.
3012 * inet/check_native.c: Likewise.
3013 * inet/check_pf.c: Likewise.
3014 * inet/getipv4sourcefilter.c: Likewise.
3015 * inet/getnameinfo.c: Likewise.
3016 * inet/getsourcefilter.c: Likewise.
3017 * inet/htonl.c: Likewise.
3018 * inet/setipv4sourcefilter.c: Likewise.
3019 * inet/setsourcefilter.c: Likewise.
3020 * inet/test-inet6_opt.c: Likewise.
3021 * inet/tst-network.c: Likewise.
3022 * locale/C-collate.c: Likewise.
3023 * locale/C-ctype.c: Likewise.
3024 * locale/C-time.c: Likewise.
3025 * locale/C-translit.h: Likewise.
3026 * locale/loadarchive.c: Likewise.
3027 * locale/programs/3level.h: Likewise.
3028 * locale/programs/charmap.c: Likewise.
3029 * locale/programs/charmap.h: Likewise.
3030 * locale/programs/ld-address.c: Likewise.
3031 * locale/programs/ld-collate.c: Likewise.
3032 * locale/programs/ld-ctype.c: Likewise.
3033 * locale/programs/ld-identification.c: Likewise.
3034 * locale/programs/ld-measurement.c: Likewise.
3035 * locale/programs/ld-messages.c: Likewise.
3036 * locale/programs/ld-monetary.c: Likewise.
3037 * locale/programs/ld-name.c: Likewise.
3038 * locale/programs/ld-numeric.c: Likewise.
3039 * locale/programs/ld-paper.c: Likewise.
3040 * locale/programs/ld-telephone.c: Likewise.
3041 * locale/programs/ld-time.c: Likewise.
3042 * locale/programs/linereader.c: Likewise.
3043 * locale/programs/locale.c: Likewise.
3044 * locale/programs/locarchive.c: Likewise.
3045 * locale/programs/locfile.h: Likewise.
3046 * locale/programs/repertoire.c: Likewise.
3047 * locale/programs/simple-hash.c: Likewise.
3048 * locale/programs/simple-hash.h: Likewise.
3049 * malloc/memusage.c: Likewise.
3050 * malloc/memusagestat.c: Likewise.
3051 * nis/nis_defaults.c: Likewise.
3052 * nis/nis_hash.c: Likewise.
3053 * nis/nis_print.c: Likewise.
3054 * nis/nis_xdr.c: Likewise.
3055 * nscd/connections.c: Likewise.
3056 * nscd/hstcache.c: Likewise.
3057 * nscd/nscd_gethst_r.c: Likewise.
3058 * nscd/nscd_getserv_r.c: Likewise.
3059 * nscd/nscd_helper.c: Likewise.
3060 * nscd/servicescache.c: Likewise.
3061 * nss/makedb.c: Likewise.
3062 * nss/nss_db/db-XXX.c: Likewise.
3063 * nss/nss_db/db-initgroups.c: Likewise.
3064 * nss/nss_db/db-netgrp.c: Likewise.
3065 * nss/nss_files/files-network.c: Likewise.
3066 * nss/nss_files/files-parse.c: Likewise.
3067 * posix/bug-regex5.c: Likewise.
3068 * posix/fnmatch_loop.c: Likewise.
3069 * posix/regcomp.c: Likewise.
3070 * posix/regexec.c: Likewise.
3071 * posix/tst-rfc3484-2.c: Likewise.
3072 * posix/tst-rfc3484-3.c: Likewise.
3073 * posix/tst-rfc3484.c: Likewise.
3074 * resolv/nss_dns/dns-canon.c: Likewise.
3075 * resolv/nss_dns/dns-network.c: Likewise.
3076 * resolv/res_init.c: Likewise.
3077 * resolv/res_mkquery.c: Likewise.
3078 * resolv/tst-aton.c: Likewise.
3079 * stdlib/cxa_atexit.c: Likewise.
3080 * stdlib/cxa_finalize.c: Likewise.
3081 * stdlib/gen-fpioconst.c: Likewise.
3082 * stdlib/strtol_l.c: Likewise.
3083 * string/tst-endian.c: Likewise.
3084 * sunrpc/auth_des.c: Likewise.
3085 * sunrpc/clnt_udp.c: Likewise.
3086 * sunrpc/rtime.c: Likewise.
3087 * sunrpc/svcauth_des.c: Likewise.
3088 * sunrpc/xdr.c: Likewise.
3089 * sunrpc/xdr_intXX_t.c: Likewise.
3090 * sunrpc/xdr_rec.c: Likewise.
3091 * sysdeps/generic/ldconfig.h: Likewise.
3092 * sysdeps/generic/ldsodefs.h: Likewise.
3093 * sysdeps/generic/memusage.h: Likewise.
3094 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3096 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3101 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3102 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3104 * sysdeps/posix/getaddrinfo.c: Likewise.
3105 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3106 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3107 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3109 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3110 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3111 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3112 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3113 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3115 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3116 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3117 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3118 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3119 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3120 * sysdeps/x86_64/dl-tls.h: Likewise.
3121 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3122 * time/alt_digit.c: Likewise.
3123 * time/era.c: Likewise.
3124 * wcsmbs/tst-c16c32-1.c: Likewise.
3125
8c75f674
JM
31262013-05-16 Joseph Myers <joseph@codesourcery.com>
3127
3128 * math/libm-test.inc (struct test_sincos_data): New type.
3129 (RUN_TEST_LOOP_sincos): New macro.
3130 (sincos_test_data): New variable.
3131 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3132
e6e49e59
RH
31332013-05-16 Richard Henderson <rth@redhat.com>
3134
3135 * math/atest-exp2.c (LIMB64): New macro.
3136 (CONSTSZ): New macro.
3137 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3138 (hexdig): Move ...
3139 (print_mpn_fp): ... to function scope.
3140 (read_mpn_hex): Remove.
3141 (get_log2): Remove.
3142 (exp2_mpn): Use mp_log2.
3143 (main): Use mp_exp1.
3144
15c7c18d
JM
31452013-05-16 Joseph Myers <joseph@codesourcery.com>
3146
105a07df
JM
3147 * math/libm-test.inc: Remove comment about not testing "inexact"
3148 exceptions.
3149 (INEXACT_EXCEPTION): New macro.
3150 (NO_INEXACT_EXCEPTION): Likewise.
3151 (INVALID_EXCEPTION_OK): Update value.
3152 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3153 (OVERFLOW_EXCEPTION_OK): Likewise.
3154 (UNDERFLOW_EXCEPTION_OK): Likewise.
3155 (IGNORE_ZERO_INF_SIGN): Likewise.
3156 (ERRNO_UNCHANGED): Likewise.
3157 (ERRNO_EDOM): Likewise.
3158 (ERRNO_ERANGE): Likewise.
3159 (test_exceptions): Handle testing "inexact" exceptions.
3160 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3161 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3162 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3163 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3164 INEXACT_EXCEPTION.
3165 (rint_towardzero_test_data): Likewise.
3166 (rint_downward_test_data): Likewise.
3167 (rint_upward_test_data): Likewise.
3168
e9eee333
JM
3169 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3170 with OVERFLOW_EXCEPTION.
3171 (exp10_test_data): Likewise.
3172 (exp2_test_data): Likewise.
3173 (expm1_test_data): Likewise.
3174 (lgamma_test_data): Likewise.
3175 (pow_test_data): Likewise.
3176 (tgamma_test_data): Likewise.
3177 (yn_test_data): Remove duplicate test of overflow.
3178
1c38ff73
JM
3179 * math/libm-test.inc (struct test_cc_c_data): New type.
3180 (RUN_TEST_LOOP_cc_c): New macro.
3181 (cpow_test_data): New variable.
3182 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3183
15c7c18d
JM
3184 * math/libm-test.inc (struct test_f_L_data): New type.
3185 (RUN_TEST_LOOP_f_L): New macro.
3186 (llrint_test_data): New variable.
3187 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3188 (llrint_tonearest_test_data): New variable.
3189 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3190 (llrint_towardzero_test_data): New variable.
3191 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3192 (llrint_downward_test_data): New variable.
3193 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3194 (llrint_upward_test_data): New variable.
3195 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3196 (llround_test_data): New variable.
3197 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3198
f137ff13
PC
31992013-05-13 Peter Collingbourne <pcc@google.com>
3200
3201 * math/atest-exp2.c (get_log2): Remove const attribute.
3202
3608cb24
JM
32032013-05-15 Joseph Myers <joseph@codesourcery.com>
3204
3205 * math/libm-test.inc (struct test_f_l_data): New type.
3206 (RUN_TEST_LOOP_f_l): New macro.
3207 (lrint_test_data): New variable.
3208 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3209 (lrint_tonearest_test_data): New variable.
3210 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3211 (lrint_towardzero_test_data): New variable.
3212 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3213 (lrint_downward_test_data): New variable.
3214 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3215 (lrint_upward_test_data): New variable.
3216 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3217 (lround_test_data): New variable.
3218 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3219
39b1f617
PC
32202013-05-15 Peter Collingbourne <pcc@google.com>
3221
1deff3dc
PC
3222 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3223 (EXTRACT_WORDS64) Use where appropriate.
3224 (INSERT_WORDS64) Likewise.
3225
791f3ba0
PC
3226 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3227 constraints with x constraints.
3228 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3229
39b1f617
PC
3230 * malloc/obstack.c (_obstack_compat): Add initializer.
3231
12fba011
EM
32322013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3233
3234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3235 si_trapno and add si_addr_lsb to _sifields.sigfault.
3236 (si_trapno): Remove macro.
3237 (si_addr_lsb): Define new macro.
3238 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3239
d369f531
JM
32402013-05-15 Joseph Myers <joseph@codesourcery.com>
3241
b861c6c4
JM
3242 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3243 instead of TEST_f_l.
3244 (llrint_test_tonearest): Likewise.
3245 (llrint_test_towardzero): Likewise.
3246 (llrint_test_downward): Likewise.
3247 (llrint_test_upward): Likewise.
3248 (llround_test): Likewise.
3249
7abeee12
JM
3250 * math/libm-test.inc (struct test_f_i_data): Add comment.
3251 (RUN_TEST_LOOP_f_b): New macro.
3252 (RUN_TEST_LOOP_f_b_tg): Likewise.
3253 (finite_test_data): New variable.
3254 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3255 (isfinite_test_data): New variable.
3256 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3257 (isinf_test_data): New variable.
3258 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3259 (isnan_test_data): New variable.
3260 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3261 (isnormal_test_data): New variable.
3262 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3263 (issignaling_test_data): New variable.
3264 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3265 (signbit_test_data): New variable.
3266 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3267
cbe8c4d3
JM
3268 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3269 with INVALID_EXCEPTION.
3270 (acosh_test_data): Likewise.
3271 (asin_test_data): Likewise.
3272 (atanh_test_data): Likewise.
3273 (fmod_test_data): Likewise.
3274 (log_test_data): Likewise.
3275 (log10_test_data): Likewise.
3276 (log2_test_data): Likewise.
3277 (pow_test_data): Likewise.
3278 (sqrt_test_data): Likewise.
3279 (y0_test_data): Likewise.
3280 (y1_test_data): Likewise.
3281 (yn_test_data): Likewise.
3282
5575c0e5
JM
3283 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3284 function contents.
3285
d369f531
JM
3286 * math/libm-test.inc (struct test_ff_i_data): New type.
3287 (RUN_TEST_LOOP_ff_i_tg): New macro.
3288 (isgreater_test_data): New variable.
3289 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3290 (isgreaterequal_test_data): New variable.
3291 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3292 (isless_test_data): New variable.
3293 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3294 (islessequal_test_data): New variable.
3295 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3296 (islessgreater_test_data): New variable.
3297 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3298 (isunordered_test_data): New variable.
3299 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3300
781fd748
DM
33012013-05-14 David S. Miller <davem@davemloft.net>
3302
3303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3304
87aa21df
JM
33052013-05-14 Joseph Myers <joseph@codesourcery.com>
3306
5e908270
JM
3307 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3308
f71172e5
JM
3309 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3310 extra_test to int.
3311 (struct test_f_i_data): Change type of max_ulp to int.
3312
8cfa635a
JM
3313 * math/libm-test.inc (test_ffI_f1_data): New type.
3314 (RUN_TEST_LOOP_ffI_f1): New macro.
3315 (remquo_test_data): New variable.
3316 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3317
2bcb36b2
JM
3318 * setjmp/tst-setjmp-fp.c: New file.
3319 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3320 (link-libm): New variable.
3321 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3322
acbd839a
JM
3323 * math/libm-test.inc (struct test_f_i_data): New type.
3324 (RUN_TEST_LOOP_f_i): New macro.
3325 (RUN_TEST_LOOP_f_i_tg): Likewise.
3326 (fpclassify_test_data): New variable.
3327 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3328 (ilogb_test_data): New variable.
3329 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3330
e414d745
JM
3331 * math/libm-test.inc (scalbln_test): Correct function name in END
3332 call.
3333
d9c2a0fd
JM
3334 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3335 (RUN_TEST_LOOP_fI_f1): New macro.
3336 (frexp_test_data): New variable.
3337 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3338
9dc9095d
JM
3339 * math/libm-test.inc (struct test_fF_f1_data): New type.
3340 (RUN_TEST_LOOP_fF_f1): New macro.
3341 (modf_test_data): New variable.
3342 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3343
87aa21df
JM
3344 * math/libm-test.inc (struct test_f_f1_data): New type.
3345 (RUN_TEST_LOOP_f_f1): New macro.
3346 (gamma_test_data): New variable.
3347 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3348 (lgamma_test_data): New variable.
3349 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3350
141af660
CD
33512013-05-13 Carlos O'Donell <carlos@redhat.com>
3352
3353 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3354 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3355 (main): Comment "tls" pseudo-hwcap.
3356
6d33265c
JM
33572013-05-13 Joseph Myers <joseph@codesourcery.com>
3358
68fc074c
JM
3359 * math/libm-test.inc (struct test_fl_f_data): New type.
3360 (RUN_TEST_LOOP_fl_f): New variable.
3361 (scalbln_test_data): New variable.
3362 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3363
243216e1
JM
3364 * math/libm-test.inc (struct test_fi_f_data): New type.
3365 (RUN_TEST_LOOP_fi_f): New macro.
3366 (ldexp_test_data): New variable.
3367 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3368 (scalbn_test_data): New variable.
3369 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3370
6a1992e2
JM
3371 * math/libm-test.inc (struct test_c_f_data): New type.
3372 (RUN_TEST_LOOP_c_f): New macro.
3373 (cabs_test_data): New variable.
3374 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3375 (carg_test_data): New variable.
3376 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3377 (cimag_test_data): New variable.
3378 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3379 (creal_test_data): New variable.
3380 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3381
0e400df5
JM
3382 * math/libm-test.inc (struct test_if_f_data): New type.
3383 (RUN_TEST_LOOP_if_f): New macro.
3384 (jn_test_data): New variable.
3385 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3386 (yn_test_data): New variable.
3387 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3388
6d33265c
JM
3389 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3390
f98ece5f
AZ
33912013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3392
3393 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3394 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3395
0f7d347b
SP
33962013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3397
43fe811b
SP
3398 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3399 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3400 (bench-deps): Add bench-timing.h.
3401 * benchtests-bench-skeleton.c: Include bench-timing.h.
3402 (main): Use TIMING_* macros instead of clock_gettime.
3403 * benchtests/bench-timing.h: New file.
3404
0f7d347b
SP
3405 [BZ #14582]
3406 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3407 Renamed from _LIB_VERSION.
3408 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3409
601a3a5f
JM
34102013-05-12 Joseph Myers <joseph@codesourcery.com>
3411
4f184d30
JM
3412 * math/libm-test.inc (struct test_fff_f_data): New type.
3413 (RUN_TEST_LOOP_fff_f): New macro.
3414 (fma_test_data): New variable.
3415 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3416 (fma_towardzero_test_data): New variable.
3417 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3418 (fma_downward_test_data): New variable.
3419 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3420 (fma_upward_test_data): New variable.
3421 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3422
08198877
JM
3423 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3424 (struct test_c_c_data): New type.
3425 (RUN_TEST_LOOP_c_c): New macro.
3426 (cacos_test_data): New variable.
3427 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3428 (cacosh_test_data): New variable.
3429 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3430 (casin_test_data): New variable.
3431 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3432 (casinh_test_data): New variable.
3433 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3434 (catan_test_data): New variable.
3435 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3436 (catanh_test_data): New variable.
3437 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3438 (ccos_test_data): New variable.
3439 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3440 (ccosh_test_data): New variable.
3441 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3442 (cexp_test_data): New variable.
3443 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3444 (clog_test_data): New variable.
3445 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3446 (clog10_test_data): New variable.
3447 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3448 (conj_test_data): New variable.
3449 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3450 (cproj_test_data): New variable.
3451 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3452 (csin_test_data): New variable.
3453 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3454 (csinh_test_data): New variable.
3455 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3456 (csqrt_test_data): New variable.
3457 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3458 (ctan_test_data): New variable.
3459 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3460 (ctan_tonearest_test_data): New variable.
3461 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3462 (ctan_towardzero_test_data): New variable.
3463 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3464 (ctan_downward_test_data): New variable.
3465 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3466 (ctan_upward_test_data): New variable.
3467 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3468 (ctanh_test_data): New variable.
3469 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3470 (ctanh_tonearest_test_data): New variable.
3471 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3472 (ctanh_towardzero_test_data): New variable.
3473 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3474 (ctanh_downward_test_data): New variable.
3475 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3476 (ctanh_upward_test_data): New variable.
3477 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3478 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3479 of BUILD_COMPLEX.
3480
601a3a5f
JM
3481 * math/libm-test.inc (struct test_ff_f_data): New type.
3482 (struct test_ff_f_data_nexttoward): Likewise.
3483 (RUN_TEST_LOOP_2_f): New macro.
3484 (RUN_TEST_LOOP_ff_f): Likewise.
3485 (atan2_test_data): New variable.
3486 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3487 (copysign_test_data): New variable.
3488 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3489 (fdim_test_data): New variable.
3490 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3491 (fmax_test_data): New variable.
3492 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3493 (fmin_test_data): New variable.
3494 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3495 (fmod_test_data): New variable.
3496 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3497 (hypot_test_data): New variable.
3498 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3499 (nextafter_test_data): New variable.
3500 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3501 (nexttoward_test_data): New variable.
3502 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3503 (pow_test_data): New variable.
3504 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3505 (pow_tonearest_test_data): New variable.
3506 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3507 (pow_towardzero_test_data): New variable.
3508 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3509 (pow_downward_test_data): New variable.
3510 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3511 (pow_upward_test_data): New variable.
3512 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3513 (remainder_test_data): New variable.
3514 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3515 (scalb_test_data): New variable.
3516 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3517 * sysdeps/i386/fpu/libm-test-ulps: Update.
3518
74c57478
JM
35192013-05-11 Joseph Myers <joseph@codesourcery.com>
3520
8329e4da
JM
3521 * math/libm-test.inc (fma_test): Use max_value instead of local
3522 variable fltmax.
3523 (nextafter_test): Likewise.
3524
74c57478
JM
3525 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3526 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3527 (acos_downward_test_data): New variable.
3528 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3529 (acos_upward_test_data): New variable.
3530 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3531 (acosh_test_data): New variable.
3532 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3533 (asin_test_data): New variable.
3534 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3535 (asin_tonearest_test_data): New variable.
3536 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3537 (asin_towardzero_test_data): New variable.
3538 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3539 (asin_downward_test_data): New variable.
3540 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3541 (asin_upward_test_data): New variable.
3542 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3543 (asinh_test_data): New variable.
3544 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3545 (atan_test_data): New variable.
3546 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3547 (atanh_test_data): New variable.
3548 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3549 (cbrt_test_data): New variable.
3550 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3551 (ceil_test_data): New variable.
3552 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3553 (cos_test_data): New variable.
3554 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3555 (cos_tonearest_test_data): New variable.
3556 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3557 (cos_towardzero_test_data): New variable.
3558 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3559 (cos_downward_test_data): New variable.
3560 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3561 (cos_upward_test_data): New variable.
3562 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3563 (cosh_test_data): New variable.
3564 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3565 (cosh_tonearest_test_data): New variable.
3566 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3567 (cosh_towardzero_test_data): New variable.
3568 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3569 (cosh_downward_test_data): New variable.
3570 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3571 (cosh_upward_test_data): New variable.
3572 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3573 (erf_test_data): New variable.
3574 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3575 (erfc_test_data): New variable.
3576 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3577 (exp_test_data): New variable.
3578 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3579 (exp_tonearest_test_data): New variable.
3580 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3581 (exp_towardzero_test_data): New variable.
3582 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3583 (exp_downward_test_data): New variable.
3584 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3585 (exp_upward_test_data): New variable.
3586 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3587 (exp10_test_data): New variable.
3588 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3589 (exp2_test_data): New variable.
3590 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3591 (expm1_test_data): New variable.
3592 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3593 (fabs_test_data): New variable.
3594 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3595 (floor_test_data): New variable.
3596 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3597 (j0_test_data): New variable.
3598 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3599 (j1_test_data): New variable.
3600 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3601 (log_test_data): New variable.
3602 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3603 (log10_test_data): New variable.
3604 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3605 (log1p_test_data): New variable.
3606 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3607 (log2_test_data): New variable.
3608 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3609 (logb_test_data): New variable.
3610 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3611 (logb_downward_test_data): New variable.
3612 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3613 (nearbyint_test_data): New variable.
3614 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3615 (rint_test_data): New variable.
3616 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3617 (rint_tonearest_test_data): New variable.
3618 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3619 (rint_towardzero_test_data): New variable.
3620 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3621 (rint_downward_test_data): New variable.
3622 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3623 (rint_upward_test_data): New variable.
3624 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3625 (round_test_data): New variable.
3626 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3627 (sin_test_data): New variable.
3628 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3629 (sin_tonearest_test_data): New variable.
3630 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3631 (sin_towardzero_test_data): New variable.
3632 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3633 (sin_downward_test_data): New variable.
3634 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3635 (sin_upward_test_data): New variable.
3636 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3637 (sinh_test_data): New variable.
3638 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3639 (sinh_tonearest_test_data): New variable.
3640 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3641 (sinh_towardzero_test_data): New variable.
3642 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3643 (sinh_downward_test_data): New variable.
3644 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3645 (sinh_upward_test_data): New variable.
3646 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3647 (sqrt_test_data): New variable.
3648 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3649 (tan_test_data): New variable.
3650 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3651 (tan_tonearest_test_data): New variable.
3652 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3653 (tan_towardzero_test_data): New variable.
3654 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3655 (tan_downward_test_data): New variable.
3656 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3657 (tan_upward_test_data): New variable.
3658 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3659 (tanh_test_data): New variable.
3660 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3661 (tgamma_test_data): New variable.
3662 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3663 (trunc_test_data): New variable.
3664 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3665 (y0_test_data): New variable.
3666 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3667 (y1_test_data): New variable.
3668 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3669 (significand_test_data): New variable.
3670 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3671
7187d844
CG
36722013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3673
3674 [BZ #12387]
3675 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3676
f63fae73
PT
36772013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3678
3679 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3680
8a67a4b3
AJ
36812013-05-10 Andreas Jaeger <aj@suse.de>
3682
3683 [BZ #15448]
3684 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3685 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3686
51df539d
JM
36872013-05-10 Joseph Myers <joseph@codesourcery.com>
3688
3689 * math/gen-libm-test.pl (adjust_arg): New function.
3690 (special_functions): Handle generating output in both functions
3691 and arrays.
3692 (parse_args): Likewise.
3693 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3694 $in_func argument to parse_args.
3695 * math/libm-test.inc (struct test_f_f_data): New type.
3696 (IF_ROUND_INIT_): New macro.
3697 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3698 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3699 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3700 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3701 (ROUND_RESTORE_): Likewise.
3702 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3703 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3704 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3705 (ROUND_RESTORE_FE_UPWARD): Likewise.
3706 (RUN_TEST_LOOP_f_f): New macro.
3707 (acos_test_data): New variable.
3708 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3709 (acos_tonearest_test_data): New variable.
3710 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3711
5c637fe5
SP
37122013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 * benchtests/bench-skeleton.c (startup): Fix coding style.
3715
ab2b9461
JM
37162013-05-10 Joseph Myers <joseph@codesourcery.com>
3717
3718 [BZ #6809]
3719 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3720 negative infinity argument.
3721 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3722 negative infinity argument.
3723 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3724 negative infinity argument.
3725 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3726 domain errors.
3727
4c0fe6fe
FW
37282013-05-10 Florian Weimer <fweimer@redhat.com>
3729
3730 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3731 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3732 * iconv/iconv_prog.c (main): Likewise.
3733 * locale/programs/charmap-dir.c (charmap_readdir)
3734 (fopen_uncompressed): Likewise.
3735 * locale/programs/locfile.c (siblings_uncached)
3736 (write_locale_data): Use lstat64 instead of lstat.
3737 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3738 stat.
3739
a3375d29
AJ
37402013-05-10 Andreas Jaeger <aj@suse.de>
3741
3742 [BZ #15395]
3743 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3744 localization.
3745 Include <locale.h>.
3746
36129722
CD
37472013-05-09 Carlos O'Donell <carlos@redhat.com>
3748
3749 * elf/dl-close.c (_dl_close_worker): Add comments.
3750
faa7f811
JM
37512013-05-09 Joseph Myers <joseph@codesourcery.com>
3752
ed41ffef
JM
3753 [BZ #15359]
3754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3755 high part of pi/2.
3756 (__ieee754_rem_pio2l): Update comments.
3757
d0213cd0
JM
3758 [BZ #15429]
3759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3760 high part of pi/2.
3761 (__ieee754_rem_pio2l): Update comments.
3762
0d3e777a
JM
3763 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3764 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3765
24f56066
JM
3766 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3767 M_PI_4l.
3768
faa7f811
JM
3769 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3770 (M_PI_34_LOG10El): Likewise.
3771 (M_PI2_LOG10El): Likewise.
3772 (M_PI4_LOG10El): Likewise.
3773 (M_PI_LOG10El): Likewise.
3774
e9a5e0fd
AZ
37752013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3776
3777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3778
d8cd06db
JM
37792013-05-08 Joseph Myers <joseph@codesourcery.com>
3780
a0d9f9d7
JM
3781 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3782 (MINUS_ZERO_INIT): Likewise.
3783 (PLUS_INFTY_INIT): Likewise.
3784 (MINUS_INFTY_INIT): Likewise.
3785 (QNAN_VALUE_INIT): Likewise.
3786 (MAX_VALUE_INIT): Likewise.
3787 (MIN_VALUE_INIT): Likewise.
3788 (MIN_SUBNORM_VALUE_INIT): Likewise.
3789 (plus_zero): Initialize with PLUS_ZERO_INIT.
3790 (minus_zero): Initialize with MINUS_ZERO_INIT.
3791 (plus_infty): Initialize with PLUS_INFTY_INIT.
3792 (minus_infty): Initialize with MINUS_INFTY_INIT.
3793 (qnan_value): Initialize with QNAN_VALUE_INIT.
3794 (max_value): Initialize with MAX_VALUE_INIT.
3795 (min_value): Initialize with MIN_VALUE_INIT.
3796 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3797
ae08db3b
JM
3798 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3799 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3800 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3801 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3802
f44bf14a
JM
3803 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3804 (RUN_TEST_2_f): Likewise.
3805 (RUN_TEST_ff_f): Likewise.
3806 (RUN_TEST_fi_f): Likewise.
3807 (RUN_TEST_fl_f): Likewise.
3808 (RUN_TEST_fff_f): Likewise.
3809 (RUN_TEST_c_f): Likewise.
3810 (RUN_TEST_f_f1): Likewise.
3811 (RUN_TEST_fF_f1): Likewise.
3812 (RUN_TEST_fI_f1): Likewise.
3813 (RUN_TEST_ffI_f1): Likewise.
3814 (RUN_TEST_c_c): Likewise.
3815 (RUN_TEST_cc_c): Likewise.
3816 (RUN_TEST_f_i): Likewise.
3817 (RUN_TEST_f_i_tg): Likewise.
3818 (RUN_TEST_ff_i_tg): Likewise.
3819 (RUN_TEST_f_b): Likewise.
3820 (RUN_TEST_f_b_tg): Likewise.
3821 (RUN_TEST_f_l): Likewise.
3822 (RUN_TEST_f_L): Likewise.
3823 (RUN_TEST_sincos): Likewise.
3824 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3825 whether to show exceptions. Do not include ");\n" in return
3826 value.
3827 (special_functions): Output call to RUN_TEST_sincos instead of
3828 check_float calls. Update calls to new_test.
3829 (parse_args): Output call to single RUN_TEST_* macro instead of
3830 check_* calls and other assignments. Update calls to new_test.
3831
d8cd06db
JM
3832 [BZ #2546]
3833 [BZ #2560]
3834 [BZ #5159]
3835 [BZ #15426]
3836 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3837 input to result for tgamma overflow.
3838 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3839 (gamma_coeff): New variable.
3840 (NCOEFF): New macro.
3841 (gamma_positive): New function.
3842 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3843 underflow here. Use gamma_positive instead of exp (lgamma) for
3844 other arguments.
3845 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3846 (gamma_coeff): New variable.
3847 (NCOEFF): New macro.
3848 (gammaf_positive): New function.
3849 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3850 underflow here. Use gamma_positive instead of exp (lgamma) for
3851 other arguments.
3852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3853 (gamma_coeff): New variable.
3854 (NCOEFF): New macro.
3855 (gammal_positive): New function.
3856 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3857 underflow here. Use gamma_positive instead of exp (lgamma) for
3858 other arguments.
3859 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3860 (gamma_coeff): New variable.
3861 (NCOEFF): New macro.
3862 (gammal_positive): New function.
3863 (__ieee754_gammal_r): Handle positive infinity, overflow and
3864 underflow here. Handle NaN the same as positive infinity. Remove
3865 check x < 0xffffffff for negative integers. Use gamma_positive
3866 instead of exp (lgamma) for other arguments.
3867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3868 (gamma_coeff): New variable.
3869 (NCOEFF): New macro.
3870 (gammal_positive): New function.
3871 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3872 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3876 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3877 * sysdeps/generic/math_private.h (__gamma_productf): New
3878 prototype.
3879 (__gamma_product): Likewise.
3880 (__gamma_productl): Likewise.
3881 * math/Makefile (libm-calls): Add gamma_product.
3882 * math/libm-test.inc (tgamma_test): Add more tests.
3883 * sysdeps/i386/fpu/libm-test-ulps: Update.
3884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3885
bb7cf681
OB
38862013-05-08 Ondřej Bílka <neleai@seznam.cz>
3887
3888 * benchtests/bench-skeleton.c (main): Preheat CPU.
3889
ba853947
AJ
38902013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3891
3892 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3893
8347c74c
RM
38942013-05-07 Roland McGrath <roland@hack.frob.com>
3895
3896 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3897 and _dl_skip_args_internal.
3898
e8dd4791
CD
38992013-05-07 Carlos O'Donell <carlos@redhat.com>
3900
3901 * manual/message.texi (Message Translation): Talk about users.
3902 Message to key mapping impacts design.
3903
c7405830
RM
39042013-05-06 Roland McGrath <roland@hack.frob.com>
3905
a9173057
RM
3906 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3907
976e2f03
RM
3908 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3909
9723ffc5
RM
3910 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3911 * sysdeps/wordsize-64/glob64.c: ... here.
3912
962e6658
RM
3913 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3914 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3915 New macros.
3916
ee586a6d
RM
3917 * debug/getlogin_r_chk.c: Moved to ...
3918 * login/getlogin_r_chk.c: ... here.
3919 * debug/Makefile (routines): Move getlogin_r_chk to ...
3920 * login/Makefile (routines): ... here.
3921 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3922 * login/Versions (libc: GLIBC_2.4): ... here.
3923
355f9165
RM
3924 * io/poll.c (__poll): Renamed from poll.
3925 Add libc_hidden_def.
3926 (poll): Define as weak alias.
3927
bd9ffde6
RM
3928 * debug/ptsname_r_chk.c: Moved to ...
3929 * login/ptsname_r_chk.c: ... here.
3930 * debug/Makefile (routines): Move ptsname_r_chk to ...
3931 * login/Makefile (routines): ... here.
3932 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3933 * login/Versions (libc: GLIBC_2.4): ... here.
3934
8fb16a04
RM
3935 * posix/getlogin.c: Moved to ...
3936 * login/getlogin.c: ... here.
3937 * posix/getlogin_r.c: Moved to ...
3938 * login/getlogin_r.c: ... here.
3939 * posix/getlogin_r.c: Moved to ...
3940 * login/getlogin_r.c: ... here.
3941 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3942 * login/Makefile (routines): ... here.
3943 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3944 * login/Versions (libc: GLIBC_2.0): ... here.
3945
b99b892f
RM
3946 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3947 (setrlimit): Define as weak alias.
3948
c7405830
RM
3949 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3950 Call __ names for open, ftruncate, and close.
3951 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3952 (truncate): Define as weak alias.
3953
5bf96de5
JM
39542013-05-06 Joseph Myers <joseph@codesourcery.com>
3955
9ea3513c
JM
3956 * math/gen-libm-test.pl (parse_args): Initialize x before each
3957 test of frexp, modf and remquo.
3958
5bf96de5
JM
3959 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3960 test signgam value.
3961
16e616a7
AZ
39622013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963
3964 [BZ #15418]
3965 [BZ #15419]
3966 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3967 internal tests.
3968 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3969
d5e82754
RM
39702013-05-06 Roland McGrath <roland@hack.frob.com>
3971
3972 * elf/dl-writev.h: New file.
3973 * elf/dl-misc.c: Include it.
3974 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3975 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3976
a7548d41
JM
39772013-05-04 Joseph Myers <joseph@codesourcery.com>
3978
b7dab1e4
JM
3979 * math/libm-test.inc (noXFails): Remove variable.
3980 (noXPasses): Likewise.
3981 (BUILD_COMPLEX_INT): Remove macro.
3982 (print_screen): Remove xfail argument.
3983 (print_screen_max_error): Likewise.
3984 (update_stats): Likewise.
3985 (print_max_error): Likewise. Update calls to other affected
3986 functions.
3987 (print_complex_max_error): Likewise.
3988 (test_single_exception): Update calls to print_screen.
3989 (test_single_errno): Likewise.
3990 (check_float_internal): Remove xfail argument. Update calls to
3991 other affected functions.
3992 (check_float): Likewise.
3993 (check_complex): Likewise.
3994 (check_int): Likewise.
3995 (check_long): Likewise.
3996 (check_bool): Likewise.
3997 (check_longlong): Likewise.
3998 (main): Don't print noXFails and noXPasses.
3999 * math/gen-libm-test.pl (top level): Don't mention expected
4000 failure handling in comment.
4001 (new_test): Don't handle expected failures.
4002 (parse_args): Don't mention expected failure handling in comment.
4003 (generate_testfile): Don't handle expected failures.
4004 (parse_ulps): Likewise.
4005 (print_ulps_file): Likewise.
4006 (get_failure): Remove function.
4007 (output_test): Don't handle expected failures.
4008 * make/README.libm-test: Don't mention expected failure handling.
4009
a7548d41
JM
4010 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4011 (minus_zero): Likewise.
4012 (plus_infty): Likewise.
4013 (minus_infty): Likewise.
4014 (qnan_value): Likewise.
4015 (max_value): Likewise.
4016 (min_value): Likewise.
4017 (min_subnorm_value): Likewise.
4018 (initialize): Do not initialize those variables dynamically.
4019
60bfd54c
RM
40202013-05-03 Roland McGrath <roland@hack.frob.com>
4021
cc0e6ed8
RM
4022 * io/open.c (__open_2): Moved to ...
4023 * io/open_2.c: ... this new file.
4024 * io/open64.c (__open64_2): Moved to ...
4025 * io/open64_2.c: ... this new file.
4026 * io/openat.c (__openat_2): Moved to ...
4027 * io/openat_2.c: ... this new file.
4028 * io/openat64.c (__openat64_2): Moved to ...
4029 * io/openat64_2.c: ... this new file.
4030 * io/Makefile (routines): Add them.
4031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4032 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4033 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4034 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4035 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4036 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4037 (__openat64): Add hidden_ver.
4038 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4039 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4040
60bfd54c
RM
4041 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4042 Separately conditionalize setting of GLRO(dl_sysinfo) so
4043 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4044 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4045
83e7640f
AZ
40462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4047
4048 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4049 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4050 definition.
4051 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4052 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4053 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4054 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4055 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4056
d5dc2af3
JM
40572013-05-03 Joseph Myers <joseph@codesourcery.com>
4058
c31a5b1e
JM
4059 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4060 test signgam value.
4061
d5dc2af3
JM
4062 * math/libm-test.inc (hypot_test): Do not use
4063 IGNORE_ZERO_INF_SIGN.
4064
164fd39d
AJ
40652013-05-03 Andreas Jaeger <aj@suse.de>
4066
4067 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4068 Linux 3.9.
4069 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4070 (PF_MAX): Adjust for VSOCK change.
4071
8237f48c
AZ
40722013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4073
4074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4075
9df02941
CD
40762013-05-02 Carlos O'Donell <carlos@redhat.com>
4077
4078 [BZ #15264]
4079 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4080 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4081 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4082
d422395e
DM
40832013-05-02 David S. Miller <davem@davemloft.net>
4084
4085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4086
a07c5731
OB
40872013-05-01 Ondřej Bílka <neleai@seznam.cz>
4088
4089 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4090
1324e37f
RM
40912013-05-01 Roland McGrath <roland@hack.frob.com>
4092
4093 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4094
0695940b
RS
40952013-05-01 Richard Smith <richard@metafoo.co.uk>
4096
bb5f27ad 4097 [BZ #14952]
0695940b
RS
4098 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4099 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4100 Use __attribute__ ((__gnu_inline__)).
4101 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4102 Don't use __attribute__ ((__gnu_inline__)).
4103
10de07f5
JM
41042013-05-01 Joseph Myers <joseph@codesourcery.com>
4105
4106 [BZ #15423]
4107 * math/s_catan.c (__catan): Handle small real or imaginary part of
4108 input specially to avoid spurious underflow.
4109 * math/s_catanf.c (__catanf): Likewise.
4110 * math/s_catanh.c (__catanh): Likewise.
4111 * math/s_catanhf.c (__catanhf): Likewise.
4112 * math/s_catanhl.c (__catanhl): Likewise.
4113 * math/s_catanl.c (__catanl): Likewise.
4114 * math/libm-test.inc (catan_test): Add more tests.
4115 (catanh_test): Likewise.
4116 * sysdeps/i386/fpu/libm-test-ulps: Update.
4117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4118
cb4d5414
AZ
41192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4120
4121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4122
caf84319
JM
41232013-04-30 Joseph Myers <joseph@codesourcery.com>
4124
4125 [BZ #15416]
4126 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4127 accurately for denominator in atan2.
4128 * math/s_catanf.c (__catanf): Likewise.
4129 * math/s_catanh.c (__catanh): Likewise.
4130 * math/s_catanhf.c (__catanhf): Likewise.
4131 * math/s_catanhl.c (__catanhl): Likewise.
4132 * math/s_catanl.c (__catanl): Likewise.
4133 * math/libm-test.inc (catan_test): Add more tests.
4134 (catanh_test): Likewise.
4135 * sysdeps/i386/fpu/libm-test-ulps: Update.
4136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4137
d569c6ee
SP
41382013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4139
6dbe713d
SP
4140 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4141
f0ee064b
SP
4142 * benchtests/Makefile (bench): Remove slow benchmarks.
4143 * benchtests/atan-inputs: Add slow benchmark inputs.
4144 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4145 (BENCH_FUNC): Accept variant offset.
4146 (VARIANT): Define.
4147 * benchtests/bench-skeleton.c (main): Run benchmark for each
4148 variant.
4149 * benchtests/cos-inputs: Add slow benchmark inputs.
4150 * benchtests/exp-inputs: Likewise.
4151 * benchtests/pow-inputs: Likewise.
4152 * benchtests/sin-inputs: Likewise.
4153 * benchtests/slowatan-inputs: Remove.
4154 * benchtests/slowatan.c: Remove.
4155 * benchtests/slowcos-inputs: Remove.
4156 * benchtests/slowcos.c: Remove.
4157 * benchtests/slowexp-inputs: Remove.
4158 * benchtests/slowexp.c: Remove.
4159 * benchtests/slowpow-inputs: Remove.
4160 * benchtests/slowpow.c: Remove.
4161 * benchtests/slowsin-inputs: Remove.
4162 * benchtests/slowsin.c: Remove.
4163 * benchtests/slowtan-inputs: Remove.
4164 * benchtests/slowtan.c: Remove.
4165 * benchtests/tan-inputs: Add slow benchmark inputs.
4166 * scripts/bench.pl: Parse comments and directives.
4167
d569c6ee
SP
4168 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4169 in CPPFLAGS.
4170 ($(objpfx)bench-%.c): Remove *-ITER.
4171 * benchtests/bench-modf.c: Remove definition of ITER.
4172 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4173 (main): Loop for DURATION seconds instead of fixed number of
4174 iterations.
4175 * scripts/bench.pl: Don't expect iterations in parameters.
4176
a6a242fe
RM
41772013-04-29 Roland McGrath <roland@hack.frob.com>
4178
4179 * io/fchdir.c (__fchdir): Renamed from fchdir.
4180 (fchdir): Define as weak alias.
4181
f2da7793
JM
41822013-04-29 Joseph Myers <joseph@codesourcery.com>
4183
4184 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4185 (ERRNO_EDOM): Likewise.
4186 (ERRNO_ERANGE): Likewise.
4187 (noErrnoTests): New variable.
4188 (init_max_error): Set errno to 0.
4189 (test_single_errno): New function.
4190 (test_errno): Likewise.
4191 (check_float_internal): Call test_errno. Set errno to 0.
4192 (check_complex): Refer to errno tests in comment.
4193 (check_int): Call test_errno. Set errno to 0.
4194 (check_long): Likewise.
4195 (check_bool): Likewise.
4196 (check_longlong): Likewise.
4197 (cos_test): Use ERRNO_* flags for errno tests instead of
4198 check_int.
4199 (expm1_test): Likewise.
4200 (fmod_test): Likewise.
4201 (ilogb_test): Likewise.
4202 (lgamma_test): Likewise.
4203 (pow_test): Likewise.
4204 (remainder_test): Likewise.
4205 (sin_test): Likewise.
4206 (tan_test): Likewise.
4207 (yn_test): Likewise.
4208 (initialize): Set errno to 0.
4209 (main): Print number of errno tests.
4210 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4211
b1a36ceb
AJ
42122013-04-29 Andreas Jaeger <aj@suse.de>
4213
c3ed8088
AJ
4214 [BZ #15084]
4215 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4216 and RES_USEVC.
4217
f1a24198
AJ
4218 [BZ #15085]
4219 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4220 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4221 unimplemented.
4222
9ce3b2cb
AJ
4223 [BZ #15380]
4224 * stdlib/random.c (__initstate): Return NULL if
4225 __initstate fails.
4226
f1a24198 4227 [BZ #15086]
b1a36ceb
AJ
4228 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4229 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4230 RES_SNGLKUPREOP.
4231
7e7b6f36
AZ
42322013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4233
4234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4235
4d14f449
JM
42362013-04-29 Joseph Myers <joseph@codesourcery.com>
4237
4238 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4239 of individual tests.
4240 (casin_test): Likewise.
4241 (casinh_test): Likewise.
4242
5b4217d7
JM
42432013-04-27 Joseph Myers <joseph@codesourcery.com>
4244
4245 [BZ #15409]
4246 * math/s_catan.c (__catan): Handle arguments with large real or
4247 imaginary part separately without squaring.
4248 * math/s_catanf.c (__catanf): Likewise.
4249 * math/s_catanh.c (__catanh): Likewise.
4250 * math/s_catanhf.c (__catanhf): Likewise.
4251 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4252 and redefine.
4253 (__catanhl): Handle arguments with large real or imaginary part
4254 separately without squaring.
4255 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4256 and redefine.
4257 (__catanl): Handle arguments with large real or imaginary part
4258 separately without squaring.
4259 * math/libm-test.inc (catan_test): Add more tests.
4260 (catanh_test): Likewise.
4261 * sysdeps/i386/fpu/libm-test-ulps: Update.
4262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4263
4220c3ef
AJ
42642013-04-27 Andreas Jaeger <aj@suse.de>
4265
4266 [BZ #15007]
4267 * stdlib/stdlib.h: Update guards for qecvt.
4268 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4269 <stdlib.h>.
4270
4721b2d1
AM
42712013-04-27 Allan McRae <allan@archlinux.org>
4272
4273 * sysdeps/i386/fpu/libm-test-ulps: Update.
4274
f0302940
JM
42752013-04-26 Joseph Myers <joseph@codesourcery.com>
4276
9457fd95
JM
4277 [BZ #15406]
4278 * math/s_catan.c: Include <float.h>.
4279 (__catan): Ensure underflow exception occurs for underflowed
4280 result.
4281 * math/s_catanf.c: Include <float.h>.
4282 (__catanf): Ensure underflow exception occurs for underflowed
4283 result.
4284 * math/s_catanh.c: Include <float.h>.
4285 (__catanh): Ensure underflow exception occurs for underflowed
4286 result.
4287 * math/s_catanhf.c: Include <float.h>.
4288 (__catanhf): Ensure underflow exception occurs for underflowed
4289 result.
4290 * math/s_catanhl.c: Include <float.h>.
4291 (__catanhl): Ensure underflow exception occurs for underflowed
4292 result.
4293 * math/s_catanl.c: Include <float.h>.
4294 (__catanl): Ensure underflow exception occurs for underflowed
4295 result.
4296 * math/libm-test.inc (catan_test): Add more tests.
4297 (catanh_test): Likewise.
4298
f0302940
JM
4299 [BZ #15405]
4300 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4301 underflowed result.
4302 * math/s_ccoshf.c (__ccoshf): Likewise.
4303 * math/s_ccoshl.c (__ccoshl): Likewise.
4304 * math/s_csin.c (__csin): Likewise.
4305 * math/s_csinf.c (__csinf): Likewise.
4306 * math/s_csinh.c (__csinh): Likewise.
4307 * math/s_csinhf.c (__csinhf): Likewise.
4308 * math/s_csinhl.c (__csinhl): Likewise.
4309 * math/s_csinl.c (__csinl): Likewise.
4310 * math/libm-test.inc (ccos_test): Add more tests.
4311 (ccosh_test): Likewise.
4312 (csin_test): Likewise.
4313 (csinh_test): Likewise.
4314
aa630f59
AZ
43152013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4316
4317 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4318 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4319 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4320 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4321 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4322 powerpc/power5+/fpu folders.
4323 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4324
4325
1b835983
MT
43262013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4327
4328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4329
73709b26
JM
43302013-04-25 Joseph Myers <joseph@codesourcery.com>
4331
4332 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4333 additions to variable.
4334 [$(config-machine) = x86_64] (modules-names): Likewise.
4335 ($(objpfx)tst-audit3): Remove dependency.
4336 ($(objpfx)tst-audit3.out): Likewise.
4337 ($(objpfx)tst-audit4): Likewise.
4338 ($(objpfx)tst-audit4.out): Likewise.
4339 ($(objpfx)tst-audit5): Likewise.
4340 ($(objpfx)tst-audit5.out): Likewise.
4341 ($(objpfx)tst-audit6): Likewise.
4342 ($(objpfx)tst-audit6.out): Likewise.
4343 ($(objpfx)tst-audit7): Likewise.
4344 ($(objpfx)tst-audit7.out): Likewise.
4345 (tst-audit3-ENV): Remove variable.
4346 (tst-audit4-ENV): Likewise.
4347 (tst-audit5-ENV): Likewise.
4348 (tst-audit6-ENV): Likewise.
4349 (tst-audit7-ENV): Likewise.
4350 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4351 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4352 addition to variable.
4353 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4355 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4356 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4357 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4358 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4359 tst-audit3, tst-audit4 and tst-audit5.
4360 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4361 tst-audit6 and tst-audit7.
4362 [$(subdir) = elf] (modules-names): Add audit modules for those
4363 tests.
4364 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4365 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4366 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4367 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4368 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4369 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4370 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4371 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4372 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4373 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4374 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4375 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4376 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4377 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4378 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4379 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4380 Likewise.
4381 [$(subdir) = elf && $(config-cflags-avx) = yes]
4382 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4383 [$(subdir) = elf && $(config-cflags-avx) = yes]
4384 (CFLAGS-tst-auditmod4a.c): Likewise.
4385 [$(subdir) = elf && $(config-cflags-avx) = yes]
4386 (CFLAGS-tst-auditmod4b.c): Likewise.
4387 [$(subdir) = elf && $(config-cflags-avx) = yes]
4388 (CFLAGS-tst-auditmod6b.c): Likewise.
4389 [$(subdir) = elf && $(config-cflags-avx) = yes]
4390 (CFLAGS-tst-auditmod6c.c): Likewise.
4391 [$(subdir) = elf && $(config-cflags-avx) = yes]
4392 (CFLAGS-tst-auditmod7b.c): Likewise.
4393 * elf/tst-audit3.c: Move to ...
4394 * sysdeps/x86_64/tst-audit3.c: ... here.
4395 * elf/tst-audit4.c: Move to ...
4396 * sysdeps/x86_64/tst-audit4.c: ... here.
4397 * elf/tst-audit5.c: Move to ...
4398 * sysdeps/x86_64/tst-audit5.c: ... here.
4399 * elf/tst-audit6.c: Move to ...
4400 * sysdeps/x86_64/tst-audit6.c: ... here.
4401 * elf/tst-audit7.c: Move to ...
4402 * sysdeps/x86_64/tst-audit7.c: ... here.
4403 * elf/tst-auditmod3a.c: Move to ...
4404 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4405 * elf/tst-auditmod3b.c: Move to ...
4406 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4407 * elf/tst-auditmod4a.c: Move to ...
4408 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4409 * elf/tst-auditmod4b.c: Move to ...
4410 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4411 * elf/tst-auditmod5a.c: Move to ...
4412 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4413 * elf/tst-auditmod5b.c: Move to ...
4414 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4415 * elf/tst-auditmod6a.c: Move to ...
4416 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4417 * elf/tst-auditmod6b.c: Move to ...
4418 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4419 * elf/tst-auditmod6c.c: Move to ...
4420 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4421 * elf/tst-auditmod7a.c: Move to ...
4422 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4423 * elf/tst-auditmod7b.c: Move to ...
4424 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4425
1ef74943
PP
44262013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4427
4428 [BZ #15366]
4429 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4430 define unconditionally.
4431 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4432 define unconditionally.
4433 (INT8_C, INT16_C, etc.): Likewise.
4434
93fd48c5
MR
44352013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4436
ae9552cf
MR
4437 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4438 __ehdr_start with hidden visibility.
4439
93fd48c5
MR
4440 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4441
418601aa
CD
44422013-04-24 Carlos O'Donell <carlos@redhat.com>
4443
4444 * math/libm-test.inc (cos_test): Use accurate hex constants.
4445 (sincost_test): Likewise.
4446
2f38fbfe
JM
44472013-04-24 Joseph Myers <joseph@codesourcery.com>
4448
5e221800
JM
4449 * math/libm-test.inc (catan_test): Add more tests.
4450 (catanh_test): Likewise.
4451
77f143fd
JM
4452 * math/s_catanf.c (__catanf): Use suffixed floating-point
4453 constants.
4454 * math/s_catanhf.c (__catanhf): Likewise.
4455 * math/s_catanhl.c (__catanhl): Likewise.
4456 * math/s_catanl.c (__catanl): Likewise.
4457
2f38fbfe
JM
4458 [BZ #15394]
4459 * math/s_catan.c (__catan): Calculate imaginary part of result
4460 with log1p not log unless computing log of number close to 0.
4461 * math/s_catanf.c (__catanf): Likewise.
4462 * math/s_catanl.c (__catanl): Likewise.
4463 * math/s_catanh.c (__catanh): Calculate real part of result with
4464 log1p not log unless computing log of number close to 0.
4465 * math/s_catanhf.c (__catanhf): Likewise.
4466 * math/s_catanhl.c (__catanhl): Likewise.
4467 * math/libm-test.inc (catan_test): Add more tests.
4468 (catanh_test): Likewise.
4469 * sysdeps/i386/fpu/libm-test-ulps: Update.
4470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4471
45d69176
SP
44722013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
4474 * benchtests/Makefile: Mention files in which fast and slow
4475 paths of math functions are implemented.
4476
87f51853
RM
44772013-04-23 Roland McGrath <roland@hack.frob.com>
4478
4479 * sysdeps/posix/timespec_get.c: New file.
4480
3c026539
AZ
44812013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482
4483 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4484 POWER.
4485 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4486 for POWER.
4487 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4488 powerpc/power5/fpu folders.
4489 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4490 * benchtests/Makefile: Add modf testcase.
4491 * benchtests/bench-modf.c: New file: Benchmark test for mo
4492
ff491d14
SP
44932013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
4495 [BZ #14888]
4496 * time/Makefile (tests): Add tst-strptime-whitespace.
4497 * time/strptime_l.c (get_number): Use ISSPACE.
4498 (__strptime_internal): Likewise.
4499 * time/tst-strptime-whitespace.c: New test case.
4500
7ed3f4e8
AS
45012013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4504 member.
4505 (_nss_files_init): Set it here.
4506
5c95f7b6
HC
45072013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4508
4509 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4510 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4511 unsigned.
4512
d34c9158
JBG
45132013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4514
4515 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4516
2169712d
SP
45172013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4518
4519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4520 size just once.
4521
29c5de99
DM
45222013-04-21 David S. Miller <davem@davemloft.net>
4523
4524 * po/ru.po: Update Russion translation from translation project.
4525
ccdad15d
AC
45262013-04-17 Adam Conrad <adconrad@0c3.net>
4527
4528 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4529 and setfsgid.
4530
0f122b8d
CD
45312013-04-17 Carlos O'Donell <carlos@redhat.com>
4532
5c5b07da 4533 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4534 * configure: Regenerate.
5c5b07da 4535 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4536 Add example to error message.
4537 * sysdeps/i386/configure: Regenerate.
4538
037714dd
SP
45392013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4540
4541 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4542 slowtan.
4543 * benchtests/cos-inputs: New file.
4544 * benchtests/slowcos-inputs: New file.
4545 * benchtests/slowcos.c: New file.
4546 * benchtests/slowtan-inputs: New file.
4547 * benchtests/slowtan.c: New file.
4548 * benchtests/tan-inputs: New file.
4549
e913141d
RM
45502013-04-16 Roland McGrath <roland@hack.frob.com>
4551
4552 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4553 considered kosher.
4554
a2964074
SP
45552013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4556
4856bcd2
SP
4557 * benchtests/Makefile: Include cppflags-iterator.mk to add
4558 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4559
a2964074
SP
4560 * Makefile.in (bench-clean): New target.
4561 * benchtests/Makefile (bench-clean): Likewise.
4562
9fbf9aca
DH
45632013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4564
4565 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4566
207d1e2a
TS
45672013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4568
4569 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4570
306dfba9
AS
45712013-04-15 Andreas Schwab <schwab@suse.de>
4572
4573 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4575 * nscd/pwdcache.c (cache_addpw): Likewise.
4576 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4577 more than recsize.
4578
206a6699
SP
45792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4580
4581 * benchtests/Makefile (bench): Write all output to
4582 bench-out.tmp together.
4583
0582f6b3
AS
45842013-04-15 Andreas Schwab <schwab@suse.de>
4585
4586 * nscd/nscd.c (main): Don't fork again after closing files.
4587
acb4325f
SP
45882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4589
5cb26d0a
SP
4590 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4591
acb4325f
SP
4592 * benchtests/Rules (bench-deps): Collect dependencies into a
4593 single variable. Add Makefile to dependencies.
4594 ($(objpfx)bench-%.c): Depend on bench-deps.
4595
47792506
RM
45962013-04-12 Roland McGrath <roland@hack.frob.com>
4597 Xavier Roche <roche+kml2@exalead.com>
4598
4599 [BZ #15361]
4600 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4601 just that it's a file descriptor.
4602 * manual/llio.texi (Synchronizing AIO Operations): Update description
4603 for EBADF error from aio_fsync.
4604
8fc1bee5
SP
46052013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4606
4607 * Rules (bench): Move target definition...
4608 * benchtests/Makefile: ... here.
4609
aba5e333
CD
46102013-04-11 Carlos O'Donell <carlos@redhat.com>
4611
4612 * math/libm-test.inc (cos_test): Fix PI/2 test.
4613 (sincos_test): Likewise.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4615 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4616
273cdee8
AS
46172013-04-11 Andreas Schwab <schwab@suse.de>
4618
6ecec3b6
AS
4619 [BZ #13988]
4620 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4621 accept exponent character only when digits were seen.
4622 * stdio-common/Makefile (tests): Add bug26.
4623 * stdio-common/bug26.c: New file.
4624
273cdee8
AS
4625 [BZ #14293]
4626 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4627 non-freeable.
4628
8da491f5
SP
46292013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4630
01dc6df9
SP
4631 * Makeconfig (rtld-prefix): Define built linker prefix.
4632 * Rules (run-bench): Use it.
4633 * math/Makefile (run-regen-ulps): Likewise.
4634
8da491f5
SP
4635 * Rules (bench): Remove eval.
4636
abe7f530
SP
46372013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 Roland McGrath <roland@hack.frob.com>
4639 Ondrej Bilka <neleai@seznam.cz>
4640
4641 [BZ #15346]
4642 * time/getdate.c: Include ctype.h and alloca.h.
4643 (__getdate_r): Trim leading and trailing spaces of input.
4644 * time/tst-getdate.c (tests): Add tests with leading and
4645 trailing spaces.
4646
61c23e62
RM
46472013-04-08 Roland McGrath <roland@hack.frob.com>
4648
4649 [BZ #14280]
4650 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4651 when computing value.
4652
7208a313
CD
46532013-04-06 Carlos O'Donell <carlos@redhat.com>
4654
085b2d41
CD
4655 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4656 Use testrun.sh to run libm tests.
4657
7208a313
CD
4658 [BZ #15309]
4659 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4660
872c0acd
MM
46612013-04-06 Marko Myllynen <myllynen@redhat.com>
4662
4663 [BZ #15264]
4664 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4665
26510bdd
CD
46662013-04-06 Carlos O'Donell <carlos@redhat.com>
4667
4668 * Makefile.in (regen-ulps): New target.
4669 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4670 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4671 [ifneq (no,$(PERL)] (regen-ulps): New target.
4672 [ifeq (no,$(PERL)] (regen-ulps): New target.
4673 * math/libm-test.inc (ulps_file_name): Define.
4674 (output_dir): New variable.
4675 (options): Add "output-dir" option.
4676 (parse_opt): Handle 'o' case.
4677 (main): If output_dir is non-NULL use it as a prefix
4678 otherwise use "".
4679 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4680
a01f19c8
CD
46812013-04-06 Carlos O'Donell <carlos@redhat.com>
4682
4683 [BZ #10060, #10062]
4684 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4685 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4686 fail configure if __sync_val_compare_and_swap is not inlined.
4687 * sysdeps/i386/configure: Regenerate.
4688 * configure.in: Build for i686 when configured for i386.
4689 * configure: Regenerate.
4690 * README: Remove i386 reference.
4691
b7a329a5
CD
46922013-04-06 Carlos O'Donell <carlos@redhat.com>
4693
4694 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4696
bf0f50df
TS
46972013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4698
ee091edf
TS
4699 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4700 (lmsnanval): New variables.
4701 (F): Add conversion tests.
4702 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4703 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4704
a8b792d6
TS
4705 * stdio-common/tstdiomisc.c (F): Properly collect individual
4706 tests' results.
4707
a1cbf437
TS
4708 [BZ #14686, #15336]
4709 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4710 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4711 Instead, use input NaN values or generate a qNaN by arithmetic
4712 operation. Also fix bugs to comply with the standard.
4713 * math/libm-test.inc (remainder_test): Add more tests.
4714
8b43a0c9
TS
4715 [BZ #15335, #15342]
4716 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4718 input NaN values or generate a qNaN by arithmetic operation.
4719
d91da4ce
TS
4720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4721 unreachable code.
4722
bf0f50df
TS
4723 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4724 definitions.
4725
05e166c8
JM
47262013-04-03 Joseph Myers <joseph@codesourcery.com>
4727
4728 [BZ #14478]
4729 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4730 underflowed result.
4731 * math/s_cexpf.c (__cexpf): Likewise.
4732 * math/s_cexpl.c (__cexpl): Likewise.
4733 * math/libm-test.inc (cexp_test): Add more tests.
4734
1cef1b19
AS
47352013-04-03 Andreas Schwab <schwab@suse.de>
4736
4737 [BZ #15330]
4738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4739 order arrays from heap if bigger than alloca cutoff.
4740
74d87055
TS
47412013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4742
4743 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4744 (SNAN_TESTS_double): Refer to GCC PR56831.
4745 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4746 GCC PR56828.
4747
d755bba4
SP
47482013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4749
90d5d5bb
SP
4750 * Rules (bench): Move bench.out after the run is complete.
4751
73e0cd5d
SP
4752 * Rules (bench): Echo currently running benchmark.
4753
64aabd4b
SP
4754 * benchtests/Makefile (bench): Add atan and slowatan.
4755 * benchtests/atan-inputs: New file.
4756 * benchtests/slowatan-inputs: New file.
4757 * benchtests/slowatan.c: New file.
4758
c871eccd
SP
4759 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4760 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4761 its value.
4762
d755bba4
SP
4763 [BZ #15305]
4764 * sysdeps/unix/sysv/linux/kernel-features.h
4765 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4766 __ASSUME_XFS_RESTRICTED_CHOWN.
4767 * sysdeps/unix/sysv/linux/pathconf.c
4768 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4769 Save and restore errno.
4770
52ce4860
JM
47712013-04-02 Joseph Myers <joseph@codesourcery.com>
4772
4773 [BZ #15327]
4774 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4775 arguments using __kernel_casinh.
4776 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4777 arguments using __kernel_casinhf.
4778 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4779 arguments using __kernel_casinhl.
4780 * math/libm-test.inc (cacosh_test): Add more tests.
4781 * sysdeps/i386/fpu/libm-test-ulps: Update.
4782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4783
81f311c2
SP
47842013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4785
e7906a47
SP
4786 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4788
92e3664b
SP
4789 * bench/Makefile (bench): Add sin and slowsin.
4790 * benchtests/sin-inputs: New file.
4791 * benchtests/slowsin-inputs: New file.
4792 * benchtests/slowsin.c: New file.
4793
81f311c2
SP
4794 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4795 (bench): Add slowexp and slowpow.
4796 (exp-ITER): Increase iterations.
4797 (pow-ITER): Likewise.
4798 * benchtests/exp-inputs: Change input.
4799 * benchtests/pow-inputs: Likewise.
4800 * benchtests/slowexp-inputs: New file.
4801 * benchtests/slowexp.c: New file.
4802 * benchtests/slowpow-inputs: New file.
4803 * benchtests/slowpow.c: New file.
4804
ab0f1aa9
AZ
48052013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4808 instructions.
4809 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4810 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4812 * benchtests/Makefile: Add rint benchtest.
4813 * benchtests/rint-inputs: Input for rint benchtest.
4814
57267616
TS
48152013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4816
4817 * Versions.def (libm): Add GLIBC_2.18.
4818 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4819 hidden libm prototypes.
4820 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4821 * math/Makefile (libm-calls): Add s_issignaling.
4822 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4823 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4824 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4825 declaration.
4826 * math/math.h [__USE_GNU] (issignaling): New macro.
4827 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4828 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4830 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4833 * manual/arith.texi (issignaling): New section.
4834 * manual/libm-err-tab.pl (@all_functions): Update comment.
4835 * math/gen-libm-test.pl (parse_args): Apply special handling for
4836 issignaling.
4837 * math/libm-test.inc (print_float, issignaling_test): New
4838 functions.
4839 (check_float_internal): Add issignaling checks.
4840 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4841 default definition.
4842 * sysdeps/powerpc/math-tests.h: New file.
4843 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4844 tests.
4845 * math/test-snan.c (TEST_FUNC): Likewise.
4846
6142896d
DM
48472013-03-30 David S. Miller <davem@davemloft.net>
4848
4849 * po/de.po: Update from translation team.
4850
ccc8cadf
JM
48512013-03-30 Joseph Myers <joseph@codesourcery.com>
4852
4853 [BZ #10357]
4854 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4855 imaginary part less than 1.0 and real part less than 0.5
4856 specially.
4857 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4858 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4859 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4860 (cacos_test): Add more tests.
4861 (casin_test): Likewise.
4862 (casinh_test): Likewise.
4863 * sysdeps/i386/fpu/libm-test-ulps: Update.
4864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4865
0f6a8d4b
SP
48662013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
0d1029de
SP
4868 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4869 ONE with its value.
4870
c2d94018
SP
4871 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4872 (__pow_mp): Replace ONE and MONE with their values.
4873 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4876 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4877 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4879
27ec37f1
SP
4880 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4881
a64d7e0e
SP
4882 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4883 (__pow_mp): Replace ZERO and MZERO with their values.
4884 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4885 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4886 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4888 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4889 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4890 (__sqr): Likewise.
4891
d26dd3eb
SP
4892 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4893
0f6a8d4b
SP
4894 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4895
e57b0c61
RM
48962013-03-28 Roland McGrath <roland@hack.frob.com>
4897
4898 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4899 Declare with __attribute__ ((weak)).
4900 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4901 Call __call_tls_dtors only if it's not NULL.
4902
356b3480
RM
49032013-03-28 Roland McGrath <roland@hack.frob.com>
4904
288f7d79
RM
4905 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4906 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4907 magic __ehdr_start linker symbol if it's defined.
4908 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4909 them up here if it was already done.
4910
dc0a0263
RM
4911 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4912 (_dl_aux_init): Use const in cast when setting it.
4913 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4914 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4915 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4916
3d3436ae
RM
4917 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4918 Declare them here.
4919 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4920 * csu/libc-tls.c: Nor here.
4921 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4922
356b3480
RM
4923 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4924 (__libc_message): Never call vsyslog.
4925
b0f1246a
AM
49262013-03-28 Alan Modra <amodra@gmail.com>
4927
4928 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4929 Define as empty.
4930 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4931 Likewise.
4932
fbbe2b9a
AZ
49332013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934
4935 [BZ #15214]
4936 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4937 underflow.
4938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4939
1728ab37
SP
49402013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4941
7a86be6e
SP
4942 [BZ #15304]
4943 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4944 Don't add gid passed as argument.
4945
1728ab37
SP
4946 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4947
3a7182a1
JM
49482013-03-27 Joseph Myers <joseph@codesourcery.com>
4949
4950 [BZ #15307]
4951 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4952 imaginary part between 1.0 and 1.5 and real part less than 0.5
4953 specially.
4954 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4955 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4956 * math/libm-test.inc (cacos_test): Add more tests.
4957 (casin_test): Likewise.
4958 (casinh_test): Likewise.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4961
6f2e90e7
SP
49622013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4963
5739f705
SP
4964 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4965 constants.
4966 (norm): Likewise.
4967 (denorm): Likewise.
4968 (__dbl_mp): Likewise.
4969 (add_magnitudes): Likewise.
4970 (sub_magnitudes): Likewise.
4971 (__add): Likewise.
4972 (__sub): Likewise.
4973 (__mul): Likewise.
4974 (__sqr): Likewise.
4975 (__inv): Likewise.
4976 (__dvd): Likewise.
4977
e375e83d
SP
4978 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4979 commented code.
4980 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4981 (__dubcos): Likewise.
4982 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4983 (__ieee754_acos): Likewise.
4984 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4986 (__exp1): Likewise.
4987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4989 (log1): Likewise.
4990 (my_log2): Likewise.
4991 (checkint): Likewise.
4992 * sysdeps/ieee754/dbl-64/e_remainder.c
4993 (__ieee754_remainder): Likewise.
4994 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4996 (bsloww): Likewise.
4997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4998
6f2e90e7
SP
4999 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5001 MANTISSA_STORE_T to store computations on mantissa. Use
5002 macros for rounding and division.
5003 (denorm): Likewise.
5004 (__dbl_mp): Likewise.
5005 (add_magnitudes): Likewise.
5006 (sub_magnitudes): Likewise.
5007 (__mul): Likewise.
5008 (__sqr): Likewise.
5009 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5010 powers of two in terms of TWOPOW macro.
5011 (mp_no): Make type of mantissa as MANTISSA_T.
5012 [!RADIXI]: Define RADIXI.
5013 [!TWO52]: Define TWO52.
5014 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5015
fce14d4e
AZ
50162013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5017
5018 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5019 llroundl symbol when building for PPC32.
5020
9ad027fb
MW
50212013-03-24 Mark H Weaver <mhw@netris.org>
5022
5023 * manual/arith.texi (Normalization Functions): Fix prototypes for
5024 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5025
e42a38dd
AZ
50262013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027
5028 [BZ #13889]
5029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5030 high value to check if expl overflow.
5031 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5032 to check for underflow and overflow.
5033 * math/libm-test.inc: Add exp test.
5034
2e0fb521
DL
50352013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5036
5037 [BZ #11120]
5038 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5039 with NOT_IN_libc.
5040
b5784d95
AZ
50412013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5042
5043 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5044 symbol.
5045
5aa4a1a1
TS
50462013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5047
bdef0be7
TS
5048 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5049 wrap blocks consisting of several statements.
5050
5aa4a1a1
TS
5051 * sysdeps/generic/math-tests.h: New file.
5052 * sysdeps/i386/fpu/math-tests.h: Likewise.
5053 * math/test-snan.c: Include it.
5054 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5055
98c48fe5
JM
50562013-03-21 Joseph Myers <joseph@codesourcery.com>
5057
5058 [BZ #15285]
5059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5060 (__ieee754_j0l): Do not improve calculations using cos of twice
5061 input for inputs above LDBL_MAX / 2.0L.
5062 (__ieee754_y0l): Likewise.
5063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5064 (__ieee754_j1l): Do not improve calculations using cos of twice
5065 input for inputs above LDBL_MAX / 2.0L.
5066 (__ieee754_y1l): Likewise.
5067 * math/libm-test.inc (j0_test): Add another test.
5068 (j1_test): Likewise.
5069 (y0_test): Likewise.
5070 (y1_test): Likewise.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072
3775a8bc
SP
50732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5074
5075 * Rules ($(objpfx)bench-%.c): Include code from a C source
5076 file.
5077
0a1b2ae6
JM
50782013-03-21 Joseph Myers <joseph@codesourcery.com>
5079
5080 [BZ #15287]
5081 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5082 imaginary part 1.0 and real part less than 0.5 specially.
5083 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5084 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5085 * math/libm-test.inc (cacos_test): Add more tests.
5086 (casin_test): Likewise.
5087 (casinh_test): Likewise.
5088 * sysdeps/i386/fpu/libm-test-ulps: Update.
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090
b33d4ce4
SP
50912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5092
5093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5094 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5095
bef0b507
JM
50962013-03-20 Joseph Myers <joseph@codesourcery.com>
5097
5098 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5099 * config.make.in (config-cflags-sse4): Remove variable.
5100 (config-cflags-avx): Likewise.
5101 (config-cflags-sse2avx): Likewise.
5102 (config-cflags-novzeroupper): Likewise.
5103 (config-asflags-i686): Likewise.
5104 (have-mfma4): Likewise.
5105 (have-as-vis3): Likewise.
5106 (MIG): Likewise.
5107 * configure.in (MIG): Do not AC_SUBST.
5108 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5109 (libc_cv_cc_sse4): Do not AC_SUBST.
5110 (libc_cv_cc_avx): Likewise.
5111 (libc_cv_cc_sse2avx): Likewise.
5112 (libc_cv_cc_novzeroupper): Likewise.
5113 (libc_cv_cc_fma4): Likewise.
5114 (libc_cv_as_i686): Likewise.
5115 (libc_cv_sparc_as_vis3): Likewise.
5116 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5117 LIBC_CONFIG_VAR.
5118 (config-asflags-i686): Likewise.
5119 (config-cflags-avx): Likewise.
5120 (config-cflags-sse2avx): Likewise.
5121 (have-mfma4): Likewise.
5122 (config-cflags-novzeroupper): Likewise.
5123 * sysdeps/mach/configure.in (MIG): Likewise.
5124 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5125 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5126 LIBC_CONFIG_VAR.
5127 (config-cflags-avx): Likewise.
5128 (config-cflags-sse2avx): Likewise.
5129 (have-mfma4): Likewise.
5130 (config-cflags-novzeroupper): Likewise.
5131 * configure: Regenerated.
5132 * sysdeps/i386/configure: Likewise.
5133 * sysdeps/mach/configure: Likewise.
5134 * sysdeps/sparc/configure: Likewise.
5135 * sysdeps/x86_64/configure: Likewise.
5136
912cc4b3
RM
51372013-03-20 Roland McGrath <roland@hack.frob.com>
5138
5139 [BZ #14812]
5140 * locale/programs/localedef.c (options): Put N_ translation marker
5141 on argument names, not just descriptions.
5142
04eed2b0
MS
51432013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5144
5145 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5146
a065ceff
OB
51472013-03-20 Ondřej Bílka <neleai@seznam.cz>
5148
9bb2a810 5149 [BZ #14176]
a065ceff
OB
5150 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5151
a600e5ce
RM
51522013-03-19 Roland McGrath <roland@hack.frob.com>
5153
5154 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5155 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5156 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5157 [!BEFORE_ABORT] (before_abort): New function.
5158 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5159 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5160 (writev_for_fatal): New function.
5161 (WRITEV_FOR_FATAL): New macro; call that.
5162 (backtrace_and_maps): New function.
5163 (BEFORE_ABORT): New macro; call that.
5164 (struct str_list): Type removed.
5165 (__libc_message, __libc_fatal): Functions removed.
5166 Include <sysdeps/posix/libc_fatal.c> instead.
5167
6b18bea6
JM
51682013-03-19 Joseph Myers <joseph@codesourcery.com>
5169
5170 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5171 constants.
5172 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5173 double constants.
5174
aaa8cb4b
AS
51752013-03-19 Andreas Schwab <schwab@suse.de>
5176
44673770
AS
5177 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5178 * sysdeps/gnu/configure: Regenerate.
5179
aaa8cb4b
AS
5180 * configure.in: Substitute libc_cv_rtlddir.
5181 * configure: Regenerate.
5182 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5183 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5184 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5185 * elf/Makefile (install-others, CFLAGS-interp.c)
5186 (ldso_install, common-ldd-rewrite): Likewise.
5187 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5188 $(inst_slibdir)/$(rtld-installed-name).
5189 * scripts/rellns-sh: Add -p option.
5190 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5191 for source.
5192
d3cfc668
SP
51932013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
5195 * manual/nptl.texi: Renamed to ...
5196 * manual/threads.texi: ... this.
5197 * manual/Makefile (chapters): Update.
5198
0e2b9cdd
RM
51992013-03-18 Roland McGrath <roland@hack.frob.com>
5200
5201 [BZ #14812]
5202 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5203 on argument names, not just descriptions.
0e2b9cdd
RM
5204 * malloc/memusagestat.c (options): Likewise.
5205 * nss/getent.c (options): Likewise.
63270c24
RM
5206
52072013-03-18 Benno Schulenberg <bensberg@justemail.net>
5208
5209 [BZ #14812]
5210 * iconv/iconv_prog.c (options): Put N_ translation marker
5211 on argument names, not just descriptions.
5212 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5213
b2e1393c
OB
52142013-03-18 Ondrej Bilka <neleai@seznam.cz>
5215
5216 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5217 implementation which is faster on all x86_64 architectures.
5218 Tested on AMD, Intel Nehalem, SNB, IVB.
5219 * sysdeps/x86_64/strnlen.S: Likewise.
5220
5221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5222 Remove all multiarch strlen and strnlen versions.
5223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5224 Remove strlen and strnlen related parts.
5225
5226 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5227 Inline strlen part.
5228 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5229
5230 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5231 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5233 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5234 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5236
ec4ff04d
CD
52372013-03-17 Carlos O'Donell <carlos@redhat.com>
5238
5239 * manual/memory.texi (Malloc Tunable Parameters):
5240 Sort parameters alphabetically. Add comments for missing entries.
5241
cd18e90a
DM
52422013-03-17 David S. Miller <davem@davemloft.net>
5243
5244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5245
2a185d32
JM
52462013-03-16 Joseph Myers <joseph@codesourcery.com>
5247
d2f9799e
JM
5248 [BZ #15283]
5249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5250 for arguments at most half maximum finite value.
5251 * math/libm-test.inc (j0_test): Add more tests.
5252 (j1_test): Likewise.
5253 (y0_test): Likewise.
5254 (y1_test): Likewise.
5255 * sysdeps/i386/fpu/libm-test-ulps: Update.
5256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
2a185d32
JM
5258 [BZ #14155]
5259 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5260 1 / x and functions P and Q for arguments above 0x1p256L.
5261 (__ieee754_y0l): Likewise.
5262 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5263 (__ieee754_y1l): Likewise.
5264 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5265 (j1_test): Likewise.
5266 (y0_test): Likewise.
5267 (y1_test): Likewise.
5268
6cbec759
TS
52692013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5270
5271 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5272 variable.
5273
bc16e260
RM
52742013-03-15 Roland McGrath <roland@hack.frob.com>
5275
aefc9b8c
RM
5276 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5277 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5278 zero since it's initialized to EXEC_PAGESIZE.
5279
bc16e260
RM
5280 * sysdeps/unix/sysv/linux/ldsodefs.h
5281 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5282 * sysdeps/generic/ldsodefs.h: ... here.
5283
a57da955
TS
52842013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5285
af00a34d
TS
5286 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5287
495ded2c
TS
5288 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5289 math/test-snan.c.
5290 * math/test-snan.c: Renamed from
5291 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5292 * math/Makefile (tests): Add test-snan.
5293 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5294 test-powerpc-snan.
5295
777b0332
TS
5296 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5297 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5298 functions.
5299 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5300 __builtin_nan family of functions.
5301 * math/libm-test.inc (initialize): Initialize qnan_value with
5302 __builtin_nan family of functions.
5303 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5304 Remove variables.
5305 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5306 Remove functions.
5307 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5308 storage class. Initialize qNaN_var and sNaN_var with
5309 __builtin_nan and __builtin_nans families of functions,
5310 respectively.
5311
64d063b8
TS
5312 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5313 (sqrt_test): Remove duplicate test with qNaN input.
5314 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5315 (round_test, signbit_test, significand_test): Note missing +/-Inf
5316 as well as qNaN tests.
5317
67e971f1
TS
5318 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5319 qNaN_var. Fix a few strings, too.
5320 * math/libm-test.inc (nan_value): Rename to qnan_value.
5321 * math/gen-libm-test.pl (%beautify): Adjust to that.
5322 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5323 * math/test-misc.c (main): Likewise.
5324 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5325 to __qnan_bytes, and __qnan_union, respectively.
5326 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5327 Likewise.
5328 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5329 and lqnanval, respectively.
5330 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5331 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5332 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5333 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5334
64487e12
TS
5335 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5336 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5337 doubles.
5338
e015e27b
TS
5339 * math/test-misc.c (main): Fix copy'n'pastos.
5340 * misc/tst-efgcvt.c (special): Likewise.
5341
a57da955
TS
5342 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5343 Remove declarations.
5344
1e380345
SP
53452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
5347 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5348 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5349 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5350 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5351
ef26eece
AZ
53522013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
5354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5355 macro to return vdso values correctly in IFUNC implementations.
5356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5357 Optimization by using IFUNC.
5358
8cfdb7e0
SP
53592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5360 Richard Henderson <rth@redhat.com>
5361 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5362
5363 * Makefile.in (bench): New target.
5364 * NEWS: Mention the benchmark framework.
5365 * Rules (bench): Likewise.
5366 (binaries-bench): Generate binaries for functions to
5367 benchmark.
5368 * benchtests/Makefile: New makefile for benchmark tests.
5369 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5370 programs.
5371 * benchtests/exp-inputs: New input file for EXP function.
5372 * benchtests/pow-inputs: New input file for POW function.
5373 * scripts/bench.pl: New script to generate source files for
5374 benchmark programs.
5375
bcda9880
SP
53762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5377
d22ca8cd
SP
5378 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5380 computations on mantissa. Use macros for rounding and
5381 division.
5382 (denorm): Likewise.
5383 (__dbl_mp): Likewise.
5384 (add_magnitudes): Likewise.
5385 (sub_magnitudes): Likewise.
5386 (__mul): Likewise.
5387 (__sqr): Likewise.
5388 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5389 powers of two in terms of TWOPOW macro.
5390 (mp_no): Make type of mantissa as MANTISSA_T.
5391 [!RADIXI]: Define RADIXI.
5392 [!TWO52]: Define TWO52.
5393 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5394
bcda9880
SP
5395 * manual/nptl.texi (cindex): Modify threads to pthreads.
5396
06d5adfb
JM
53972013-03-15 Joseph Myers <joseph@codesourcery.com>
5398
5399 * sysdeps/x86_64/preconfigure: Regenerated.
5400
41c7328e
JM
54012013-03-14 Joseph Myers <joseph@codesourcery.com>
5402
5403 [BZ #14155]
5404 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5405 0x1p28 and above.
5406 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5407 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5408 0x1p28 and above.
5409 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5410 * math/libm-test.inc (j0_test): Do not allow one spurious
5411 underflow exception.
5412 (y1_test): Likewise.
5413
e25cfa60
SP
54142013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5415
0409959c
SP
5416 * manual/Makefile (chapters): Add nptl.
5417 * manual/debug.texi (Debugging Support): Add link to Threads
5418 chapter.
5419 * manual/nptl.texi: New file.
5420
e25cfa60
SP
5421 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5422
58a1335e
PB
54232013-03-14 Petr Baudis <pasky@ucw.cz>
5424
5425 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5426 for non-NULL pointer before the memory validity test. Pointed
5427 out by Holger Brunck <holger.brunck@keymile.com>.
5428
9dc7c64f
AS
54292013-03-13 Andreas Schwab <schwab@suse.de>
5430
5431 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5432 instead of .os.
5433
54206aa6
JM
54342013-03-13 Joseph Myers <joseph@codesourcery.com>
5435
5436 * timezone/zic.c: Update from tzcode 2013b.
5437
e98cdb38
CD
54382013-03-12 Carlos O'Donell <carlos@redhat.com>
5439
5440 * manual/install.texi (Configuring and compiling):
5441 Mention i686 and i586.
5442 * INSTALL: Regenerate.
5443
9967e003
RM
54442013-03-12 Roland McGrath <roland@hack.frob.com>
5445
5446 * sysdeps/init_array/elf-init.c: New file.
5447 * csu/elf-init.c
5448 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5449 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5450
5451 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5452 __gmon_start__ as global, but as static with a .preinit_array pointer.
5453 * sysdeps/init_array/gmon-start.c: New file. Use that.
5454 * sysdeps/init_array/crti.S: New file, empty except for comments.
5455 * sysdeps/init_array/crtn.S: Likewise.
5456
e6b5a293 54572013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5458
5459 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5460 definining bcopy.
80f844c9
OB
5461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5462 Remove Prefer_SSE_for_memop.
5463 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5464 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5465 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5467 memset-x86-64.
80f844c9 5468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5469 Remove bzero, memset ifunc support.
80f844c9
OB
5470 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5471 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5472 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5473 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5474
fb6b0fcb
AS
54752013-03-11 Andreas Schwab <schwab@suse.de>
5476
5477 [BZ #15234]
5478 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5479 by SHLIB_COMPAT.
5480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5481 (GLIBC_2.16): Remove pthread_atfork.
5482
3e6bd4b1
PP
54832013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5484
5485 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5486 (ptestcases.h): Likewise.
5487
222d7f00
RM
54882013-03-08 Roland McGrath <roland@hack.frob.com>
5489
5490 * Makeconfig ($(common-objpfx)config.status): Depend on
5491 sysdeps/*/preconfigure{,.in} too.
5492
1ba4f030
JM
54932013-03-08 Joseph Myers <joseph@codesourcery.com>
5494
a222d91a
JM
5495 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5496 (__free_hook): Use void * instead of __malloc_ptr_t.
5497 (__malloc_hook): Likewise.
5498 (__realloc_hook): Likewise.
5499 (__memalign_hook): Likewise.
5500 (__after_morecore_hook): Likewise.
5501 * malloc/arena.c (save_malloc_hook): Likewise.
5502 (save_free_hook): Likewise.
5503 * malloc/hooks.c (malloc_hook_ini): Likewise.
5504 (realloc_hook_ini): Likewise.
5505 (memalign_hook_ini): Likewise.
5506 * malloc/malloc.c (malloc_hook_ini): Likewise.
5507 (realloc_hook_ini): Likewise.
5508 (memalign_hook_ini): Likewise.
5509 (__free_hook): Likewise.
5510 (__malloc_hook): Likewise.
5511 (__realloc_hook): Likewise.
5512 (__memalign_hook): Likewise.
5513 (__libc_malloc): Likewise.
5514 (__libc_free): Likewise.
5515 (__libc_realloc): Likewise.
5516 (__libc_memalign): Likewise.
5517 (__libc_valloc): Likewise.
5518 (__libc_pvalloc): Likewise.
5519 (__libc_calloc): Likewise.
5520 (__posix_memalign): Likewise.
5521 * malloc/morecore.c (__sbrk): Likewise.
5522 (__default_morecore): Likewise.
5523
5cc45e10
JM
5524 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5525
dd54b864
JM
5526 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5527 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5528 __malloc_ptrdiff_t.
5529
1ba4f030
JM
5530 * malloc/malloc.h (__malloc_size_t): Remove macro.
5531 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5532 __malloc_size_t.
5533 (old_memalign_hook): Likewise.
5534 (old_realloc_hook): Likewise.
5535 (struct hdr): Likewise.
5536 (flood): Likewise.
5537 (mallochook): Likewise.
5538 (memalignhook): Likewise.
5539 (reallochook): Likewise.
5540 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5541 (tr_old_realloc_hook): Likewise.
5542 (tr_old_memalign_hook): Likewise.
5543 (tr_mallochook): Likewise.
5544 (tr_reallochook): Likewise.
5545 (tr_memalignhook): Likewise.
5546
edf66e57
AZ
55472013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548
5549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5550 default_ldbl_pack and using as default implementation.
5551 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5552 implementation.
5553 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5554 redundant definition.
5555 (ldbl_insert_mantissa): Likewise.
5556 (ldbl_canonicalize): Likewise.
5557 (ldbl_nearbyint): Likewise.
5558 (ldbl_pack): Rename to ldbl_pack_ppc.
5559 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5560 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5561 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5562
6d9145d8
SP
55632013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5564
5565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5566 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5567 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5568 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5571 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5572 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5573
4dd4e157
AJ
55742013-03-07 Andreas Jaeger <aj@suse.de>
5575
5576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5577 bits/mman-linux.h.
5578
adbb8027
SP
55792013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
ce544b5b
SP
5581 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5582 Include mpa.h and declare __MPEXP.
5583 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5585 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5586 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5587 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5588 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5589 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5590
4cc149fd
SP
5591 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5592 (__slowpow): Use long double EXPL and LOGL functions to
5593 compute POW.
5594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5595 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5596 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5598 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5599 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5600
e6ebd4a7
SP
5601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5602 intermediate variable to calculate exponent.
5603 (__sqr): Likewise.
5604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5605 Likewise.
5606 (__sqr): Likewise.
5607
82a9811d
SP
5608 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5609 [!NO__SQR]: Define __sqr.
5610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5611 and NO__SQR. Remove all code except __mul and __sqr. Include
5612 sysdeps/ieee754/dbl-64/mpa.c.
5613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5614
adbb8027
SP
5615 [BZ #12723]
5616 * posix/Makefile (tests): Add tst-pathconf.
5617 * posix/tst-pathconf.c: New test case.
5618 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5619 _PC_PIPE_BUF.
5620 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5621
39120df9
PF
56222013-03-06 Patsy Franklin <pfrankli@redhat.com>
5623
5624 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5625
67525cb8
AJ
56262013-03-06 Andreas Jaeger <aj@suse.de>
5627
664a9ce4
AJ
5628 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5629 definition via __MAP_ANONYMOUS.
5630
8e39047d
AJ
5631 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5632 it's not part of Linux headers.
5633
67525cb8
AJ
5634 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5635 (MAP_HUGE_MASK): Define.
5636
5637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5638 Define.
5639 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5640 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5641 Define.
5642 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5643 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5644 Define.
5645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5647 Define.
5648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5649
5650 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5651 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5652 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5653 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5654 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5655 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5656
5657 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5658 Handle f2fs.
5659
5660 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5661 Handle f2fs and efivarfs.
5662
5663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5664 f2fs.
5665
5666 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5667 (EFIVARFS_MAGIC): Add.
5668 (F2FS_LINK_MAX): Add.
5669
e1b42695
PP
56702013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5671
5672 * stdio-common/vfprintf.c: Replace __builtin_expect with
5673 __glibc_unlikely.
5674
2d67d91a
JM
56752013-03-06 Joseph Myers <joseph@codesourcery.com>
5676
5677 [BZ #13550]
5678 * sysdeps/generic/bp-sym.h: Remove file.
5679 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5680 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5681 <bp-sym.h> and <bp-asm.h>.
5682 (__longjmp): Don't use BP_SYM.
5683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5684 and <bp-asm.h>.
5685 (memcpy): Don't use BP_SYM.
5686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5687 <bp-sym.h> and <bp-asm.h>.
5688 (memcpy): Don't use BP_SYM.
5689 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5690 <bp-asm.h>.
5691 (memcpy): Don't use BP_SYM.
5692 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5693 <bp-asm.h>.
5694 (memset): Don't use BP_SYM.
5695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5697 (__bzero): Don't use BP_SYM.
5698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5700 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5701 <bp-sym.h> and <bp-asm.h>.
5702 (memcmp): Don't use BP_SYM. Remove comment about bounded
5703 pointers.
5704 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5705 <bp-sym.h> and <bp-asm.h>.
5706 (memcpy): Don't use BP_SYM.
5707 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (memset): Don't use BP_SYM.
5710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5712 (__bzero): Don't use BP_SYM.
5713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5715 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5716 <bp-sym.h> and <bp-asm.h>.
5717 (strncmp): Don't use BP_SYM. Remove comment about bounded
5718 pointers.
5719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5720 <bp-sym.h> and <bp-asm.h>.
5721 (memcpy): Don't use BP_SYM.
5722 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5723 <bp-sym.h> and <bp-asm.h>.
5724 (memset): Don't use BP_SYM.
5725 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5726 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5727 (__bzero): Don't use BP_SYM.
5728 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5729 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5730 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5731 <bp-sym.h> and <bp-asm.h>.
5732 (__memchr): Don't use BP_SYM.
5733 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5734 <bp-sym.h> and <bp-asm.h>.
5735 (memcmp): Don't use BP_SYM. Remove comment about bounded
5736 pointers.
5737 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5738 <bp-sym.h> and <bp-asm.h>.
5739 (memcpy): Don't use BP_SYM.
5740 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5741 <bp-sym.h> and <bp-asm.h>.
5742 (__mempcpy): Don't use BP_SYM.
5743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5744 <bp-sym.h> and <bp-asm.h>.
5745 (__memrchr): Don't use BP_SYM.
5746 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5747 <bp-sym.h> and <bp-asm.h>.
5748 (memset): Don't use BP_SYM.
5749 (__bzero): Likewise.
5750 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5751 <bp-sym.h> and <bp-asm.h>.
5752 (__rawmemchr): Don't use BP_SYM.
5753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5754 <bp-sym.h> and <bp-asm.h>.
5755 (__STRCMP): Don't use BP_SYM.
5756 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5757 <bp-sym.h> and <bp-asm.h>.
5758 (strchr): Don't use BP_SYM.
5759 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5760 <bp-sym.h> and <bp-asm.h>.
5761 (__strchrnul): Don't use BP_SYM.
5762 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (strlen): Don't use BP_SYM.
5765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5766 <bp-sym.h> and <bp-asm.h>.
5767 (strncmp): Don't use BP_SYM. Remove comment about bounded
5768 pointers.
5769 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5770 <bp-sym.h> and <bp-asm.h>.
5771 (__strnlen): Don't use BP_SYM.
5772 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5773 <bp-sym.h> and <bp-asm.h>.
5774 (__GI__setjmp): Don't use BP_SYM.
5775 (_setjmp): Likewise.
5776 (__sigsetjmp): Likewise.
5777 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5778 (L(start_addresses)): Don't use BP_SYM.
5779 (_start): Likewise.
5780 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5781 <bp-asm.h>.
5782 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5783 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5784 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5785 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5786 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5787 <bp-asm.h>.
5788 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5789 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5790 about bounded pointers.
5791 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5792 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5793 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5794 <bp-asm.h>.
5795 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5796 about bounded pointers. Remove GKM FIXME comments.
5797 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5798 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5799 <bp-asm.h>.
5800 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5801 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5802 Remove GKM FIXME comments.
5803 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5804 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5805 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5806 <bp-asm.h>.
5807 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5808 about bounded pointers. Remove GKM FIXME comment.
5809 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5810 and <bp-asm.h>.
5811 (strncmp): Don't use BP_SYM. Remove comment about bounded
5812 pointers.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5814 <bp-sym.h> and <bp-asm.h>.
5815 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5817 <bp-sym.h> and <bp-asm.h>.
5818 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5819 comment.
5820
cdcf361f
PP
58212013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5822
5823 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5824 call free(NULL).
5825
3c4a2b15
DM
58262013-03-05 David S. Miller <davem@davemloft.net>
5827
5828 * po/es.po: Update from translation team.
5829
cdcf361f 58302013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5831
5832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5833 <bits/mman-linux.h>.
5834 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5835 is fine.
5836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5837 <bits/mman-linux.h> to end of file.
5838 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5839 is fine.
5840 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5841 <bits/mman-linux.h> to end of file.
5842 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5843 is fine.
5844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5845 <bits/mman-linux.h> to end of file.
5846
5847 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5848 (MCL_CURRENT, MCL_FUTURE): Define here.
5849
5f67c04f
AK
58502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5851
8a4473cc 5852 [BZ #15232]
5f67c04f
AK
5853 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5854 attribute_hidden.
5855 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5856
c3e94a95
AK
58572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5858
5859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5860 fourth parameter needed for rt_sigprocmask syscall.
5861 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5862 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5864 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5865 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5866 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5867
cfb6382a
JM
58682013-03-04 Joseph Myers <joseph@codesourcery.com>
5869
5870 [BZ #13550]
5871 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5872 comment about bounded pointers.
5873 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5874 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5875
539d8e01
AJ
58762013-03-04 Andreas Jaeger <aj@suse.de>
5877
5878 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5879 common definitions.
5880
5881 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5882 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5883 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5887
2e167a70 58882013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5889
5890 [BZ #15055]
5891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5892 __ieee754_sqrl instead of __sqrl.
5893
68508633
JM
58942013-03-01 Joseph Myers <joseph@codesourcery.com>
5895
5896 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5897 * sysdeps/powerpc/fpu_control.h: ... here.
5898 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5899 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5900 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5901 * sysdeps/powerpc/bits/mathinline.h: ... here.
5902
7775448e
RM
59032013-03-01 Roland McGrath <roland@hack.frob.com>
5904
5905 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5906 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5907 to just [NEED_DL_SYSINFO_DSO].
5908 * elf/dl-support.c: Likewise.
5909 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5910 * elf/rtld.c (dl_main): Likewise.
5911 * elf/setup-vdso.h (setup_vdso): Likewise.
5912 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5913 * sysdeps/unix/sysv/linux/dl-sysdep.c
5914 (_dl_discover_osversion): Likewise.
5915
4e9b5995
CD
59162013-03-01 Carlos O'Donell <carlos@redhat.com>
5917
5918 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5919 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5920
e23872c8
SP
59212013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5922
e5c74c63
SP
5923 * NEWS: Mention libm performance improvements and non-x86 PI
5924 futex support.
5925
e23872c8
SP
5926 * csu/libc-start.c (__pthread_initialize_minimal): Change
5927 function arguments.
5928 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5929
b5510883
JM
59302013-02-28 Joseph Myers <joseph@codesourcery.com>
5931
5932 [BZ #13550]
5933 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5934 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5937 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5938 and <bp-asm.h>.
5939 (memcpy): Don't use BP_SYM.
5940 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5941 <bp-asm.h>.
5942 (__mpn_add_n): Don't use BP_SYM.
5943 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5944 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5945 and <bp-asm.h>.
5946 (__mpn_addmul_1): Don't use BP_SYM.
5947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5948 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5949 <bp-sym.h>.
5950 (_setjmp): Don't use BP_SYM.
5951 (__novmx_setjmp): Likewise.
5952 (__GI__setjmp): Likewise.
5953 (__vmx_setjmp): Likewise.
5954 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5955 <bp-sym.h>.
5956 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5957 (__bzero): Don't use BP_SYM.
5958 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5959 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5960 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5961 <bp-sym.h> and <bp-asm.h>.
5962 (memcpy): Don't use BP_SYM.
5963 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5964 <bp-sym.h> and <bp-asm.h>.
5965 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5967 <bp-sym.h> and <bp-asm.h>.
5968 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5969 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5970 <bp-asm.h>.
5971 (__mpn_lshift): Don't use BP_SYM.
5972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5973 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5974 <bp-asm.h>.
5975 (memset): Don't use BP_SYM.
5976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5978 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5979 <bp-asm.h>.
5980 (__mpn_mul_1): Don't use BP_SYM.
5981 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5983 <bp-sym.h> and <bp-asm.h>.
5984 (memcmp): Don't use BP_SYM.
5985 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5986 <bp-sym.h> and <bp-asm.h>.
5987 (memcpy): Don't use BP_SYM.
5988 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5989 <bp-sym.h> and <bp-asm.h>.
5990 (memset): Don't use BP_SYM.
5991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5992 <bp-sym.h> and <bp-asm.h>.
5993 (strncmp): Don't use BP_SYM.
5994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5995 <bp-sym.h> and <bp-asm.h>.
5996 (memcpy): Don't use BP_SYM.
5997 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5998 <bp-sym.h> and <bp-asm.h>.
5999 (memset): Don't use BP_SYM.
6000 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6001 <bp-sym.h> and <bp-asm.h>.
6002 (__memchr): Don't use BP_SYM.
6003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6004 <bp-sym.h> and <bp-asm.h>.
6005 (memcmp): Don't use BP_SYM.
6006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6007 <bp-sym.h> and <bp-asm.h>.
6008 (memcpy): Don't use BP_SYM.
6009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6010 <bp-sym.h> and <bp-asm.h>.
6011 (__mempcpy): Don't use BP_SYM.
6012 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6013 <bp-sym.h> and <bp-asm.h>.
6014 (__memrchr): Don't use BP_SYM.
6015 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6016 <bp-sym.h> and <bp-asm.h>.
6017 (memset): Don't use BP_SYM.
6018 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6019 <bp-sym.h> and <bp-asm.h>.
6020 (__rawmemchr): Don't use BP_SYM.
6021 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6022 <bp-sym.h> and <bp-asm.h>.
6023 (__STRCMP): Don't use BP_SYM.
6024 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6025 <bp-sym.h> and <bp-asm.h>.
6026 (strchr): Don't use BP_SYM.
6027 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6028 <bp-sym.h> and <bp-asm.h>.
6029 (__strchrnul): Don't use BP_SYM.
6030 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6031 <bp-sym.h> and <bp-asm.h>.
6032 (strlen): Don't use BP_SYM.
6033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6034 <bp-sym.h> and <bp-asm.h>.
6035 (strncmp): Don't use BP_SYM.
6036 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6037 <bp-sym.h> and <bp-asm.h>.
6038 (__strnlen): Don't use BP_SYM.
6039 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6040 <bp-asm.h>.
6041 (__mpn_rshift): Don't use BP_SYM.
6042 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6043 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6044 <bp-sym.h> and <bp-asm.h>.
6045 (__sigsetjmp): Don't use BP_SYM.
6046 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6047 (L(start_addresses)): Don't use BP_SYM.
6048 (_start): Likewise.
6049 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6050 <bp-asm.h>.
6051 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6052 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6053 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6054 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6055 <bp-asm.h>.
6056 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6057 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6058 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6059 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6060 <bp-asm.h>.
6061 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6062 comments.
6063 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6064 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6065 <bp-asm.h>.
6066 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6067 FIXME comments.
6068 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6069 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6070 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6071 <bp-asm.h>.
6072 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6073 comment.
6074 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6075 and <bp-asm.h>.
6076 (strncmp): Don't use BP_SYM,
6077 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6078 <bp-asm.h>.
6079 (__mpn_sub_n): Don't use BP_SYM.
6080 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6081 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6082 and <bp-asm.h>.
6083 (__mpn_submul_1): Don't use BP_SYM.
6084 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6086 <bp-sym.h> and <bp-asm.h>.
6087 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6089 <bp-sym.h> and <bp-asm.h>.
6090 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6091 comment.
6092
8d19fe64
SP
60932013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6094
6095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6096 Use ZK to minimize writes to Z.
6097 (sub_magnitudes): Simplify code a bit.
6098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6099 Use ZK to minimize writes to Z.
6100 (sub_magnitudes): Simplify code a bit.
6101
85bd816a
RM
61022013-02-27 Roland McGrath <roland@hack.frob.com>
6103
6104 * csu/gmon-start.c: Add special exception to license text.
6105
b5977bf2
RH
61062013-02-27 Richard Henderson <rth@redhat.com>
6107
6108 * scripts/config.guess: Update from config.git.
6109 * scripts/config.sub: Likewise.
6110
11d6e2f2
SP
61112013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6112
09c14ed2
SP
6113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6114
a688864e
SP
6115 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6116
6295157a
SP
6117 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6118
b8de2202
SP
6119 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6120
11d6e2f2
SP
6121 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6122
7e80ddb8
RM
61232013-02-26 Roland McGrath <roland@hack.frob.com>
6124
6125 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6126 [$(build-shared = yes].
7e80ddb8 6127
7da6d9ed
SP
61282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6129
45f05884
SP
6130 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6131 (__mul): Reduce iterations for calculating mantissa.
6132
2236d359
SP
6133 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6134 MPTWO.
6135 (__mpranred): Likewise.
6136
7da6d9ed
SP
6137 [BZ #15160]
6138 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6139 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6140
b7688c42
PE
61412013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6142
6143 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6144 Define __attribute__.
6145
53a5c423
SP
61462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6147
6148 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6149 unused.
6150 * posix/regex_internal.h (__attribute): Remove.
6151 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6152 (re_string_context_at): Likewise.
6153 (bitset_not): Use __attribute__ and mark function as possibly
6154 unused.
6155 (bitset_merge): Likewise.
6156 (bitset_mask): Likewise.
6157 (re_string_char_size_at): Likewise.
6158 (re_string_wchar_at): Likewise.
6159 (re_string_elem_size_at): Likewise.
6160
60f5a8b5
SP
61612013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6162
2a983a2e
SP
6163 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6164 code.
6165 (cc32): Likewise.
6166
e69804d1
SP
6167 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6168 (__acr): Likewise.
6169 (__cpy): Likewise.
6170 (norm): Likewise.
6171 (denorm): Likewise.
6172 (__dbl_mp): Likewise.
6173 (add_magnitudes): Likewise.
6174 (sub_magnitudes): Likewise.
6175 (__mul): Likewise.
6176 (__inv): Likewise.
6177
2f22a1e8
SP
6178 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6179 style.
6180
8930ddc7
SP
6181 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6182 style.
6183
dc60cb11
SP
6184 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6185 code.
6186
60f5a8b5
SP
6187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6188 up changes with default code.
6189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6190 Likewise.
6191
b4d1fd33
AM
61922013-02-24 Allan McRae <allan@archlinux.org>
6193
faf6f8bc
AM
6194 * manual/socket.texi (The Internet Namespace): Order menu items
6195 to match that in the file.
6196
b4d1fd33
AM
6197 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6198 node listing of the info page menu.
6199
2366713d
JM
62002013-02-21 Joseph Myers <joseph@codesourcery.com>
6201
6202 [BZ #13550]
6203 * sysdeps/i386/bp-asm.h: Remove file.
6204 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6205 (PARMS): Do not use macros from bp-asm.h.
6206 (S1): Likewise.
6207 (S2): Likewise.
6208 (SIZE): Likewise.
6209 (__mpn_add_n): Do not use BP_SYM
6210 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6211 "bp-asm.h".
6212 (PARMS): Do not use macros from bp-asm.h.
6213 (S1): Likewise.
6214 (SIZE): Likewise.
6215 (__mpn_addmul_1): Do not use BP_SYM
6216 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6217 "bp-asm.h".
6218 (PARMS): Do not use macros from bp-asm.h.
6219 (SIGMSK): Likewise.
6220 (_setjmp): Likewise. Do not use BP_SYM.
6221 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6222 "bp-asm.h".
6223 (PARMS): Do not use macros from bp-asm.h.
6224 (SIGMSK): Likewise.
6225 (setjmp): Likewise. Do not use BP_SYM.
6226 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6227 "bp-asm.h".
6228 (PARMS): Do not use macros from bp-asm.h.
6229 (__frexp): Do not use BP_SYM.
6230 (frexp): Likewise.
6231 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6232 "bp-asm.h".
6233 (PARMS): Do not use macros from bp-asm.h.
6234 (__frexpf): Do not use BP_SYM.
6235 (frexpf): Likewise.
6236 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6237 "bp-asm.h".
6238 (PARMS): Do not use macros from bp-asm.h.
6239 (__frexpl): Do not use BP_SYM.
6240 (frexpl): Likewise.
6241 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6242 "bp-asm.h".
6243 (PARMS): Do not use macros from bp-asm.h.
6244 (__remquo): Do not use BP_SYM.
6245 (remquo): Likewise.
6246 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6247 "bp-asm.h".
6248 (PARMS): Do not use macros from bp-asm.h.
6249 (__remquof): Do not use BP_SYM.
6250 (remquof): Likewise.
6251 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6252 "bp-asm.h".
6253 (PARMS): Do not use macros from bp-asm.h.
6254 (__remquol): Do not use BP_SYM.
6255 (remquol): Likewise.
6256 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6257 "bp-asm.h".
6258 (PARMS): Do not use macros from bp-asm.h.
6259 (DEST): Likewise.
6260 (SRC): Likewise.
6261 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6262 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6263 "bp-asm.h".
6264 (PARMS): Do not use macros from bp-asm.h.
6265 (strlen): Do not use BP_SYM.
6266 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6267 "bp-asm.h".
6268 (PARMS): Do not use macros from bp-asm.h.
6269 (S1): Likewise.
6270 (S2): Likewise.
6271 (SIZE): Likewise.
6272 (__mpn_add_n): Do not use BP_SYM.
6273 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6274 "bp-asm.h".
6275 (PARMS): Do not use macros from bp-asm.h.
6276 (S1): Likewise.
6277 (SIZE): Likewise.
6278 (__mpn_addmul_1): Do not use BP_SYM.
6279 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6280 weak_alias.
6281 (bzero): Likewise.
6282 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6283 "bp-asm.h".
6284 (PARMS): Do not use macros from bp-asm.h.
6285 (S): Likewise.
6286 (SIZE): Likewise.
6287 (__mpn_lshift): Do not use BP_SYM.
6288 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6289 "bp-asm.h".
6290 (PARMS): Do not use macros from bp-asm.h.
6291 (DEST): Likewise.
6292 (SRC): Likewise.
6293 (LEN): Likewise.
6294 (memcpy): Likewise. Do not use BP_SYM.
6295 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6296 libc_hidden_def and weak_alias.
6297 (mempcpy): Do not use BP_SYM in weak_alias.
6298 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6299 "bp-asm.h".
6300 (PARMS): Do not use macros from bp-asm.h.
6301 (DEST): Likewise.
6302 (LEN): Likewise.
6303 [!BZERO_P] (CHR): Likewise.
6304 (memset): Likewise. Do not use BP_SYM.
6305 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6306 "bp-asm.h".
6307 (PARMS): Do not use macros from bp-asm.h.
6308 (S1): Likewise.
6309 (SIZE): Likewise.
6310 (__mpn_mul_1): Do not use BP_SYM.
6311 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6312 "bp-asm.h".
6313 (PARMS): Do not use macros from bp-asm.h.
6314 (S): Likewise.
6315 (SIZE): Likewise.
6316 (__mpn_rshift): Do not use BP_SYM.
6317 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6318 "bp-asm.h".
6319 (PARMS): Do not use macros from bp-asm.h.
6320 (STR): Likewise.
6321 (CHR): Likewise.
6322 (strchr): Likewise. Do not use BP_SYM.
6323 (index): Do not use BP_SYM in weak_alias.
6324 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6325 "bp-asm.h".
6326 (PARMS): Do not use macros from bp-asm.h.
6327 (DEST): Likewise.
6328 (SRC): Likewise.
6329 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6330 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6331 "bp-asm.h".
6332 (PARMS): Do not use macros from bp-asm.h.
6333 (strlen): Do not use BP_SYM.
6334 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6335 "bp-asm.h".
6336 (PARMS): Do not use macros from bp-asm.h.
6337 (S1): Likewise.
6338 (S2): Likewise.
6339 (SIZE): Likewise.
6340 (__mpn_sub_n): Do not use BP_SYM.
6341 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6342 "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (S1): Likewise.
6345 (SIZE): Likewise.
6346 (__mpn_submul_1): Do not use BP_SYM.
6347 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6348 "bp-asm.h".
6349 (PARMS): Do not use macros from bp-asm.h.
6350 (S1): Likewise.
6351 (S2): Likewise.
6352 (SIZE): Likewise.
6353 (__mpn_add_n): Do not use BP_SYM.
6354 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6355 weak_alias.
6356 (bzero): Likewise.
6357 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6358 "bp-asm.h".
6359 (PARMS): Do not use macros from bp-asm.h.
6360 (BLK2): Likewise.
6361 (LEN): Likewise.
6362 (memcmp): Do not use BP_SYM.
6363 (bcmp): Do not use BP_SYM in weak_alias.
6364 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6365 "bp-asm.h".
6366 (PARMS): Do not use macros from bp-asm.h.
6367 (DEST): Likewise.
6368 (SRC): Likewise.
6369 (LEN): Likewise.
6370 (memcpy): Likewise. Do not use BP_SYM.
6371 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6372 "bp-asm.h".
6373 (PARMS): Do not use macros from bp-asm.h.
6374 (DEST): Likewise.
6375 (SRC): Likewise.
6376 (LEN): Likewise.
6377 (memmove): Likewise. Do not use BP_SYM.
6378 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6379 "bp-asm.h".
6380 (PARMS): Do not use macros from bp-asm.h.
6381 (DEST): Likewise.
6382 (SRC): Likewise.
6383 (LEN): Likewise.
6384 (__mempcpy): Likewise. Do not use BP_SYM.
6385 (mempcpy): Do not use BP_SYM in weak_alias.
6386 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6387 "bp-asm.h".
6388 (PARMS): Do not use macros from bp-asm.h.
6389 (DEST): Likewise.
6390 (LEN): Likewise.
6391 [!BZERO_P] (CHR): Likewise.
6392 (memset): Likewise. Do not use BP_SYM.
6393 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6394 "bp-asm.h".
6395 (PARMS): Do not use macros from bp-asm.h.
6396 (STR2): Likewise.
6397 (strcmp): Do not use BP_SYM.
6398 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6399 "bp-asm.h".
6400 (PARMS): Do not use macros from bp-asm.h.
6401 (STR): Likewise.
6402 (DELIM): Likewise.
6403 [USE_AS_STRTOK_R] (SAVE): Likewise.
6404 (FUNCTION): Likewise. Do not use BP_SYM.
6405 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6406 aliases.
6407 (strtok_r): Likewise.
6408 (__GI___strtok_r): Likewise.
6409 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6410 (PARMS): Do not use macros from bp-asm.h.
6411 (S): Likewise.
6412 (SIZE): Likewise.
6413 (__mpn_lshift): Do not use BP_SYM.
6414 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6415 (PARMS): Do not use macros from bp-asm.h.
6416 (STR): Likewise.
6417 (CHR): Likewise.
6418 (__memchr): Do not use BP_SYM.
6419 (memchr): Do not use BP_SYM in weak_alias.
6420 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6421 (PARMS): Do not use macros from bp-asm.h.
6422 (BLK2): Likewise.
6423 (LEN): Likewise.
6424 (memcmp): Do not use BP_SYM.
6425 (bcmp): Do not use BP_SYM in weak_alias.
6426 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6427 (PARMS): Do not use macros from bp-asm.h.
6428 (S1): Likewise.
6429 (SIZE): Likewise.
6430 (__mpn_mul_1): Do not use BP_SYM.
6431 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6432 "bp-asm.h".
6433 (PARMS): Do not use macros from bp-asm.h.
6434 (STR): Likewise.
6435 (CHR): Likewise.
6436 (__rawmemchr): Do not use BP_SYM.
6437 (rawmemchr): Do not use BP_SYM in weak_alias.
6438 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6439 (PARMS): Do not use macros from bp-asm.h.
6440 (S): Likewise.
6441 (SIZE): Likewise.
6442 (__mpn_rshift): Do not use BP_SYM.
6443 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6444 (PARMS): Do not use macros from bp-asm.h.
6445 (SIGMSK): Likewise.
6446 (__sigsetjmp): Likewise. Do not use BP_SYM.
6447 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6448 (_start): Do not use BP_SYM.
6449 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6450 (PARMS): Do not use macros from bp-asm.h.
6451 (DEST): Likewise.
6452 (SRC): Likewise.
6453 (__stpcpy): Likewise. Do not use BP_SYM.
6454 (stpcpy): Do not use BP_SYM in weak_alias.
6455 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6456 "bp-asm.h".
6457 (PARMS): Do not use macros from bp-asm.h.
6458 (DEST): Likewise.
6459 (SRC): Likewise.
6460 (LEN): Likewise.
6461 (__stpncpy): Likewise. Do not use BP_SYM.
6462 (stpncpy): Do not use BP_SYM in weak_alias.
6463 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6464 (PARMS): Do not use macros from bp-asm.h.
6465 (STR): Likewise.
6466 (CHR): Likewise.
6467 (strchr): Likewise. Do not use BP_SYM.
6468 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6469 "bp-asm.h".
6470 (PARMS): Do not use macros from bp-asm.h.
6471 (STR): Likewise.
6472 (CHR): Likewise.
6473 (__strchrnul): Likewise. Do not use BP_SYM.
6474 (strchrnul): Do not use BP_SYM in weak_alias.
6475 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6476 "bp-asm.h".
6477 (PARMS): Do not use macros from bp-asm.h.
6478 (STOP): Likewise.
6479 (strcspn): Do not use BP_SYM.
6480 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6481 "bp-asm.h".
6482 (PARMS): Do not use macros from bp-asm.h.
6483 (STR): Likewise.
6484 (STOP): Likewise.
6485 (strpbrk): Likewise. Do not use BP_SYM.
6486 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6487 "bp-asm.h".
6488 (PARMS): Do not use macros from bp-asm.h.
6489 (STR): Likewise.
6490 (CHR): Likewise.
6491 (strrchr): Likewise. Do not use BP_SYM.
6492 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6493 (PARMS): Do not use macros from bp-asm.h.
6494 (SKIP): Likewise.
6495 (strspn): Do not use BP_SYM.
6496 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6497 (PARMS): Do not use macros from bp-asm.h.
6498 (STR): Likewise.
6499 (DELIM): Likewise.
6500 (SAVE): Likewise.
6501 (FUNCTION): Likewise. Do not use BP_SYM.
6502 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6503 aliases.
6504 (strtok_r): Likewise.
6505 (__GI___strtok_r): Likewise.
6506 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6507 (PARMS): Do not use macros from bp-asm.h.
6508 (S1): Likewise.
6509 (S2): Likewise.
6510 (SIZE): Likewise.
6511 (__mpn_sub_n): Do not use BP_SYM.
6512 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6513 "bp-asm.h".
6514 (PARMS): Do not use macros from bp-asm.h.
6515 (S1): Likewise.
6516 (SIZE): Likewise.
6517 (__mpn_submul_1): Do not use BP_SYM.
6518 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6519 <bp-sym.h>.
6520 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6521 and <bp-asm.h>.
6522 (PARMS): Do not use macros from bp-asm.h.
6523 (FLAGS): Likewise.
6524 (PTID): Likewise.
6525 (TLS): Likewise.
6526 (CTID): Likewise.
6527 (__clone): Do not use BP_SYM.
6528 (clone): Do not use BP_SYM in weak_alias.
6529 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6530 and <bp-asm.h>.
6531 (PARMS): Do not use macros from bp-asm.h.
6532 (LEN): Likewise.
6533 (__mmap64): Do not use BP_SYM.
6534 (mmap64): Do not use BP_SYM in weak_alias.
6535 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6536 <bp-sym.h> and <bp-asm.h>.
6537 (PARMS): Do not use macros from bp-asm.h.
6538 (__posix_fadvise64_l64): Do not use BP_SYM.
6539 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6540 (PARMS): Do not use macros from bp-asm.h.
6541 (NSOPS): Likewise.
6542 (semtimedop): Do not use BP_SYM.
6543 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6544 and <bp-asm.h>.
6545
582a3cff
AM
65462013-02-21 Allan McRae <allan@archlinux.org>
6547
6548 * manual/message.texi (Charset conversion in gettext):
6549 Move @end statement to beginning of line.
6550
bab8a695
SP
65512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6552
80945231
SP
6553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6554 static.
6555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6556 Likewise.
6557
bab8a695
SP
6558 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6559 (denorm): Likewise.
6560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6562
e21d7aa7
AK
65632013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6564
6565 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6566 tail-call to the resolved function if pltexit isn't needed.
6567
4c7a4263
SP
65682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6569
6570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6571 or Y being zero as being unlikely.
6572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6573 Likewise.
6574
41f49342
CD
65752013-02-20 Carlos O'Donell <carlos@redhat.com>
6576
6577 * manual/nss.texi (System Databases and Name Service Switch):
6578 Remove frobnicate @pxref.
6579
50022a93
TS
65802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6581
6582 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6583 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6584
08cbd996
PM
65852013-02-20 Petr Machata <pmachata@redhat.com>
6586
6587 * elf/elf.h (R_ARM_TARGET1): New macro.
6588 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6589 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6590 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6591 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6592 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6593 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6594 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6595 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6596 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6597 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6598 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6599 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6600 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6601 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6602 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6603 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6604 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6605 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6606 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6607 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6608 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6609 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6610 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6611 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6612 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6613 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6614 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6615 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6616 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6617 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6618 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6619 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6620 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6621 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6622 (R_ARM_THM_GOT_BREL12): Likewise.
6623 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6624 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6625 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6626 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6627 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6628 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6629 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6630 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6631 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6632
c7b275d6
TS
66332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6634
6635 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6636 __attribute_used__ to __attribute__ ((unused)).
6637
20cd7fb3
SP
66382013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6639
6640 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6641 powerpc mpa.c.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6643 comment formatting.
6644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6645
92945b52
JM
66462013-02-19 Joseph Myers <joseph@codesourcery.com>
6647
6648 [BZ #13550]
6649 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6650 Remove macro.
6651 (ENTER): Remove both macro definitions.
6652 (LEAVE): Likewise.
6653 (CHECK_BOUNDS_LOW): Likewise.
6654 (CHECK_BOUNDS_HIGH): Likewise.
6655 (CHECK_BOUNDS_BOTH): Likewise.
6656 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6657 (RETURN_BOUNDED_POINTER): Likewise.
6658 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6659 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6660 (POP_ERRNO_LOCATION_RETURN): Likewise.
6661 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6663 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6664 macros.
6665 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6666 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6667 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6668 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6669 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6670 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6671 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6672 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6673 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6674 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6675 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6676 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6677 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6678 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6679 removed macros.
6680 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6682 macros.
6683 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6684 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6685 * sysdeps/i386/i586/memset.S (memset): Likewise.
6686 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6687 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6688 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6689 macros.
6690 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6691 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6692 Change uses of L(2) to L(out).
6693 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6694 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6695 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6696 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6697 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6698 removed macros.
6699 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6700 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6701 macros.
6702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6703 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6704 (RETURN): Do not use macro LEAVE.
6705 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6706 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6707 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6708 * sysdeps/i386/i686/memset.S (memset): Likewise.
6709 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6710 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6711 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6712 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6713 Likewise.
6714 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6715 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6716 L(1_2) and L(1_3) into L(1).
6717 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6718 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6721 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6722 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6723 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6724 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6725 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6726 macros.
6727 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6728 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6729 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6730 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6731 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6732 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6733 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6734 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6735 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6736 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6737 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6738 * sysdeps/i386/strspn.S (strspn): Likewise.
6739 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6740 conditional code.
6741 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6742 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6743 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6744 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6745 L(1_3) into L(1_1).
6746 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6747 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6748 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6749 macros.
6750 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6751
2389741a
JJ
67522013-02-19 Jakub Jelinek <jakub@redhat.com>
6753
6754 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6755 macro.
6756
2016b3cd
SP
67572013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6758
e4f22324
SP
6759 * math/atest-exp.c (exp_mpn): Remove ROUND.
6760 * math/atest-exp2.c (exp_mpn): Likewise.
6761 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6762
2016b3cd
SP
6763 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6764 * stdlib/tst-tls-atexit-lib.c: Likewise.
6765 * stdlib/tst-tls-atexit.c: Likewise.
6766
4be9b544
MF
67672013-02-18 Mike Frysinger <vapier@gentoo.org>
6768
6769 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6770 and __attribute_alloc_size__.
6771
2f62b9ee
MF
67722013-02-18 Mike Frysinger <vapier@gentoo.org>
6773
6774 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6775 __attribute_alloc_size__.
6776 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6777 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6778
6ff444c4
MF
67792013-02-18 Mike Frysinger <vapier@gentoo.org>
6780
6781 * include/programs/xmalloc.h: New file.
6782 * catgets/gencat.c: Include it.
6783 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6784 * elf/pldd.c: Likewise.
6785 * iconv/iconv_charmap.c: Likewise.
6786 * iconv/iconvconfig.c: Likewise.
6787 * iconv/strtab.c: Likewise.
6788 * locale/programs/locale.c: Likewise.
6789 * locale/programs/localedef.h: Likewise.
6790 * locale/programs/simple-hash.c: Likewise.
6791 * nscd/nscd.h: Likewise.
6792 * nss/makedb.c: Likewise.
6793 * sysdeps/generic/ldconfig.h: Likewise.
6794
be179c8a
SP
67952013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6796
ba384f6e
SP
6797 * Versions.def: Add GLIBC_2.18.
6798 * include/link.h (struct link_map): New member l_tls_dtor_count.
6799 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6800 (__call_tls_dtors): Likewise.
6801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6802 __cxa_thread_atexit_impl.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6804 Likewise.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6806 Likewise.
6807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6810 Likewise.
6811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6813 Likewise.
6814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6815 Likewise.
6816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6818 Likewise.
6819 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6820 (tests): Add test case tst-tls-atexit.
6821 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6822 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6823 (GLIBC_PRIVATE): Add __call_tls_dtors.
6824 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6825 for libstdc++.
6826 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6827 * stdlib/tst-tls-atexit.c: New test case.
6828 * stdlib/tst-tls-atexit-lib.c: New test case.
6829
ffaa74cf 6830 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6831
be179c8a
SP
6832 * elf/Versions (ld): Add _dl_find_dso_for_object.
6833 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6834 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6835 (dl_open_worker): Use _dl_find_dso_for_object.
6836 * elf/dl-sym.c (do_sym): Likewise.
6837 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6838
f78b5caa
AK
68392013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6840
6841 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6842 Syntactic changes only.
6843 (_dl_runtime_profile): Do a tail-call to the resolved function.
6844
29691210
JM
68452013-02-17 Joseph Myers <joseph@codesourcery.com>
6846
6847 [BZ #13550]
6848 * sysdeps/x86_64/bp-asm.h: Remove file.
6849 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6850 <bp-sym.h> and <bp-asm.h>.
6851 (__clone): Do not use BP_SYM.
6852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6853 <bp-sym.h> and <bp-asm.h>.
6854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6855 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6856 "bp-asm.h".
6857 (_setjmp): Do not use BP_SYM.
6858 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6859 "bp-asm.h".
6860 (setjmp): Do not use BP_SYM.
6861 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6862 libc_hidden_def.
6863 (mempcpy): Do not use BP_SYM in weak_alias.
6864 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6865 "bp-asm.h".
6866 (strchr): Do not use BP_SYM.
6867 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6868 "bp-asm.h".
6869 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6870 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6871 (_start): Do not use BP_SYM.
6872 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6873 "bp-asm.h".
6874 (strcat): Do not use BP_SYM.
6875 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6876 "bp-asm.h".
6877 (STRCMP): Do not use BP_SYM.
6878 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6879 "bp-asm.h".
6880 (STRCPY): Do not use BP_SYM.
6881 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6882 "bp-asm.h".
6883 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6884 "bp-asm.h".
6885 (FUNCTION): Do not use BP_SYM.
6886 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6887 weak_alias.
6888 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6889
f238fd19
AJ
68902013-02-17 Andreas Jaeger <aj@suse.de>
6891
6892 * time/Versions: Sort entries.
6893 * string/Versions: Likewise.
6894 * resolv/Versions: Likewise.
6895 * posix/Versions: Likewise.
6896 * iconv/Versions: Likewise.
6897 * elf/Versions: Likewise.
6898 * wcsmbs/Versions: Likewise.
6899
bd07f23c 69002013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6901
22af19f9
SP
6902 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6903 loop termination condition.
6904
4709fe76
SP
6905 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6906 variable to calculate EZ.
6907 (__sqr): Likewise.
2d0e0f29
SP
6908
6909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6910 the lower precision input.
6911
daaa7713
JM
69122013-02-15 Joseph Myers <joseph@codesourcery.com>
6913
6914 [BZ #13550]
6915 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6916 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6917 (run-via-rtld-prefix): Do not handle %-bp tests.
6918 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6919 (all-object-suffixes): Remove .ob.
6920 (bppfx): Remove variable.
6921 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6922 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6923 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6924 [$(build-bounded) = yes] (libtype.ob): Likewise.
6925 * Makerules (elide-routines.ob): Remove variable.
6926 (do-tests-clean): Do not handle *-bp.out.
6927 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6928 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6929 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6930 (tests): Do not include $(tests-bp.out).
6931 (xtests): Do not include $(xtests-bp.out).
6932 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6933 [$(build-bounded) = yes] ($(addprefix
6934 $(objpfx),$(binaries-bounded))): Remove rule.
6935 ($(objpfx)%-bp.out): Remove rule.
6936 * config.make.in (build-bounded): Remove variable.
6937 * crypt/Makefile [$(build-bounded) = yes]
6938 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6939 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6940 append to variable.
6941 [$(build-bounded) = yes] (install-lib): Likewise.
6942 [$(build-bounded) = yes] (generated): Likewise.
6943 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6944 Remove rule.
6945 * intl/Makefile [$(build-bounded) = yes]
6946 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6947 * math/Makefile [$(build-bounded) = yes]
6948 ($(tests:%=$(objpfx)%-bp): Likewise.
6949 * misc/Makefile [$(build-bounded) = yes]
6950 ($(objpfx)tst-tsearch-bp): Likewise.
6951 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6952 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6953 Remove dependency.
6954 * string/Makefile (o-objects.ob): Remove variable.
6955 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6956 (CFLAGS-.ob): Remove variable.
6957 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6958 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6959 both definitions of variable.
6960 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6961 (ASFLAGS-.ob): Remove variable.
6962
e97ed6dd
JM
69632013-02-14 Joseph Myers <joseph@codesourcery.com>
6964
2bdd4ca6
JM
6965 [BZ #13550]
6966 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6967 Remove __BOUNDED_POINTERS__ from condition.
6968 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6969 * string/bits/string2.h [!__NO_STRING_INLINES &&
6970 !__BOUNDED_POINTERS__]: Likewise.
6971 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6972 Likewise.
6973 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6974 Remove conditional code.
6975 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6976 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6977 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6978 condition.
6979
e97ed6dd
JM
6980 [BZ #13550]
6981 * csu/libc-start.c: Do not include <bp-sym.h>.
6982 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6983 * elf/dl-open.c: Do not include <bp-sym.h>.
6984 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6985 * math/fegetenv.c: Do not include <bp-sym.h>.
6986 (fegetenv): Do not use BP_SYM in versioned symbols.
6987 * nptl/sysdeps/pthread/bits/libc-lockP.h
6988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6989 <bp-sym.h>.
6990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6991 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6993 (__pthread_mutex_destroy): Likewise.
6994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6995 (__pthread_mutex_lock): Likewise.
6996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6997 (__pthread_mutex_trylock): Likewise.
6998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6999 (__pthread_mutex_unlock): Likewise.
7000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7001 (__pthread_mutexattr_init): Likewise.
7002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7003 (__pthread_mutexattr_destroy): Likewise.
7004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7005 (__pthread_mutexattr_settype): Likewise.
7006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7007 (__pthread_rwlock_init): Likewise.
7008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7009 (__pthread_rwlock_destroy): Likewise.
7010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7011 (__pthread_rwlock_rdlock): Likewise.
7012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7013 (__pthread_rwlock_tryrdlock): Likewise.
7014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7015 (__pthread_rwlock_wrlock): Likewise.
7016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7017 (__pthread_rwlock_trywrlock): Likewise.
7018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7019 (__pthread_rwlock_unlock): Likewise.
7020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7021 (__pthread_key_create): Likewise.
7022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7023 (__pthread_setspecific): Likewise.
7024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7025 (__pthread_getspecific): Likewise.
7026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7027 Likewise.
7028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7029 (_pthread_cleanup_push_defer): Likewise.
7030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7031 (_pthread_cleanup_pop_restore): Likewise.
7032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7033 (pthread_setcancelstate): Likewise.
7034 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7035 <bp-sym.h>.
7036 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7037 (memchr): Do not use BP_SYM in weak_alias.
7038 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7039 (fegetenv): Do not use BP_SYM in versioned symbols.
7040 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7041 (fesetenv): Do not use BP_SYM in versioned symbols.
7042 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7043 (feupdateenv): Do not use BP_SYM in versioned symbols.
7044 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7045 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7046 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7047 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7048 (open64): Do not use BP_SYM in weak_alias.
7049 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7050 (fegetenv): Do not use BP_SYM in versioned symbols.
7051 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7052 (fesetenv): Do not use BP_SYM in versioned symbols.
7053 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7054 (feupdateenv): Do not use BP_SYM in versioned symbols.
7055 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7056 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7057 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7058 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7059 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7060 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7061 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7062 <bp-sym.h>.
7063 (__libc_start_main): Do not use BP_SYM.
7064
d6752ccd
SP
70652013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7066
cb57ce60
SP
7067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7068 redundant return line.
7069 (norm): Likewise.
7070 (denorm): Likewise.
7071 (dbl_mp): Likewise.
7072 (sub_magnitudes): Likewise.
7073 (__add): Likewise.
7074 (__sub): Likewise.
7075 (__mul): Likewise.
7076 (__inv): Likewise.
7077 (__dvd): Likewise.
7078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7079 (norm): Likewise.
7080 (denorm): Likewise.
7081 (dbl_mp): Likewise.
7082 (sub_magnitudes): Likewise.
7083 (__add): Likewise.
7084 (__sub): Likewise.
7085 (__mul): Likewise.
7086 (__inv): Likewise.
7087 (__dvd): Likewise.
7088
f414520d
SP
7089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7090 instead of __mul.
7091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7092 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7093 (cc32): Likewise.
7094
d6752ccd
SP
7095 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7096 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7098 of __mul for squares.
7099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7100 function
7101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7102 Likewise.
7103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7105
70d9946a
JM
71062013-02-13 Joseph Myers <joseph@codesourcery.com>
7107
7108 [BZ #13550]
7109 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7110 code.
7111 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7112 prototype or function definition. Rename ubp_* variables and
7113 parameters. Remove argv definitions conditional on
7114 [__BOUNDED_POINTERS__].
7115 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7116 * elf/dl-runtime.c (_dl_fixup): Likewise.
7117 * include/set-hooks.h (RUN_HOOK): Likewise.
7118 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7119 definition.
7120 * string/strcpy.c (strcpy): Do not use __unbounded.
7121 * sysdeps/generic/frame.h (struct layout): Likewise.
7122 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7123 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7124 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7125 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7126 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7127 (__backtrace): Likewise.
7128 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7129 use __ptrvalue.
7130 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7131 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7132 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7133 Likewise.
7134 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7135 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7136 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7137 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7138 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7139 Do not use __unbounded.
7140 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7141 Rename __unboundedrlimits parameter to rlimits in prototype.
7142 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7143 Do not use __unbounded.
7144 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7145 not use __ptrvalue.
7146 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7147 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7148 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7149 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7150 __ptrvalue or __unbounded.
7151 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7152 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7153 use __unbounded.
7154 (__new_msgctl): Do not use __ptrvalue.
7155 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7156 __unbounded.
7157 (__libc_msgrcv): Do not use __ptrvalue.
7158 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7159 startup_info): Do not use __unbounded.
7160 (__libc_start_main): Likewise. Rename ubp_* variables and
7161 parameters. Remove argv definitions conditional on
7162 [__BOUNDED_POINTERS__].
7163 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7164 __ptrvalue.
7165 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7166 use __unbounded.
7167 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7168 or __ptrvalue.
7169 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7170 use __unbounded.
7171 (__new_shmctl): Do not use __ptrvalue.
7172 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7173 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7174 Likewise.
7175 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7177 (__libc_sigaction): Likewise.
7178 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7179 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7180 Likewise.
7181 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7182
cc7834d6
OB
71832013-02-13 Ondřej Bílka <neleai@seznam.cz>
7184
ffb1ec7b 7185 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7186
7187 * string/mempcpy.c: Implement by calling memcpy.
7188
bdf02814
SP
71892013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
c2af38aa
SP
7191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7192
4e92d59e
SP
7193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7194 evaluation.
7195
909279a5
SP
7196 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7197 values in the mantissa.
7198
bdf02814
SP
7199 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7200 minimize writes to Z.
7201 (sub_magnitudes): Simplify code a bit.
7202
cd525923
RM
72032013-02-12 Roland McGrath <roland@hack.frob.com>
7204
7205 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7206 from the message. The linker prefixes all warnings with that already.
7207
7e2f0d2d
AS
72082013-02-12 Andreas Schwab <schwab@suse.de>
7209
a445af0b
AS
7210 [BZ #15078]
7211 * posix/regexec.c (extend_buffers): Add parameter min_len.
7212 (check_matching): Pass minimum needed length.
7213 (clean_state_log_if_needed): Likewise.
7214 (get_subexp): Likewise.
7215 * posix/Makefile (tests): Add bug-regex34.
7216 (bug-regex34-ENV): Define.
7217 * posix/bug-regex34.c: New file.
7218
7e2f0d2d
AS
7219 [BZ #11561]
7220 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7221 elements compare against the byte sequence of it, not its name.
7222 * posix/Makefile (tests): Add bug-regex35.
7223 (bug-regex35-ENV): Define.
7224 * posix/bug-regex35.c: New file.
7225
a175b684
TV
72262013-02-11 Tom de Vries <tom@codesourcery.com>
7227
7228 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7229 comment.
7230 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7231 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7232 (CHECK_EOL): Add undef.
7233
310998fe 72342013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7235
7236 * bits/stdlib-bsearch.h: New file.
7237 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7238 * stdlib/stdlib.h: Likewise.
41eda41d 7239
8ded91fb
RM
72402013-02-11 Roland McGrath <roland@hack.frob.com>
7241
7242 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7243 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7244 declaration.
7245 * manual/search.texi (Array Search Function): Add missing const in
7246 lfind prototype.
7247 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7248 declaration to use rlim_t.
7249 (Basic Scheduling Functions): Remove erroneous const from
7250 sched_getparam prototype. Remove erroneous * from
7251 sched_get_priority_max and sched_get_priority_min prototypes.
7252 (Resource Usage): Fix summary @comment on vtimes to refer to
7253 sys/vtimes.h rather than vtimes.h.
7254 Add missing *s in vtimes prototype.
7255 (Limits on Resources): Fix ulimit prototype to return long int.
7256 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7257 prototypes to use long int rather than double.
7258 (BSD Random): Fix initstate and setstate to use char *, not void *.
7259 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7260 prototype to make second argument 'struct aiocb64 *const[]'.
7261 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7262 (Status of AIO Operations): Remove erroneous const in aio_return and
7263 aio_return64 prototypes.
7264 (Synchronizing I/O): Fix sync prototype to return void.
7265 * manual/startup.texi (Suboptions): Remove an erroneous const in
7266 getsubopt prototype.
7267 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7268 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7269 use size_t rather than int.
7270 (Scanning All Users): Likewise for getpwent_r.
7271 (Setting Groups): Add missing const to setgroups prototype.
7272 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7273 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7274 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7275 'const void *' rather than 'const char *'.
7276 (Host Address Functions): Likewise for inet_ntop.
7277 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7278 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7279 ssize_t for return value.
7280 (Sending Data): Likewise for send, sendto, sendmsg.
7281 (Socket Option Functions): Add a missing const in setsockopt prototype.
7282 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7283 use wchar_t for the argument.
7284 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7285 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7286 take no arguments.
7287 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7288 double/float/long double for second argument.
7289 Fix return types of significand, significandf, significandl.
7290 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7291 argument in fchmod prototype.
7292 (File Owner): Use uid_t and gid_t in fchown prototype.
7293 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7294 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7295 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7296 use 'const struct dirent **' as argument types to CMP function pointer
7297 argument.
7298 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7299 (File Times): Fix summary magic @comment for struct utimbuf and utime
7300 to refer to utime.h, not time.h.
7301 * manual/string.texi (Argz Functions): Add missing const in
7302 argz_extract and argz_next prototypes.
7303 (Finding Tokens in a String): Likewise for basename.
7304 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7305 (Copying and Concatenation): Fix typo in wmemmove prototype.
7306 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7307 (Signal Stack): Remove erroneous const in sigstack prototype.
7308 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7309 prototype.
7310 (Simple Calendar Time): Likewise for stime.
7311 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7312 prototype.
7313 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7314 say sys/sysctl.h instead.
7315 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7316 and vsyslog prototypes.
7317
fe77fe6d
TV
73182013-02-11 Tom de Vries <tom@codesourcery.com>
7319
7320 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7321 Remove.
7322
3a09b620
RM
73232013-02-11 Roland McGrath <roland@hack.frob.com>
7324
7325 * misc/sys/mman.h: Fix typo in mremap comment.
7326
550a0b89
RM
73272013-02-08 Roland McGrath <roland@hack.frob.com>
7328
7329 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7330 the '\0' terminator.
7331
a2da1673
JM
73322013-02-08 Joseph Myers <joseph@codesourcery.com>
7333
7334 [BZ #13550]
7335 * debug/segfault.c: Don't include <bp-checks.h>.
7336 * sysdeps/generic/bp-checks.h: Remove file.
7337 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7338 (__GETDENTS): Don't use CHECK_N.
7339 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7340 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7341 (__getgroups): Don't use CHECK_N.
7342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7343 (setgroups): Don't use CHECK_N.
7344 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7345 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7346 (__libc_msgrcv): Don't use CHECK_N.
7347 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7348 (__libc_msgsnd): Don't use CHECK_N.
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7350 <bp-checks.h>.
7351 (__libc_pread): Don't use CHECK_N.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7353 include <bp-checks.h>.
7354 (__libc_pread64): Don't use CHECK_N.
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7356 include <bp-checks.h>.
7357 (__libc_pwrite): Don't use CHECK_N.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7359 include <bp-checks.h>.
7360 (__libc_pwrite64): Don't use CHECK_N.
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7362 <bp-checks.h>.
7363 (__libc_pread): Don't use CHECK_N.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7365 include <bp-checks.h>.
7366 (__libc_pread64): Don't use CHECK_N.
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7368 include <bp-checks.h>.
7369 (__libc_pwrite): Don't use CHECK_N.
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7371 include <bp-checks.h>.
7372 (__libc_pwrite64): Don't use CHECK_N.
7373 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7374 (do_pread): Don't use CHECK_N.
7375 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7376 (do_pread64): Don't use CHECK_N.
7377 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7378 (do_pwrite): Don't use CHECK_N.
7379 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7380 (do_pwrite64): Don't use CHECK_N.
7381 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7382 (__libc_readv): Don't use CHECK_N.
7383 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7384 (semop): Don't use CHECK_N.
7385 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7386 <bp-checks.h>.
7387 (semtimedop): Don't use CHECK_N.
7388 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7389 (__libc_pread): Don't use CHECK_N.
7390 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7391 <bp-checks.h>.
7392 (__libc_pread64): Don't use CHECK_N.
7393 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7394 <bp-checks.h>.
7395 (__libc_pwrite): Don't use CHECK_N.
7396 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7397 <bp-checks.h>.
7398 (__libc_pwrite64): Don't use CHECK_N.
7399 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7400 <bp-checks.h>.
7401 (__libc_msgrcv): Don't use CHECK_N.
7402 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7403 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7404 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7405 (__libc_writev): Don't use CHECK_N.
7406
b84660a8
RM
74072013-02-08 Roland McGrath <roland@hack.frob.com>
7408
7f3e75f8
RM
7409 * string/strcpy.c: Removed unused variable.
7410
b84660a8
RM
7411 * Makeconfig (+sysdep-includes): Define with := rather than =.
7412 Use an existing include/ subdir of each sysdeps dir before it.
7413
471514d3
CD
74142013-02-08 Carlos O'Donell <carlos@redhat.com>
7415
7416 * nscd/connection.c (register_traced_file): Comment function.
7417 [HAVE_INOTIFY] (union __inev): Define.
7418 [HAVE_INOTIFY] (inotify_check_files): New function.
7419 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7420 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7421 clear_db_cache.
7422 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7423
b2d3c3be
CD
74242013-02-08 Carlos O'Donell <carlos@redhat.com>
7425
7426 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7427 loaded if not already and that a failure is permanent.
7428
b39949d2
CD
74292013-02-08 Carlos O'Donell <carlos@redhat.com>
7430
ddacd1db 7431 [BZ #15006]
b39949d2
CD
7432 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7433 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7434
b2c9eff4
JM
74352013-02-08 Joseph Myers <joseph@codesourcery.com>
7436
f3aae3f3
JM
7437 [BZ #13550]
7438 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7439 (CHECK_1_NULL_OK): Likewise.
7440 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7441 (__fxstat): Do not use CHECK_1.
7442 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7443 <bp-checks.h>.
7444 (___fxstat64): Do not use CHECK_1.
7445 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7446 <bp-checks.h>.
7447 (__fxstatat): Do not use CHECK_1.
7448 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7449 <bp-checks.h>.
7450 (__fxstatat64): Do not use CHECK_1.
7451 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7452 <bp-checks.h>.
7453 (__fxstat): Do not use CHECK_1.
7454 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7455 <bp-checks.h>.
7456 (__fxstatat): Do not use CHECK_1.
7457 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7458 <bp-checks.h>.
7459 (__getresgid): Do not use CHECK_1.
7460 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7461 <bp-checks.h>.
7462 (__getresuid): Do not use CHECK_1.
7463 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7464 <bp-checks.h>.
7465 (__lxstat): Do not use CHECK_1.
7466 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7467 <bp-checks.h>.
7468 (__old_msgctl): Do not use CHECK_1.
7469 (__new_msgctl): Likewise.
7470 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7471 <bp-checks.h>.
7472 (__new_setrlimit): Do not use CHECK_1.
7473 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7474 <bp-checks.h>.
7475 (__old_shmctl): Do not use CHECK_1.
7476 (__new_shmctl): Likewise.
7477 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7478 <bp-checks.h>.
7479 (__xstat): Do not use CHECK_1.
7480 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7481 (__lxstat): Do not use CHECK_1.
7482 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7483 <bp-checks.h>.
7484 (___lxstat64): Do not use CHECK_1.
7485 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7486 (__old_msgctl): Do not use CHECK_1.
7487 (__new_msgctl): Likewise.
7488 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7489 <bp-checks.h>.
7490 (__gettimeofday): Do not use CHECK_1.
7491 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7492 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7493 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7494 <bp-checks.h>.
7495 (__gettimeofday): Do not use CHECK_1.
7496 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7497 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7498 (__new_shmctl): Do not use CHECK_1.
7499 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7500 <bp-checks.h>.
7501 (do_sigtimedwait): Do not use CHECK_1.
7502 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7503 <bp-checks.h>.
7504 (do_sigwaitinfo): Do not use CHECK_1.
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7506 <bp-checks.h>.
7507 (msgctl): Do not use CHECK_1.
7508 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7509 <bp-checks.h>.
7510 (shmctl): Do not use CHECK_1.
7511 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7512 (ustat): Do not use CHECK_1.
7513 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7514 <bp-checks.h>.
7515 (__fxstat): Do not use CHECK_1.
7516 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7517 <bp-checks.h>.
7518 (__fxstatat): Do not use CHECK_1.
7519 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7520 <bp-checks.h>.
7521 (__lxstat): Do not use CHECK_1.
7522 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7523 <bp-checks.h>.
7524 (__xstat): Do not use CHECK_1.
7525 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7526 (__xstat): Do not use CHECK_1.
7527 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7528 (___xstat64): Do not use CHECK_1.
7529
b2c9eff4
JM
7530 [BZ #13550]
7531 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7532 definitions.
7533 (CHECK_BOUNDS_HIGH): Likewise.
7534 * string/strcpy.c: Do not include <bp-checks.h>.
7535 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7536
f1d70dad
RM
75372013-02-07 Roland McGrath <roland@hack.frob.com>
7538
7539 * nscd/nscd-client.h (__nscd_drop_map_ref):
7540 Add __attribute__ ((unused)).
7541 * nis/nss-nisplus.h (niserr2nss): Likewise.
7542
7543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7544 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7545
7546 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7547 Remove inline keyword.
7548 * include/rounding-mode.h (round_away): Likewise.
7549 * libio/wfileops.c (adjust_wide_data): Likewise.
7550 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7551 (__m128i_strloadu_tolower): Likewise.
7552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7553 (__m128i_strloadu_tolower): Likewise.
7554 * time/mktime.c (ydhms_diff): Likewise.
7555 * locale/elem-hash.h (elem_hash): Likewise.
7556 * locale/setlocale.c (setdata): Likewise.
7557 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7558 (re_string_wchar_at): Likewise.
7559 (bitset_not, bitset_merge, bitset_mask): Likewise.
7560 [!(__GNUC__ > 3)] (inline): Remove macro.
7561 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7562 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7563 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7564 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7565 * string/memcmp.c (memcmp_bytes): Likewise.
7566 * locale/programs/locarchive.c (compute_hashval): Likewise.
7567 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7568 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7569 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7570 * nss/getent.c (print_rpc, print_protocols): Likewise.
7571 (print_passwd, print_group, print_aliases): Likewise.
7572 * nis/nss-nisplus.h (niserr2nss): Likewise.
7573 * nscd/connections.c (restart_p): Likewise.
7574 Change return type to bool.
7575
eab55bfb
RM
75762013-02-05 Roland McGrath <roland@hack.frob.com>
7577
7bd642f5
RM
7578 * Makeconfig (all-Depend-files): Add existing
7579 $(sorted-subdirs:=/Depend) files.
7580 (all-subdirs): Remove nss.
7581 * sysdeps/unix/inet/Subdirs: Add it here instead.
7582 * hesiod/Depend: New file.
7583
573c29b2
RM
7584 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7585 instead of calling alloca.
7586
b2e25af0
RM
7587 * io/lseek.c (__lseek): Rename to __libc_lseek.
7588 Define __lseek as an alias.
7589
eab55bfb
RM
7590 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7591
9a0d1941
CD
75922013-02-04 Carlos O'Donell <carlos@redhat.com>
7593
7594 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7595 else clause and remove check for non-standard endianness.
7596
b83bbec4
DM
75972013-02-04 David S. Miller <davem@davemloft.net>
7598
7599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7600
6277fdab
JM
76012013-02-04 Joseph Myers <joseph@codesourcery.com>
7602
7603 [BZ #13550]
7604 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7605 (__ubp_memchr): Remove prototype.
7606 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7607 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7608 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7609 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7610 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7611 Remove alias.
7612 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7613 (__ubp_memchr): Likewise.
7614 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7615 (__ubp_memchr): Likewise.
7616 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7617 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7618 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7619 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7620 CHECK_STRING.
7621 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7622 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7623 (__getcwd): Do not use CHECK_STRING.
7624 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7625 <bp-checks.h>.
7626 (__real_chown): Do not use CHECK_STRING.
7627 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7628 <bp-checks.h>.
7629 (fchownat): Do not use CHECK_STRING.
7630 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7631 CHECK_STRING.
7632 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7633 <bp-checks.h>.
7634 (__lchown): Do not use CHECK_STRING.
7635 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7636 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7637 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7638 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7640 include <bp-checks.h>.
7641 (truncate64): Do not use CHECK_STRING.
7642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7643 <bp-checks.h>.
7644 (__real_chown): Do not use CHECK_STRING.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7646 <bp-checks.h>.
7647 (__lchown): Do not use CHECK_STRING.
7648 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7649 <bp-checks.h>.
7650 (__chown): Do not use CHECK_STRING.
7651 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7652 <bp-checks.h>.
7653 (truncate64): Do not use CHECK_STRING.
7654 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7655 Likewise.
7656 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7657 (__xmknod): Do not use CHECK_STRING.
7658 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7659 <bp-checks.h>.
7660 (__xmknodat): Do not use CHECK_STRING.
7661 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7662 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7663
903ae060
AS
76642013-02-04 Andreas Schwab <schwab@suse.de>
7665
7666 [BZ #14142]
7667 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7668 * include/netdb.h: Likewise for h_errno.
7669 * elf/tst-stackguard1.c: Include <tls.h>.
7670
542f9466
JK
76712013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 * elf/link.h (struct link_map): Extend the l_addr comment.
7674 * include/link.h (struct link_map): Likewise.
7675
e782a927
JM
76762013-02-01 Joseph Myers <joseph@codesourcery.com>
7677
7678 [BZ #13550]
7679 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7680 (BOUNDED_1): Remove macro.
7681 * debug/backtrace.c: Don't include <bp-checks.h>.
7682 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7683 (__backtrace): Likewise.
7684 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7685 <bp-checks.h>.
7686 (__backtrace): Don't use BOUNDED_1.
7687 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7688 <bp-checks.h>.
7689 (__backtrace): Don't use BOUNDED_1.
7690 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7691 (__backtrace): Don't use BOUNDED_1.
7692 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7693 (shmat): Don't use BOUNDED_N.
7694
8cf28c5e
JM
76952013-01-31 Joseph Myers <joseph@codesourcery.com>
7696
3a7ac8a0
JM
7697 [BZ #13550]
7698 * sysdeps/generic/bp-start.h: Remove file.
7699 * csu/libc-start.c: Don't include <bp-start.h>.
7700 (LIBC_START_MAIN): Set up __environ directly instead of using
7701 INIT_ARGV_and_ENVIRON.
7702 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7703 <bp-start.h>.
7704
f3499f95
JM
7705 [BZ #13550]
7706 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7707 definitions.
7708 (CHECK_FCNTL): Likewise.
7709 (CHECK_N_PAGES): Likewise.
7710
32a45bea
JM
7711 [BZ #13550]
7712 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7713 definitions.
7714 (CHECK_SIGSET_NULL_OK): Likewise.
7715 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7716 <bp-checks.h>.
7717 (sigpending): Don't use CHECK_SIGSET.
7718 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7719 <bp-checks.h>.
7720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7721 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7722 <bp-checks.h>.
7723 (do_sigsuspend): Don't use CHECK_SIGSET.
7724 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7725 use CHECK_SIGSET.
7726 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7727 (do_sigwait): Don't use CHECK_SIGSET.
7728 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7729 use CHECK_SIGSET.
7730 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7731 include <bp-checks.h>.
7732 (sigpending): Don't use CHECK_SIGSET.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7734 include <bp-checks.h>.
7735 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7736 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7737 <bp-checks.h>.
7738 (sigpending): Don't use CHECK_SIGSET.
7739 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7740 <bp-checks.h>.
7741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7742
2e8a5c8c
JM
7743 [BZ #13550]
7744 * sysdeps/generic/bp-semctl.h: Remove file.
7745 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7746 <bp-checks.h> and <bp-semctl.h>.
7747 (__old_semctl): Don't use CHECK_SEMCTL.
7748 (__new_semctl): Likewise.
7749 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7750 and <bp-semctl.h>.
7751 (__old_semctl): Don't use CHECK_SEMCTL.
7752 (__new_semctl): Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7754 <bp-checks.h> and <bp-semctl.h>.
7755 (__old_semctl): Don't use CHECK_SEMCTL.
7756 (__new_semctl): Likewise.
7757 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7758 <bp-checks.h> and <bp-semctl.h>.
7759 (semctl): Don't use CHECK_SEMCTL.
7760
c2d54929
JM
7761 [BZ #13550]
7762 * Makerules (elide-bp-thunks): Remove variable.
7763 (elide-routines.oS): Don't use $(elide-bp-thunks).
7764 (elide-routines.os): Likewise.
7765 (elide-routines.o): Likewise.
7766 (elide-routines.op): Likewise.
7767 (elide-routines.og): Likewise.
7768 (objects): Don't use $(bp-thunks).
7769 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7770 include.
7771 (common-generated): Do not add s-proto-bp.d.
7772 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7773 (int): Likewise.
7774 (typ): Likewise.
7775 Do not generate makefile rules for bounded-pointer thunks.
7776 * sysdeps/generic/bp-thunks.h: Remove file.
7777 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7778 * sysdeps/unix/s-proto-bp.S: Likewise.
7779
8cf28c5e
JM
7780 [BZ #15062]
7781 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7782 parts of result separately when argument is not close to line from
7783 -i to i and one part of argument is small.
7784 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7785 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7786 * math/libm-test.inc (cacos_test): Add more tests.
7787 (casin_test): Likewise.
7788 (casinh_test): Likewise.
7789 * sysdeps/i386/fpu/libm-test-ulps: Update.
7790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7791
c4e33b8d
DM
77922013-01-31 David S. Miller <davem@davemloft.net>
7793
7794 * po/de.po: Update from translation team.
7795
3b60b421
MK
77962013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7797
7798 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7799
bb931195
TS
78002013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7801
b5a5da23
TS
7802 * configure.in (_AC_PROG_CC_C89): New definition.
7803 * configure: Regenerate.
7804
bb931195
TS
7805 * configure.in (AC_PROG_CPP): New definition.
7806 * configure: Regenerate.
7807
8c53a12c
JM
78082013-01-23 Joseph Myers <joseph@codesourcery.com>
7809
7810 * debug/tst-backtrace.h: New file.
7811 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7812 (ret): Remove variable.
7813 (x): Likewise.
7814 (FAIL): Remove macro.
7815 (NO_INLINE): Likewise.
7816 (fn1): Use match function instead of strstr.
7817 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7818 (ret): Remove variable.
7819 (x): Likewise.
7820 (FAIL): Remove macro.
7821 (NO_INLINE): Likewise.
7822 (fn): Use match function instead of strstr.
7823 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7824 (ret): Remove variable.
7825 (x): Likewise.
7826 (FAIL): Remove macro.
7827 (NO_INLINE): Likewise.
7828 (handle_signal): Use match function instead of strstr.
7829 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7830 (ret): Remove variable.
7831 (x): Likewise.
7832 (FAIL): Remove macro.
7833 (NO_INLINE): Likewise.
7834 (handle_signal): Use match function instead of strstr.
7835
4858fa2a
RM
78362013-01-23 Roland McGrath <roland@hack.frob.com>
7837
7838 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7839
bae8e7f5
DM
78402013-01-23 David S. Miller <davem@davemloft.net>
7841
7842 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7843 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7844 argument of CAS if possible.
7845 * sysdeps/sparc/sparc64/bits/atomic.h
7846 (__arch_compare_and_exchange_val_32_acq): Likewise.
7847 (__arch_compare_and_exchange_val_64_acq): Likewise.
7848
9cbbc4ae
PT
78492013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7850
7851 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7852 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7853 Include <limits.h>.
67b3f58c 7854 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7855
5655a0b5
AC
78562013-01-23 Adam Conrad <adconrad@0c3.net>
7857
7858 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7859 (LDFLAGS-tst-array5): Likewise.
7860
052aff95
JM
78612013-01-23 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #15036]
7864 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7865 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7866 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7867 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7868
7c1e01aa
DM
78692013-01-21 David S. Miller <davem@davemloft.net>
7870
7871 * sysdeps/sparc/backtrace.c: New file.
7872 * sysdeps/sparc/sparc32/backtrace.h: New file.
7873 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7874 * sysdeps/sparc/sparc64/backtrace.h: New file.
7875 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7876 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7877 -funwind-tables.
7878
ab087e0a
AS
78792013-01-21 Andreas Schwab <schwab@suse.de>
7880
7881 [BZ #15020]
7882 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7883 closed its stdout.
7884
ed689c2f
AS
78852013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7886
7887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7888 "mpa2.h".
7889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7890
31d470ac
JM
78912013-01-18 Joseph Myers <joseph@codesourcery.com>
7892 Mark Mitchell <mark@codesourcery.com>
7893 Tom de Vries <tom@codesourcery.com>
7894 Paul Pluzhnikov <ppluzhnikov@google.com>
7895
7896 * debug/tst-backtrace2.c: New file.
7897 * debug/tst-backtrace3.c: Likewise.
7898 * debug/tst-backtrace4.c: Likewise.
7899 * debug/tst-backtrace5.c: Likewise.
7900 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7901 (CFLAGS-tst-backtrace3.c): Likewise.
7902 (CFLAGS-tst-backtrace4.c): Likewise.
7903 (CFLAGS-tst-backtrace5.c): Likewise.
7904 (LDFLAGS-tst-backtrace2): Likewise.
7905 (LDFLAGS-tst-backtrace3): Likewise.
7906 (LDFLAGS-tst-backtrace4): Likewise.
7907 (LDFLAGS-tst-backtrace5): Likewise.
7908 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7909 tst-backtrace4 and tst-backtrace5.
7910
90567f30 79112013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7912 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7913
7914 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7915 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7917 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7919 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7920 "+r" and remove output regs list as redundant. Add explicit inline
7921 asm to specify register of return val to work around compiler codegen
7922 bug. Remove (int) cast on return value. Add return type parameter to
7923 use in macro so that this macro does not truncate return value for
7924 64-bit values.
7925 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7926 pass to INTERNAL_VSYSCALL_NCS.
7927 (INLINE_VSYSCALL): Add 'long int' as return type to
7928 INTERNAL_VSYSCALL_NCS macro invocation.
7929 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7930 INTERNAL_VSYSCALL_NCS macro invocation.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7932
d3b9ea61
SP
79332013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7934
0b57daeb
SP
7935 [BZ #14496]
7936 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7937 Fix application of SIMD FP exception mask.
7938
caa99d06
SP
7939 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7940 mp_no from a power of two.
7941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7942 __mpexp_twomm1. Use __pow_mp.
7943
d3b9ea61
SP
7944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7945 multiplication.
7946
1dbaee3c
DM
79472013-01-17 David S. Miller <davem@davemloft.net>
7948
7949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7950
728d7b43
JM
79512013-01-17 Joseph Myers <joseph@codesourcery.com>
7952
7953 [BZ #15023]
7954 * include/complex.h: Condition contents on [!_COMPLEX_H].
7955 (__kernel_casinhf): New prototype.
7956 (__kernel_casinh): Likewise.
7957 (__kernel_casinhl): Likewise.
7958 * math/Makefile (libm_calls): Add k_casinh.
7959 * math/k_casinh.c: New file.
7960 * math/k_casinhf.c: Likewise.
7961 * math/k_casinhl.c: Likewise.
7962 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7963 finite nonzero arguments.
7964 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7965 finite nonzero arguments.
7966 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7967 finite nonzero arguments.
7968 * math/s_casinh.c: Do not include <float.h>.
7969 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7970 * math/s_casinhf.c: Do not include <float.h>.
7971 (__casinhf): Move code for finite nonzero arguments to
7972 k_casinhf.c.
7973 * math/s_casinhl.c: Do not include <float.h>.
7974 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7975 redefine.
7976 (__casinhl): Move code for finite nonzero arguments to
7977 k_casinhl.c.
7978 * math/libm-test.inc (cacos_test): Add more tests.
7979 * sysdeps/i386/fpu/libm-test-ulps: Update.
7980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7981
2a26ef3a
PT
79822013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7983
7984 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7985 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7986 [!HAVE_MREMAP]: Remove [defined linux] case.
7987 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7988
a897655d
SP
79892013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7990
7991 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7992
881ebe89 79932013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7994
7995 * elf/elf.h (R_386_SIZE32): New relocation.
7996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7997 R_386_SIZE32.
7998 (elf_machine_rela): Likewise.
7999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8000 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8001
59981e9b
JM
80022013-01-17 Joseph Myers <joseph@codesourcery.com>
8003
8004 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8005 (FP_FAST_FMA): Do not define.
8006 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8007 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8008 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8009 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8010 !_SOFT_FLOAT]: Likewise.
8011 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8012 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8013 value.
8014 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8015 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8016 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8017 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8018 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8019 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8020 file.
8021
cfa8054f
AS
80222013-01-16 Andreas Schwab <schwab@suse.de>
8023
8024 [BZ #14327]
8025 * include/stdlib.h (__mktemp): Add declaration.
8026 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8027 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8028
dd930cc5
SP
80292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8030
881ebe89
SP
8031 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8032 definitions.
8033 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8034 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8035 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8036 definitions here.
8037 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8038 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8039 definitions.
8040 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8041 and ONE.
8042 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8043 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8044 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8045 definitions.
8046 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8047 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8048 definitions.
8049 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8050
dd930cc5
SP
8051 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8052
c19a9f89
DM
80532013-01-15 David S. Miller <davem@davemloft.net>
8054
1aa61767
DM
8055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8056 trunc{,f} to libm-sysdep_routes.
8057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8059 file.
8060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8062 file.
8063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8064 file.
8065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8067 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8068 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8069 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8070 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8071 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8072 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8073
c42d5e98
DM
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8075 nearbyint{,f} to libm-sysdep_routes.
8076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8078 New file.
8079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8080 file.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8082 New file.
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8084 file.
8085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8088 file.
8089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8091 file.
8092 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8093 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8094 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8095
c19a9f89
DM
8096 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8097 libc_feholdexcept and libc_fesetenv.
8098
357679d2
MF
80992013-01-15 Mike Frysinger <vapier@gentoo.org>
8100
8101 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8102
65a82e3d
DM
81032013-01-14 David S. Miller <davem@davemloft.net>
8104
8b954ab9
DM
8105 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8106 (SPARC_ASM_VIS2_IFUNC): Likewise.
8107 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8109 use of 'siam' instruction.
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8111 Likewise.
8112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8113 Likewise.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8115 Likewise.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8121 file.
8122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8123 file.
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8125 file.
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8127 file.
8128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8133 new VIS2 routines.
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8137 Likewise.
8138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8143 routines to libm-sysdep_routines.
8144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8145
65a82e3d
DM
8146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8147 fdim/fdimf to libm-sysdep_routines.
8148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8149 file.
8150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8152 file.
8153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8156 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8157 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8158 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8159 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8160
e34ab705
SP
81612013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8162
2a91b573
SP
8163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8164 to optimize copies.
8165
1066a534
SP
8166 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8169
e34ab705
SP
8170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8171 local variable MPTWO.
8172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8173 Likewise.
8174
aba5e596
MF
81752013-01-13 Mike Frysinger <vapier@gentoo.org>
8176
8177 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8178 GLOB_NOESCAPE.
8179
e557e9e5
MF
81802013-01-13 Mike Frysinger <vapier@gentoo.org>
8181
8182 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8183
0428cec9
MF
81842013-01-13 Mike Frysinger <vapier@gentoo.org>
8185
8186 * manual/pattern.texi (glob_t): Document gl_flags.
8187 (glob64_t): Likewise.
8188
8794a964
DM
81892013-01-11 David S. Miller <davem@davemloft.net>
8190
66438c3f
RM
8191 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8192 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8193 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8194 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8195 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8196 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8197 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8198 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8199 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8200 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8201 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8202 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8203 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8204
4ae4244d
DM
8205 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8206 sparc V9 rather than using V8 code.
8207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8209
8794a964
DM
8210 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8211 Move to...
8212 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8213 Here.
8214
6270516e
RM
82152013-01-11 Roland McGrath <roland@hack.frob.com>
8216
8217 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8218 not in the main loop.
8219 * configure: Regenerated.
8220
6a57d931
JM
82212013-01-11 Joseph Myers <joseph@codesourcery.com>
8222
8223 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8224 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8225 to just #else.
8226 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8227 [!__GLIBC_HAVE_LONG_LONG] case.
8228 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8229 condition to just #else.
8230 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8231 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8232 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8233 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8234 unconditional.
8235 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8236 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8237 #elif condition to just #else.
8238 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8239 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8240 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8241 #elif condition to just #else.
8242
0e8529e9
SE
82432013-01-11 Steve Ellcey <sellcey@mips.com>
8244
8245 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8246 (EF_MIPS_ARCH_64): Fix value.
8247 (EF_MIPS_ARCH_32R2): New.
8248 (EF_MIPS_ARCH_64R2): New.
8249
740b3dbe
L
82502013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8251
8252 * Makeconfig (+link-pie-before-libc): New.
8253 (+link-pie-after-libc): Likewise.
8254 (+link-pie-tests): Likewise.
8255 (+link-pie): Rewritten.
8256 (link-before-libc): Remove $(config-LDFLAGS).
8257 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8258 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8259 (config-LDFLAGS): Renamed to ...
8260 (rtld-LDFLAGS): This.
8261 (rtld-tests-LDFLAGS): New macro.
8262 (link-libc-rpath-link): Likewise.
8263 (link-libc-tests-rpath-link): Likewise.
8264 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8265 (link-libc): Prepand $(link-libc-rpath-link).
8266 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8267 (test-program-prefix): New macro.
8268 (test-via-rtld-prefix): Likewise.
8269 (test-program-cmd): Likewise.
8270 (host-test-program-cmd): Likewise.
8271 * Makefile ($(common-objpfx)testrun.sh): Replace
8272 $(run-program-prefix) with $(test-program-prefix).
8273 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8274 $(rtld-LDFLAGS).
8275 ($(common-objpfx)shlib.lds): Likewise.
8276 (build-module-helper): Likewise.
8277 ($(common-objpfx)format.lds): Likewise.
8278 * Rules (binaries-pie-tests): New.
8279 (binaries-pie-notests): Likewise.
8280 (binaries-pie): Rewritten.
8281 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8282 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8283 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8284 (make-test-out): Replace $(host-built-program-cmd) with
8285 $(host-test-program-cmd).
8286 * config.make.in (build-hardcoded-path-in-tests): New variable.
8287 * configure.in (--enable-hardcoded-path-in-tests): New configure
8288 option.
8289 (hardcoded_path_in_tests): New AC_SUBST.
8290 * configure: Regenerated.
8291 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8292 $(built-program-cmd) with $(test-program-cmd).
8293 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8294 (test_program_cmd): This.
8295 * elf/Makefile ($(objpfx)order.out): Run test with
8296 $(test-program-prefix).
8297 ($(objpfx)order2.out): Likewise.
8298 ($(objpfx)tst-initorder.out): Likewise.
8299 ($(objpfx)tst-initorder2.out): Likewise.
8300 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8301 $(test-program-cmd).
8302 ($(objpfx)tst-array1-static.out): Likewise.
8303 ($(objpfx)tst-array2.out): Likewise.
8304 ($(objpfx)tst-array3.out): Likewise.
8305 ($(objpfx)tst-array4.out): Likewise.
8306 ($(objpfx)tst-array5.out): Likewise.
8307 ($(objpfx)tst-array5-static.out): Likewise.
8308 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8309 $(test-program-cmd).
8310 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8311 $(run-program-prefix) with $(test-program-prefix).
8312 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8313 (test_program_prefix): This.
8314 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8315 $(run-program-prefix) with $(test-program-prefix).
8316 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8317 (test_program_prefix): This.
8318 * iconvdata/tst-tables.sh: Likewise.
8319 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8320 $(run-program-prefix) with $(test-program-prefix).
8321 ($(objpfx)tst-translit.out): Likewise.
8322 ($(objpfx)tst-gettext2.out): Likewise.
8323 ($(objpfx)tst-gettext4.out): Likewise.
8324 ($(objpfx)tst-gettext6.out): Likewise.
8325 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8326 (test_program_prefix): This.
8327 * intl/tst-gettext2.sh: Likewise.
8328 * intl/tst-gettext4.sh Likewise.
8329 * intl/tst-gettext6.sh: Likewise.
8330 * intl/tst-translit.sh: Likewise.
8331 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8332 with $(test-program-cmd).
8333 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8334 $(run-program-prefix) with $(test-program-prefix).
8335 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8336 (test_program_prefix): This.
8337 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8338 $(run-program-prefix) with $(test-program-prefix).
8339 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8340 (test_program_prefix): This.
8341 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8342 * posix/Makefile ($(objpfx)globtest.out): Replace
8343 $(run-via-rtld-prefix) and $(test-wrapper) with
8344 $(test-program-prefix) and $(test-via-rtld-prefix).
8345 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8346 $(test-program-prefix).
8347 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8348 $(host-test-program-cmd).
8349 (tst-spawn-ARGS): Likewise.
8350 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8351 $(test-program-prefix).
8352 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8353 (test_via_rtld_prefix): This.
8354 (test_wrapper): Renamed to ...
8355 (test_program_prefix): This.
8356 (run_program_prefix): Replaced by test_program_prefix.
8357 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8358 (test_program_prefix): This.
8359 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8360 with $(host-test-program-cmd).
8361 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8362 $(run-program-prefix) with $(test-program-prefix).
8363 ($(objpfx)tst-printf.out): Likewise.
8364 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8365 $(test-program-cmd).
8366 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8367 (test_program_prefix): This.
8368 * stdio-common/tst-unbputc.sh: Likewise.
8369 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8370 $(run-program-prefix) with $(test-program-prefix).
8371 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8372 (test_program_prefix): This.
8373 * string/Makefile ($(objpfx)tst-svc.out): Replace
8374 $(built-program-cmd) with $(test-program-cmd).
8375
c6fe55cf
AJ
83762013-01-11 Andreas Jaeger <aj@suse.de>
8377
8378 [BZ #15003]
8379 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8380 value. Sync with Linux 3.7.
8381
9e6919c8
DM
83822013-01-10 David S. Miller <davem@davemloft.net>
8383
8384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8387
1c9f1a02
RM
83882013-01-10 Roland McGrath <roland@hack.frob.com>
8389
8390 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8391 never set.
8392 * configure: Regenerated.
8393
b9de2dde
DM
83942013-01-10 David S. Miller <davem@davemloft.net>
8395
8396 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8397 sparc V9 rather than using V8 code.
8398 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8399 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8400
e7f68ef4
RM
84012013-01-10 Roland McGrath <roland@hack.frob.com>
8402
8403 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8404 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8405 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8406 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8407 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8408 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8409 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8410 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8411 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8412 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8413 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8414 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8415 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8416 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8417 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8418 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8419 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8420 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8421 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8422 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8423 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8424 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8425 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8426 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8427 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8428 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8429 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8430
5a47cc9c
DM
84312013-01-10 David S. Miller <davem@davemloft.net>
8432
8433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8434
4cf8f209
L
84352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * posix/Makefile (tests-static): New variable.
8438 (tests): Add $(tests-static).
8439 (tst-exec-static-ARGS): New variable.
8440 (tst-spawn-static-ARGS): Likewise.
8441 * posix/tst-exec-static.c: New file.
8442 * posix/tst-spawn-static.c: Likewise.
8443 * posix/tst-exec.c: Support run directly.
8444 * posix/tst-spawn.c: Likewise.
8445
fed0faa1
JM
84462013-01-10 Joseph Myers <joseph@codesourcery.com>
8447
828beb13
JM
8448 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8449 long.
8450 * math/bits/mathcalls.h (llrint): Likewise.
8451 (llround): Likewise.
8452 * stdlib/stdlib.h (struct drand48_data): Likewise.
8453 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8454 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8456 Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8458 Likewise.
8459 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8460 (elf_greg_t): Likewise.
8461 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8462 (__jmp_buf): Likewise.
8463 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8464 definitions.
8465 (llrint): Likewise, for all definitions.
8466 (llrintl): Likewise.
8467
fed0faa1
JM
8468 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8469 Remove [__GNUC__] condition.
8470 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8471 condition to just [__USE_ISOC99].
8472 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8473
1a20cb20
L
84742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 [BZ #14200]
8477 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8478 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8479 defined.
8480 (_POSIX_V6_ILP32_OFF32): Likewise.
8481 (_XBS5_ILP32_OFF32): Likewise.
8482 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8483 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8484
751b85f7
SP
84852013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8486
7490eb81
SP
8487 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8488
751b85f7
SP
8489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8490 doubles __mpexp_twomm1. Adjust usage.
8491 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8492 Remove.
8493
988197f0
AS
84942013-01-10 Andreas Schwab <schwab@suse.de>
8495
8496 [BZ #14964]
8497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8498 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8499
e83d7298
DM
85002013-01-09 David S. Miller <davem@davemloft.net>
8501
034ed64b 8502 [BZ #15003]
e83d7298
DM
8503 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8504 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8505 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8506 TCP_FASTOPEN): Define.
8507 (tcp_repair_opt): New structure.
8508 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8509 enum values.
8510 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8511 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8512 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8513 (tcp_cookie_transactions): New structure.
8514
d5e0b9bd
AB
85152013-01-09 Anton Blanchard <anton@samba.org>
8516
8517 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8518 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8519 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8520 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8521
0c07e3ea
JM
85222013-01-09 Joseph Myers <joseph@codesourcery.com>
8523
8524 * include/features.h (__USE_ANSI): Remove.
8525
232f7002
RM
85262013-01-09 Roland McGrath <roland@hack.frob.com>
8527
ad98e30c
RM
8528 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8529
232f7002
RM
8530 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8531
950c99ca
SP
85322013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8533
b5792741
SP
8534 * sysdeps/s390/fpu/libm-test-ulps: Update.
8535
47cf2278
SP
8536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8537
950c99ca
SP
8538 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8539 (__acr): Likewise.
8540 (__cpy): Likewise.
8541 (norm): Likewise.
8542 (denorm): Likewise.
8543 (__mp_dbl): Likewise.
8544 (__dbl_mp): Likewise.
8545 (add_magnitudes): Likewise.
8546 (sub_magnitudes): Likewise.
8547 (__add): Likewise.
8548 (__sub): Likewise.
8549 (__mul): Likewise.
8550 (__inv): Likewise.
8551 (__dvd): Likewise.
8552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8553 (__acr): Likewise.
8554 (__cpy): Likewise.
8555 (norm): Likewise.
8556 (denorm): Likewise.
8557 (__mp_dbl): Likewise.
8558 (__dbl_mp): Likewise.
8559 (add_magnitudes): Likewise.
8560 (sub_magnitudes): Likewise.
8561 (__add): Likewise.
8562 (__sub): Likewise.
8563 (__mul): Likewise.
8564 (__inv): Likewise.
8565 (__dvd): Likewise.
8566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8567 (__acr): Likewise.
8568 (__cpy): Likewise.
8569 (norm): Likewise.
8570 (denorm): Likewise.
8571 (__mp_dbl): Likewise.
8572 (__dbl_mp): Likewise.
8573 (add_magnitudes): Likewise.
8574 (sub_magnitudes): Likewise.
8575 (__add): Likewise.
8576 (__sub): Likewise.
8577 (__mul): Likewise.
8578 (__inv): Likewise.
8579 (__dvd): Likewise.
8580
eede9df9
JM
85812013-01-08 Joseph Myers <joseph@codesourcery.com>
8582
8583 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8584 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8585 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8586 2 && __USE_EXTERN_INLINES]: Likewise.
8587
c40ea3d9
AJ
85882013-01-08 Andreas Jaeger <aj@suse.de>
8589
8590 [BZ# 14985]
8591 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8592 Remove.
8593 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8594 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8595
2ccdea26
AB
85962013-01-07 Anton Blanchard <anton@samba.org>
8597
8598 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8599 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8600 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8601 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8602 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8603 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8604 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8605 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8608 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8612 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8616 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8617 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8618 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8621 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8622 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8625 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8627 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8628 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8630 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8631 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8632 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8633 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8636 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8637 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8638 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8640 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8641
a9708fed
JM
86422013-01-07 Joseph Myers <joseph@codesourcery.com>
8643
375607b9
JM
8644 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8645 (__MALLOC_PMT): Likewise.
8646 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8647 [__GNUC__], only on [_LIBC].
8648 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8649 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8650 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8651 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8652 forward declaration.
8653 (realloc_hook_ini): Likewise.
8654 (memalign_hook_ini): Likewise.
8655 (__libc_memalign): Do not use __MALLOC_PMT in variable
8656 declaration.
8657 (__libc_valloc): Likewise.
8658 (__libc_pvalloc): Likewise.
8659 (__libc_calloc): Likewise.
8660 (__posix_memalign): Likewise.
8661
a9708fed
JM
8662 [BZ #14996]
8663 * math/s_casinh.c: Include <float.h>.
8664 (__casinh): Do not do computation with squaring and square root
8665 for large arguments.
8666 * math/s_casinhf.c: Include <float.h>.
8667 (__casinhf): Do not do computation with squaring and square root
8668 for large arguments.
8669 * math/s_casinhl.c: Include <float.h>.
8670 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8671 (__casinhl): Do not do computation with squaring and square root
8672 for large arguments.
8673 * math/libm-test.inc (casin_test): Add more tests.
8674 (casinh_test): Likewise.
8675 * sysdeps/i386/fpu/libm-test-ulps: Update.
8676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8677
afec409a
L
86782013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8679
8680 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8681 (__x86_64_raw_data_cache_size): Likewise.
8682 (__x86_64_data_cache_size_half): Likewise.
8683 (__x86_64_raw_data_cache_size_half): Likewise.
8684 (__x86_64_shared_cache_size): Likewise.
8685 (__x86_64_raw_shared_cache_size): Likewise.
8686 (__x86_64_shared_cache_size_half): Likewise.
8687 (__x86_64_raw_shared_cache_size_half): Likewise.
8688 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8689 to ...
8690 (__x86_data_cache_size): This.
8691 (__x86_64_raw_data_cache_size): Renamed to ...
8692 (__x86_raw_data_cache_size): This.
8693 (__x86_64_data_cache_size_half): Renamed to ...
8694 (__x86_data_cache_size_half): This.
8695 (__x86_64_raw_data_cache_size_half): Renamed to ...
8696 (__x86_raw_data_cache_size_half): This.
8697 (__x86_64_shared_cache_size): Renamed to ...
8698 (__x86_shared_cache_size): This.
8699 (__x86_64_raw_shared_cache_size): Renamed to ...
8700 (__x86_raw_shared_cache_size): This.
8701 (__x86_64_shared_cache_size_half): Renamed to ...
8702 (__x86_shared_cache_size_half): This.
8703 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8704 (__x86_raw_shared_cache_size_half): This.
8705 * sysdeps/x86_64/memcpy.S: Updated.
8706 * sysdeps/x86_64/memset.S: Likewise.
8707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8710
0b3986d0
DM
87112013-01-04 David S. Miller <davem@davemloft.net>
8712
8713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8714
e47686e9
AS
87152013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8716
d643bac1
AS
8717 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8718 1 to avoid redefinition warning.
8719 (__USE_GNU): Don't define.
8720 (init_signaling_nan): Protoize.
8721
e47686e9
AS
8722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8723
b18decba
SP
87242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
fffb407f
SP
8726 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8728 (__cpymn): Likewise.
8729 (norm): Remove commented code.
8730 (denorm): Likewise.
8731 (__mp_dbl): Likewise.
8732 (__inv): Likewise.
8733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8734 (__cpymn): Likewise.
8735 (norm): Remove commented code.
8736 (denorm): Likewise.
8737 (__mp_dbl): Likewise.
8738 (__inv): Likewise.
8739
b18decba
SP
8740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8741 mp_no value for 1.0 and 2.0.
8742 (norm): Use RADIXI instead of radixi.d.
8743 (denorm): Likewise.
8744 (__mul): Use 0.0 instead of zero.d.
8745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8746 mp_no value for 1.0 and 2.0.
8747 (norm): Use RADIXI instead of radixi.d.
8748 (denorm): Likewise.
8749 (__mul): Use 0.0 instead of zero.d.
8750
cdc1c96f
JM
87512013-01-04 Joseph Myers <joseph@codesourcery.com>
8752
8753 [BZ #14994]
8754 * math/s_casinh.c (__casinh): Reduce finite argument to first
8755 quadrant then set signs of results at the end.
8756 * math/s_casinhf.c (__casinhf): Likewise.
8757 * math/s_casinhl.c (__casinhl): Likewise.
8758 * math/libm-test.inc (casin_test): Add more tests.
8759 (casinh_test): Likewise.
8760 * sysdeps/i386/fpu/libm-test-ulps: Update.
8761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8762
302913e1
SP
87632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8764
6420d207
SP
8765 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8766
a9e48ab4
SP
8767 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8768
b7837264
SP
8769 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8770 declarations.
8771 (denorm): Likewise.
8772 (__mp_dbl): Likewise.
8773 (__inv): Likewise.
8774
f8af25d2
SP
8775 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8776 and adjust the header comment.
8777
302913e1
SP
8778 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8779 variable name from declaration.
8780
5d7dd1ca
L
87812013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8784 Initialize COMMON_CPUID_INDEX_7 element.
8785 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8786 (CPUID_RTM): Likewise.
8787 (HAS_RTM): Likewise.
8788 (COMMON_CPUID_INDEX_7): New enum.
8789
2f5f40f4
AS
87902013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8791
8792 [BZ #14981]
8793 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8794 size is zero, record memory as freed.
8795
4056f4a0
AJ
87962013-01-03 Andreas Jaeger <aj@suse.de>
8797
8798 * po/ia.po: Add new Interlingua translation.
8799
ab15736f 88002012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8801
8802 * locale/programs/localedef.c: Fix description of '--posix' flag.
8803
568035b7
JM
88042013-01-02 Joseph Myers <joseph@codesourcery.com>
8805
e6898b8d
JM
8806 * NEWS: Update dates in second copyright notice.
8807 * README: Update copyright dates in example.
8808 * manual/libc.texinfo: Update copyright dates.
8809 * scripts/test-installation.pl: Update copyright date in --version
8810 output.
8811
0e2f9562
JM
8812 * hurd/ctty-input.c: Fix copyright notice formatting.
8813 * hurd/ctty-output.c: Likewise.
8814 * hurd/dtable.c: Likewise.
8815 * hurd/hurd-raise.c: Likewise.
8816 * hurd/hurdprio.c: Likewise.
8817 * hurd/msgportdemux.c: Likewise.
8818 * misc/sys/file.h: Likewise.
8819 * misc/sys/ioctl.h: Likewise.
8820 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8821 * sysdeps/mach/hurd/chdir.c: Likewise.
8822 * sysdeps/mach/hurd/fchdir.c: Likewise.
8823 * sysdeps/mach/hurd/rename.c: Likewise.
8824 * sysdeps/mach/hurd/rmdir.c: Likewise.
8825 * sysdeps/mach/hurd/seekdir.c: Likewise.
8826 * sysdeps/mach/hurd/setsid.c: Likewise.
8827 * sysdeps/posix/wait3.c: Likewise.
8828
568035b7
JM
8829 * All files with FSF copyright notices: Update copyright dates
8830 using scripts/update-copyrights.
8831 * intl/plural.c: Regenerated.
8832 * locale/programs/charmap-kw.h: Likewise.
8833 * locale/programs/locfile-kw.h: Likewise.
8834
da08f647
SP
88352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8836
0f5477af
SP
8837 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8838 four values.
8839
44e0d4c2
SP
8840 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8841 calculation loop and add branch prediction.
8842
4d55b4e5
SP
8843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8844 check access beyond bounds of m1np.
8845
da08f647
SP
8846 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8847 MPTWO.
8848 (__inv): Remove local variable MPTWO to use the global
8849 constant.
8850 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8852 variable MPTWO.
8853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8854 MP3HALFS static const.
8855
8e051029
DM
88562013-01-01 David S. Miller <davem@davemloft.net>
8857
8858 * po/ca.po: Update from translation team.
8859
f4cf5f2d
JM
88602013-01-01 Joseph Myers <joseph@codesourcery.com>
8861
8862 * scripts/update-copyrights: New file.
8863 * Makeconfig: Reformat copyright notice.
8864 * ctype/ctype.h: Likewise.
8865 * debug/swprintf_chk.c: Likewise.
8866 * elf/dl-cache.c: Likewise.
8867 * elf/dl-debug.c: Likewise.
8868 * elf/dl-object.c: Likewise.
8869 * grp/initgroups.c: Likewise.
8870 * hurd/Makefile: Likewise.
8871 * hurd/hurd/signal.h: Likewise.
8872 * hurd/hurdfault.c: Likewise.
8873 * hurd/hurdioctl.c: Likewise.
8874 * hurd/hurdlookup.c: Likewise.
8875 * hurd/intr-msg.c: Likewise.
8876 * iconv/gconv_open.c: Likewise.
8877 * libio/swprintf.c: Likewise.
8878 * locale/lc-ctype.c: Likewise.
8879 * locale/nl_langinfo.c: Likewise.
8880 * mach/Machrules: Likewise.
8881 * mach/Makefile: Likewise.
8882 * malloc/obstack.h: Likewise.
8883 * manual/Makefile: Likewise.
8884 * manual/tsort.awk: Likewise.
8885 * misc/bits/stab.def: Likewise.
8886 * nis/nis_print_group_entry.c: Likewise.
8887 * nis/nis_table.c: Likewise.
8888 * nis/nss_compat/compat-pwd.c: Likewise.
8889 * nis/nss_compat/compat-spwd.c: Likewise.
8890 * po/Makefile: Likewise.
8891 * posix/fnmatch.c: Likewise.
8892 * posix/regex.h: Likewise.
8893 * resolv/Makefile: Likewise.
8894 * resolv/nss_dns/dns-network.c: Likewise.
8895 * resolv/res_hconf.c: Likewise.
8896 * scripts/gen-sorted.awk: Likewise.
8897 * soft-fp/soft-fp.h: Likewise.
8898 * stdio-common/printf.h: Likewise.
8899 * stdlib/monetary.h: Likewise.
8900 * stdlib/random.c: Likewise.
8901 * stdlib/random_r.c: Likewise.
8902 * sysdeps/generic/Makefile: Likewise.
8903 * sysdeps/gnu/Makefile: Likewise.
8904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8932 * sysdeps/mach/hurd/errnos.awk: Likewise.
8933 * sysdeps/mach/hurd/fork.c: Likewise.
8934 * sysdeps/mach/hurd/getcwd.c: Likewise.
8935 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8936 * sysdeps/mach/hurd/mmap.c: Likewise.
8937 * sysdeps/mach/hurd/utimes.c: Likewise.
8938 * sysdeps/mach/hurd/xmknod.c: Likewise.
8939 * sysdeps/posix/profil.c: Likewise.
8940 * sysdeps/posix/readdir_r.c: Likewise.
8941 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8942 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8943 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8944 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8946 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8947 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8948 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8950 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8951 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8952 * sysdeps/pthread/lio_listio.c: Likewise.
8953 * sysdeps/sparc/dl-procinfo.h: Likewise.
8954 * sysdeps/unix/i386/sysdep.S: Likewise.
8955 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8956 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8957 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8958 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8960 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8961 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8962 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8963 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8964 * sysdeps/wordsize-32/divdi3.c: Likewise.
8965 * time/sys/time.h: Likewise.
8966 * wcsmbs/Makefile: Likewise.
8967
0549fbba
DM
89682013-01-01 David S. Miller <davem@davemloft.net>
8969
a141f1a7
DM
8970 * po/fr.po: Update from translation team.
8971
0549fbba
DM
8972 * catgets/gencat.c: Update copyright year.
8973 * csu/version.c: Likewise.
8974 * debug/catchsegv.sh: Likewise.
8975 * debug/pcprofiledump.c: Likewise.
8976 * debug/xtrace.sh: Likewise.
8977 * elf/ldconfig.c: Likewise.
8978 * elf/ldd.bash.in: Likewise.
8979 * elf/pldd.c: Likewise.
8980 * elf/sotruss.ksh: Likewise.
8981 * elf/sprof.c: Likewise.
8982 * iconv/iconv_prog.c: Likewise.
8983 * iconv/iconvconfig.c: Likewise.
8984 * locale/programs/locale.c: Likewise.
8985 * locale/programs/localedef.c: Likewise.
8986 * login/programs/pt_chown.c: Likewise.
8987 * malloc/memusage.sh: Likewise.
8988 * malloc/memusagestat.c: Likewise.
8989 * malloc/mtrace.pl: Likewise.
8990 * nscd/nscd.c: Likewise.
8991 * nss/getent.c: Likewise.
8992 * nss/makedb.c: Likewise.
8993 * posix/getconf.c: Likewise.
8994
18ea052c
SP
89952012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8996
8997 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8998 numbers.
8999
9c89fca6
MF
90002012-12-30 Mike Frysinger <vapier@gentoo.org>
9001
9002 * math/bits/mathcalls.h (modf): Use __nonnull.
9003
085ec079
SP
90042012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9005
9006 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9007 (split): Use macro CN instead of the bare value.
9008 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9009 could be used.
9010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9011 instead of the bare value.
9012 (power1): Likewise.
9013
6d9f97e1
SP
90142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9015
d63f73be
SP
9016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9017 __ATAN_TWOM.
9018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9019
6d9f97e1
SP
9020 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9021 their values.
9022 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9024 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9025 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9026
4c4febf5
AJ
90272012-12-28 Andreas Jaeger <aj@suse.de>
9028
af5843ef
AJ
9029 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9030 values are from Linux 3.7.
9031
4c4febf5
AJ
9032 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9033 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9034
99136f82
SP
90352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
2f216c3c 9037 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9038 TRUE case.
9039
99136f82
SP
9040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9041 (norm): Likewise.
9042 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9043 variables with preprocessor constants.
9044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9045 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9046 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9047
7fffbdff
BH
90482012-12-27 Bruno Haible <bruno@clisp.org>
9049
9050 [BZ #14317]
9051 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9052 only if needed.
9053
b76eb5f0
SP
90542012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9055
31a7fe5c
SP
9056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9057 and use variable directly.
9058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9059
b76eb5f0
SP
9060 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9061 MPONE.
9062 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9064 variable MPONE.
9065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9067 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9068 include directive. Remove local variable MPONE.
9069 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9070 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9071 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9072
2c8bfe7d
DM
90732012-12-25 David S. Miller <davem@davemloft.net>
9074
9075 * version.h (RELEASE): Set to "development".
9076 (VERSION): Set to "2.17.90".
9077 * NEWS: Add 2.18 section.
9078
147d03b0
DM
90792012-12-21 David S. Miller <davem@davemloft.net>
9080
9081 * po/hr.po: Update from translation team.
9082
a8ebb2b9
AK
90832012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9084
9085 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9086
95b4f1b6
SE
90872012-12-19 Steve Ellcey <sellcey@mips.com>
9088
b2d94007 9089 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9090
cedb2a90
MS
90912012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9092
9093 * manual/contrib.texi (Contributors): Spelling correction.
9094
bbf527d6
DM
90952012-12-15 David S. Miller <davem@davemloft.net>
9096
9097 * po/ru.po: Update from translation team.
9098
bc38c906
DM
90992012-12-13 David S. Miller <davem@davemloft.net>
9100
85429b1a
DM
9101 * NEWS: Mention IFUNC testsuite enhancements.
9102
d283e353
DM
9103 * po/pl.po: Update from translation team.
9104 * po/bg.po: Likewise.
9105
bc38c906
DM
9106 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9107 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9108
a181b0d7
DM
91092012-12-11 David S. Miller <davem@davemloft.net>
9110
4641d57e
DM
9111 * po/sv.po: Update from translation team.
9112
f7bc6495
DM
9113 * po/vi.po: Update from translation team.
9114
6fc9048f
DM
9115 * po/cs.po: Update from translation team.
9116
a181b0d7
DM
9117 * po/de.po: Update from translation team.
9118 * po/eo.po: Likewise.
9119 * po/nl.po: Likewise.
9120
f70bfe80
SP
91212012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9122
3c8b4190
SP
9123 [BZ #14246]
9124 * manual/argp.texi (Argp Helper Functions): Move node to follow
9125 Argp Parsing State.
9126
f70bfe80
SP
9127 [BZ #14872]
9128 * manual/conf.texi (Limits on File System Capacity): Mention if
9129 terminating null is included in the max size.
9130
188f0adf
AJ
91312012-12-10 Andreas Jaeger <aj@suse.de>
9132
9133 * po/cs.po: Update from translation team.
9134
56e7d3ad
SP
91352012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9136
9137 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9138 void pointer and cast to uintptr_t.
9139 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9140 path.
9141 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9142 * sysdeps/s390/s390-64/memset.S: Likewise.
9143
76f2d2ea 91442012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9145
9146 [BZ #14833]
9147 * menual/message.texi (Message Translation): Fix typos.
9148 (Helper programs for gettext): Likewise.
9149
67cbf9a2
AS
91502012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9151
9152 [BZ #14898]
9153 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9154 Change to -1.
9155
682d0e9a
DM
91562012-12-07 David S. Miller <davem@davemloft.net>
9157
9158 * po/libc.pot: Update.
9159
573cd484
RH
91602012-12-07 Richard Henderson <rth@redhat.com>
9161
7e9da188 9162 [BZ #10114]
573cd484
RH
9163 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9164 normal/normal case to before the switch.
9165 (_FP_DIV): Likewise.
9166
e933a943
MF
91672012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9168 Mike Frysinger <vapier@gentoo.org>
9169
9170 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9171 check for __NR_fadvise64_64.
9172
82123268
CM
91732012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9174
9175 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9176 0, not just to plain "0" as a statement.
9177 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9178 with cw.
9179
d9814526
JM
91802012-12-06 Joseph Myers <joseph@codesourcery.com>
9181
9182 * NEWS: Use sourceware.org in Bugzilla URL.
9183
7728c574
SP
91842012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9185
f16946dd
SP
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9187 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9188
5704bbcb
SP
9189 * stdio-common/tst-put-error.c (do_test): Add newline to the
9190 padded test to ensure flush.
9191
17aa0516
JL
91922012-12-05 Jeff Law <law@redhat.com>
9193
9194 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9195
363313b5
JM
91962012-12-05 Joseph Myers <joseph@codesourcery.com>
9197
effbd42a
JM
9198 * README: Don't refer to ports add-on as distributed separately.
9199 Mention AArch64 in list of systems supported in the ports add-on.
9200
87600365
JM
9201 * LICENSES: Add more non-FSF copyright and license notices.
9202
a0d7066a
JM
9203 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9204 ((unused)).
9205
66ca5a5b
JM
9206 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9207
363313b5
JM
9208 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9209 10000 as width of padded output.
9210
b37984ad
JM
92112012-12-04 Joseph Myers <joseph@codesourcery.com>
9212
9003570a
JM
9213 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9214
b37984ad
JM
9215 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9216 variable LX with __attribute__ ((unused)).
9217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9218 Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9222 with __attribute__ ((unused)).
9223
c8df52ec
DM
92242012-12-04 David S. Miller <davem@abraco.davemloft.net>
9225
9226 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9227
b3b099af
JM
92282012-12-04 Joseph Myers <joseph@codesourcery.com>
9229
c33aa6e3
JM
9230 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9231 (CFLAGS-nldbl-acos.c): New variable.
9232 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9239 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9240 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9241 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9242 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9243 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9244 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9245 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9246 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9247 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9248 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9249 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9250 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9251 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9252 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9253 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9264 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9269 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9270 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9271 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9272 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9273 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9274 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9275 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9276 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9277 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9278 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9279 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9285 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9286 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9287 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9288 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9289 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9290 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9291 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9292 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9293 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9294 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9295 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9296 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9297 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9298 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9299 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9300 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9301 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9302 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9303 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9304 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9305 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9306 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9307 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9308 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9309 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9310 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9311 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9312 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9313 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9314 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9315 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9316 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9317 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9318 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9319 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9320 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9321 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9322 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9323 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9324 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9325 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9326 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9327 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9328 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9329
20f0018d
JM
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9331 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9332
b3b099af
JM
9333 [BZ #14914]
9334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9335 whole low double instead of just low 47 bits when splitting values
9336 into two parts.
9337
029264d1
AM
93382012-12-03 Allan McRae <allan@archlinux.org>
9339
9340 * manual/stdio.texi (Predefined Printf Handlers): Remove
9341 @hsep and @vsep usage.
9342
c9d6789e
MF
93432012-12-03 Mike Frysinger <vapier@gentoo.org>
9344
9345 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9346 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9347
4b7634a5
JL
93482012-12-03 Jeff Law <law@redhat.com>
9349
9350 * time/sys/time.h (settimeofday): Do not mark TV argument
9351 as __nonnull.
9352
eb6cbd24
MF
93532012-12-01 Mike Frysinger <vapier@gentoo.org>
9354
9355 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9356 when currently writing and seek to current position when not.
9357 * libio/Makefile (tests): Remove bug-fclose1.
9358 * libio/bug-fclose1.c: Delete.
9359
f638872a
JM
93602012-12-01 Joseph Myers <joseph@codesourcery.com>
9361
9362 * manual/arith.texi (feenableexcept): Fix typo.
9363 (fedisableexcept): Likewise.
9364
48085d14
RM
93652012-11-30 Roland McGrath <roland@hack.frob.com>
9366
9367 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9368 second, differently-typed declaration, rather than a cast.
9369
1a538b9f
SP
93702012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9371
9372 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9373 * include/rpc/svc.h: ... here.
9374
d07f2ff1 93752012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9376
9377 [BZ #13013]
9378 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9379 depending n and resplen2 to catch cases where answer
9380 equals answerp2.
9381
c93ec1f0
CD
93822012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9383
9384 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9385 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9386
37db69de
MF
93872012-11-29 Mike Frysinger <vapier@gentoo.org>
9388
9389 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9390
e10c4e4f
RM
93912012-11-29 Roland McGrath <roland@hack.frob.com>
9392
9393 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9394
2af1b328
JL
93952012-11-28 Jeff Law <law@redhat.com>
9396
9397 [BZ #13761]
9398 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9399 dataset_temporary. Track alloca usage into alloca_used.
9400 If dataset is large allocate and release it via malloc/free.
9401
111db5b1
FW
94022012-06-04 Florian Weimer <fweimer@redhat.com>
9403
f06cc227 9404 [BZ #14197]
111db5b1
FW
9405 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9406
dd694abd
DM
94072012-11-28 David S. Miller <davem@davemloft.net>
9408
9409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9410
9984dd01
JM
94112012-11-28 Joseph Myers <joseph@codesourcery.com>
9412
9413 [BZ #14803]
9414 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9415 of pi/2 rounded to nearest to 64 bits.
9416 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9417 nearest to 64 bits.
9418 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9419 bits.
9420
14bc93a9
JL
94212012-11-28 Jeff Law <law@redhat.com>
9422 Martin Osvald <mosvald@redhat.com>
9423
9424 [BZ #14889]
9425 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9426 * sunrpc/svc.c: Include time.h.
9427 (__svc_accept_failed): New function.
9428 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9429 any reason other than EINTR, call __svc_accept_failed.
9430 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9431 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9432
e3c6aa3a
AS
94332012-11-28 Andreas Schwab <schwab@suse.de>
9434
9435 * scripts/abilist.awk: Also handle indirect functions in .opd
9436 section.
9437
1bead169
JM
94382012-11-28 Joseph Myers <joseph@codesourcery.com>
9439
9440 [BZ #13881]
9441 * sysdeps/x86/fpu/powl_helper.c: New file.
9442 * sysdeps/x86/fpu/Makefile: Likewise.
9443 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9444 (p3): New object.
9445 (__ieee754_powl): Use __powl_helper for finite arguments except
9446 integer exponents below 8.
9447 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9448 (p3): New object.
9449 (__ieee754_powl): Use __powl_helper for finite arguments except
9450 integer exponents below 8.
9451 * math/libm-test.inc (pow_test): Add more tests and enable some
9452 previously disabled tests.
9453 * sysdeps/i386/fpu/libm-test-ulps: Update.
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455
0817d63d
SP
94562012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9457 Carlos O'Donell <carlos_odonell@mentor.com>
9458
9459 * nss/makedb.c (is_prime): Assert that input is odd and greater
9460 than 4. Note that fact in a comment too.
9461 (next_prime): Add 4 to input.
9462
de2fd463
SP
94632012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9464
9465 [BZ #11741]
9466 * libio/Makefile (tests): Add test case tst-fwrite-error.
9467 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9468 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9469 * libio/tst-fwrite-error.c: New test case.
9470
c515fb51
L
94712012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9474 before casting to void *.
9475 * include/libc-internal.h (__pointer_type): New macro.
9476 (__integer_if_pointer_type_sub): Likewise.
9477 (__integer_if_pointer_type): Likewise.
9478 (cast_to_integer): Likewise.
9479 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9480 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9481 before casting to atomic64_t.
9482 (atomic_exchange_acq): Likewise.
9483 (__arch_exchange_and_add_body): Likewise.
9484 (__arch_add_body): Likewise.
9485 (atomic_add_negative): Likewise.
9486 (atomic_add_zero): Likewise.
9487
4cf77aa9
JM
94882012-11-26 Joseph Myers <joseph@codesourcery.com>
9489
9490 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9491 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9492 (add_fdes): Likewise.
9493 (linear_search_fdes): Likewise.
9494 (binary_search_unencoded_fdes): Likewise.
9495
d260b3b4
AS
94962012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9497
9498 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9499
67060746
AC
95002012-11-24 Adam Conrad <adconrad@0c3.net>
9501
9502 * configure.in: Autodetect C++ header directories.
9503 * configure: Regenerated.
9504
800938a1
MF
95052012-11-23 Mike Frysinger <vapier@gentoo.org>
9506
9507 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9508
4e6e34e6
AS
95092012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9510
9511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9512
7c7feb47
JM
95132012-11-22 Joseph Myers <joseph@codesourcery.com>
9514
7184dcdf
JM
9515 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9516 LDBL_MANT_DIG == 106]: Disable some tests.
9517 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9518 Likewise.
9519 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9520 Likewise.
9521
0a42601f
JM
9522 [BZ #14871]
9523 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9524 input for small inputs. Return +/- pi/2 for large inputs.
9525 * math/libm-test.inc (atan_test): Add more tests.
9526
79c9b9fe
JM
9527 * sysdeps/generic/unwind-dw2-fde-glibc.c
9528 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9529 __attribute__ ((unused)).
9530
c60d3bf2
JM
9531 [BZ #14645]
9532 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9533 x * y if x and y are nonzero and z is zero.
9534
ef1e0867
JM
9535 [BZ #14811]
9536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9537 nonzero exponents with absolute value below 0x1p-117 to +/-
9538 0x1p-117.
9539
1468ded3
JM
9540 [BZ #14869]
9541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9542 up arguments below 2**-450, not just those below 2**-500.
9543 * math/libm-test.inc (hypot_test): Add another test.
9544
8e27e3cc
JM
9545 [BZ #14868]
9546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9547 Return a+b for ratio over 2**120, not 2**60.
9548 * math/libm-test.inc (hypot_test): Add another test.
9549
c9c0279b
JM
9550 * math/libm-test.inc (clog_test): Use
9551 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9552 (clog10_test): Likewise.
9553
7c7feb47
JM
9554 [BZ #6778]
9555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9556
fff1530e
AS
95572012-11-22 Andreas Schwab <schwab@suse.de>
9558
9559 * sysdeps/i386/fpu/libm-test-ulps: Update.
9560
94558d30
PT
95612012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9562
9563 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9564 printf output with newline.
9565
7e1be741
L
95662012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9567
6bfea974
L
9568 [BZ #14865]
9569 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9570 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9571 -z nodlopen, -z initfirst and -z execstack support.
9572 * configure: Regenerated.
9573
7e1be741
L
9574 * elf/elf.h (DF_1_NODIRECT): New macro.
9575 (DF_1_IGNMULDEF): Likewise.
9576 (DF_1_NOKSYMS): Likewise.
9577 (DF_1_NOHDR): Likewise.
9578 (DF_1_EDITED): Likewise.
9579 (DF_1_NORELOC): Likewise.
9580 (DF_1_SYMINTPOSE): Likewise.
9581 (DF_1_GLOBAUDIT): Likewise.
9582 (DF_1_SINGLETON): Likewise.
9583 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9584 DT_1_SUPPORTED_MASK bits.
9585 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9586
105ce2ce
CD
95872012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9588
9589 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9590
123be9de
TS
95912012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9592
d072f3f7
TS
9593 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9594 macro.
9595
123be9de
TS
9596 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9597 (sendmmsg): Move declarations...
9598 * socket/sys/socket.h: ... here.
9599 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9600 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9601 include it from...
9602 * socket/recvmmsg.c: ... this new file.
9603 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9604 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9605 definition of __sendmmsg hidden.
9606 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9607 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9608 Move ENOSYS stub into and include it from...
9609 * socket/sendmmsg.c: ... this new file.
9610 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9611 (sysdep_routines): Move recvmmsg and sendmmsg...
9612 * socket/Makefile (routines): ... here.
9613 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9614 (GLIBC_PRIVATE): Add __sendmmsg.
9615 * include/sys/socket.h (__sendmmsg): Add declarations.
9616 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9617 sendmmsg.
9618
cf9a5d18
JM
96192012-11-20 Joseph Myers <joseph@codesourcery.com>
9620
9621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9622 variable I1 with __attribute__ ((unused)).
9623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9624
ecd4caf9
JM
96252012-11-19 Joseph Myers <joseph@codesourcery.com>
9626
be14d48f
JM
9627 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9628 DUMMY variables with __attribute__ ((unused)).
9629
ecd4caf9
JM
9630 * bits/byteswap.h: Include <bits/types.h>.
9631 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9632
986cab95
PT
96332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9634
9635 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9636 string_t. Do not manually set errno.
9637 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9638 length with __strnlen. Make sure to both set errno and return it on
9639 failure.
9640
6d33cc9d
DM
96412012-11-19 David S. Miller <davem@davemloft.net>
9642
9643 With help from Joseph Myers.
9644 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9645 very large arguments properly.
9646 * math/libm-test.inc (atan_test): New tests.
9647 (atan2_test): New tests.
9648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9650
ee663277
JM
96512012-11-19 Joseph Myers <joseph@codesourcery.com>
9652
877f2d8e
JM
9653 [BZ #14856]
9654 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9655 Define to 3.
9656
116fc08a
JM
9657 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9658 [POSIX] (EADDRNOTAVAIL): Likewise.
9659 [POSIX] (EAFNOSUPPORT): Likewise.
9660 [POSIX] (EALREADY): Likewise.
9661 [POSIX] (ECONNABORTED): Likewise.
9662 [POSIX] (ECONNREFUSED): Likewise.
9663 [POSIX] (ECONNRESET): Likewise.
9664 [POSIX] (EDESTADDRREQ): Likewise.
9665 [POSIX] (EDQUOT): Likewise.
9666 [POSIX] (EHOSTUNREACH): Likewise.
9667 [POSIX] (EIDRM): Likewise.
9668 [POSIX] (EISCONN): Likewise.
9669 [POSIX] (ELOOP): Likewise.
9670 [POSIX] (EMULTIHOP): Likewise.
9671 [POSIX] (ENETDOWN): Likewise.
9672 [POSIX] (ENETUNREACH): Likewise.
9673 [POSIX] (ENOBUFS): Likewise.
9674 [POSIX] (ENODATA): Likewise.
9675 [POSIX] (ENOLINK): Likewise.
9676 [POSIX] (ENOMSG): Likewise.
9677 [POSIX] (ENOPROTOOPT): Likewise.
9678 [POSIX] (ENOSR): Likewise.
9679 [POSIX] (ENOSTR): Likewise.
9680 [POSIX] (ENOTCONN): Likewise.
9681 [POSIX] (ENOTSOCK): Likewise.
9682 [POSIX] (EOPNOTSUPP): Likewise.
9683 [POSIX] (EOVERFLOW): Likewise.
9684 [POSIX] (EPROTO): Likewise.
9685 [POSIX] (EPROTONOSUPPORT): Likewise.
9686 [POSIX] (EPROTOTYPE): Likewise.
9687 [POSIX] (ESTALE): Likewise.
9688 [POSIX] (ETIME): Likewise.
9689 [POSIX] (ETXTBSY): Likewise.
9690 [POSIX] (EWOULDBLOCK): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9692 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9693 [POSIX] (SEEK_CUR): Likewise.
9694 [POSIX] (SEEK_END): Likewise.
9695 [POSIX || UNIX98] (mode_t): Do not require.
9696 [POSIX] (off_t): Likewise.
9697 [POSIX] (pid_t): Likewise.
9698 [POSIX] (sys/stat.h): Do not allow header.
9699 [POSIX] (unistd.h): Likewise.
9700 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9701 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9703 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9704 require.
9705 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9706 sigevent): Specify elements.
9707 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9708 entry.
9709 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9710 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9711
a483863f
JM
9712 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9713 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9714 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9715 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9716 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9717 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9718 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9719 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9721 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9722 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9723 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9724 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9725 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9726 Likewise.
9727 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9728 Likewise.
9729 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9730 Likewise.
9731 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9732 Likewise.
9733 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9734 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9735 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9736 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9738 Specify lower bound on value.
9739 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9744 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9745 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9746 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9747 value.
9748 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9749 as optional.
9750 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9751 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9752 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9753 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9754 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9755 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9756 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9757 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9758 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9759 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9760 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9761 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9762 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9763 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9764 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9765 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9766 entry.
9767 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9768 optional.
9769 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9770 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9771 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9772 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9773 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9775 Likewise.
9776 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9777 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9778 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9779 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9780 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9781 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9782 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9783 as optional.
9784 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9785 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9786 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9787 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9788 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9789 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9790 specify as optional.
9791 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9792 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9793 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9794 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9795 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9796 [XPG3] (NL_LANGMAX): Likewise.
9797 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9798 [POSIX || XPG3] (NL_NMAX): Likewise.
9799 [POSIX || XPG3] (NL_SETMAX): Likewise.
9800 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9801 [XPG3] (NZERO): Likewise.
9802 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9803 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9804 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9805 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9806 (REG_ERANGE): Expect.
9807 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9808 optional-constant.
9809 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9810 Use (void) in prototype.
9811 [POSIX] (*_t): Allow.
9812 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9813 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9814 (WRDE_BADVAL): Expect.
9815
5ba924e3
JM
9816 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9817 expect.
9818 [XPG3 || XPG4] (O_RSYNC): Likewise.
9819 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9820 Likewise.
9821 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9822 [XPG3 || XPG4] (sigqueue): Likewise.
9823 [XPG3 || XPG4] (sigtimedwait): Likewise.
9824 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9825 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9826 [XPG3 || XPG4] (vsnprintf): Likewise.
9827 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9828 Likewise.
9829 [XPG3 || XPG4] (blksize_t): Likewise.
9830 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9831 Likewise.
9832 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9833 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9834 [XPG3 || XPG4] (struct itimerspec): Likewise.
9835 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9836 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9837 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9838 [XPG3 || XPG4] (clockid_t): Likewise.
9839 [XPG3 || XPG4] (timer_t): Likewise.
9840 [XPG3 || XPG4] (clock_getres): Likewise.
9841 [XPG3 || XPG4] (clock_gettime): Likewise.
9842 [XPG3 || XPG4] (clock_settime): Likewise.
9843 [XPG3 || XPG4] (nanosleep): Likewise.
9844 [XPG3 || XPG4] (timer_create): Likewise.
9845 [XPG3 || XPG4] (timer_delete): Likewise.
9846 [XPG3 || XPG4] (timer_gettime): Likewise.
9847 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9848 [XPG3 || XPG4] (timer_settime): Likewise.
9849 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9850 [XPG3 || XPG4] (getlogin_r): Likewise.
9851 [XPG3 || XPG4] (pread): Likewise.
9852 [XPG3 || XPG4] (pthread_atfork): Likewise.
9853 [XPG3 || XPG4] (pwrite): Likewise.
9854
ee663277
JM
9855 [BZ #14835]
9856 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9857 <bits/siginfo.h>.
9858
942caa16
PT
98592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9860
e19af380
PT
9861 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9862 finalizing MALLSTREAM.
9863
942caa16
PT
9864 * sysdeps/mach/hurd/syncfs.c: New file.
9865
cfde9b46
SP
98662012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9867
9868 [BZ #14719]
9869 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9870 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9871 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9872 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9873 (_nss_dns_gethostbyname4_r): Likewise.
9874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9875 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9876
f6da27e5
PH
98772012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9878
9879 [BZ #13763]
9880 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9881
6665d4a2
SM
98822012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9883
1f51ee92
SM
9884 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9885 * elf/cache.c (print_entry): Print ",AArch64" for
9886 FLAG_AARCH64_LIB64
9887
6665d4a2
SM
9888 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9889 * elf/cache.c (print_entry): Print ",hard-float" for
9890 FLAG_ARM_LIBHF.
9891
05b227bd
DM
98922012-11-18 David S. Miller <davem@davemloft.net>
9893
9894 With help from Joseph Myers.
9895 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9896 cutoff to 2**-13.
9897 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9898 cutoff to 2**-25.
9899 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9900 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9901 small.
9902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9903 * math/libm-test.inc (y0_test): New tests.
9904 (y1_test): New tests.
9905 * sysdeps/i386/fpu/libm-test-ulps: Update.
9906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9908
786b0b67
AS
99092012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9910
9911 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9912 64-bit targets.
9913 * configure: Regenerated.
9914
8e18b86d
DM
99152012-11-17 David S. Miller <davem@davemloft.net>
9916
9917 [BZ #14811]
9918 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9919 nonzero exponents with absolute value below 0x1p-128 to +/-
9920 0x1p-128.
9921
531f1ae0
JM
99222012-11-17 Joseph Myers <joseph@codesourcery.com>
9923
12df29e2
JM
9924 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9925
150dc1a0
JM
9926 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9927
531f1ae0
JM
9928 * posix/getconf-speclist.c: New file.
9929 * posix/posix-envs.def: Likewise.
9930 * posix/confstr.c (START_ENV_GROUP): New macro.
9931 (END_ENV_GROUP): Likewise.
9932 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9933 (KNOWN_PRESENT_ENV_STRING): Likewise.
9934 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9935 (UNKNOWN_ENVIRONMENT): Likewise.
9936 (confstr): Include posix-envs.def instead of handling
9937 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9938 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9939 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9940 (END_ENV_GROUP): Likewise.
9941 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9942 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9943 (UNKNOWN_ENVIRONMENT): Likewise.
9944 (__sysconf): Include posix-envs.def instead of handling associated
9945 cases directly here.
9946 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9947 preprocessing getconf-speclist.c rather than running getconf or
9948 generating empty file.
9949
a93f9cbc
PT
99502012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9951
9952 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9953
d64d9f87
AL
99542012-11-16 Andrej Lajovic <natrij@gmail.com>
9955
9956 [BZ #14672]
9957 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9958
447885eb
DM
99592012-11-16 David S. Miller <davem@davemloft.net>
9960
9961 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9962 smaller than LDBL_EPSILON/2.0L, just return xm1.
9963
bcbf9830
L
99642012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * elf/tst-array1.c (init): Set constructor priority to 1000.
9967 (fini): Set destructor priority to 1000.
9968 * elf/tst-array2dep.c: Likewise.
9969
2b766585
SP
99702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
9972 [BZ #11741]
9973 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9974 (_IO_new_file_xsputn): Also return EOF if none of the input
9975 data was written when overflow failed.
9976 * libio/iopadn.c (_IO_padn): Likewise.
9977 * libio/iowpadn.c (_IO_wpadn): Likewise.
9978 * stdio-common/tst-put-error.c: Add copyright notice.
9979 (do_test): Add case for printing padded string.
9980 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9981 _IO_padn returned error.
9982 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9983 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9984 return EOF.
9985
b1848fde
SP
99862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9987
9988 * libio/libioP.h: Add comment note that the references to C++
9989 bits are now obsolete.
9990
2fd89785
MS
99912012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9992
9993 * math/libm-test.inc (check_complex): Use asprintf.
9994
e3ea5409
JM
99952012-11-14 Joseph Myers <joseph@codesourcery.com>
9996
9997 * debug/pcprofiledump.c (print_version): Update copyright year.
9998 * malloc/memusagestat.c (print_version): Likewise.
9999
2e64d265
L
100002012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10001
10002 [BZ #14831]
10003 * elf/Makefile (tests): Add tst-audit8.
10004 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10005 ($(objpfx)tst-audit8.out): New target.
10006 (tst-audit8-ENV): New variable.
10007 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10008 audit if l_reloc_result is NULL.
10009 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10010 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10011 * elf/tst-audit8.c: New file.
10012
c485e4d2
MS
100132012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10014
10015 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10016 * misc/Makefile (CFLAGS-select.c): Define.
10017 * posix/Makefile (CFLAGS-pause.c): Define.
10018
3a0d900a
DM
100192012-11-13 David S. Miller <davem@davemloft.net>
10020
10021 * crypt/Makefile: Move test targets after toplevel Rules
10022 inclusion. Grab any necessary sysdep routines when linking.
10023 * crypt/md5.c (md5_process_block): Remove define, we will always
10024 name it __md5_process_block.
10025 (md5_finish_ctx): Update md5_process_block call.
10026 (md5_stream): Likewise.
10027 (md5_process_bytes): Likewise.
10028 (md5_process_block): Rename to __md5_process_block and move to ...
10029 * crypt/md5-block.c: ... here.
10030 * crypt/sha256.c (sha256_process_block): Move to ...
10031 * crypt/sha256-block.c: ... here.
10032 * crypt/sha512.c (sha512_process_block): Move to ...
10033 * crypt/sha512-block.c: ... here.
10034 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10035 path.
10036 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10037 * sysdeps/sparc/sparc64/multiarch/Makefile
10038 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10039 crypt subdir.
10040 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10041 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10042 multiarch changes.
10043 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10044 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10045 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10046 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10047 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10048 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10049 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10050 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10051 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10052 file.
10053 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10054 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10055 file.
10056 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10057
8ca89318
JM
100582012-11-13 Joseph Myers <joseph@codesourcery.com>
10059
e27d476a
JM
10060 * timezone/tzselect.ksh: Update from tzcode git revision
10061 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10062 * timezone/zdump.c: Likewise.
10063 * timezone/zic.c: Likewise.
10064 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10065 in TZVERSION setting, not $(PKGVERSION).
10066 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10067 REPORT_BUGS_TO settings.
10068
8ca89318
JM
10069 [BZ #14838]
10070 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10071 macro.
10072
47594329
MS
100732012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10074
10075 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10076 detection to immediately after _FP_ROUND().
10077 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10078 bits are 0.
10079
640ac3f1
DM
100802012-11-11 David S. Miller <davem@davemloft.net>
10081
10082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10083 inttypes.h
10084 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10085 __close rather than their public counterparts.
10086
3d2577bb
JM
100872012-11-10 Joseph Myers <joseph@codesourcery.com>
10088
10089 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10090 file.
10091 [UNIX98] (sem_timedwait): Do not expect.
10092 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10093 [XPG4 || UNIX98] (sockatmark): Do not expect.
10094 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10095 (clock_getcpuclockid): Do not expect.
10096 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10097 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10098 Do not expect.
10099 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10100 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10101 [UNIX98] (vwscanf): Likewise.
10102 [UNIX98] (vswscanf): Likewise.
10103
fb1ae1ee
JM
101042012-11-09 Joseph Myers <joseph@codesourcery.com>
10105
9ec6f8bd
JM
10106 * timezone/version.h: Remove file.
10107 * timezone/README: Do not refer to version.h.
10108 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10109 $(objpfx)version.h.
10110 ($(objpfx)zdump.o): Likewise.
c3f81911 10111 ($(objpfx)version.h): New target.
9ec6f8bd 10112
0aa8f8a1
JM
10113 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10114 2012i.
10115 * timezone/README: Don't mention modification to tzselect.ksh.
10116 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10117 work on unmodified tzselect.ksh. Substitute version numbers in
10118 tzselect.ksh.
10119
4e87147f
JM
10120 * Makefile (format-me): Remove.
10121 (INSTALL): Adjust indentation. Use commands directly instead of
10122 using $(format-me).
10123
8b748aed
JM
10124 * aclocal.m4 (ACX_PKGVERSION): New macro.
10125 (ACX_BUGURL): Likewise.
10126 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10127 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10128 (REPORT_BUGS_TO): Likewise.
10129 * configure: Regenerated.
10130 * config.h.in (PKGVERSION): New macro.
10131 (REPORT_BUGS_TO): Likewise.
10132 * config.make.in (PKGVERSION): New variable.
10133 (PKGVERSION_TEXI): Likewise.
10134 (REPORT_BUGS_TO): Likewise.
10135 (REPORT_BUGS_TEXI): Likewise.
10136 * Makefile (format-me): Use -I$(common-objpfx)manual.
10137 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10138 ($(common-objpfx)manual/%): New target.
10139 (manual/%): Remove target.
10140 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10141 (print_version): Use PKGVERSION.
10142 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10143 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10144 and REPORT_BUGS_TO.
10145 ($(objpfx)xtrace): Likewise.
10146 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10147 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10148 (print_version): Use PKGVERSION.
10149 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10150 (do_version): Use PKGVERSION.
10151 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10152 REPORT_BUGS_TO.
10153 (common-ldd-rewrite): Likewise.
10154 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10155 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10156 (print_version): Use PKGVERSION.
10157 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10158 * elf/pldd.c (argp_program_bug_address): Remove variable.
10159 (more_help): New function.
10160 (argp): Use more_help.
10161 (print_version): Use PKGVERSION.
10162 * elf/sln.c (main): Use PKGVERSION.
10163 (usage): Use REPORT_BUGS_TO.
10164 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10165 (top level): Use PKGVERSION.
10166 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10167 (print_version): Use PKGVERSION.
10168 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10169 (print_version): Use PKGVERSION.
10170 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10171 (print_version): Use PKGVERSION.
10172 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10173 (print_version): Use PKGVERSION.
10174 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10175 (print_version): Use PKGVERSION.
10176 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10177 (print_version): Use PKGVERSION.
10178 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10179 and BUGURL.
10180 ($(objpfx)memusage): Likewise.
10181 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10182 (do_version): Use PKGVERSION.
10183 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10184 (print_version): Use PKGVERSION.
10185 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10186 ($PKGVERSION): New variable.
10187 ($REPORT_BUGS_TO): Likewise.
10188 (usage): Use $REPORT_BUGS_TO.
10189 (top level): Use $PKGVERSION.
10190 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10191 ($(objpfx)pkgvers.texi): New rule.
10192 ($(objpfx)stamp-pkgvers): Likewise.
10193 * manual/install.texi: Include pkgvers.texi.
10194 (--with-pkgversion): Document new configure option.
10195 (--with-bugurl): Likewise.
10196 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10197 than necessarily for this particular distribution. Use
10198 REPORT_BUGS_TO for where to report bugs.
10199 * INSTALL: Regenerated.
10200 * manual/libc.texinfo: Include pkgvers.texi.
10201 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10202 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10203 (print_version): Use PKGVERSION.
10204 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10205 (print_version): Use PKGVERSION.
10206 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10207 (print_version): Use PKGVERSION.
10208 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10209 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10210 macro.
10211 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10212 (print_version): Use PKGVERSION.
10213 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10214 (print_version): Use PKGVERSION.
10215 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10216 and PKGVERSION.
10217
92e4b6a9
JM
10218 * timezone/checktab.awk: Update from tzcode 2012i.
10219 * timezone/ialloc.c: Likewise.
10220 * timezone/private.h: Likewise.
10221 * timezone/scheck.c: Likewise.
10222 * timezone/tzfile.h: Likewise.
10223 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10224 (TZVERSION): Hardcode tzcode version number.
10225 * timezone/zdump.c: Update from tzcode 2012i.
10226 * timezone/zic.c: Likewise.
10227 * timezone/version.h: New file.
10228 * timezone/README: Describe version.h. Update upstream location.
10229
9bde902c
JM
10230 [BZ #14824]
10231 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10232 (mktemp): Enable declaration.
10233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10237 Likewise.
10238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10239 Likewise.
10240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10241 Likewise.
10242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10243 Likewise.
10244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10245 Likewise.
10246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10247 Likewise.
10248
fb1ae1ee
JM
10249 [BZ #14821]
10250 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10251 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10252 for copies of such integer values.
10253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10255
2c1adbcb
AJ
102562012-11-09 Andreas Jaeger <aj@suse.de>
10257
10258 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10259 definitions and declarations that are provided by
10260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10261
d0f8457e
AK
102622012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10263
3a235abb 10264 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10265 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10266 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10267 definition.
10268
57241e26
MS
102692012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10270
10271 * elf/elf.h: Update comment before AArch64 relocations.
10272
60e8270d
DM
102732012-11-07 David S. Miller <davem@davemloft.net>
10274
10275 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10276 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10277 (__start_context): Declare.
10278 (__makecontext_ret): Delete.
10279 (__makecontext): Hook up __start_context instead of
10280 __makecontext_ret.
10281 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10282 (sysdep_routines): Add __start_context when in stdlib.
10283
0fbb0fbc
JM
102842012-11-07 Joseph Myers <joseph@codesourcery.com>
10285
10286 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10287 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10288 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10289 hardcoded "nm".
10290 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10291 (READELF): New variable. Use it instead of hardcoded "readelf".
10292
eb48db7e
L
102932012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10296 * sysdeps/x86/Makefile: Here.
10297 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10298 * sysdeps/x86/tst-xmmymm.sh: This.
10299
05bcf62a
JM
103002012-11-07 Joseph Myers <joseph@codesourcery.com>
10301
c4b6cf53
JM
10302 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10303 expectations.
10304 [UNIX98] (pthread_barrier_t): Do not expect.
10305 [UNIX98] (pthread_barrierattr_t): Likewise.
10306 [UNIX98] (pthread_spinlock_t): Likewise.
10307 [UNIX98] (pthread_barrier_destroy): Likewise.
10308 [UNIX98] (pthread_barrier_init): Likewise.
10309 [UNIX98] (pthread_barrier_wait): Likewise.
10310 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10311 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10312 [UNIX98] (pthread_barrierattr_init): Likewise.
10313 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10314 [UNIX98] (pthread_getcpuclockid): Likewise.
10315 [UNIX98] (pthread_mutex_timedlock): Likewise.
10316 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10317 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10318 [UNIX98] (pthread_sigmask): Likewise.
10319 [UNIX98] (pthread_spin_destroy): Likewise.
10320 [UNIX98] (pthread_spin_init): Likewise.
10321 [UNIX98] (pthread_spin_lock): Likewise.
10322 [UNIX98] (pthread_spin_trylock): Likewise.
10323 [UNIX98] (pthread_spin_unlock): Likewise.
10324 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10325 Do not expect.
10326 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10328 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10329 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10330 [XPG3 || XPG4] (pthread_key_t): Likewise.
10331 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10332 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10333 [XPG3 || XPG4] (pthread_once_t): Likewise.
10334 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10335 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10337 [XPG3 || XPG4] (pthread_t): Likewise.
10338
cbe6e120
JM
10339 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10340 not expect.
10341 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10342
1b126443
JM
10343 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10344 Change function return type to int.
10345
b961a573
JM
10346 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10347 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10348 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10349 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10350 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10351 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10352 [!POSIX] (posix_madvise): Likewise.
10353 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10354 && !UNIX98].
10355 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10356 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10357 (mode_t): Likewise.
10358 (posix_mem_offset): Likewise.
10359 (posix_typed_mem_get_info): Likewise.
10360 (posix_typed_mem_open): Likewise.
10361
9e188909
JM
10362 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10363 Change condition to [XOPEN2K8].
10364
05bcf62a
JM
10365 * conform/conformtest.pl: Preprocess allow-header data with -x c
10366 instead of from stdin.
10367 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10368 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10369 [C99-based standards] (cerfc): Likewise.
10370 [C99-based standards] (cexp2): Likewise.
10371 [C99-based standards] (cexpm1): Likewise.
10372 [C99-based standards] (clog10): Likewise.
10373 [C99-based standards] (clog1p): Likewise.
10374 [C99-based standards] (clog2): Likewise.
10375 [C99-based standards] (clgamma): Likewise.
10376 [C99-based standards] (ctgamma): Likewise.
10377 [C99-based standards] (cerff): Likewise.
10378 [C99-based standards] (cerfcf): Likewise.
10379 [C99-based standards] (cexp2f): Likewise.
10380 [C99-based standards] (cexpm1f): Likewise.
10381 [C99-based standards] (clog10f): Likewise.
10382 [C99-based standards] (clog1pf): Likewise.
10383 [C99-based standards] (clog2f): Likewise.
10384 [C99-based standards] (clgammaf): Likewise.
10385 [C99-based standards] (ctgammaf): Likewise.
10386 [C99-based standards] (cerfl): Likewise.
10387 [C99-based standards] (cerfcl): Likewise.
10388 [C99-based standards] (cexp2l): Likewise.
10389 [C99-based standards] (cexpm1l): Likewise.
10390 [C99-based standards] (clog10l): Likewise.
10391 [C99-based standards] (clog1pl): Likewise.
10392 [C99-based standards] (clog2l): Likewise.
10393 [C99-based standards] (clgammal): Likewise.
10394 [C99-based standards] (ctgammal): Likewise.
10395 * conform/data/inttypes.h-data [C99-based standards]: Include
10396 stdint.h-data. Remove all expectations for stdint.h contents.
10397 [C99-based standards] (PRI*): Do not allow.
10398 [C99-based standards] (SCN*): Likewise.
10399 [C99-based standards] (*_t): Likewise.
10400 [C99-based-standards] (PRId8): Expect macro.
10401 [C99-based-standards] (PRIi8): Likewise.
10402 [C99-based-standards] (PRIo8): Likewise.
10403 [C99-based-standards] (PRIu8): Likewise.
10404 [C99-based-standards] (PRIx8): Likewise.
10405 [C99-based-standards] (PRIX8): Likewise.
10406 [C99-based-standards] (SCNd8): Likewise.
10407 [C99-based-standards] (SCNi8): Likewise.
10408 [C99-based-standards] (SCNo8): Likewise.
10409 [C99-based-standards] (SCNu8): Likewise.
10410 [C99-based-standards] (SCNx8): Likewise.
10411 [C99-based-standards] (PRIdLEAST8): Likewise.
10412 [C99-based-standards] (PRIiLEAST8): Likewise.
10413 [C99-based-standards] (PRIoLEAST8): Likewise.
10414 [C99-based-standards] (PRIuLEAST8): Likewise.
10415 [C99-based-standards] (PRIxLEAST8): Likewise.
10416 [C99-based-standards] (PRIXLEAST8): Likewise.
10417 [C99-based-standards] (SCNdLEAST8): Likewise.
10418 [C99-based-standards] (SCNiLEAST8): Likewise.
10419 [C99-based-standards] (SCNoLEAST8): Likewise.
10420 [C99-based-standards] (SCNuLEAST8): Likewise.
10421 [C99-based-standards] (SCNxLEAST8): Likewise.
10422 [C99-based-standards] (PRIdFAST8): Likewise.
10423 [C99-based-standards] (PRIiFAST8): Likewise.
10424 [C99-based-standards] (PRIoFAST8): Likewise.
10425 [C99-based-standards] (PRIuFAST8): Likewise.
10426 [C99-based-standards] (PRIxFAST8): Likewise.
10427 [C99-based-standards] (PRIXFAST8): Likewise.
10428 [C99-based-standards] (SCNdFAST8): Likewise.
10429 [C99-based-standards] (SCNiFAST8): Likewise.
10430 [C99-based-standards] (SCNoFAST8): Likewise.
10431 [C99-based-standards] (SCNuFAST8): Likewise.
10432 [C99-based-standards] (SCNxFAST8): Likewise.
10433 [C99-based-standards] (PRId16): Likewise.
10434 [C99-based-standards] (PRIi16): Likewise.
10435 [C99-based-standards] (PRIo16): Likewise.
10436 [C99-based-standards] (PRIu16): Likewise.
10437 [C99-based-standards] (PRIx16): Likewise.
10438 [C99-based-standards] (PRIX16): Likewise.
10439 [C99-based-standards] (SCNd16): Likewise.
10440 [C99-based-standards] (SCNi16): Likewise.
10441 [C99-based-standards] (SCNo16): Likewise.
10442 [C99-based-standards] (SCNu16): Likewise.
10443 [C99-based-standards] (SCNx16): Likewise.
10444 [C99-based-standards] (PRIdLEAST16): Likewise.
10445 [C99-based-standards] (PRIiLEAST16): Likewise.
10446 [C99-based-standards] (PRIoLEAST16): Likewise.
10447 [C99-based-standards] (PRIuLEAST16): Likewise.
10448 [C99-based-standards] (PRIxLEAST16): Likewise.
10449 [C99-based-standards] (PRIXLEAST16): Likewise.
10450 [C99-based-standards] (SCNdLEAST16): Likewise.
10451 [C99-based-standards] (SCNiLEAST16): Likewise.
10452 [C99-based-standards] (SCNoLEAST16): Likewise.
10453 [C99-based-standards] (SCNuLEAST16): Likewise.
10454 [C99-based-standards] (SCNxLEAST16): Likewise.
10455 [C99-based-standards] (PRIdFAST16): Likewise.
10456 [C99-based-standards] (PRIiFAST16): Likewise.
10457 [C99-based-standards] (PRIoFAST16): Likewise.
10458 [C99-based-standards] (PRIuFAST16): Likewise.
10459 [C99-based-standards] (PRIxFAST16): Likewise.
10460 [C99-based-standards] (PRIXFAST16): Likewise.
10461 [C99-based-standards] (SCNdFAST16): Likewise.
10462 [C99-based-standards] (SCNiFAST16): Likewise.
10463 [C99-based-standards] (SCNoFAST16): Likewise.
10464 [C99-based-standards] (SCNuFAST16): Likewise.
10465 [C99-based-standards] (SCNxFAST16): Likewise.
10466 [C99-based-standards] (PRId32): Likewise.
10467 [C99-based-standards] (PRIi32): Likewise.
10468 [C99-based-standards] (PRIo32): Likewise.
10469 [C99-based-standards] (PRIu32): Likewise.
10470 [C99-based-standards] (PRIx32): Likewise.
10471 [C99-based-standards] (PRIX32): Likewise.
10472 [C99-based-standards] (SCNd32): Likewise.
10473 [C99-based-standards] (SCNi32): Likewise.
10474 [C99-based-standards] (SCNo32): Likewise.
10475 [C99-based-standards] (SCNu32): Likewise.
10476 [C99-based-standards] (SCNx32): Likewise.
10477 [C99-based-standards] (PRIdLEAST32): Likewise.
10478 [C99-based-standards] (PRIiLEAST32): Likewise.
10479 [C99-based-standards] (PRIoLEAST32): Likewise.
10480 [C99-based-standards] (PRIuLEAST32): Likewise.
10481 [C99-based-standards] (PRIxLEAST32): Likewise.
10482 [C99-based-standards] (PRIXLEAST32): Likewise.
10483 [C99-based-standards] (SCNdLEAST32): Likewise.
10484 [C99-based-standards] (SCNiLEAST32): Likewise.
10485 [C99-based-standards] (SCNoLEAST32): Likewise.
10486 [C99-based-standards] (SCNuLEAST32): Likewise.
10487 [C99-based-standards] (SCNxLEAST32): Likewise.
10488 [C99-based-standards] (PRIdFAST32): Likewise.
10489 [C99-based-standards] (PRIiFAST32): Likewise.
10490 [C99-based-standards] (PRIoFAST32): Likewise.
10491 [C99-based-standards] (PRIuFAST32): Likewise.
10492 [C99-based-standards] (PRIxFAST32): Likewise.
10493 [C99-based-standards] (PRIXFAST32): Likewise.
10494 [C99-based-standards] (SCNdFAST32): Likewise.
10495 [C99-based-standards] (SCNiFAST32): Likewise.
10496 [C99-based-standards] (SCNoFAST32): Likewise.
10497 [C99-based-standards] (SCNuFAST32): Likewise.
10498 [C99-based-standards] (SCNxFAST32): Likewise.
10499 [C99-based-standards] (PRId64): Likewise.
10500 [C99-based-standards] (PRIi64): Likewise.
10501 [C99-based-standards] (PRIo64): Likewise.
10502 [C99-based-standards] (PRIu64): Likewise.
10503 [C99-based-standards] (PRIx64): Likewise.
10504 [C99-based-standards] (PRIX64): Likewise.
10505 [C99-based-standards] (SCNd64): Likewise.
10506 [C99-based-standards] (SCNi64): Likewise.
10507 [C99-based-standards] (SCNo64): Likewise.
10508 [C99-based-standards] (SCNu64): Likewise.
10509 [C99-based-standards] (SCNx64): Likewise.
10510 [C99-based-standards] (PRIdLEAST64): Likewise.
10511 [C99-based-standards] (PRIiLEAST64): Likewise.
10512 [C99-based-standards] (PRIoLEAST64): Likewise.
10513 [C99-based-standards] (PRIuLEAST64): Likewise.
10514 [C99-based-standards] (PRIxLEAST64): Likewise.
10515 [C99-based-standards] (PRIXLEAST64): Likewise.
10516 [C99-based-standards] (SCNdLEAST64): Likewise.
10517 [C99-based-standards] (SCNiLEAST64): Likewise.
10518 [C99-based-standards] (SCNoLEAST64): Likewise.
10519 [C99-based-standards] (SCNuLEAST64): Likewise.
10520 [C99-based-standards] (SCNxLEAST64): Likewise.
10521 [C99-based-standards] (PRIdFAST64): Likewise.
10522 [C99-based-standards] (PRIiFAST64): Likewise.
10523 [C99-based-standards] (PRIoFAST64): Likewise.
10524 [C99-based-standards] (PRIuFAST64): Likewise.
10525 [C99-based-standards] (PRIxFAST64): Likewise.
10526 [C99-based-standards] (PRIXFAST64): Likewise.
10527 [C99-based-standards] (SCNdFAST64): Likewise.
10528 [C99-based-standards] (SCNiFAST64): Likewise.
10529 [C99-based-standards] (SCNoFAST64): Likewise.
10530 [C99-based-standards] (SCNuFAST64): Likewise.
10531 [C99-based-standards] (SCNxFAST64): Likewise.
10532 [C99-based-standards] (PRIdMAX): Likewise.
10533 [C99-based-standards] (PRIiMAX): Likewise.
10534 [C99-based-standards] (PRIoMAX): Likewise.
10535 [C99-based-standards] (PRIuMAX): Likewise.
10536 [C99-based-standards] (PRIxMAX): Likewise.
10537 [C99-based-standards] (PRIXMAX): Likewise.
10538 [C99-based-standards] (SCNdMAX): Likewise.
10539 [C99-based-standards] (SCNiMAX): Likewise.
10540 [C99-based-standards] (SCNoMAX): Likewise.
10541 [C99-based-standards] (SCNuMAX): Likewise.
10542 [C99-based-standards] (SCNxMAX): Likewise.
10543 [C99-based-standards] (PRIdPTR): Likewise.
10544 [C99-based-standards] (PRIiPTR): Likewise.
10545 [C99-based-standards] (PRIoPTR): Likewise.
10546 [C99-based-standards] (PRIuPTR): Likewise.
10547 [C99-based-standards] (PRIxPTR): Likewise.
10548 [C99-based-standards] (PRIXPTR): Likewise.
10549 [C99-based-standards] (SCNdPTR): Likewise.
10550 [C99-based-standards] (SCNiPTR): Likewise.
10551 [C99-based-standards] (SCNoPTR): Likewise.
10552 [C99-based-standards] (SCNuPTR): Likewise.
10553 [C99-based-standards] (SCNxPTR): Likewise.
10554 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10555 allow.
10556 * conform/data/stdint.h-data: Update comments to clarify
10557 requirements.
10558 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10559 type.
10560 [C99-based standards] (INT8_MAX): Likewise.
10561 [C99-based standards] (INT16_MIN): Likewise.
10562 [C99-based standards] (INT16_MAX): Likewise.
10563 [C99-based standards] (INT32_MIN): Likewise.
10564 [C99-based standards] (INT32_MAX): Likewise.
10565 [C99-based standards] (INT64_MIN): Likewise.
10566 [C99-based standards] (INT64_MAX): Likewise.
10567 [C99-based standards] (UINT8_MAX): Likewise.
10568 [C99-based standards] (UINT16_MAX): Likewise.
10569 [C99-based standards] (UINT32_MAX): Likewise.
10570 [C99-based standards] (UINT64_MAX): Likewise.
10571 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10572 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10573 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10574 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10575 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10576 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10577 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10578 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10579 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10580 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10581 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10582 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10583 [C99-based standards] (INT_FAST8_MIN): Likewise.
10584 [C99-based standards] (INT_FAST8_MAX): Likewise.
10585 [C99-based standards] (INT_FAST16_MIN): Likewise.
10586 [C99-based standards] (INT_FAST16_MAX): Likewise.
10587 [C99-based standards] (INT_FAST32_MIN): Likewise.
10588 [C99-based standards] (INT_FAST32_MAX): Likewise.
10589 [C99-based standards] (INT_FAST64_MIN): Likewise.
10590 [C99-based standards] (INT_FAST64_MAX): Likewise.
10591 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10592 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10593 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10594 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10595 [C99-based standards] (INTPTR_MIN): Likewise.
10596 [C99-based standards] (INTPTR_MAX): Likewise.
10597 [C99-based standards] (UINTPTR_MAX): Likewise.
10598 [C99-based standards] (INTMAX_MIN): Likewise.
10599 [C99-based standards] (INTMAX_MAX): Likewise.
10600 [C99-based standards] (UINTMAX_MAX): Likewise.
10601 [C99-based standards] (PTRDIFF_MIN): Likewise.
10602 [C99-based standards] (PTRDIFF_MAX): Likewise.
10603 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10604 [C99-based standards] (SIZE_MAX): Likewise.
10605 [C99-based standards] (WCHAR_MAX): Likewise.
10606 [C99-based standards] (WINT_MAX): Likewise.
10607 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10608 constraint on value.
10609 [C99-based standards] (WCHAR_MIN): Likewise.
10610 [C99-based standards] (WINT_MIN): Likewise.
10611 [C99-based standards] (*_t): Allow.
10612 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10613 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10614 Include math.h-data and complex.h-data. Remove all expectations
10615 of math.h and complex.h contents.
10616 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10617 at end of line.
10618 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10619 (struct tm): Expect tag.
10620 [C99-based-standards] (wcstof): Expect function.
10621 [C99-based-standards] (wcstold): Likewise.
10622 [C99-based-standards] (wcstoll): Likewise.
10623 [C99-based-standards] (wcstoull): Likewise.
10624 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10625 macro-int-constant. Specify type.
10626 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10627 constraint on value.
10628 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10629 Specify type.
10630 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10631 Specify value.
10632 [ISO C standards]: Do not allow headers.
10633 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10634 wcs[abcdefghijklmnopqrstuvwxyz]*.
10635 [ISO C standards] (*_t): Do not allow.
10636 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10637 Expect function.
10638 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10639 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10640 Specify type.
10641 [ISO C standards]: Do not allow headers.
10642 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10643 is[abcdefghijklmnopqrstuvwxyz]*.
10644 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10645 to[abcdefghijklmnopqrstuvwxyz]*.
10646 [ISO C standards] (*_t): Do not allow.
10647 * conform/data/stdalign.h-data: New file.
10648 * conform/data/stdbool.h-data: Likewise.
10649 * conform/data/stdnoreturn.h-data: Likewise.
10650
7514feb8
RM
106512012-11-07 Roland McGrath <roland@hack.frob.com>
10652
10653 [BZ #14815]
10654 * manual/filesys.texi (Directory Entries): Typo fix.
10655 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10656
19b2ecfc
MS
106572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10658
10659 * elf/elf.h (EM_AARCH64): New macro.
10660 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10661 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10662 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10663 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10664 (R_AARCH64_TLSDESC): Likewise.
10665 (NT_ARM_TLS): Likewise.
10666 (NT_ARM_HW_BREAK): Likewise.
10667 (NT_ARM_HW_WATCH): Likewise.
10668
60e235ee
JM
106692012-11-07 Joseph Myers <joseph@codesourcery.com>
10670
10671 [BZ #14811]
10672 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10673 (__ieee754_powl): Saturate nonzero exponents with absolute value
10674 below 0x1p-79 to +/- 0x1p-79.
10675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10676 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10677 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10678 nonzero exponents with absolute value below 0x1p-32 to +/-
10679 0x1p-32.
10680 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10681 (__ieee754_powl): Saturate nonzero exponents with absolute value
10682 below 0x1p-79 to +/- 0x1p-79.
10683 * math/libm-test.inc (pow_test): Add more tests.
10684
0ab234b7
AK
106852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10686
10687 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10688 _dl_s390_cap_flags with kernel. Increase string length.
10689 (_dl_s390_platforms): Add z196 and zEC12.
10690
45832f74
JM
106912012-11-07 Joseph Myers <joseph@codesourcery.com>
10692
10693 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10694 Change XOPEN21K to XOPEN2K.
10695
19218757
MK
106962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10697
10698 * string/memmove.c: Use memcpy when possible.
10699
c5f45721
AJ
107002012-11-06 Andreas Jaeger <aj@suse.de>
10701
10702 * po/eo.po: Update from translation team.
10703
82477c28
JM
107042012-11-06 Joseph Myers <joseph@codesourcery.com>
10705
10706 [BZ #14793]
10707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10708 exponent and small x and y exponents, scale x or y up. Increase
10709 by 2 the exponent used in scaling up.
10710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10712 * math/libm-test.inc (fma_test): Add more tests.
10713 (fma_test_towardzero): Likewise.
10714 (fma_test_downward): Likewise.
10715 (fma_test_upward): Likewise.
10716
99252c8c
JM
107172012-11-05 Joseph Myers <joseph@codesourcery.com>
10718
acfa885f
JM
10719 [BZ #14805]
10720 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10721 fenv_t *.
10722
99252c8c
JM
10723 [BZ #14801]
10724 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10725 namespace for names of struct fields.
10726 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10727 fenv_t fields.
10728 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10729 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10730
d6d98dea
ST
107312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10732
10733 [BZ #3665]
10734 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10735
e10bb107
TS
107362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10737
10738 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10739 PTR_DEMANGLE.
10740
10741 [BZ #5246]
10742 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10743 PTR_DEMANGLE.
10744
a0c2940d
JM
107452012-11-04 Joseph Myers <joseph@codesourcery.com>
10746
10747 [BZ #14797]
10748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10749 definitely overflow as x * y not x * y + z.
10750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10752 * math/libm-test.inc (fma_test): Add more tests.
10753 (fma_test_towardzero): Likewise.
10754 (fma_test_downward): Likewise.
10755 (fma_test_upward): Likewise.
10756
b830319d
TS
107572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10758
10759 [BZ #157]
10760
10761 * include/stub-tag.h: Remove file.
10762 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10763 '#include' of it.
10764 * manual/maint.texi (Porting): Don't reference it.
10765 * Makerules ($(objpfx)stubs): Likewise.
10766 * dirent/closedir.c: Don't include <stub-tag.h>.
10767 * dirent/dirfd.c: Likewise.
10768 * dirent/fdopendir.c: Likewise.
10769 * dirent/getdents.c: Likewise.
10770 * dirent/getdents64.c: Likewise.
10771 * dirent/opendir.c: Likewise.
10772 * dirent/readdir.c: Likewise.
10773 * dirent/readdir64.c: Likewise.
10774 * dirent/readdir64_r.c: Likewise.
10775 * dirent/readdir_r.c: Likewise.
10776 * dirent/rewinddir.c: Likewise.
10777 * dirent/seekdir.c: Likewise.
10778 * dirent/telldir.c: Likewise.
10779 * gmon/profil.c: Likewise.
10780 * grp/setgroups.c: Likewise.
10781 * inet/if_index.c: Likewise.
10782 * io/access.c: Likewise.
10783 * io/chdir.c: Likewise.
10784 * io/chmod.c: Likewise.
10785 * io/chown.c: Likewise.
10786 * io/close.c: Likewise.
10787 * io/dup.c: Likewise.
10788 * io/dup2.c: Likewise.
10789 * io/dup3.c: Likewise.
10790 * io/euidaccess.c: Likewise.
10791 * io/faccessat.c: Likewise.
10792 * io/fchdir.c: Likewise.
10793 * io/fchmod.c: Likewise.
10794 * io/fchmodat.c: Likewise.
10795 * io/fchown.c: Likewise.
10796 * io/fchownat.c: Likewise.
10797 * io/fcntl.c: Likewise.
10798 * io/flock.c: Likewise.
10799 * io/fstatfs.c: Likewise.
10800 * io/fstatfs64.c: Likewise.
10801 * io/fstatvfs.c: Likewise.
10802 * io/fstatvfs64.c: Likewise.
10803 * io/futimens.c: Likewise.
10804 * io/fxstat.c: Likewise.
10805 * io/fxstat64.c: Likewise.
10806 * io/fxstatat.c: Likewise.
10807 * io/fxstatat64.c: Likewise.
10808 * io/getcwd.c: Likewise.
10809 * io/isatty.c: Likewise.
10810 * io/lchmod.c: Likewise.
10811 * io/lchown.c: Likewise.
10812 * io/link.c: Likewise.
10813 * io/linkat.c: Likewise.
10814 * io/lseek.c: Likewise.
10815 * io/lseek64.c: Likewise.
10816 * io/lxstat64.c: Likewise.
10817 * io/mkdir.c: Likewise.
10818 * io/mkdirat.c: Likewise.
10819 * io/mkfifo.c: Likewise.
10820 * io/mkfifoat.c: Likewise.
10821 * io/open.c: Likewise.
10822 * io/open64.c: Likewise.
10823 * io/openat.c: Likewise.
10824 * io/openat64.c: Likewise.
10825 * io/pipe.c: Likewise.
10826 * io/pipe2.c: Likewise.
10827 * io/poll.c: Likewise.
10828 * io/posix_fadvise.c: Likewise.
10829 * io/posix_fadvise64.c: Likewise.
10830 * io/posix_fallocate.c: Likewise.
10831 * io/posix_fallocate64.c: Likewise.
10832 * io/read.c: Likewise.
10833 * io/readlink.c: Likewise.
10834 * io/readlinkat.c: Likewise.
10835 * io/rmdir.c: Likewise.
10836 * io/sendfile.c: Likewise.
10837 * io/sendfile64.c: Likewise.
10838 * io/statfs.c: Likewise.
10839 * io/statfs64.c: Likewise.
10840 * io/statvfs.c: Likewise.
10841 * io/statvfs64.c: Likewise.
10842 * io/symlink.c: Likewise.
10843 * io/symlinkat.c: Likewise.
10844 * io/ttyname.c: Likewise.
10845 * io/ttyname_r.c: Likewise.
10846 * io/umask.c: Likewise.
10847 * io/unlink.c: Likewise.
10848 * io/unlinkat.c: Likewise.
10849 * io/utime.c: Likewise.
10850 * io/utimensat.c: Likewise.
10851 * io/write.c: Likewise.
10852 * io/xmknod.c: Likewise.
10853 * io/xmknodat.c: Likewise.
10854 * io/xstat.c: Likewise.
10855 * io/xstat64.c: Likewise.
10856 * login/getpt.c: Likewise.
10857 * login/grantpt.c: Likewise.
10858 * login/unlockpt.c: Likewise.
10859 * math/e_acoshl.c: Likewise.
10860 * math/e_acosl.c: Likewise.
10861 * math/e_asinl.c: Likewise.
10862 * math/e_atan2l.c: Likewise.
10863 * math/e_atanhl.c: Likewise.
10864 * math/e_coshl.c: Likewise.
10865 * math/e_expl.c: Likewise.
10866 * math/e_fmodl.c: Likewise.
10867 * math/e_gammal_r.c: Likewise.
10868 * math/e_hypotl.c: Likewise.
10869 * math/e_j0l.c: Likewise.
10870 * math/e_j1l.c: Likewise.
10871 * math/e_jnl.c: Likewise.
10872 * math/e_lgammal_r.c: Likewise.
10873 * math/e_log10l.c: Likewise.
10874 * math/e_log2l.c: Likewise.
10875 * math/e_logl.c: Likewise.
10876 * math/e_powl.c: Likewise.
10877 * math/e_rem_pio2l.c: Likewise.
10878 * math/e_sinhl.c: Likewise.
10879 * math/e_sqrtl.c: Likewise.
10880 * math/fclrexcpt.c: Likewise.
10881 * math/fedisblxcpt.c: Likewise.
10882 * math/feenablxcpt.c: Likewise.
10883 * math/fegetenv.c: Likewise.
10884 * math/fegetexcept.c: Likewise.
10885 * math/fegetround.c: Likewise.
10886 * math/feholdexcpt.c: Likewise.
10887 * math/fesetenv.c: Likewise.
10888 * math/fesetround.c: Likewise.
10889 * math/feupdateenv.c: Likewise.
10890 * math/fgetexcptflg.c: Likewise.
10891 * math/fraiseexcpt.c: Likewise.
10892 * math/fsetexcptflg.c: Likewise.
10893 * math/ftestexcept.c: Likewise.
10894 * math/k_cosl.c: Likewise.
10895 * math/k_rem_pio2l.c: Likewise.
10896 * math/k_sinl.c: Likewise.
10897 * math/k_tanl.c: Likewise.
10898 * math/s_asinhl.c: Likewise.
10899 * math/s_atanl.c: Likewise.
10900 * math/s_cbrtl.c: Likewise.
10901 * math/s_erfl.c: Likewise.
10902 * math/s_expm1l.c: Likewise.
10903 * math/s_log1pl.c: Likewise.
10904 * math/s_tanhl.c: Likewise.
10905 * misc/acct.c: Likewise.
10906 * misc/brk.c: Likewise.
10907 * misc/chflags.c: Likewise.
10908 * misc/chroot.c: Likewise.
10909 * misc/fchflags.c: Likewise.
10910 * misc/fgetxattr.c: Likewise.
10911 * misc/flistxattr.c: Likewise.
10912 * misc/fremovexattr.c: Likewise.
10913 * misc/fsetxattr.c: Likewise.
10914 * misc/fsync.c: Likewise.
10915 * misc/ftruncate.c: Likewise.
10916 * misc/futimes.c: Likewise.
10917 * misc/futimesat.c: Likewise.
10918 * misc/getdomain.c: Likewise.
10919 * misc/getdtsz.c: Likewise.
10920 * misc/gethostid.c: Likewise.
10921 * misc/gethostname.c: Likewise.
10922 * misc/getloadavg.c: Likewise.
10923 * misc/getpagesize.c: Likewise.
10924 * misc/getsysstats.c: Likewise.
10925 * misc/getxattr.c: Likewise.
10926 * misc/gtty.c: Likewise.
10927 * misc/ioctl.c: Likewise.
10928 * misc/lgetxattr.c: Likewise.
10929 * misc/listxattr.c: Likewise.
10930 * misc/llistxattr.c: Likewise.
10931 * misc/lremovexattr.c: Likewise.
10932 * misc/lsetxattr.c: Likewise.
10933 * misc/lutimes.c: Likewise.
10934 * misc/madvise.c: Likewise.
10935 * misc/mincore.c: Likewise.
10936 * misc/mlock.c: Likewise.
10937 * misc/mlockall.c: Likewise.
10938 * misc/mmap.c: Likewise.
10939 * misc/mprotect.c: Likewise.
10940 * misc/msync.c: Likewise.
10941 * misc/munlock.c: Likewise.
10942 * misc/munlockall.c: Likewise.
10943 * misc/munmap.c: Likewise.
10944 * misc/preadv.c: Likewise.
10945 * misc/preadv64.c: Likewise.
10946 * misc/ptrace.c: Likewise.
10947 * misc/pwritev.c: Likewise.
10948 * misc/pwritev64.c: Likewise.
10949 * misc/readv.c: Likewise.
10950 * misc/reboot.c: Likewise.
10951 * misc/remap_file_pages.c: Likewise.
10952 * misc/removexattr.c: Likewise.
10953 * misc/revoke.c: Likewise.
10954 * misc/select.c: Likewise.
10955 * misc/setdomain.c: Likewise.
10956 * misc/setegid.c: Likewise.
10957 * misc/seteuid.c: Likewise.
10958 * misc/sethostid.c: Likewise.
10959 * misc/sethostname.c: Likewise.
10960 * misc/setregid.c: Likewise.
10961 * misc/setreuid.c: Likewise.
10962 * misc/setxattr.c: Likewise.
10963 * misc/sstk.c: Likewise.
10964 * misc/stty.c: Likewise.
10965 * misc/swapoff.c: Likewise.
10966 * misc/swapon.c: Likewise.
10967 * misc/sync.c: Likewise.
10968 * misc/syncfs.c: Likewise.
10969 * misc/syscall.c: Likewise.
10970 * misc/truncate.c: Likewise.
10971 * misc/ualarm.c: Likewise.
10972 * misc/usleep.c: Likewise.
10973 * misc/ustat.c: Likewise.
10974 * misc/utimes.c: Likewise.
10975 * misc/vhangup.c: Likewise.
10976 * misc/writev.c: Likewise.
10977 * posix/_exit.c: Likewise.
10978 * posix/alarm.c: Likewise.
10979 * posix/execve.c: Likewise.
10980 * posix/fexecve.c: Likewise.
10981 * posix/fork.c: Likewise.
10982 * posix/fpathconf.c: Likewise.
10983 * posix/getaddrinfo.c: Likewise.
10984 * posix/getegid.c: Likewise.
10985 * posix/geteuid.c: Likewise.
10986 * posix/getgid.c: Likewise.
10987 * posix/getgroups.c: Likewise.
10988 * posix/getlogin.c: Likewise.
10989 * posix/getlogin_r.c: Likewise.
10990 * posix/getpgid.c: Likewise.
10991 * posix/getpid.c: Likewise.
10992 * posix/getppid.c: Likewise.
10993 * posix/getresgid.c: Likewise.
10994 * posix/getresuid.c: Likewise.
10995 * posix/getsid.c: Likewise.
10996 * posix/getuid.c: Likewise.
10997 * posix/glob64.c: Likewise.
10998 * posix/nanosleep.c: Likewise.
10999 * posix/pathconf.c: Likewise.
11000 * posix/pause.c: Likewise.
11001 * posix/posix_madvise.c: Likewise.
11002 * posix/pread.c: Likewise.
11003 * posix/pread64.c: Likewise.
11004 * posix/pwrite.c: Likewise.
11005 * posix/pwrite64.c: Likewise.
11006 * posix/sched_getaffinity.c: Likewise.
11007 * posix/sched_getp.c: Likewise.
11008 * posix/sched_gets.c: Likewise.
11009 * posix/sched_primax.c: Likewise.
11010 * posix/sched_primin.c: Likewise.
11011 * posix/sched_rr_gi.c: Likewise.
11012 * posix/sched_setaffinity.c: Likewise.
11013 * posix/sched_setp.c: Likewise.
11014 * posix/sched_sets.c: Likewise.
11015 * posix/sched_yield.c: Likewise.
11016 * posix/setgid.c: Likewise.
11017 * posix/setlogin.c: Likewise.
11018 * posix/setpgid.c: Likewise.
11019 * posix/setresgid.c: Likewise.
11020 * posix/setresuid.c: Likewise.
11021 * posix/setsid.c: Likewise.
11022 * posix/setuid.c: Likewise.
11023 * posix/sleep.c: Likewise.
11024 * posix/spawni.c: Likewise.
11025 * posix/sysconf.c: Likewise.
11026 * posix/times.c: Likewise.
11027 * posix/wait.c: Likewise.
11028 * posix/wait3.c: Likewise.
11029 * posix/wait4.c: Likewise.
11030 * posix/waitpid.c: Likewise.
11031 * resolv/gai_sigqueue.c: Likewise.
11032 * resource/getpriority.c: Likewise.
11033 * resource/getrlimit.c: Likewise.
11034 * resource/getrusage.c: Likewise.
11035 * resource/nice.c: Likewise.
11036 * resource/setpriority.c: Likewise.
11037 * resource/setrlimit.c: Likewise.
11038 * resource/ulimit.c: Likewise.
11039 * rt/aio_cancel.c: Likewise.
11040 * rt/aio_fsync.c: Likewise.
11041 * rt/aio_read.c: Likewise.
11042 * rt/aio_sigqueue.c: Likewise.
11043 * rt/aio_suspend.c: Likewise.
11044 * rt/aio_write.c: Likewise.
11045 * rt/clock_getres.c: Likewise.
11046 * rt/clock_gettime.c: Likewise.
11047 * rt/clock_nanosleep.c: Likewise.
11048 * rt/clock_settime.c: Likewise.
11049 * rt/lio_listio.c: Likewise.
11050 * rt/mq_close.c: Likewise.
11051 * rt/mq_getattr.c: Likewise.
11052 * rt/mq_notify.c: Likewise.
11053 * rt/mq_open.c: Likewise.
11054 * rt/mq_receive.c: Likewise.
11055 * rt/mq_send.c: Likewise.
11056 * rt/mq_setattr.c: Likewise.
11057 * rt/mq_timedreceive.c: Likewise.
11058 * rt/mq_timedsend.c: Likewise.
11059 * rt/mq_unlink.c: Likewise.
11060 * rt/shm_open.c: Likewise.
11061 * rt/shm_unlink.c: Likewise.
11062 * rt/timer_create.c: Likewise.
11063 * rt/timer_delete.c: Likewise.
11064 * rt/timer_getoverr.c: Likewise.
11065 * rt/timer_gettime.c: Likewise.
11066 * rt/timer_settime.c: Likewise.
11067 * setjmp/__longjmp.c: Likewise.
11068 * setjmp/setjmp.c: Likewise.
11069 * signal/kill.c: Likewise.
11070 * signal/killpg.c: Likewise.
11071 * signal/raise.c: Likewise.
11072 * signal/sigaction.c: Likewise.
11073 * signal/sigaltstack.c: Likewise.
11074 * signal/sigblock.c: Likewise.
11075 * signal/sigignore.c: Likewise.
11076 * signal/sigintr.c: Likewise.
11077 * signal/signal.c: Likewise.
11078 * signal/sigpause.c: Likewise.
11079 * signal/sigpending.c: Likewise.
11080 * signal/sigqueue.c: Likewise.
11081 * signal/sigreturn.c: Likewise.
11082 * signal/sigset.c: Likewise.
11083 * signal/sigsetmask.c: Likewise.
11084 * signal/sigstack.c: Likewise.
11085 * signal/sigsuspend.c: Likewise.
11086 * signal/sigtimedwait.c: Likewise.
11087 * signal/sigvec.c: Likewise.
11088 * signal/sigwait.c: Likewise.
11089 * signal/sigwaitinfo.c: Likewise.
11090 * signal/sysv_signal.c: Likewise.
11091 * socket/accept.c: Likewise.
11092 * socket/accept4.c: Likewise.
11093 * socket/bind.c: Likewise.
11094 * socket/connect.c: Likewise.
11095 * socket/getpeername.c: Likewise.
11096 * socket/getsockname.c: Likewise.
11097 * socket/getsockopt.c: Likewise.
11098 * socket/isfdtype.c: Likewise.
11099 * socket/listen.c: Likewise.
11100 * socket/recv.c: Likewise.
11101 * socket/recvfrom.c: Likewise.
11102 * socket/recvmsg.c: Likewise.
11103 * socket/send.c: Likewise.
11104 * socket/sendmsg.c: Likewise.
11105 * socket/sendto.c: Likewise.
11106 * socket/setsockopt.c: Likewise.
11107 * socket/shutdown.c: Likewise.
11108 * socket/sockatmark.c: Likewise.
11109 * socket/socket.c: Likewise.
11110 * socket/socketpair.c: Likewise.
11111 * stdio-common/ctermid.c: Likewise.
11112 * stdio-common/cuserid.c: Likewise.
11113 * stdio-common/remove.c: Likewise.
11114 * stdio-common/rename.c: Likewise.
11115 * stdio-common/renameat.c: Likewise.
11116 * stdio-common/tempname.c: Likewise.
11117 * stdlib/getcontext.c: Likewise.
11118 * stdlib/makecontext.c: Likewise.
11119 * stdlib/setcontext.c: Likewise.
11120 * stdlib/swapcontext.c: Likewise.
11121 * stdlib/system.c: Likewise.
11122 * streams/fattach.c: Likewise.
11123 * streams/fdetach.c: Likewise.
11124 * streams/getmsg.c: Likewise.
11125 * streams/getpmsg.c: Likewise.
11126 * streams/putmsg.c: Likewise.
11127 * streams/putpmsg.c: Likewise.
11128 * sysdeps/unix/bsd/getpt.c: Likewise.
11129 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11130 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11131 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11133 Likewise.
11134 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11135 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11136 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11137 * sysvipc/msgctl.c: Likewise.
11138 * sysvipc/msgget.c: Likewise.
11139 * sysvipc/msgrcv.c: Likewise.
11140 * sysvipc/msgsnd.c: Likewise.
11141 * sysvipc/semctl.c: Likewise.
11142 * sysvipc/semget.c: Likewise.
11143 * sysvipc/semop.c: Likewise.
11144 * sysvipc/semtimedop.c: Likewise.
11145 * sysvipc/shmat.c: Likewise.
11146 * sysvipc/shmctl.c: Likewise.
11147 * sysvipc/shmdt.c: Likewise.
11148 * sysvipc/shmget.c: Likewise.
11149 * termios/tcdrain.c: Likewise.
11150 * termios/tcflow.c: Likewise.
11151 * termios/tcflush.c: Likewise.
11152 * termios/tcgetattr.c: Likewise.
11153 * termios/tcgetpgrp.c: Likewise.
11154 * termios/tcsendbrk.c: Likewise.
11155 * termios/tcsetattr.c: Likewise.
11156 * termios/tcsetpgrp.c: Likewise.
11157 * time/adjtime.c: Likewise.
11158 * time/clock.c: Likewise.
11159 * time/getitimer.c: Likewise.
11160 * time/gettimeofday.c: Likewise.
11161 * time/setitimer.c: Likewise.
11162 * time/settimeofday.c: Likewise.
11163 * time/stime.c: Likewise.
11164 * time/time.c: Likewise.
11165
111662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11167
a20492cf
PT
11168 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11169 /usr/old/bin.
11170
72e182e3
PT
11171 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11172 instead of spaces.
11173 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11174
fbeafede
JM
111752012-11-03 Joseph Myers <joseph@codesourcery.com>
11176
5b5b04d6
JM
11177 [BZ #14796]
11178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11179 FE_TONEAREST before applying Dekker multiplication and Knuth
11180 addition. Clear inexact exceptions and check for exact zero
11181 results afterwards.
11182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11185 * math/libm-test.inc (fma_test): Add more tests.
11186 (fma_test_towardzero): Likewise.
11187 (fma_test_downward): Likewise.
11188 (fma_test_upward): Likewise.
11189 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11190 function.
11191 (libc_fesetround): New macro.
11192 (libc_fesetroundf): Likewise.
11193 (libc_fesetroundl): Likewise.
11194 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11195 function.
11196 (libc_fesetround_387): Likewise.
11197 (libc_fesetroundf): New macro.
11198 (libc_fesetround): Likewise.
11199 (libc_fesetroundl): Likewise.
11200 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11201 function.
11202 (libc_fesetroundf): New macro.
11203 (libc_fesetround): Likewise.
11204 (libc_fesetroundl): Likewise.
11205 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11206 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11207 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11208 libm_hidden_ver.
11209 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11210 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11211 libm_hidden_def.
11212 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11213 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11214 libm_hidden_ver.
11215 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11216 libm_hidden_def.
11217
fbeafede
JM
11218 [BZ #3439]
11219 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11220 integer constant usable in #if and use that to give value to enum
11221 constant.
11222 (FE_DIVBYZERO): Likewise.
11223 (FE_UNDERFLOW): Likewise.
11224 (FE_OVERFLOW): Likewise.
11225 (FE_INVALID): Likewise.
11226 (FE_INVALID_SNAN): Likewise.
11227 (FE_INVALID_ISI): Likewise.
11228 (FE_INVALID_IDI): Likewise.
11229 (FE_INVALID_ZDZ): Likewise.
11230 (FE_INVALID_IMZ): Likewise.
11231 (FE_INVALID_COMPARE): Likewise.
11232 (FE_INVALID_SOFTWARE): Likewise.
11233 (FE_INVALID_SQRT): Likewise.
11234 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11235 (FE_TONEAREST): Likewise.
11236 (FE_TOWARDZERO): Likewise.
11237 (FE_UPWARD): Likewise.
11238 (FE_DOWNWARD): Likewise.
11239 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11240 (FE_DIVBYZERO): Likewise.
11241 (FE_OVERFLOW): Likewise.
11242 (FE_UNDERFLOW): Likewise.
11243 (FE_INEXACT): Likewise.
11244 (FE_TONEAREST): Likewise.
11245 (FE_DOWNWARD): Likewise.
11246 (FE_UPWARD): Likewise.
11247 (FE_TOWARDZERO): Likewise.
11248 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11249 (FE_UNDERFLOW): Likewise.
11250 (FE_OVERFLOW): Likewise.
11251 (FE_DIVBYZERO): Likewise.
11252 (FE_INVALID): Likewise.
11253 (FE_TONEAREST): Likewise.
11254 (FE_TOWARDZERO): Likewise.
11255 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11256 (FE_OVERFLOW): Likewise.
11257 (FE_UNDERFLOW): Likewise.
11258 (FE_DIVBYZERO): Likewise.
11259 (FE_INEXACT): Likewise.
11260 (FE_TONEAREST): Likewise.
11261 (FE_TOWARDZERO): Likewise.
11262 (FE_UPWARD): Likewise.
11263 (FE_DOWNWARD): Likewise.
11264 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11265 (FE_DIVBYZERO): Likewise.
11266 (FE_OVERFLOW): Likewise.
11267 (FE_UNDERFLOW): Likewise.
11268 (FE_INEXACT): Likewise.
11269 (FE_TONEAREST): Likewise.
11270 (FE_DOWNWARD): Likewise.
11271 (FE_UPWARD): Likewise.
11272 (FE_TOWARDZERO): Likewise.
11273
105ca950
CM
112742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11275
11276 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11277
a542b389
AS
112782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11279
11280 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11281 commands. Quote $PWD.
11282 (blacklist_exports): Don't use remove_newlines. Replace "declare
11283 -x" by "export".
11284 (remove_newlines): Remove.
11285
f62c8abc
L
112862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11287
11288 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11289 * stdlib/stdlib.h (atof): Moved to ...
11290 * include/bits/stdlib-float.h: Here. New file.
11291 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11292 * stdlib/bits/stdlib-float.h: New file.
11293 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11294 -mno-sse -mno-mmx.
11295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11296 <xmmintrin.h>.
11297
0155d5b2
JM
112982012-11-02 Joseph Myers <joseph@codesourcery.com>
11299
a68d0680
JM
11300 * conform/conformtest.pl (@headers): Add fenv.h.
11301 * conform/data/fenv.h-data: New file.
11302 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11303 include of <math/fenv.h>.
11304
caf7f573
JM
11305 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11306 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11307 && !UNIX98]. Enables tests for XOPEN2K8.
11308 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11309 POSIX2008]: Likewise.
11310
6c073ad6
JM
11311 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11312 (struct rusage): Do not expect type or its members.
11313
0155d5b2
JM
11314 [BZ #3439]
11315 * math/math.h (FP_NAN): Define macro to integer constant usable in
11316 #if and use that to give value to enum constant.
11317 (FP_INFINITE): Likewise.
11318 (FP_ZERO): Likewise.
11319 (FP_SUBNORMAL): Likewise.
11320 (FP_NORMAL): Likewise.
11321
b5dcacb4
AS
113222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11323
11324 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11325 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11326 arguments.
11327
f7934be8
RM
113282012-11-02 Roland McGrath <roland@hack.frob.com>
11329
11330 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11331 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11332 autoconf-time if not.
11333 * configure.in: Remove AC_PREREQ.
11334
d7d08bde
TMQMF
113352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11336
11337 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11338 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11339 of the internal implementation.
11340
dcdae19a
JM
113412012-11-02 Joseph Myers <joseph@codesourcery.com>
11342
11343 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11344 except include of <misc/sys/syslog.h>.
11345
d6cffd3e
AS
113462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11347
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11349 function returns with a NULL context exit with zero.
11350
b3563932
TMQMF
113512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11352
11353 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11354
b288a93d
L
113552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11358 (run_program_cmd): This.
11359 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11360 (tst_langinfo): New variable. Use it.
11361
a2421a68
SAS
113622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11363
11364 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11365 floating point opcodes.
11366
6f796e1b
TS
113672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11368
7402596b
TS
11369 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11370 variable.
11371
d0d4f868
TS
11372 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11373
6f796e1b
TS
11374 * sysdeps/mach/hurd/powerpc: Remove directory.
11375 * sysdeps/mach/powerpc: Likewise.
11376
4da224a2
AS
113772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11378
11379 * scripts/check-local-headers.sh: Ignore c++ headers.
11380
341dd673
TS
113812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11382
11383 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11384 __libc_cleanup_region_start argument.
11385
473611b2
JM
113862012-11-01 Joseph Myers <joseph@codesourcery.com>
11387
11388 [BZ #14784]
11389 [BZ #14785]
11390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11391 x * y using scaling, not as x * y + z.
11392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11394 * math/libm-test.inc (fma_test): Add more tests.
11395 (fma_test_towardzero): Likewise.
11396 (fma_test_downward): Likewise.
11397 (fma_test_upward): Likewise.
11398
4078da3d
TS
113992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11400
11401 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11402
903252aa
JM
114032012-10-31 Joseph Myers <joseph@codesourcery.com>
11404
11405 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11406 New variable.
11407
cbc818d0
TS
114082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11409
11410 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11411
5a03cb1e
AS
114122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11413
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11415 Fix sort order.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11417 Likewise.
11418
90aff2ff
TMQMF
114192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11420
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11422 Fix the order of the list for glibc 2.17.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11424 Likewise.
11425
1818fcb7
AS
114262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11427
11428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11429
ef82f4da
JM
114302012-10-31 Joseph Myers <joseph@codesourcery.com>
11431
16a0e2ec
JM
11432 [BZ #14610]
11433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11434 for low part of x being zero before using __atanl (y).
11435 * math/libm-test.inc (atan2_test): Add another test.
11436
0eb69512
JM
11437 * manual/install.texi (Configuring and compiling): Document
11438 general use of test-wrapper and test-wrapper-env.
11439 * INSTALL: Regenerated.
11440
ef82f4da
JM
11441 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11442 (__fma): Do not extract and scale down low bits on after-rounding
11443 systems when result rounded to normal precision would have normal
11444 exponent.
11445 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11446 (__fmal): Do not extract and scale down low bits on after-rounding
11447 systems when result rounded to normal precision would have normal
11448 exponent.
11449 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11450 (__fmal): Do not extract and scale down low bits on after-rounding
11451 systems when result rounded to normal precision would have normal
11452 exponent.
11453 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11454 macro.
11455 (fma_test): Add more tests.
11456 (fma_test_towardzero): Likewise.
11457 (fma_test_downward): Likewise.
11458 (fma_test_upward): Likewise.
11459
954ef0d9
L
114602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/i386/tininess.h: Renamed to ...
11463 * sysdeps/x86/tininess.h: This.
11464 * sysdeps/x86_64/tininess.h: Removed.
11465
df61ffb2
JM
114662012-10-30 Joseph Myers <joseph@codesourcery.com>
11467
11468 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11469 input. Use $(build-program-cmd).
11470 ($(objpfx)tst-array1-static.out): Likewise.
11471 ($(objpfx)tst-array2.out): Likewise.
11472 ($(objpfx)tst-array3.out): Likewise.
11473 ($(objpfx)tst-array4.out): Likewise.
11474 ($(objpfx)tst-array5.out): Likewise.
11475 ($(objpfx)tst-array5-static.out): Likewise.
11476
01767843
CM
114772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11478
47cc1490
CM
11479 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11480 if defined.
11481
01767843
CM
11482 * nss/nsswitch.h (nss_interface_function): Provide new
11483 macro for use with NSS functions.
11484 * grp/initgroups.c: Use new macro.
11485 * nss/getXXbyYY.c: Likewise.
11486 * nss/getXXbyYY_r.c: Likewise.
11487 * nss/getXXent.c: Likewise.
11488 * nss/getXXent_r.c: Likewise.
11489 * sysdeps/posix/getaddrinfo.c: Likewise.
11490
8321aa97
AJ
114912012-10-30 Andreas Jaeger <aj@suse.de>
11492
11493 * po/ru.po: Update Russion translation from translation project.
11494
2a27fd6d
JM
114952012-10-30 Joseph Myers <joseph@codesourcery.com>
11496
8627a232
JM
11497 [BZ #14152]
11498 [BZ #14783]
11499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11500 result and shift together with sticky bit instead of replicating
11501 round-to-nearest rounding.
11502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11504 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11505 missing underflow exceptions.
11506 (fma_test_towardzero): Add more tests.
11507 (fma_test_downward): Likewise.
11508 (fma_test_upward): Likewise.
11509
2a27fd6d
JM
11510 [BZ #14047]
11511 * sysdeps/generic/tininess.h: New file.
11512 * sysdeps/i386/tininess.h: Likewise.
11513 * sysdeps/sh/tininess.h: Likewise.
11514 * sysdeps/x86_64/tininess.h: Likewise.
11515 * stdlib/tst-strtod-underflow.c: Likewise.
11516 * stdlib/tst-tininess.c: Likewise.
11517 * stdlib/strtod_l.c: Include <tininess.h>.
11518 (round_and_return): Do not set errno for exact underflow cases.
11519 Force an underflow exception when setting errno for underflow.
11520 Determine underflow based on rounding to normal precision if
11521 TININESS_AFTER_ROUNDING.
11522 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11523 ERANGE for exact underflow cases.
11524 * stdlib/Makefile (tests): Add tst-tininess and
11525 tst-strtod-underflow.
11526 ($(objpfx)tst-tininess): Use $(link-libm).
11527 ($(objpfx)tst-strtod-underflow): Likewise.
11528
e7170363
AJ
115292012-10-30 Andreas Jaeger <aj@suse.de>
11530
e5088dc6
AJ
11531 [BZ#14767]
11532 * elf/Makefile (tests): Remove conditional for have-initfini-array
11533 since this is now always required and the variable does not exist
11534 anymore.
11535 (tests-static): Likewise.
11536 (modules-names): Likewise.
11537
e7170363 11538 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11539
11540 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11541 merged with constructor/destructor.
11542 (init_array): Likewise.
11543 * elf/tst-array2dep.c (fini_array): Likewise.
11544 (init_array): Likewise.
11545
60457d8a
MF
115462012-10-29 Mike Frysinger <vapier@gentoo.org>
11547
11548 * manual/message.texi: Delete @cartouche tags.
11549
8bece752
PT
115502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11551
94ce799f
PT
11552 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11553 EOPNOTSUPP.
11554 * sysdeps/mach/hurd/fsync.c: Likewise.
11555
8bece752
PT
11556 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11557 [_POSIX_REALTIME_SIGNALS]: Change condition to
11558 [_POSIX_REALTIME_SIGNALS > 0].
11559
86ebe6b1
AJ
115602012-10-27 Andreas Jaeger <aj@suse.de>
11561
11562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11563 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11565 [__WORDSIZE != 64]: Likewise.
11566
54399c08
L
115672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * iconvdata/tst-table.sh: Remove ${SHELL}.
11570 * iconvdata/tst-tables.sh: Likewise.
11571
e2211bed
DM
115722012-10-25 David S. Miller <davem@davemloft.net>
11573
11574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11575 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11576 of strtoull.
11577
f303f97c
DM
11578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11579 ifunc-impl-list.c
11580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11581 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11582 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11583 file.
11584
1e9d84cd
RM
115852012-10-25 Roland McGrath <roland@hack.frob.com>
11586
11587 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11588 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11589 __getdirentries.
11590
df381762
JM
115912012-10-25 Joseph Myers <joseph@codesourcery.com>
11592 Jim Blandy <jimb@codesourcery.com>
11593
11594 * scripts/cross-test-ssh.sh: New file.
11595 * manual/install.texi (Configuring and compiling): Document use of
11596 cross-test-ssh.sh.
11597 * INSTALL: Regenerated.
11598
bff64913
PT
115992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11600
11601 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11602 EOPNOTSUPP.
11603
25fe8932
JM
116042012-10-25 Joseph Myers <joseph@codesourcery.com>
11605
11606 * Makeconfig (run-program-prefix): Fix comment.
11607
cc1290d0
JM
116082012-10-24 Joseph Myers <joseph@codesourcery.com>
11609 Jim Blandy <jimb@codesourcery.com>
11610
11611 * Makeconfig (test-wrapper): New variable,
11612 (test-wrapper-env): Likewise.
11613 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11614 (run-built-tests): Define to yes.
11615 (run-program-prefix): Use $(test-wrapper).
11616 (built-program-cmd): Likewise.
11617 * Rules (make-test-out): Use $(test-wrapper-env) and
11618 $(host-built-program-cmd).
11619 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11620 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11621 tst-pathopt.sh.
11622 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11623 $(test-wrapper-env) to tst-rtld-load-self.sh.
11624 ($(objpfx)order2.out): Use $(test-wrapper).
11625 ($(objpfx)tst-initorder.out): Likewise.
11626 ($(objpfx)tst-initorder2.out): Likewise.
11627 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11628 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11629 (test_wrapper_env): New variable. Use it to run ld.so.
11630 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11631 Use it to run ld.so.
11632 (test_wrapper_env): Likewise.
11633 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11634 $(test-wrapper) to run-iconv-test.sh.
11635 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11636 (ICONV): Use $test_wrapper.
11637 * posix/Makefile ($(objpfx)globtest.out): Pass
11638 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11639 globtest.sh, not $(run-program-prefix).
11640 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11641 (test_wrapper): Likewise.
11642 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11643 set together with run_via_rtld_prefix.
11644 (run_program_prefix): Define in terms of test_wrapper and
11645 run_via_rtld_prefix.
11646
6e6249d0
RM
116472012-10-24 Roland McGrath <roland@hack.frob.com>
11648
11649 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11650 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11651 Targets removed.
11652
11653 [BZ #14743]
11654 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11655 Declare __clock_getres, __clock_gettime, __clock_settime,
11656 __clock_nanosleep, and __clock_getcpuclockid.
11657 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11658 Remove librt_hidden_def (clock_gettime).
11659 * sysdeps/unix/clock_gettime.c: Likewise.
11660 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11662 * rt/clock_getres.c: Define __clock_getres as an alias.
11663 * sysdeps/posix/clock_getres.c: Likewise.
11664 * rt/clock_settime.c: Define __clock_settime as an alias.
11665 * sysdeps/unix/clock_settime.c: Likewise.
11666 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11667 * sysdeps/unix/clock_nanosleep.c: Likewise.
11668 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11669 * rt/clock-compat.c: New file.
11670 * rt/Makefile (librt-routines): Add clock-compat and move
11671 $(clock-routines) to ...
11672 (routines): ... here, new variable.
11673 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11674 Don't add get_clockfreq here.
11675 * rt/Versions (libc: GLIBC_2.17): New version set.
11676 Add clock_* symbols here.
11677 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11679 (GLIBC_2.17): Add clock_* symbols.
11680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11684 Likewise.
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11686 Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11691 * NEWS: Mention the move.
11692
11693 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11694 Use __open, __read, __close rather than their public counterparts.
11695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11696 (__get_clockfreq_via_cpuinfo): Likewise.
11697 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11698 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11699
11700 * config.h.in (HAVE_IFUNC): New #undef.
11701 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11702 was successful.
11703 * configure: Regenerated.
11704
0cae3f4b
MF
117052012-10-24 Mike Frysinger <vapier@gentoo.org>
11706
11707 * configure.in: Move READELF check to start of file.
11708 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11709 libc_cv_asm_gnu_indirect_function in the process.
11710 * configure: Regenerated.
11711
8175a253
MF
117122012-10-24 Mike Frysinger <vapier@gentoo.org>
11713
11714 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11715 send the output to /dev/null.
11716 (libc_cv_cc_with_libunwind): Likewise.
11717 (libc_cv_as_noexecstack): Likewise.
11718 * configure: Regenerate.
11719
0708a7d1
JM
117202012-10-24 Joseph Myers <joseph@codesourcery.com>
11721
10b40d85
JM
11722 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11723
0708a7d1
JM
11724 * posix/globtest.sh (TMPDIR): Do not set.
11725 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11726 (testout): Likewise.
11727
9fddec1a
AJ
117282012-10-24 Andreas Jaeger <aj@suse.de>
11729
3a8db22f
AJ
11730 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11731 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11732 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11733 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11734 posix_fadvise64, posix_fallocate64.
11735
9fddec1a
AJ
11736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11737 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11738 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11739 Likewise.
11740 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11741 Likewise.
11742 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11743
11744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11745 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11746 <bits/fcntl-linux.h>.
11747 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11748
11749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11750 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11751 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11752 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11753 [__WORDSIZE != 64]: Likewise.
11754
ebfd1bbd
JM
117552012-10-23 Joseph Myers <joseph@codesourcery.com>
11756
03ac099f
JM
11757 * Makeconfig (run-built-tests): New variable.
11758 * Rules [$(cross-compiling) = yes]: Change condition to
11759 [$(run-built-tests) = no].
11760 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11761 to [$(run-built-tests) = yes].
11762 * elf/Makefile [$(cross-compiling) = no]: Likewise
11763 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11764 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11765 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11766 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11767 * io/Makefile [$(cross-compiling) = no]: Likewise.
11768 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11769 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11770 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11771 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11772 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11773 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11774 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11775 * string/Makefile [$(cross-compiling) = no]: Likewise.
11776
ebfd1bbd
JM
11777 * posix/Makefile ($(objpfx)globtest.out): Pass
11778 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11779 $(rtld-installed-name).
11780 * posix/globtest.sh (elf_objpfx): Remove variable.
11781 (rtld_installed_name): Likewise.
11782 (library_path): Likewise.
11783 (run_program_prefix): New variable. Use for running globtest
11784 binary.
11785
166bca24
JB
117862012-10-23 Jim Blandy <jimb@codesourcery.com>
11787 Joseph Myers <joseph@codesourcery.com>
11788
11789 * Makeconfig (host-built-program-cmd): New variable.
11790 * elf/Makefile (tst-stackguard1-ARGS): Use
11791 $(host-built-program-cmd).
11792 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11793 (tst-spawn-ARGS): Likewise.
11794 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11795
88866099
JM
117962012-10-23 Joseph Myers <joseph@codesourcery.com>
11797 Jim Blandy <jimb@codesourcery.com>
11798
11799 * Makeconfig (run-via-rtld-prefix): New variable.
11800 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11801 (built-program-cmd): Likewise.
11802
b4b4c296
AJ
118032012-10-22 Andreas Jaeger <aj@suse.de>
11804
11805 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11806 __O_RSYNC if it exists, otherwise to O_SYNC.
11807
6fb54a22
JB
118082012-10-22 Jim Blandy <jimb@codesourcery.com>
11809 Joseph Myers <joseph@codesourcery.com>
11810
11811 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11812 /dev/null.
11813 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11814 from /dev/null
11815 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11816 /dev/null.
11817
481b90b9
AJ
118182012-10-22 Andreas Jaeger <aj@suse.de>
11819
2a0e2669
AJ
11820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11821 Define always.
11822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11823
76e38f9a
AJ
11824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11825 bits/fcntl-linux.h.
11826
7cd37b43
AJ
11827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11828 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11829
481b90b9
AJ
11830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11831 to __O_LARGEFILE.
11832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11833 to __O_LARGEFILE.
11834
aba75984
JB
118352012-10-21 Jim Blandy <jimb@codesourcery.com>
11836 Joseph Myers <joseph@codesourcery.com>
11837
11838 * config.make.in (NM): New variable.
11839
88d4247f
AJ
118402012-10-21 Andreas Jaeger <aj@suse.de>
11841
11842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11843 definitions and declarations that are provided by
11844 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11845
f2eed205
L
118462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11847
11848 [BZ #14683]
11849 * elf/Makefile (tests-static): Add tst-leaks1-static.
11850 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11851 ($(objpfx)tst-leaks1-static): New rule.
11852 ($(objpfx)tst-leaks1-static-mem): Likewise.
11853 (tst-leaks1-static-ENV): New macro.
11854 * elf/dl-open.c (dl_open_worker): Check the main application
11855 only if SHARED is defined.
11856 * elf/tst-leaks1-static.c: New file.
11857
335e6931
AJ
118582012-10-20 Andreas Jaeger <aj@suse.de>
11859
11860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11861 generic values for Linux.
11862 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11863 and declarations that are provided by <bits/fcntl-linux.h> and
11864 include <bits/fcntl-linux.h>.
11865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11867
ac5c94d3
RM
118682012-10-20 Roland McGrath <roland@hack.frob.com>
11869
11870 * io/fcntl.h: Move include of <bits/types.h> to the top and
11871 include it unconditionally.
11872
de54b33a
L
118732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11874
228cfb01
L
11875 * wcsmbs/Makefile (tests-ifunc): New variable.
11876 (tests): Add $(tests-ifunc).
11877 * wcsmbs/test-wcschr-ifunc.c: New file.
11878 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11879 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11880 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11881 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11882 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11883
69f07e5f
L
11884 * string/Makefile (tests-ifunc): New variable.
11885 (tests): Add $(tests-ifunc).
11886 * string/test-memccpy.c (TEST_NAME): New macro.
11887 * string/test-memchr.c (TEST_NAME): Likewise.
11888 * string/test-memcmp.c (TEST_NAME): Likewise.
11889 * string/test-memcpy.c (TEST_NAME): Likewise.
11890 * string/test-memmem.c (TEST_NAME): Likewise.
11891 * string/test-memmove.c (TEST_NAME): Likewise.
11892 * string/test-memset.c (TEST_NAME): Likewise.
11893 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11894 * string/test-stpcpy.c (TEST_NAME): Likewise.
11895 * string/test-stpncpy.c (TEST_NAME): Likewise.
11896 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11897 * string/test-strcasestr.c (TEST_NAME): Likewise.
11898 * string/test-strcat.c (TEST_NAME): Likewise.
11899 * string/test-strchr.c (TEST_NAME): Likewise.
11900 * string/test-strcmp.c(TEST_NAME): Likewise.
11901 * string/test-strcpy.c (TEST_NAME): Likewise.
11902 * string/test-strcspn.c (TEST_NAME): Likewise.
11903 * string/test-strlen.c (TEST_NAME): Likewise.
11904 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11905 * string/test-strncmp.c (TEST_NAME): Likewise.
11906 * string/test-strncpy.c (TEST_NAME): Likewise.
11907 * string/test-strnlen.c (TEST_NAME): Likewise.
11908 * string/test-strpbrk.c (TEST_NAME): Likewise.
11909 * string/test-strrchr.c (TEST_NAME): Likewise.
11910 * string/test-strspn.c (TEST_NAME): Likewise.
11911 * string/test-strstr.c (TEST_NAME): Likewise.
11912 * string/test-bcopy-ifunc.c: New file.
11913 * string/test-bzero-ifunc.c: Likewise.
11914 * string/test-memccpy-ifunc.c: Likewise.
11915 * string/test-memchr-ifunc.c: Likewise.
11916 * string/test-memcmp-ifunc.c: Likewise.
11917 * string/test-memcpy-ifunc.c: Likewise.
11918 * string/test-memmem-ifunc.c: Likewise.
11919 * string/test-memmove-ifunc.c: Likewise.
11920 * string/test-mempcpy-ifunc.c: Likewise.
11921 * string/test-memset-ifunc.c: Likewise.
11922 * string/test-rawmemchr-ifunc.c: Likewise.
11923 * string/test-stpcpy-ifunc.c: Likewise.
11924 * string/test-stpncpy-ifunc.c: Likewise.
11925 * string/test-strcasecmp-ifunc.c: Likewise.
11926 * string/test-strcasestr-ifunc.c: Likewise.
11927 * string/test-strcat-ifunc.c: Likewise.
11928 * string/test-strchr-ifunc.c: Likewise.
11929 * string/test-strchrnul-ifunc.c: Likewise.
11930 * string/test-strcmp-ifunc.c: Likewise.
11931 * string/test-strcpy-ifunc.c: Likewise.
11932 * string/test-strcspn-ifunc.c: Likewise.
11933 * string/test-strlen-ifunc.c: Likewise.
11934 * string/test-strncasecmp-ifunc.c: Likewise.
11935 * string/test-strncat-ifunc.c: Likewise.
11936 * string/test-strncmp-ifunc.c: Likewise.
11937 * string/test-strncpy-ifunc.c: Likewise.
11938 * string/test-strnlen-ifunc.c: Likewise.
11939 * string/test-strpbrk-ifunc.c: Likewise.
11940 * string/test-strrchr-ifunc.c: Likewise.
11941 * string/test-strspn-ifunc.c: Likewise.
11942 * string/test-strstr-ifunc.c: Likewise.
11943
de54b33a
L
11944 * debug/Makefile (tests-ifunc): New variable.
11945 (tests): Add $(tests-ifunc).
11946 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11947 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11948 * debug/test-stpcpy_chk-ifunc.c: New file.
11949 * debug/test-strcpy_chk-ifunc.c: Likewise.
11950
88481c16
SP
119512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11952
11953 [BZ #13601]
11954 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11955 header is not read in.
11956
135948bd
JM
119572012-10-19 Joseph Myers <joseph@codesourcery.com>
11958
89f1c388
JM
11959 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11960 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11961 directly. Pass built executable to script as
11962 $(built-program-cmd).
11963 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11964 $testprogram without using LD_LIBRARY_PATH and $ldso.
11965
e40a0d21
JM
11966 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11967 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11968 $(rtld-installed-name).
11969 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11970 (rtld_installed_name): Likewise.
11971 (library_path): Likewise.
11972 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11973 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11974 $(run-program-prefix) to tst-tables.sh.
11975 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11976 it to run tst-table-from and tst-table-to.
11977 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11978 Pass it to tst-table.sh.
11979 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11980 $(run-program-prefix) to tst-gettext.sh.
11981 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11982 tst-translit.sh.
11983 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11984 tst-gettext2.sh.
11985 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11986 to run tst-gettext.
11987 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11988 to run tst-gettext2.
11989 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11990 to run tst-translit.
11991 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11992 $(run-program-prefix) to tst-mtrace.sh.
11993 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11994 to run tst-mtrace.
11995 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11996 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11997 $(rtld-installed-name).
11998 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11999 (rtld_installed_name): Likewise.
12000 (run_program_prefix): New variable. Use it to run wordexp-test.
12001
728e272a
JM
12002 * Makeconfig (ARCH): Remove all definitions.
12003 (machine): Likewise.
12004 [ARCH]: Remove conditional code.
12005 [!objdir]: Give error.
12006 [!objdir] (objpfx): Remove.
12007 [!objdir] (common-objpfx): Likewise.
12008 [!objdir] (common-objdir): Likewise.
12009 * configure.in (config_makefile): Remove. Hardcode Makefile in
12010 AC_CONFIG_FILES call.
12011 * configure: Regenerated.
12012
d528cdcf
JM
12013 [BZ #13888]
12014 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12015 or TMPDIR.
12016 (testout): Likewise.
12017
135948bd
JM
12018 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12019 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12020 $(rtld-installed-name).
12021 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12022 (rtld_installed_name): Likwise.
12023 (runit): Remove function.
12024 (run_getconf): New variable, Use it for running getconf binary.
12025
38c78296
L
120262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 [BZ #14716]
12029 * string/test-memmem.c (check_result): New function.
12030 (do_one_test): Use it.
12031 (check1): New function.
12032 (test_main): Use it.
12033
d077f65f
MT
120342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12035
12036 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12037
ced52c71
JM
120382012-10-18 Joseph Myers <joseph@codesourcery.com>
12039
12040 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12041 (_G_LSEEK64): Likewise.
12042 (_G_MMAP64): Likewise.
12043 (_G_FSTAT64): Likewise.
12044 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12045 (_G_LSEEK64): Likewise.
12046 (_G_MMAP64): Likewise.
12047 (_G_FSTAT64): Likewise.
12048 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12049 unconditional. Call __mmap64 directly.
12050 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12051 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12052 __lseek64 directly.
12053 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12054 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12055 __mmap64 directly.
12056 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12057 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12058 __lseek64 directly.
12059 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12060 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12061 __lseek64 directly.
12062 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12063 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12064 __lseek64 directly.
12065 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12066 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12067 __fxstat64 directly.
12068 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12069 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12070 unconditional.
12071 (freopen64) [!_G_OPEN64]: Remove conditional code.
12072 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12073 unconditional.
12074 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12075 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12076 unconditional.
12077 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12078 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12079 unconditional.
12080 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12081 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12082 unconditional.
12083 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12084 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12085 unconditional.
12086 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12087 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12088 unconditional.
12089 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12090 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12091 unconditional.
12092 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12093
b741de23
SP
120942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12095
12096 [BZ #12140]
12097 * manual/memory.texi (Malloc Tunable Parameters): Add note
12098 about free list pointers overwriting some perturb bytes.
12099 Wording suggested by Roland McGrath.
12100
f9b9d9c9
JM
121012012-10-17 Joseph Myers <joseph@codesourcery.com>
12102
12103 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12104 (lgamma_test): Likewise.
12105 (tgamma_test): Likewise.
12106
172a631a
FW
121072012-10-16 Florian Weimer <fweimer@redhat.com>
12108
12109 [BZ #14700]
12110 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12111 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12112
e9f37252
MK
121132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12114
12115 * NEWS: Mention BZ #14716.
12116 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12117 when removing AVAILABLE1_USES_J macro.
12118
d394eb74
L
121192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12120
12121 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12122 (__bswap_64): __uint64_t for unsigned 64-bit int.
12123
ca38dc17
AS
121242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12125
12126 * include/string.h (memmem): Declare libc hidden alias.
12127 * string/memmem.c (memmem): Define libc hidden alias.
12128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12129 __read, __close instead of open, read, close.
12130
9a387d1f
L
121312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12132
ac49ecaf
L
12133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12134 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12135 global and hidden.
12136 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12137 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12138 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12139 Likewise.
12140 (__rawmemchr_sse2): Likewise.
12141 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12142 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12143 (__strchr_sse2): Likewise.
12144 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12145 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12146 (__strcasecmp_sse2): Likewise.
12147 (__strncasecmp_sse2): Likewise.
12148 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12149 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12150 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12151 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12152 (__strrchr_sse2): Likewise.
12153 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12154 ifunc-impl-list.c.
12155 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12156 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12157 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12158 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12159 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12160 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12161 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12162 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12163 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12164 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12165 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12167 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12168 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12169 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12170 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12171 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12172 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12173 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12174 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12175 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12176 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12177 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12178 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12179 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12181 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12182 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12183 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12184 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12185
b090e8ea
L
12186 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12187 global and hidden.
12188 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12189 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12190 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12191 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12192 Likewise.
12193 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12194 Likewise.
12195 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12196 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12197 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12198 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12199 ifunc-impl-list.c.
12200 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12201 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12202 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12203 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12204 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12205 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12206 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12207 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12208 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12209 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12210 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12211 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12212 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12213 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12214 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12215 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12216 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12217 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12218 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12219 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12221 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12222 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12223 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12225 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12226 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12227 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12228 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12229 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12230 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12231 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12232 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12234 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12235 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12236 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12237 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12238 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12239 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12240 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12241
11dd4af6
L
12242 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12243 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12244 * include/ifunc-impl-list.h: New file.
12245 * misc/ifunc-impl-list.c: Likewise.
12246 * misc/Makefile (routines): Add ifunc-impl-list.
12247 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12248 * string/test-string.h: Include <ifunc-impl-list.h>.
12249 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12250 impl_array): New variables.
12251 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12252 are defined.
12253 (test_init): Call __libc_ifunc_impl_list to initialize
12254 func_list if TEST_IFUNC and TEST_NAME are defined.
12255
9a387d1f
L
12256 * string/Makefile (strop-tests): Add bcopy and bzero.
12257 * string/test-bcopy.c: New file.
12258 * string/test-bzero.c: Likewise.
12259 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12260 defined.
12261 * string/test-memset.c: Support bzero test if TEST_BZERO is
12262 defined.
12263 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12264 __libc_memmove.
12265 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12266 __libc_memset.
12267 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12268 of memset.
12269
472371b9
JM
122702012-10-10 Joseph Myers <joseph@codesourcery.com>
12271
1e4a9536
JM
12272 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12273 * configure: Regenerated.
12274
d173d12e
JM
12275 * Makeconfig (+link-static-before-libc): Don't include
12276 $(link-static-libc).
12277
472371b9
JM
12278 * libio/libio.h (_IO_pos_t): Remove.
12279
89a3ad0b
AO
122802012-10-10 Alexandre Oliva <aoliva@redhat.com>
12281
12282 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12283 McGrath.
12284
e7451425
AO
122852012-10-10 Alexandre Oliva <aoliva@redhat.com>
12286
12287 * crypt/crypt-entry.c: Include fips-private.h.
12288 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12289 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12290 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12291 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12292
4ba74a35
AO
122932012-10-10 Alexandre Oliva <aoliva@redhat.com>
12294
12295 * crypt/crypt-private.h: Include stdbool.h.
12296 (_ufc_setup_salt_r): Return bool.
12297 * crypt/crypt-entry.c: Include errno.h.
12298 (__crypt_r): Return NULL with EINVAL for bad salt.
12299 * crypt/crypt_util.c (bad_for_salt): New.
12300 (_ufc_setup_salt_r): Check that salt is long enough and within
12301 the specified alphabet.
12302 * crypt/badsalttest.c: New file.
12303 * crypt/Makefile (tests): Add it.
12304 ($(objpfx)badsalttest): New.
12305
f96f1242
MK
123062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12307
12308 * NEWS: Add entry for BZ #14602.
12309
0e8e0c1c
JM
123102012-10-09 Joseph Myers <joseph@codesourcery.com>
12311
12312 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12313 type-generic.
12314 * math/libm-test.inc: Update comment listing what functions and
12315 macros are tested.
12316 (isgreater_test): New function.
12317 (isgreaterequal_test): Likewise.
12318 (isless_test): Likewise.
12319 (islessequal_test): Likewise.
12320 (islessgreater_test): Likewise.
12321 (isunordered_test): Likewise.
12322 (main): Call the new functions.
12323
273edc5e
RM
123242012-10-09 Roland McGrath <roland@hack.frob.com>
12325
b8493de0
RM
12326 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12327 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12328 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12329 * sysdeps/i386/configure: Regenerated.
12330 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12331 * sysdeps/mach/configure: Regenerated.
12332 * sysdeps/mach/hurd/configure: Regenerated.
12333 * sysdeps/powerpc/configure: Regenerated.
12334 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12335 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12336 * sysdeps/s390/s390-32/configure: Regenerated.
12337 * sysdeps/s390/s390-64/configure: Regenerated.
12338 * sysdeps/sh/configure: Regenerated.
12339 * sysdeps/sparc/configure: Regenerated.
12340 * sysdeps/unix/sysv/linux/configure: Regenerated.
12341 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12342 * sysdeps/x86_64/configure: Regenerated.
12343
273edc5e
RM
12344 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12345 defined. Don't check if MAP is NULL.
12346
c8450f70
JM
123472012-10-09 Joseph Myers <joseph@codesourcery.com>
12348
12349 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12350 (_G_stat64): Likewise.
12351 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12352 (_G_stat64): Likewise.
12353 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12354 instead of struct _G_stat64.
12355 * libio/fileops.c (mmap_remap_check): Likewise.
12356 (decide_maybe_mmap): Likewise.
12357 (_IO_new_file_seekoff): Likewise.
12358 (_IO_file_stat): Likewise.
12359 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12360 _G_off64_t.
12361 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12362 instead of struct _G_stat64.
12363 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12364
57e605ba
MK
123652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12366
12367 [BZ #14602]
12368 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12369 Replace with ...
12370 (CHECK_EOL): New macro.
12371 (two_way_short_needle): Check beginning of haystack for EOL. Use
12372 CHECK_EOL.
12373 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12374 Replace with CHECK_EOL.
12375 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12376 Replace with CHECK_EOL.
12377
ef1bb361
JM
123782012-10-08 Joseph Myers <joseph@codesourcery.com>
12379
12380 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12381 type-generic.
12382 * math/libm-test.inc: Update comment listing what functions and
12383 macros are tested.
12384 (finite_test): New function.
12385 (isinf_test): Likewise.
12386 (isnan_test): Likewise.
12387 (fpclassify_test): Test subnormal input.
12388 (isfinite_test): Likewise.
12389 (isnormal_test): Likewise.
12390 (main): Call the new functions.
12391
55f11534
JN
123922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12393
12394 [BZ #14660]
12395 * Makerules (%.dynsym): Force C locale when running
12396 $(OBJDUMP) --dynamic-syms.
12397
1ab29350
AS
123982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12399
12400 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12401 <stdint.h>.
12402
f1ecb7ef
DM
124032012-10-06 David S. Miller <davem@davemloft.net>
12404
12405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12406 upper 32-bits of the length value in %o2 since we use branch-on-register
12407 tests which consider the entire 64-bit register.
12408
5d41d91a
L
124092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12410
12411 * string/test-strstr.c (check2): Add a test for page boundary.
12412
3baddb72
DM
124132012-10-05 David S. Miller <davem@davemloft.net>
12414
12415 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12416 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12417 file.
12418 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12419 sysdep_routines.
12420 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12421 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12422 and bzero when HWCAP_SPARC_CRYPTO is present.
12423
9cee5585
L
124242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12425
d7e0dab9
L
12426 [BZ #14602]
12427 * string/test-strstr.c (check2): New function.
12428 (test_main): Call check2.
12429
03759f47
L
12430 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12431 and bug-strchr1.
12432 * string/bug-strcasestr1.c (do_test): Moved to ...
12433 * string/test-strcasestr.c (check1): Here. New function.
12434 (do_one_test): Break out result checking code into ...
12435 (check_result): This. New function.
12436 (do_one_test): Call check_result.
12437 (test_main): Call check1.
12438 * string/bug-strchr1.c (do_test): Moved to ...
12439 * string/test-strchr.c (check1): Here. New function.
12440 (do_one_test): Break out result checking code into ...
12441 (check_result): This. New function.
12442 (do_one_test): Call check_result.
12443 (test_main): Call check1.
12444 * string/bug-strstr1.c (main): Moved to ...
046f153e 12445 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12446 (do_one_test): Break out result checking code into ...
12447 (check_result): This. New function.
12448 (do_one_test): Call check_result.
12449 (test_main): Call check1.
12450 * string/bug-strcasestr1.c: Removed.
12451 * string/bug-strchr1.c: Likewise.
12452 * string/bug-strstr1.c: Likewise.
12453
53cea63e
L
12454 * elf/Makefile (dl-routines): Add hwcaps.
12455 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12456 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12457 (_dl_important_hwcaps): Moved to ...
12458 * elf/dl-hwcaps.c: Here. New file.
12459 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12460
9cee5585 12461 [BZ #14557]
bb859b06
L
12462 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12463 if IS_IN_rtld isn't defined.
12464
9cee5585
L
12465 * elf/dl-support.c (_dl_sysinfo_map): New.
12466 Include "get-dynamic-info.h" and "setup-vdso.h".
12467 (_dl_non_dynamic_init): Call setup_vdso.
12468 * elf/dynamic-link.h: Don't include <assert.h>.
12469 (elf_get_dynamic_info): Moved to ...
12470 * elf/get-dynamic-info.h: Here. New file.
12471 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12472 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12473 * elf/setup-vdso.h: Here. New file.
12474 * elf/rtld.c: Include "setup-vdso.h".
12475 (dl_main): Call setup_vdso.
12476
23c31b76
JM
124772012-10-05 Joseph Myers <joseph@codesourcery.com>
12478
28234b07
JM
12479 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12480 creal in comment listing functions tested. List finite, isinf,
12481 isnan, isless, islessequal, isgreater, isgreaterequal,
12482 islessgreater, isunordered, lgamma_r and pow10 as functions and
12483 macros not tested. Mention which functions not tested are aliases
12484 for other functions. Fix typo. Note that signs of NaNs are not
12485 tested.
12486
23c31b76
JM
12487 * scripts/config.guess: Update from config.git.
12488 * scripts/config.sub: Likewise.
12489
9043e228
RM
124902012-10-04 Roland McGrath <roland@hack.frob.com>
12491
12492 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12493 * misc/madvise.c (madvise): Renamed to __madvise.
12494 Make madvise a weak alias.
12495 * include/sys/mman.h: Declare __madvise.
12496 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12497 * sysdeps/unix/syscalls.list
12498 (madvise): Make __madvise the strong name, and madvise a weak alias.
12499 * sysdeps/unix/sysv/linux/syscalls.list
12500 (madvise, mmap): Remove redundant entries.
12501 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12502 * malloc/malloc.c (mtrim): Likewise.
12503 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12504
f57f8055
RM
125052012-10-03 Roland McGrath <roland@hack.frob.com>
12506
12507 * sysdeps/mach/hurd/dl-cache.c: File removed.
12508 * config.h.in (USE_LDCONFIG): New #undef.
12509 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12510 * configure: Regenerated.
12511 * elf/Makefile (dl-routines): Add dl-cache only under
12512 [$(use-ldconfig) = yes].
12513 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12514 cache on [USE_LDCONFIG].
12515 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12516 [USE_LDCONFIG].
12517 * elf/rtld.c (dl_main): Likewise.
12518
5bb0c10a
PT
125192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12520
12521 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12522 _SC_LEVEL4_CACHE_LINESIZE.
12523
010188c6
RM
125242012-10-03 Roland McGrath <roland@hack.frob.com>
12525
12526 * sysdeps/unix/bsd/confstr.h: File removed.
12527
b6c5ec07
AO
125282012-10-02 Alexandre Oliva <aoliva@redhat.com>
12529
12530 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12531 sys/sdt-config.h.
12532
408223d4
RM
125332012-10-02 Roland McGrath <roland@hack.frob.com>
12534
12535 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12536 Make 'mapoff' field ElfW(Off) rather than off_t.
12537
bb9510dc
DL
125382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12539
fc997c6e
DL
12540 * nscd/Makefile: Remove nscd-cflags and all its users.
12541 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12542 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12543
bb9510dc
DL
12544 [BZ #10631]
12545 * malloc.c (malloc_printerr): Clarify error message.
12546
05699367
L
125472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12548
12549 [BZ #14648]
12550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12551 Set bit_FMA_Usable if FMA is supported.
12552 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12553 macro.
12554 (bit_FMA4_Usable): Updated.
12555 (index_FMA_Usable): New macro.
12556 (CPUID_FMA): Likewise
12557 (HAS_FMA): Defined with bit_FMA_Usable.
12558
51367701
RM
125592012-10-01 Roland McGrath <roland@hack.frob.com>
12560
12561 * bits/types.h (__swblk_t): Type removed.
12562 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12563 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12565 (__SWBLK_T_TYPE): Likewise.
12566 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12567 (__SWBLK_T_TYPE): Likewise.
12568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12569 (__SWBLK_T_TYPE): Likewise.
12570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12571 (__SWBLK_T_TYPE): Likewise.
12572
4d57bf63 125732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12574 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12575
12576 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12577 (xdr_mapname): Use YPMAXMAP as maxsize.
12578 (xdr_peername): Use YPMAXPEER as maxsize.
12579 (xdr_keydat): Use YPAXRECORD as maxsize.
12580 (xdr_valdat): Use YPMAXRECORD as maxsize.
12581
93c65d43
RM
125822012-10-01 Roland McGrath <roland@hack.frob.com>
12583
497a03d6
RM
12584 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12585
93c65d43
RM
12586 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12587 * csu/init-first.c: ... here.
12588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12589 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12590 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12591 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12592 * sysdeps/i386/init-first.c: File removed.
12593 * sysdeps/sh/init-first.c: File removed.
12594
bec749fd
JM
125952012-10-01 Joseph Myers <joseph@codesourcery.com>
12596
12597 [BZ #14645]
12598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12599 if x * y might underflow to zero and z is zero.
12600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12602 * math/libm-test.inc (min_subnorm_value): New variable.
12603 (fma_test): Add more tests.
12604 (fma_test_towardzero): Likewise.
12605 (fma_test_downward): Likewise
12606 (fma_test_upward): Likewise.
12607 (initialize): Set min_subnorm_value.
12608
8ec5b013
JM
126092012-09-29 Joseph Myers <joseph@codesourcery.com>
12610
12611 [BZ #14638]
12612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12613 0 + 0.
12614 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12615 mode for addition resulting in exact zero.
12616 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12618 exact 0 + 0.
12619 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12621 * math/libm-test.inc (fma_test): Add more tests.
12622 (fma_test_towardzero): New function.
12623 (fma_test_downward): Likewise.
12624 (fma_test_upward): Likewise.
12625 (main): Call the new functions.
12626
b1fa802e
DM
126272012-09-28 David S. Miller <davem@davemloft.net>
12628
12629 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12630
d3b9fd9e
RM
126312012-09-28 Roland McGrath <roland@hack.frob.com>
12632
ea4d37b3
RM
12633 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12634 instead of SIGALRM.
12635
ac51c949
RM
12636 * sysdeps/gnu/_G_config.h: Moved to ...
12637 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12638 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12639 * sysdeps/generic/_G_config.h: ... here.
12640
28c195f7
RM
12641 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12642
848917f9
RM
12643 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12644
6bacf05b
RM
12645 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12646 Conditionalize target on [libnss_test1.so-version].
12647
91363dbb
RM
12648 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12649
cc87f7d8
RM
12650 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12651 (elfobjdir): Move out of conditionals.
12652
b1c608fe
RM
12653 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12654 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12655 (__nss_lookup_function): Conditionalize label remove_from_tree on
12656 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12657
1d9a6d96
DM
126582012-09-28 David S. Miller <davem@davemloft.net>
12659
12660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12661 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12662 file.
12663 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12664 sysdep_routines.
12665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12667 when HWCAP_SPARC_CRYPTO is present.
12668
72581615
PT
126692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12670
12671 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12672
715a900c
JL
126732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12674
12675 [BZ #6530]
12676 * stdio-common/vfprintf.c (process_string_arg): Revert
12677 2000-07-22 change.
12678
126792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12680
12681 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12682 for testcase.
12683 * stdio-common/tst-sprintf.c: Include <locale.h>
12684 (main): Test sprintf's handling of incomplete multibyte
12685 characters.
12686
9bac1d86
L
126872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12688
12689 * elf/dl-runtime.c (VERSYMIDX): Removed.
12690 * elf/dl-version.c (VERSYMIDX): Likewise.
12691 * elf/do-rel.h (VERSYMIDX): Likewise.
12692 (VALIDX): Likewise.
12693 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12694 * elf/rtld.c (VALIDX): Likewise.
12695 (ADDRIDX): Likewise.
9bac1d86
L
12696 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12697 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12698 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12699 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12700 (VALIDX): Likewise.
12701 (ADDRIDX): Likewise.
9bac1d86 12702
b31606c0
PT
127032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12704
12705 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12706
11541177
JL
127072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12708
12709 [BZ #11438]
12710 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12711 to global scope.
12712 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12713 addresses are in the same scope as 192.0.2/24.
12714 * posix/gai.conf: Document new scope table defaults.
12715
adb26fae
SP
127162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12717
12718 [BZ #5298]
12719 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12720 for ftell. Compute offsets from write pointers instead.
12721 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12722
4573c6b0
SP
127232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12724
12725 [BZ #14543]
12726 * libio/Makefile (tests): New test case tst-fseek.
12727 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12728 combination works in wide mode.
12729 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12730 state when the external buffer state changes.
12731
aa9bbfe6
DM
127322012-09-27 David S. Miller <davem@davemloft.net>
12733
12734 [BZ #14376]
12735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12736 pass reloc->r_addend in as the 'high' argument to
12737 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12738
784421e7
DM
12739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12740
c39bc8b8
PT
127412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12742
12743 * rt/tst-aio2.c: Include <pthread.h>.
12744 * rt/tst-aio3.c: Likewise.
12745
1ccc2399
SE
127462012-09-27 Steve Ellcey <sellcey@mips.com>
12747
12748 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12749
31ed4153
L
127502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12751
25f5f885
L
12752 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12753 contents on [SHARED].
31ed4153 12754
b7bfe116
MP
127552012-09-26 Marek Polacek <polacek@redhat.com>
12756
12757 [BZ #14530]
12758 [BZ #13741]
12759 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12760 for C++ and GCC <4.3 as well as for non GCC compilers.
12761
43c4edba
MT
127622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12763
12764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12765
6a1bf82f
RM
127662012-09-25 Roland McGrath <roland@hack.frob.com>
12767
12768 * Makefile.in (all, install): Declare with .PHONY.
12769 Reported by Michael Hope <michael.hope@linaro.org>.
12770
8ad11b9a
TMQMF
127712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12772
12773 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12774 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12775 system header.
12776 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12777 Likewise.
12778 (sydep_routines): Add the new and the internal functions.
12779 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12780 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12782 (GLIBC_2.17): Add the new function.
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12784 (GLIBC_2.17): Likewise.
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12786 (GLIBC_2.17): Likewise.
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12788 (GLIBC_2.17): Likewise.
12789 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12790
7e2fca8d
AM
127912012-09-25 Alan Modra <amodra@gmail.com>
12792
12793 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12794 Add release barrier before setting once_control to say
12795 initialisation is done. Add hints on lwarx. Use macro in
12796 place of isync.
12797 (clear_once_control): Add release barrier.
12798
b87c4b24
JM
127992012-09-25 Joseph Myers <joseph@codesourcery.com>
12800
d032e0d2
JM
12801 [BZ #13629]
12802 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12803 specially.
12804 * math/s_clog10.c (__clog10): Likewise.
12805 * math/s_clog10f.c (__clog10f): Likewise.
12806 * math/s_clog10l.c (__clog10l): Likewise.
12807 * math/s_clogf.c (__clogf): Likewise.
12808 * math/s_clogl.c (__clogl): Likewise.
12809 * math/Makefile (libm-calls): Add x2y2m1.
12810 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12811 (__x2y2m1): Likewise.
12812 (__x2y2m1l): Likewise.
12813 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12814 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12819 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12820 * sysdeps/i386/fpu/libm-test-ulps: Update.
12821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12822
b87c4b24
JM
12823 [BZ #14621]
12824 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12825 int as type of variable DEPTH.
12826 (glob): Use size_t instead of int as type of variables NEWCOUNT
12827 and OLD_PATHC.
12828
6d3bf199
LD
128292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12830
22bf5c17
LD
12831 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12832 Add s_sincosf-sse2.
12833 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12834 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12835 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12836 macros for using routine as __sincosf_ia32.
12837 Use macro for function declaration and weak_alias.
12838 * sysdeps/i386/fpu/libm-test-ulps: Update.
12839
12840 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12842
12843 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12844 subnormal argument.
12845 * math/s_cexpf.c (__cexpf): Likewise.
12846 * math/s_csinf.c (__csinf): Likewise.
12847 * math/s_csinhf.c (__csinhf): Likewise.
12848 * math/s_ctanf.c (__ctanf): Likewise.
12849 * math/s_ctanhf.c (__ctanhf): Likewise.
12850 * math/s_ccosh.c (__ccoshf): Likewise.
12851 * math/s_cexp.c (__cexpl): Likewise.
12852 * math/s_csin.c (__csin): Likewise.
12853 * math/s_csinh.c (__csinh): Likewise.
12854 * math/s_ctan.c (__ctan): Likewise.
12855 * math/s_ctanh.c (ctanh): Likewise.
12856 * math/s_ccoshl.c (__ccoshl): Likewise.
12857 * math/s_cexpl.c (__cexpl): Likewise.
12858 * math/s_csinl.c (__csinl): Likewise.
12859 * math/s_csinhl.c (__csinhl): Likewise.
12860 * math/s_ctanl.c (__ctanl): Likewise.
12861 * math/s_ctanhl.c (__ctanhl): Likewise.
12862
203e5603
JM
128632012-09-25 Joseph Myers <joseph@codesourcery.com>
12864
12865 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12866 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12867 (_IO_off_t): Define to __off_t, not _G_off_t.
12868 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12869 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12870 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12871 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12872 type of __dummy and __dummy2 fields.
12873 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12874 (_G_ssize_t): Likewise.
12875 (_G_off_t): Likewise.
12876 (_G_pid_t): Likewise.
12877 (_G_uid_t): Likewise.
12878 (_G_wchar_t): Likewise.
12879 (_G_wint_t): Likewise.
12880 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12881 (_G_ssize_t): Likewise.
12882 (_G_off_t): Likewise.
12883 (_G_pid_t): Likewise.
12884 (_G_uid_t): Likewise.
12885 (_G_wchar_t): Likewise.
12886 (_G_wint_t): Likewise.
12887 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12888 (_G_ssize_t): Likewise.
12889 (_G_off_t): Likewise.
12890 (_G_pid_t): Likewise.
12891 (_G_uid_t): Likewise.
12892 (_G_wchar_t): Likewise.
12893 (_G_wint_t): Likewise.
12894
9fab36eb
SP
128952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12896
12897 * malloc/arena.c: Include malloc-sysdep.h.
12898 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12899 is sufficient to shrink the heap or an unmap is needed.
12900 * sysdeps/generic/malloc-sysdep.h: New file. Define
12901 new function check_may_shrink_heap.
12902 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12903 new function check_may_shrink_heap.
12904
2b4f00d1
SP
129052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
12907 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12908 comments.
12909
9a9028b1
DL
129102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12911
57c69bef
DL
12912 * catgets/test-gencat.sh: Add "set -e".
12913 * elf/tst-pathopt.sh: Likewise.
12914 * grp/tst_fgetgrent.sh: Likewise.
12915 * iconvdata/run-iconv-test.sh: Likewise.
12916 * intl/tst-gettext.sh: Likewise.
12917 * intl/tst-gettext2.sh: Likewise.
12918 * intl/tst-gettext4.sh: Likewise.
12919 * intl/tst-gettext6.sh: Likewise.
12920 * intl/tst-translit.sh: Likewise.
12921 * io/ftwtest-sh: Likewise.
12922 * libio/test-freopen.sh: Likewise.
12923 * malloc/tst-mtrace.sh: Likewise.
12924 * posix/globtest.sh: Likewise.
12925 * posix/tst-getconf.sh: Likewise.
12926 * posix/wordexp-tst.sh: Likewise.
12927 * stdio-common/tst-printf.sh: Likewise.
12928 * stdio-common/tst-unbputc.sh: Likewise.
12929 * stdlib/tst-fmtmsg.sh: Likewise.
12930 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12931 * catgets/Makefile: Do not specify -e option when running
12932 testsuite shell scripts.
12933 * elf/Makefile: Likewise.
12934 * grp/Makefile: Likewise.
12935 * iconvdata/Makefile: Likewise.
12936 * intl/Makefile: Likewise.
12937 * io/Makefile: Likewise.
12938 * libio/Makefile: Likewise.
12939 * malloc/Makefile: Likewise.
12940 * posix/Makefile: Likewise.
12941 * stdio-common/Makefile: Likewise.
12942 * stdlib/Makefile: Likewise.
12943 * sysdeps/x86_64/Makefile: Likewise.
12944
9a9028b1
DL
12945 * io/ftwtest-sh: Add copyright header.
12946 * posix/globtest.sh: Likewise.
12947 * posix/tst-getconf.sh: Likewise.
12948 * posix/wordexp-tst.sh: Likewise.
12949 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12950
ced6f16e
L
129512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12952
94b32c39
L
12953 [BZ #13679]
12954 * Makeconfig (+link): Defined as $(+link-static) if
12955 $(build-shared) isn't yes.
12956 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12957 isn't yes.
12958 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12959
189e935b
L
12960 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12961
ced6f16e
L
12962 [BZ #14562]
12963 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12964 new chunk size with MALLOC_ALIGN_MASK.
12965
a9f8e53a
JM
129662012-09-24 Joseph Myers <joseph@codesourcery.com>
12967
12968 [BZ #5044]
12969 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12970 <rounding-mode.h>.
12971 (__printf_fphex): Determine rounding using get_rounding_mode and
12972 round_away.
12973 * stdio-common/tst-printf-round.c (struct hex_test): New
12974 structure.
12975 (hex_tests): New variable.
12976 (test_hex_in_one_mode): New function.
12977 (do_test): Also run tests for hex float output.
12978
43153109
JM
129792012-09-21 Joseph Myers <joseph@codesourcery.com>
12980
12981 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12982 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12983 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12984 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12985 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12986 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12987 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12988 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12989
8a26625d
JM
129902012-09-20 Joseph Myers <joseph@codesourcery.com>
12991
12992 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12993 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12994 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12995 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12996
f3fd569c
DL
129972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12998
12999 [BZ #14579]
13000 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13001 mode only.
13002 * elf/tst-rtld-load-self.sh: New test.
13003 * elf/Makefile: Run it.
13004
63bbedd4
JM
130052012-09-18 Joseph Myers <joseph@codesourcery.com>
13006
13007 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13008 (tst-writev-ENV): Remove.
13009 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13010
626f8b6a
CM
130112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13012
13013 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13014
b7aaa4d6
JM
130152012-09-17 Joseph Myers <joseph@codesourcery.com>
13016
13017 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13018 unconditional.
13019 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13020 Likewise.
13021 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13022 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13023 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13024 Likewise.
13025
65513990
L
130262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 [BZ #14587]
13029 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13030 * config.make.in (have-cpp-asm-debuginfo): Removed.
13031 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13032 * configure: Regenerated.
13033
784761be
JM
130342012-09-14 Joseph Myers <joseph@codesourcery.com>
13035
13036 [BZ #5044]
13037 * stdio-common/printf_fp.c: Include <stdbool.h> and
13038 <rounding-mode.h>.
13039 (___printf_fp): Determine rounding using get_rounding_mode and
13040 round_away.
13041 * stdio-common/tst-printf-round.c: New file.
13042 * stdio-common/Makefile (tests): Add tst-printf-round.
13043 (link-libm): New variable.
13044 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13045
9503345f
L
130462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 [BZ #14576]
13049 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13050 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13051 Likewise.
13052 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13053 Likewise.
13054
ad35fc00
JM
130552012-09-13 Joseph Myers <joseph@codesourcery.com>
13056
13057 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13058 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13059 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13060 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13061
6c9b0f68
JM
130622012-09-12 Joseph Myers <joseph@codesourcery.com>
13063
13064 [BZ #14518]
13065 * include/rounding-mode.h: New file.
13066 * sysdeps/generic/get-rounding-mode.h: Likewise.
13067 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13068 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13069 (MAX_VALUE): New macro.
13070 (MIN_VALUE): Likewise.
13071 (overflow_value): New function.
13072 (underflow_value): Likewise.
13073 (round_and_return): Use overflow_value and underflow_value to
13074 determine return values in overflow and underflow cases. Use
13075 round_away to determine rounding depending on rounding mode.
13076 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13077 determine return values in overflow and underflow cases.
13078 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13079 (struct test_results): New structure.
13080 (struct test): Use struct test_results to store expected results
13081 for all rounding modes.
13082 (TEST): Include expected results for all rounding modes.
13083 (test_in_one_mode): New function.
13084 (do_test): Use test_in_one_mode to compute and check results.
13085 Check results for all rounding modes.
13086 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13087 $(link-libm).
13088
19fcedd5
AM
130892012-12-09 Allan McRae <allan@archlinux.org>
13090
1e9d84cd 13091 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13092
8bbfd2f1
JM
130932012-09-11 Joseph Myers <joseph@codesourcery.com>
13094
13095 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13096 (_G_int32_t): Likewise.
13097 (_G_uint16_t): Likewise.
13098 (_G_uint32_t): Likewise.
13099 (_G_HAVE_BOOL): Likewise.
13100 (_G_HAVE_ATEXIT): Likewise.
13101 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13102 (_G_HAVE_IO_FILE_OPEN): Likewise.
13103 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13104 (_G_int32_t): Likewise.
13105 (_G_uint16_t): Likewise.
13106 (_G_uint32_t): Likewise.
13107 (_G_HAVE_BOOL): Likewise.
13108 (_G_HAVE_ATEXIT): Likewise.
13109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13110 (_G_HAVE_IO_FILE_OPEN): Likewise.
13111 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13112 (_G_int32_t): Likewise.
13113 (_G_uint16_t): Likewise.
13114 (_G_uint32_t): Likewise.
13115 (_G_HAVE_BOOL): Likewise.
13116 (_G_HAVE_ATEXIT): Likewise.
13117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13118 (_G_HAVE_IO_FILE_OPEN): Likewise.
13119
b1dc5912
L
131202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13121
13122 * csu/libc-tls.c: Update copyright years.
13123
0e886ef9
JM
131242012-09-10 Joseph Myers <joseph@codesourcery.com>
13125
28361c5e
JM
13126 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13127 [!_G_USING_THUNKS]: Remove conditional code.
13128 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13129 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13130
0e886ef9
JM
13131 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13132 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13133 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13134 (_G_VTABLE_LABEL_PREFIX): Likewise.
13135 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13136 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13137 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13138 (_G_VTABLE_LABEL_PREFIX): Likewise.
13139 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13140 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13142 (_G_VTABLE_LABEL_PREFIX): Likewise.
13143 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13144
bcba7aa2
L
131452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * libio/Makefile: Include ../Makeconfig before tests.
13148 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13149 only if $(build-shared) is yes.
13150
06585ee8
L
13151 * iconv/gconv_db.c: Update copyright years.
13152
80ccd52c
LD
131532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13154
13155 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13156 unwind info if defined PIC. Fix special cases description.
13157 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13158
13159 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13160 DP_HI_MASK entry.
13161 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13162
691bc9c1
L
131632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13164
3d9b46b3
L
13165 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13166
de2139a9
L
13167 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13168 is NULL.
13169
5ca78dd0
L
13170 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13171 (LDLIBS-tst-chk4): This.
13172 (LDFLAGS-tst-chk5): Renamed to ...
13173 (LDLIBS-tst-chk5): This.
13174 (LDFLAGS-tst-chk6): Renamed to ...
13175 (LDLIBS-tst-chk6): This.
13176 (LDFLAGS-tst-lfschk4): Renamed to ...
13177 (LDLIBS-tst-lfschk4): This.
13178 (LDFLAGS-tst-lfschk5): Renamed to ...
13179 (LDLIBS-tst-lfschk5): This.
13180 (LDFLAGS-tst-lfschk6): Renamed to ...
13181 (LDLIBS-tst-lfschk6): This.
13182
691bc9c1
L
13183 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13184 on $(common-objpfx)soversions.mk.
13185
65cafb1c
JM
131862012-09-07 Joseph Myers <joseph@codesourcery.com>
13187
13188 [BZ #10014]
13189 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13190 example host name.
13191
c78ab094
SP
131922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13193
13194 * malloc/arena.c (arena_get_retry): New function that gets
13195 another arena for the caller to try its request on.
13196 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13197 current arena cannot fulfill the request.
13198 (__libc_memalign): Likewise.
13199 (__libc_memalign): Likewise.
13200 (__libc_pvalloc): Likewise.
13201 (__libc_calloc): Likewise.
13202
01f49f59
JT
132032012-09-05 John Tobey <john.tobey@gmail.com>
13204
13205 [BZ #13542]
13206 * manual/arith.texi (Operations on Complex): Fix description
13207 of carg branch cut.
13208
4c23fed5
JM
132092012-09-06 Joseph Myers <joseph@codesourcery.com>
13210
1d3c8572
JM
13211 [BZ #10014]
13212 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13213 host name.
13214
4c23fed5
JM
13215 [BZ #10038]
13216 * manual/memory.texi (Memory): Make order of menu items match
13217 order of sections.
13218
04570aaa
L
132192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13220
13221 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13222 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13223 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13224
b80af2f4
L
132252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13226
13227 * csu/libc-tls.c (static_dtv): Renamed to ...
13228 (_dl_static_dtv): This. Make it global.
13229 (_dl_initial_dtv): Removed.
13230 (__libc_setup_tls): Updated.
13231 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13232 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13233 DL_INITIAL_DTV.
13234
2abe9f15
PM
132352012-09-06 Petr Machata <pmachata@redhat.com>
13236
13237 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13238 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13239 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13240 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13241
0948c3af
L
132422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13243
13244 [BZ #14545]
13245 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13246 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13247 freeing dtv[-1].
13248
a5055ad1
L
132492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13250
13251 [BZ #14544]
13252 * Makeconfig (link-static-before-libc): Replace $(+prector)
13253 with $(+prectorT).
13254 (link-static-after-libc): Replace $(+postctor) with
13255 $(+postctorT).
13256 (link-bounded): Replace $(+prector)/$(+postctor) with
13257 $(+prectorT)/$(+postctorT).
13258 (+prectorT): New macro.
13259 (+postctorT): Likewise.
13260
ed8c2ecd
JM
132612012-09-06 Joseph Myers <joseph@codesourcery.com>
13262
13263 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13264 (round_str): Handle values above the maximum for IBM long double
13265 as inexact.
13266 * stdlib/tst-strtod-round.c (tests): Regenerated.
13267
14c996c8
AK
132682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13269
13270 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13271 assembler flag.
13272 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13273 zarch_nohighgprs around the zarch optimized routines.
13274 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13275 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13276 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13277 for zarch.
13278
430d6ce6
DM
132792012-09-05 David S. Miller <davem@davemloft.net>
13280
13281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13282
ff04dda4
DM
13283 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13284 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13285 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13286 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13287 entries.
13288
24d4e01b
AO
132892012-09-05 Alexandre Oliva <aoliva@redhat.com>
13290
13291 * malloc/arena.c: Fold copyright years.
13292 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13293
61d58174
AO
132942012-09-05 Alexandre Oliva <aoliva@redhat.com>
13295
13296 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13297
20196a5e
AO
132982012-09-05 Alexandre Oliva <aoliva@redhat.com>
13299
13300 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13301
5c447383
AO
133022012-09-05 Alexandre Oliva <aoliva@redhat.com>
13303
13304 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13305 change internal state upon failure.
13306
fad64255
AO
133072012-09-05 Alexandre Oliva <aoliva@redhat.com>
13308
13309 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13310 * malloc/memusage.c (mmap): Likewise.
13311 (mmap64, mremap): Likewise. Adjust name in comment.
13312
1ffb8c90
SP
133132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13314
13315 * libio/fileops.c: Fix typos in comments.
13316 * libio/oldfileops.c: Likewise.
13317 * libio/wfileops.c: Likewise.
13318
6ef9cc37
SP
133192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13320
13321 [BZ #1349]
13322 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13323 (tst-malloc-usable-ENV): Set environment for test case.
13324 * malloc/hooks.c (malloc_check_get_size): New function to get
13325 requested size.
13326 * malloc/malloc.c (musable): Use malloc_check_get_size.
13327 * malloc/tst-malloc-usable.c: New test case.
13328
4d038ae3
AS
133292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13330
13331 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13332
c4e85184
AM
133332012-09-05 Allan McRae <allan@archlinux.org>
13334
b9dafc56 13335 [BZ #13966]
c4e85184
AM
13336 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13337 determine header location.
13338 * configure: Regenerated.
13339
e1343020
AS
133402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13341
13342 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13343 float format.
13344 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13345 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13346 format.
e1343020
AS
13347 (test): Regenerate.
13348
0a9f1987
DM
133492012-09-04 David S. Miller <davem@davemloft.net>
13350
13351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13353 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13354
29237804
FW
133552012-09-04 Florian Weimer <fweimer@redhat.com>
13356
13357 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13358 failures.
13359
edb3cb88
FW
13360 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13361
60160d83
JM
133622012-09-04 Joseph Myers <joseph@codesourcery.com>
13363
13364 [BZ #9914]
13365 * libio/iogetdelim.c: Include <limits.h>.
13366 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13367 + len + 1 would overflow.
13368
bcd6c8dc
AJ
133692012-09-03 Andreas Jaeger <aj@suse.de>
13370
13371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13372 * sysdeps/i386/fpu/libm-test-ulps: Update.
13373
4ffffbd2
LD
133742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13375
13376 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13377 Add s_sinf-sse2, s_conf-sse2.
13378
13379 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13380 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13381 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13382 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13383
13384 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13385 for using routine as __sinf_ia32.
13386 Use macro for function declaration and weak_alias.
13387 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13388 for using routine as __cosf_ia32.
13389 Use macro for function declaration and weak_alias.
13390
13391 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13392 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13393
13394 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13395 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13397
13398 * math/libm-test.inc (cos_test): Add more test cases.
13399 (sin_test): Likewise.
13400 (sincos_test): Likewise.
13401
511fa286
AK
134022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13403
13404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13405 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13406 hidden.
13407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13408
5f30cfec
L
134092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 [BZ #14538]
13412 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13413 first element of the GOT.
13414 (elf_machine_load_address): Return the difference between
13415 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13416
0786794f
AM
134172012-09-01 Allan McRae <allan@archlinux.org>
13418
5f30cfec
L
13419 [BZ #13412]
13420 * configure.in (AWK): Require gawk version 3.0 or later.
13421 * configure: Regenerated.
0786794f 13422
26889eac
JM
134232012-09-01 Joseph Myers <joseph@codesourcery.com>
13424
13425 * sysdeps/unix/sysv/linux/kernel-features.h
13426 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13427 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13428 [__NR_clock_getres]: Make code unconditional.
13429 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13430 (clock_getcpuclockid): Remove code left unreachable by removal of
13431 conditionals.
13432 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13433 code unconditional.
13434 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13435 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13436 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13437 Make code unconditional.
13438 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13439 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13440 * sysdeps/unix/sysv/linux/clock_settime.c
13441 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13442 conditional code.
13443 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13444 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13445
d22e28b0
L
134462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13447
13448 [BZ #14476]
13449 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13450 scripts/test-installation.pl.
13451
13452 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13453 and $ld_so_version if it is set.
13454
050af9c4
SP
134552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13456
13457 [BZ #14516]
13458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13459 failure if reading from procfs failed.
13460 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13461
ad845c0b
JM
134622012-08-27 Joseph Myers <joseph@codesourcery.com>
13463
13464 * sysdeps/unix/sysv/linux/kernel-features.h
13465 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13466 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13467 Remove conditional code.
13468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13469 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13470 Remove conditional code.
13471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13472 * sysdeps/unix/sysv/linux/i386/fxstat.c
13473 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13475 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13476 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13478 * sysdeps/unix/sysv/linux/i386/lxstat.c
13479 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13481 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13482 Remove conditional code.
13483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13484 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13485 Remove conditional code.
13486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13487 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13488 <kernel-features.h>.
13489 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13490 Remove.
13491 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13492 Remove conditional code.
13493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13494 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13495 Remove conditional.
13496
5dbf56af
MF
134972012-08-27 Mike Frysinger <vapier@gentoo.org>
13498
13499 [BZ #5400]
13500 * NEWS: Add fixed bug number.
13501
d6e70f43
JM
135022012-08-27 Joseph Myers <joseph@codesourcery.com>
13503
7efb4737
JM
13504 [BZ #14519]
13505 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13506 underflowing exponent in case of negative sign.
13507 * stdlib/tst-strtod-round-data: Add more tests.
13508 * stdlib/tst-strtod-round.c (tests): Regenerated.
13509
af92131a
JM
13510 [BZ #3479]
13511 * stdlib/strtod_l.c (NDIG): Remove.
13512 (HEXNDIG): Likewise.
13513 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13514 smallest representable value.
13515 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13516 lie within an exact representation of 1/2 ulp of the result.
13517 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13518 unconditionally.
13519 (TENS_P9_IDX): Define unconditionally.
13520 (TENS_P9_SIZE): Likewise.
13521 (TENS_P10_IDX): Likewise.
13522 (TENS_P10_SIZE): Likewise.
13523 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13524 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13525 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13526 entries for 10^2^13 and 10^2^14.
13527 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13528 (TENS_P13_IDX): Define.
13529 (TENS_P13_SIZE): Likewise.
13530 (TENS_P14_IDX): Likewise.
13531 (TENS_P14_SIZE): Likewise.
13532 (_fpioconst_pow10): Change array size to
13533 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13534 unconditional.
13535 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13536 1024]: Add entries for 10^2^13 and 10^2^14.
13537 [LAST_POW10 > _LAST_POW10]: Remove #error.
13538 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13539 (_fpioconst_pow10): Change array size to
13540 FPIOCONST_POW10_ARRAY_SIZE.
13541 * stdlib/gen-fpioconst.c: New file.
13542 * stdlib/gen-tst-strtod-round.c: Likewise.
13543 * stdlib/tst-strtod-round-data: Likewise.
13544 * stdlib/tst-strtod-round.c: Likewise.
13545 * stdlib/Makefile (tests): Add tst-strtod-round.
13546
d6e70f43
JM
13547 [BZ #14459]
13548 * stdlib/strtod_l.c: Include <stdint.h>.
13549 (NDEBUG): Do not define.
13550 (round_and_return): Change EXPONENT parameter to type intmax_t.
13551 Rearrange calculations to avoid internal overflow possibilities.
13552 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13553 Rearrange calculations to avoid internal overflow possibilities.
13554 Assert that number fits inside MPNSIZE limbs.
13555 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13556 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13557 calculations and add assertions to avoid internal overflow
13558 possibilities. Add casts to avoid signed/unsigned operations.
13559 * stdlib/tst-strtod-overflow.c: New file.
13560 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13561
1f529f7d
MP
135622012-08-25 Marek Polacek <polacek@redhat.com>
13563
13564 * time/time.h: Fix some typos in comments.
13565
59a629f1
RM
135662012-08-23 Roland McGrath <roland@hack.frob.com>
13567
13568 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13569 * posix/tst-rfc3484-2.c: Likewise.
13570 * posix/tst-rfc3484-3.c: Likewise.
13571
d3bafbc9
SM
135722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13573
13574 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13575 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13576
4efcc022
JM
135772012-08-23 Joseph Myers <joseph@codesourcery.com>
13578
13579 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13580 #include of fxstatat64.c.
13581
3cc3ef96
RM
135822012-08-22 Roland McGrath <roland@hack.frob.com>
13583
f04e2132
RM
13584 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13585 * shadow/getspent_r.c: Likewise.
13586 * shadow/getspnam.c: Likewise.
13587 * shadow/getspnam_r.c: Likewise.
13588 * gshadow/getsgent.c: Likewise.
13589 * gshadow/getsgent_r.c: Likewise.
13590 * gshadow/getsgnam.c: Likewise.
13591 * gshadow/getsgnam_r.c: Likewise.
13592 * inet/getnetbyad.c: Likewise.
13593 * inet/getnetbyad_r.c: Likewise.
13594 * inet/getnetbynm.c: Likewise.
13595 * inet/getnetbynm_r.c: Likewise.
13596 * inet/getnetent.c: Likewise.
13597 * inet/getnetent_r.c: Likewise.
13598 * inet/getproto.c: Likewise.
13599 * inet/getproto_r.c: Likewise.
13600 * inet/getprtent.c: Likewise.
13601 * inet/getprtent_r.c: Likewise.
13602 * inet/getprtname.c: Likewise.
13603 * inet/getprtname_r.c: Likewise.
13604 * inet/getrpcbyname.c: Likewise.
13605 * inet/getrpcbyname_r.c: Likewise.
13606 * inet/getrpcbynumber.c: Likewise.
13607 * inet/getrpcbynumber_r.c: Likewise.
13608 * inet/getrpcent.c: Likewise.
13609 * inet/getrpcent_r.c: Likewise.
13610 * inet/getaliasent.c: Likewise.
13611 * inet/getaliasent_r.c: Likewise.
13612 * inet/getaliasname.c: Likewise.
13613 * inet/getaliasname_r.c: Likewise.
13614 * nscd/getgrgid_r.c: Likewise.
13615 * nscd/getgrnam_r.c: Likewise.
13616 * nscd/gethstbyad_r.c: Likewise.
13617 * nscd/gethstbynm3_r.c: Likewise.
13618 * nscd/getpwnam_r.c: Likewise.
13619 * nscd/getpwuid_r.c: Likewise.
13620 * nscd/getsrvbynm_r.c: Likewise.
13621 * nscd/getsrvbypt_r.c: Likewise.
13622 * nscd/gai.c: Likewise.
13623
c53d909c
RM
13624 * configure.in (build_nscd): New substituted variable, set
13625 by --disable-build-nscd and defaults to $use_nscd.
13626 * configure: Regenerated.
13627 * config.make.in (build-nscd): New substituted variable.
13628 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13629 Change conditional to require [$(build-nscd) = yes] as well.
13630 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13631
3cc3ef96
RM
13632 [BZ# 13696]
13633 * configure.in (use_nscd): New substituted variable, set by
13634 --disable-nscd. If enabled, define USE_NSCD.
13635 * configure: Regenerated.
13636 * config.h.in: Add USE_NSCD.
13637 * config.make.in (use-nscd): New substituted variable.
13638 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13639 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13640 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13641 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13642 (CFLAGS-getgrnam_r.c): Likewise.
13643 (CFLAGS-initgroups.c): Likewise.
13644 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13645 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13646 Variables removed.
13647 * inet/getnetgrent_r.c
13648 (nscd_setnetgrent): New function, broken out of ...
13649 (setnetgrent): ... here. Call it.
13650 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13651 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13652 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13653 * nscd/Makefile (routines, aux): Move definitions after include of
13654 Makeconfig. Conditionalize on [$(use-nscd) != no].
13655 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13656 Conditionalize on [USE_NSCD].
13657 (is_nscd, nscd_init_cb): Likewise.
13658 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13659 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13660 * nss/nss_db/db-init.c: Likewise.
13661 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13662 [USE_NSCD].
13663 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13664 (make_request): Use it.
13665 (cache_valid_p): New function.
13666 (__check_pf): Use it.
13667 * NEWS: Add item for --disable-nscd.
13668
07e51550
DL
136692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13670
13671 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13672 to support sed >= 4.2.1-20-ga9bf076.
13673 * configure: Regenerated.
13674
35a5b08b
RM
136752012-08-22 Roland McGrath <roland@hack.frob.com>
13676
13677 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13678 Conditionalize whole body on [IREL].
13679
8479f23a
JL
136802012-08-22 Jeff Law <law@redhat.com>
13681
13682 [BZ #14505]
13683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13684 if the family is PF_UNSPEC.
13685
48da0b21
MF
136862012-08-22 Mike Frysinger <vapier@gentoo.org>
13687
13688 * Makerules (lib-version): Rename from V.
13689 (install-lib-nosubdir): Change V to lib-version.
13690
15d0da8c
WS
136912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13692
13693 [BZ #14252]
13694 * powerpc32/power6/wcschr.c: New file.
13695 * powerpc32/power6/wcscpy.c: New file.
13696 * powerpc32/power6/wcsrchr.c: New file.
13697 * powerpc64/power6/wcschr.c: New file.
13698 * powerpc64/power6/wcscpy.c: New file.
13699 * powerpc64/power6/wcsrchr.c: New file.
13700
bcca0895
MK
137012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13702
13703 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13704 (two_way_short_needle): Use it.
5a4aaa33
RM
13705 * string/strstr.c (AVAILABLE1_USES_J): Define.
13706 * string/strcasestr.c: Likewise.
99677e57
MK
13707
13708 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13709 array references.
13710 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13711
400726de
MK
13712 [BZ #11607]
13713 * NEWS: Add an entry.
13714 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13715 define their defaults.
13716 (two_way_short_needle): Detect end-of-string on-the-fly.
13717 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13718 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13719 * string/bug-strcasestr1.c: New test.
13720 * string/Makefile: Run it.
13721
20a71f2c
MK
137222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13723
13724 [BZ #11607]
13725 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13726 the first character.
13727
21ad0558
RM
137282012-08-21 Roland McGrath <roland@hack.frob.com>
13729
13730 * csu/elf-init.c (__libc_csu_irel): Function removed.
13731 * csu/libc-start.c (apply_irel): New function.
13732 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13733
0e1d9911
JM
137342012-08-21 Joseph Myers <joseph@codesourcery.com>
13735
13736 * sysdeps/unix/sysv/linux/kernel-features.h
13737 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13738 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13739 <kernel-features.h>.
13740 [__NR_fadvise64_64]: Make code unconditional.
13741 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13742 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13743 !__NR_fadvise64_64)]: Likewise.
13744 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13745 !__NR_fadvise64_64))]: Likewise.
13746 [__NR_fadvise64]: Make code unconditional.
13747 [!__NR_fadvise64]: Remove conditional code.
13748 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13749 <kernel-features.h>.
13750 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13751 unconditional.
13752 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13753 conditional code.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13755 not include <kernel-features.h>.
13756 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13757 unconditional.
13758 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13759 conditional code.
13760 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13761 include <kernel-features.h>.
13762 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13763 unconditional.
13764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13765 conditional code.
13766
14a50c9d
WS
137672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13768
13769 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13770 slight instruction rearrangements per scrollpipe analysis.
13771 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13772
c0f4faf0
RM
137732012-08-20 Roland McGrath <roland@hack.frob.com>
13774
696da859
RM
13775 * manual/syslog.texi (syslog; vsyslog, closelog):
13776 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13777 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13778
c0f4faf0
RM
13779 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13780 DSOCAPS to match condition on defining it.
13781
348363b2
JM
137822012-08-20 Joseph Myers <joseph@codesourcery.com>
13783
a35cbf28
JM
13784 * sysdeps/unix/sysv/linux/kernel-features.h
13785 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13787 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13788 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13790 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13791 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13793 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13794 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13795
445f7ecd
JM
13796 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13797 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13798
348363b2
JM
13799 * sysdeps/unix/sysv/linux/kernel-features.h
13800 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13801 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13802 unconditional.
13803 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13804 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13805 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13806 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13807 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13808 Make code unconditional.
13809 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13810 (__mmap64) [!__NR_mmap2]: Likewise.
13811 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13812 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13813 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13814 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13815 [__NR_mmap2]: Make code unconditional.
13816 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13817 (__mmap64) [!__NR_mmap2]: Likewise.
13818
bc5bc0e5
AK
138192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13820
13821 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13822
88d506de
AJ
138232012-08-18 Andreas Jaeger <aj@suse.de>
13824
13825 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13826
493387d2
MF
138272012-08-18 Mike Frysinger <vapier@gentoo.org>
13828
13829 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13830 * include/unistd.h (__have_sock_cloexec): Likewise.
13831 (__have_pipe2): Likewise.
13832 (__have_dup3): Likewise.
13833
a277af22
MF
138342012-08-18 Mike Frysinger <vapier@gentoo.org>
13835
13836 [BZ #9685]
13837 * include/unistd.h (__have_pipe2): Change define into an extern int.
13838 (__have_dup3): Likewise.
13839 * socket/have_sock_cloexec.c: Include fcntl.h.
13840 (__have_pipe2): New variable.
13841 (__have_dup3): Likewise.
13842
fdab8fd3
MF
138432012-08-17 Mike Frysinger <vapier@gentoo.org>
13844
13845 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13846
31035e80
MP
138472012-08-17 Marek Polacek <polacek@redhat.com>
13848
13849 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13850 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13851
3bd9e993
RM
138522012-08-17 Roland McGrath <roland@hack.frob.com>
13853
c91c505f
RM
13854 * configure.in: Add AC_SUBST for sysheaders.
13855 * configure: Regenerated.
13856 * config.make.in (sysheaders): New substituted variable.
13857
7c6f9d53
RM
13858 * sysdeps/unix/mkfifo.c: Moved ...
13859 * sysdeps/posix/mkfifo.c: ... here.
13860 * sysdeps/unix/mkfifoat.c: Moved ...
13861 * sysdeps/posix/mkfifoat.c: ... here.
13862
13863 * sysdeps/unix/utime.c: Moved ...
13864 * sysdeps/posix/utime.c: ... here.
13865
13866 * sysdeps/unix/time.c: Moved ...
13867 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13868 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13869 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13870
13871 * sysdeps/unix/nice.c: Moved ...
13872 * sysdeps/posix/nice.c: ... here.
13873
13874 * sysdeps/unix/alarm.c: Moved ...
13875 * sysdeps/posix/alarm.c: ... here.
13876
3bd9e993
RM
13877 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13878
d1f09384
JL
138792012-08-17 Jeff Law <law@redhat.com>
13880
13881 * intl/Makefile (codeset_mo): New variable.
13882 ($(codeset_mo)): New target.
13883 (tst-codeset.out): Depend on that. Remove explicit rule.
13884 (tst-gettext3.out, tst-gettext5.out): Likewise.
13885 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13886 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13887 * intl/tst-codeset.sh: Remove.
13888 * intl/tst-gettext3.sh: Likewise.
13889 * intl/tst-gettext5.sh: Likewise.
13890
2ae1ae5c
RM
138912012-08-17 Roland McGrath <roland@hack.frob.com>
13892
c31fdb83
RM
13893 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13894 * sysdeps/unix/syscalls.list: ... here.
13895
a0844057
RM
13896 * sysdeps/posix/getaddrinfo.c
13897 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13898 (gaiconf_init, gaiconf_reload): Use them.
13899 [!_STATBUF_ST_NSEC]
13900 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13901 Define using time_t rather than struct timespec.
13902
750c1f2a
RM
13903 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13904 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13905 Macros removed.
13906 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13907 [!NO_THREADS].
13908 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13909 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13910 Likewise.
13911
2ae1ae5c
RM
13912 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13913 __libc_cleanup_push argument.
13914
e66a42f5
RM
13915 * bits/param.h: New file.
13916 * misc/sys/param.h: New file.
13917 * include/sys/param.h: New file.
13918 * misc/Makefile (headers): Add bits/param.h.
13919 * sysdeps/generic/sys/param.h: File removed.
13920 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13921 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13922 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13923 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13924
b7c08a66
RM
13925 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13926 last change.
13927
b2e1c562
RM
13928 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13929 [_IO_MTSAFE_IO].
13930 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13931 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13932 New macros.
13933
c75ccd4c
RM
13934 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13935 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13936 rather than -D_IO_MTSAFE_IO conditionally.
13937 * stdio-common/Makefile (CPPFLAGS): Likewise.
13938 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13939 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13940 Use $(libio-mtsafe).
13941 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13942 of -D_IO_MTSAFE_IO.
13943 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13944 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13945 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13946 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13947 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13948 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13949 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13950 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13951 (CFLAGS-fread_u_chk.c): Likewise.
13952 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13953 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13954 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13955 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13956 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13957 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13958 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13959 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13960 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13961
13962 * libio/Makefile: Test [$(libc-reentrant) = yes]
13963 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13964
13965 * Makeconfig
13966 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13967 * sysdeps/pthread/configure: File removed.
13968 * sysdeps/pthread/Makeconfig: New file.
13969 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13970 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13971
d9195db8
GB
139722012-08-16 Gary Benson <gbenson@redhat.com>
13973
13974 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13975 unmapping the first object in a namespace.
13976
86466cd9
RM
139772012-08-16 Roland McGrath <roland@hack.frob.com>
13978
13979 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13980 (__internal_setnetgrent): ... this. Add internal_function to
13981 definition. Add libc_hidden_def.
13982 (setnetgrent): Update caller.
13983 (internal_endnetgrent): Renamed to ...
13984 (__internal_endnetgrent): ... this. Add internal_function to
13985 definition. Add libc_hidden_def.
13986 (endnetgrent): Update caller.
13987 (internal_getnetgrent_r): Renamed to ...
13988 (__internal_getnetgrent_r): ... this. Add internal_function to
13989 definition. Add libc_hidden_def.
13990 (__getnetgrent_r): Update caller.
13991 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13992
c3c8283c
JM
139932012-08-16 Joseph Myers <joseph@codesourcery.com>
13994
13995 * stdlib/longlong.h: Update from GCC.
13996
db1ee0a8
RM
139972012-08-16 Roland McGrath <roland@hack.frob.com>
13998
13999 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14000 on _QL, which is set by umul_ppmm but never used.
14001 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14002 variables, which are set by GMP macros but never used.
14003 * stdio-common/_itowa.c (_itowa): Likewise.
14004 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14005 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14006
30f69637
CD
140072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14008
14009 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14010 struct La_sh_regs is not constant.
14011 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14012 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14013 and struct La_sparc64_regs are not constant.
14014
93a78ac4
JM
140152012-08-16 Joseph Myers <joseph@codesourcery.com>
14016
14017 * sysdeps/unix/sysv/linux/kernel-features.h
14018 (__ASSUME_POSIX_TIMERS): Remove.
14019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14021 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14022 Make code unconditional.
14023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14024 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14025 Make code unconditional.
14026 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14027 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14028 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14030 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14031 Make code unconditional.
14032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14033 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14034 (__libc_missing_posix_timers): Remove.
14035
dd924cd7
RM
140362012-08-15 Roland McGrath <roland@hack.frob.com>
14037
4b4f2771
RM
14038 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14039 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14040
601c888b
RM
14041 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14042
176790a7
RM
14043 * elf/dl-sym.c: Include <stdlib.h>.
14044
329bc018
RM
14045 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14046 constants, which avoids warnings in 32-bit builds.
14047
e04e272d
RM
14048 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14049 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14050
952bf94a
RM
14051 * misc/lseek.c: File moved to ...
14052 * io/lseek.c: ... here.
14053
7c99b50a
RM
14054 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14055
dd924cd7
RM
14056 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14057 shifting LEN more than 31 bits at once.
14058
b3f479a8
LD
140592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14060
14061 [BZ #14195]
8c4ae0d4
RM
14062 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14063 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14064 * string/test-strncasecmp.c (check1): Renamed to...
14065 (bz12205): ...this.
14066 (bz14195): Add new testcase for two empty input strings and N > 0.
14067 (test_main): Call new testcase, adapt for renamed function.
14068
9c55864e
AJ
140692012-08-15 Andreas Jaeger <aj@suse.de>
14070
14071 [BZ #14090]
14072 * crypt/md5test2.c: New test, based on test supplied by Serge
14073 Belyshev <belyshev@depni.sinp.msu.ru>.
14074 * crypt/Makefile (xtests): Add md5test-giant..
14075 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14076
02dcb6c5
PE
140772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14078
14079 [BZ #14090]
14080 * crypt/md5.c (md5_process_block): Don't assume the buffer
14081 length is less than 2**32.
14082 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14083 length is less than 2**64.
14084
a3f95dcc
RM
140852012-08-15 Roland McGrath <roland@hack.frob.com>
14086
be75d758
RM
14087 * string/str-two-way.h: Include <sys/param.h>.
14088 (MAX): Macro removed.
14089
7312ca90
RM
14090 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14091 Move #define and #undef of memmove to just before and after
14092 including <string.h>.
14093
9a0a5486
RM
14094 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14095 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14096 and after including <string.h>. Move declarations of
14097 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14098 to before #include "string/memmove.c".
14099
67cc348d
RM
14100 * include/dirent.h: Declare __getdirentries.
14101
a3f95dcc
RM
14102 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14103 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14104
ca98e171
MF
141052012-08-14 Mike Frysinger <vapier@gentoo.org>
14106
14107 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14108 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14109 * sysdeps/i386/configure: Regenerated.
14110 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14111 STABS_CURRENT_FILE, and STABS_FUN.
14112 (END): Remove call to STABS_FUN_END.
14113 (STABS_CURRENT_FILE1): Delete.
14114 (STABS_CURRENT_FILE): Likewise.
14115 (STABS_FUN): Likewise.
14116 (STABS_FUN_END): Likewise.
14117 (STABS_FUN2): Likewise.
14118 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14119 * sysdeps/x86_64/configure: Regenerated.
14120
5908bf46
RM
141212012-08-14 Roland McGrath <roland@hack.frob.com>
14122
14123 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14124 * elf/dl-lookup.c: Likewise.
5908bf46 14125
f2c05b9e
JM
141262012-08-14 Joseph Myers <joseph@codesourcery.com>
14127
14128 * sysdeps/unix/sysv/linux/kernel-features.h
14129 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14130 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14131 unconditionally.
14132 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14133 unconditionally.
14134 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14135 condition on __ASSUME_CLONE_THREAD_FLAGS.
14136
e11f5155
AJ
141372012-08-14 Andreas Jaeger <aj@suse.de>
14138
14139 * sysdeps/i386/fpu/libm-test-ulps: Update.
14140
51a9ba86
MK
141412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14142
2fdd4f78
AJ
14143 * include/atomic.h (atomic_exchange_and_add): Split into ...
14144 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14145 New atomic macros.
51a9ba86 14146
ba6cba9e
MT
141472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14148
14149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14150
42443a47
JL
141512012-08-13 Jeff Law <law@redhat.com>
14152
14153 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14154 null byte in the output string.
14155
121dce05
JM
141562012-08-10 Joseph Myers <joseph@codesourcery.com>
14157
14158 * sysdeps/unix/sysv/linux/kernel-features.h
14159 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14160 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14161 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14162 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14163 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14164 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14165 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14166
bf51f568
JL
141672012-08-09 Jeff Law <law@redhat.com>
14168
14169 [BZ #13939]
14170 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14171 When avoid_arena is set, don't retry in the that arena. Pick the
14172 next one, whatever it might be.
14173 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14174 (arena_lock): Pass in new parameter to arena_get2.
14175 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14176 arena_get2.
14177 (__libc_malloc): Unify retrying after main arena failure with
14178 __libc_memalign version.
14179 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14180
f85fa270
L
141812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14182
14183 [BZ #14166]
14184 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14185 to __redirect_strstr.
14186 (__strstr_sse42): Use typeof __redirect_strstr.
14187 (__strstr_ia32): Likewise.
14188 (__libc_strstr): New prototype.
14189 (strstr): Renamed to ...
14190 (__libc_strstr): This.
14191 (strstr): New strong alias of __libc_strstr.
14192 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14194 __redirect_time.
14195 Include <time.h>.
14196 (__libc_time): New prototype.
14197 (time_ifunc): Replace time with __libc_time.
14198 (time): New strong alias and hidden definition of __libc_time.
14199 (__GI_time): Remove strong alias.
14200 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14201 Include <stddef.h>.
14202 (memmove): Redefined to __redirect_memmove.
14203 (__memmove_sse2): Use typeof __redirect_memmove.
14204 (__memmove_ssse3): Likewise.
14205 (__memmove_ssse3_back): Likewise.
14206 (__libc_memmove): New prototype.
14207 (memmove): Renamed to ...
14208 (__libc_memmove): This.
14209 (memmove): New strong alias of __libc_memmove.
14210
33b4a91e
MS
142112012-08-08 Mark Salter <msalter@redhat.com>
14212
14213 * elf/elf.h
14214 (R_MN10300_TLS_GD): Define.
14215 (R_MN10300_TLS_LD): Likewise.
14216 (R_MN10300_TLS_LDO): Likewise.
14217 (R_MN10300_TLS_GOTIE): Likewise.
14218 (R_MN10300_TLS_IE): Likewise.
14219 (R_MN10300_TLS_LE): Likewise.
14220 (R_MN10300_TLS_DTPMOD): Likewise.
14221 (R_MN10300_TLS_DTPOFF): Likewise.
14222 (R_MN10300_TLS_TPOFF): Likewise.
14223 (R_MN10300_SYM_DIFF): Likewise.
14224 (R_MN10300_ALIGN): Likewise.
14225 (R_MN10300_NUM): Update.
14226
b36137f1
JM
142272012-08-08 Joseph Myers <joseph@codesourcery.com>
14228
14229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14230 Remove.
14231
cdd915fd
RM
142322012-08-08 Roland McGrath <roland@hack.frob.com>
14233
a2433aac
RM
14234 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14235
cdd915fd
RM
14236 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14237 sysdeps/unix -> sysdeps/posix move.
14238 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14239
bf9b740a
AM
142402012-08-07 Allan McRae <allan@archlinux.org>
14241
14242 [BZ #14303]
14243 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14244 (SUNOS_CPP): Likewise.
14245 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14246 not found.
14247 (open_input): Call CPP using execvp.
14248
93df14ee
JM
142492012-08-07 Joseph Myers <joseph@codesourcery.com>
14250
14251 * sysdeps/unix/sysv/linux/kernel-features.h
14252 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14253 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14254 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14255 (__ASSUME_WAITID_SYSCALL): Likewise.
14256 * sysdeps/unix/sysv/linux/dl-execstack.c
14257 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14258 code unconditional.
14259 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14260 conditional code.
14261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14262 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14263 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14264 code.
14265 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14266 unconditional.
14267 [__ASSUME_WAITID_SYSCALL]: Likewise.
14268 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14269
d34689de
RM
142702012-08-07 Roland McGrath <roland@hack.frob.com>
14271
a281decc
RM
14272 * sysdeps/unix/closedir.c: Renamed to ...
14273 * sysdeps/posix/closedir.c: ... here.
14274 * sysdeps/unix/dirfd.c: Renamed to ...
14275 * sysdeps/posix/dirfd.c: ... here.
14276 * sysdeps/unix/dirstream.h: Renamed to ...
14277 * sysdeps/posix/dirstream.h: ... here.
14278 * sysdeps/unix/fdopendir.c: Renamed to ...
14279 * sysdeps/posix/fdopendir.c: ... here.
14280 * sysdeps/unix/opendir.c: Renamed to ...
14281 * sysdeps/posix/opendir.c: ... here.
14282 * sysdeps/unix/readdir.c: Renamed to ...
14283 * sysdeps/posix/readdir.c: ... here.
14284 * sysdeps/unix/readdir_r.c: Renamed to ...
14285 * sysdeps/posix/readdir_r.c: ... here.
14286 * sysdeps/unix/rewinddir.c: Renamed to ...
14287 * sysdeps/posix/rewinddir.c: ... here.
14288 * sysdeps/unix/seekdir.c: Renamed to ...
14289 * sysdeps/posix/seekdir.c: ... here.
14290 * sysdeps/unix/telldir.c: Renamed to ...
14291 * sysdeps/posix/telldir.c: ... here.
14292 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14293 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14294 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14295 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14296
22895b47
RM
14297 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14298 * bits/fcntl.h: ... here.
14299
707a53b6
RM
14300 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14301 not 0.
14302 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14303 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14304 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14305 (struct flock): Move l_start, l_len to the beginning.
14306 Use __pid_t for l_pid.
14307 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14308 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14309 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14310 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14311 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14312 [__USE_LARGEFILE64] (struct flock64): New type.
14313 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14314
f0bd3e25
RM
14315 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14316 * bits/dirent.h: ... here.
14317
d34689de
RM
14318 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14319 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14320
6dad2c06
JM
143212012-08-07 Joseph Myers <joseph@codesourcery.com>
14322
14323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14324 Change from 2.6.0 to 2.6.16.
14325 * sysdeps/unix/sysv/linux/configure: Regenerated.
14326 * sysdeps/unix/sysv/linux/kernel-features.h
14327 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14328 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14329 version.
14330 (__ASSUME_UTIMES): Likewise.
14331 (__ASSUME_CLONE_STOPPED): Remove.
14332 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14333 architectures, not kernel version.
14334 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14335 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14336 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14337 (__ASSUME_WAITID_SYSCALL): Likewise.
14338 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14339 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14340 * README: State 2.6.16 as minimum Linux kernel version. Do not
14341 refer to older versions.
14342
03af9520
RM
143432012-08-06 Roland McGrath <roland@hack.frob.com>
14344
8e49df1d
RM
14345 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14346 Define alphasort64 as an alias.
14347 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14348 Define versionsort64 as an alias.
14349 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14350 Define scandir64 as an alias.
14351 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14352 Define scandirat64 as an alias.
14353 * dirent/alphasort64.c (alphasort64):
14354 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14355 * dirent/versionsort64.c: Likewise.
14356 * dirent/scandir64.c: Likewise.
14357 * dirent/scandirat64.c: Likewise.
14358 * sysdeps/wordsize-64/alphasort.c: File removed.
14359 * sysdeps/wordsize-64/alphasort64.c: File removed.
14360 * sysdeps/wordsize-64/scandir.c: File removed.
14361 * sysdeps/wordsize-64/scandir64.c: File removed.
14362 * sysdeps/wordsize-64/scandirat.c: File removed.
14363 * sysdeps/wordsize-64/scandirat64.c: File removed.
14364 * sysdeps/wordsize-64/versionsort.c: File removed.
14365 * sysdeps/wordsize-64/versionsort64.c: File removed.
14366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14368 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14370 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14372 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14373 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14374
14375 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14377 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14379 [defined __arch64__ || defined __sparcv9]
14380 (__INO_T_MATCHES_INO64_T): New macro.
14381 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14382 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14383 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14384 * sysdeps/unix/sysv/linux/bits/dirent.h
14385 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14386 (_DIRENT_MATCHES_DIRENT64): New macro.
14387
03af9520
RM
14388 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14389 Define lockf64 as an alias.
14390 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14391 Define fseeko64 as an alias.
14392 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14393 Define ftello64 as an alias.
14394 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14395 Define _IO_fgetpos64 and fgetpos64 as aliases.
14396 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14397 Define _IO_fsetpos64 and fsetpos64 as aliases.
14398 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14399 Conditionalize body on this.
14400 * libio/fseeko64.c: Likewise.
14401 * libio/ftello64.c: Likewise.
14402 * libio/iofgetpos64.c: Likewise.
14403 * libio/iofsetpos64.c: Likewise.
14404 * sysdeps/wordsize-64/lockf.c: File removed.
14405 * sysdeps/wordsize-64/lockf64.c: File removed.
14406 * sysdeps/wordsize-64/fseeko.c: File removed.
14407 * sysdeps/wordsize-64/fseeko64.c: File removed.
14408 * sysdeps/wordsize-64/ftello.c: File removed.
14409 * sysdeps/wordsize-64/ftello64.c: File removed.
14410 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14411 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14412 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14413 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14414 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14415 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14419 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14422 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14424
14425 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14427 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14429 [defined __arch64__ || defined __sparcv9]
14430 (__OFF_T_MATCHES_OFF64_T): New macro.
14431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14432 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14434 (__OFF_T_MATCHES_OFF64_T): New macro.
14435
c5757acd
L
144362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14437
14438 * stdlib/secure-getenv.c (__secure_getenv): Replace
14439 GLIBC_2_16 with GLIBC_2_17.
14440
3a31811e
L
144412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14442
14443 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14445
faa2bccb
DM
144462012-08-03 David S. Miller <davem@davemloft.net>
14447
14448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14449
85fe1997
JM
144502012-08-03 Joseph Myers <joseph@codesourcery.com>
14451
14452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14453 Remove.
14454 (__ASSUME_CORRECT_SI_PID): Likewise.
14455 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14456 (__ASSUME_TMPFS_NAME): Likewise.
14457 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14458 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14459 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14460 (HAVE_AUX_SECURE): Make definition unconditional.
14461 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14462 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14463
4f75b7a0
RM
144642012-08-03 Roland McGrath <roland@hack.frob.com>
14465
14466 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14467 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14468 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14470 __eloop_threshold instead of SYMLOOP_MAX.
14471
14472 * sysdeps/generic/eloop-threshold.h: New file.
14473 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14474 of MAXSYMLINKS.
14475 * elf/chroot_canon.c (chroot_canon): Likewise.
14476
7aab07e4
JM
144772012-08-03 Joseph Myers <joseph@codesourcery.com>
14478
14479 [BZ #13717]
14480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14481 Change to 2.6.0 everywhere.
14482 * sysdeps/unix/sysv/linux/configure: Regenerated.
14483 * sysdeps/unix/sysv/linux/kernel-features.h
14484 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14485 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14486 kernel versions.
14487 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14488 (__ASSUME_FUTEX_REQUEUE): Remove.
14489 (__ASSUME_STATFS64): Define unconditionally.
14490 (__ASSUME_AT_SECURE): Likewise.
14491 (__ASSUME_CORRECT_SI_PID): Likewise.
14492 (__ASSUME_TGKILL): Define without depending on kernel version for
14493 i386.
14494 (__ASSUME_UTIMES): Likewise.
14495 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14496 kernel version.
14497 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14498 (__ASSUME_TMPFS_NAME): Likewise.
14499 * README: Update reference to Linux kernel versions.
14500
b67e9372
MP
145012012-08-02 Marek Polacek <polacek@redhat.com>
14502
1f529f7d 14503 [BZ# 14150]
b67e9372
MP
14504 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14505 libc_cv_asm_type_prefix with %.
14506 * configure: Regenerated.
d2441631
RM
14507 * include/libc-symbols.h: Remove comment about
14508 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14509 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14510 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14511 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14512 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14513 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14514 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14515 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14516 * elf/tst-unique2mod1.c: Likewise.
14517 * elf/tst-unique1mod2.c: Likewise.
14518 * elf/tst-unique1mod1.c: Likewise.
14519 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14520 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14521 Replace ASM_TYPE_DIRECTIVE with .type.
14522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14523 * sysdeps/i386/sysdep.h: Likewise.
14524 * sysdeps/x86_64/sysdep.h: Likewise.
14525 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14527 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14528 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14529 * sysdeps/powerpc/powerpc32/sysdep.h:
14530 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14531 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14532 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14533 * sysdeps/i386/fpu/e_powf.S: Likewise.
14534 * sysdeps/i386/fpu/e_expl.S: Likewise.
14535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14536 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14537 * sysdeps/i386/fpu/e_pow.S: Likewise.
14538 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14539 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14540 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14541 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14542 * sysdeps/i386/fpu/e_log2.S: Likewise.
14543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14545 * sysdeps/i386/fpu/e_powl.S: Likewise.
14546 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14547 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14548 * sysdeps/i386/fpu/e_logl.S: Likewise.
14549 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14550 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14551 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14553 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14554 * sysdeps/i386/fpu/e_log.S: Likewise.
14555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14556 * sysdeps/i386/fpu/e_logf.S: Likewise.
14557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14558 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14559 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14560 * sysdeps/i386/fpu/e_log10.S: Likewise.
14561 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14563 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14564 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14565 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14566 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14567 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14568 * sysdeps/i386/i686/strtok.S: Likewise.
14569 * sysdeps/i386/i386-mcount.S: Likewise.
14570 * sysdeps/i386/strtok.S: Likewise.
14571 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14575 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14580 * sysdeps/x86_64/_mcount.S: Likewise.
14581 * sysdeps/x86_64/strtok.S: Likewise.
14582 * sysdeps/sh/_mcount.S: Likewise.
14583
2747bf9a
RM
145842012-08-01 Roland McGrath <roland@hack.frob.com>
14585
14586 * libio/iofopen.c: Include <fcntl.h>.
14587 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14588 (_IO_fopen64, fopen64): Define as aliases.
14589 * libio/iofopen64.c: Include <fcntl.h>.
14590 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14591 Conditionalize body on this.
14592 * sysdeps/wordsize-64/iofopen.c: File removed.
14593 * sysdeps/wordsize-64/iofopen64.c: File removed.
14594
3fb791b8
MP
145952012-08-01 Marek Polacek <polacek@redhat.com>
14596
14597 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14598 Use dlfcn directly instead of a variable.
14599 (binfmt-subdir): Do not define.
14600 (dlfcn): Likewise.
14601
a9f1039f
JM
146022012-08-01 Joseph Myers <joseph@codesourcery.com>
14603
23bddc06
JM
14604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14605 Remove all definitions.
14606 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14607 <kernel-features.h>.
14608 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14609 (miss_F_GETOWN_EX): Remove all definitions.
14610 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14611 macro definition.
14612 [!__ASSUME_FCNTL64]: Remove conditional code.
14613 [__ASSUME_FCNTL64]: Make code unconditional.
14614 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14615 <kernel-features.h>.
14616 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14617 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14618 (lockf64) [__NR_fcntl64]: Make code unconditional.
14619 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14620
a9f1039f
JM
14621 * sysdeps/unix/sysv/linux/kernel-features.h
14622 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14623 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14624 Make code unconditional.
14625 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14626 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14628 [__NR_vfork]: Make code unconditional.
14629 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14630 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14632 [__NR_vfork]: Make code unconditional.
14633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14635
09c0ee5f
RM
146362012-08-01 Roland McGrath <roland@hack.frob.com>
14637
48aec5b9
RM
14638 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14639 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14640
cd97c966
RM
14641 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14642 Define mkstemp64 as an alias.
3f55550c
RM
14643 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14644 Define mkstemps64 as an alias.
cd97c966
RM
14645 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14646 Define mkostemp64 as an alias.
b8625cfc
RM
14647 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14648 Define mkostemps64 as an alias.
cd97c966
RM
14649 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14650 Conditionalize body on this.
14651 * misc/mkostemp64.c: Likewise.
b8625cfc 14652 * misc/mkostemps64.c: Likewise.
3f55550c 14653 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14654 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14655 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14656 * sysdeps/wordsize-64/mkostemp.c: File removed.
14657 * sysdeps/wordsize-64/mkstemp.c: File removed.
14658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14659 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14660 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14661 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14662
09c0ee5f
RM
14663 [BZ #14138]
14664 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14665 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14666 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14667 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14668
14669 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14670 compat_symbol macros from <shlib-compat.h> rather than the underlying
14671 default_symbol_version and symbol_version macros, so that DEFAULT
14672 lines in shlib-versions are respected.
14673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14674
7e66ee51
FW
146752012-08-01 Florian Weimer <fweimer@redhat.com>
14676
14677 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14678 Declare with warn_unused_result.
14679 (setgid, setregid, setegid, setresgid): Likewise.
14680 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14681 Likewise.
14682 * WUR-REPORT: Remove set*id functions.
14683
d2a54255
PT
146842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14685
14686 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14687
7ecdb005
RM
146882012-07-31 Roland McGrath <roland@hack.frob.com>
14689
b4180a5e 14690 [BZ #10191]
789bd351
RM
14691 * include/sys/socket.h (__libc_accept, __libc_accept4):
14692 Add attribute_hidden.
14693 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14694
40ce302d
RM
14695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14696 use of PTR_MANGLE.
14697 * inet/getnetgrent_r.c (setup): Likewise.
14698
7ecdb005
RM
14699 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14700
e2eabb2c
DM
147012012-07-31 David S. Miller <davem@davemloft.net>
14702
14703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14704
d0419dbf
JM
147052012-07-31 Joseph Myers <joseph@codesourcery.com>
14706
14707 [BZ #13629]
14708 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14709 value between 1.0 and 2.0 and smaller part has absolute value less
14710 than 1.0.
14711 * math/s_clog10.c (__clog10): Likewise.
14712 * math/s_clog10f.c (__clog10f): Likewise.
14713 * math/s_clog10l.c (__clog10l): Likewise.
14714 * math/s_clogf.c (__clogf): Likewise.
14715 * math/s_clogl.c (__clogl): Likewise.
14716 * math/libm-test.inc (clog_test): Add more tests.
14717 (clog10_test): Likewise.
14718 * sysdeps/i386/fpu/libm-test-ulps: Update.
14719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14720
2bc13872
FW
147212012-07-31 Florian Weimer <fweimer@redhat.com>
14722
14723 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14724 Exit with zero in case no suitable GID is found, and write a
14725 message to standard error.
14726
bea9b193
RM
147272012-07-30 Roland McGrath <roland@hack.frob.com>
14728
14729 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14730 rather than to 1.
14731 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14732 (MAXPATHLEN): Removed.
14733 (NOGROUP, NODEV): New macros.
14734 (setbit, clrbit, isset, isclr): New macros.
14735 (howmany, roundup, powerof2): New macros.
14736 (DEV_BSIZE): New macro.
14737
14738 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14739 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14740
14741 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14742 definition on [!__NO_LONG_DOUBLE_MATH].
14743
14744 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14745 PTR_MANGLE and PTR_DEMANGLE.
14746
14747 * socket/accept4.c (accept4): Rename to __libc_accept4.
14748 Define accept4 as a weak alias.
14749
14750 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14751 on [_DIRENT_HAVE_D_TYPE].
14752 * io/ftw.c (ftw_dir): Likewise.
14753
14754 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14755
14756 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14757
14758 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14759 Use the BSD numbers rather than the arbitrary ones we had.
14760 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14761 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14762 (SIGXCPU, SIGXFSZ): New macros.
14763 (_NSIG): Now 32.
14764
14765 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14766 initializer on [_LIBC_REENTRANT].
14767
14768 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14769 definitions inside [_POSIX_MAPPED_FILES].
14770
14771 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14772
14773 * dirent/opendir.c: Include <fcntl.h>.
14774
14775 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14776 (__libc_getspecific): Likewise.
14777 (__libc_key_create): Likewise.
14778
14779 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14780 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14781 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14782 (tmpfile64): Define as alias.
14783 * sysdeps/wordsize-64/tmpfile.c: File removed.
14784 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14787
14788 * stdio-common/vfscanf.c: Include <stdbool.h>.
14789 * nss/makedb.c: Likewise.
14790 * stdio-common/_i18n_number.h: Likewise.
14791 * argp/argp-help.c: Likewise.
14792 * posix/wordexp.c: Likewise.
14793 * sysdeps/posix/spawni.c: Likewise.
14794 * nss/nss_files/files-initgroups.c: Likewise.
14795 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14796 * nss/nss_files/files-initgroups.c: Likewise.
14797 * nss/nss_db/db-netgrp.c: Likewise.
14798 * nss/nss_db/db-initgroups.c: Likewise.
14799 * io/fchmodat.c: Include <sys/stat.h>.
14800
14801 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14802 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14803
14804 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14805 [HAVE_MMAP].
14806
14807 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14808 Add multiple inclusion protection.
14809
e5abc686
DM
148102012-07-27 David S. Miller <davem@davemloft.net>
14811
14812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14813
815e6fa3
GB
148142012-07-27 Gary Benson <gbenson@redhat.com>
14815
14816 [BZ #14298]
14817 * elf/rtld.c: Include <stap-probe.h>.
14818 (dl_main): Added static probes "init_start" and "init_complete".
14819 * elf/dl-load.c: Include <stap-probe.h>.
14820 (lose): Take new parameter "nsid".
14821 Added static probe "map_failed".
14822 (_dl_map_object_from_fd): Pass namespace id to lose.
14823 Added static probe "map_start".
14824 (open_verify): Pass namespace id to lose.
14825 * elf/dl-open.c: Include <stap-probe.h>.
14826 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14827 and "reloc_complete".
14828 * elf/dl-close.c: Include <stap-probe.h>.
14829 (_dl_close_worker): Added static probes "unmap_start" and
14830 "unmap_complete".
14831 * elf/rtld-debugger-interface.txt: New file documenting the above.
14832
9f98c16c
RM
148332012-07-26 Roland McGrath <roland@hack.frob.com>
14834
14835 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14836 rather than a string variable.
14837 * sunrpc/rpc_main.c (h_output): Likewise.
14838 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14839
f3c22df3
PT
148402012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14841
14842 * inet/check_native.c: New file.
14843
3129cfc6
JM
148442012-07-26 Joseph Myers <joseph@codesourcery.com>
14845
da865e95
JM
14846 [BZ #13629]
14847 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14848 if larger part has absolute value 1.0.
14849 * math/s_clog10.c (__clog10): Likewise.
14850 * math/s_clog10f.c (__clog10f): Likewise.
14851 * math/s_clog10l.c (__clog10l): Likewise.
14852 * math/s_clogf.c (__clogf): Likewise.
14853 * math/s_clogl.c (__clogl): Likewise.
14854 * math/libm-test.inc (clog_test): Add more tests.
14855 (clog10_test): Likewise.
14856 * sysdeps/i386/fpu/libm-test-ulps: Update.
14857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14858
3129cfc6
JM
14859 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14860 (pltexit): Likewise.
14861 (La_regs): Likewise.
14862 (La_retval): Likewise.
14863 (int_retval): Likewise.
14864 Update #error for removed macros to refer only to definitions in
14865 tst-audit.h.
14866 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14867 macro.
14868 (pltexit): Likewise.
14869 (La_regs): Likewise.
14870 (La_retval): Likewise.
14871 (int_retval): Likewise.
14872 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14873 macro.
14874 (pltexit): Likewise.
14875 (La_regs): Likewise.
14876 (La_retval): Likewise.
14877 (int_retval): Likewise.
14878 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14879 macro.
14880 (pltexit): Likewise.
14881 (La_regs): Likewise.
14882 (La_retval): Likewise.
14883 (int_retval): Likewise.
14884 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14885 macro.
14886 (pltexit): Likewise.
14887 (La_regs): Likewise.
14888 (La_retval): Likewise.
14889 (int_retval): Likewise.
14890 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14891 macro.
14892 (pltexit): Likewise.
14893 (La_regs): Likewise.
14894 (La_retval): Likewise.
14895 (int_retval): Likewise.
14896 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14897 macro.
14898 (pltexit): Likewise.
14899 (La_regs): Likewise.
14900 (La_retval): Likewise.
14901 (int_retval): Likewise.
14902 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14903 macro definitions in tst-audit.h.
14904 * sysdeps/i386/tst-audit.h: New file.
14905 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14906 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14907 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14908 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14909 * sysdeps/sh/tst-audit.h: Likewise.
14910 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14911 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14912 * sysdeps/x86_64/tst-audit.h: Likewise.
14913
bfc07087
AJ
149142012-07-26 Andreas Jaeger <aj@suse.de>
14915
b1b2aaf8
AJ
14916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14917 ptrace.
14918
14919 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14920 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14921 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14922 PTRACE_O_MASK.
14923 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14924 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14925 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14926
bfc07087
AJ
14927 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14928 value.
14929
14930 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14931 _sigsys.
14932 (si_call_addr, si_syscall, si_arch): Define new macro.
14933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14934 _sigsys.
14935 (si_call_addr, si_syscall, si_arch): Define new marcro.
14936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14937 _sigsys.
14938 (si_call_addr, si_syscall, si_arch): Define new macro.
14939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14940 _sigsys.
14941 (si_call_addr, si_syscall, si_arch): Define new macro.
14942
89b4b02f
JM
149432012-07-25 Joseph Myers <joseph@codesourcery.com>
14944
14945 [BZ #13717]
14946 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14947 Change to 2.4.21 where previously 2.4.1.
14948 * sysdeps/unix/sysv/linux/configure: Regenerated.
14949 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14950 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14951 Linux kernel version.
14952 (__ASSUME_STD_AUXV): Remove.
14953 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14954 kernel version.
14955 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14956 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14957 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14958 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14959 (__ASSUME_NETLINK_SUPPORT): Likewise.
14960 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14961 (__no_netlink_support): Remove conditional definition.
14962 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14963 Remove.
14964 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14965 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14966 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14967 (if_nameindex_ioctl): Remove.
14968 (if_nameindex_netlink): Do not handle __no_netlink_support.
14969 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14970 code.
14971 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14972 Remove conditional code.
14973 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14974 code.
14975 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14976 unconditional.
14977 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14978 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14979 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14980 Remove.
14981 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14982 [!__ASSUME_STD_AUXV]: Remove conditional code.
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14984 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14985 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14987 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14988 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14989 code.
14990 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14992 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14993 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14994 conditional code.
14995 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14997 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14998 code.
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15000 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15001 conditional code.
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15003 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15004 code unconditional.
15005 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15006 conditional code.
15007 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15008 unconditional.
15009 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15010 conditional code.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15012 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15013 unconditional.
15014 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15015 conditional code.
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15017 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15018 code unconditional.
15019 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15020 conditional code.
15021 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15022 unconditional.
15023 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15024 conditional code.
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15026 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15027 code unconditional.
15028 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15029 conditional code.
15030 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15031 unconditional.
15032 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15033 conditional code.
15034
842a39cd
AS
150352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15036
15037 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15038 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15039 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15040 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15041 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15042 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15043 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15044 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15045 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15046 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15047 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15048 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15049 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15050 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15051 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15054 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15055 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15057 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15058 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15059 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15060
84b3fd84
FW
150612012-07-25 Florian Weimer <fweimer@redhat.com>
15062
15063 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15064 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15065 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15066 Introduce __libc_secure_getenv.
0c7936d5
FW
15067 * stdlib/Versions (2.17): Add secure_getenv
15068 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15069 * stdlib/secure-getenv.c: Rename __secure_getenv to
15070 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15071 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15072 * stdlib/tst-secure-getenv.c: New.
15073 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15074 * manual/startup.texi (Environment Access): Document
15075 secure_getenv.
84b3fd84
FW
15076 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15077 __libc_secure_getenv.
15078 * inet/ruserpass.c (ruserpass): Likewise.
15079 * malloc/mtrace.c (mtrace): Likewise.
15080 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15081 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15082 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15083 * sysdeps/posix/tempname.c: Likewise. Evaluate
15084 HAVE_SECURE_GETENV.
15085 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15086 __secure_getenv to __libc_secure_getenv.
84b3fd84 15087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15089 Likewise.
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15091 Likewise.
15092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15099
56e49b71
JM
151002012-07-25 Joseph Myers <joseph@codesourcery.com>
15101
15102 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15103 (struct La_i86_retval): Likewise.
15104 (struct La_x86_64_regs): Likewise.
15105 (struct La_x86_64_retval): Likewise.
15106 (struct La_x32_regs): Likewise.
15107 (struct La_x32_retval): Likewise.
15108 (struct La_ppc32_regs): Likewise.
15109 (struct La_ppc32_retval): Likewise.
15110 (struct La_ppc64_regs): Likewise.
15111 (struct La_ppc64_retval): Likewise.
15112 (struct La_sh_regs): Likewise.
15113 (struct La_sh_retval): Likewise.
15114 (struct La_s390_32_regs): Likewise.
15115 (struct La_s390_32_retval): Likewise.
15116 (struct La_s390_64_regs): Likewise.
15117 (struct La_s390_64_retval): Likewise.
15118 (struct La_sparc32_regs): Likewise.
15119 (struct La_sparc32_retval): Likewise.
15120 (struct La_sparc64_regs): Likewise.
15121 (struct La_sparc64_retval): Likewise.
15122 (struct audit_ifaces): Remove architecture-specific pltenter and
15123 pltexit members.
15124 * sysdeps/i386/ldsodefs.h: New file.
15125 * sysdeps/powerpc/ldsodefs.h: Likewise.
15126 * sysdeps/s390/ldsodefs.h: Likewise.
15127 * sysdeps/sh/ldsodefs.h: Likewise.
15128 * sysdeps/sparc/ldsodefs.h: Likewise.
15129 * sysdeps/x86_64/ldsodefs.h: Likewise.
15130
354691b7
MP
151312012-07-25 Marek Polacek <polacek@redhat.com>
15132
15133 [BZ #6808]
15134 * math/libm-test.inc (yn_test): Add another test.
15135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15136 to ERANGE when the result is +-Inf.
15137 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15138 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15139 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15141
bf9e2071
JM
151422012-07-24 Joseph Myers <joseph@codesourcery.com>
15143
15144 * conform/data/time.h-data (NULL): Use macro-constant. Require
15145 equal to 0.
15146 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15147 clock_t.
15148 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15149
57633811
TS
151502012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15151
15152 * configure.in <sysdeps resolving>: Correct printing
15153 Implies_before.
15154 * configure: Regenerate.
15155
c23c33b0
TS
151562012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15157
15158 * math/w_ilogb.c: Include <limits.h>.
15159 * math/w_ilogbl.c: Likewise.
15160
b5982523
JM
151612012-07-20 Joseph Myers <joseph@codesourcery.com>
15162
15163 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15164 va_copy. Document allowing for unavailable va_copy only as
15165 pre-C99 compatibility.
15166 * manual/string.texi (Copying and Concatenation): Use va_copy
15167 instead of __va_copy in concat example.
15168
ac4ea442
PT
151692012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15170
15171 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15172 (__sendto): Use create_address_port. Initialize APORT and deallocate
15173 it if not null.
15174
f98eafbd
PT
15175 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15176 with O_NOLINK passed to __file_name_lookup.
15177
898c7aab
PT
15178 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15179 with O_NOLINK passed to __file_name_lookup.
15180
0ced335a
PT
15181 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15182 negative N or less than NGIDS.
15183
b3404dbd
PT
15184 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15185 type to string_t. Set ERANGE as errno and return it if NAME is not big
15186 enough. Use memcpy instead of strncpy.
15187
0f48659e
JM
151882012-07-20 Joseph Myers <joseph@codesourcery.com>
15189
15190 * elf/Makefile (check-data): Remove.
15191 (localplt.data): New vpath directive.
15192 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15193 instead of $(check-data).
15194 * scripts/data/localplt-generic.data: Move to ...
15195 * sysdeps/generic/localplt.data: ... here.
15196 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15197 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15198 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15200 ... here.
15201 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15203 ... here.
15204 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15206 ... here.
15207 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15209 ... here.
15210 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15212 ... here.
15213 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15215 ... here.
15216
d37cbdaa
AZ
152172012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15218
15219 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15220 PPC32 and PPC64 files.
15221 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15222 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15223
46f85fc2
AK
152242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15225
15226 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15227 __makecontext_ret to ...
15228 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15229 ... here and call exit if uc_link is NULL. New file.
15230 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15231 __makecontext_ret.S.
15232 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15233 __makecontext_ret to ...
15234 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15235 ... here and call exit if uc_link is NULL. New file.
15236 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15237 __makecontext_ret.S.
15238
08f43f9b
AK
152392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15240
15241 * elf/elf.h (R_390_IRELATIVE): New definition.
15242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15243 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15244 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15246 (elf_machine_lazy_rel): Likewise.
15247 * sysdeps/s390/dl-irel.h: New file.
15248 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15249 * sysdeps/s390/s390-64/memset.S: New asm code.
15250 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15251 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15252 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15253 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15254 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15255 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15256 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15257 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15258 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15259 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15260 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15261 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15262 * sysdeps/s390/s390-32/memset.S: New asm code.
15263 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15264
3b05db33
MP
152652012-07-17 Marek Polacek <polacek@redhat.com>
15266
15267 [BZ #14349]
15268 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15269 * sysdeps/s390/s390-64/configure.in: Likewise.
15270 * sysdeps/sparc/configure.in: Likewise.
15271 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15272 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15273 * sysdeps/i386/configure.in: Likewise.
15274 * sysdeps/x86_64/configure.in: Likewise.
15275 * sysdeps/sh/configure.in: Likewise.
15276 * sysdeps/s390/s390-32/configure: Regenerated.
15277 * sysdeps/s390/s390-64/configure: Likewise.
15278 * sysdeps/x86_64/configure: Likewise.
15279 * sysdeps/sh/configure: Likewise.
15280 * sysdeps/powerpc/powerpc64/configure: Likewise.
15281 * sysdeps/powerpc/powerpc32/configure: Likewise.
15282 * sysdeps/sparc/configure: Likwise.
15283 * sysdeps/i386/configure: Likewise.
15284
a66877c6
MP
15285 * elf/dl-open.c: Comment fixes.
15286
cfc82fd8
JM
152872012-07-17 Joseph Myers <joseph@codesourcery.com>
15288
bd29910a
JM
15289 * Makefile [CXX] (check-data): Remove.
15290 [CXX] (c++-types.data): New vpath directive.
15291 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15292 vpath. Do not allow for C++ type data being missing.
15293 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15294 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15295 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15296 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15297 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15298 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15299 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15301 ... here.
15302 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15304 ... here.
15305 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15307 ... here.
15308 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15310 ... here.
15311 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15313 ... here.
15314 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15316 ... here.
15317 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15319 ... here.
15320 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15322
cfc82fd8
JM
15323 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15324 definitions to architecture-specific files.
15325 (TLS_IE): Likewise.
15326 (TLS_LD): Likewise.
15327 (TLS_GD): Likewise.
15328 * sysdeps/i386/tls-macros.h: New file.
15329 * sysdeps/powerpc/tls-macros.h: Likewise.
15330 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15331 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15332 * sysdeps/sh/tls-macros.h: Likewise.
15333 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15334 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15335 * sysdeps/x86_64/tls-macros.h: Likewise.
15336
f7db3170
TS
153372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15338
07cbfc23
TS
15339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15340 zero value for regular exit case.
15341
f7db3170
TS
15342 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15343 (__start_context): Preserve zero value for regular exit case.
15344
dc97c227
TS
153452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15346 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15347
15348 * manual/setjmp.texi (setcontext): Clarify normal process
15349 termination when uc_link is the null pointer.
15350 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15351 exit call.
15352
d0cd7d02
AS
153532012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15354
15355 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15356 preprocessor. Test for each exception mask separately.
15357
dd318934
AJ
153582012-07-16 Andreas Jaeger <aj@suse.de>
15359
15360 * po/ru.po: Update from translation team.
15361
8048311a
JM
153622012-07-15 Joseph Myers <joseph@codesourcery.com>
15363
15364 * conform/data/string.h-data (NULL): Use macro-constant. Require
15365 equal to 0.
15366 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15367 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15368 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15369 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15371
b637d46e
AJ
153722012-07-13 Andreas Jaeger <aj@suse.de>
15373
15374 * po/fr.po: Update from translation team.
15375
541428fe
MP
153762012-07-12 Marek Polacek <polacek@redhat.com>
15377
15378 [BZ #14173]
15379 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15381 loop condition.
15382
ec332e94
JM
153832012-07-12 Joseph Myers <joseph@codesourcery.com>
15384
15385 [BZ #13717]
15386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15387 Change to 2.4.1 where previously 2.4.0.
15388 * sysdeps/unix/sysv/linux/configure: Regenerated.
15389 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15390 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15391 version.
15392 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15393 (__ASSUME_AT_CLKTCK): Remove.
15394 (__ASSUME_AT_PAGESIZE): Likewise.
15395 (__ASSUME_AT_XID): Likewise.
15396 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15397 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15398 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15399 unconditionally.
15400 (HAVE_AUX_PAGESIZE): Likewise.
15401 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15402 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15403 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15404
7b6e99be
JB
154052012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15406
15407 [BZ #14307]
15408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15409 the temporary buffer used to invoke __gethostbyname2_r,
15410 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15411 host_data / struct gaih_addrtuple.
15412 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15413 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15414 header file nss/nsswitch.h.
15415 * nss/nsswitch.h (global scope): Add definition of implementation
15416 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15417 resolv/nss_dns/dns-host.c).
15418
608404eb
AJ
154192012-07-11 Andreas Jaeger <aj@suse.de>
15420
15421 * po/fr.po: Update from translation team.
15422
71220aca
AJ
15423 * po/sv.po: Update from translation team
15424 * po/fr.po: Another update from translation team.
15425
28cfe843
AZ
154262012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15427
15428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15429 for subnormals or multiply small sinh result by itself.
15430 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15432
6b90f981
DM
154332012-07-11 David S. Miller <davem@davemloft.net>
15434
15435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15436
c6825772
AS
154372012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15438
15439 [BZ #14347]
15440 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15441 (INTERNAL_MARK): Shift it here.
15442
7b8e0d49
MP
154432012-07-10 Marek Polacek <polacek@redhat.com>
15444
15445 [BZ #14151]
15446 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15447 libc_cv_asm_global_directive with .globl.
15448 * configure: Regenerated.
15449 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15450 with .globl.
15451 * sysdeps/i386/configure: Regenerated.
15452 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15453 with .globl.
15454 * sysdeps/x86_64/configure: Regenerated.
15455 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15456 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15457 * elf/tst-unique2mod2.c: Likewise.
15458 * elf/tst-unique2mod1.c: Likewise.
15459 * elf/tst-unique1mod2.c: Likewise.
15460 * elf/tst-unique1mod1.c: Likewise.
15461 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15462 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15464 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15465 * sysdeps/mach/sysdep.h: Likewise.
15466 * sysdeps/i386/sysdep.h: Likewise.
15467 * sysdeps/i386/i386-mcount.S: Likewise.
15468 * sysdeps/x86_64/_mcount.S: Likewise.
15469 * sysdeps/x86_64/sysdep.h: Likewise.
15470 * sysdeps/sh/_mcount.S: Likewise.
15471 * sysdeps/sh/sysdep.h: Likewise.
15472 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15476 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15477 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15479 * locale/localeinfo.h: Likewise.
15480 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15481 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15482
6c55cda3
RM
154832012-07-09 Roland McGrath <roland@hack.frob.com>
15484
15485 [BZ #14336]
15486 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15487 system".
15488 * manual/message.texi (The Uniforum approach): Likewise.
15489 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15490 (glibc iconv Implementation): Likewise.
15491
638a572e
JM
154922012-07-09 Joseph Myers <joseph@codesourcery.com>
15493
15494 [BZ #14337]
15495 * math/s_clog.c (__clog): Avoid scaling a value down where that
15496 could result in underflow.
15497 * math/s_clog10.c (__clog10): Likewise.
15498 * math/s_clog10f.c (__clog10f): Likewise.
15499 * math/s_clog10l.c (__clog10l): Likewise.
15500 * math/s_clogf.c (__clogf): Likewise.
15501 * math/s_clogl.c (__clogl): Likewise.
15502 * math/libm-test.inc (clog_test): Add more tests.
15503 (clog10_test): Likewise.
15504 * sysdeps/i386/fpu/libm-test-ulps: Update.
15505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15506
261f4859
AS
155072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15508
0abaf3e4
AS
15509 [BZ #14283]
15510 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15511 by 7 not 8 to examine high bit of fractional part.
15512
261f4859
AS
15513 [BZ #14042]
15514 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15515 for call to __mcount_internal.
15516 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15517 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15518 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15519
f17ac40d
JM
155202012-07-06 Joseph Myers <joseph@codesourcery.com>
15521
9ad63c23
JM
15522 [BZ #14154]
15523 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15524 approximation for values within 0x1p-13f of an odd multiple of
15525 pi/4.
15526 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15527 exception. Add more tests.
15528 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529
f17ac40d
JM
15530 [BZ #6778]
15531 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15532 inputs and return -1 for them. Do not check for +Inf in case not
15533 reachable for +Inf.
15534 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15535 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15537 and return -1 for them. Do not check for +Inf in case not
15538 reachable for +Inf.
15539 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15540 define.
15541 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15542 and return -1 for them. Do not check for +Inf in case not
15543 reachable for +Inf.
15544 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15545 spurious underflow.
15546 * sysdeps/i386/fpu/libm-test-ulps: Update.
15547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15548
fb21f89b
MF
155492012-07-06 Mike Frysinger <vapier@gentoo.org>
15550
15551 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15552
cdfe2c5e
JM
155532012-07-05 Joseph Myers <joseph@codesourcery.com>
15554
15555 [BZ #14157]
15556 [BZ #14331]
15557 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15558 could result in spurious underflow. Scale down values above
15559 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15560 * math/s_csqrtf.c (__csqrtf): Likewise.
15561 * math/s_csqrtl.c (__csqrtl): Likewise.
15562 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15563 spurious underflow.
15564 * sysdeps/i386/fpu/libm-test-ulps: Update.
15565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15566
70d35b67
AS
155672012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15568
704bc459
AS
15569 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15570 xopen-msg.sed.
15571 * catgets/xopen-msg.awk: New file.
15572 * catgets/xopen-msg.sed: Removed.
15573
70d35b67
AS
15574 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15575 po2text.sed.
15576 * intl/po2test.awk: New file.
15577 * intl/po2test.sed: Removed.
15578
ca61cf32
JM
155792012-07-04 Joseph Myers <joseph@codesourcery.com>
15580
15581 [BZ #14328]
15582 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15583 or multiply small sinh result by itself.
15584 * math/s_ctanf.c (__ctanf): Likewise.
15585 * math/s_ctanh.c (__ctanh): Likewise.
15586 * math/s_ctanhf.c (__ctanhf): Likewise.
15587 * math/s_ctanhl.c (__ctanhl): Likewise.
15588 * math/s_ctanl.c (__ctanl): Likewise.
15589 * math/libm-test.inc (ctan_test_tonearest): New function.
15590 (ctan_test_towardzero): Likewise.
15591 (ctan_test_downward): Likewise.
15592 (ctan_test_upward): Likewise.
15593 (ctanh_test_tonearest): Likewise.
15594 (ctanh_test_towardzero): Likewise.
15595 (ctanh_test_downward): Likewise.
15596 (ctanh_test_upward): Likewise.
15597 (main): Call these new functions.
15598 * sysdeps/i386/fpu/libm-test-ulps: Update.
15599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15600
ca48a46a
MF
156012012-07-03 Mike Frysinger <vapier@gentoo.org>
15602
15603 * .gitignore: Delete /ports entry.
15604
9d63d37d
AJ
156052012-07-03 Andreas Jaeger <aj@suse.de>
15606
15607 * po/bg.po: Update from translation team.
15608 * po/cs.po: Likewise.
15609 * po/de.po: Likewise.
15610 * po/hr.po: Likewise.
15611 * po/nl.pl: Likewise.
15612 * po/pl.po: Likewise.
15613 * po/vi.po: Likewise.
15614
370ca3d2
JM
156152012-07-03 Joseph Myers <joseph@codesourcery.com>
15616
95f5a9a8
JM
15617 * Makeconfig [!+link] (+link-before-libc): New variable.
15618 [!+link] (+link-after-libc): Likewise.
15619 [!+link] (+link-tests): Likewise.
15620 [!+link] (+link): Define in terms of $(+link-before-libc) and
15621 $(+link-after-libc).
15622 [!+link-static] (+link-static-before-libc): New variable.
15623 [!+link-static] (+link-static-after-libc): Likewise.
15624 [!+link-static] (+link-static-tests): Likewise.
15625 [!+link-static] (+link-static): Define in terms of
15626 $(+link-static-before-libc) and $(+link-static-after-libc).
15627 [build-shared] (link-libc-before-gnulib): New variable.
15628 [build-shared] (link-libc-tests): Likewise.
15629 [build-shared] (link-libc): Define in terms of
15630 $(link-libc-before-gnulib).
15631 [!build-shared] (link-libc-tests): New variable.
15632 (link-libc-static-tests): New variable.
15633 [!gnulib] (gnulib-arch): New variable.
15634 [!gnulib] (gnulib-tests): Likewise.
15635 [!gnulib] (static-gnulib-arch): Likewise.
15636 [!gnulib] (static-gnulib-tests): Likewise.
15637 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15638 Define with "=" instead of ":=".
15639 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15640 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15641 * Rules (binaries-all-notests): New variable.
15642 (binaries-all-tests): Likewise.
15643 (binaries-static-notests): Likewise.
15644 (binaries-static-tests): Likewise.
15645 (binaries-all): Define using $(binaries-all-notests) and
15646 $(binaries-all-tests).
15647 (binaries-static): Define using $(binaries-static-notests) and
15648 $(binaries-static-tests).
15649 (binaries-shared-tests): New variable.
15650 (binaries-shared-notests): Likewise.
15651 (binaries-shared): Remove variable.
15652 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15653 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15654 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15655 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15656 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15657 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15658 * elf/Makefile (sln-modules): New variable.
15659 (extra-objs): Add $(sln-modules:=.o).
15660 (ldconfig-modules): Add static-stubs.
15661 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15662 * elf/static-stubs.c: New file.
15663
7a845b2c
JM
15664 [BZ #14283]
15665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15666 by 7 not 8 to examine high bit of fractional part. Use volatile
15667 variables when splitting into final array of floats if
15668 __FLT_EVAL_METHOD__ != 0.
15669 * math/libm-test.inc (cos_test): Add another test.
15670 (sin_test): Likewise.
15671 * sysdeps/i386/fpu/libm-test-ulps: Update.
15672
e2283f38
JM
15673 [BZ #14273]
15674 * math/libm-test.inc (cosh_test): Add more tests.
15675
370ca3d2
JM
15676 * version.h (RELEASE): Set to "development".
15677 (VERSION): Set to "2.16.90".
15678
ee9247c3
CD
156792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15680
15681 * NEWS: Update copyright. Remove last-updated date.
15682 Mention math library bug fixes and timezone data changes.
15683 * README: Mention GNU/Hurd, x32, and HPPA support status.
15684
4648c381
TS
156852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15686
15687 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15688
aac78a43
AJ
156892012-06-27 Andreas Jaeger <aj@suse.de>
15690
15691 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15692
ed3dbfad
AJ
156932012-06-25 Andreas Jaeger <aj@suse.de>
15694
15695 * sysdeps/s390/fpu/libm-test-ulps: Update.
15696
4d0ee855
AS
156972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15698 Thomas Schwinge <thomas@codesourcery.com>
15699
15700 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15701 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15703 fanotify_mark.
15704
af1bce34
TS
157052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15706
a9fa33ba
TS
15707 * sysdeps/mach/start.c: Remove file.
15708 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15709 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15710 * sysdeps/sh/init-first.c: Likewise.
15711
58f902b8
TS
15712 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15713 registers for frame unwinding purposes, add CFI directives.
15714 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15715 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15716 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15717 Likewise.
15718
1518f58b
TS
15719 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15720 __fortify_fail returning.
15721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15722
db9b5059
TS
15723 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15724 sysdeps/sh/____longjmp_chk.S.
15725 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15726 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15727 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15728 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15729
967705fe
TS
15730 * sysdeps/sh/abort-instr.h: New file.
15731 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15732 process in case exit returns.
15733
a9def8c4
TS
15734 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15735 initialize the GOT register before use.
15736
2a649725
TS
15737 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15738 calculation of ARGC > 4.
15739
af1bce34
TS
15740 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15741 meaningful names to some local labels.
15742
d230f50a
KK
157432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15744 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15745
15746 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15747 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15748 (__arch_compare_and_exchange_val_16_acq): Likewise.
15749 (__arch_compare_and_exchange_val_32_acq): Likewise.
15750 (atomic_exchange_and_add): Fix gUSA sequence.
15751 (atomic_add): Likewise.
15752 (atomic_add_negative): Likewise.
15753 (atomic_add_zero): Likewise.
15754 (atomic_bit_test_set): Likewise.
15755
0479b305
AS
157562012-06-22 Andreas Schwab <schwab@redhat.com>
15757
15758 [BZ #13579]
15759 * include/link.h (struct link_map): Add l_free_initfini.
15760 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15761 l_initfini.
15762 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15763 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15764 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15765 set.
15766
0e3933b9
CD
157672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15768
15769 * configure.in: Use AC_LANG_SOURCE.
15770 * configure: Regenerate.
15771
4248b1b1
RM
157722012-06-22 Roland McGrath <roland@hack.frob.com>
15773
15774 * configure.in (libc_cv_localstatedir): New substituted variable.
15775 * configure: Regenerated.
15776 * config.make.in (localstatedir): New variable, substituted from
15777 libc_cv_localstatedir.
15778 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15779 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15780 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15781 * sysdeps/gnu/configure: Regenerated.
15782
006dd861
JL
157832012-06-21 Jeff Law <law@redhat.com>
15784
15785 [BZ #14277]
15786 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15787 free. Simplify list management for _LIBC case.
15788
79662d42
JM
157892012-06-21 Joseph Myers <joseph@codesourcery.com>
15790
b7abb4bf
JM
15791 [BZ #14273]
15792 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15793 Clear sign bit of 64-bit integer value before comparing against
15794 overflow value.
15795
79662d42
JM
15796 * sysdeps/mach/configure: Regenerated.
15797
1f150908
L
157982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15799
15800 [BZ #14278]
15801 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15802
28363bbf
JL
158032012-06-21 Jeff Law <law@redhat.com>
15804
15805 [BZ #13882]
15806 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15807 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15809 * elf/dl-open.c (dl_open_worker): Likewise.
15810
09615db4
CD
158112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15812
15813 * scripts/list-sources.sh: Scan PORTS for translations.
15814 * po/libc.pot: Regenerated.
15815
2174c6dd
AJ
158162012-06-21 Andreas Jaeger <aj@suse.de>
15817
15818 [BZ #12194]
15819 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15820 warning.
15821 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15822 * bits/byteswap-16.h (__bswap_16): Likewise.
15823 * bits/byteswap.h (__bswap_constant_16): Likewise.
15824
3ee947b1
L
158252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 [BZ #14117]
a2f34833
L
15828 * sysdeps/i386/fpu_control.h: Removed.
15829 * sysdeps/x86_64/fpu_control.h: Moved to ...
15830 * sysdeps/x86/fpu_control.h: Here.
15831
3ee947b1
L
15832 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15833 (_FPU_SETCW): Likewise.
15834
ed1825f8
L
158352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15836
25f1282a
L
15837 [BZ #14117]
15838 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15839 * sysdeps/x86/fpu/bits/mathinline.h: This.
15840 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15841
ed1825f8
L
15842 [BZ #14050]
15843 [BZ #14117]
15844 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15845 functions if __x86_64__ is defined.
15846
36d54b74
CLT
158472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15848
15849 * string/endian.h: Add !__ASSEMBLER__ condition for including
15850 conversion interfaces.
15851
10285c21
JM
158522012-06-15 Joseph Myers <joseph@codesourcery.com>
15853
15854 [BZ #14241]
15855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15856 of ABS(x) in calculating zero to negative powers other than odd
15857 integers.
15858 * math/libm-test.inc (pow_test): Add more tests.
15859
06c5abbd
AJ
158602012-06-15 Andreas Jaeger <aj@suse.de>
15861
15862 * manual/contrib.texi (Contributors): Update entry of Liubov
15863 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15864 Machado Filho.
15865
a3aeac40
CH
158662012-06-15 Cyril Hrubis <metan@ucw.cz>
15867
15868 * string/string.h: Add __wur to GNU version of strerror_r.
15869
49bdf4c1
L
158702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15871
15872 [BZ #14229]
15873 * string/Makefile (tests): Add tst-strtok_r.
15874 * string/tst-strtok_r.c: New file.
15875 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15876 RAX_LP/RDX_LP on SAVE_PTR.
15877
834f9b8d
RM
158782012-06-14 Roland McGrath <roland@hack.frob.com>
15879
15880 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15881
75fa1921
JM
158822012-06-14 Joseph Myers <joseph@codesourcery.com>
15883
15884 * libm_test.inc (csqrt_test): Allow more spurious underflow
15885 exceptions.
15886 (j0_test): Likewise.
15887 (j1_test): Likewise.
15888 (y0_test): Likewise.
15889 (y1_test): Likewise.
15890
771766df
CD
158912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15892
15893 * po/Makefile (libc.pot): Use UTF-8 charset.
15894
ceb9e56b
PP
158952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15896
15897 [BZ #14210]
15898 Suppress sign-conversion warning from FD_SET.
15899 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15900 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15901 not unsigned long int.
15902 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15903
ddb28975
L
159042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15905
15906 [BZ #14050]
15907 [BZ #14117]
15908 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15909 __extern_always_inline instead of __extern_inline.
15910 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15911 (__signbit): Likewise.
15912 (__signbitl): Support C++ namespace.
15913 (lrintf): New inline function.
15914 (lrint): Likewise.
15915 (llrintf): Likewise.
15916 (llrint): Likewise.
15917 (fmaxf): Likewise.
15918 (fmax): Likewise.
15919 (fminf): Likewise.
15920 (fmin): Likewise.
15921 (rint): Likewise.
15922 (rintf): Likewise.
15923 (ceil): Likewise.
15924 (ceilf): Likewise.
15925 (floor): Likewise.
15926 (floorf): Likewise.
15927 (nearbyint): Likewise.
15928 (nearbyintf): Likewise.
15929
d7b4fb26
TS
159302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15931
15932 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15933 non-default versions.
15934
eb55f5c2
RM
159352012-06-11 Roland McGrath <roland@hack.frob.com>
15936
15937 [BZ #14218]
15938 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15939
366af02c
TS
159402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15941
99ff6e5c
TS
15942 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15943 (FE_UPWARD, FE_DOWNWARD): Don't define.
15944 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15946
366af02c
TS
15947 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15948 reading it.
15949 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15950 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15951
793ea851
KK
159522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15953
15954 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15956 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15957 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15958
a728a38f
L
159592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15960
15961 [BZ #14117]
c08010c7
L
15962 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15963 * sysdeps/i386/fpu/Implies: New file.
15964 * sysdeps/x86_64/fpu/Implies: Likewise.
15965 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15966 * sysdeps/x86/fpu/bits/fenv.h: This.
15967
a728a38f
L
15968 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15969 __SSE_MATH__.
15970
6e230d11
SP
159712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15972
15973 [BZ #14134]
15974 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15975 character 0xffff that matches the last element of the
15976 conversion table.
15977
1b671feb
AZ
159782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15979
15980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15981 fmodl commit.
15982
6043738b
AZ
159832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15984
15985 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15986 values higher than 25.6283.
15987
34ae0b32
AZ
159882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15989
15990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15991 subnormal exponent extraction and add some __builtin_expect.
15992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15993 Fix for subnormal mantissa calculation.
15994
1214ec8f
MF
159952012-06-04 Mike Frysinger <vapier@gentoo.org>
15996
15997 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15998 cpu2 is -1 and errno is not ENOSYS.
15999
f3d1f93c
L
160002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 [BZ #14117]
0e4a3cd7
L
16003 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16004 * sysdeps/x86/bits/string.h: This.
16005 * sysdeps/x86_64/bits/string.h: Removed.
16006
6704c645
L
16007 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16008 if not compiling for x86-64, but compiling for >= i486.
16009
48495318
L
16010 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16011 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16012
14adcbfc
L
16013 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16014 New macro from Linux kernel 3.4.0.
16015 (FP_XSTATE_MAGIC2): Likewise.
16016 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16017 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16018 (struct _fpx_sw_bytes): New struct.
16019 (struct _xsave_hdr): Likewise.
16020 (struct _ymmh_state): Likewise.
16021 (struct _xstate): Likewise.
16022
68e408ab
L
16023 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16024 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16026 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16027 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16028 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16029
f3d1f93c
L
16030 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16032 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16033 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16034 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16035 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16036
d9dc34cd
TMQMF
160372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16038
16039 [BZ #13743]
16040 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16041 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16042 (sysdep_headers): Include sys/platform/ppc.h.
16043 * sysdeps/powerpc/test-gettimebase.c: Test for
16044 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16045 * manual/Makefile (appendices): Include platform.texi.
16046 * manual/contrib.texi (Contributors): Update @node pointers.
16047 * manual/maint.texi (Maintenance): Likewise.
16048 (Platform): New node.
16049 * manual/platform.texi: New file. Document the new features.
16050
4af3879c
SP
160512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16052 Jakub Jelinek <jakub@redhat.com>
16053
16054 [BZ #14188]
16055 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16056 where __builtin_expect is unavailable.
16057
2fd6ff13
DM
160582012-06-03 David S. Miller <davem@davemloft.net>
16059
16060 * stdlib/longlong.h: Updated from GCC.
16061
173f7220
AS
160622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16063
16064 [BZ #14042]
16065 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16066 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16067 __mcount_internal.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16069 (GLIBC_2.16): Likewise.
16070
f34a1c6f
L
160712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16072
16073 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16074
88a4576f
JM
160752012-06-01 Joseph Myers <joseph@codesourcery.com>
16076
ea32bcdd
JM
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16078 (default-abi): New variable.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16080 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16081 variable.
16082 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16083 Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16085 Likewise.
16086 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16087 Likewise.
16088
88a4576f
JM
16089 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16090 definition. Document in comment.
16091
402fe938
DM
160922012-06-01 David S. Miller <davem@davemloft.net>
16093
16094 * stdlib/longlong.h: Updated from GCC.
16095
3553723f
L
160962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16097
16098 [BZ #14117]
3bd872c4
L
16099 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16100 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16101 sys/debugreg.h sys/io.h here.
16102 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16103 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16104 sys/io.h.
16105 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16106 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16107 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16108 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16109 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16110 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16111
3553723f
L
16112 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16113 Define only if __x86_64__ is defined.
16114
4842e4fe
JM
161152012-06-01 Joseph Myers <joseph@codesourcery.com>
16116
c5bfe3d5
JM
16117 [BZ #14048]
16118 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16119 Use int64_t for variable i.
16120 * math/libm-test.inc (fmod_test): Add more tests.
16121
4842e4fe
JM
16122 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16123 z computation is not scheduled after fetestexcept.
16124 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16125 Use math_force_eval instead of asm to ensure calculation scheduled
16126 before exception test.
16127 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16128 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16129
efb73488
AJ
161302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16131
16132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16133 computation is not scheduled after fetestexcept.
16134
29bcce7c
L
161352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16136
16137 [BZ #14117]
16138 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16139 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16140
73a68f94
AZ
161412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16142
16143 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16144 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16145
67b6df78
L
161462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16147
edf2933a 16148 [BZ #14117]
ebc64a18
L
16149 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16150 <bits/wordsize.h>.
16151 (__WCHAR_MIN): Support __WORDSIZE == 64.
16152 (__WCHAR_MAX): Likewise.
16153
edf2933a
L
16154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16155 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16156
57c6cf40
L
16157 [BZ #14183]
16158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16159 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16160
67b6df78 16161 [BZ #14117]
8eb6281e
L
16162 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16163 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16164
aac639f4
L
16165 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16166 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16167
67b6df78
L
16168 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16169 Defined to 1 if __x86_64__ isn't defined.
16170 (_STAT_VER_LINUX_OLD): New.
16171 (st_atime): Remove duplicate.
16172 (st_mtime): Likewise.
16173 (st_ctime): Likewise.
16174
1c2cfe81
DM
161752012-05-31 David S. Miller <davem@davemloft.net>
16176
16177 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16178 entries.
16179
5be8418c
AS
161802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16181
e7725326
AS
16182 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16183 gen-libm-test.pl.
16184
5be8418c
AS
16185 [BZ #14132]
16186 * elf/dl-reloc.c: Include <_itoa.h>.
16187 (_dl_reloc_bad_type): Remove use of INTUSE.
16188 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16189 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16190 * stdio-common/psiginfo.c (psiginfo): Likewise.
16191 * stdio-common/psignal.c (psignal): Likewise.
16192 * string/strsignal.c (strsignal): Likewise.
16193 * include/signal.h (_sys_siglist): Declare hidden proto.
16194 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16195 INTVARDEF with libc_hidden_data_def.
16196 * stdio-common/itoa-udigits.c: Likewise.
16197 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16198 (_itoa_lower_digits_internal): Remove declaration.
16199 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16200 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16201 (_sys_sigabbrev_internal): Remove aliases.
16202 (_sys_siglist): Define hidden alias.
16203
507352f1
MT
162042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16205
16206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16207 bits/sysctl.h.
16208
42bbb1c3
L
162092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16210
16211 [BZ #14117]
6bd784b6
L
16212 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16213 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16214
8bca20f0
L
16215 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16216 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16217 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16218 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16220 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16221
f9e890a9
L
16222 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16224 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16225
471101a1
L
16226 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16227 with __addr.
16228 (insw): Likewise.
16229 (insl): Likewise.
16230 (outsb): Likewise.
16231 (outsw): Likewise.
16232 (outsl): Likewise.
16233
6451c862
L
16234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16236 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16237
a254b8c9
L
16238 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16239 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16240 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16241 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16242 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16243 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16244
b8dfdd92
L
16245 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16246 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16247
578cd270
L
16248 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16249 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16250
de662f5f
L
16251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16254
25653439
L
16255 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16256 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16257 to ...
16258 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16259
6bad24a0
L
16260 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16261 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16262 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16263
42bbb1c3
L
16264 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16265 for x86-64.
16266 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16267
2d10d547
JM
162682012-05-31 Joseph Myers <joseph@codesourcery.com>
16269
16270 * math/math.h (M_El): Use two more decimal places.
16271 (M_LOG2El): Likewise.
16272 (M_LOG10El): Likewise.
16273 (M_LN2l): Likewise.
16274 (M_LN10l): Likewise.
16275 (M_PIl): Likewise.
16276 (M_PI_2l): Likewise.
16277 (M_PI_4l): Likewise.
16278 (M_1_PIl): Likewise.
16279 (M_2_PIl): Likewise.
16280 (M_2_SQRTPIl): Likewise.
16281 (M_SQRT2l): Likewise.
16282 (M_SQRT1_2l): Likewise.
16283
f230c29b
DM
162842012-05-31 David S. Miller <davem@davemloft.net>
16285
16286 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16287 values between float registers.
16288 * sysdeps/sparc/sparc64/memset.S: Likewise.
16289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16290
fed806c3
MF
162912012-05-31 Mike Frysinger <vapier@gentoo.org>
16292
16293 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16294 -D_FORTIFY_SOURCE=1.
16295 (CPPFLAGS-tst-longjmp_chk.c): Define.
16296 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16297 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16298 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16299 CFLAGS-tst-wchar-h.c.
16300
30917259
MP
163012012-05-31 Marek Polacek <polacek@redhat.com>
16302
16303 [BZ #14132]
16304 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16305 __endmntent_internal): Remove declaration.
16306 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16307 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16308 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16309
1c58d5dc
DM
163102012-05-30 David S. Miller <davem@davemloft.net>
16311
16312 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16313 (___Q_simulate_exceptions): Use real FP ops rather than writing
16314 into the %fsr.
16315 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16316 Likewise.
16317
7dc00e0d
L
163182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 [BZ #14117]
0bd53985
L
16321 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16322 * sysdeps/x86/bits/xtitypes.h: This.
16323
3a257e66
L
16324 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16325 * sysdeps/x86/bits/wordsize.h: This.
16326
62f62904
L
16327 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16328 * sysdeps/x86/bits/huge_vall.h: This.
16329
404fe9d9
L
16330 * sysdeps/i386/bits/select.h: Removed.
16331 * sysdeps/x86_64/bits/select.h: Renamed to ...
16332 * sysdeps/x86/bits/select.h: This.
16333
d48d0446
L
16334 * sysdeps/i386/bits/setjmp.h: Removed.
16335 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16336 * sysdeps/x86/bits/setjmp.h: This.
16337
7dc00e0d
L
16338 * sysdeps/i386/bits/mathdef.h: Removed.
16339 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16340 * sysdeps/x86/bits/mathdef.h: This.
16341
03277f8f
AS
163422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16343
16344 [BZ #14132]
16345 * include/sys/socket.h (__connect_internal)
16346 (__libc_sa_len_internal): Remove declaration.
16347 (__connect, __libc_sa_len): Declare hidden_proto.
16348 (SA_LEN): Remove use of INTUSE.
16349 * socket/connect.c: Add libc_hidden_def.
16350 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16351 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16352 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16353 alias.
16354 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16355 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16356 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16357 of adding _internal alias.
16358
13764867
L
163592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16360
16361 [BZ #14117]
6bd97696
L
16362 * sysdeps/i386/bits/link.h: Removed.
16363 * sysdeps/i386/bits/linkmap.h: Likewise.
16364 * sysdeps/x86_64/bits/link.h: Renamed to ...
16365 * sysdeps/x86/bits/link.h: This.
16366 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16367 * sysdeps/x86/bits/linkmap.h: This.
16368
f726f0bb
L
16369 * sysdeps/i386/bits/endian.h: Removed.
16370 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16371 * sysdeps/x86/bits/endian.h: This.
16372
13764867
L
16373 * sysdeps/i386/bits/byteswap.h: Removed.
16374 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16375 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16376 * sysdeps/x86/bits/byteswap.h: This.
16377 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16378 * sysdeps/x86/bits/byteswap-16.h: This.
16379 * sysdeps/i386/Implies: Add x86.
16380 * sysdeps/x86_64/Implies: Likewise.
16381
ae251b0b
DM
163822012-05-30 David S. Miller <davem@davemloft.net>
16383
16384 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16385 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16386 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16387 (FP_TRAPPING_EXCEPTIONS): Define.
16388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16389 (FP_TRAPPING_EXCEPTIONS): Define.
16390 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16391 subnormals only when inexact has been signalled or underflow
16392 exceptions are enabled.
16393 (_FP_PACK_CANONICAL): Likewise.
16394
d5c90867
L
163952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16396
16397 [BZ #14183]
16398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16399 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16400
63f1549e
RH
164012012-05-30 Richard Henderson <rth@twiddle.net>
16402
8d8f2279
RH
16403 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16404 with #ifndef NOT_IN_libc.
16405
63f1549e
RH
16406 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16407 marked to avoid plt entry.
16408
0ab0291b
L
164092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16410
16411 [BZ #14112]
16412 * Makeconfig (default-abi): New macro.
16413 (abi-includes): Likewise.
16414 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16415 $(abi-$(default-abi)-lib-soname) for soname if defined.
16416 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16417 abi-variants.
16418 * Makefile (installed-stubs): Likewise.
16419 * include/stubs-biarch.h: Removed.
16420 * scripts/lib-names.awk: Only handle one library at a time.
16421 * scripts/soversions.awk: Remove WORDSIZE support.
16422 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16423 entries.
16424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16425 Removed.
16426 (syscall-list-default-condition): Likewise.
16427 (syscall-list-default-condition): Likewise.
16428 (syscall-list-includes): Likewise.
16429 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16430 syscall-list-* with abi-*. Handle undefined abi-variants.
16431 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16432 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16433 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16434 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16435 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16436 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16437 Removed.
16438 (syscall-list-32-options): Likewise.
16439 (syscall-list-32-condition): Likewise.
16440 (syscall-list-64-options): Likewise.
16441 (syscall-list-64-condition): Likewise.
16442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16443 macro.
16444 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16445 Renamed to ...
16446 (abi-*): This.
16447 (abi-64-ld-soname): New macro.
16448 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16449 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16450 Renamed to ...
16451 (abi-*): This.
16452 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16453 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16454
4da0431d
JM
164552012-05-30 Joseph Myers <joseph@codesourcery.com>
16456
3a85279c
JM
16457 * sysdeps/unix/sysv/linux/kernel-features.h
16458 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16459 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16460 include <kernel-features.h>.
16461 [!__NR_ftruncate64]: Remove conditional code.
16462 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16463 [__NR_ftruncate64]: Make code unconditional.
16464 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16465 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16466 include <kernel-features.h>.
16467 [!__NR_ftruncate64]: Remove conditional code.
16468 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16469 [__NR_ftruncate64]: Make code unconditional.
16470 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16472 include <kernel-features.h>.
16473 [!__NR_ftruncate64]: Remove conditional code.
16474 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16475 [__NR_ftruncate64]: Make code unconditional.
16476 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16478 include <kernel-features.h>.
16479 [!__NR_ftruncate64]: Remove conditional code.
16480 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16481 [__NR_ftruncate64]: Make code unconditional.
16482 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16483
4da0431d
JM
16484 * configure.in (libc_cv_fpie): Weaken to a compile test using
16485 LIBC_TRY_CC_OPTION.
16486 * configure: Regenerated.
16487
11ef492c
AK
164882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16489
16490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16494 Refreshed.
16495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16501 Refreshed.
16502
d66ef399
DM
165032012-05-27 David S. Miller <davem@davemloft.net>
16504
16505 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16506 (___Q_zero): New.
16507 (__Q_simulate_exceptions): Return void. Change to simulate
16508 exceptions by writing into the %fsr.
16509 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16510 (__Qp_handle_exceptions): Likewise.
16511 (numbers): Delete.
16512 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16513 __Qp_handle_exceptions.
16514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16515 __Qp_handle_exceptions.
16516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16517 as unused and give dummy FP_RND_NEAREST initializer.
16518 (FP_INHIBIT_RESULTS): Define.
16519 (___Q_simulate_exceptions): Update declaration.
16520 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16521 formatting.
16522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16523 as unused and give dummy FP_RND_NEAREST initializer.
16524 (__Qp_handle_exceptions): Update declaration.
16525 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16526 formatting.
16527
04fb54b5
TS
165282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16529
16530 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16531 the temporary FPU control word.
16532 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16533 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16534 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16535 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16536 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16537 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16538 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16539 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16540 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16541 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16542 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16543
3f99608f
KK
165442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16545
16546 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16547 fields.
16548
65a4de4e
CLT
165492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16550
16551 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16552 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16553 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16554 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16555 Likewise.
16556 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16557 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16558 Likewise.
16559
15749d40
UD
165602012-05-27 Ulrich Drepper <drepper@gmail.com>
16561
16562 * po/h.po: Update from translation team.
16563
25dbcb27
AS
165642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16565
3d3f8e55
AS
16566 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16567
25dbcb27
AS
16568 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16569 handling of denormals.
16570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16571 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16572 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16573 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16577 Likewise.
16578
7ad47a80 165792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16580
16581 [BZ #14152]
16582 * math/libm-test.inc (fma_test): Don't always expect underflow
16583 exception.
16584
9c6ea9fa
SP
165852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16586
16587 [BZ #12416]
16588 * elf/tst-execstack.c: Include stackinfo.h.
16589 (do_test): Adjust test case to ensure that pthread_getattr_np
16590 behaviour remains the same after marking stack executable.
16591
a8239222
JM
165922012-05-25 Joseph Myers <joseph@codesourcery.com>
16593
16594 * sysdeps/unix/sysv/linux/kernel-features.h
16595 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16596 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16597 kernel-features.h.
16598 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16599 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16600 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16601 kernel-features.h.
16602 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16603 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16604
918b5606
L
166052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16606
16607 * configure.in: Define the default includes to being none.
16608 * configure: Regenerated.
16609
3a097cc7
RM
166102012-05-25 Roland McGrath <roland@hack.frob.com>
16611
8422c9a5
RM
16612 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16613 * sysdeps/x86_64/setjmp.S: Likewise.
16614 * sysdeps/i386/bsd-setjmp.S: Likewise.
16615 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16616 * sysdeps/i386/setjmp.S: Likewise.
16617 * sysdeps/i386/__longjmp.S: Likewise.
16618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16619 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16620
3a097cc7
RM
16621 * include/stap-probe.h: New file.
16622 * configure.in: Handle --enable-systemtap.
16623 * configure: Regenerated.
16624 * config.h.in (USE_STAP_PROBE): New #undef.
16625 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16626 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16627 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16628
21708942
JM
166292012-05-25 Joseph Myers <joseph@codesourcery.com>
16630
16631 [BZ #13717]
16632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16633 to 2.4.0 where earlier.
16634 * sysdeps/unix/sysv/linux/configure: Regenerated.
16635 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16636 <kernel-features.h>.
16637 [__ASSUME_32BITUIDS]: Make code unconditional.
16638 [!__ASSUME_32BITUIDS]: Remove conditional code.
16639 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16640 <kernel-features.h>.
16641 [__ASSUME_32BITUIDS]: Make code unconditional.
16642 [!__ASSUME_32BITUIDS]: Remove conditional code.
16643 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16644 [__ASSUME_32BITUIDS]: Make code unconditional.
16645 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16646 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16647 <kernel-features.h>.
16648 [__ASSUME_32BITUIDS]: Make code unconditional.
16649 [!__ASSUME_32BITUIDS]: Remove conditional code.
16650 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16651 <kernel-features.h>.
16652 [__ASSUME_32BITUIDS]: Make code unconditional.
16653 [!__ASSUME_32BITUIDS]: Remove conditional code.
16654 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16655 <kernel-features.h>.
16656 [__ASSUME_32BITUIDS]: Make code unconditional.
16657 [!__ASSUME_32BITUIDS]: Remove conditional code.
16658 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16659 <kernel-features.h>.
16660 [__ASSUME_32BITUIDS]: Make code unconditional.
16661 [!__ASSUME_32BITUIDS]: Remove conditional code.
16662 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16663 <kernel-features.h>.
16664 [__ASSUME_32BITUIDS]: Make code unconditional.
16665 [!__ASSUME_32BITUIDS]: Remove conditional code.
16666 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16667 <kernel-features.h>.
16668 [__ASSUME_32BITUIDS]: Make code unconditional.
16669 [!__ASSUME_32BITUIDS]: Remove conditional code.
16670 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16671 <kernel-features.h>.
16672 [__ASSUME_32BITUIDS]: Make code unconditional.
16673 [!__ASSUME_32BITUIDS]: Remove conditional code.
16674 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16675 <kernel-features.h>.
16676 [__ASSUME_32BITUIDS]: Make code unconditional.
16677 [!__ASSUME_32BITUIDS]: Remove conditional code.
16678 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16679 <kernel-features.h>.
16680 [__ASSUME_32BITUIDS]: Make code unconditional.
16681 [!__ASSUME_32BITUIDS]: Remove conditional code.
16682 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16683 <kernel-features.h>.
16684 [__ASSUME_32BITUIDS]: Make code unconditional.
16685 [!__ASSUME_32BITUIDS]: Remove conditional code.
16686 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16687 <kernel-features.h>.
16688 [__NR_setresgid] (__setresgid): Do not declare.
16689 [__ASSUME_32BITUIDS]: Make code unconditional.
16690 [!__ASSUME_32BITUIDS]: Remove conditional code.
16691 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16692 <kernel-features.h>.
16693 [__NR_setresuid] (__setresuid): Do not declare.
16694 [__ASSUME_32BITUIDS]: Make code unconditional.
16695 [!__ASSUME_32BITUIDS]: Remove conditional code.
16696 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16697 <kernel-features.h>.
16698 [__ASSUME_32BITUIDS]: Make code unconditional.
16699 [!__ASSUME_32BITUIDS]: Remove conditional code.
16700 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16701 <kernel-features.h>.
16702 [__ASSUME_32BITUIDS]: Make code unconditional.
16703 [!__ASSUME_32BITUIDS]: Remove conditional code.
16704 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16705 <kernel-features.h>.
16706 [__ASSUME_32BITUIDS]: Make code unconditional.
16707 [!__ASSUME_32BITUIDS]: Remove conditional code.
16708 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16709 <kernel-features.h>.
16710 [__ASSUME_32BITUIDS]: Make code unconditional.
16711 [!__ASSUME_32BITUIDS]: Remove conditional code.
16712 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16713 <kernel-features.h>.
16714 [__ASSUME_32BITUIDS]: Make code unconditional.
16715 [!__ASSUME_32BITUIDS]: Remove conditional code.
16716 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16717 <kernel-features.h>.
16718 [__ASSUME_32BITUIDS]: Make code unconditional.
16719 [!__ASSUME_32BITUIDS]: Remove conditional code.
16720 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
16725 <kernel-features.h>.
16726 [__ASSUME_32BITUIDS]: Make code unconditional.
16727 [!__ASSUME_32BITUIDS]: Remove conditional code.
16728 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16729 <kernel-features.h>.
16730 [__ASSUME_32BITUIDS]: Make code unconditional.
16731 [!__ASSUME_32BITUIDS]: Remove conditional code.
16732 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16733 <kernel-features.h>.
16734 [__ASSUME_32BITUIDS]: Make code unconditional.
16735 [!__ASSUME_32BITUIDS]: Remove conditional code.
16736 * sysdeps/unix/sysv/linux/kernel-features.h
16737 (__ASSUME_SETRESUID_SYSCALL): Remove.
16738 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16739 (__ASSUME_32BITUIDS): Likewise.
16740 (__ASSUME_LDT_WORKS): Likewise.
16741 (__ASSUME_O_DIRECTORY): Likewise.
16742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16743 architecture but not kernel version.
16744 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16745 (__ASSUME_MMAP2_SYSCALL): Likewise.
16746 (__ASSUME_STAT64_SYSCALL): Likewise.
16747 (__ASSUME_IPC64): Likewise.
16748 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16749 <kernel-features.h>.
16750 [__ASSUME_32BITUIDS]: Make code unconditional.
16751 [!__ASSUME_32BITUIDS]: Remove conditional code.
16752 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16753 <kernel-features.h>.
16754 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16755 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16756 132096]: Remove conditional code.
16757 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16759 <kernel-features.h>.
16760 [__ASSUME_32BITUIDS]: Make code unconditional.
16761 [!__ASSUME_32BITUIDS]: Remove conditional code.
16762 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16763 <kernel-features.h>.
16764 [__ASSUME_32BITUIDS]: Make code unconditional.
16765 [!__ASSUME_32BITUIDS]: Remove conditional code.
16766 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16767 <kernel-features.h>.
16768 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16769 unconditional.
16770 (__setresgid): Do not declare.
16771 [__ASSUME_32BITUIDS]: Make code unconditional.
16772 [!__ASSUME_32BITUIDS]: Remove conditional code.
16773 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16774 <kernel-features.h>.
16775 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16776 unconditional.
16777 (__setresuid): Do not declare.
16778 [__ASSUME_32BITUIDS]: Make code unconditional.
16779 [!__ASSUME_32BITUIDS]: Remove conditional code.
16780 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16781 <kernel-features.h>.
16782 [__ASSUME_32BITUIDS]: Make code unconditional.
16783 [!__ASSUME_32BITUIDS]: Remove conditional code.
16784 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16785 <kernel-features.h>.
16786 [__ASSUME_32BITUIDS]: Make code unconditional.
16787 [!__ASSUME_32BITUIDS]: Remove conditional code.
16788
a386f1cc
RH
167892012-05-25 Richard Henderson <rth@twiddle.net>
16790
16791 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16792 dl_hwcap to ifunc resolver.
16793 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16794 elf_ifunc_invoke.
16795 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16796 dl_hwcap to ifunc resolver.
16797 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16798
b6550497
JM
167992012-05-24 Joseph Myers <joseph@codesourcery.com>
16800
16801 [BZ #14153]
16802 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16803 for |x| <= 2**-26, not 2**-57.
16804 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16805 exception.
16806
b0bc23a1
JL
168072012-05-24 Jeff Law <law@redhat.com>
16808
16809 * stdio-common/Makefile (tests): Add bug25.
16810 * stdio-common/bug25.c: New test.
16811
347c92e9
L
168122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16813
16814 [BZ #13576]
16815 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16816 multiple of MALLOC_ALIGNMENT in size.
16817 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16818
6bcc8b3f
JM
168192012-05-24 Joseph Myers <joseph@codesourcery.com>
16820
16821 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16822 Require >= 256.
16823 (FILENAME_MAX): Use macro-int-constant.
16824 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16825 (_IOFBF): Use macro-int-constant.
16826 (_IOLBF): Likewise.
16827 (_IONBF): Likewise.
16828 (SEEK_CUR): Likewise.
16829 (SEEK_END): Likewise.
16830 (SEEK_SET): Likewise.
16831 (TMP_MAX): Likewise.
16832 (EOF): Use macro-int-constant. Require < 0.
16833 (NULL): Use macro-constant. Require == 0.
16834 (stdin): Require type to be FILE *.
16835 (stdout): Likewise.
16836 (stderr): Likewise.
16837 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16838 macro-int-constant.
16839 (EXIT_SUCCESS): Likewise.
16840 (NULL): Use macro-constant. Require == 0.
16841 (RAND_MAX): Use macro-int-constant.
16842 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16843 [C99-based standards] (strtof): Require function.
16844 [C99-based standards] (strtold): Likewise.
16845 [C99-based standards] (strtoll): Likewise.
16846 [C99-based standards] (strtoull): Likewise.
16847 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16848 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16849 [ISO || ISO99 || ISO11] (math.h): Likewise.
16850 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16851 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16853
d18ea0c5
AS
168542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16855
16856 [BZ #14132]
56d25bb8
AS
16857 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16858 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16859 * intl/dgettext.c (DCGETTEXT): Likewise.
16860 * intl/gettext.c (DCGETTEXT): Likewise.
16861 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16862 * posix/regex_internal.h (gettext): Likewise.
16863 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16864 Remove declaration.
16865 * include/argz.h (__argz_count_internal)
16866 (__argz_stringify_internal): Remove declaration.
16867 (__argz_count, __argz_stringify): Declare hidden proto.
16868 * intl/dcgettext.c: Remove use of INTDEF.
16869 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16870 * string/argz-stringify.c: Likewise.
16871 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16872 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16873 Declare hidden proto.
d18ea0c5
AS
16874 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16875 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16876 Declare hidden proto.
16877 * include/stdio.h (__asprintf_internal): Don't declare.
16878 (__asprintf): Don't define as macro. Declare hidden proto.
16879 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16880 (__fsetlocking): Declare hidden proto.
16881 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16882 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16883 hidden proto.
16884 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16885 (_IO_setlinebuf): Remove use of INTUSE.
16886 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16887 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16888 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16889 Remove declaration.
16890 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16891 (_IO_do_flush): Remove use of INTUSE.
16892 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16893 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16894 (_IO_adjust_column, _IO_least_wmarker)
16895 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16896 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16897 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16898 (_IO_default_doallocate, _IO_wdefault_doallocate)
16899 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16900 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16901 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16902 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16903 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16904 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16905 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16906 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16907 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16908 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16909 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16910 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16911 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16912 proto.
16913 (_IO_flush_all_internal, _IO_adjust_column_internal)
16914 (_IO_default_uflow_internal, _IO_default_finish_internal)
16915 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16916 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16917 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16918 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16919 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16920 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16921 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16922 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16923 (_IO_file_close_internal, _IO_file_close_it_internal)
16924 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16925 (_IO_file_init_internal, _IO_file_attach_internal)
16926 (_IO_file_fopen_internal, _IO_file_read_internal)
16927 (_IO_file_sync_internal, _IO_file_seek_internal)
16928 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16929 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16930 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16931 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16932 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16933 (_IO_list_all_internal, _IO_link_in_internal)
16934 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16935 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16936 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16937 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16938 (_IO_do_write_internal, _IO_padn_internal)
16939 (_IO_getline_info_internal, _IO_getline_internal)
16940 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16941 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16942 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16943 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16944 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16945 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16946 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16947 with libc_hidden_ver, remove use of INTUSE.
16948 * libio/genops.c: Likewise.
16949 * libio/freopen.c: Likewise.
16950 * libio/freopen64.c: Likewise.
16951 * libio/iofclose.c: Likewise.
16952 * libio/iofdopen.c: Likewise.
16953 * libio/iofflush.c: Likewise.
16954 * libio/iofflush_u.c: Likewise.
16955 * libio/iofgets.c: Likewise.
16956 * libio/iofgets_u.c: Likewise.
16957 * libio/iofopen.c: Likewise.
16958 * libio/iofopncook.c: Likewise.
16959 * libio/iofread.c: Likewise.
16960 * libio/iofread_u.c: Likewise.
16961 * libio/ioftell.c: Likewise.
16962 * libio/iofwrite.c: Likewise.
16963 * libio/iogetline.c: Likewise.
16964 * libio/iogets.c: Likewise.
16965 * libio/iogetwline.c: Likewise.
16966 * libio/iopadn.c: Likewise.
16967 * libio/iopopen.c: Likewise.
16968 * libio/ioseekoff.c: Likewise.
16969 * libio/ioseekpos.c: Likewise.
16970 * libio/iosetbuffer.c: Likewise.
16971 * libio/iosetvbuf.c: Likewise.
16972 * libio/ioungetc.c: Likewise.
16973 * libio/ioungetwc.c: Likewise.
16974 * libio/iovdprintf.c: Likewise.
16975 * libio/iovsprintf.c: Likewise.
16976 * libio/iovsscanf.c: Likewise.
16977 * libio/memstream.c: Likewise.
16978 * libio/obprintf.c: Likewise.
16979 * libio/oldfileops.c: Likewise.
16980 * libio/oldiofclose.c: Likewise.
16981 * libio/oldiofdopen.c: Likewise.
16982 * libio/oldiofopen.c: Likewise.
16983 * libio/oldiopopen.c: Likewise.
16984 * libio/oldstdfiles.c: Likewise.
16985 * libio/putc.c: Likewise.
16986 * libio/setbuf.c: Likewise.
16987 * libio/setlinebuf.c: Likewise.
16988 * libio/stdfiles.c: Likewise.
16989 * libio/strops.c: Likewise.
16990 * libio/vasprintf.c: Likewise.
16991 * libio/vscanf.c: Likewise.
16992 * libio/vsnprintf.c: Likewise.
16993 * libio/vswprintf.c: Likewise.
16994 * libio/wfiledoalloc.c: Likewise.
16995 * libio/wfileops.c: Likewise.
16996 * libio/wgenops.c: Likewise.
16997 * libio/wmemstream.c: Likewise.
16998 * libio/wstrops.c: Likewise.
16999 * libio/__fpurge.c: Likewise.
17000 * libio/__fsetlocking.c: Likewise.
17001 * assert/assert.c: Likewise.
17002 * debug/fgets_chk.c: Likewise.
17003 * debug/fgets_u_chk.c: Likewise.
17004 * debug/fread_chk.c: Likewise.
17005 * debug/fread_u_chk.c: Likewise.
17006 * debug/gets_chk.c: Likewise.
17007 * debug/obprintf_chk.c: Likewise.
17008 * debug/vasprintf_chk.c: Likewise.
17009 * debug/vdprintf_chk.c: Likewise.
17010 * debug/vsnprintf_chk.c: Likewise.
17011 * debug/vsprintf_chk.c: Likewise.
17012 * malloc/mtrace.c: Likewise.
17013 * misc/error.c: Likewise.
17014 * misc/syslog.c: Likewise.
17015 * stdio-common/asprintf.c: Likewise.
17016 * stdio-common/fxprintf.c: Likewise.
17017 * stdio-common/getw.c: Likewise.
17018 * stdio-common/isoc99_fscanf.c: Likewise.
17019 * stdio-common/isoc99_scanf.c: Likewise.
17020 * stdio-common/isoc99_vfscanf.c: Likewise.
17021 * stdio-common/isoc99_vscanf.c: Likewise.
17022 * stdio-common/isoc99_vsscanf.c: Likewise.
17023 * stdio-common/printf-prs.c: Likewise.
17024 * stdio-common/printf_fp.c: Likewise.
17025 * stdio-common/printf_fphex.c: Likewise.
17026 * stdio-common/printf_size.c: Likewise.
17027 * stdio-common/putw.c: Likewise.
17028 * stdio-common/scanf.c: Likewise.
17029 * stdio-common/sprintf.c: Likewise.
17030 * stdio-common/tmpfile.c: Likewise.
17031 * stdio-common/vfprintf.c: Likewise.
17032 * stdio-common/vfscanf.c: Likewise.
17033 * stdlib/strfmon_l.c: Likewise.
17034 * sunrpc/openchild.c: Likewise.
17035 * sunrpc/xdr_stdio.c: Likewise.
17036 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17037 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17038
d6c33fda
RM
170392012-05-24 Roland McGrath <roland@hack.frob.com>
17040
c1487492
RM
17041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17042
17043 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17044 in the third column, to generate for the shared library an IFUNC
17045 that uses _dl_vdso_vsym.
17046 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17047 * Makeconfig (object-suffixes-noshared): New variable.
17048
17049 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17050 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17051 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17052 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17053
d6c33fda
RM
17054 [BZ #14132]
17055 * include/sys/time.h (__gettimeofday): Remove macro.
17056 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17057 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17058 Remove INTDEF.
17059 (__gettimeofday): Add libc_hidden_def.
17060 (gettimeofday): Add libc_hidden_weak.
17061 * sysdeps/mach/gettimeofday.c: Likewise.
17062 * sysdeps/posix/gettimeofday.c: Likewise.
17063 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17064 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17066 (__gettimeofday_internal): Remove strong_alias.
17067 (__gettimeofday): Add libc_hidden_def.
17068 (gettimeofday): Add libc_hidden_weak.
17069 * sysdeps/unix/syscalls.list (gettimeofday):
17070 Remove __gettimeofday_internal alias.
17071
b5a2bbe6
L
170722012-05-24 Daniel Jacobowitz <drow@false.org>
17073 H.J. Lu <hongjiu.lu@intel.com>
17074
17075 [BZ #12495]
17076 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17077 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17078 (largebin_index_32_big): New.
17079 (largebin_index): Use it for 16-byte alignment.
17080 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17081 correction with front_misalign.
17082
cfba4fda
L
170832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17084
7f907421
L
17085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17087 Likewise.
17088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17089 Likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17091 Likewise.
17092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17093 Likewise.
17094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17095 Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17097 Likewise.
17098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17099 Likewise.
17100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17101 Likewise.
17102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17103 Likewise.
17104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17105 Likewise.
17106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17107 Likewise.
17108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17109 Likewise.
17110
cfba4fda
L
17111 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17112 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17113
80bad0cc
JM
171142012-05-24 Joseph Myers <joseph@codesourcery.com>
17115
7a25eb06
JM
17116 [BZ #10846]
17117 [BZ #14036]
17118 * math/libm-test.inc (exp_test): Add test from bug 14036.
17119 (pow_test): Add test from bug 10846.
17120
795405f9
JM
17121 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17122 and other flags.
17123 (special_function): Do not include flags in test name.
17124 (parse_args): Likewise.
17125 * sysdeps/i386/fpu/libm-test-ulps: Update.
17126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17127 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17128 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17130
80bad0cc
JM
17131 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17132 exceptions.
17133 * math/libm-test.inc ("Philosophy"): Update comment about
17134 exception testing.
17135 (UNDERFLOW_EXCEPTION): New macro.
17136 (UNDERFLOW_EXCEPTION_OK): Likewise.
17137 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17138 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17139 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17140 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17141 (INVALID_EXCEPTION_OK): Update value.
17142 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17143 (OVERFLOW_EXCEPTION_OK): Likewise.
17144 (IGNORE_ZERO_INF_SIGN): Likewise.
17145 (test_exceptions): Handle underflow exceptions.
17146 (acos_test): Update for underflow exception expectations.
17147 (cexp_test): Likewise.
17148 (clog_test): Likewise.
17149 (clog10_test): Likewise.
17150 (csqrt_test): Likewise.
17151 (ctan_test): Likewise.
17152 (ctanh_test): Likewise.
17153 (exp_test): Likewise.
17154 (exp10_test): Likewise.
17155 (exp2_test): Likewise.
17156 (expm1_test): Likewise.
17157 (fma_test): Likewise.
17158 (j0_test): Likewise.
17159 (jn_test): Likewise.
17160 (nexttoward_test): Likewise.
17161 (pow_test): Likewise.
17162 (scalbn_test): Likewise.
17163 (scalbln_test): Likewise.
17164 (tan_test): Likewise.
17165 (y1_test): Likewise.
17166 * sysdeps/i386/fpu/libm-test-ulps: Update.
17167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17168
9e0e3d0b
DM
171692012-05-23 David S. Miller <davem@davemloft.net>
17170
17171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17172 (__libc_sigaction): Remove unused local variables.
17173
ccd0a08f
L
171742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17175
17176 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17177
62bdf9a6
PE
171782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17179
f8591f80
PE
17180 mktime: avoid signed integer overflow
17181 * time/mktime.c (__mktime_internal): Do not mishandle the case
17182 where diff == INT_MIN.
17183
94c7d826
PE
17184 mktime: simplify computation of average
17185 * time/mktime.c (ranged_convert): Use new time_t_avg function
17186 instead of rolling our own (probably-slower) code.
17187
ce73d683
PE
17188 mktime: do not assume signed right shift propagates sign bit
17189 * time/mktime.c (isdst_differ): New static function.
17190 (__mktime_internal): No need to normalize tm_isdst now.
17191 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17192 tm_isdst values.
17193
72a22e59
PE
17194 mktime: merge another wrapv change from gnulib
17195 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17196 from some compilers.
17197
68605433
PE
17198 mktime: remove incorrect attempt at unusual arithmetics
17199 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17200 The code didn't really work on such machines anyway.
17201 (TYPE_MINIMUM): Assume two's complement.
17202 (twos_complement_arithmetic): Verify that long_int and time_t
17203 are two's complement (or unsigned, in the latter case).
17204
03cf7fe3
PE
17205 mktime: check signed shifts on long_int and time_t, too
17206 * time/mktime.c (SHR): Check that shifts work as desired
17207 on the types long_int and time_t too, as SHR is used on
17208 such types.
17209
f04dfbc2
PE
17210 mktime: do not assume 'long' is wide enough
17211 * time/mktime.c (verify): Move decl up.
17212 (long_int): New type.
17213 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17214 to remove assumption in the code that 'long' is wide enough to
17215 store year values. This assumption is not true on x32 and on
17216 some non-glibc platforms.
17217
62bdf9a6
PE
17218 mktime: merge wrapv change from gnulib
17219 * time/mktime.c (WRAPV): New macro.
17220 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17221 (guess_time_tm, __mktime_internal): Do not assume that signed
17222 integer overflow wraps around; modern compilers generate code
17223 where this assumption is no longer valid.
17224
5e292e4f
L
172252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17226
17227 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17228 Replace "jmp L(pseudo_end)" with "ret".
17229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17230 Likewise.
17231
8caf8c87
AJ
172322012-05-23 Andreas Jaeger <aj@suse.de>
17233
17234 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17235 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17236
1a09dc56
AJ
172372012-05-23 Andreas Jaeger <aj@suse.de>
17238 Maximilian Attems <max@stro.at>
17239
17240 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17241 New macros.
17242
1c87aba0
L
172432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17244
17245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17246 code so that pseudo_end is just ret and the stack pointer is
17247 correct also for static library in error case.
17248
40e45bd5
JM
172492012-05-23 Joseph Myers <joseph@codesourcery.com>
17250
c2670533
JM
17251 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17252 move to syscalls.list.
17253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17257
40e45bd5
JM
17258 * manual/install.texi (Running make install): Do not mention Linux
17259 kernel version for which pt_chown is not needed.
17260 (Linux): Do not mention problems with nscd with 2.0 kernels.
17261 * INSTALL: Regenerated.
17262
be08eda5
AJ
172632012-05-23 Andreas Jaeger <aj@suse.de>
17264
17265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17266 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17267 macro.
17268 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17270 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17271 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17272 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17278 * sysdeps/unix/sysv/linux/bits/in.h
17279 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17280
a6a056bb
RM
172812012-05-22 Roland McGrath <roland@hack.frob.com>
17282
17283 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17284 (PREPARE_VERSION): Just use assert instead, it will be elided
17285 under [NDEBUG] anyway.
17286
c9009328
L
172872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17288
17289 * sysdeps/unix/sysv/linux/Makefile: Include
17290 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17291 (sysdep_routines): Remove sysctl.
c9009328
L
17292 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17293 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17294 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17295 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17296 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17297
73338355
AJ
172982012-05-22 Andreas Jaeger <aj@suse.de>
17299
17300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17301 that pseudo_end is just ret and the stack pointer is correct also
17302 for static library in error case.
17303
d44638b0
PP
173042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17305
17306 [BZ #14122]
17307 * nss/nsswitch.c (defconfig_entries): New variable.
17308 (__nss_database_lookup): Don't leak defconfig entries.
17309 (nss_parse_service_list): Don't leak on error paths.
17310 (free_database_entries): New function.
17311 (free_defconfig): New function.
17312 (free_mem): Move common code to free_database_entries.
17313
31a39bd8
L
173142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17315
da0331a8
L
17316 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17317 Add arch_prctl.
17318 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17319
31a39bd8
L
17320 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17321 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17323 New macro.
17324 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17325 (INTERNAL_SYSCALL_TYPES): Likewise.
17326 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17327 (LOAD_REGS_TYPES_[1-6]): Likewise.
17328 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17329 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17330
45470df3
AZ
173312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17332
17333 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17334 copysignl for GLIBC_2_0.
17335 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17336 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17338 logbl for GLIBC_2_0.
17339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17340 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17341
98a61bcb
L
173422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17343
a4f6e481
L
17344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17345 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17346
f63d5db6
L
17347 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17348 Use "neg %eax".
17349
98a61bcb
L
17350 * time/mktime.c: Update copyright years.
17351
95770f14
PE
173522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17353
6226efbd
PE
17354 mktime: merge comment-quoting-style change from gnulib
17355 * time/mktime.c: Quote 'like this' in comments.
17356 The GNU coding standards suggest that we no longer quote `like this',
17357 as "`" and "'" are typically rendered asymmetrically nowadays.
17358 The typical gnulib style is to quote 'like this' when quoting
17359 code, and "like this" when quoting English.
17360
b99e4f78
PE
17361 * time/mktime.c (compile-command): Add "-I.".
17362
643e01e6
PE
17363 mktime: merge mktime-internal.h change from gnulib
17364 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17365
2554247d
PE
17366 mktime: merge time_r change from gnulib
17367 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17368
826dd0ab
PE
17369 mktime: merge DEBUG change from gnulib
17370 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17371 case system <time.h> has a #define.
17372
bd83aabe
PE
17373 mktime: merge <sys/types.h> change from gnulib
17374 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17375 since <time.t> is now guaranteed to define time_t.
17376
95770f14
PE
17377 mktime: merge HAVE_CONFIG_H change from gnulib
17378 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17379
5e1a27a9
L
173802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17381
0e44a77e
L
17382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17383 Use "neg %eax".
17384
5e1a27a9
L
17385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17386 __rlim_t cast.
17387 (struct rusage): Use anonymous union to pad each field to
17388 __syscall_slong_t.
17389
46259bec
DM
173902012-05-21 David S. Miller <davem@davemloft.net>
17391
17392 * Makefules (o-iterator): Remove .s cases.
17393 (compile-command.s): Delete.
17394 (COMPILE.s): Delete.
17395 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17396
59f0c22e
JM
173972012-05-21 Joseph Myers <joseph@codesourcery.com>
17398
17399 * configure.in (libc_cv_predef_stack_protector): Only consider
17400 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17401 * configure: Regenerated.
17402
20c07380
L
174032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17404
bbb3154b
L
17405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17406 New macro. Use R*LP on int and pointer.
17407 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17408 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17409 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17410 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17411
20c07380
L
17412 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17413 [__WORDSIZE_TIME64_COMPAT32] instead of
17414 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17415 (struct utmp): Likewise.
17416 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17417 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17418 Renamed to ...
17419 (__WORDSIZE_TIME64_COMPAT32): This.
17420 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17421 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17422 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17423 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17424 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17425 (__WORDSIZE_TIME64_COMPAT32): New macro.
17426
d8d1017e
AJ
174272012-05-21 Andreas Jaeger <aj@suse.de>
17428
17429 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17430 only if [SHARED]. Add prototype for __wcschr_ia32.
17431
6c7fb145
RM
174322012-05-21 Roland McGrath <roland@hack.frob.com>
17433
17434 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17435 of %rbp unmolested in the jmp_buf while mangling the low bits.
17436 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17437 unmolested high bits of %rbp while demangling the low bits.
17438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17439
66274218
AJ
174402012-05-21 Andreas Jaeger <aj@suse.de>
17441
07c58f8f
AJ
17442 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17443 * sunrpc/svc_simple.c: Use it for registerrpc.
17444 * sunrpc/xcrypt.c: Use it for passwd2des.
17445
66274218
AJ
17446 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17447
61f65140
L
174482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17451 Don't define if [__SYSCALL_WORDSIZE != 32].
17452 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17453 New macro.
17454
5fefb436
AJ
174552012-05-21 Bruno Haible <bruno@clisp.org>
17456 Andreas Jaeger <aj@suse.de>
17457
17458 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17459 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17460 inptr and inend for must_buffer_ch.
17461 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17462 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17463 * stdio-common/Makefile (tests): Remove bug15.
17464 (bug15-ENV): Remove macro.
17465 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17466 anymore.
17467
d8e272ab
AJ
174682012-05-19 Andreas Jaeger <aj@suse.de>
17469 Roland McGrath <roland@hack.frob.com>
17470
17471 * manual/contrib.texi: Completely rewritten. It contains now an
17472 alphabetical list of contributors and their contributions.
17473
4a56a162
RH
174742012-05-21 Richard Henderson <rth@twiddle.net>
17475
17476 * misc/getauxval.c (__getauxval): Use unsigned long int.
17477 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17478 (getauxval): Use unsigned long int.
17479
d024d23c
L
174802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17481
17482 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17483
cbc00a03
RM
174842012-05-21 Roland McGrath <roland@hack.frob.com>
17485
17486 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17487 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17488 __alignof__ (long double).
17489
478143fa
AZ
174902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491
17492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17493
c7683a6d
RH
174942012-05-20 Richard Henderson <rth@twiddle.net>
17495
17496 * misc/getauxval.c: New file.
17497 * misc/sys/auxv.h: New file.
17498 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17499 (routines): Add getauxval.
17500 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17501 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17502 * elf/dl-sysdep.c (_dl_auxv): Remove.
17503 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17504 * elf/dl-support.c (_dl_auxv): New variable.
17505 (_dl_aux_init): Initialize it.
17506 * manual/startup.texi (Auxiliary Vector): New node.
17507 * sysdeps/generic/bits/hwcap.h: New file.
17508 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17509 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17510 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17511 * sysdeps/sparc/sysdep.h: ... here. Include it.
17512 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17515 Update.
c7683a6d
RH
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17524
a6f1845d
AZ
175252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17526
17527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17528
cbcbe830
DM
175292012-05-19 David S. Miller <davem@davemloft.net>
17530
17531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17532
e0b16cc2
JM
175332012-05-19 Joseph Myers <joseph@codesourcery.com>
17534
17535 [BZ #14123]
17536 * math/s_ccosh.c: Include <float.h>
17537 (__ccosh): Avoid internal overflow calculating sinh and cosh
17538 values before multiplying by sin and cos values.
17539 * math/s_ccoshf.c: Likewise.
17540 * math/s_ccoshl.c: Likewise.
17541 * math/s_csin.c: Likewise.
17542 * math/s_csinf.c: Likewise.
17543 * math/s_csinl.c: Likewise.
17544 * math/s_csinh.c: Likewise.
17545 * math/s_csinhf.c: Likewise.
17546 * math/s_csinhl.c: Likewise.
17547 * math/libm-test.inc (ccos_test): Add more tests.
17548 (ccosh_test): Likewise.
17549 (csin_test): Likewise.
17550 (csinh_test): Likewise.
17551 * sysdeps/i386/fpu/libm-test-ulps: Update.
17552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17553
6ad13e08
L
175542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17555
f66f0ce8
L
17556 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17557 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17558
6ad13e08
L
17559 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17560
b1d072a7
JM
175612012-05-19 Joseph Myers <joseph@codesourcery.com>
17562
17563 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17564 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17565 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17566 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17567 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17568 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17569 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17570 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17571 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17572 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17573 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17574 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17575 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17576 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17577 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17578 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17579 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17580 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17581 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17582 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17583 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17584 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17585 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17586 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17587 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17588 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17589 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17590 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17591 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17592 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17593 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17594
9eae47cb
AJ
175952012-05-18 Andreas Jaeger <aj@suse.de>
17596
17597 * csu/.gitignore: Delete.
17598
bb07f69f
L
175992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17600
17601 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17602 (timex): Use __syscall_slong_t.
17603
e6bdb741
AJ
176042012-05-18 Andreas Jaeger <aj@suse.de>
17605 Carlos O'Donell <carlos_odonell@mentor.com>
17606
17607 * manual/install.texi (Configuring and compiling): Update
17608 description about files modified in the source directory.
d6c33fda 17609 * INSTALL: Regenerated.
e6bdb741 17610
1b74487e
L
176112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17612
17613 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17614 value. Use "or" to set return value to -1.
17615 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17616 negate return value.
17617
a88b64b9
TMQMF
176182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17619
17620 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17621 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17622 failure if the compiler has Graphite support disabled.
17623 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17624 Likewise.
17625 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17626 CFLAGS-memmove.c): Likewise.
17627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17628 Likewise.
17629
3707636e
L
176302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17631
610b8622
L
17632 * sysdeps/x86_64/x32/_itoa.h: New file.
17633
7cd195df
L
17634 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17635 getdents system call only if kernel and user dirents have the
17636 same d_ino and d_off.
17637
94b07d20
L
17638 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17639 LLONG_MAX != LONG_MAX.
17640 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17641 (_fitoa_word): Likewise.
17642
18298070
L
17643 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17644 years.
17645 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17647 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17648
553c7ea4
L
17649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17650 include <bits/wordsize.h>. Check __x86_64__ instead of
17651 __WORDSIZE.
17652 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17653 if __x86_64__ is defined. Use anonymous union on fpstate.
17654
3707636e
L
17655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17656 anonymous union.
17657
b53ef01a
AS
176582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17659
37fb1dc0
AS
17660 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17661 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17663 Refer to _rtld_local_ro instead of _rtld_global_ro.
17664 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17665 Likewise.
17666 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17667 Likewise.
17668 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17669 Likewise.
17670 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17671 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17672 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17673
b53ef01a
AS
17674 * sysdeps/powerpc/powerpc32/dl-machine.c
17675 (__elf_machine_runtime_setup) [PROF]: Don't reference
17676 _dl_prof_resolve.
17677
7a185db2
AJ
176782012-05-18 Andreas Jaeger <aj@suse.de>
17679
17680 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17681 function only available for GCCs before 3.4 since GCC 3.4
17682 introduced a builtin.
17683 (lrint): Likewise.
17684 (llrintf): Likewise.
17685 (llrint): Likewise.
17686 (fmaxf): Likewise.
17687 (fmax): Likewise.
17688 (fminf): Likewise.
17689 (fmin): Likewise.
17690 (rint): Likewise.
17691 (rintf): Likewise.
17692 (nearbyint): Likewise.
17693 (nearbyintf): Likewise.
17694 (ceil): Likewise.
17695 (ceilf): Likewise.
17696 (floor): Likewise.
17697 (floorf): Likewise.
17698
3e5aef87
L
176992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17700
428bd707
L
17701 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17702 on both fields and cast pointer to __syscall_ulong_t.
17703
3e5aef87
L
17704 * bits/types.h (__fsword_t): New type.
17705 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17706 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17708 (__FSWORD_T_TYPE): Likewise.
17709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17710 (__FSWORD_T_TYPE): Likewise.
17711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17712 (__FSWORD_T_TYPE): Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17714 (__FSWORD_T_TYPE): Likewise.
17715 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17716 __SWORD_TYPE with __fsword_t.
17717 (statfs64): Likewise.
17718
1ba7c3dc
DM
177192012-05-17 David S. Miller <davem@davemloft.net>
17720
17721 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17722
59910343
AJ
177232012-05-17 Andreas Jaeger <aj@suse.de>
17724
17725 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17726 warning.
17727
2e4c1e9e
L
177282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17731
de7f5ce7
AJ
177322012-05-17 Andreas Jaeger <aj@suse.de>
17733
17734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17735 when it is used.
17736
286abc3d
CM
177372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17738
17739 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17740
477cc68e
L
177412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17742
17743 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17744 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17745
1a0994f5
CD
177462012-05-17 Andreas Jaeger <aj@suse.de>
17747 Carlos O'Donell <carlos_odonell@mentor.com>
17748
17749 [BZ #14059]
17750 * sysdeps/x86_64/multiarch/init-arch.h
17751 (bit_YMM_Usable): Rename to...
17752 (bit_AVX_Usable): ... this.
17753 (bit_FMA4_Usable): New macro.
17754 (bit_XMM_state): New macro.
17755 (bit_YMM_state): New macro.
17756 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17757 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17758 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17759 (CPUID_OSXSAVE): New macro.
17760 (CPUID_AVX): New macro.
17761 (CPUID_FMA4): New macro.
17762 (index_YMM_Usable): Rename to...
17763 (index_AVX_Usable): ... this.
17764 (HAS_AVX): Use HAS_ARCH_FEATURE.
17765 (HAS_FMA4): Likewise.
17766 (HAS_YMM_USABLE): Remove.
17767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17768 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17769 are present.
17770 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17771 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17772 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17773 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17774 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17775
0af797de
CM
177762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17777
17778 * math/libm-test.c: Support platforms without multiple rounding modes.
17779 * math/bug-nextafter.c: Support platforms without FP exceptions.
17780 * math/bug-nexttoward.c: Likewise.
17781 * math/test-fenv.c: Likewise.
17782 * math/test-misc.c: Likewise.
17783 * stdlib/bug-getcontext.c: Likewise.
17784
e39745ff
AJ
177852012-05-17 Andreas Jaeger <aj@suse.de>
17786
17787 * manual/examples/search.c (critter_cmp): Change signature to
17788 avoid warnings.
17789 * manual/string.texi (Collation Functions): Likewise.
17790
48970aba
L
177912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17792
17793 * bits/types.h: Fold copyright years.
17794 * bits/typesizes.h: Likewise.
17795 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17799 * time/time.h: Likewise.
17800
bedee953
PP
178012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17802
17803 [BZ #208]
17804 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17805 in instead of returning them. Return void.
17806 (__libc_mallinfo): Accumulate over all arenas.
17807 (__malloc_stats): Adjust for change in int_mallinfo interface.
17808
61653dfb
RM
178092012-05-16 Roland McGrath <roland@hack.frob.com>
17810
30b99d79
RM
17811 [BZ #10375]
17812 * configure.in (NM): Add AC_CHECK_TOOL for it.
17813 (libc_extra_cflags): New substituted variable.
17814 Check for -fstack-protector being used implicitly.
17815 * configure: Regenerated.
17816 * config.make.in (config-extra-cflags): New variable,
17817 gets @libc_extra_cflags@.
17818 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17819
61653dfb
RM
17820 [BZ #10375]
17821 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17822 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17823 * configure: Regenerated.
17824 * config.make.in (CPPUNDEFS): New substituted variable.
17825 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17826 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17827 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17828
661768bb
L
178292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17830
17831 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17832 (mq_attr): Use __syscall_slong_t.
17833
d4261567
L
178342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17837 Check __x86_64__ instead of __WORDSIZE.
17838 (_STAT_VER_LINUX): Likewise.
17839 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17840 __syscall_ulong_t and __syscall_slong_t.
17841 (stat64): Likewise.
17842
cf3ff365
L
178432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17844
17845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17846
76cf3e4d
L
178472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17848
17849 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17850
a637753a
L
178512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17852
17853 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17854 __syscall_ulong_t.
17855
d5e05119
L
17856 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17857 include <bits/wordsize.h>. Check __x86_64__ instead of
17858 __WORDSIZE.
17859 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17860 defined.
17861 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17862
f62ee380
L
17863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17864 include <bits/wordsize.h>. Check __x86_64__ instead of
17865 __WORDSIZE.
17866 (user_regs_struct): Use "__extension__ unsigned long long"
17867 instead of "unsigned long" if __x86_64__ is defined.
17868 (user): Likewise. Pad after pointer field if __ILP32__ is
17869 defined.
17870
4e124ced
JM
178712012-05-16 Joseph Myers <joseph@codesourcery.com>
17872
6a3951a0
JM
17873 * configure.in (makeinfo): Require version 4.5 or later. Allow
17874 versions 5 to 9.
17875 * configure: Regenerated.
17876 * manual/install.texi (texinfo): Increase version requirement to
17877 4.5 or later.
17878 * INSTALL: Regenerated.
17879
4e124ced
JM
17880 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17881
953ca31a
L
178822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17883
17884 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17885
617aca05
L
17886 * sysdeps/x86_64/x32/ffs.c: New file.
17887
5762f7ae
L
17888 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17889 __syscall_ulong_t.
17890 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17891 defined. Use __syscall_ulong_t.
17892 (shminfo): Use __syscall_ulong_t.
17893 (shm_info): Likewise.
17894
a26b6856
L
17895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17896 __syscall_ulong_t.
17897
cb2b9ef7
L
17898 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17899 <bits/wordsize.h>.
17900 (msgqnum_t): Use __syscall_ulong_t.
17901 (msglen_t): Likewise.
17902 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17903 __syscall_ulong_t.
17904
34683bb0
L
17905 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17906 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17907
84a68786
L
17908 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17909
48baa5f1
L
17910 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17911 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17912
180be88b
L
17913 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17914 __syscall_slong_t.
17915
5e90c8ad
L
17916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17917 include <bits/wordsize.h>. Check __x86_64__ instead of
17918 __WORDSIZE.
17919
23dfb58b
L
17920 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17921 "unsigned long long int" if __x86_64__ is defined.
17922 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17923
ce5d54b0
L
17924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17925 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17926 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17927
13dc9eac
L
17928 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17929 <stdint.h>.
17930 (GET_PC): Cast to uintptr_t first.
17931 (GET_FRAME): Likewise.
17932 (GET_STACK): Likewise.
17933
a7895d15
L
17934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17935 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17940 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17941 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17942 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17943 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17945 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17946 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17947 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17948 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17949 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17950 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17951 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17955 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17956 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17957 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17958 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17960 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17961 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17962 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17963
656416c9
AS
179642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17965
5bd66283
AS
17966 * Makerules (+depfiles): Also collect depfiles from .oS in
17967 $(extra-objs).
17968 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17969 .oS, $(libnldbl-routines)).
17970
656416c9
AS
17971 * Makerules (native-compile-mkdep-flags): Define.
17972 * sunrpc/Makefile (extra-objs): Add $(addprefix
17973 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17974 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17975 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17976 calling $(make-target-directory).
17977
a46f2169
L
179782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 * bits/types.h (__snseconds_t): Removed.
17981 * time/time.h (struct timespec): Replace __snseconds_t with
17982 __syscall_slong_t.
17983 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17984 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17985 Likewise.
17986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17987 (__SNSECONDS_T_TYPE): Likewise.
17988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17989 (__SNSECONDS_T_TYPE): Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17991 (__SNSECONDS_T_TYPE): Likewise.
17992
6af6528b
L
179932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17994
17995 * sysdeps/mach/hurd/bits/typesizes.h
17996 (__SYSCALL_SLONG_TYPE): New macro.
17997 (__SYSCALL_ULONG_TYPE): Likewise.
17998
de986b56
L
179992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18000
18001 * bits/types.h (__syscall_slong_t): New type.
18002 (__syscall_ulong_t): Likewise.
18003
18004 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18005 (__SYSCALL_ULONG_TYPE): Likewise.
18006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18007 (__SYSCALL_SLONG_TYPE): Likewise.
18008 (__SYSCALL_ULONG_TYPE): Likewise.
18009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18010 (__SYSCALL_SLONG_TYPE): Likewise.
18011 (__SYSCALL_ULONG_TYPE): Likewise.
18012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18013 (__SYSCALL_SLONG_TYPE): Likewise.
18014 (__SYSCALL_ULONG_TYPE): Likewise.
18015
85736dc7
L
180162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18017
18018 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18019 Add sigaltstack-offsets.sym.
18020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18021 <sigaltstack-offsets.h>.
18022 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18023 longjmp_msg pointer.
18024 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18025 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18026 signal stack.
18027 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18028
cc03b296
JM
180292012-05-15 Joseph Myers <joseph@codesourcery.com>
18030
a9538892
JM
18031 * elf/stackguard-macros.h: Remove file.
18032 * sysdeps/generic/stackguard-macros.h: New file.
18033 * sysdeps/i386/stackguard-macros.h: Likewise.
18034 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18035 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18036 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18037 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18038 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18039 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18040 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18041 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18042 <elf/stackguard-macros.h>.
18043
cc03b296
JM
18044 [BZ #14109]
18045 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18046 __aligned__ in attribute.
18047 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18048 (gregset_t): Likewise.
18049
93171016
L
180502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18051
18052 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18053 * sysdeps/x86_64/64/Implies-after: Here. New file.
18054 * sysdeps/x86_64/x32/Implies-after: New file.
18055
d86813a0
L
180562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18059 and access return value for _dl_profile_fixup. Use R10_LP to
18060 load frame size.
18061
2953ec75
L
180622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18065
3b550e9e
L
180662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18069 * sysdeps/x86_64/x32/sysdep.h: New file.
18070
eda41706
L
180712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18074 * sysdeps/x86_64/setjmp.S: Likewise.
18075
9ea01d93
AZ
180762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18077
18078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18079 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18080 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18082 remove unused global constant.
18083
02a91938
CM
180842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18085
18086 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18087 include of <not-cancel.h>.
18088
6540185f
RM
180892012-05-15 Roland McGrath <roland@hack.frob.com>
18090
18091 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18092
509072a0
AJ
180932012-05-15 Jeff Law <law@redhat.com>
18094 Andreas Jaeger <aj@suse.de>
18095
18096 [BZ #13594]
18097 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18098 out from...
18099 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18100 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18101 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18102 code changing __hst_map_handle.map.
18103
ba75122d
RM
181042012-05-15 Roland McGrath <roland@hack.frob.com>
18105
18106 * configure.in (sysnames): Look for Implies-before and Implies-after
18107 files.
18108 * configure: Regenerated.
18109
890d8bd8
L
181102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18111
18112 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18113 8-byte data alignment with LP_SIZE alignment.
18114
f6ee6623
L
181152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18116
18117 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18118 into R10_LP.
18119
ea2626f6
L
181202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18121
18122 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18123
085f715e
L
181242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18127 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18128 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18129 Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18131
be8498fc
L
181322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18133
18134 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18135 (stackinfo_sub_sp): Likewise.
18136
70bc83b9
L
181372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18138
18139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18140 RAX_LP.
18141
9bc0b730
L
181422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18143
18144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18145 into R*_LP.
18146
6d2850e7
L
181472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18150 sizes into R*_LP.
18151
3cb84561
L
181522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18155
54e2ed81
L
181562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18157
18158 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18159 into R11_LP and load __x86_64_shared_cache_size_half into
18160 R8_LP.
18161
8a17f349
L
181622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18163
18164 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18165 R8_LP.
18166
777b1eea
AZ
181672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18168
18169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18170 logb for POWER7.
18171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18172 logbf for POWER7.
18173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18174 logbl for POWER7.
18175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18176 powerpc32/power7/fpu/s_logb.c via #include.
18177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18178 powerpc32/power7/fpu/s_logbf.c via #include.
18179 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18180 powerpc32/power7/fpu/s_logbl.c via #include.
18181
d20d4ac2
JM
181822012-05-15 Joseph Myers <joseph@codesourcery.com>
18183
18184 * README.libm: Remove file.
18185
6cdef1ab
L
181862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18187
18188 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18189 count for x32. Use R*_LP and omit operand-size suffix.
18190
0b254d8f
L
181912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18192
18193 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18194 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18195 * sysdeps/x86_64/x32/shlib-versions: New file.
18196
ceb809dc
RM
181972012-05-14 Roland McGrath <roland@hack.frob.com>
18198
18199 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18200 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18201 Use _dl_fatal_printf instead.
18202
37f1abd4
JM
182032012-05-14 Joseph Myers <joseph@codesourcery.com>
18204
18205 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18206 set if not set by the user. Do not allow for being unset.
18207 * sysdeps/unix/sysv/linux/configure: Regenerated.
18208
11de3a33
L
182092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18210
18211 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18212 the `q' suffix from lea and replace .quad with ASM_ADDR.
18213
e02f153a
L
182142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18215
18216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18217 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18218 instead of $17.
18219 (PTR_DEMANGLE): Likewise.
18220
520ae0fd
L
182212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18222
18223 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18224 (LP_OP): Likewise.
18225 (ASM_ADDR): Likewise.
18226 (RAX_LP): Likewise.
18227 (RBP_LP): Likewise.
18228 (RBX_LP): Likewise.
18229 (RCX_LP): Likewise.
18230 (RDI_LP): Likewise.
18231 (RSI_LP): Likewise.
18232 (RSP_LP): Likewise.
18233 (R8_LP): Likewise.
18234 (R9_LP): Likewise.
18235 (R10_LP): Likewise.
18236 (R10_LP): Likewise.
18237 (R11_LP): Likewise.
18238 (R12_LP): Likewise.
18239 (R13_LP): Likewise.
18240 (R14_LP): Likewise.
18241 (R15_LP): Likewise.
18242
b985be81
L
182432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18244
18245 * sysdeps/x86_64/x32/dl-machine.h: New file.
18246
6a4888ff
AJ
182472012-05-14 Andreas Jaeger <aj@suse.de>
18248
18249 * manual/Makefile (subdir): Remove export of subdir.
18250 (all): Remove target.
18251 (.PHONY): Remove all from list.
18252 (mkinstalldirs): Remove.
18253 (.PHONY): Remove installdirs from list.
18254 ($(inst_infodir)/libc.info): Use make-target-directory.
18255 (installdirs): Remove.
18256 (subdir_%): Remove.
18257 (glibc-targets): Remove.
18258 (lib): Remove.
18259 (stubs): Remove.
18260 ($(objpfx)stubs ../po/manual.pot): Remove.
18261 ($(objpfx)stamp%): Remove.
18262 (make-target-directory): Remove.
18263 (subdir_install): Remove.
18264 (routines): Remove.
18265 (aux): Remove.
18266 (sources): Remove.
18267 (objects): Remove.
18268 (headers): Remove.
18269
18270 [BZ #13750]
18271 * manual/.gitignore: Remove, it's not needed anymore.
18272 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18273 all files in it.
18274 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18275 directory.
18276 (texis): Renamed to $(objpfx)texis.
18277 (texis-path): New, contains path to generated files.
18278 (chapters.%): Use texis-path for complete path, add extra argument
18279 libc-texinfo.sh.
18280 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18281 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18282 (summary,texi, stamp-summary): Use complete path of
18283 files. Generate files in build dir.
18284 (dir-add.texi): Build in build dir.
18285 (libm-err.texi,stamp-libm-err): Likewise.
18286 (version.texi, stamp-version): Likewise.
18287 (.%c.texi): Likewise.
18288 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18289 (mostlyclean): Remove target.
18290 (realclean): Remove target.
18291 (generated): Add new variable with contents from mostlyclean and
18292 realclean, remove entries duplicated in common-mostlyclean, add
18293 stamp-libm-err and stamp-version.
18294 (generated-dirs): Add libc directory.
18295 ($(inst_infodir)/libc.info): Install files from build dir.
18296
18297 * manual/install.texi (Configuring and compiling): Adjust since
18298 the info files are not part of the tar ball anymore.
18299
7ac77294
AJ
183002012-05-14 Andreas Jaeger <aj@suse.de>
18301
18302 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18303 variable.
18304
ffb7875d
JM
183052012-05-14 Joseph Myers <joseph@codesourcery.com>
18306
18307 [BZ #13717]
18308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18309 to 2.2.0 where earlier.
18310 * sysdeps/unix/sysv/linux/configure: Regenerated.
18311 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18312 Remove conditional code.
18313 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18314 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18315 Remove conditional code.
18316 [!__NR_lchown]: Likewise.
18317 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18318 [__NR_lchown]: Likewise.
18319 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18320 comment referencing __ASSUME_LCHOWN_SYSCALL.
18321 * sysdeps/unix/sysv/linux/i386/sigaction.c
18322 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18323 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18324 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18325 Remove conditional code.
18326 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18327 (__protocol_available): Remove #if 0 code.
18328 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18329 conditional code.
18330 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18331 * sysdeps/unix/sysv/linux/kernel-features.h
18332 (__ASSUME_GETCWD_SYSCALL): Don't define.
18333 (__ASSUME_REALTIME_SIGNALS): Likewise.
18334 (__ASSUME_PREAD_SYSCALL): Likewise.
18335 (__ASSUME_PWRITE_SYSCALL): Likewise.
18336 (__ASSUME_POLL_SYSCALL): Likewise.
18337 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18338 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18339 non-SPARC.
18340 (__ASSUME_SIOCGIFNAME): Don't define.
18341 (__ASSUME_MSG_NOSIGNAL): Likewise.
18342 (__ASSUME_SENDFILE): Define unconditionally.
18343 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18344 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18345 conditional code.
18346 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18347 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18348 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18349 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18350 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18351 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18352 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18366 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18369 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18377 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18378 Remove conditional code.
18379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18380 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18381 Remove conditional code.
18382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18383 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18384 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18385 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18386 Remove conditional code.
18387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18388 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18389 Remove conditional code.
18390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18391 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18392 Remove conditional code.
18393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18394 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18395 Remove conditional code.
18396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18397 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18398 Remove conditional code.
18399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18400 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18403 * sysdeps/unix/sysv/linux/sigaction.c
18404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18406 * sysdeps/unix/sysv/linux/sigpending.c
18407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18409 * sysdeps/unix/sysv/linux/sigprocmask.c
18410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18412 * sysdeps/unix/sysv/linux/sigsuspend.c
18413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18416 (__libc_missing_rt_sigs): Remove.
18417 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18418 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18419 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18420 Remove conditional code.
18421 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18422 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18423 return 1.
18424 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18425 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18426 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18427 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18428
1bfb7291
AJ
184292012-05-14 Andreas Jaeger <aj@suse.de>
18430
caae5a81
AJ
18431 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18432 it's not used in glibc.
18433 (__coshm1): Likewise.
18434 (__acosh1p): Likewise.
18435 (__sgn): Likewise.
18436
1bfb7291
AJ
18437 * manual/string.texi (Copying and Concatenation): Add missing
18438 variable in concat example.
18439 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18440
c044d724
L
184412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18442
144c5467 18443 [BZ #14103]
c044d724
L
18444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18445 __builtin_clzl with __builtin_clzll.
18446
2523c62b
L
184472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18448
18449 [BZ #14104]
18450 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18451 libc_freeres_ptr.
18452
d7bb4c42
LD
184532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18454
18455 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18456 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18457 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18458 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18459
9dc4e1fb
MF
184602012-05-14 Mike Frysinger <vapier@gentoo.org>
18461
18462 * NEWS: Update ia64 info.
18463
c7df0112
AS
184642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18465
18466 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18467 used as bcopy.
18468
dc70356c
TS
184692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18470
18471 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18472 * sysdeps/unix/syscalls.list (dup3): Likewise.
18473 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18474 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18475
9fb1a21f
L
184762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18479 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18480
4822a2a5
L
184812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18482
18483 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18484 thread pointer.
18485 (TLS_IE): Use mov/add instead of movq/addq to load thread
18486 pointer.
18487 (TLS_GD_PREFIX): New.
18488 (TLS_GD): Use it.
18489
842b81d6
DM
184902012-05-11 David S. Miller <davem@davemloft.net>
18491
18492 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18493 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18494 (_FPU_SETCW): Likewise.
18495
1cf463cd
L
184962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18499 is 32-byte aligned.
18500
60cc4a18
AS
185012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18502
18503 [BZ #11837]
18504 * iconvdata/gb18030.c: Update tables.
18505 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18506 characters specially.
18507 (BODY for TO_LOOP): Add encoding of missing ranges.
18508
febb44a4
TS
185092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18510
18511 [BZ #13673]
18512 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18513 * sysdeps/mach/hurd/dup3.c: Likewise.
18514 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18515 * sysdeps/powerpc/memmove.c:: Likewise.
18516
0a10fb9e
L
185172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18520 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18521
df8a552f
L
185222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 * elf/elf.h (R_X86_64_RELATIVE64): New.
18525 (R_X86_64_NUM): Updated.
18526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18527 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18528 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18529 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18530 tst-quad1pie tst-quad2pie
18531 (modules-names): Add tst-quadmod1 tst-quadmod2.
18532 ($(objpfx)tst-quad1): New dependency.
18533 ($(objpfx)tst-quad2): Likewise.
18534 ($(objpfx)tst-quad1pie): Likewise.
18535 ($(objpfx)tst-quad2pie): Likewise.
18536 * sysdeps/x86_64/tst-quad1.c: New file.
18537 * sysdeps/x86_64/tst-quad1pie.c: New file.
18538 * sysdeps/x86_64/tst-quad2.c: Likewise.
18539 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18540 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18541 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18542 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18543 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18544
f34d6f84
ST
185452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18546
f42d41d1
ST
18547 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18548 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18549 * streams/stropts.h (t_scalar_t): Define type.
18550
3c3571fc
ST
18551 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18552 (_PATH_PRESERVE): Set to "/var/lib".
18553 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18554
61f06bd3
ST
18555 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18556 instead of int.
18557
918d4d71
ST
18558 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18559 if __dir_mkfile succeeded.
18560
f34d6f84
ST
18561 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18562 checking for _hurd_dtablesize. Unlock it right after having
18563 finished _hurd_dtable allocation.
18564
10589b4a
TS
185652012-05-10 Thomas Schwinge <thomas@schwinge.name>
18566
674cdbc7
TS
18567 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18568 * sysdeps/mach/hurd/configure: Regenerated.
18569 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18570 special-casing to...
18571 * sysdeps/gnu/configure.in: ... this new file.
18572 * sysdeps/unix/sysv/linux/configure: Regenerated.
18573 * sysdeps/gnu/configure: New generated file.
18574
8e41b99f
TS
18575 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18576 for Linux: use nsec instead of usec, as well as:
18577 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18578 members of type struct timespec.
18579 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18580 New macros.
18581 (struct stat64): Likewise.
18582 (_STATBUF_ST_NSEC): New macro.
18583 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18584
10589b4a
TS
18585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18586 __strtoul_internal rather than strtoul.
18587
63643c85
PT
185882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18589
18590 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18591 and reject them.
18592
3faebe6a
ST
185932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18594
18595 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18596 which preserves existing values.
18597 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18598
c6474b07
PT
185992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18600
18601 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18602 TIMEOUT values. Return EINVAL for NFDS values either negative or
18603 greater than FD_SETSIZE.
18604
1043890b
ST
186052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18606
18607 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18608 allocated, call __vm_protect to finish enabling the existing space, and
18609 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18610 allocate the remainder.
18611
37ed8b9b
PT
186122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18613
18614 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18615 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18616
db653660
ST
186172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18618
37ed8b9b
PT
18619 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18620 sysdeps/mach/hurd/readlink.c.
b29d4053 18621
db653660
ST
18622 * posix/tst-sysconf.c (posix_options): Only use
18623 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18624 _POSIX_SYNCHRONIZED_IO when they are defined
18625 * sysdeps/mach/hurd/bits/posix_opt.h:
18626 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18627 (_XOPEN_REALTIME): Undefine macro.
18628 (_XOPEN_REALTIME_THREADS): Undefine macro.
18629 (_XOPEN_SHM): Undefine macro.
18630 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18631 macro to -1.
18632 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18633 macro to -1.
18634 (_POSIX_ASYNC_IO): Undefine macro.
18635 (_POSIX_PRIORITIZED_IO): Undefine macro.
18636 (_POSIX_SPIN_LOCKS): Define macro to -1.
18637
ee16e894
ST
18638 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18639 SA_NODEFER, SA_RESETHAND.
18640 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18641 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18642 F_DUPFD_CLOEXEC.
18643
6103ae3b
TS
186442012-05-10 Thomas Schwinge <thomas@schwinge.name>
18645
18646 * elf/Makefile (pldd-modules): Define unconditionally.
18647
80b4e5f3
TS
186482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18649
18650 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18651
edadcbd6
ST
186522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18653
18654 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18655 Return ENOENT when name is empty.
18656 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18657
80694780
TS
186582012-05-10 Thomas Schwinge <thomas@schwinge.name>
18659
1792c087
TS
18660 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18661
80694780
TS
18662 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18663
6b645f0d
ST
186642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18665
80694780
TS
18666 Fix mlock in all cases except non-readable pages.
18667 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18668 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18669
6b645f0d
ST
18670 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18671 (__mkdir): When path is `/', just fail with EEXIST.
18672 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18673
e468f8a3
TS
186742012-05-10 Thomas Schwinge <thomas@schwinge.name>
18675
18676 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18677 <sys/uio.h> (for writev).
18678 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18679 and <sys/param.h> (for MIN).
18680
a4186cff
PT
186812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18682
18683 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18684 REQUESTED_TIME. Properly set the remaining time and return EINTR
18685 if interrupted.
18686
510bbf14
TS
186872012-05-10 Thomas Schwinge <thomas@schwinge.name>
18688
18689 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18690 Depend on against $(link-rpcuserlibs).
18691
5d5722e8
ST
186922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18693
a4186cff
PT
18694 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18695 (__libc_stack_end): Do not use attribute_relro.
18696 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18697 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18698 to libthread-provided value.
a4186cff
PT
18699 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18700 attribute_relro.
5d5722e8 18701
37233df9
TS
187022012-05-10 Thomas Schwinge <thomas@schwinge.name>
18703
be971a2b
TS
18704 [BZ #3748]
18705 * bits/libc-lock.h (__libc_once_get): New macro.
18706 * sysdeps/mach/bits/libc-lock.h: Likewise.
18707 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18709 instead of using implementation details.
18710
37233df9
TS
18711 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18712 * libio/freopen.c: Likewise.
18713 * libio/freopen64.c: Likewise.
18714 * misc/syslog.c: Likewise.
18715 * nscd/connections.c: Likewise.
18716 * nscd/netgroupcache.c: Likewise.
18717 * sysdeps/posix/getcwd.c: Likewise.
18718
38de94a5
RM
187192012-05-10 Roland McGrath <roland@hack.frob.com>
18720
18721 * math/w_ilogbf.c: Add #include <limits.h>.
18722
67530489
ST
187232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18724
a4186cff 18725 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18726 path instead of returning without unlocking.
18727
67530489
ST
18728 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18729 immediate-write ioctls.
18730 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18731
5aa3a74a
TS
187322012-05-10 Thomas Schwinge <thomas@schwinge.name>
18733
18bad2ae
TS
18734 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18735 __builtin_frame_address instead of making assumptions about the
18736 location of the return address relative to DATA. Force early load of
18737 the return address.
18738 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18739 __builtin_frame_address.
18740
5aa3a74a
TS
18741 dup3 for GNU Hurd.
18742 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18743 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18744 implement dup3 and do some further code clean-ups.
18745 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18746 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18747
ecd0de9a
ST
187482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18749
cd9fa985
ST
18750 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18751
a4186cff
PT
18752 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18753 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18754 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18755 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18756 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18757 d->port.lock.
802ca5a5 18758
a4186cff
PT
18759 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18760 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18761 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18762
bcf55240
TS
187632012-05-10 Thomas Schwinge <thomas@schwinge.name>
18764
6960eb42
TS
18765 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18766 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18767 definitions.
18768
eb43375f
TS
18769 accept4 for GNU Hurd.
18770 * include/sys/socket.h (__libc_accept4): New prototype.
18771 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18772 to implement __libc_accept4.
18773 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18774 __libc_accept4.
18775 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18776
bcf55240
TS
18777 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18778 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18779 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18780 signal-defines.sym.
18781
6178c55b
ST
187822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18783
a4186cff 18784 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18785
6f080c2f
TS
187862012-05-10 Thomas Schwinge <thomas@schwinge.name>
18787
18788 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18789 assertion on O_CLOEXEC flag.
18790 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18791 * hurd/intern-fd.c: Likewise.
18792 * hurd/port2fd.c: Likewise.
18793
bcfe3a54
ST
187942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18795
18796 [BZ #3906]
18797 * bits/in.h (IPV6_PKTINFO): Define new macro.
18798 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18799
89c9aa49
AZ
188002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18801
18802 [BZ #13954]
18803 [BZ #13955]
18804 [BZ #13956]
18805 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18807 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18810 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18811 * math/libm-test.inc (logb_test) : Additional logb tests.
18812
021db4be
AJ
188132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18814 Andreas Jaeger <aj@suse.de>
18815
18816 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18817 * configure: Regenerated.
18818 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18819 * config.make.in (link-obsolete-rpc): New substituted variable.
18820 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18821 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18822 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18823 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18824 so that libc.a contains the symbols.
18825 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18826 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18827 * sunrpc/auth_none.c: Likewise.
18828 * sunrpc/auth_unix.c: Likewise.
18829 * sunrpc/authdes_prot.c: Likewise.
18830 * sunrpc/authuxprot.c: Likewise.
18831 * sunrpc/clnt_gen.c: Likewise.
18832 * sunrpc/clnt_perr.c: Likewise.
18833 * sunrpc/clnt_raw.c: Likewise.
18834 * sunrpc/clnt_simp.c: Likewise.
18835 * sunrpc/clnt_tcp.c: Likewise.
18836 * sunrpc/clnt_udp.c: Likewise.
18837 * sunrpc/clnt_unix.c: Likewise.
18838 * sunrpc/des_crypt.c: Likewise.
18839 * sunrpc/des_soft.c: Likewise.
18840 * sunrpc/get_myaddr.c: Likewise.
18841 * sunrpc/key_call.c: Likewise.
18842 * sunrpc/key_prot.c: Likewise.
18843 * sunrpc/netname.c: Likewise.
18844 * sunrpc/pm_getmaps.c: Likewise.
18845 * sunrpc/pm_getport.c: Likewise.
18846 * sunrpc/pmap_clnt.c: Likewise.
18847 * sunrpc/pmap_prot.c: Likewise.
18848 * sunrpc/pmap_prot2.c: Likewise.
18849 * sunrpc/pmap_rmt.c: Likewise.
18850 * sunrpc/publickey.c: Likewise.
18851 * sunrpc/rpc_cmsg.c: Likewise.
18852 * sunrpc/rpc_common.c: Likewise.
18853 * sunrpc/rpc_dtable.c: Likewise.
18854 * sunrpc/rpc_prot.c: Likewise.
18855 * sunrpc/rpc_thread.c: Likewise.
18856 * sunrpc/rtime.c: Likewise.
18857 * sunrpc/svc.c: Likewise.
18858 * sunrpc/svc_auth.c: Likewise.
18859 * sunrpc/svc_raw.c: Likewise.
18860 * sunrpc/svc_run.c: Likewise.
18861 * sunrpc/svc_tcp.c: Likewise.
18862 * sunrpc/svc_udp.c: Likewise.
18863 * sunrpc/svc_unix.c: Likewise.
18864 * sunrpc/svcauth_des.c: Likewise.
18865 * sunrpc/xcrypt.c: Likewise.
18866 * sunrpc/xdr.c: Likewise.
18867 * sunrpc/xdr_array.c: Likewise.
18868 * sunrpc/xdr_float.c: Likewise.
18869 * sunrpc/xdr_intXX_t.c: Likewise.
18870 * sunrpc/xdr_mem.c: Likewise.
18871 * sunrpc/xdr_rec.c: Likewise.
18872 * sunrpc/xdr_ref.c: Likewise.
18873 * sunrpc/xdr_sizeof.c: Likewise.
18874 * sunrpc/xdr_stdio.c: Likewise.
18875
b5c086a2
RM
188762012-05-10 Roland McGrath <roland@hack.frob.com>
18877
18878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18879 change. Update copyright years.
18880
6d74dd09
JM
188812012-05-10 Joseph Myers <joseph@codesourcery.com>
18882
18883 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18884
28e72501
MK
188852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18886 Joseph Myers <joseph@codesourcery.com>
18887 Paul Pluzhnikov <ppluzhnikov@google.com>
18888
18889 [BZ #14012]
18890 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18891 requiring rpcgen.
18892 [cross-compiling] (extra-libs): Likewise.
18893 [cross-compiling] (extra-libs-others): Likewise.
18894 [cross-compiling] (librpcsvc-routines): Likewise.
18895 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18896 [cross-compiling] (omit-deps): Likewise.
18897 (sunrpc-CPPFLAGS): New variable.
18898 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18899 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18900 (cross-rpcgen-objs): New variable.
18901 (extra-objs): Append $(cross-rpcgen-objs).
18902 ($(cross-rpcgen-objs)): New rule.
18903 ($(objpfx)cross-rpcgen): Likewise.
18904 (rpcgen-cmd): Define to use $(built-program-file). Expand
18905 comment.
18906 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18907 ($(objpfx)x%.stmp): Likewise.
18908 * sunrpc/proto.h [IS_IN_build] (_): Define.
18909 [IS_IN_build] (_libc_intl_domainname): Likewise.
18910
c8c59454
L
189112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18912
18913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18914 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18915 and R_X86_64_TPOFF64.
18916
6f27cd16
JM
189172012-05-10 Joseph Myers <joseph@codesourcery.com>
18918
18919 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18920 sysdeps/unix/sysv/syscalls.list.
18921 (stime): Likewise.
18922 (utime): Likewise.
18923 * sysdeps/unix/sysv/syscalls.list: Remove file.
18924
02467e1c
PE
189252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18926
18927 [BZ #3440]
18928 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18929 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18930 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18931 (__LC_IDENTIFICATION): Make these macros useful in #if
18932 expressions, as required by C99.
18933
da392631
AS
189342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18935
18936 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18937 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18938 after this.
18939
8115f29b
L
189402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18941
18942 * stdlib/longlong.h: Updated from GCC.
18943
bdd74070
AJ
189442012-05-09 Andreas Jaeger <aj@suse.de>
18945
edfe0dbe
AJ
18946 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18947 default is first entry.
18948 (run_mode): Set type.
18949 (main): Remove informal message about syslog.
18950 (options): Fix typo.
18951
bcfe3a54
ST
18952 [BZ #14053]
18953 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18954 to asm.
bcfe3a54
ST
18955 (lrint): Likewise.
18956 (llrintf): Likewise.
18957 (llrint): Likewise.
18958 (rint): Likewise.
18959 (rintf): Likewise.
18960 (nearbyint): Likewise.
18961 (nearbyintf): Likewise.
bdd74070 18962
91d8d69e
AJ
189632012-05-09 Andreas Jaeger <aj@suse.de>
18964 Pedro Alves <palves@redhat.com>
18965
18966 * nscd/nscd.c (run_mode): Use enum.
18967 (main): Cleanup coding style issue.
18968
bb90b80b
AJ
189692012-05-09 Alexandre Oliva <aoliva@redhat.com>
18970 Andreas Jaeger <aj@suse.de>
18971
bcfe3a54
ST
18972 * nscd/nscd.c (go_background): Replaced with...
18973 (run_mode): ... this.
bb90b80b 18974 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18975 (options): Add -F --foreground.
18976 (main): Implement it.
18977 (parse_opt): Parse it.
bb90b80b 18978
1a4b75a1
AJ
189792012-05-09 Andreas Jaeger <aj@suse.de>
18980
18981 [BZ #14083]
18982 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18983 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18984 -Wconversion warning.
18985 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18986 Likewise.
18987
b1cc2472
JM
189882012-05-09 Joseph Myers <joseph@codesourcery.com>
18989
18990 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18991 == 0.
18992 (LC_ALL): Use macro-int-constant.
18993 (LC_COLLATE): Likewise.
18994 (LC_CTYPE): Likewise.
18995 (LC_MESSAGES): Likewise.
18996 (LC_MONETARY): Likewise.
18997 (LC_NUMERIC): Likewise.
18998 (LC_TIME): Likewise.
18999 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19000 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19002 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19003 Specify type.
19004 [C99-based standards] (float_t): Expect type.
19005 [C99-based standards] (double_t): Expect type.
19006 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19007 type.
19008 [C99-based standards] (HUGE_VALL): Likewise.
19009 [C99-based standards] (INFINITY): Likewise.
19010 [C99-based standards] (NAN): Likewise.
19011 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19012 [C99-based standards] (FP_NAN): Likewise.
19013 [C99-based standards] (FP_NORMAL): Likewise.
19014 [C99-based standards] (FP_SUBNORMAL): Likewise.
19015 [C99-based standards] (FP_ZERO): Likewise.
19016 [C99-based standards] (FP_FAST_FMA): Use
19017 optional-macro-int-constant. Specify type. Require == 1.
19018 [C99-based standards] (FP_FAST_FMAF): Likewise.
19019 [C99-based standards] (FP_FAST_FMAL): Likewise.
19020 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19021 [C99-based standards] (FP_ILOGBNAN): Likewise.
19022 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19023 Specify type.
19024 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19025 [C99-based standards] (math_errhandling): Specify type.
19026 [ISO99 || ISO11] (signgam): Do not allow.
19027 [non-C99-based standards] (copysignf): Do not allow.
19028 [non-C99-based standards] (exp2f): Likewise.
19029 [non-C99-based standards] (log2f): Likewise.
19030 [non-C99-based standards] (modff): Allow.
19031 [non-C99-based standards] (erff): Do not allow.
19032 [non-C99-based standards] (erfcf): Likewise.
19033 [non-C99-based standards] (gammaf): Likewise.
19034 [non-C99-based standards] (hypotf): Likewise.
19035 [non-C99-based standards] (j0f): Likewise.
19036 [non-C99-based standards] (j1f): Likewise.
19037 [non-C99-based standards] (jnf): Likewise.
19038 [non-C99-based standards] (lgammaf): Likewise.
19039 [non-C99-based standards] (tgammaf): Likewise.
19040 [non-C99-based standards] (y0f): Likewise.
19041 [non-C99-based standards] (y1f): Likewise.
19042 [non-C99-based standards] (ynf): Likewise.
19043 [non-C99-based standards] (isnanf): Likewise.
19044 [non-C99-based standards] (acoshf): Likewise.
19045 [non-C99-based standards] (asinhf): Likewise.
19046 [non-C99-based standards] (atanhf): Likewise.
19047 [non-C99-based standards] (cbrtf): Likewise.
19048 [non-C99-based standards] (expm1f): Likewise.
19049 [non-C99-based standards] (ilogbf): Likewise.
19050 [non-C99-based standards] (log1pf): Likewise.
19051 [non-C99-based standards] (logbf): Likewise.
19052 [non-C99-based standards] (nextafterf): Likewise.
19053 [non-C99-based standards] (remainderf): Likewise.
19054 [non-C99-based standards] (rintf): Likewise.
19055 [non-C99-based standards] (scalbf): Likewise.
19056 [non-C99-based standards] (copysignl): Likewise.
19057 [non-C99-based standards] (exp2l): Likewise.
19058 [non-C99-based standards] (log2l): Likewise.
19059 [non-C99-based standards] (modfl): Allow.
19060 [non-C99-based standards] (erfl): Do not allow.
19061 [non-C99-based standards] (erfcl): Likewise.
19062 [non-C99-based standards] (gammal): Likewise.
19063 [non-C99-based standards] (hypotl): Likewise.
19064 [non-C99-based standards] (j0l): Likewise.
19065 [non-C99-based standards] (j1l): Likewise.
19066 [non-C99-based standards] (jnl): Likewise.
19067 [non-C99-based standards] (lgammal): Likewise.
19068 [non-C99-based standards] (tgammal): Likewise.
19069 [non-C99-based standards] (y0l): Likewise.
19070 [non-C99-based standards] (y1l): Likewise.
19071 [non-C99-based standards] (ynl): Likewise.
19072 [non-C99-based standards] (isnanl): Likewise.
19073 [non-C99-based standards] (acoshl): Likewise.
19074 [non-C99-based standards] (asinhl): Likewise.
19075 [non-C99-based standards] (atanhl): Likewise.
19076 [non-C99-based standards] (cbrtl): Likewise.
19077 [non-C99-based standards] (expm1l): Likewise.
19078 [non-C99-based standards] (ilogbl): Likewise.
19079 [non-C99-based standards] (log1pl): Likewise.
19080 [non-C99-based standards] (logbl): Likewise.
19081 [non-C99-based standards] (nextafterl): Likewise.
19082 [non-C99-based standards] (remainderl): Likewise.
19083 [non-C99-based standards] (rintl): Likewise.
19084 [non-C99-based standards] (scalbl): Likewise.
19085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19086 [non-C99-based standards] (FP_*): Do not allow.
19087 [C99-based standards] (FP_*): Change to
19088 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19089 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19090 allow.
19091 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19092 (SIG_ERR): Likewise.
19093 [X/Open-based standards] (SIG_HOLD): Likewise.
19094 (SIG_IGN): Likewise.
19095 (SIGABRT): Use macro-int-constant. Specify type. Require
19096 positive value.
19097 (SIGFPE): Likewise.
19098 (SIGILL): Likewise.
19099 (SIGINT): Likewise.
19100 (SIGSEGV): Likewise.
19101 (SIGTER): Likewise.
19102 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19103 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19104 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19105 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19106 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19107 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19108 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19109 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19110 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19111 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19112 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19113 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19114 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19115 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19116 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19117 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19118 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19119 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19120 [X/Open-based standards] (SIGTRAP): Likewise.
19121 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19122 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19123 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19124 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19125 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19126 allow.
19127
b9f1922d
IW
191282012-05-08 Ian Wienand <ianw@vmware.com>
19129
19130 [BZ #14080]
19131 * time/tzset.c (__tzset_parse_tz): Update default rules for
19132 daylight time changes in the Energy Policy Act of 2005.
19133
1db86e88
AJ
191342012-05-09 Andreas Jaeger <aj@suse.de>
19135
19136 [BZ #13983]
19137 * elf/ldconfig.c (parse_conf): Change string to make clear that
19138 ldconfig only issued a warning if ld.so.conf does not exist.
19139
dee4a4e3
DM
191402012-05-08 David S. Miller <davem@davemloft.net>
19141
ee0db190
DM
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19143 movxtod instead of popping the value on the stack.
19144
dee4a4e3
DM
19145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19146
6a43ec98
CD
191472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19148
19149 * config.h.in: Add HAVE_ARM_PCS_VFP.
19150
05c2c961
RMG
191512012-05-08 Roland Mc Grath <roland@hack.frob.com>
19152
bcfe3a54
ST
19153 [BZ #13979]
19154 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19155 checking but the checks are disabled for any reason.
05c2c961 19156
4b30f61a
L
191572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19158
19159 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19160 and ELF64_R_TYPE with ELFW(R_TYPE).
19161
eee2bc67
JM
191622012-05-08 Joseph Myers <joseph@codesourcery.com>
19163
7ea5391a
JM
19164 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19165 (ulimit): Likewise.
19166
eee2bc67
JM
19167 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19168 (settimeofday): Likewise.
19169
abb66a67
MF
191702012-05-08 Mike Frysinger <vapier@gentoo.org>
19171
19172 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19173 a struct th_u2 inside the union, and move tu_block/tu_code into
19174 a new th_u3 union of tu_block/tu_code inside of that. Move
19175 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19176 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19177 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19178 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19179 (th_stuff): Change to th_u1.tu_stuff.
19180 (th_data): Define.
19181 (th_msg): Change to th_u1.th_u2.tu_data.
19182
7f18b530
DM
191832012-05-07 David S. Miller <davem@davemloft.net>
19184
05760585
DM
19185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19186
7f18b530
DM
19187 [BZ #14074]
19188 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19189 (SETUP_PIC_REG): Use it.
19190 (SETUP_PIC_REG_LEAF): Use it.
19191
495fd99f
JM
191922012-05-07 Joseph Myers <joseph@codesourcery.com>
19193
19194 [BZ #13885]
19195 [BZ #13923]
19196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19197 USE_AS_EXPM1L.
19198 (EXPL_FINITE): Likewise.
19199 (FLDLOG): Likewise.
19200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19201 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19202 e_expl.S.
19203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19204 USE_AS_EXPM1L.
19205 (EXPL_FINITE): Likewise.
19206 (FLDLOG): Likewise.
19207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19208 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19209 e_expl.S.
19210 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19211 test of -max_value argument for long double.
19212 * sysdeps/i386/fpu/libm-test-ulps: Update.
19213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214
6693d694
DM
192152012-05-06 David S. Miller <davem@davemloft.net>
19216
19217 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19218 quad soft-float symbols whose references which are compiler
19219 generated.
19220 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19221
6c23e11c
JM
192222012-05-06 Joseph Myers <joseph@codesourcery.com>
19223
d8b82cad
JM
19224 [BZ #13884]
19225 [BZ #13914]
19226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19227 USE_AS_EXP10L.
19228 (EXPL_FINITE): Likewise.
19229 (FLDLOG): Likewise.
19230 (c0): Likewise.
19231 (c1): Likewise.
19232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19233 Adjust comments for base varying.
19234 (__expl_finite): Change alias to EXPL_FINITE.
19235 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19236 e_expl.S.
19237 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19238 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19240 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19241 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19242 USE_AS_EXP10L.
19243 (EXPL_FINITE): Likewise.
19244 (FLDLOG): Likewise.
19245 (c0): Likewise.
19246 (c1): Likewise.
19247 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19248 Adjust comments for base varying.
19249 (__expl_finite): Change alias to EXPL_FINITE.
19250 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19251 tests for bugs.
19252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19253
6c23e11c
JM
19254 [BZ #14064]
19255 * math/libm-test.inc (check_float_internal): Correct ulp
19256 calculation for subnormal expected results.
19257
29ba805c
AJ
192582012-05-06 Andreas Jaeger <aj@suse.de>
19259
19260 * Makeconfig (+math-flags): New, set to -frounding-math.
19261 (+cflags): Add +math-flags so that all of glibc gets compiled with
19262 it.
19263
19264 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19265
7b17aeda
JM
192662012-05-05 Joseph Myers <joseph@codesourcery.com>
19267
5779f134
JM
19268 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19269 Disable one test.
19270
41498f4d
JM
19271 [BZ #13787]
19272 [BZ #13922]
19273 [BZ #14036]
19274 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19275 (__ieee754_expl): Allow for and saturate large arguments.
19276 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19277 (u_threshold): Likewise.
19278 (__exp): Call __ieee754_exp before checking for overflow and
19279 underflow.
19280 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19281 (u_threshold): Likewise.
19282 (__expf): Call __ieee754_expf before checking for overflow and
19283 underflow.
19284 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19285 (u_threshold): Likewise.
19286 (__expl): Call __ieee754_expl before checking for overflow and
19287 underflow.
19288 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19289 (__ieee754_expl): Allow for and saturate large arguments.
19290 * math/libm-test.inc (exp_test): Add another test. Do not allow
19291 missing overflow exception on overflow.
19292 (expm1_test): Do not allow missing overflow exception on overflow.
19293
6698b8bf
JM
19294 * sysdeps/i386/fpu/e_expl.c: Move to ...
19295 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19296 rather than using inline asm.
19297 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19298 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19299 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19300
7b17aeda
JM
19301 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19302 (nice): Likewise.
19303 (poll): Likewise.
19304 (signal): Likewise.
19305 (time): Likewise.
19306 (times): Likewise.
19307
f7c85819
JM
193082012-05-04 Joseph Myers <joseph@codesourcery.com>
19309
19310 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19311 sysdeps/unix/common/syscalls.list.
19312 (fchmod): Likewise.
19313 (fchown): Likewise.
19314 (ftruncate): Likewise.
19315 (getrusage): Likewise.
19316 (gettimeofday): Likewise.
19317 (setpgid): Likewise.
19318 (setregid): Likewise.
19319 (setreuid): Likewise.
19320 (sigaction): Likewise.
19321 (truncate): Likewise.
19322 (vhangup): Likewise.
19323 * sysdeps/unix/common/syscalls.list: Remove file.
19324 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19325 * sysdeps/unix/sysv/linux/Implies: Likewise.
19326
336270d0
L
193272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19328
19329 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19331 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19332 Moved to ...
19333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19334 Here.
19335 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19336 to ...
19337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19338 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19339 to ...
19340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19341 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19342 to ...
19343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19344 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19345 to ...
19346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19347 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19348 to ...
19349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19350 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19351 to ...
19352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19353 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19354 to ...
19355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19356 Here.
19357 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19358 to ...
19359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19360 Here.
19361 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19362 to ...
19363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19365 Moved to ...
19366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19367 Here.
19368 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19369 to ...
19370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19371
d128e450
JM
193722012-05-04 Joseph Myers <joseph@codesourcery.com>
19373
fa8ee516
JM
19374 * sysdeps/unix/common/bits/dirent.h: Remove file.
19375 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19376
d128e450
JM
19377 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19378 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19379 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19380 * sysdeps/unix/bsd/isatty.c: Likewise.
19381 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19382 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19383 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19384
ff8faaf0 193852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19386
62881be4 19387 [BZ #13563]
31dc8730
AZ
19388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19389 long double comparison inaccuracies.
19390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19392
6fef930c
AS
193932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19394
19395 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19396 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19397
8f203e6c
JM
193982012-05-04 Joseph Myers <joseph@codesourcery.com>
19399
19400 [BZ #14049]
19401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19402 nonzero digits before rounding a hex value.
19403 * stdlib/tst-strtod.c (tests): Add another test.
19404
5197d9c2
AK
194052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19406
19407 * sysdeps/s390/fpu/libm-test-ulps: Update.
19408
f0c1dedf
AJ
194092012-05-03 Andreas Jaeger <aj@suse.de>
19410
19411 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19412 does not get optimized out.
19413 (malloc_opt_barrier): New.
19414
a65ef2ae 194152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19416 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19417
2b942cb7 19418 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19419 intermediate file deletion.
2b942cb7 19420 (generated): Add .symlist files.
a65ef2ae 19421
54b71e02
JM
194222012-05-03 Joseph Myers <joseph@codesourcery.com>
19423
19424 [BZ #13775]
19425 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19426 Redirect under this condition.
19427 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19428 [__USE_GNU] (__dprintf_chk): Not under this condition.
19429 [__USE_GNU] (__vdprintf_chk): Likewise.
19430 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19431 under this condition.
19432 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19433 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19434 [__USE_XOPEN2K8] (vdprintf): Likewise.
19435 [__USE_GNU] (__dprintf_chk): Not under this condition.
19436 [__USE_GNU] (__vdprintf_chk): Likewise.
19437 [__USE_GNU] (dprintf): Likewise.
19438 [__USE_GNU] (vdprintf): Likewise.
19439
d3dfcc41
RM
194402012-05-03 Roland McGrath <roland@hack.frob.com>
19441
19442 * elf/Makefile (common-generated): Set this instead of generated for
19443 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19444 $(all-built-dso)-derived lists.
19445
7ac30cc5
AJ
194462012-05-03 Andreas Jaeger <aj@suse.de>
19447
0c51e550
AJ
19448 * sysdeps/i386/fpu/libm-test-ulps: Update.
19449
7ac30cc5
AJ
19450 * FAQ: Removed.
19451 * FAQ.in: Likewise.
19452 * scripts/gen-FAQ.pl: Likewise.
19453 * manual/install.texi (Installation): Point to online location of
19454 FAQ.
19455 * Makefile (files-for-dist): Remove FAQ.
19456 (FAQ): Remove.
19457
d4c2917f
AM
194582012-05-02 Allan McRae <allan@archlinux.org>
19459
19460 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19461 (LDFLAGS-reldepmod5.so): Likewise.
19462 (LDFLAGS-reldep6mod1.so): Likewise.
19463 (LDFLAGS-reldep6mod4.so): Likewise.
19464 (LDFLAGS-reldep8mod3.so): Likewise.
19465 (LDFLAGS-unload4mod1.so): Likewise.
19466 (LDFLAGS-unload4mod2.so): Likewise.
19467 (LDFLAGS-tst-initorder): Likewise.
19468 (LDFLAGS-tst-initordera2.so): Likewise.
19469 (LDFLAGS-tst-initordera3.so): Likewise.
19470 (LDFLAGS-tst-initordera4.so): Likewise.
19471 (LDFLAGS-tst-initorderb2.so): Likewise.
19472 (LDFLAGS-noload): Likewise.
19473 (LDFLAGS-next): Likewise.
19474 (LDFLAGS-order2mod1.so): Likewise.
19475 (LDFLAGS-order2mod2.so): Likewise.
19476 (LDFLAGS-tst-initorder2): Likewise.
19477 (LDFLAGS-tst-initorder2a.so): Likewise.
19478 (LDFLAGS-tst-initorder2b.so): Likewise.
19479 (LDFLAGS-tst-initorder2c.so): Likewise.
19480 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19481
d77f993f
DM
194822012-05-02 David S. Miller <davem@davemloft.net>
19483
19484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19485
171a70b4
PP
194862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19487
19488 [BZ #14055]
19489 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19490
0be196ad
AJ
194912012-05-02 Andreas Jaeger <aj@suse.de>
19492
19493 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19494 since we manipulate rounding mode.
19495 (CPPFLAGS-test-idouble.c): Likewise.
19496 (CPPFLAGS-test-ifloat.c): Likewise.
19497 (CFLAGS-test-ldouble.c): Likewise.
19498 (CFLAGS-test-double.c): Likewise.
19499 (CFLAGS-test-float.c): Likewise.
19500 (CFLAGS-test-misc.c): Likewise.
19501 (CFLAGS-test-test-fenv.c): Likewise.
19502
4f9d04aa
AZ
195032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19504
2b942cb7
RM
19505 [BZ #2550]
19506 [BZ #2570]
19507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19508 comparisons to determine direction to adjust input.
4f9d04aa 19509
82a79e7d
RM
195102012-05-01 Roland McGrath <roland@hack.frob.com>
19511
f5a01ca9
RM
19512 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19513 output to the target.
19514
90fe4186
RM
19515 * scripts/localplt.awk: New file.
19516 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19517 (check-localplt-CFLAGS): Variable removed.
19518 ($(all-built-dso:=.jmprel)): New static pattern rule.
19519 (generated): Add those targets.
19520 (localplt-built-dso): New variable.
19521 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19522
19523 * elf/check-localplt.c: File removed.
19524
82397ed6
RM
19525 * scripts/check-execstack.awk: New file.
19526 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19527 (check-execstack-CFLAGS): Variable removed.
19528 ($(objpfx)check-execstack.h): Target removed.
19529 ($(objpfx)execstack-default): New target.
19530 (generated): Add that instead of check-execstack.h.
19531 ($(all-built-dso:=.phdr)): New static pattern rule.
19532 (generated): Add those targets.
19533 * elf/check-execstack.c: File removed.
19534
82a79e7d
RM
19535 * scripts/check-textrel.awk: New file.
19536 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19537 (check-textrel-CFLAGS): Variable removed.
19538 (all-built-dso): Use := to define.o
19539 ($(all-built-dso:=.dyn)): New static pattern rule.
19540 (generated): Add those targets.
19541 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19542 * config.make.in (READELF): New substituted variable.
19543 * elf/check-textrel.c: File removed.
19544
62fde54f 195452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19546
615605c9
JM
19547 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19548 allow.
19549 * conform/data/ctype.h-data [C99-based standards] (isblank):
19550 Expect function.
19551 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19552 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19554 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19555 Specify type. Require positive value.
19556 (EILSEQ): Likewise.
19557 (ERANGE): Likewise.
19558 [ISO || POSIX] (EILSEQ): Do not expect.
19559 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19560 Specify type. Require positive value.
19561 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19578 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19579 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19598 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19601 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19602 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19603 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19604 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19606 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19607 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19608 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19609 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19610 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19611 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19612 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19613 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19614 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19615 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19616 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19617 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19618 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19619 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19620 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19621 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19622 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19623 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19624 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19625 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19626 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19627 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19628 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19629 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19630 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19631 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19632 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19633 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19634 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19635 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19636 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19637 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19638 Require >= 2.
19639 (FLT_ROUNDS): Expect as macro, not constant.
19640 (FLT_MANT_DIG): Use macro-int-constant.
19641 (DBL_MANT_DIG): Likewise.
19642 (LDBL_MANT_DIG): Likewise.
19643 (FLT_DIG): Likewise.
19644 (DBL_DIG): Likewise.
19645 (LDBL_DIG): Likewise.
19646 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19647 (DBL_MIN_EXP): Likewise.
19648 (LDBL_MIN_EXP): Likewise.
19649 (FLT_MAX_EXP): Use macro-int-constant.
19650 (DBL_MAX_EXP): Likewise.
19651 (LDBL_MAX_EXP): Likewise.
19652 (FLT_MAX_10_EXP): Likewise.
19653 (DBL_MAX_10_EXP): Likewise.
19654 (LDBL_MAX_10_EXP): Likewise.
19655 (FLT_MAX): Use macro-constant.
19656 (DBL_MAX): Likewise.
19657 (LDBL_MAX): Likewise.
19658 (FLT_EPSILON): Use macro-constant. Give upper bound.
19659 (DBL_EPSILON): Likewise.
19660 (LDBL_EPSILON): Likewise.
19661 (FLT_MIN): Likewise.
19662 (DBL_MIN): Likewise.
19663 (LDBL_MIN): Likewise.
19664 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19665 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19666 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19667 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19668 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19669 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19670 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19671 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19672 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19673 [ISO11] (FLT_TRUE_MIN): Likewise.
19674 [ISO11] (LDBL_TRUE_MIN): Likewise.
19675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19676 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19677 (SCHAR_MIN): Use macro-int-constant. Specify type.
19678 (SCHAR_MAX): Likewise.
19679 (UCHAR_MAX): Likewise.
19680 (CHAR_MIN): Likewise.
19681 (CHAR_MAX): Likewise.
19682 (MB_LEN_MAX): Use macro-int-constant.
19683 (SHRT_MIN): Use macro-int-constant. Specify type.
19684 (SHRT_MAX): Likewise.
19685 (USHRT_MAX): Likewise.
19686 (INT_MAX): Likewise.
19687 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19688 bound negative.
19689 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19690 bound with "U".
19691 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19692 bound with "L".
19693 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19694 bound negative. Suffix upper bound with "L".
19695 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19696 bound with "UL".
19697 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19698 Specify type.
19699 [C99-based standards] (LLONG_MAX): Likewise.
19700 [C99-based standards] (ULLONG_MAX): Likewise.
19701 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19702 == 0.
19703 [ISO11] (max_align_t): Require type.
19704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19705
c9140a62
JM
19706 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19707 from $CFLAGS, without defining away __attribute__ calls.
19708 (checknamespace): Use $CFLAGS_namespace.
19709
9af0bf29
JM
19710 * conform/conformtest.pl (@keywords): Only include C99 keywords
19711 for standards based on C99 or C11.
19712
343222a2
JM
19713 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19714 Disable tests.
19715 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19716 UNIX98]: Likewise.
19717
661f8cf0
JM
19718 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19719 usability of symbols in #if.
19720
ee74b9cb
JM
19721 * conform/conformtest.pl: If macro or constant types start
19722 "promoted:", expect the symbol to be of the following type
19723 promoted by the integer promotions.
62fde54f 19724
aafc49b3
JM
19725 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19726 in one place. Also handle "macro-constant".
19727
fefdf574
JM
19728 * conform/conformtest.pl: Only accept expected macro values with
19729 "==". Parse all "macro" lines in one place.
19730 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19731
f2d922fe
JM
19732 * conform/conformtest.pl: Handle braced types on "constant" lines
19733 instead of handling "typed-constant".
19734 * conform/data/signal.h-data: Use "constant" instead of
19735 "typed-constant".
19736
d22956c9
JM
19737 * conform/conformtest.pl: Handle "optional-" at start of lines in
19738 one place rather than duplicating several cases. Handle each
19739 format of "macro" line with initial "optional-".
19740
028e2e38
JM
19741 * conform/conformtest.pl: Only accept expected constant or
19742 optional-constant values with "==". Parse all "constant" lines in
19743 one place. Parse all "optional-constant" lines in one place.
19744 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19745 * conform/data/fmtmsg.h-data: Likewise.
19746 * conform/data/netinet/in.h-data: Likewise.
19747 * conform/data/tar.h-data: Likewise.
19748 * conform/data/limits.h-data: Use "==" form on "constant" and
19749 "optional-constant" lines.
19750
1b8f2850
JM
19751 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19752 Use -std=c99 for XOPEN2K.
19753 (@knownproblems): Remove.
19754 (newtoken): Don't check %isknown.
19755
a05a144b
JM
19756 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19757 Do not expect macro.
19758 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19770 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19771 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19788 [XPG3] (acosh): Likewise.
19789 [XPG3] (asinh): Likewise.
19790 [XPG3] (atanh): Likewise.
19791 [XPG3] (cbrt): Likewise.
19792 [XPG3] (expm1): Likewise.
19793 [XPG3] (ilogb): Likewise.
19794 [XPG3] (log1p): Likewise.
19795 [XPG3] (logb): Likewise.
19796 [XPG3] (nextafter): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19799 [XPG3] (remainder): Likewise.
19800 [XPG3] (rint): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19808 [UNIX98 || XOPEN2K] (scalb): Expect.
19809 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19810 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19902 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19903 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19904 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19905 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19906 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19907 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19908 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19910 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19911 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19912 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19913 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19914 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19915 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19916 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19917 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19919 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19920 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19921 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19922 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19923 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19924 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19925 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19926 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19927 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19928 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19929 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19930 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19931 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19932 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19933 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19934 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19935 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19936 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19937 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19938 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19939 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19940 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19941 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19942 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19943 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19944 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19945 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19946
73c5ebe3
JM
19947 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19948 _XOPEN_SOURCE_EXTENDED for XPG4.
19949
39c33b6c
JM
19950 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19951
62fde54f
JM
19952 * Makeconfig (localtime): Remove variable.
19953 (inst_localtime-file): Likewise.
19954
0741d64c
AS
199552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19956
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19958 Update.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19960 Update.
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19962 Update.
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19964 Update.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19966 Update.
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19968 Update.
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19970 Update.
19971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19972 Update.
19973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19974 Update.
19975
7cb029ee
JM
199762012-05-01 Joseph Myers <joseph@codesourcery.com>
19977
19978 [BZ #2550]
19979 [BZ #2570]
19980 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19981 comparisons to determine direction to adjust input.
19982 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19983 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19985 Likewise.
19986 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19987 Likewise.
19988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19989 Likewise.
19990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19992 Likewise.
19993 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19994 Likewise.
19995 * math/libm-test.inc (nexttoward_test): Add more tests.
19996
412bd966
AS
199972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19998
19999 [BZ #14040]
20000 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20001 in version GLIBC_2.1, not GLIBC_2.0.
20002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20003 Likewise.
20004
9568c0c2
JM
200052012-04-30 Joseph Myers <joseph@codesourcery.com>
20006
adfbc8ac
JM
20007 [BZ #13942]
20008 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20009 (1 - x) * (1 + x).
20010 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20011 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20012 * math/libm-test.inc (acos_test): Add more tests.
20013 (asin_test): Likewise.
20014 * sysdeps/i386/fpu/libm-test-ulps: Update.
20015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20016
5ba3cc69
JM
20017 [BZ #14034]
20018 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20019 of square root.
20020 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20021 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20022 * math/libm-test.inc (acos_test_tonearest): New function.
20023 (acos_test_towardzero): Likewise.
20024 (acos_test_downward): Likewise.
20025 (acos_test_upward): Likewise.
20026 (asin_test_tonearest): Likewise.
20027 (asin_test_towardzero): Likewise.
20028 (asin_test_downward): Likewise.
20029 (asin_test_upward): Likewise.
20030 (main): Call the new functions.
20031 * sysdeps/i386/fpu/libm-test-ulps: Update.
20032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20033
9568c0c2
JM
20034 [BZ #13884]
20035 [BZ #13924]
20036 * math/e_exp10.c: Include <float.h>.
20037 (__ieee754_exp10): Handle underflow here rather than multiplying
20038 large negative argument by M_LN10.
20039 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20040 of __ieee754_expf.
20041 * math/e_exp10l.c: Include <float.h>.
20042 (__ieee754_exp10l): Handle underflow here rather than multiplying
20043 large negative argument by M_LN10l.
20044 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20045 spurious overflow exception on underflow.
20046
5ac3ea17
MP
200472012-04-29 Marek Polacek <polacek@redhat.com>
20048
20049 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20050 (__fortify_function): New macro.
20051 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20052 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20053 __extern_always_inline.
20054 * libio/bits/stdio2.h: Likewise.
20055 * libio/bits/stdio.h: Likewise.
20056 * string/string.h: Likewise.
20057 * string/bits/string3.h: Likewise.
20058 * include/stdio.h: Likewise.
20059 * stdlib/bits/stdlib.h: Likewise.
20060 * stdlib/stdlib.h: Likewise.
20061 * rt/bits/mqueue2.h: Likewise.
20062 * rt/mqueue.h: Likewise.
20063 * posix/bits/unistd.h: Likewise.
20064 * posix/unistd.h: Likewise.
20065 * io/bits/poll2.h: Likewise.
20066 * io/bits/fcntl2.h: Likewise.
20067 * io/fcntl.h: Likewise.
20068 * io/sys/poll.h: Likewise.
20069 * misc/bits/syslog.h: Likewise.
20070 * misc/bits/syslog-ldbl.h: Likewise.
20071 * misc/sys/syslog.h: Likewise.
20072 * socket/bits/socket2.h: Likewise.
20073 * socket/sys/socket.h: Likewise.
20074 * debug/tst-chk1.c: Likewise.
20075 * wcsmbs/bits/wchar2.h: Likewise.
20076 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20077 * wcsmbs/wchar.h: Likewise.
20078
ecf0ebfb
AJ
200792012-04-29 Andreas Jaeger <aj@suse.de>
20080
20081 * Makerules (tests): Remove enable-check-abi protection.
20082 (check-abi-warn): Remove.
20083 (check-abi-%): Remove check-abi-warn usage.
20084
20085 * configure.in: Remove check-abi configure option.
20086 * configure: Regenerated.
20087 * config.make.in (enable-check-abi): Remove.
20088
6d5c57fa
AS
200892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20090
24c5d07e 20091 [BZ #14033]
ded5180a
AS
20092 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20093 double functions to double *_finite functions.
20094
7e0d315d
AS
20095 [BZ #13941]
20096 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20097 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20098 LDBL_MIN_EXP.
20099 * stdio-common/Makefile (tests): Add tst-sprintf3.
20100 * stdio-common/tst-sprintf3.c: New file.
20101
6d5c57fa
AS
20102 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20103 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20104
0749ff8b
JM
201052012-04-28 Joseph Myers <joseph@codesourcery.com>
20106
20107 * conform/conformtest.pl: Remove duplicate typed-constant
20108 handling.
20109
8dbd5d7b
DM
201102012-04-28 David S. Miller <davem@davemloft.net>
20111
20112 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20113 (check-abi-%): Remove AWK script prerequisite and explicit
20114 abilist directory.
20115 (check-abi): Rewrite to just diff the symlist with the abilist.
20116 (config-tls, config-abi-config): Delete, no longer used.
20117 (update-abi-%): Remove AWK script and explicit abilist directory.
20118 (update-abi): Rewrite to simply compare and conditionally copy the
20119 symlist and the sysdep abilist file. Remove update-abi-config
20120 checks.
20121 * abilist/ld.abilist: Remove.
20122 * abilist/libBrokenLocale.abilist: Remove.
20123 * abilist/libanl.abilist: Remove.
20124 * abilist/libcrypt.abilist: Remove.
20125 * abilist/libdl.abilist: Remove.
20126 * abilist/librt.abilist: Remove.
20127 * abilist/libthread_db.abilist: Remove.
20128 * abilist/libutil.abilist: Remove.
20129 * scripts/extract-abilist.awk: Remove.
20130 * scripts/merge-abilist.awk: Remove.
20131 * sysdeps/generic/libcidn.abilist: New file.
20132 * sysdeps/generic/libnss_compat.abilist: New file.
20133 * sysdeps/generic/libnss_db.abilist: New file.
20134 * sysdeps/generic/libnss_dns.abilist: New file.
20135 * sysdeps/generic/libnss_files.abilist: New file.
20136 * sysdeps/generic/libnss_hesiod.abilist: New file.
20137 * sysdeps/generic/libnss_nis.abilist: New file.
20138 * sysdeps/generic/libnss_nisplus.abilist: New file.
20139 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20140 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20141 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20142 file.
20143 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20144 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20145 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20146 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20147 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20148 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20149 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20150 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20151 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20152 file.
20153 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20154 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20155 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20156 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20157 file.
20158 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20159 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20161 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20162 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20163 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20164 file.
20165 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20167 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20168 file.
20169 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20171 New file.
20172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20173 New file.
20174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20175 New file.
20176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20177 New file.
20178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20179 New file.
20180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20181 New file.
20182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20183 New file.
20184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20185 New file.
20186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20187 New file.
20188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20189 New file.
20190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20191 New file.
20192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20193 New file.
20194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20195 New file.
20196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20197 file.
20198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20199 New file.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20201 New file.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20203 file.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20205 New file.
20206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20207 New file.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20209 file.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20211 New file.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20213 New file.
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20215 New file.
20216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20217 New file.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20219 New file.
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20221 New file.
20222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20224 file.
20225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20226 New file.
20227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20228 file.
20229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20230 file.
20231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20232 file.
20233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20234 file.
20235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20236 file.
20237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20238 New file.
20239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20240 file.
20241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20242 file.
20243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20244 New file.
20245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20246 file.
20247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20249 file.
20250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20251 New file.
20252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20253 file.
20254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20255 file.
20256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20257 file.
20258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20259 file.
20260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20261 file.
20262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20263 New file.
20264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20265 file.
20266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20267 file.
20268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20269 New file.
20270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20271 file.
20272 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20273 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20274 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20275 file.
20276 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20277 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20278 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20279 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20280 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20281 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20282 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20283 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20284 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20285 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20288 file.
20289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20290 New file.
20291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20292 file.
20293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20294 file.
20295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20296 file.
20297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20298 file.
20299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20300 file.
20301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20302 New file.
20303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20304 New file.
20305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20306 file.
20307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20308 New file.
20309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20310 file.
20311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20313 file.
20314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20315 New file.
20316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20317 file.
20318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20319 file.
20320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20321 file.
20322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20323 file.
20324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20325 file.
20326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20327 New file.
20328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20329 New file.
20330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20331 file.
20332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20333 New file.
20334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20335 file.
20336
41d73a1b
JM
203372012-04-28 Joseph Myers <joseph@codesourcery.com>
20338
20339 * conform/conformtest.pl: Fix typo in handling typed-constant from
20340 allow-header.
20341
28aeeda4
JM
203422012-04-27 Joseph Myers <joseph@codesourcery.com>
20343
adae8f5e
JM
20344 * README: Cut down references to pre-2.6 Linux kernels and
20345 Linuxthreads. Update lists of configurations in libc and ports
20346 and sort alphabetically. Say "or newer" with Linux kernel version
20347 requirements.
20348
28aeeda4
JM
20349 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20350
a462cb63
RA
203512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20352
20353 [BZ #887]
20354 * math/libm-test.inc (logb_test_downward): New test to expose
20355 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20356 rounding mode.
20357
6ad3493e
JM
203582012-04-27 Joseph Myers <joseph@codesourcery.com>
20359
20360 [BZ #14027]
20361 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20362 to be done.
20363 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20364 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20365
2ce4f015
JM
203662012-04-26 Joseph Myers <joseph@codesourcery.com>
20367
5aeb141a
JM
20368 * sysdeps/unix/i386/brk.S: Remove file.
20369 * sysdeps/unix/i386/dl-brk.S: Likewise.
20370 * sysdeps/unix/i386/pipe.S: Likewise.
20371 * sysdeps/unix/i386/sigreturn.S: Likewise.
20372 * sysdeps/unix/i386/syscall.S: Likewise.
20373 * sysdeps/unix/i386/vfork.S: Likewise.
20374 * sysdeps/unix/i386/wait.S: Likewise.
20375
7143acae
JM
20376 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20377 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20378
2ce4f015
JM
20379 * configure.in (arm*-none*): Do not allow without
20380 --enable-hacker-mode.
20381 (netbsd*): Remove case setting base_os.
20382 (386bsd*): Likewise.
20383 (freebsd*): Likewise.
20384 (bsdi*): Likewise.
20385 (osf*): Likewise.
20386 (sunos*): Likewise.
20387 (ultrix*): Likewise.
20388 (newsos*): Likewise.
20389 (dynix*): Likewise.
20390 (*bsd*): Likewise.
20391 (sysv*): Likewise.
20392 (isc*): Likewise.
20393 (esix*): Likewise.
20394 (sco*): Likewise.
20395 (minix*): Likewise.
20396 (irix4*): Likewise.
20397 (irix6*): Likewise.
20398 (solaris[2-9]*): Likewise.
20399 (none): Likewise.
20400 * configure: Regenerated.
20401
0ac229c8
AZ
204022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20403
20404 [BZ #11521]
20405 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20406 overflow or cancellation in calculating denominator.
20407 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20409 down expression to avoid unexpected rounding in newer GCCs.
20410 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20411
33f244f4
DM
204122012-04-26 David S. Miller <davem@davemloft.net>
20413
20414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20415 long-double compat symbols.
20416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20429
cfa1f3e8
DM
204302012-04-25 David S. Miller <davem@davemloft.net>
20431
20432 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20433 HWCAP_* values only after the memory barriers have been defined.
20434 (atomic_full_barrier): Define.
20435 (atomic_read_barrier): Define.
20436 (atomic_write_barrier): Define.
20437
6e236b92
SP
204382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20439
20440 * shlib-versions: Add libgcc_s version information.
20441 * sysdeps/generic/libgcc_s.h: Remove.
20442 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20443 libgcc_s.h.
20444 * sysdeps/gnu/unwind-resume.c: Likewise.
20445 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20446
aab39a09
DM
204472012-04-25 David S. Miller <davem@davemloft.net>
20448
20449 * sysdeps/unix/sparc/brk.S: Delete.
20450 * sysdeps/unix/sparc/dl-brk.S: Delete.
20451 * sysdeps/unix/sparc/pipe.S: Delete.
20452 * sysdeps/unix/sparc/sysdep.S: Delete.
20453 * sysdeps/unix/sparc/sysdep.h: Delete.
20454 * sysdeps/unix/sparc/vfork.S: Delete.
20455 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20456 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20457 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20458 ret_ERRVAL, r0, r1, MOVE): Define.
20459 (JUMPTARGET): Remove.
20460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20461 sysdeps/unix/sparc/sysdep.h
20462 (ENTRY, END): Remove.
20463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20464
a3cc4f48
JM
204652012-04-25 Joseph Myers <joseph@codesourcery.com>
20466
2ed8cda2
JM
20467 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20468 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20469 -DIS_IN_build.
20470
35d76d59
JM
20471 * timezone/README: Update upstream location and email address for
20472 tzcode and tzdata.
20473 * timezone/zdump.c: Update from tzcode 2012b.
20474 * timezone/zic.c: Likewise.
20475
a3cc4f48
JM
20476 * configure.in (libc_cv_as_needed): Remove test.
20477 * configure: Regenerated.
20478 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20479 conditional definition.
20480 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20481 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20482 * config.make.in (have-as-needed): Remove variable.
20483
ceab42c3
SP
204842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20485 Paul Pluzhnikov <ppluzhnikov@google.com>
20486
20487 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20488 strings correctly.
20489
3ce2865f
CLT
204902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20491
20492 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20493 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20494 * sysdeps/sh/strlen.S: Likewise.
20495
f37e0d68
JM
204962012-04-24 Joseph Myers <joseph@codesourcery.com>
20497
ae186e9a
JM
20498 * sysdeps/unix/fork.S: Remove file.
20499 * sysdeps/unix/i386/fork.S: Likewise.
20500 * sysdeps/unix/sparc/fork.S: Likewise.
20501
b96914af
JM
20502 * sysdeps/unix/system.c: Remove file.
20503 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20504
f37e0d68
JM
20505 * sysdeps/unix/getegid.S: Remove file.
20506 * sysdeps/unix/geteuid.S: Likewise.
20507
87ef29ca
RM
205082012-04-24 Roland McGrath <roland@hack.frob.com>
20509
83bcd236
RM
20510 * scripts/check-localplt.awk: New file.
20511 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20512 of diff.
20513 * scripts/data/localplt-generic.data: Add a comment.
20514
87ef29ca
RM
20515 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20516 NODE when __dir_mkfile failed.
20517 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20518 Reported by Ludovic Courtès <ludo@gnu.org>.
20519
e5a6e567
AJ
205202012-04-24 Andreas Jaeger <aj@suse.de>
20521
20522 * Makerules (common-clean): Also remove gen-as-const-headers
20523 files.
20524
c1820385
JM
205252012-04-24 Joseph Myers <joseph@codesourcery.com>
20526
20527 * Makerules (native-compile): Do not change working directory for
20528 build. Use $(OUTPUT_OPTION) in command.
20529 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20530
94e02fc4
AZ
205312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20532
20533 [BZ #13886]
20534 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20535 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20536 * math/libm-test.inc (floor_test): Add more tests.
20537 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20538
3a533ca3
JM
205392012-04-24 Joseph Myers <joseph@codesourcery.com>
20540
940ab4b3
JM
20541 * sysdeps/unix/getdents.c: Remove file.
20542 * sysdeps/unix/sysv/getdents.c: Likewise.
20543 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20544
90e037bd
JM
20545 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20546 sysdeps/unix/mman/syscalls.list.
20547 (mmap): Likewise.
20548 (mprotect): Likewise.
20549 (msync): Likewise.
20550 (munmap): Likewise.
20551 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20552 * sysdeps/unix/mman/syscalls.list: Remove.
20553 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20554
3a533ca3
JM
20555 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20556 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20557 * configure: Regenerated.
20558 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20559 $(libgcc_s_suffix).
20560 * config.make.in (libgcc_s_suffix): Remove variable.
20561
1ad743de
JM
205622012-04-23 Joseph Myers <joseph@codesourcery.com>
20563
4ad451e2
JM
20564 * sysdeps/unix/sysv/gethostname.c: Move to ...
20565 * sysdeps/posix/gethostname.c: ... here.
20566
5e37ce39
JM
20567 * sysdeps/unix/execve.S: Remove file.
20568
1ad743de
JM
20569 * sysdeps/unix/_exit.S: Remove file.
20570
4e681b5b
AJ
205712012-04-23 Andreas Jaeger <aj@suse.de>
20572
20573 [BZ #13739]
20574 * manual/Makefile: Remove make dist support, there's no
20575 need for a stand-alone documentation tar ball.
20576 (TEXI2DVI): Define always, it's not in Makeconfig.
20577 (dist): Removed.
20578 (tar-it): Removed.
20579 (edition): Removed.
20580 (glibc-doc-$(edition).tar): Removed
20581 (%.Z): Removed.
20582 (%.gz): Removed.
20583 (%.uu): Removed.
20584 (ETAGS): Remove, it's in Makeconfig.
20585 (move-if-change): Remove, it's in Makeconfig.
20586
38686a03 205872012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20588
20589 [BZ #13970]
20590 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20591 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20592 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20593 (strtod_l, strtof_l, strtold_l): Remove __wur.
20594 It is not necessarily an error to ignore strtol's return value.
20595 One can reliably look at the stored endptr to decide whether
20596 the number had valid syntax.
20597
7c0616fa
AJ
205982012-04-21 Andreas Jaeger <aj@suse.de>
20599
803cb6b7 20600 [BZ #13739]
7c0616fa
AJ
20601 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20602
b0fe253f
JM
206032012-04-21 Joseph Myers <joseph@codesourcery.com>
20604
20605 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20606 * sysdeps/unix/sysv/Versions: Remove file.
20607
8280f22d
MT
206082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20609
20610 [BZ #13927]
20611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20612
75ce411f 206132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20614
20615 [BZ #7064]
20616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20617 version from __vm86.
20618
097d59fa
JM
206192012-04-20 Joseph Myers <joseph@codesourcery.com>
20620
a90f3bcb
JM
20621 * sysdeps/unix/common/lxstat.c: Remove file.
20622 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20623
edc7ea78
JM
20624 * sysdeps/unix/sysv/Makefile: Remove file.
20625
cb78c221
JM
20626 * sysdeps/unix/sysv/direct.h: Remove file.
20627
efa6a45f
JM
20628 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20629 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20630 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20631 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20632 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20633 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20634 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20635
9c9f2d0c
JM
20636 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20637
4541c83b
JM
20638 * sysdeps/unix/xmknod.c: Remove file.
20639 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20640
f5d153a0
JM
20641 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20642
aa746595
JM
20643 * sysdeps/unix/sysv/i386/time.S: Remove file.
20644
cce5905e
JM
20645 * sysdeps/unix/fxstat.c: Remove file.
20646 * sysdeps/unix/xstat.c: Likewise.
20647 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20648
37fa3841
JM
20649 * sysdeps/unix/sysv/sigaction.c: Remove file.
20650
ff1962a3
JM
20651 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20652 (sysdep_headers): Remove variable.
20653 [termio.h not in sysdep_headers] (generated): Likewise.
20654 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20655 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20656 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20657 * sysdeps/unix/sysv/tcflow.c: Likewise.
20658 * sysdeps/unix/sysv/tcflush.c: Likewise.
20659 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20660 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20661 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20662 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20663 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20664
e7740d31
JM
20665 * sysdeps/unix/siglist.c: Remove file.
20666
ee06f18b
JM
20667 * sysdeps/unix/getppid.S: Remove file.
20668
097d59fa
JM
20669 * sysdeps/unix/mkdir.c: Remove file.
20670 * sysdeps/unix/rmdir.c: Likewise.
20671
ff3d51ec
AS
206722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20673
20674 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20675 ERR_MAX value.
20676 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20677 errlist-compat value.
20678
50f81fd7
DM
206792012-04-18 David S. Miller <davem@davemloft.net>
20680
20681 * sysdeps/generic/memcopy.h (reg_char): Delete.
20682 * debug/strcat_chk.c: Use char, not reg_char.
20683 * debug/strcpy_chk.c: Likewise.
20684 * debug/strncat_chk.c: Likewise.
20685 * debug/strncpy_chk.c: Likewise.
20686 * string/memchr.c: Likewise.
20687 * string/memrchr.c: Likewise.
20688 * string/rawmemchr.c: Likewise.
20689 * string/strcat.c: Likewise.
20690 * string/strchr.c: Likewise.
20691 * string/strchrnul.c: Likewise.
20692 * string/strcmp.c: Likewise.
20693 * string/strcpy.c: Likewise.
20694 * string/strncat.c: Likewise.
20695 * string/strncmp.c: Likewise.
20696 * string/strncpy.c: Likewise.
20697
8ff41c46
WS
206982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20699
20700 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20701 __builtin_memcopy is called when src and dest ranges are known to not
20702 overlap.
20703
6b652f46
WS
207042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20705
20706 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20707 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20708 fwd_align_merge macro call.
20709 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20710 bwd_align_merge macro call.
20711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20712
b282631e
WS
207132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20714
20715 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20716 bwd_align_merge macros.
20717 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20718 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20719 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20720
95aa737c
DM
207212012-04-18 David S. Miller <davem@davemloft.net>
20722
20723 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20724
7a99a614
AJ
207252012-04-18 Andreas Jaeger <aj@suse.de>
20726
20727 [BZ# 6794]
20728 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20729 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20730 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20731
20732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20733 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20735
20736 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20737 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20738 Adjust for changed ldbl-128 files.
20739
20740 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20741 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20742 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20743
e5270c23
DM
207442012-04-17 David S. Miller <davem@davemloft.net>
20745
20746 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20747
fb5e92c9
AS
207482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20749
20750 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20751 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20752 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20753 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20754 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20755 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20756
76da7265
AZ
207572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20758
20759 [BZ #6794]
20760 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20761 * math/libm-test.inc: Add ilogb errno and exception tests.
20762 * math/w_ilogb.c: New file: ilogb wrapper.
20763 * math/w_ilogbf.c: New file: ilogbf wrapper.
20764 * math/w_ilogbl.c: New file: ilogbl wrapper.
20765 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20766 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20767 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20768 exception being thrown with 0.0 as argument.
20769 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20770 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20771 exception being thrown with 0.0 as argument.
20772 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20773 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20774 exception being thrown with 0.0 as argument.
20775 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20776 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20777 exception being thrown with 0.0 as argument.
20778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20779 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20780 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20781 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20783 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20784 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20785 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20786 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20787
0396e69d
PB
207882012-04-17 Petr Baudis <pasky@ucw.cz>
20789
20790 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20791 with altivec.
20792
750b5926
MP
207932012-04-16 Marek Polacek <polacek@redhat.com>
20794
20795 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20796
751728a1
MP
207972012-04-16 Marek Polacek <polacek@redhat.com>
20798
20799 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20800 operands of fdivp instruction.
20801
34a27407
L
208022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20803
20804 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20805 * elf/tst-auditmod3b.c: Likewise.
20806 * elf/tst-auditmod4b.c: Likewise.
20807 * elf/tst-auditmod5b.c: Likewise.
20808 * elf/tst-auditmod6b.c: Likewise.
20809 * elf/tst-auditmod6c.c: Likewise.
20810 * elf/tst-auditmod7b.c: Likewise.
20811 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20812 * sysdeps/x86_64/preconfigure.in: Likewise.
20813 * sysdeps/x86_64/preconfigure: Regenerated.
20814
7e73e17d
L
208152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20816
20817 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20818 __ILP32__.
20819
c7a6ab72
AB
208202012-04-13 Antoine Balestrat <merkil33@gmail.com>
20821
20822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20823 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20824
a9e8e0e0
CL
208252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20826
20827 [BZ #13973]
20828 * locale/iso-639.def: Fix gl language name. Spotted by
20829 Yaron Shahrabani.
20830
ec98af7d
RM
208312012-04-12 Roland McGrath <roland@hack.frob.com>
20832
20833 [BZ #2074]
20834 * libio/libio.h (__io_write_fn): Update comment.
20835
247c3ede
PB
208362012-04-12 Petr Baudis <pasky@ucw.cz>
20837
20838 [BZ #2074]
20839 * stdio.texi (Hook Functions): The user provided writer function
20840 is not allowed to return -1.
20841
55939d6d
DM
208422012-04-11 David S. Miller <davem@davemloft.net>
20843
20844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20845
90020f5a
MF
208462012-04-11 Mike Frysinger <vapier@gentoo.org>
20847
20848 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20849 Add a leading slash to rtkaio.
20850
288f9098
JM
208512012-04-11 Jim Meyering <meyering@redhat.com>
20852
90020f5a
MF
20853 [BZ #11959]
20854 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20855 It is not necessarily an error to ignore fwrite's return
20856 value. One can reliably use ferror to test for errors after
20857 the fact.
288f9098 20858
4be2b570
L
208592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * bits/types.h (__snseconds_t): New type.
20862 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20863
20864 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20866 (__SNSECONDS_T_TYPE): Likewise.
20867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20868 (__SNSECONDS_T_TYPE): Likewise.
20869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20870 (__SNSECONDS_T_TYPE): Likewise.
20871
288f9098 208722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20873
20874 [BZ #2636]
20875 * manual/time.texi (Processor Time): Return type of times is
20876 elapsed real time since an arbitrary point in the past.
20877 (CPU Time): Move CLK_TCK from here...
20878 (Processor Time): ...to here. Correct description.
20879 * manual/conf.texi (Constants for Sysconf): Correct description of
20880 _SC_CLK_TCK.
20881
d7dd4413
DM
208822012-04-10 David S. Miller <davem@davemloft.net>
20883
20884 [BZ #13967]
20885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20886 where the is a gap between DT_REL(A) and DT_JMPREL.
20887
b46068fc
L
208882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20891 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20892 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20893
73d65cc3
SP
208942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20895
20896 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20897 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20898 (dl_main): Handle --inhibit-cache.
20899 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20900 _dl_inhibit_cache.
20901 * elf/dl-load.c (_dl_map_object): Use it.
20902 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20903
bcc8d661
JM
209042012-04-09 Joseph Myers <joseph@codesourcery.com>
20905
8f9a2fae
JM
20906 [BZ #13872]
20907 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20908 (__ieee754_powl): Saturate large exponents rather than testing for
20909 overflow of y*log2(x).
20910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20911 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20912 exceptions.
20913
bcc8d661
JM
20914 [BZ #11521]
20915 * math/s_ctan.c: Include <float.h>.
20916 (__ctan): Avoid internal overflow or cancellation in calculating
20917 denominator.
20918 * math/s_ctanf.c: Likewise.
20919 * math/s_ctanl.c: Likewise.
20920 * math/s_ctanh.c: Likewise.
20921 * math/s_ctanhf.c: Likewise.
20922 * math/s_ctanhl.c: Likewise.
20923 * math/libm-test.inc (ctan_test): Add more tests.
20924 (ctanh_test): Likewise.
20925 * sysdeps/i386/fpu/libm-test-ulps: Update.
20926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20927
823fbbb4
AJ
209282012-04-09 Andreas Jaeger <aj@suse.de>
20929
03879793
AJ
20930 [BZ #6894]
20931 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20932 is an optional BSD extension.
20933
823fbbb4
AJ
20934 [BZ #10254]
20935 * manual/stdio.texi (Opening Streams): Document additional fopen
20936 parameters.
20937
8de131cb
RM
209382012-04-09 Roland McGrath <roland@hack.frob.com>
20939
20940 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20941 %eax without telling the compiler.
20942
c0ed9d7d
CD
209432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20944
20945 [BZ # 13963]
20946 * manual/install.texi: Use sourceware.org.
20947
c483f6b4
JM
209482012-04-09 Joseph Myers <joseph@codesourcery.com>
20949
d7dd9453
JM
20950 [BZ #13873]
20951 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20952 (__ieee754_pow): Generate overflow and underflow using huge*huge
20953 and tiny*tiny rather than just returning constant infinity or zero
20954 for large exponents.
20955 * math/libm-test.inc (pow_test): Require overflow exceptions for
20956 applicable cases of large exponents.
20957
c483f6b4
JM
20958 [BZ #706]
20959 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20960 (__ieee754_pow): Use iterative multiplication algorithm only for
20961 integer exponents with absolute value below 1024. Check for odd
20962 integer exponents when using algorithm for real exponents.
20963 * math/libm-test.inc (pow_test): Add more tests.
20964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20965
d2de7579
JM
209662012-04-08 Joseph Myers <joseph@codesourcery.com>
20967
20968 [BZ #13705]
20969 * math/libm-test.inc (exp_test): Do not allow overflow exception
20970 on underflow test.
20971
f77f1232
AJ
209722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20973
20974 [BZ #13705]
20975 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20976 instead of __kernel_standard_f.
20977
3884932b
MF
209782012-04-08 Mike Frysinger <vapier@gentoo.org>
20979
20980 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20981 * sysdeps/x86_64/memset_chk.S: Likewise.
20982
54472e9c
AJ
209832012-04-08 Andreas Jaeger <aj@suse.de>
20984
6ab0fbfc
AJ
20985 [BZ #10153]
20986 * manual/startup.texi (Environment Access): Describe return value
20987 for putenv and setenv.
20988
61efba8c
AJ
20989 [BZ #6895]
20990 * manual/filesys.texi (Directory Entries): Add description for
20991 DT_LNK.
20992
95c3f29a
AJ
20993 [BZ #6890]
20994 * manual/filesys.texi (Directory Entries): Clarify that it's file
20995 system not operating system in the description of DT_UNKNOWN.
20996
54472e9c
AJ
20997 [BZ #6578]
20998 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20999
624254b1
SC
210002012-04-08 Stephen Compall <s11@member.fsf.org>
21001
21002 [BZ #6649]
21003 * manual/llio.texi (Opening and Closing Files): Add cross
21004 reference to explain mode argument.
21005
1e4920e0
MF
210062012-04-07 Mike Frysinger <vapier@gentoo.org>
21007
21008 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21009 * sysdeps/x86_64/memset_chk.S: Likewise.
21010
5ed848f3
DM
210112012-04-07 David S. Miller <davem@davemloft.net>
21012
21013 * elf/elf.h (R_SPARC_WDISP10): Define.
21014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21015 R_SPARC_SIZE32.
21016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21017 R_SPARC_SIZE64 and R_SPARC_H34.
21018
96154cd8
CD
210192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21020
21021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21022 conditions and remove no longer applicable assertion.
21023
9904dc47
L
210242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21025
21026 * bits/byteswap.h: Include <features.h>.
21027 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21028 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21029
f8887d0a
L
210302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21031
21032 * bits/byteswap.h (__bswap_16): Removed.
21033 Include <bits/byteswap-16.h> to get __bswap_16.
21034 * sysdeps/i386/bits/byteswap.h: Likewise.
21035 * sysdeps/s390/bits/byteswap.h: Likewise.
21036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21037 * bits/byteswap-16.h: New file.
21038 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21039 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21040 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21041 * string/Makefile (headers): Add bits/byteswap-16.h.
21042
62470f60
PP
210432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21044
21045 [BZ #13895]
21046 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21047 extra indirection.
21048 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21049 * nss/tst-nss-static.c: New.
21050
4dad7bab
RM
210512012-04-06 Robert Millan <rmh@gnu.org>
21052
21053 [BZ #6486]
21054 * manual/llio.texi (File Position Primitive): lseek
21055 refers to WHENCE when it really means OFFSET.
21056
e9142a17
AJ
210572012-04-06 Andreas Jaeger <aj@suse.de>
21058
2c040eff
AJ
21059 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21060 strncmp declarations.
21061
e9142a17
AJ
21062 * abilist/libc.abilist: Add __poll and __ppoll.
21063
ff9f1c5f
DM
210642012-04-05 David S. Miller <davem@davemloft.net>
21065
dcd2ae90
DM
21066 * scripts/check-local-headers.sh: Accept a host triplet in the
21067 path matched by the exclude regexp.
21068
993eb054
DM
21069 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21070 definition.
21071 * sysdeps/powerpc/powerpc32/dl-machine.h
21072 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21073 * sysdeps/s390/s390-32/dl-machine.h
21074 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21075 * sysdeps/sparc/sparc32/dl-machine.h
21076 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21077 * sysdeps/sparc/sparc64/dl-machine.h
21078 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21079
ff9f1c5f
DM
21080 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21081 lazy binding.
48e2e132 21082 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21083 undefined symbol errors.
21084
48e2e132 21085 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21086 DT_NEEDED entries.
21087
e80d6f94
MM
210882012-04-05 Michael Matz <matz@suse.de>
21089
21090 [BZ #13592]
21091 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21092
349fa79f
AJ
210932012-04-05 Andreas Jaeger <aj@suse.de>
21094
21095 [BZ #13908]
21096 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21097 comment.
21098
f402708f
KK
210992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21100
21101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21102 which ROUND is no valid rounding mode.
21103
2ecccfc9
KK
211042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21105
21106 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21107 read again.
21108 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21109
8a53f50f
KK
211102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21111
21112 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21113 an exception using FPU order intentionally.
21114
211152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21116
21117 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21118 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21119 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21120 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21121
d653abb7
SJ
211222012-04-05 Simon Josefsson <simon@josefsson.org>
21123
21124 [BZ #12340]
21125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21126 EINVAL when BUFLEN is too smal.
21127
c3b1bf7d
TS
211282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21129
21130 [BZ #13553]
21131 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21132 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21133
b1aa60f3
AJ
211342012-04-03 Andreas Jaeger <aj@suse.de>
21135
c3b1bf7d 21136 [BZ #13938]
67f60a26
AJ
21137 * manual/setjmp.texi (System V contexts): Fix sentence.
21138
b1aa60f3
AJ
21139 [BZ #13926]
21140 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21141 New macro for this case.
21142 [!__GNUC__] (__bswap_64): New inline function for this case.
21143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21144 * bits/byteswap.h: Likewise.
21145 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21146 ull, guard with __GLIBC_HAVE_LONG_LONG.
21147
21148 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21149 __GLIBC_HAVE_LONG_LONG.
21150
21151 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21152 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21153
39c59c35
TMQMF
211542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21155
21156 [BZ #13691]
21157 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21158 inptr and inend, rather than using last_ch.
21159
135ffda8
DM
211602012-04-02 David S. Miller <davem@davemloft.net>
21161
21162 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21163 * stdio-common/printf-parse.h (read_int): Change return type to
21164 'int', return -1 on INT_MAX overflow.
21165 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21166 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21167 overflows INT_MAX. Check for overflow of in-format-string precision
21168 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21169 SIZE_MAX not INT_MAX for integer overflow test.
21170 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21171 skip the construct in the format string but do not record anything.
21172 * stdio-common/bug22.c: Adjust to test both width/prevision
21173 INT_MAX overflow as well as total length INT_MAX overflow. Check
21174 explicitly for proper errno values.
21175
228c019e
TS
211762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21177
302cadd3
TS
21178 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21179 CHAR_MAX.
21180 * string/test-strcmp.c [! WIDE]: Likewise.
21181 * time/tst-mktime2.c: Likewise for INT_MAX.
21182 * string/test-string.h: #include <sys/param.h> for MIN.
21183
228c019e
TS
21184 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21185 * sysdeps/i386/init-first.c (init): Likewise.
21186 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21187 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21188 * sysdeps/sh/init-first.c (init): Likewise.
21189
cfa633f5
UD
211902012-04-01 Ulrich Drepper <drepper@gmail.com>
21191
21192 * po/ru.po: Update from translation team.
d1635ef8 21193 * po/vi.po: Likewise.
cfa633f5 21194
6cd0a5ea
SP
211952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21196
21197 * resolv/nss_dns/dns-host.c: Merge copyright years.
21198
4b43400f
LD
211992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21200
21201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21202 Optimize memcpy with prefetch if
21203 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21204 src, dst pointers have unequal 16 byte alignments.
21205
48c41d04
SP
212062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21207
21208 [BZ #13928]
21209 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21210 from a CNAME entry and return the minimum ttl for the query.
21211 (gaih_getanswer_slice): Likewise.
21212
b8dc394d
JL
212132012-03-30 Jeff Law <law@redhat.com>
21214
21215 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21216 due to long keys.
21217 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21218 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21219
2f5a5ed0
JL
21220 * resolv/nss_dns/dns-host.c: Update copyright year.
21221
1d39e359
UD
212222012-03-30 Ulrich Drepper <drepper@gmail.com>
21223
c030f70c 21224 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21225 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21226
1d39e359
UD
21227 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21228 comments for sendmmsg.
21229
212302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21231
21232 [BZ #13691]
21233 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21234 with only 1 character between 0x0041 and 0x01b0.
21235 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21236 * wcsmbs/tst-mbsnrtowcs.c: New file.
21237
20fde227
DM
212382012-03-29 David S. Miller <davem@davemloft.net>
21239
21240 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21241 small copies by hand.
21242
984a4237
JL
212432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21244
21245 [BZ #13761]
21246 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21247 _nss_compat_initgroups_dyn): Fall back to malloc/free
21248 for large group memberships.
21249
18c9d62b
DM
212502012-03-28 David S. Miller <davem@davemloft.net>
21251
88d85d4f
DM
21252 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21253 that branches into memcpy.
21254 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21257 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21259 bits.
21260 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21261 implementation too.
21262 * sysdeps/sparc/mempcpy.S: New file.
21263
e5aa83e1
DM
21264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21265 the IFUNC routine in the libc case.
21266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21267
88570753
DM
21268 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21269 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21270 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21271 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21272 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21273 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21274 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21275 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21276
249d7567
DM
21277 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21278 loop to 256 bytes instead of 64 bytes and fix test signedness.
21279
18c9d62b
DM
21280 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21281 * sysdeps/sparc/sparc32/Makefile: rather than here...
21282 * sysdeps/sparc/sparc64/Makefile: and here.
21283
05f3d1f6
UD
212842012-03-28 Ulrich Drepper <drepper@gmail.com>
21285
21286 * malloc/mallocbug.c: Avoid warnings about unused variables.
21287
86ae07a8
JL
212882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21289
21290 [BZ #13760]
21291 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21292 in the right place. Discard and retry query if response is
21293 larger than input buffer size.
21294
41bf21a1
JM
212952012-03-28 Joseph Myers <joseph@codesourcery.com>
21296
d6270972
JM
21297 [BZ #369]
21298 [BZ #2678]
21299 [BZ #3866]
21300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21301 x for large integer exponent.
21302 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21303 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21304 sign of result as needed afterwards.
21305 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21306 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21307 result for underflowing pow the same as for overflow.
21308 (__kernel_standard_l): Handle powl overflow and underflow here
21309 rather than calling __kernel_standard.
21310 * math/libm-test.inc (pow_test): Add more tests.
21311
414fca03 21312 [BZ #3868]
41bf21a1
JM
21313 [BZ #13879]
21314 [BZ #13910]
21315 [BZ #13911]
21316 [BZ #13912]
21317 [BZ #13913]
21318 [BZ #13915]
21319 [BZ #13916]
21320 [BZ #13917]
21321 [BZ #13918]
21322 [BZ #13919]
21323 [BZ #13920]
21324 [BZ #13921]
21325 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21326 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21327 (__kernel_standard_l): New function.
21328 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21329 __kernel_standard.
21330 * math/w_acosl.c (__acosl): Likewise.
21331 * math/w_asinl.c (__asinl): Likewise.
21332 * math/w_atan2l.c (__atan2l): Likewise.
21333 * math/w_atanhl.c (__atanhl): Likewise.
21334 * math/w_coshl.c (__coshl): Likewise.
21335 * math/w_exp10l.c (__exp10l): Likewise.
21336 * math/w_exp2l.c (__exp2l): Likewise.
21337 * math/w_fmodl.c (__fmodl): Likewise.
21338 * math/w_hypotl.c (__hypotl): Likewise.
21339 * math/w_j0l.c (__j0l, __y0l): Likewise.
21340 * math/w_j1l.c (__j1l, __y1l): Likewise.
21341 * math/w_jnl.c (__jnl, __ynl): Likewise.
21342 * math/w_lgammal.c (__lgammal): Likewise.
21343 * math/w_log10l.c (__log10l): Likewise.
21344 * math/w_log2l.c (__log2l): Likewise.
21345 * math/w_logl.c (__logl): Likewise.
21346 * math/w_powl.c (__powl): Likewise.
21347 * math/w_remainderl.c (__remainderl): Likewise.
21348 * math/w_scalbl.c (sysv_scalbl): Likewise.
21349 * math/w_sinhl.c (__sinhl): Likewise.
21350 * math/w_sqrtl.c (__sqrtl): Likewise.
21351 * math/w_tgammal.c (__tgammal): Likewise.
21352 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21353 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21354 * math/libm-test.inc (acos_test): Add more tests.
21355 (acosh_test): Likewise.
21356 (asin_test): Likewise.
21357 (atanh_test): Likewise.
21358 (exp_test): Likewise.
21359 (exp10_test): Likewise.
21360 (exp2_test): Likewise.
21361 (expm1_test): Likewise.
21362 (lgamma_test): Likewise.
21363 (log_test): Likewise.
21364 (log10_test): Likewise.
21365 (log1p_test): Likewise.
21366 (log2_test): Likewise.
21367 (pow_test): Do not allow some spurious overflow exceptions.
21368 (sqrt_test): Add more tests.
21369 (tgamma_test): Likewise.
21370 (y0_test): Likewise.
21371 (y1_test): Likewise.
21372 (yn_test): Likewise.
21373
dd62fda6
AB
213742012-03-27 Anton Blanchard <anton@samba.org>
21375
21376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21377 MAP_HUGETLB.
21378 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21379 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21381
1e3cdfda
AJ
213822012-03-27 David S. Miller <davem@davemloft.net>
21383
b855ab85
DM
21384 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21385
1e3cdfda
AJ
21386 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21387 have-as-vis3 check.
21388
213892012-03-27 Andreas Jaeger <aj@suse.de>
21390
21391 * sysdeps/x86_64/elf/configure.in: Moved to ...
21392 * sysdeps/x86_64/configure.in: ... here.
21393 * sysdeps/x86_64/elf/start.S: Moved to ...
21394 * sysdeps/x86_64/start.S: ... here.
21395 * sysdeps/x86_64/elf/configure: Delete.
21396
21397 * sysdeps/x86_64/configure.in: Merge contents from
21398 sysdeps/i386/configure.in (without i686 check).
21399
21400 * sysdeps/i386/elf/Versions: Merge into ...
21401 * sysdeps/i386/Versions: ... this.
21402 * sysdeps/i386/elf/Versions: Delete file.
21403 * sysdeps/i386/elf/start.S: Moved to ...
21404 * sysdeps/i386/start.S: ...here.
21405 * sysdeps/i386/elf/configure.in: Merge into...
21406 * sysdeps/i386/configure.in: ...here.
21407 * sysdeps/i386/elf/configure.in: Delete file.
21408 * sysdeps/i386/elf/configure: Delete file.
21409
21410 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21411 * debug/backtracesyms.c: ... here.
21412 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21413 * debug/backtracesymsfd.c: ... here.
21414 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21415 * sysdeps/generic/ifunc-sel.h: ... here.
21416
21417 * sysdeps/unix/i386/start.c: Delete file.
21418 * sysdeps/unix/sparc/start.c: Delete file.
21419 * sysdeps/unix/start.c: Delete file.
21420
21421 * sysdeps/sh/elf/configure.in: Moved to ...
21422 * sysdeps/sh/configure.in: ... here.
21423 * sysdeps/sh/elf/start.S: Moved to ...
21424 * sysdeps/sh/start.S: ... here.
21425 * sysdeps/sh/elf/configure: Delete file.
21426
21427 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21428 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21429 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21430 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21431 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21432 * sysdeps/powerpc/powerpc64/start.S: here.
21433 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21434 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21435 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21436 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21437 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21438
21439 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21440 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21441 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21442 * sysdeps/powerpc/powerpc32/start.S: ... here.
21443 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21444 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21445 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21446
21447 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21448 * sysdeps/powerpc/ifunc-sel.h: ... here.
21449 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21450 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21451
21452 * sysdeps/sparc/elf/configure.in: Moved to ...
21453 * sysdeps/sparc/configure.in: ... here.
21454 * sysdeps/sparc/elf/configure: Delete file.
21455 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21456 * sysdeps/sparc/sparc32/start.S: ... here.
21457 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21458 * sysdeps/sparc/sparc64/start.S: ... here.
21459 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21460 * sysdeps/sparc/sparc32/Makefile: ... this.
21461 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21462 * sysdeps/sparc/sparc64/Makefile: ... this.
21463
21464 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21465 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21466 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21467 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21468 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21469 * sysdeps/s390/s390-32/setjmp.S: ... here.
21470 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21471 * sysdeps/s390/s390-32/configure.in: ... here.
21472 * sysdeps/s390/s390-32/elf/configure: Delete file.
21473 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21474 * sysdeps/s390/s390-32/start.S: ... here.
21475
21476 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21477 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21478 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21479 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21480 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21481 * sysdeps/s390/s390-64/setjmp.S: ... here.
21482 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21483 * sysdeps/s390/s390-64/configure.in: ... here
21484 * sysdeps/s390/s390-64/elf/configure: Delete file.
21485 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21486 * sysdeps/s390/s390-64/start.S: ... here.
21487 * sysdeps/s390/s390-64/elf/configure: Delete.
21488
21489 * configure.in: Remove support for elf directories in sysdeps.
21490
21491 * configure: Regenerated.
21492 * sysdeps/i386/configure: Regenerated.
21493 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21494 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21495 * sysdeps/s390/s390-32/configure: Regenerated.
21496 * sysdeps/s390/s390-64/configure: Regenerated.
21497 * sysdeps/sh/configure: Regenerated.
21498 * sysdeps/sparc/configure: Regenerated.
21499 * sysdeps/x86_64/configure: Regenerated.
21500
a3f61311
AS
215012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21502
c876e002
AS
21503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21504
a3f61311
AS
21505 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21506 denormal result into account.
21507
ac4c54f0
RM
215082012-03-25 Roland McGrath <roland@hack.frob.com>
21509
21510 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21511 Reported by Allan McRae <allan@archlinux.org>.
21512
6a9b9c02
JL
215132012-03-23 Jeff Law <law@redhat.com>
21514
21515 * nss/getnssent.c (__nss_getent): Fix typo.
21516
4c42a0c1
DM
215172012-03-23 David S. Miller <davem@davemloft.net>
21518
21519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21520
1532c7ac
L
215212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21522
21523 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21524 to pad to uint64_t for each field.
21525 (dl_tls_index): Replace unsigned long with uint64_t.
21526
3ff42526
PP
215272012-03-23 Daniel Jacobowitz <dmj@google.com>
21528 Paul Pluzhnikov <ppluzhnikov@google.com>
21529
21530 [BZ #6528]
21531 * grp/Makefile (otherlibs): Don't set it.
21532 * inet/Makefile (otherlibs): Likewise.
21533 * login/Makefile (otherlibs): Likewise.
21534 * nscd/Makefile (otherlibs): Likewise.
21535 * posix/Makefile (otherlibs): Likewise.
21536 * pwd/Makefile (otherlibs): Likewise.
21537 * rt/Makefile (otherlibs): Likewise.
21538 * sunrpc/Makefile (otherlibs): Likewise.
21539 * nss/Makefile (otherlibs): Likewise.
21540 Add libnss_files to routines and static-only-routines.
21541 ($(objpfx)getent): Remove rule.
21542 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21543 static-only-routines.
21544
7c69cd14
JM
215452012-03-22 Joseph Myers <joseph@codesourcery.com>
21546
21547 [BZ #13892]
21548 * math/s_cexp.c: Include <float.h>.
21549 (__cexp): Handle exp result overflowing not necessarily
21550 overflowing both real and imaginary parts of result.
21551 * math/s_cexpf.c: Likewise.
21552 * math/s_cexpl.c: Likewise.
21553 * math/libm-test.inc (cexp_test): Add more tests.
21554 * sysdeps/i386/fpu/libm-test-ulps: Update.
21555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21556
81b035fe
L
215572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21558
21559 * include/link.h (ELFW): New macro.
21560 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21561 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21562
1da7940c
L
215632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21564
21565 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21566 with uint64_t.
21567
b749dbb9
L
215682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21569
21570 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21571 declaration.
21572 (struct La_x32_retval): Likewise.
21573
2ff87f3f
L
215742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21575
21576 * sysdeps/x86_64/preconfigure.in: New file.
21577 * sysdeps/x86_64/preconfigure: New generated file.
21578
c0df8e69
JM
215792012-03-22 Joseph Myers <joseph@codesourcery.com>
21580
48e44791
JM
21581 [BZ #13824]
21582 * math/e_exp2l.c: Include <float.h>.
21583 (__ieee754_exp2l): Handle overflow and underflow cases
21584 separately. Only pass fractional part of argument to
21585 __ieee754_expl.
21586 * math/libm-test.inc (exp2_test): Add more tests.
21587
c0df8e69
JM
21588 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21589 negating x to take absolute value.
21590 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21591 Likewise.
21592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21593 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21594 Likewise.
21595 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21596 computing low part if x was negated.
21597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21598
c8e43ba7
L
215992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21600
21601 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21602 la_x32_gnu_pltexit.
21603 (pltexit): Cast int_retval to ptrdiff_t.
21604 * elf/tst-auditmod3b.c: Likewise.
21605 * elf/tst-auditmod4b.c: Likewise.
21606 * elf/tst-auditmod5b.c: Likewise.
21607 * elf/tst-auditmod6b.c: Likewise.
21608 * elf/tst-auditmod6c.c: Likewise.
21609 * elf/tst-auditmod7b.c: Likewise.
21610
21611 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21612 and x32_gnu_pltexit.
21613
21614 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21615 __ELF_NATIVE_CLASS.
21616 (La_x32_regs): New macro.
21617 (La_x32_retval): Likewise.
21618 (la_x32_gnu_pltenter): New function prototype.
21619 (la_x32_gnu_pltexit): Likewise.
21620
7998fa78
AS
216212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21622
dcb33988
AS
21623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21624 exponent.
21625
233fc563
AS
21626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21627
7998fa78
AS
21628 * configure.in (libc_cv_cc_nofma): Check for option to disable
21629 generation of FMA instructions.
21630 * configure: Regenerate.
21631 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21632 * sysdeps/ieee754/dbl-64/Makefile: New file.
21633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21634 Remove brandred-fma4.
21635 (CFLAGS-brandred-fma4.c): Remove.
21636 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21638 define.
21639 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21640 define.
21641
8e95c99a
L
216422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21643
21644 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21645 LLONG_MAX != LONG_MAX.
21646 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21647 (_fitoa_word): Likewise.
21648 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21649 LLONG_MAX != LONG_MAX.
21650 * stdio-common/_itowa.h: Include <_itoa.h>.
21651 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21652 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21653 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21654 only if not defined.
21655 (_ITOA_WORD_TYPE): Likewise.
21656 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21657 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21658
6f4db457
DM
216592012-03-21 David S. Miller <davem@davemloft.net>
21660
21661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21662
7785fe5a
L
216632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21664
21665 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21666 of x86_64 when setting libc_cv_slibdir, libdir and
21667 libc_cv_localedir.
21668 * sysdeps/unix/sysv/linux/configure: Regenerated.
21669
4535cd55
JM
216702012-03-21 Joseph Myers <joseph@codesourcery.com>
21671
21672 * manual/lang.texi (Old Varargs): Remove section.
21673 (How Variadic): Update menu.
21674 (va_start): Do not mention varargs.h.
21675
17228132
TS
216762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21677 Joseph Myers <joseph@codesourcery.com>
21678
21679 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21680 link test.
21681 * configure: Regenerated.
21682
8149f976
TS
216832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21684
05f3d1f6
UD
21685 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21686 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21687 conformtest.pl
8149f976 21688
1a4ac776
JM
216892012-03-21 Joseph Myers <joseph@codesourcery.com>
21690
be22ce65
JM
21691 * NOTES: Remove.
21692 * Makefile (files-for-dist): Remove NOTES.
21693 (NOTES): Remove rule.
21694 * README: Don't refer to NOTES.
21695 * manual/creature.texi: Don't include macros.texi.
21696 * manual/intro.texi (creature.texi): Remove comment referring to
21697 NOTES.
21698
40b601fb
JM
21699 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21700 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21701 * configure: Regenerated.
21702 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21703 LIBC_TRY_CC_OPTION.
21704 (libc_cv_as_i686): Likewise.
21705 (libc_cv_cc_avx): Likewise.
21706 (libc_cv_cc_sse2avx): Likewise.
21707 (libc_cv_cc_fma4): Likewise.
21708 (libc_cv_cc_novzeroupper): Likewise.
21709 * sysdeps/i386/configure: Regenerated.
21710
1a4ac776
JM
21711 [BZ #13883]
21712 * sysdeps/i386/fpu/s_cexp.S: Remove.
21713 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21714 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21715 * math/libm-test.inc (cexp_test): Add more tests.
21716 * sysdeps/i386/fpu/libm-test-ulps: Update.
21717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21718
a458e7fe
AM
217192012-03-21 Allan McRae <allan@archlinux.org>
21720
21721 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21722
0cb7efc5
JM
217232012-03-21 Joseph Myers <joseph@codesourcery.com>
21724
21725 [BZ #13871]
21726 * math/w_exp2.c: Do not include <float.h>.
21727 (o_threshold, u_threshold): Remove.
21728 (__exp2): Calculate result before checking finiteness and calling
21729 __kernel_standard.
21730 * math/w_exp2f.c: Likewise.
21731 * math/w_exp2l.c: Likewise.
21732 * math/libm-test.inc (exp2_test): Require overflow exception for
21733 1e6 input.
2460d3aa
JM
21734
21735 [BZ #3866]
21736 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21737 range of signed 64-bit integers before using fistpll. Remove
21738 checks for whether integers fit in mantissa bits.
21739 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21740 the range of signed 32-bit integers before using fistpl. Remove
21741 checks for whether integers fit in mantissa bits.
21742 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21743 (__ieee754_powl): Test for y outside the range of signed 64-bit
21744 integers before using fistpll. Reduce 64-bit values to 63-bit
21745 ones as needed.
21746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21747 divide-by-zero is raised for zero to large negative powers.
21748 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21749 (__ieee754_powl): Test for y outside the range of signed 64-bit
21750 integers before using fistpll. Reduce 64-bit values to 63-bit
21751 ones as needed.
21752 * math/libm-test.inc (pow_test): Add more tests.
21753
eb96ffb0
L
217542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21755
21756 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21757 <stdio-common/_itoa.h>.
21758 * debug/segfault.c: Likewise.
21759 * elf/dl-cache.c: Likewise.
21760 * elf/dl-minimal.c: Likewise.
21761 * elf/dl-misc.c: Likewise.
21762 * elf/dl-sysdep.c: Likewise.
21763 * elf/dl-version.c: Likewise.
21764 * elf/rtld.c: Likewise.
21765 * hurd/hurdsock.c: Likewise.
21766 * hurd/lookup-retry.c: Likewise.
21767 * malloc/malloc.c: Likewise.
21768 * malloc/mtrace.c: Likewise.
21769 * nscd/nscd_getgr_r.c: Likewise.
21770 * nscd/nscd_getpw_r.c: Likewise.
21771 * nscd/nscd_getserv_r.c: Likewise.
21772 * posix/getopt_init.c: Likewise.
21773 * posix/wordexp.c: Likewise.
21774 * stdio-common/_itoa.c: Likewise.
21775 * stdio-common/printf_fphex.c: Likewise.
21776 * stdio-common/vfprintf.c: Likewise.
21777 * string/_strerror.c: Likewise.
21778 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21779 * sysdeps/i386/i686/hp-timing.h: Likewise.
21780 * sysdeps/mach/_strerror.c: Likewise.
21781 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21782 * sysdeps/mach/hurd/sethostid.c: Likewise.
21783 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21784 * sysdeps/mach/xpg-strerror.c: Likewise.
21785 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21786 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21787 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21788 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21789 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21790 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21792 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21793 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21794 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21795 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21796 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21797 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21798 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21799 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21800 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21801 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21802 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21803 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21804 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21805 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21806
21807 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21808
21809 * stdio-common/_itoa.h: Moved to ...
21810 * sysdeps/generic/_itoa.h: Here.
21811
21812 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21813
21814 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21815 instead of "_itoa.h" and "_itowa.h".
21816 * stdio-common/vfprintf.: Likewise.
21817
d1af992d
L
218182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21819
21820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21821 <bits/wordsize.h>.
21822 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21823 (__signbit): Likwise.
21824 (llrintf): Likwise.
21825 (llrint): Likwise.
21826
114883e0
L
218272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21828
21829 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21830 __WORDSIZE != 64.
21831
c135cc1b
JM
218322012-03-20 Joseph Myers <joseph@codesourcery.com>
21833
21834 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21835 OVERFLOW_EXCEPTION_OK.
21836 * math/libm-test.inc ("Philosophy"): Update comment about
21837 exception testing.
21838 (OVERFLOW_EXCEPTION): Define.
21839 (OVERFLOW_EXCEPTION_OK): Likewise.
21840 (INVALID_EXCEPTION_OK): Renumber.
21841 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21842 (IGNORE_ZERO_INF_SIGN): Likewise.
21843 (test_exceptions): Handle FE_OVERFLOW.
21844 (exp10_test): Expect overflow exceptions.
21845 (exp2_test): Likewise.
21846 (expm1_test): Likewise.
21847 (nextafter_test): Likewise.
21848 (pow_test): Likewise.
21849 (scalbn_test): Likewise.
21850 (scalbln_test): Likewise.
21851
95443d88
L
218522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21853
21854 * sysdeps/x86_64/bits/atomic.h
21855 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21856 64bit integer.
21857 (atomic_exchange_acq): Likewise.
21858 (__arch_exchange_and_add_body): Likewise.
21859 (__arch_add_body): Likewise.
21860 (atomic_add_negative): Likewise.
21861 (atomic_add_zero): Likewise.
21862
490df6c4
L
218632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21864
c2722551 21865 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21866 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21867
5e52b189
L
218682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21871 Check __x86_64__ instead of __WORDSIZE.
21872
a9879d4c
L
218732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21876
5df98260
DM
218772012-03-19 David S. Miller <davem@davemloft.net>
21878
e1497744
DM
21879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21880
5df98260
DM
21881 * sysdeps/sparc/fpu/fenv_private.h: New file.
21882 * sysdeps/sparc/fpu/math_private.h: Use it.
21883 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21884 Remove.
21885 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21886 (libc_feholdexcept_setroundl): Remove.
21887 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21888 Remove.
21889 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21890 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21891
b4c35121
L
218922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21895 int64_t instead of long int.
21896 (INSERT_WORDS64): Likwise.
21897
56965fd7
L
218982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21901 _Unwind_GetCFA return to _Unwind_Ptr first.
21902
83d1aec8
JM
219032012-03-19 Joseph Myers <joseph@codesourcery.com>
21904
1897ad44
JM
21905 [BZ #13629]
21906 * math/s_clog.c: Include <float.h>.
21907 (__clog): Scale large or subnormal inputs.
21908 * math/s_clogf.c: Likewise.
21909 * math/s_clogl.c: Likewise.
21910 * math/s_clog10.c: Include <float.h>.
21911 (M_LOG10_2): Define.
21912 (__clog10): Scale large or subnormal inputs.
21913 * math/s_clog10f.c: Likewise.
21914 * math/s_clog10l.c: Likewise.
21915 * math/libm-test.inc (clog_test): Add more tests.
21916 (clog10_test): Likewise.
21917 * sysdeps/i386/fpu/libm-test-ulps: Update.
21918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21919
7726d6a9
JM
21920 [BZ #11451]
21921 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21922 x and y.
21923 * math/libm-test.inc (atan2_test): Add another test.
21924
83d1aec8
JM
21925 * Makerules (common-objdir-compile): Remove.
21926 * sysdeps/unix/Makefile (config-generated): Do not add
21927 $(unix-generated) to variable.
21928 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21929 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21930 Remove rule.
21931 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21932 Likewise.
21933 [generic bits/local_lim.h] (before-compile): Do not append to
21934 variable.
21935 [generic bits/local_lim.h] (common-generated): Likewise.
21936 [generic sys/param.h] (before-compile): Do not append to variable.
21937 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21938 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21939 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21940 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21941 include.
21942 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21943 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21944 [generic sys/param.h] ($(addprefix
21945 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21946 [generic sys/param.h] (common-generated): Do not append to
21947 variable.
21948 [generic sys/param.h] (sysdep_headers): Likewise.
21949 [generic bits/errno.h] (before-compile): Do not append to
21950 variable.
21951 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21952 rule.
21953 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21954 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21955 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21956 [generic bits/errno.h] (common-generated): Do not append to
21957 variable.
21958 [generic bits/ioctls.h] (before-compile): Do not append to
21959 variable.
21960 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21961 rule.
21962 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21963 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21964 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21965 rule.
21966 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21967 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21968 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21969 [generic bits/ioctls.h] (common-generated): Do not append to
21970 variable.
21971 [generic sys/syscall.h] (syscall.h): Remove variable.
21972 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21973 rule.
21974 [generic sys/syscall.h] (before-compile): Do not append to
21975 variable.
21976 [generic sys/syscall.h] (common-generated): Likewise.
21977 * sysdeps/unix/errnos-tmpl.c: Remove file.
21978 * sysdeps/unix/errnos.awk: Likewise.
21979 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21980 * sysdeps/unix/ioctls.awk: Likewise.
21981 * sysdeps/unix/mk-local_lim.c: Likewise.
21982 * sysdeps/unix/snarf-ioctls: Likewise.
21983
4851a949
RH
219842012-03-19 Richard Henderson <rth@twiddle.net>
21985
bd37f2ee
RH
21986 * sysdeps/i386/fpu/fenv_private.h: New file.
21987 * sysdeps/i386/fpu/math_private.h: Use it.
21988 (math_opt_barrier, math_force_eval): Remove.
21989 (libc_feholdexcept_setround_53bit): Remove.
21990 (libc_feupdateenv_53bit): Remove.
21991 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21992 (math_opt_barrier, math_force_eval): Remove.
21993 (libc_feholdexcept): Remove.
21994 (libc_feholdexcept_setround): Remove.
21995 (libc_fetestexcept, libc_fesetenv): Remove.
21996 (libc_feupdateenv_test): Remove.
21997 (libc_feupdateenv, libc_feholdsetround): Remove.
21998 (libc_feresetround): Remove.
21999
d0adc922
RH
22000 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22001 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22002
0fe0f1f8
RH
22003 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22004 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22005 (libc_feupdateenv_testl): New.
22006 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22007 (libc_feupdateenv_testf): New.
22008 (libc_feupdateenv): Use libc_feupdateenv_test.
22009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22010 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22011
eb92c487
RH
22012 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22013 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22014 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22015 (libc_feresetround_noex): New.
22016 (libc_feresetround_noexf): New.
22017 (libc_feresetround_noexl): New.
22018 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22019 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22020 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22021 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22022 SET_RESTORE_ROUND.
22023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22025 (__cos): Likewise.
22026 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22027 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22028 SET_RESTORE_ROUND_NOEX.
22029 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22030 SET_RESTORE_ROUND_NOEXF.
22031 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22032 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22033 (libc_feholdsetroundf): New.
22034 (libc_feresetround, libc_feresetroundf): New.
22035
7d2e8012
RH
22036 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22037 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22038 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22039
b4dabbb4
RH
22040 * sysdeps/generic/math_private.h: Include <fenv.h>.
22041 (default_libc_feholdexcept): New.
22042 (default_libc_feholdexcept_setround): New.
22043 (default_libc_fesetenv, default_libc_feupdateenv): New.
22044 (libc_feholdexcept): Only define if undefined.
22045 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22047 (libc_feholdexcept_setroundl): Likewise.
22048 (libc_feholdexcept_setround_53bit): Likewise.
22049 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22052 (libc_feupdateenv_53bit): Likewise.
22053 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22054 (libc_feholdexcept): Convert from macro to inline function.
22055 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22056 (libc_fesetenv, libc_feupdateenv): Likewise.
22057
4851a949
RH
22058 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22059 not previously defined.
22060 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22061 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22062 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22063 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22064 * sysdeps/ieee754/flt-32/math_private.h: New file.
22065 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22066 math_private.h below SET_FLOAT_WORD.
22067 (__isnan, __isinf_ns, __finite): Remove.
22068 (__isnanf, __isinf_nsf, __finitef): Remove.
22069
e79d442e
AS
220702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22071
22072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22073
90b80344
DM
220742012-03-17 David S. Miller <davem@davemloft.net>
22075
22076 [BZ #6471]
22077 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22078 for 2.16.
22079
edc21804
DM
220802012-03-16 David S. Miller <davem@davemloft.net>
22081
77e927af
DM
22082 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22083 warnings.
22084
374976dd
DM
22085 [BZ #6471]
22086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22087 properly.
22088 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22089 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22090 sysdep_routines when subdir is sysvipc.
22091 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22092 __getshmlba helper.
22093
edc21804
DM
22094 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22095
473c3ef3
L
220962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22097
22098 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22099 [__LP64__].
22100
eb0f39b6
L
221012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22102
22103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22104 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22105 (__lround): Renamed to ...
22106 (__llround): This. Replace long int with long long int.
22107 Define lround functions as aliases of llround functions.
22108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22109
6b6cd74b
L
221102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22111
22112 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22113 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22114 adresses to uintptr_t. Replace "long int" and "unsigned long
22115 int" with "greg_t" on va_arg.
22116
f1a77b01
L
221172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22120 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22121
22122 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22123 Move e_machine check before EI_CLASS check. Handle x32
22124 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22125 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22126 SKIP_EM_IA_64 and include
22127 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22128
22129 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22130 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22131 (add_system_dir): New macro.
22132
22133 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22134 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22135
11b90b9f
JM
221362012-03-16 Joseph Myers <joseph@codesourcery.com>
22137
c36e1d23
JM
22138 [BZ #2551]
22139 [BZ #2552]
22140 [BZ #2553]
22141 [BZ #2554]
22142 [BZ #2562]
22143 [BZ #2563]
22144 [BZ #2565]
22145 [BZ #2566]
22146 [BZ #2576]
22147 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22148 (y0): Likewise.
22149 * math/w_j0f.c (j0f): Likewise.
22150 (y0f): Likewise.
22151 * math/w_j0l.c (__j0l): Likewise.
22152 (__y0l): Likewise.
22153 * math/w_j1.c (j1): Likewise.
22154 (y1): Likewise.
22155 * math/w_j1f.c (j1f): Likewise.
22156 (y1f): Likewise.
22157 * math/w_j1l.c (__j1l): Likewise.
22158 (__y1l): Likewise.
22159 * math/w_jn.c (jn): Likewise.
22160 (yn): Likewise.
22161 * math/w_jnf.c (jnf): Likewise.
22162 (ynf): Likewise.
22163 * math/w_jnl.c (__jnl): Likewise.
22164 (__ynl): Likewise.
22165 * math/libm-test.inc (j0_test): Add more tests.
22166 (j1_test): Likewise.
22167 (jn_test): Likewise. Add trailing semicolon to existing test.
22168 (y0_test): Likewise.
22169 (y1_test): Likewise.
22170 * sysdeps/i386/fpu/libm-test-ulps: Update.
22171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22172
11b90b9f
JM
22173 [BZ #13851]
22174 [BZ #13854]
22175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22176 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22177 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22178 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22179 (__tanl): Set errno for infinite argument.
22180 * sysdeps/i386/fpu/mptan.c: Remove.
22181 * sysdeps/i386/fpu/s_tan.S: Likewise.
22182 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22183 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22184 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22185 * math/libm-test.inc (tan_test): Add more tests and enable more
22186 tests for double and long double.
22187 * sysdeps/i386/fpu/libm-test-ulps: Update.
22188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22189
6a1bd2a1
JK
221902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22191
22192 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22193 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22194
10a803e0
RM
221952012-03-16 Roland McGrath <roland@hack.frob.com>
22196
22197 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22198 * configure.in: Use it for both main tree and add-ons.
22199 * configure: Regenerated.
22200
f196c7f7
L
222012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22202
22203 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22204
8848d99d
JM
222052012-03-16 Joseph Myers <joseph@codesourcery.com>
22206
96cbe7f4
JM
22207 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22208 in comment.
22209
8848d99d
JM
22210 [BZ #13851]
22211 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22212 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22216 infinite argument.
22217 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22219 != 0 for prec == 2.
22220 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22221 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22222 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22223 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22224 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22225 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22226 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22227 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22228 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22229 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22230 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22231 * math/libm-test.inc (cos_test): Add more tests and enable more
22232 tests for long double.
22233 (sin_test): Likewise.
22234 (sincos_test): Likewise.
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237
dd7f4703
DM
222382012-03-16 David S. Miller <davem@davemloft.net>
22239
22240 * sysdeps/sparc/fpu/math_private.h: New file.
22241
006f1daa
DM
222422012-03-15 David S. Miller <davem@davemloft.net>
22243
c0c83bc8
DM
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22245 file.
e6a62e18 22246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22248 file.
e6a62e18
DM
22249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22255 sysdep routines.
22256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22257
88cb87d9
DM
22258 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22259 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22260
006f1daa 22261 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22263 sparc-ifunc.h
006f1daa 22264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22266 Likewise.
22267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22268 Likewise.
006f1daa
DM
22269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22273 Likewise.
006f1daa
DM
22274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22279 Likewise.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22281 Likewise.
006f1daa
DM
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22306
11e0098e
AS
223072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22308
22309 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22310 scaling.
22311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22312
e85b09d0
AJ
223132012-03-15 Andreas Jaeger <aj@suse.de>
22314
22315 [BZ #13852]
22316 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22317 ieee754/flt-32 implementation for sin, cos and sincos.
22318 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22319 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22320 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22321 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22322 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22323 ieee754/flt-32 implementation for tan.
22324
22325 * math/libm-test.inc (cos_test): Enable some large input tests for
22326 float as well
22327 (sin_test): Likewise.
22328 (sincos_test): Likewise.
22329 (tan_test): Add tests for large input.
22330
22331 * sysdeps/i386/fpu/libm-test-ulps: Update.
22332
81c64153
AJ
223332012-03-15 Andreas Jaeger <aj@suse.de>
22334
22335 [BZ #13658]
22336 * math/libm-test.inc (cos_test): Add more test cases.
22337 (sin_test): Likewise.
22338 (sincos_test): Likewise.
22339
7bbfa5c6
AJ
223402012-03-15 Andreas Jaeger <aj@suse.de>
22341
22342 [BZ #13837]
22343 * math/libm-test.inc (cos_test): Add a test case for large input
22344 value.
22345 (sin_test): Likewise.
22346 (sincos_test): Likewise.
22347
223482012-03-15 Andreas Jaeger <aj@suse.de>,
22349 Joseph Myers <joseph@codesourcery.com>
22350
22351 [BZ #13658]
0671f479 22352 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22353 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22354 * sysdeps/i386/fpu/branred.c: Likewise.
22355 * sysdeps/i386/fpu/dosincos.c: Likewise.
22356 * sysdeps/i386/fpu/mpa.c: Likewise.
22357 * sysdeps/i386/fpu/s_cos.S: Likewise.
22358 * sysdeps/i386/fpu/s_sin.S: Likewise.
22359 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22360 * sysdeps/i386/fpu/sincos32.c: Likewise.
22361
22362 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22363 Define.
22364 (libc_feupdateenv_53bit): Define.
22365 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22366 Define.
22367 (libc_feupdateenv_53bit): Define.
22368
22369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22370 53 bit (without extend i386 double precision).
22371
22372 * math/libm-test.inc (sincos_test): Add tests for large input.
22373 (sin): Likewise.
22374 (cos): Likewise.
22375
22376 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22377
9cad04ea
AS
223782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22379
22380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22381
f7062b9a
DM
223822012-03-15 David S. Miller <davem@davemloft.net>
22383
22384 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22385 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22386 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22387 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22400 file.
f7062b9a 22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22403 file.
f7062b9a 22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22406 file.
f7062b9a 22407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22409 file.
f7062b9a
DM
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22412 fmin/fmax sysdep routines.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22414
7bd951ff
DM
224152012-03-14 David S. Miller <davem@davemloft.net>
22416
559398ab
DM
22417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22446 routines.
22447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22448 file.
559398ab 22449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22451 file.
559398ab 22452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22454 file.
559398ab 22455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22457 file.
559398ab 22458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22460 file.
559398ab 22461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22463 file.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22465 file.
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22467 file.
22468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22469 file.
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22471 New file.
22472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22473 file.
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22475 file.
559398ab 22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22478 file.
559398ab 22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22481 file.
559398ab 22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22484 file.
559398ab 22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22487 VIS3 routines.
559398ab
DM
22488
22489 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22490 New file.
22491
5a1c1e32
DM
22492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22493
eae47a36
DM
22494 * sysdeps/sparc/configure.in: New file.
22495 * sysdeps/sparc/configure: Generate.
22496 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22497 * configure: Regenerate.
22498 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22499 * config.make.in (have-as-vis3): New.
22500 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22501 available use -Av9d instead of -Av9a.
22502 * sysdeps/sparc/sparc64/Makefile: Likewise.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22505 New file.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22507 file.
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22509 New file.
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22511 file.
eae47a36
DM
22512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22517
c0c83bc8
DM
22518 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22519 fzeros/fnegs to load 0x80000000 into a float register instead of
22520 using the stack.
7bd951ff
DM
22521 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22522
bd951ccb
JM
225232012-03-14 Joseph Myers <joseph@codesourcery.com>
22524
22525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22526 bits/syscall.h.
22527 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22528 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22529 ($(inst_includedir)/bits/syscall.h): Remove rule.
22530 ($(objpfx)bits/syscall.d): Include instead of
22531 $(objpfx)syscall-list.d.
22532 (generated): Change syscall-list.h and syscall-list.d to
22533 bits/syscall.h and bits/syscall.d.
22534
bb4e6db2
RM
225352012-03-14 Roland McGrath <roland@hack.frob.com>
22536
22537 [BZ #13846]
22538 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22539
aa4a2ae1
JM
225402012-03-14 Joseph Myers <joseph@codesourcery.com>
22541
e456826d
JM
22542 [BZ #13841]
22543 * math/s_csqrt.c: Include <float.h>.
22544 (__csqrt): Scale large or subnormal inputs.
22545 * math/s_csqrtf.c: Likewise.
22546 * math/s_csqrtl.c: Likewise.
22547 * math/libm-test.inc (csqrt_test): Add more tests.
22548 * sysdeps/i386/fpu/libm-test-ulps: Update.
22549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22550
aa4a2ae1
JM
22551 [BZ #13840]
22552 * math/libm-test.inc (hypot_test): Add more tests.
22553
7c10fd35
DM
225542012-03-13 David S. Miller <davem@davemloft.net>
22555
22556 [BZ #13840]
22557 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22558 double-precision for the calculation instead of scaling.
22559
f453b98b
JM
225602012-03-13 Joseph Myers <joseph@codesourcery.com>
22561
22562 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22563 manipulate bits before adding and subtracting TWO52[sx].
22564 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22566 Likewise.
22567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22568
09a3453f
DM
225692012-03-13 David S. Miller <davem@davemloft.net>
22570
8e59da90
DM
22571 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22572 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22574 rtld-global-offsets.h
22575 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22576
2a8ab7f2
DM
22577 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22578 large parameters.
22579
10f62770
DM
22580 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22581
5f0bdb18
DM
22582 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22583 'err' in the ifdef scope in which it is actually used.
22584
09a3453f
DM
22585 * nss/nss_db/db-init.c: Include string.h
22586
b4b2eb5e
DM
225872012-03-12 David S. Miller <davem@davemloft.net>
22588
98bb2f1c
DM
22589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22590 masking out of the most significant byte of random value used.
22591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22592 Fix coding style in previous change.
22593
b4b2eb5e
DM
22594 * sysdeps/unix/sysv/linux/kernel-features.h
22595 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22596 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22597 expression.
22598 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22599 later.
22600
6e226b09
DM
226012012-03-11 David S. Miller <davem@davemloft.net>
22602
a1bcbd40
DM
22603 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22604 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22606 for 'resultvar' otherwise things get truncated on 64-bit.
22607
cb9d6174
DM
22608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22609 Fix masking out of the most significant byte of random value used.
22610
6e226b09
DM
22611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22612
058c132d
AS
226132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22614
22615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22616
2d2cd515
DM
226172012-03-09 David S. Miller <davem@davemloft.net>
22618
22619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22620 variables with appropriate CPP guards.
22621 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22622 frame pointer, not the stack pointer. Correct layout comments. Fix test
22623 on resulting framesize and the management of the outregs buffer for pltexit.
22624 Preserve floating point return values across _dl_call_pltexit call.
22625 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22626 framesize and the management of the outregs buffer for pltexit.
22627 Preserve floating point return values across _dl_call_pltexit
22628 call.
22629 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22630 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22631 (print_exit): Fix format string for return register value.
22632
9a07f9d0
JM
226332012-03-10 Joseph Myers <joseph@codesourcery.com>
22634
22635 * sunrpc/Makefile (others): Add rpcgen.
22636 ($(objpfx)rpcgen): Remove special build rule and dependency on
22637 libc.
22638 * sunrpc/rpcgen.c: New file.
22639
547b5e30
PE
226402012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22641
c524201a
PE
22642 [BZ #13673]
22643 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22644 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22645 * sysdeps/i386/crti.S: Likewise.
22646 * sysdeps/i386/crtn.S: Likewise.
22647 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22648 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22649 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22650 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22651 * sysdeps/sh/crti.S: Likewise.
22652 * sysdeps/sh/crtn.S: Likewise.
22653 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22654
7b6235f2
PE
22655 [BZ #13673]
22656 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22657 with URL.
22658 * locale/programs/locfile-kw.gperf: Likewise.
22659 * locale/programs/charmap-kw.h: Regenerated.
22660 * locale/programs/locfile-kw.h: Likewise.
22661
547b5e30
PE
22662 [BZ #13673]
22663 * intl/plural.y: Replace FSF snail mail address with URL.
22664 * intl/plural.c: Regenerated.
22665
5f0a5dae
RH
226662012-03-09 Richard Henderson <rth@twiddle.net>
22667
22668 * include/math_private.h: Remove file.
22669 * math/math_private.h: Move file ...
22670 * sysdeps/generic/math_private.h: ... here.
22671
b8c03620
RH
22672 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22673 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22674 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22675
4e234f5d 22676 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22677 and <math_private.h>.
22678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22766 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22769 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22771 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22772 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22773 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22774 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22775 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22777 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22778 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22779 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22780 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22783 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22784 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22785 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22786 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22787 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22788 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22789 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22790 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22792 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22793 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22794 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22795 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22798 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22799 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22800 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22801 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22802 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22805 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22806 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22807 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22808 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22809 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22810 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22811 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22812 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22813 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22814 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22816 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22817 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22819 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22820 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22821 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22822 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22823 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22824 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22825 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22826 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22827 * sysdeps/ieee754/k_standard.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22859 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22926 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22927 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22932 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22943 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22947 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22949 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22950 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22952 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22953 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22954 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22955 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22956 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22957 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22960 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22963 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22964 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22965 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22966 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22968 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22969 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22974 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22977 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22978 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22984 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22985 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22988 * sysdeps/ieee754/s_lib_version.c: Likewise.
22989 * sysdeps/ieee754/s_matherr.c: Likewise.
22990 * sysdeps/ieee754/s_signgam.c: Likewise.
22991 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22993 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22994 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22995 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22996 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22997 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22998 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22999 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23000 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23001 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23002 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23003 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23005 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23006 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23007 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23009 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23012
1991fa03
JM
230132012-03-09 Joseph Myers <joseph@codesourcery.com>
23014
23015 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23016 * sunrpc/rpc_main.c: Likewise.
23017 * sunrpc/rpc_svcout.c: Likewise.
23018
60d6f5a6
DM
230192012-03-09 David S. Miller <davem@davemloft.net>
23020
23021 * include/math_private.h: New file.
23022
4962050e
JM
230232012-03-09 Joseph Myers <joseph@codesourcery.com>
23024
02a6f887
JM
23025 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23026 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23027 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23028 from <bits/socket_type.h>.
23029 (enum __socket_type): Don't define here.
23030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23032 bits/socket_type.h.
23033
c6e013c1
JM
23034 [BZ #13566]
23035 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23036 checking __USE_GNU.
23037
4962050e
JM
23038 * Makerules ($(inst_includedir)/%.h): New rule.
23039 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23040 (install-others): Remove variable setting.
23041 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23042
38842f45
RH
230432012-03-08 Richard Henderson <rth@twiddle.net>
23044
67bb6da6
RH
23045 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23046 from macro to inline function; merge with the
23047 !__LIBC_INTERNAL_MATH_INLINES version.
23048 (__ieee754_sqrtf): Likewise.
23049
15194b4b
RH
23050 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23051 to inline function.
23052 (__rintf, __floor, __floorf): Likewise.
23053
64e21ede
RH
23054 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23055 macro to inline function.
23056 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23057
38842f45
RH
23058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23059 not <math/math_private.h>.
23060
c64bf5fe
DM
230612012-03-08 David S. Miller <davem@davemloft.net>
23062
23063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23064 copyright year.
23065 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23066
82d86f28
TS
230672012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23068
23069 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23070 normalization.
23071 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23072 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23073
aea5d727
UD
230742012-03-08 Ulrich Drepper <drepper@gmail.com>
23075
23076 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23077 be defined individually, they must be defined as a block. Define
23078 S for printing a string instead of hidint the different by using a
23079 macro for adding the 'l'.
23080 * stdio-common/tst-fphex-wide.c: Adjust.
23081
70bca0a3
MP
230822012-03-07 Marek Polacek <polacek@redhat.com>
23083
23084 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23085
65b81130
MP
230862012-03-08 Marek Polacek <polacek@redhat.com>
23087
23088 [BZ #13806]
23089 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23090 * stdio-common/tst-fphex.c: Define a few macros to make the
23091 test reusable. Use them.
23092 * stdio-common/tst-fphex-wide.c: New file.
23093
07037eeb
JM
230942012-03-08 Joseph Myers <joseph@codesourcery.com>
23095
a7a93d50
JM
23096 [BZ #6911]
23097 * manual/macros.texi (gnusystems): New macro.
23098 (nongnusystems): Likewise.
23099 (gnulinuxhurdsystems): Likewise.
23100 (gnuhurdsystems): Likewise..
23101 (gnulinuxsystems): Likewise.
23102 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23103 variants of the GNU system, not "GNU system".
23104 * manual/conf.texi: Likewise.
23105 * manual/errno.texi: Likewise. Update example of errno macro
23106 expansion.
23107 * manual/filesys.texi: Likewise.
23108 (getumask): Document as specific to GNU/Hurd.
23109 * manual/install.texi: Likewise. Reword some references to
23110 GNU/Linux.
23111 * manual/intro.texi: Likewise.
23112 * manual/io.texi: Likewise.
23113 (File Name Portability): Detail which constraints are inapplicable
23114 to all GNU systems and which are only inapplicable to GNU/Hurd.
23115 * manual/job.texi: Likewise.
23116 * manual/llio.texi: Likewise.
23117 (O_NOCTTY): Document as present on GNU/Linux.
23118 * manual/maint.texi: Likewise.
23119 * manual/memory.texi: Likewise.
23120 * manual/pattern.texi: Likewise.
23121 * manual/pipe.texi: Likewise.
23122 * manual/process.texi: Likewise.
23123 * manual/resource.texi: Likewise.
23124 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23125 child on GNU/Hurd.
23126 * manual/setjmp.texi: Likewise.
23127 * manual/signal.texi: Likewise.
23128 * manual/startup.texi: Likewise.
23129 * manual/stdio.texi: Likewise.
23130 * manual/terminal.texi: Likewise.
23131 (ONLCR): Document as POSIX.
23132 (OXTABS): Document availability on GNU/Linux as XTABS.
23133 (ONOEOT): Document availability separately from other bits.
23134 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23135 * manual/time.texi: Likewise.
23136 * manual/users.texi: Likewise.
23137 * INSTALL: Regenerated.
23138 * sysdeps/gnu/errlist.c: Regenerated.
23139
07037eeb
JM
23140 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23141 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23142 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23143 puts.
23144 * configure: Regenerated.
23145
d1d3431a
JM
231462012-03-07 Joseph Myers <joseph@codesourcery.com>
23147
af6a1e37
JM
23148 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23149 default includes instead of AC_HEADER_CHECK.
23150 * sysdeps/i386/configure: Regenerated.
23151
d1d3431a
JM
23152 [BZ #10716]
23153 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23154 * math/s_cacoshf.c (__cacoshf): Likewise.
23155 * math/s_cacoshl.c (__cacoshl): Likewise.
23156 * math/s_casinh.c (__casinh): Set signs of result from argument.
23157 * math/s_casinhf.c (__casinhf): Likewise.
23158 * math/s_casinhl.c (__casinhl): Likewise.
23159 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23160 (casinh_test): Add more tests.
23161 * sysdeps/i386/fpu/libm-test-ulps: Update.
23162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23163
482ff4da
UD
231642012-03-07 Ulrich Drepper <drepper@gmail.com>
23165
872fda05
UD
23166 * po/zh_TW.po: Update from translation team.
23167
a4300c7a
UD
23168 * login/Makefile (distribute): Remove variable.
23169 * catgets/Makefile: Likewise.
23170 * mach/Makefile: Likewise.
23171 * malloc/Makefile: Likewise.
23172 * misc/Makefile: Likewise.
23173 * iconv/Makefile: Likewise.
23174 * nscd/Makefile: Likewise.
23175 * hurd/Makefile: Likewise.
23176 * manual/Makefile: Likewise.
23177 * locale/Makefile: Likewise.
23178 * intl/Makefile: Likewise.
23179 * conform/Makefile: Likewise.
23180 * nss/Makefile: Likewise.
23181 * time/Makefile: Likewise.
23182 * soft-fp/Makefile: Likewise.
23183 * dirent/Makefile: Likewise.
23184 * gmon/Makefile: Likewise.
23185 * po/Makefile: Likewise.
23186 * rt/Makefile: Likewise.
23187 * socket/Makefile: Likewise.
23188 * math/Makefile: Likewise.
23189 * signal/Makefile: Likewise.
23190 * debug/Makefile: Likewise.
23191 * elf/Makefile: Likewise.
23192 * timezone/Makefile: Likewise.
23193 * stdlib/Makefile: Likewise.
23194 * iconvdata/Makefile: Likewise.
23195 * sunrpc/Makefile: Likewise.
23196 * io/Makefile: Likewise.
23197 * argp/Makefile: Likewise.
23198 * inet/Makefile: Likewise.
23199 * hesiod/Makefile: Likewise.
23200 * grp/Makefile: Likewise.
23201 * csu/Makefile: Likewise.
23202 * wctype/Makefile: Likewise.
23203 * crypt/Makefile: Likewise.
23204 * libio/Makefile: Likewise.
23205 * string/Makefile: Likewise.
23206 * nis/Makefile: Likewise.
23207 * resolv/Makefile: Likewise.
23208 * stdio-common/Makefile: Likewise.
23209 * wcsmbs/Makefile: Likewise.
23210 * dlfcn/Makefile: Likewise.
23211 * posix/Makefile: Likewise.
23212
3b7c4e74 23213 [BZ #6959]
482ff4da
UD
23214 * timezone/Makefile: Don't install timezone files, just the programs
23215 and scripts.
23216
f72ed77d
UD
232172012-03-06 Ulrich Drepper <drepper@gmail.com>
23218
a000466f
UD
23219 * nss/databases.def: Add missing gshadow entry.
23220
f72ed77d
UD
23221 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23222
a53b7a4e
MP
232232012-03-06 Marek Polacek <polacek@redhat.com>
23224
23225 [BZ #13726]
23226 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23227 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23228 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23229 * stdio-common/tst-long-dbl-fphex.c: New file.
23230
e9258400
DM
232312012-03-06 David S. Miller <davem@davemloft.net>
23232
23233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23234 (set_obp_int): New function.
23235 (get_obp_int): New function.
23236 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23238 Avoid unused variable warnings on 'val' and use builtin_expect.
23239 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23240 __builtin_expect.
e9258400
DM
23241 (INLINE_CLONE_SYSCALL): Likewise.
23242
3bd2c723
DM
232432012-03-05 David S. Miller <davem@davemloft.net>
23244
23245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23246
bbb78d03
AS
232472012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23248
884c5db4
AS
23249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23250
bbb78d03
AS
23251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23252 only for |x| >= 40.
23253 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23254
1c9f702a 232552012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23256
23257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23258 Replace gettimeofday with __vdso_gettimeofday.
23259
7be16f82
RM
23260 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23261 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23262 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23263
23264 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23265 time with __vdso_time.
23266
ed58a00f
JM
232672012-03-05 Joseph Myers <joseph@codesourcery.com>
23268
23269 * manual/lang.texi (size_t): Note types to which size_t may be
23270 equivalent with the GNU C Library, but do not describe when
23271 differences between them are significant.
23272
30ee4ced
AJ
232732012-03-05 Andreas Jaeger <aj@suse.de>
23274
23275 * sysdeps/i386/fpu/libm-test-ulps: Update.
23276
b7cd39e8
JM
232772012-03-05 Joseph Myers <joseph@codesourcery.com>
23278
23279 [BZ #3976]
23280 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23281 (__ieee754_pow): Save and restore rounding mode and use
23282 round-to-nearest for main computations.
23283 * math/libm-test.inc (pow_test_tonearest): New function.
23284 (pow_test_towardzero): Likewise.
23285 (pow_test_downward): Likewise.
23286 (pow_test_upward): Likewise.
23287 (main): Call the new functions.
23288 * sysdeps/i386/fpu/libm-test-ulps: Update.
23289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23290
23291 [BZ #3976]
23292 * math/libm-test.inc (cosh_test_tonearest): New function.
23293 (cosh_test_towardzero): Likewise.
23294 (cosh_test_downward): Likewise.
23295 (cosh_test_upward): Likewise.
23296 (sinh_test_tonearest): Likewise.
23297 (sinh_test_towardzero): Likewise.
23298 (sinh_test_downward): Likewise.
23299 (sinh_test_upward): Likewise.
23300 (main): Call the new functions.
23301 * sysdeps/i386/fpu/libm-test-ulps: Update.
23302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23303
6c6a98c9
TV
233042012-03-05 Tom de Vries <tom@codesourcery.com>
23305
23306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23307 default stack guard is set in last bytes.
23308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23309
21bb2d2e 233102012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23311
21bb2d2e 23312 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23313
21bb2d2e
AJ
23314 [BZ #13656]
23315 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23316 possibly allocate from heap instead of stack.
23317 * stdio-common/bug-vfprintf-nargs.c: New file.
23318 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23319
c6922934
AS
233202012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23321
23322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23323
bc957d53
MP
233242012-03-03 Marek Polacek <polacek@redhat.com>
23325
23326 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23327 * math/math_private.h: Likewise.
23328 * stdlib/tst-strtod.c: Likewise.
23329 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23330 * sysdeps/x86_64/bits/atomic.h: Likewise.
23331
6358490d
DM
233322012-03-02 David S. Miller <davem@davemloft.net>
23333
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23338 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23339 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23340 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23341 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23342
01ae168d
RM
233432012-03-02 Roland McGrath <roland@hack.frob.com>
23344
d9a17c07
RM
23345 [BZ #13792]
23346 * manual/examples/README: New file, says the example source files
23347 can be used under GPL>=2.
23348 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23349 line containing just "*/".
23350 * manual/examples/add.c: Add copyright header (GPL>=2).
23351 * manual/examples/argp-ex1.c: Likewise.
23352 * manual/examples/argp-ex2.c: Likewise.
23353 * manual/examples/argp-ex3.c: Likewise.
23354 * manual/examples/argp-ex4.c: Likewise.
23355 * manual/examples/atexit.c: Likewise.
23356 * manual/examples/db.c: Likewise.
23357 * manual/examples/dir.c: Likewise.
23358 * manual/examples/dir2.c: Likewise.
23359 * manual/examples/execinfo.c: Likewise.
23360 * manual/examples/filecli.c: Likewise.
23361 * manual/examples/filesrv.c: Likewise.
23362 * manual/examples/fmtmsgexpl.c: Likewise.
23363 * manual/examples/genpass.c: Likewise.
23364 * manual/examples/inetcli.c: Likewise.
23365 * manual/examples/inetsrv.c: Likewise.
23366 * manual/examples/isockad.c: Likewise.
23367 * manual/examples/longopt.c: Likewise.
23368 * manual/examples/memopen.c: Likewise.
23369 * manual/examples/memstrm.c: Likewise.
23370 * manual/examples/mkfsock.c: Likewise.
23371 * manual/examples/mkisock.c: Likewise.
23372 * manual/examples/mygetpass.c: Likewise.
23373 * manual/examples/pipe.c: Likewise.
23374 * manual/examples/popen.c: Likewise.
23375 * manual/examples/rprintf.c: Likewise.
23376 * manual/examples/search.c: Likewise.
23377 * manual/examples/select.c: Likewise.
23378 * manual/examples/setjmp.c: Likewise.
23379 * manual/examples/sigh1.c: Likewise.
23380 * manual/examples/sigusr.c: Likewise.
23381 * manual/examples/stpcpy.c: Likewise.
23382 * manual/examples/strdupa.c: Likewise.
23383 * manual/examples/strftim.c: Likewise.
23384 * manual/examples/strncat.c: Likewise.
23385 * manual/examples/subopt.c: Likewise.
23386 * manual/examples/swapcontext.c: Likewise.
23387 * manual/examples/termios.c: Likewise.
23388 * manual/examples/testopt.c: Likewise.
23389 * manual/examples/testpass.c: Likewise.
23390 * manual/examples/timeval_subtract.c: Likewise.
23391
01ae168d
RM
23392 [BZ #13792]
23393 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23394 function to ...
23395 * manual/timeval_subtract.c.texi: ... here, new file.
23396
49efa33d
DM
233972012-03-02 David S. Miller <davem@davemloft.net>
23398
23399 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23400
28afd92d
JM
234012012-03-02 Joseph Myers <joseph@codesourcery.com>
23402
804360ed
JM
23403 [BZ #3976]
23404 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23405 (__sin): Save and restore rounding mode and use round-to-nearest
23406 for all computations.
23407 (__cos): Save and restore rounding mode and use round-to-nearest
23408 for all computations.
23409 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23410 <fenv.h>.
23411 (tan): Save and restore rounding mode and use round-to-nearest for
23412 all computations.
23413 * math/libm-test.inc (cos_test_tonearest): New function.
23414 (cos_test_towardzero): Likewise.
23415 (cos_test_downward): Likewise.
23416 (cos_test_upward): Likewise.
23417 (sin_test_tonearest): Likewise.
23418 (sin_test_towardzero): Likewise.
23419 (sin_test_downward): Likewise.
23420 (sin_test_upward): Likewise.
23421 (tan_test_tonearest): Likewise.
23422 (tan_test_towardzero): Likewise.
23423 (tan_test_downward): Likewise.
23424 (tan_test_upward): Likewise.
23425 (main): Call the new functions.
23426 * sysdeps/i386/fpu/libm-test-ulps: Update.
23427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23428
a6d06d7b
JM
23429 [BZ #10135]
23430 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23431 small n, then large n, before computing and testing k+n.
23432 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23434 Likewise.
23435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23436 Likewise.
23437 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23438 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23445 * math/libm-test.inc (scalbn_test): Add more tests.
23446 (scalbln_test): Likewise.
23447
07e12bb3
JM
23448 * manual/filesys.texi (mode_t): Describe constraints on size and
23449 signedness, not exact equivalence to a particular type.
23450 (ino_t): Likewise.
23451 (ino64_t): Likewise.
23452 (dev_t): Likewise.
23453 (nlink_t): Likewise.
23454 (blkcnt_t): Likewise.
23455 (blkcnt64_t): Likewise.
23456 * manual/llio.texi (off_t): Likewise.
23457
28afd92d
JM
23458 [BZ #3976]
23459 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23460 (__ieee754_exp): Save and restore rounding mode and use
23461 round-to-nearest for all computations.
23462 * math/libm-test.inc (exp_test_tonearest): New function.
23463 (exp_test_towardzero): Likewise.
23464 (exp_test_downward): Likewise.
23465 (exp_test_upward): Likewise.
23466 (main): Call the new functions.
23467 * sysdeps/i386/fpu/libm-test-ulps: Update.
23468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23469
b1eeb65d
CD
234702012-03-01 Chris Demetriou <cgd@google.com>
23471
23472 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23473 have predictable order.
23474
53362a4b
DM
234752012-03-01 David S. Miller <davem@davemloft.net>
23476
3c969083
DM
23477 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23478
759707de
DM
23479 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23480 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23481 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23482 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23483
dfdb8ff2
DM
23484 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23485 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23486 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23488 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23489 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23490 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23491 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23492 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23493
ead89f96
DM
23494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23495
7f66bd07
DM
23496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23497 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23498 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23499
53362a4b
DM
23500 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23501 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23502 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23503 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23504 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23507 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23508 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23509 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23510 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23513 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23514 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23516 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23517 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23518 * sysdeps/sparc/elf/configure: Regenerated.
23519
7b1902cb
JM
235202012-03-01 Joseph Myers <joseph@codesourcery.com>
23521
bec039bc
JM
23522 * configure.in (AS, LD): Require binutils 2.20 or later.
23523 * configure: Regenerated.
23524 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23525 as required minimum version.
23526 * INSTALL: Regenerated.
23527
7b1902cb
JM
23528 [BZ #2541]
23529 [BZ #4108]
23530 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23531 before squaring exponent.
23532 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23533 bottom long double and 27 bits of top long double before squaring
23534 exponent.
23535 * math/libm-test.inc (erfc_test): Add more tests.
23536 * sysdeps/i386/fpu/libm-test-ulps: Update.
23537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23539
f775c276
KT
235402012-03-01 Kai Tietz <ktietz@redhat.com>
23541
23542 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23543 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23544 containing bit-fields.
23545 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23546 * soft-fp/single.h (_FP_UNION_S): Likewise.
23547 * soft-fp/double.h (_FP_UNION_D): Likewise.
23548
5b8a4d4a
JM
235492012-02-29 Joseph Myers <joseph@codesourcery.com>
23550
0bab47b6
JM
23551 [BZ #13786]
23552 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23553 not include ../strcmp.S.
23554 [USE_AS_STRNCASECMP_L]: Likewise.
23555 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23556 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23557 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23558 (__strncasecmp_l_ia32): Define as alias to
23559 __strncasecmp_l_nonascii.
23560
0fcad3e2
JM
23561 [BZ #5794]
23562 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23563 * sysdeps/i386/fpu/libm-test-ulps: Update.
23564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23565
5b8a4d4a
JM
23566 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23568
8fdceb2e
JL
235692012-02-29 Jeff Law <law@redhat.com>
23570
23571 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23572 out of bounds read.
23573
1f393a11
MP
235742012-02-29 Marek Polacek <polacek@redhat.com>
23575
23576 [BZ #13706]
23577 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23578 * elf/Makefile: Add rules to run tst-unused-dep.out.
23579
8847f037
DM
235802012-02-28 David S. Miller <davem@davemloft.net>
23581
23582 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23583 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23586 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23587 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23588
169d7f11
JM
235892012-02-29 Joseph Myers <joseph@codesourcery.com>
23590
23591 * math/libm-test.inc (llround_test): Move one test from
23592 lround_test. Use TEST_f_L in moved test.
23593 (lround_test): Move misplaced test to llround_test. Add testcase
23594 from bug 2561.
23595
39adf059
UD
235962012-02-28 Ulrich Drepper <drepper@gmail.com>
23597
23598 * sysdeps/x86_64/fpu/e_expf.S: New file.
23599 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23600
71b5d1c5
SB
236012012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23602
23603 [BZ #13637]
23604 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23605 of remain_len that may cause incomplete multi-byte character and
23606 false match.
23607 * posix/bug-regex33.c: New file.
23608 * posix/Makefile (tests): Add bug-regex33.
23609
1f77f049
JM
236102012-02-28 Joseph Myers <joseph@codesourcery.com>
23611
23612 * manual/macros.texi: New file.
23613 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23614 * manual/libc.texinfo: Include macros.texi.
23615 * manual/creatute.texi: Likewise.
23616 * manual/install.texi: Likewise.
23617 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23618 @glibcadj{} in references to the GNU C Library.
23619 * manual/charset.texi: Likewise.
23620 * manual/conf.texi: Likewise.
23621 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23622 when not using those macros.
23623 * manual/creature.texi: Likewise.
23624 * manual/crypt.texi: Likewise.
23625 * manual/errno.texi: Likewise.
23626 * manual/filesys.texi: Likewise.
23627 * manual/header.texi: Likewise.
23628 * manual/install.texi: Likewise.
23629 * manual/intro.texi: Likewise.
23630 * manual/io.texi: Likewise.
23631 * manual/job.texi: Likewise.
23632 * manual/lang.texi: Likewise.
23633 * manual/libc.texiinfo: Likewise.
23634 * manual/llio.texi: Likewise.
23635 * manual/locale.texi: Likewise.
23636 * manual/maint.texi: Likewise.
23637 * manual/math.texi: Likewise.
23638 * manual/memory.texi: Likewise.
23639 * manual/message.texi: Likewise.
23640 * manual/nss.texi: Likewise.
23641 * manual/pattern.texi: Likewise.
23642 * manual/process.texi: Likewise.
23643 * manual/resource.texi: Likewise.
23644 * manual/search.texi: Likewise.
23645 * manual/setjmp.texi: Likewise.
23646 * manual/signal.texi: Likewise.
23647 * manual/socket.texi: Likewise.
23648 * manual/startup.texi: Likewise.
23649 * manual/stdio.texi: Likewise.
23650 * manual/string.texi: Likewise.
23651 * manual/sysinfo.texi: Likewise.
23652 * manual/syslog.texi: Likewise.
23653 * manual/terminal.texi: Likewise.
23654 * manual/time.texi: Likewise.
23655 * manual/users.texi: Likewise.
23656 * INSTALL: Regenerated.
23657 * NOTES: Regenerated.
d40c5d54 23658 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23659
450bf206
AS
236602012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23661
23662 * include/dirent.h: Include <dirstream.h> before
23663 <dirent/dirent.h>.
23664
741a235b
DM
236652012-02-28 David S. Miller <davem@davemloft.net>
23666
23667 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23668 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23669 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23670 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23671
d6b5aa58
DM
236722012-02-27 David S. Miller <davem@davemloft.net>
23673
1aff59a3
DM
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23676 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23677 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23678
d6b5aa58
DM
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23680 frame pointer instead of stack pointer relative arg slot.
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23682 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23683 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23684
433f48bf
CD
236852012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23686
23687 [BZ #3992]
23688 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23689
d674b76d
DM
236902012-02-27 David S. Miller <davem@davemloft.net>
23691
23692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23696 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23697 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23698 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23699 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23700
0e7727f7
JM
237012012-02-27 Joseph Myers <joseph@codesourcery.com>
23702
23703 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23704 later. Allow versions 5-9.
43be4ca2 23705 * configure: Regenerated.
0e7727f7
JM
23706 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23707 required minimum version and 4.6 as recommended version. Do not
23708 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23709 * INSTALL: Regenerated.
0e7727f7 23710
a78bc654
DM
237112012-02-27 David S. Miller <davem@davemloft.net>
23712
428d5830
DM
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23717 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23718 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23719 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23720 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23721
a78bc654
DM
23722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23723 manipulate bits before adding and subtracting TWO112[sx].
23724 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23725
4579f81c
RM
237262012-02-27 Roland McGrath <roland@hack.frob.com>
23727
36c8acb4
RM
23728 [BZ #13775]
23729 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23730 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23731 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23732 being in POSIX, because they are in 1003.1-2008.
23733
84ad622b
RM
23734 * rt/tst-aio.c: Include <fcntl.h>.
23735 * rt/tst-aio7.c: Likewise.
23736 * rt/tst-aio64.c: Likewise.
23737
4579f81c
RM
23738 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23739
abd923db
JM
237402012-02-27 Joseph Myers <joseph@codesourcery.com>
23741
23742 * manual/install.texi (--with-headers): Describe headers as
23743 interface headers, not private headers.
23744 (Specific advice for GNU/Linux systems): Describe use of headers
23745 from "make headers_install", not private headers from older
23746 kernels.
43be4ca2 23747 * INSTALL: Regenerated.
abd923db
JM
23748 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23749 Change to 2.6.19.
23750 * sysdeps/unix/sysv/linux/configure: Regenerated.
23751
6664049b
JM
23752 * manual/llio.texi (fclean): Remove documentation.
23753
bb8b6697
JM
23754 * manual/Makefile (libc-texi-generated): New variable. Include
23755 version.texi.
23756 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23757 $(libc-texi-generated), not duplicated list of files.
23758 (version.texi, stamp-version): New rules.
23759 (realclean): Remove $(libc-texi-generated), not individual files
23760 from that list. Do not remove dir-add.texinfo.
23761 * manual/libc.texinfo: Comment out uses of edition numbers and
23762 references to printed manual. Remove last-updated dates.
23763 (EDITION): Comment out.
23764 (ISBN): Likewise.
23765 (VERSION, UPDATED): Remove.
23766 (version.texi): Include.
23767
12e5c3b9
AS
237682012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23769
23770 * sysdeps/posix/spawni.c: Include <signal.h>.
23771 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23772 * sysdeps/pthread/aio_fsync.c: Likewise.
23773
4efeffc1 237742012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23775
ba63ba08
UD
23776 * conform/Makefile (tests): Run only when not cross-compiling and
23777 when fast-check is not defined.
23778
d94a4670
UD
23779 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23780 * conform/data/limits.h-data: Fixes for POSIX2008.
23781 * conform/run-conformtest.sh: Run all tests.
23782 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23783 headers.
23784 * include/bits/dlfcn.h: Likewise.
23785 * include/langinfo.h: Likewise.
23786 * include/monetary.h: Likewise.
23787 * include/sys/poll.h: Likewise.
23788
23789 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23790 for __USE_GNU.
23791 * posix/spawn.h: Define __need_sigset_t.
23792 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23793 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23794 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23795 to get sigevent_t only.
23796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23797 only for __USE_GNU.
23798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23799 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23800 process_vm_writev only for __USE_GNU.
23801 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23802
23803 * conform/Makefile: For now ignore errors from run-conformtest.
23804 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23805 POSIX to avoid namespace pollution. Don't prepend headers.
23806 * conform/data/aio.h-data: Fixes for POSIX testing.
23807 * conform/data/fcntl.h-data: Likewise.
23808 * conform/data/glob.h-data: Likewise.
23809 * conform/data/grp.h-data: Likewise.
23810 * conform/data/pthread.h-data: Likewise.
23811 * conform/data/pwd.h-data: Likewise.
23812 * conform/data/signal.h-data: Likewise.
23813 * conform/data/spawn.h-data: Likewise.
23814 * conform/data/stdio.h-data: Likewise.
23815 * conform/data/stdlib.h-data: Likewise.
23816 * conform/data/stropts.h-data: Likewise.
23817 * conform/data/sys/mman.h-data: Likewise.
23818 * conform/data/sys/stat.h-data: Likewise.
23819 * conform/data/sys/types.h-data: Likewise.
23820 * conform/data/sys/wait.h-data: Likewise.
23821 * conform/data/time.h-data: Likewise.
23822 * conform/data/unistd.h-data: Likewise.
23823 * conform/data/utime.h-data: Likewise.
23824
23825 * io/sys/stat.h: fchmod was always in POSIX.
23826 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23827 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23828 * rt/aio.h: Define __need_timespec before including <time.h>.
23829 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23830 struct. Add forward declaration of pthread_attr_t and use it in
23831 sigevent.
23832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23833 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23834 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23835 always remove CLK_TCK definition.
23836
c20105c3
AS
238372012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23838
23839 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23840
7a270350
UD
238412012-02-25 Ulrich Drepper <drepper@gmail.com>
23842
31341567
UD
23843 * conform/run-conformtest.sh: New file.
23844 * conform/Makefile: Run run-conformtest for tests.
23845 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23846 support.
23847
23848 * conform/data/uchar.h-data: New file.
23849 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23850 * conform/data/arpa/inet.h-data: Likewise.
23851 * conform/data/assert.h-data: Likewise.
23852 * conform/data/complex.h-data: Likewise.
23853 * conform/data/cpio.h-data: Likewise.
23854 * conform/data/ctype.h-data: Likewise.
23855 * conform/data/dirent.h-data: Likewise.
23856 * conform/data/dlfcn.h-data: Likewise.
23857 * conform/data/errno.h-data: Likewise.
23858 * conform/data/fcntl.h-data: Likewise.
23859 * conform/data/float.h-data: Likewise.
23860 * conform/data/fmtmsg.h-data: Likewise.
23861 * conform/data/fnmatch.h-data: Likewise.
23862 * conform/data/ftw.h-data: Likewise.
23863 * conform/data/glob.h-data: Likewise.
23864 * conform/data/grp.h-data: Likewise.
23865 * conform/data/iconv.h-data: Likewise.
23866 * conform/data/inttypes.h-data: Likewise.
23867 * conform/data/langinfo.h-data: Likewise.
23868 * conform/data/libgen.h-data: Likewise.
23869 * conform/data/limits.h-data: Likewise.
23870 * conform/data/locale.h-data: Likewise.
23871 * conform/data/math.h-data: Likewise.
23872 * conform/data/monetary.h-data: Likewise.
23873 * conform/data/mqueue.h-data: Likewise.
23874 * conform/data/ndbm.h-data: Likewise.
23875 * conform/data/net/if.h-data: Likewise.
23876 * conform/data/netdb.h-data: Likewise.
23877 * conform/data/netinet/in.h-data: Likewise.
23878 * conform/data/nl_types.h-data: Likewise.
23879 * conform/data/poll.h-data: Likewise.
23880 * conform/data/pthread.h-data: Likewise.
23881 * conform/data/pwd.h-data: Likewise.
23882 * conform/data/regex.h-data: Likewise.
23883 * conform/data/sched.h-data: Likewise.
23884 * conform/data/search.h-data: Likewise.
23885 * conform/data/semaphore.h-data: Likewise.
23886 * conform/data/setjmp.h-data: Likewise.
23887 * conform/data/signal.h-data: Likewise.
23888 * conform/data/spawn.h-data: Likewise.
23889 * conform/data/stdarg.h-data: Likewise.
23890 * conform/data/stdio.h-data: Likewise.
23891 * conform/data/stdlib.h-data: Likewise.
23892 * conform/data/string.h-data: Likewise.
23893 * conform/data/strings.h-data: Likewise.
23894 * conform/data/stropts.h-data: Likewise.
23895 * conform/data/sys/ipc.h-data: Likewise.
23896 * conform/data/sys/mman.h-data: Likewise.
23897 * conform/data/sys/msg.h-data: Likewise.
23898 * conform/data/sys/resource.h-data: Likewise.
23899 * conform/data/sys/select.h-data: Likewise.
23900 * conform/data/sys/sem.h-data: Likewise.
23901 * conform/data/sys/shm.h-data: Likewise.
23902 * conform/data/sys/socket.h-data: Likewise.
23903 * conform/data/sys/stat.h-data: Likewise.
23904 * conform/data/sys/statvfs.h-data: Likewise.
23905 * conform/data/sys/time.h-data: Likewise.
23906 * conform/data/sys/timeb.h-data: Likewise.
23907 * conform/data/sys/times.h-data: Likewise.
23908 * conform/data/sys/types.h-data: Likewise.
23909 * conform/data/sys/uio.h-data: Likewise.
23910 * conform/data/sys/un.h-data: Likewise.
23911 * conform/data/sys/utsname.h-data: Likewise.
23912 * conform/data/sys/wait.h-data: Likewise.
23913 * conform/data/syslog.h-data: Likewise.
23914 * conform/data/tar.h-data: Likewise.
23915 * conform/data/termios.h-data: Likewise.
23916 * conform/data/utime.h-data: Likewise.
23917 * conform/data/utmpx.h-data: Likewise.
23918 * conform/data/varargs.h-data: Likewise.
23919 * conform/data/wchar.h-data: Likewise.
23920 * conform/data/wctype.h-data: Likewise.
23921 * conform/data/wordexp.h-data: Likewise.
23922
23923 * include/stropts.h: New file.
23924 * include/uchar.h: New file.
23925 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23926 * include/assert.h: Likewise.
23927 * include/ctype.h: Likewise.
23928 * include/dirent.h: Likewise.
23929 * include/dlfcn.h: Likewise.
23930 * include/fcntl.h: Likewise.
23931 * include/fnmatch.h: Likewise.
23932 * include/glob.h: Likewise.
23933 * include/grp.h: Likewise.
23934 * include/libio.h: Likewise.
23935 * include/locale.h: Likewise.
23936 * include/math.h: Likewise.
23937 * include/net/if.h: Likewise.
23938 * include/netdb.h: Likewise.
23939 * include/netinet/in.h: Likewise.
23940 * include/pthread.h: Likewise.
23941 * include/pwd.h: Likewise.
23942 * include/regex.h: Likewise.
23943 * include/sched.h: Likewise.
23944 * include/search.h: Likewise.
23945 * include/setjmp.h: Likewise.
23946 * include/signal.h: Likewise.
23947 * include/stdio.h: Likewise.
23948 * include/stdlib.h: Likewise.
23949 * include/string.h: Likewise.
23950 * include/sys/cdefs.h: Likewise.
23951 * include/sys/mman.h: Likewise.
23952 * include/sys/msg.h: Likewise.
23953 * include/sys/resource.h: Likewise.
23954 * include/sys/select.h: Likewise.
23955 * include/sys/socket.h: Likewise.
23956 * include/sys/stat.h: Likewise.
23957 * include/sys/statvfs.h: Likewise.
23958 * include/sys/time.h: Likewise.
23959 * include/sys/times.h: Likewise.
23960 * include/sys/uio.h: Likewise.
23961 * include/sys/utsname.h: Likewise.
23962 * include/sys/wait.h: Likewise.
23963 * include/termios.h: Likewise.
23964 * include/time.h: Likewise.
23965 * include/ulimit.h: Likewise.
23966 * include/unistd.h: Likewise.
23967 * include/utime.h: Likewise.
23968 * include/wchar.h: Likewise.
23969 * include/wctype.h: Likewise.
23970 * include/wordexp.h: Likewise.
23971
23972 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23973
7a270350
UD
23974 * time/time.h: TIME_UTC must be a macro.
23975 Make timespec_get available for ISO C11 only as well.
23976
7724defc
UD
239772012-02-24 Ulrich Drepper <drepper@gmail.com>
23978
23979 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23980 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23981
6b1d1d46
JM
239822012-02-24 Joseph Myers <joseph@codesourcery.com>
23983
23984 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23985
0f8bbd69
JM
239862012-02-24 Joseph Myers <joseph@codesourcery.com>
23987
23988 * manual/texinfo.tex: Update to version 2012-01-19.16.
23989
66ab80bc
JM
239902012-02-24 Joseph Myers <joseph@codesourcery.com>
23991
23992 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23993
74981cc5
RM
239942012-02-24 Roland McGrath <roland@hack.frob.com>
23995
ee968201
RM
23996 [BZ #13738]
23997 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23998 * manual/fdl-1.3.texi: New file.
23999 * manual/fdl-1.1.texi: File removed.
24000
74981cc5
RM
24001 [BZ #13738]
24002 * manual/libc.texinfo (FDL_VERSION): New @set.
24003 Use it for mention of FDL in cover text.
24004 (Documentation License): Use it in @include file name.
24005
7bb764bc
JM
240062012-02-22 Joseph Myers <joseph@codesourcery.com>
24007 Roland McGrath <roland@hack.frob.com>
24008
24009 [BZ #5461]
24010 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24011 not LONG_LONG_MAX and LONG_LONG_MIN.
24012 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24013 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24014 name.
24015 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24016
6cbeae47
JM
240172012-02-22 Joseph Myers <joseph@codesourcery.com>
24018
24019 [BZ #2547]
24020 [BZ #11365]
24021 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24022 manipulate bits before adding and subtracting TWO23[sx].
24023 * math/libm-test.inc (nearbyint_test): Add more tests.
24024
fe45ce09
JM
240252012-02-22 Joseph Myers <joseph@codesourcery.com>
24026
24027 [BZ #2548]
24028 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24029 bits before adding and subtracting TWO23[sx].
24030 * math/libm-test.inc (rint_test): Add more tests.
24031 (rint_test_tonearest): Likewise.
24032 (rint_test_towardzero): Likewise.
24033 (rint_test_downward): Likewise.
24034 (rint_test_upward: Likewise.
24035
ff3b3d82
JM
240362012-02-22 Joseph Myers <joseph@codesourcery.com>
24037
24038 [BZ #10110]
24039 * include/stdc-predef.h: New file. Extracted from features.h.
24040 * include/features.h: Include stdc-predef.h.
24041 * Makefile (headers): Add stdc-predef.h.
24042 * CONFORMANCE (Compiler limitations): Update.
24043
ef0aab35
JM
240442012-02-22 Joseph Myers <joseph@codesourcery.com>
24045
24046 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24047
58639409
DM
240482012-02-21 David S. Miller <davem@davemloft.net>
24049
24050 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24051 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24052
c0e70b25
DM
240532012-02-20 David S. Miller <davem@davemloft.net>
24054
24055 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24056 using a normal save/restore sequence, rather than allocating a
24057 dummy stack frame just to store a frame pointer and restore.
24058 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24059
fb06851d
JM
240602012-02-21 Joseph Myers <joseph@codesourcery.com>
24061
24062 * manual/install.texi: Fix stray word in line-wrapped comment.
24063
7a8b71c3
DM
240642012-02-20 David S. Miller <davem@davemloft.net>
24065
d510c123
DM
24066 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24067 both binutils and gcc support GOTDATA.
24068
0722d7c2
DM
24069 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24070 "rd %pc" in the PIC register setup sequences.
24071
3d2b3019
DM
24072 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24073 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24074 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24075 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24076 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24078 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24081 (SYSCALL_ERROR_HANDLER): Likewise.
24082 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24083 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24085 (SYSCALL_ERROR_HANDLER): Likewise.
24086
c80098a9
DM
24087 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24088 (HAVE_GCC_GOTDATA): New.
24089 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24090 relocation support in both binutils and gcc.
24091 * sysdeps/sparc/elf/configure: Regenerate.
24092
3a2545a0
DM
24093 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24094 * sysdeps/sparc/sparc32/elf/configure: Delete.
24095 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24096 * sysdeps/sparc/sparc64/elf/configure: Delete.
24097 * sysdeps/sparc/elf/configure.in: New file.
24098 * sysdeps/sparc/elf/configure: Generate.
24099
7a8b71c3
DM
24100 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24101 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24102 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24103 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24104 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24105
f1e86fca
JM
241062012-02-21 Joseph Myers <joseph@codesourcery.com>
24107
24108 * manual/install.texi: Do not mention specific glibc version
24109 numbers.
24110 * manual/libc.texinfo (VERSION, UPDATED): Update.
24111 (@copying): Use @copyright{} and range of years.
24112
0e7dfaef
JM
241132012-02-21 Joseph Myers <joseph@codesourcery.com>
24114
24115 [BZ #13695]
24116 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24117 [crti.S not in sysdirs] (generated): Do not append.
24118 [crti.S not in sysdirs] (omit-deps): Likewise.
24119 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24120 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24121 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24122 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24123 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24124 Likewise.
24125 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24126 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24127 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24128 * csu/defs.awk: Remove file.
24129 * sysdeps/generic/initfini.c: Likewise.
24130 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24131 variable.
24132 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24133 Likewise.
24134
599af3ca
JM
241352012-02-20 Joseph Myers <joseph@codesourcery.com>
24136
24137 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24138 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24139 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24140 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24142 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24143 <bits/epoll.h>.
24144 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24145 (__EPOLL_PACKED): Define to empty if not defined by
24146 <bits/epoll.h>.
24147 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24149 bits/epoll.h.
24150
0e499750
JM
241512012-02-20 Joseph Myers <joseph@codesourcery.com>
24152
24153 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24154 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24155 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24156 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24157 <bits/timerfd.h>.
24158 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24160 bits/timerfd.h.
24161
5ad91f6e
JM
241622012-02-20 Joseph Myers <joseph@codesourcery.com>
24163
24164 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24165 in C locale.
24166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24167 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24170
06b99b02
AJ
241712012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24172
24173 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24174 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24175
7638c0fd
AS
241762012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24177
24178 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24179 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24180 defined.
24181 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24182 Likewise.
24183 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24184 entry for 2.16.
24185
92221550
AJ
241862012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24187
24188 * math/w_acos.c: Use non-signaling floating-point comparisons.
24189 * math/w_acosf.c: Likewise.
24190 * math/w_acosh.c: Likewise.
24191 * math/w_acoshf.c: Likewise.
24192 * math/w_acoshl.c: Likewise.
24193 * math/w_acosl.c: Likewise.
24194 * math/w_asin.c: Likewise.
24195 * math/w_asinf.c: Likewise.
24196 * math/w_asinl.c: Likewise.
24197 * math/w_atanh.c: Likewise.
24198 * math/w_atanhf.c: Likewise.
24199 * math/w_atanhl.c: Likewise.
24200 * math/w_exp2.c: Likewise.
24201 * math/w_exp2f.c: Likewise.
24202 * math/w_exp2l.c: Likewise.
24203 * math/w_j0.c: Likewise.
24204 * math/w_j0f.c: Likewise.
24205 * math/w_j0l.c: Likewise.
24206 * math/w_j1.c: Likewise.
24207 * math/w_j1f.c: Likewise.
24208 * math/w_j1l.c: Likewise.
24209 * math/w_jn.c: Likewise.
24210 * math/w_jnf.c: Likewise.
24211 * math/w_log.c: Likewise.
24212 * math/w_log10.c: Likewise.
24213 * math/w_log10f.c: Likewise.
24214 * math/w_log10l.c: Likewise.
24215 * math/w_log2.c: Likewise.
24216 * math/w_log2f.c: Likewise.
24217 * math/w_log2l.c: Likewise.
24218 * math/w_logf.c: Likewise.
24219 * math/w_logl.c: Likewise.
24220 * math/w_sqrt.c: Likewise.
24221 * math/w_sqrtf.c: Likewise.
24222 * math/w_sqrtl.c: Likewise.
24223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24224 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24226 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24228
ebaf36eb
JM
242292012-02-19 Joseph Myers <joseph@codesourcery.com>
24230
24231 [BZ #9739]
24232 * manual/string.texi (strnlen): Use correct parameter name in
24233 equivalent expression.
24234
71c254a6
JM
242352012-02-19 Joseph Myers <joseph@codesourcery.com>
24236
24237 [BZ #11174]
24238 * manual/users.texi (seteuid): Consistently use neweuid for
24239 argument name.
24240
16d2c631
JM
242412012-02-19 Joseph Myers <joseph@codesourcery.com>
24242
24243 [BZ #13704]
24244 * manual/nss.texi (Services in the NSS configuration): Correct
24245 list of services in example configuration file.
24246
cd837b09
NB
242472012-02-19 Nick Bowler <nbowler@draconx.ca>
24248
24249 [BZ #11322]
24250 * manual/arith.texi: Remove statements about negative zero
24251 behaving identically to zero.
24252
02c4bbad
JM
242532012-02-18 Joseph Myers <joseph@codesourcery.com>
24254
24255 [BZ #5993]
24256 * manual/install.texi: Do not document upgrading from libc5.
24257
366842e7
JM
242582012-02-18 Joseph Myers <joseph@codesourcery.com>
24259
24260 [BZ #4596]
24261 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24262
dd54084d
DM
242632012-02-18 David S. Miller <davem@davemloft.net>
24264
24265 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24266 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24267 %o7 across the call.
24268 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24269 instead.
24270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24271 SETUP_PIC_REG_LEAF.
24272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24273 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24274 * sysdeps/sparc/crtn.S: Likewise.
24275
2bcc53a3
UD
242762012-02-17 Ulrich Drepper <drepper@gmail.com>
24277
24278 * aout/Makefile: Remove.
24279
09c093b5
RK
242802012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24281
24282 [BZ #13058]
24283 * manual/examples/argp-ex1.c (main): Format definition in GNU
24284 style.
24285 * manual/examples/argp-ex2.c (main): Likewise.
24286 * manual/examples/argp-ex3.c (main): Likewise.
24287 * manual/examples/argp-ex4.c (main): Likewise.
24288 * manual/examples/longopt.c (main): Use new-style prototype
24289 definition.
24290 * manual/examples/strncat.c (main): Specify return type and use
24291 (void) for arguments.
24292 * manual/examples/subopt.c (main): Use char **argv argument.
24293
2ee633a2
JM
242942012-02-17 Joseph Myers <joseph@codesourcery.com>
24295
24296 [BZ #5077]
24297 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24298 rounding modes.
24299
0520adde
FB
243002012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24301
24302 [BZ #6907]
24303 * manual/string.texi (strchr): Change when strchrnul is
24304 recommended.
24305
3f4081cd
DGM
243062012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24307
24308 [BZ #174]
24309 * manual/locale.texi (setlocale): Document LOCPATH.
24310
d1b10e78
JM
243112012-02-17 Joseph Myers <joseph@codesourcery.com>
24312
24313 [BZ #10210]
24314 * manual/process.texi (execle): Move @dots{} before last argument.
24315
79c6869c
PB
243162012-02-17 Paul Bolle <pebolle@tiscali.nl>
24317
24318 [BZ #12047]
24319 * manual/charset.texi (Generic Charset Conversion): Fix typo
24320 (LC_TYPE -> LC_CTYPE).
24321
cc6e48bc
NB
243222012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24323
24324 [BZ #5805]
24325 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24326 (scalbnf): Likewise.
24327 (scalbnl): Likewise.
24328 (scalbln): Likewise.
24329 (scalblnf): Likewise.
24330 (scalblnl): Likewise.
24331 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24332 (vwarnx): Likewise.
24333 (verr): Likewise.
24334 (verrx): Likewise.
24335 * manual/filesys.texi (telldir): Use braces around return type.
24336 * manual/llio.texi (mmap): Add space after comma.
24337 (mmap64): Likewise.
24338 * manual/math.texi (jn): Use @var{} on parameter names.
24339 (jnf): Likewise.
24340 (jnl): Likewise.
24341 (yn): Likewise.
24342 (ynf): Likewise.
24343 (ynl): Likewise.
24344 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24345 line.
24346 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24347 "...".
24348 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24349 (sched_get_priority_max): Likewise.
24350 * manual/signal.texi (sigvec): Add space after comma.
24351 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24352 names.
24353 (if_indextoname): Likewise.
24354 (if_freenameindex): Likewise.
24355 (sendto): Use ',' instead of '.' in prototype.
24356 * manual/startup.texi (syscall): Use @dots{} instead of literal
24357 "...".
24358 * manual/stdio.texi (__fpending): Separate initial words of
24359 paragraph from @deftypefun line.
24360 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24361 "...".
24362 (vsyslog): Use @var{} on parameter names.
24363 * manual/terminal.texi (stty): Use @var{} on parameter names.
24364 * manual/users.texi (getutmp): Use @var{} on parameter names.
24365 (getutmpx): Likewise.
24366
5b23062f
JM
243672012-02-17 Joseph Myers <joseph@codesourcery.com>
24368
24369 [BZ #6884]
24370 * manual/stdio.texi (fopen): Fix typos in description of
24371 ",ccs=STRING".
24372
8dee4833
AJ
243732012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24374
24375 [BZ #4026]
24376 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24377 get clock_id definition.
24378
9078ce93
TS
243792012-02-17 Thomas Schwinge <thomas@schwinge.name>
24380
24381 [BZ #4822]
24382 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24383 (madvise): Cast every argument to void on its own.
24384
3835c55f
JM
243852012-02-17 Joseph Myers <joseph@codesourcery.com>
24386
24387 [BZ #9902]
24388 * manual/startup.texi (Exit Status): Fix typo.
24389
35c47e37
JM
243902012-02-17 Joseph Myers <joseph@codesourcery.com>
24391
24392 [BZ #10140]
24393 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24394 * manual/examples/argp-ex2.c: Likewise.
24395 * manual/examples/argp-ex3.c: Likewise.
24396
e3b69ca7
RH
243972012-02-16 Richard Henderson <rth@redhat.com>
24398
24399 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24400 * sysdeps/s390/s390-32/initfini.c: Remove.
24401 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24402 * sysdeps/s390/s390-64/initfini.c: Remove.
24403
df83af67
KK
244042012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24405
24406 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24407 compiler output for sysdeps/generic/initfini.c.
24408 * sysdeps/sh/elf/initfini.c: Remove file.
24409
f63f3380
DM
244102012-02-16 David S. Miller <davem@davemloft.net>
24411
fb59b3a4
DM
24412 [BZ #11494]
24413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24414
f63f3380
DM
24415 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24416 * sysdeps/sparc/crti.S: New file.
24417 * sysdeps/sparc/crtn.S: New file.
24418 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24419 * sysdeps/sparc/sparc64/Makefile: Likewise.
24420
df6a4a4a
MF
244212012-02-15 Mike Frysinger <vapier@gentoo.org>
24422
6dd8f3dc 24423 [BZ #3335]
df6a4a4a
MF
24424 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24425
1cac7236
RM
244262012-02-15 Roland McGrath <roland@hack.frob.com>
24427
d2c736f8
RM
24428 [BZ #4822]
24429 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24430
1cac7236
RM
24431 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24432 (write, read, close): Likewise.
24433 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24434
8e475601
JM
244352012-02-15 Joseph Myers <joseph@codesourcery.com>
24436
24437 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24438 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24439 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24440 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24441 <bits/signalfd.h>.
24442 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24444 bits/signalfd.h.
24445
ed656b40
MP
244462012-02-14 Marek Polacek <polacek@redhat.com>
24447
24448 * sysdeps/x86_64/crti.S: New file.
24449 * sysdeps/x86_64/crtn.S: New file.
24450 * sysdeps/x86_64/elf/initfini.c: Remove file.
24451
2a979d3a
JM
244522012-02-13 Joseph Myers <joseph@codesourcery.com>
24453
24454 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24455 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24456 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24457 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24458 <bits/inotify.h>.
24459 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24461 bits/inotify.h.
24462
2a418ac3
JM
244632012-02-13 Joseph Myers <joseph@codesourcery.com>
24464
24465 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24466 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24467 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24468 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24469 <bits/eventfd.h>.
24470 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24472 bits/eventfd.h.
24473
fb779be7
TS
244742012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24475
e19e83c5
RM
24476 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24477 __feraiseexcept instead of feraiseexcept.
7c35ffed 24478
fb779be7
TS
24479 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24480 nanosleep invocations.
24481 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24482 strings, and add error checking for a nanosleep invocations.
24483
59ba27a6
PE
244842012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24485
24486 Replace FSF snail mail address with URLs, as per GNU coding standards.
24487 Most of the snail mail addresses were wrong anyway, and omitting
24488 them makes the source code easier to maintain. Almost all of the
24489 changes are to license notices and to locale LC_IDENTIFICATION
24490 addresses, except for this one:
24491 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24492 not its snail mail address.
24493
57b957eb
RH
244942012-02-09 Richard Henderson <rth@twiddle.net>
24495
af850b1c
RH
24496 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24497 of kernel-features.h.
24498
57b957eb
RH
24499 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24500
6b73181a
MP
245012012-02-08 Marek Polacek <polacek@redhat.com>
24502
24503 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24504 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24505 * sysdeps/gnu/_G_config.h: Likewise.
24506 * sysdeps/generic/_G_config.h: Likewise.
24507
26ecc33a
AS
245082012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24509
6c6dbc63
AS
24510 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24511 tests.
24512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24513
e216c012
AS
24514 * sysdeps/powerpc/powerpc32/crti.S: New file.
24515 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24516 * sysdeps/powerpc/powerpc64/crti.S: New file.
24517 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24518
26ecc33a
AS
24519 * Makeconfig (have-initfini): Don't set.
24520 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24521 * configure.in (nopic_initfini): Don't substitute.
24522 * config.h.in (HAVE_INITFINI): Don't #undef.
24523 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24524 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24525
3add8e13
JM
245262012-02-08 Joseph Myers <joseph@codesourcery.com>
24527
24528 Support crti.S and crtn.S provided directly by architectures.
24529 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24530 [crti.S in sysdirs] (omit-deps): Likewise.
24531 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24532 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24533 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24534 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24535 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24536 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24537 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24538 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24539 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24540 compiler output for sysdeps/generic/initfini.c.
24541 * sysdeps/i386/elf/Makefile: Remove file.
24542 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24543
a22f12b4
MP
245442012-02-07 Marek Polacek <polacek@redhat.com>
24545
24546 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24547 * sysdeps/gnu/_G_config.h: Likewise.
24548 * sysdeps/mach/hurd/_G_config.h: Likewise.
24549
148cf100
MP
245502012-02-07 Marek Polacek <polacek@redhat.com>
24551
24552 * math/Makefile (tests): Add tst-CMPLX2.
24553 * math/tst-CMPLX2.c: New file.
24554
cfdc0dd7
AS
245552012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24556
84ba42c4
AS
24557 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24558
cfdc0dd7
AS
24559 * math/libm-test.inc (jn_test): Add missing L suffix.
24560
622c86f4
MP
245612012-02-06 Marek Polacek <polacek@redhat.com>
24562
24563 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24564 * sysdeps/i386/fpu/e_powf.S: Likewise.
24565 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24566 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24568 * sysdeps/i386/fpu/e_pow.S: Likewise.
24569 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24570 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24571 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24572 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24573 * sysdeps/i386/fpu/e_log2.S: Likewise.
24574 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24575 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24576 * sysdeps/i386/fpu/e_powl.S: Likewise.
24577 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24579 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24580 * sysdeps/i386/fpu/e_logl.S: Likewise.
24581 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24582 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24583 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24584 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24587 * sysdeps/i386/fpu/e_log.S: Likewise.
24588 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24589 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24590 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24591 * sysdeps/i386/fpu/e_logf.S: Likewise.
24592 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24593 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24594 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24595 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24596 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24597 * sysdeps/i386/fpu/e_log10.S: Likewise.
24598 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24599 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24600 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24601 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24602 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24603 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24604 * sysdeps/i386/asm-syntax.h: Likewise.
24605 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24606 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24607 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24608 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24609 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24610 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24611 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24612 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24613 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24614 * sysdeps/powerpc/sysdep.h: Likewise.
24615 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24616 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24617
d4a54ac6
JM
246182012-02-06 Joseph Myers <joseph@codesourcery.com>
24619
24620 [BZ #411]
24621 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24622
314054ea
JM
246232012-02-06 Joseph Myers <joseph@codesourcery.com>
24624
24625 * sysdeps/i386/sysdep.h: Include <features.h>.
24626 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24627 version.
24628
d8e0ca50
JM
246292012-02-05 Joseph Myers <joseph@codesourcery.com>
24630
24631 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24632 Define.
24633 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24634 LOAD_PIC_REG_STR.
24635
b1da7dd9
JM
246362012-02-03 Joseph Myers <joseph@codesourcery.com>
24637
24638 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24639 (SETUP_PIC_REG): Use GET_PC_THUNK.
24640 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24641 macro.
24642
9a1d9254
JM
246432012-02-03 Joseph Myers <joseph@codesourcery.com>
24644
24645 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24646 for non-PIC compilation.
24647 (SETUP_PIC_REG): Add .p2align directive.
24648 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24649 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24650 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24651 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24653 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24656 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24657 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24658 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24659 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24660 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24661 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24662 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24663 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24664 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24665 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24666 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24667 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24668 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24669 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24670 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24671 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24672 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24676 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24677 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24678 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24680 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24681 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24689
65dc3b75
JM
246902012-02-03 Joseph Myers <joseph@codesourcery.com>
24691
24692 * math/tst-CMPLX.c: Include <stdio.h>.
24693
d55bf177
JM
246942012-01-31 Joseph Myers <joseph@codesourcery.com>
24695
24696 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24697 float.
24698 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24699 * sysdeps/sparc/bits/mathdef.h: Likewise.
24700
69db4f8f
MP
247012012-01-31 Marek Polacek <polacek@redhat.com>
24702
24703 * libio/libio.h: Don't define _PARAMS.
24704 * locale/programs/config.h: Don't define PARAMS.
24705 * stdlib/strtol_l.c: Likewise.
24706 (__strtol_l): Remove PARAMS from the prototype.
24707
41b81892
UD
247082012-01-31 Ulrich Drepper <drepper@gmail.com>
24709
3b49edc0
UD
24710 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24711 names. Just use the correct names. Remove unnecessary wrapper
24712 functions.
24713 * malloc/arena.c: Likewise.
24714 * malloc/hooks.c: Likewise.
24715
41b81892
UD
24716 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24717 ARENA_TEST says not to. Simplify test for creation of a new arena.
24718 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24719
27a25b6e
UD
247202012-01-30 Ulrich Drepper <drepper@gmail.com>
24721
24722 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24723 into tail calls.
24724 (update_get_addr): New function.
24725 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24726 GET_ADDR_MODULE parameter.
24727
c8a89e7d
JM
247282012-01-30 Joseph Myers <joseph@codesourcery.com>
24729
24730 * crypt/cert.c: Remove __STDC__ conditionals.
24731 * crypt/crypt-entry.c: Likewise.
24732 * crypt/crypt_util.c: Likewise.
24733 * libio/filedoalloc.c: Likewise.
24734 * libio/fileops.c: Likewise.
24735 * libio/genops.c: Likewise.
24736 * libio/iofclose.c: Likewise.
24737 * libio/iofdopen.c: Likewise.
24738 * libio/iofopen.c: Likewise.
24739 * libio/iofopen64.c: Likewise.
24740 * libio/iogetdelim.c: Likewise.
24741 * libio/iopopen.c: Likewise.
24742 * libio/obprintf.c: Likewise.
24743 * libio/oldfileops.c: Likewise.
24744 * libio/oldiofclose.c: Likewise.
24745 * libio/oldiofdopen.c: Likewise.
24746 * libio/oldiofopen.c: Likewise.
24747 * libio/oldiopopen.c: Likewise.
24748 * libio/wfiledoalloc.c: Likewise.
24749 * libio/wgenops.c: Likewise.
24750 * locale/programs/xmalloc.c: Likewise.
24751 * misc/syslog.c: Likewise.
24752 * stdio-common/xbug.c: Likewise.
24753 * string/memchr.c: Likewise.
24754 * string/memcmp.c: Likewise.
24755 * string/memrchr.c: Likewise.
24756 * string/rawmemchr.c: Likewise.
24757 * sysdeps/posix/getcwd.c: Likewise.
24758 * time/strftime_l.c: Likewise.
24759
3b100462
JM
247602012-01-30 Joseph Myers <joseph@codesourcery.com>
24761
24762 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24763 * config.make.in (config-cflags-sse2avx): Define.
24764 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24765 Fix typo.
24766
607998af
CM
247672012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24768
24769 * scripts/config.guess: Update from upstream config git repository.
24770 * scripts/config.sub: Likewise.
24771
3601428f
CM
247722012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24773
3ac8b282
CM
24774 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24775 (EM_NUM): Update.
24776 (R_TILEPRO_*, R_TILEGX_*): New macros.
24777
e034841e
CM
24778 * scripts/firstversions.awk: Fix bug in version range handling.
24779
540d7568
CM
24780 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24781
3601428f
CM
24782 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24783
463de862
CM
24784 * include/sys/epoll.h: New file.
24785 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24786 libc_hidden_def.
24787
73139a76
UD
247882012-01-28 Ulrich Drepper <drepper@gmail.com>
24789
96bc5b45
UD
24790 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24791 Avoid unnecessary __WORDSIZE == 64 test.
24792 (fmaxf): Use VEX format if possible.
24793 (fmax): Likewise.
24794 (fminf): Likewise.
24795 (fmin): Likewise.
24796
56f6f6a2
UD
24797 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24798 * math/math_private.h: Remove libc_fegetround* and
24799 libc_fesetround*.
24800 * sysdeps/i386/configure.in: Check for -msse2avx.
24801 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24802 also if SSE2AVX is defined.
24803 Remove libc_fegetround* and libc_fesetround*.
24804 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24805 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24807 of HAS_YMM_USABLE.
24808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24809 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24813
73139a76
UD
24814 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24815
d73f93a4
AZ
248162012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24817
24818 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24819 size is not set.
24820 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24821
6ee65ed6
UD
248222012-01-27 Ulrich Drepper <drepper@gmail.com>
24823
24824 [BZ #13618]
24825 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24826 relocation.
24827 * Makeconfig (libm): Define.
24828 * elf/Makefile: Add rules to build and run tst-relsort1.
24829 * elf/tst-relsort1.c: New file.
24830 * elf/tst-relsort1mod1.c: New file.
24831 * elf/tst-relsort1mod2.c: New file.
24832
8db21882
JM
248332012-01-27 Joseph Myers <joseph@codesourcery.com>
24834
24835 * math/s_ldexp.c: Remove __STDC__ conditionals.
24836 * math/s_ldexpf.c: Likewise.
24837 * math/s_ldexpl.c: Likewise.
24838 * math/s_nextafter.c: Likewise.
24839 * math/s_nexttowardf.c: Likewise.
24840 * math/s_significand.c: Likewise.
24841 * math/s_significandf.c: Likewise.
24842 * math/s_significandl.c: Likewise.
24843 * math/w_jnl.c: Likewise.
24844 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24845 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24846 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24847 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24848 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24863 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24864 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24865 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24869 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24870 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24872 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24873 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24874 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24875 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24876 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24877 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24878 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24879 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24880 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24881 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24882 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24883 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24884 * sysdeps/ieee754/k_standard.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24904 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24907 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24910 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24920 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24925 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24927 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24931 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24933 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24934 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24938 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24939 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24940 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24941 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24942 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24943 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24944 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24945 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24946 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24947 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24948 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24949 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24950 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24951 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24952 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24953 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24954 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24955 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24956 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24957 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24958 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24959 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24960 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24962 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24963 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24964 * sysdeps/ieee754/s_matherr.c: Likewise.
24965 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24966 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24969
965a54a4
JM
249702012-01-26 Joseph Myers <joseph@codesourcery.com>
24971
24972 * crypt/md5.h: Remove __STDC__ conditionals.
24973 * libio/libioP.h: Likewise.
24974 * locale/programs/config.h: Likewise.
24975 * sysdeps/generic/sysdep.h: Likewise.
24976 * sysdeps/i386/asm-syntax.h: Likewise.
24977 * sysdeps/s390/asm-syntax.h: Likewise.
24978 * sysdeps/unix/sysdep.h: Likewise.
24979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24981
7071ad79
JM
249822012-01-26 Joseph Myers <joseph@codesourcery.com>
24983
24984 * libio/libio.h: Remove __STDC__ conditionals.
24985 * malloc/obstack.h: Likewise.
24986 * math/complex.h: Likewise.
24987 * math/math.h: Likewise.
24988 * sysdeps/generic/_G_config.h: Likewise.
24989 * sysdeps/gnu/_G_config.h: Likewise.
24990 * sysdeps/mach/hurd/_G_config.h: Likewise.
24991 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24992 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24993 * sysdeps/sparc/bits/mathdef.h: Likewise.
24994
afc5ed09
UD
249952012-01-26 Ulrich Drepper <drepper@gmail.com>
24996
24997 [BZ #13583]
24998 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24999 Clean up HAS_* macros.
afc5ed09 25000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25001 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25002 possible.
25003 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25004 HAS_AVX.
25005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25006 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25007 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25010
bdb6de1d
JM
250112012-01-25 Joseph Myers <joseph@codesourcery.com>
25012
25013 * elf/tst-unique3.cc (gets): Remove declaration.
25014 * elf/tst-unique3lib.cc (gets): Likewise.
25015 * elf/tst-unique3lib2.cc (gets): Likewise.
25016 * elf/tst-unique4.cc (gets): Likewise.
25017
b15549e6
UD
250182012-01-24 Ulrich Drepper <drepper@gmail.com>
25019
25020 * include/stdio.h: Add C++ protection. Add gets declarations and
25021 definitions.
25022 * debug/tst-chk1.c: Don't declare gets here.
25023 * stdio-common/tst-gets.c: Likewise.
25024
a037381f
JM
250252012-01-24 Joseph Myers <joseph@codesourcery.com>
25026
25027 * posix/glob: Remove directory.
25028
f1d4aa75
JM
250292012-01-24 Joseph Myers <joseph@codesourcery.com>
25030
25031 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25032
81c0c964
PT
250332012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25034
25035 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25036 of the non-standard EPFNOSUPPORT.
25037
0ea698ae
ST
250382011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25039
25040 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25041 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25042 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25043
d220b117
UD
250442012-01-21 Ulrich Drepper <drepper@gmail.com>
25045
25046 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25047
3e1aa84e
UD
250482012-01-20 Ulrich Drepper <drepper@gmail.com>
25049
25050 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25051 transient errors.
25052 * nscd/grpcache.c (cache_addgr): Likewise.
25053 * nscd/hstcache.c (cache_addhst): Likewise.
25054 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25055 * nscd/pwdcache.c (cache_addpw): Likewise.
25056 * nscd/servicescache.c (cache_addserv): Likewise.
25057
400aa020
UD
250582012-01-16 Ulrich Drepper <drepper@gmail.com>
25059
d77e7869
UD
25060 * malloc/malloc.c: Various cleanups.
25061 * malloc/hooks.c: Likewise.
25062
400aa020
UD
25063 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25064 * stdlib/bug-fmtmsg1.c: New file.
25065
25066 * stdlib/fmtmsg.c (init): Add missing unlock.
25067 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25068
e0a309cf
MP
250692012-01-12 Marek Polacek <polacek@redhat.com>
25070
25071 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25072 and _GNU_SOURCE.
25073
929d11c7
WS
250742012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25075
25076 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25077 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25078 macro to ensure uniqueness of label name.
25079 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25080 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25081
41d0e869
UD
250822012-01-11 Ulrich Drepper <drepper@gmail.com>
25083
0cc5ed3b
UD
25084 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25085
41d0e869
UD
25086 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25087 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25090
a47a831a
UD
250912012-01-10 Ulrich Drepper <drepper@gmail.com>
25092
daa891c0
UD
25093 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25094
25095 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25096 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25097 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25098
e58ef0f2
UD
25099 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25100
a47a831a 25101 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25102 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25104 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25105
25106 * math/bits/math-finite.h: Add ldexp support.
25107
a0bfc9c7
MP
251082012-01-10 Marek Polacek <polacek@redhat.com>
25109
25110 * locale/programs/localedef.h (show_archive_content): Add noreturn
25111 attribute.
25112
d6e97a1d
UD
251132012-01-09 Ulrich Drepper <drepper@gmail.com>
25114
25115 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25116
d5835c26
UD
251172012-01-08 Ulrich Drepper <drepper@gmail.com>
25118
e5f484c6
UD
25119 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25120
d5835c26
UD
25121 * io/Makefile (headers): Add bits/poll2.h.
25122
d1f741e9
WS
251232011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25124
25125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25126 typo #include statement.
25127
ec09c1c4
UD
251282012-01-08 Ulrich Drepper <drepper@gmail.com>
25129
25130 * include/sys/cdefs.h: Define __attribute_alloc_size.
25131 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25132 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25133 * elf/pldd.c: Likewise.
25134 * iconv/iconv_charmap.c: Likewise.
25135 * iconv/iconvconfig.c: Likewise.
25136 * iconv/strtab.c: Likewise.
25137 * locale/programs/locale.c: Likewise.
25138 * locale/programs/localedef.h: Likewise.
25139 * locale/programs/simple-hash.c: Likewise.
25140 * nscd/nscd.h: Likewise.
25141 * nss/makedb.c: Likewise.
25142 * sysdeps/generic/ldconfig.h: Likewise.
25143 * locale/programs/localedef.c: Remove xmalloc prototype.
25144 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25145
20b38e03
PP
251462012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25147
25148 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25149 appropriate.
25150
a0da5fe1
UD
251512012-01-08 Ulrich Drepper <drepper@gmail.com>
25152
1d5a644a 25153 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25154 * math/tst-CMPLX.c: New file.
1d5a644a 25155
8784a6db
UD
25156 * math/complex.h (CMPLXL): Fix typo.
25157
d9a216c0
UD
25158 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25159 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25160 GLIBC_2.16.
25161 * debug/tst-chk1.c: Add poll and ppoll tests.
25162 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25163 * include/sys/poll.h: Add hidden proto for ppoll.
25164 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25165 * sysdeps/mach/hurd/ppoll.c: Likewise.
25166 * io/ppoll.c: Likewise.
25167 * debug/poll_chk.c: New file.
25168 * debug/ppoll_chk.c: New file.
25169 * include/bits/poll2.h: New file.
25170 * io/bits/poll2.h: New file.
25171
ac097f5c
UD
25172 [BZ #1350]
25173 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25174
2119dcfa
UD
25175 * configure.in: static is always set to yes. Remove.
25176 * config.make.in: Don't set build-static.
25177 * Makeconfig: Remove use of build-static.
25178 * dlfcn/Makefile: Likewise.
25179 * elf/Makefile: Likewise.
25180 * math/Makefile: Likewise.
25181 * misc/Makefile: Likewise.
25182 * nptl/Makefile: Likewise.
25183 * sysdeps/mach/hurd/Makefile: Likewise.
25184
121766a9
UD
25185 * configure.in: PWD_P is not used anymore.
25186 * config.make.in: Remove PWD_P entry.
25187
51a1d39c 25188 * configure.in: Remove last remnants of RANLIB.
8720d066 25189 No need to check for signed size_t anymore.
215f4bdc
UD
25190 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25191 and IA-64.
3857022a 25192 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25193 * aclocal.m4: Likewise.
25194
d3ed7225
UD
25195 * wcsmbs/mbrtoc16.c: Implement using towc function.
25196 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25197 * wcsmbs/wcsmbsload.c: Likewise.
25198 * iconv/gconv_simple.c: Likewise.
25199 * iconv/gconv_int.h: Likewise.
25200 * iconv/gconv_builtin.h: Likewise.
25201 * iconv/iconv_prog.c: Remove CHAR16 handling.
25202
25203 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25204
25205 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25206
a0da5fe1
UD
25207 * configure.in: Remove --with-elf and --enable-bounded options.
25208 Dont set base_machine for ia64. More non-ELF conditions removed.
25209 Remove testing and setting of leading underscore information.
25210 * config.make.in (build-bounded): Set to no.
25211 * config.h.in: Remove NO_UNDERSCORES entry.
25212 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25213 them.
25214 * csu/start.c: Remove !NO_UNDERSCORE code.
25215 * locale/localeinfo.h: Likewise.
25216 * sysdeps/generic/machine-gmon.h: Likewise.
25217 * sysdeps/generic/sysdep.h: Likewise.
25218 * sysdeps/i386/sysdep.h: Likewise.
25219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25220 * sysdeps/mach/sysdep.h: Likewise.
25221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25223 * sysdeps/sh/sysdep.h: Likewise.
25224 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25225 * sysdeps/unix/i386/sysdep.S: Likewise.
25226 * sysdeps/unix/sparc/start.c: Likewise.
25227 * sysdeps/unix/sparc/sysdep.S: Likewise.
25228 * sysdeps/unix/sparc/sysdep.h: Likewise.
25229 * sysdeps/unix/start.c: Likewise.
25230 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25231 * sysdeps/x86_64/sysdep.h: Likewise.
25232
df78418a
UD
252332012-01-07 Ulrich Drepper <drepper@gmail.com>
25234
a784e502
UD
25235 [BZ #13553]
25236 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25237 for non-gcc.
25238 * argp/argp-fmtstream.h: Use const instead __const.
25239 * argp/argp.h: Likewise.
25240 * assert/assert.h: Likewise.
25241 * bits/fenv.h: Likewise.
25242 * bits/sched.h: Likewise.
25243 * bits/sigset.h: Likewise.
25244 * bits/sigthread.h: Likewise.
25245 * catgets/nl_types.h: Likewise.
25246 * conform/data/pthread.h-data: Likewise.
25247 * crypt/crypt-private.h: Likewise.
25248 * crypt/crypt.h: Likewise.
25249 * crypt/crypt_util.c: Likewise.
25250 * ctype/ctype.h: Likewise.
25251 * debug/execinfo.h: Likewise.
25252 * debug/mbsnrtowcs_chk.c: Likewise.
25253 * debug/mbsrtowcs_chk.c: Likewise.
25254 * debug/wcsnrtombs_chk.c: Likewise.
25255 * debug/wcsrtombs_chk.c: Likewise.
25256 * debug/wcstombs_chk.c: Likewise.
25257 * dirent/dirent.h: Likewise.
25258 * dlfcn/dlfcn.h: Likewise.
25259 * elf/neededtest4.c: Likewise.
25260 * grp/grp.h: Likewise.
25261 * gshadow/gshadow.h: Likewise.
25262 * iconv/gconv.h: Likewise.
25263 * iconv/gconv_int.h: Likewise.
25264 * iconv/gconv_simple.c: Likewise.
25265 * iconv/iconv.h: Likewise.
25266 * iconv/loop.c: Likewise.
25267 * iconv/skeleton.c: Likewise.
25268 * include/aio.h: Likewise.
25269 * include/aliases.h: Likewise.
25270 * include/argz.h: Likewise.
25271 * include/arpa/inet.h: Likewise.
25272 * include/assert.h: Likewise.
25273 * include/dirent.h: Likewise.
25274 * include/dlfcn.h: Likewise.
25275 * include/execinfo.h: Likewise.
25276 * include/fcntl.h: Likewise.
25277 * include/fenv.h: Likewise.
25278 * include/glob.h: Likewise.
25279 * include/grp.h: Likewise.
25280 * include/libintl.h: Likewise.
25281 * include/mntent.h: Likewise.
25282 * include/netdb.h: Likewise.
25283 * include/pwd.h: Likewise.
25284 * include/rpc/netdb.h: Likewise.
25285 * include/sched.h: Likewise.
25286 * include/search.h: Likewise.
25287 * include/shadow.h: Likewise.
25288 * include/signal.h: Likewise.
25289 * include/stdio.h: Likewise.
25290 * include/stdlib.h: Likewise.
25291 * include/string.h: Likewise.
25292 * include/sys/socket.h: Likewise.
25293 * include/sys/stat.h: Likewise.
25294 * include/sys/statfs.h: Likewise.
25295 * include/sys/statvfs.h: Likewise.
25296 * include/sys/syslog.h: Likewise.
25297 * include/sys/time.h: Likewise.
25298 * include/sys/uio.h: Likewise.
25299 * include/time.h: Likewise.
25300 * include/unistd.h: Likewise.
25301 * include/utmp.h: Likewise.
25302 * include/wchar.h: Likewise.
25303 * include/wctype.h: Likewise.
25304 * inet/aliases.h: Likewise.
25305 * inet/arpa/inet.h: Likewise.
25306 * inet/netinet/ether.h: Likewise.
25307 * inet/netinet/in.h: Likewise.
25308 * intl/libintl.h: Likewise.
25309 * io/bits/fcntl2.h: Likewise.
25310 * io/fcntl.h: Likewise.
25311 * io/ftw.h: Likewise.
25312 * io/sys/poll.h: Likewise.
25313 * io/sys/stat.h: Likewise.
25314 * io/sys/statfs.h: Likewise.
25315 * io/sys/statvfs.h: Likewise.
25316 * io/utime.h: Likewise.
25317 * libio/bits/stdio.h: Likewise.
25318 * libio/bits/stdio2.h: Likewise.
25319 * libio/libio.h: Likewise.
25320 * libio/libioP.h: Likewise.
25321 * libio/stdio.h: Likewise.
25322 * locale/lc-ctype.c: Likewise.
25323 * locale/locale.h: Likewise.
25324 * login/utmp.h: Likewise.
25325 * malloc/arena.c: Likewise.
25326 * malloc/malloc.c: Likewise.
25327 * malloc/malloc.h: Likewise.
25328 * malloc/mcheck.c: Likewise.
25329 * malloc/mtrace.c: Likewise.
25330 * math/bits/mathcalls.h: Likewise.
25331 * math/fenv.h: Likewise.
25332 * math/math_private.h: Likewise.
25333 * misc/bits/error.h: Likewise.
25334 * misc/bits/syslog.h: Likewise.
25335 * misc/err.h: Likewise.
25336 * misc/error.h: Likewise.
25337 * misc/fstab.h: Likewise.
25338 * misc/mntent.h: Likewise.
25339 * misc/regexp.h: Likewise.
25340 * misc/search.h: Likewise.
25341 * misc/sgtty.h: Likewise.
25342 * misc/sys/mman.h: Likewise.
25343 * misc/sys/syslog.h: Likewise.
25344 * misc/sys/uio.h: Likewise.
25345 * misc/sys/xattr.h: Likewise.
25346 * misc/ttyent.h: Likewise.
25347 * nis/rpcsvc/ypclnt.h: Likewise.
25348 * nss/nss.h: Likewise.
25349 * posix/bits/unistd.h: Likewise.
25350 * posix/fnmatch.h: Likewise.
25351 * posix/glob.h: Likewise.
25352 * posix/sched.h: Likewise.
25353 * posix/spawn.h: Likewise.
25354 * posix/sys/wait.h: Likewise.
25355 * posix/unistd.h: Likewise.
25356 * posix/wordexp.h: Likewise.
25357 * pwd/pwd.h: Likewise.
25358 * resolv/netdb.h: Likewise.
25359 * resource/sys/resource.h: Likewise.
25360 * rt/aio.h: Likewise.
25361 * rt/bits/mqueue2.h: Likewise.
25362 * rt/mqueue.h: Likewise.
25363 * shadow/shadow.h: Likewise.
25364 * signal/signal.h: Likewise.
25365 * socket/send.c: Likewise.
25366 * socket/sendto.c: Likewise.
25367 * socket/sys/socket.h: Likewise.
25368 * stdio-common/printf.h: Likewise.
25369 * stdlib/bits/stdlib.h: Likewise.
25370 * stdlib/fmtmsg.h: Likewise.
25371 * stdlib/monetary.h: Likewise.
25372 * stdlib/stdlib.h: Likewise.
25373 * stdlib/ucontext.h: Likewise.
25374 * streams/stropts.h: Likewise.
25375 * string/argz.h: Likewise.
25376 * string/bits/string2.h: Likewise.
25377 * string/string.h: Likewise.
25378 * string/strings.h: Likewise.
25379 * sunrpc/rpc/auth.h: Likewise.
25380 * sunrpc/rpc/auth_des.h: Likewise.
25381 * sunrpc/rpc/clnt.h: Likewise.
25382 * sunrpc/rpc/netdb.h: Likewise.
25383 * sunrpc/rpc/pmap_clnt.h: Likewise.
25384 * sunrpc/rpc/xdr.h: Likewise.
25385 * sysdeps/generic/inttypes.h: Likewise.
25386 * sysdeps/generic/net/if.h: Likewise.
25387 * sysdeps/generic/sys/swap.h: Likewise.
25388 * sysdeps/gnu/net/if.h: Likewise.
25389 * sysdeps/gnu/utmpx.h: Likewise.
25390 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25391 * sysdeps/i386/i486/bits/string.h: Likewise.
25392 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25393 * sysdeps/s390/bits/string.h: Likewise.
25394 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25395 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25396 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25397 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25398 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25399 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25400 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25401 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25402 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25403 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25404 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25405 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25406 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25407 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25408 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25409 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25410 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25415 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25416 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25417 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25418 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25419 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25420 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25421 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25422 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25423 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25424 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25425 * sysvipc/sys/ipc.h: Likewise.
25426 * sysvipc/sys/msg.h: Likewise.
25427 * sysvipc/sys/sem.h: Likewise.
25428 * sysvipc/sys/shm.h: Likewise.
25429 * termios/termios.h: Likewise.
25430 * time/sys/time.h: Likewise.
25431 * time/time.h: Likewise.
25432 * wcsmbs/bits/wchar2.h: Likewise.
25433 * wcsmbs/uchar.h: Likewise.
25434 * wcsmbs/wchar.h: Likewise.
25435 * wctype/wctype.h: Likewise.
25436
0269750c
UD
25437 [BZ #13551]
25438 * Makeconfig: Remove all but ELF support including AIX support.
25439 * Makerules: Likewise.
25440 * config.h.in: Likewise.
25441 * config.make.in: Likewise.
25442 * configure: Likewise.
25443 * configure.in: Likewise.
25444 * csu/Makefile: Likewise.
25445 * csu/version.c: Likewise.
25446 * debug/Makefile: Likewise.
25447 * dlfcn/Makefile: Likewise.
25448 * elf/Makefile: Likewise.
25449 * extra-lib.mk: Likewise.
25450 * iconv/Makefile: Likewise.
25451 * include/libc-symbols.h: Likewise.
25452 * include/shlib-compat.h: Likewise.
25453 * resolv/Makefile: Likewise.
25454 * resolv/res_libc.c: Likewise.
25455 * rt/Makefile: Likewise.
25456 * sysdeps/i386/asm-syntax.h: Likewise.
25457 * sysdeps/i386/sysdep.h: Likewise.
25458 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25459 * sysdeps/mach/sysdep.h: Likewise.
25460 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25461 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25462 * sysdeps/s390/asm-syntax.h: Likewise.
25463 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25465 * sysdeps/sh/sysdep.h: Likewise.
25466 * sysdeps/unix/sparc/sysdep.h: Likewise.
25467 * sysdeps/wordsize-32/divdi3.c: Likewise.
25468 * sysdeps/x86_64/sysdep.h: Likewise.
25469
00bbd29b
UD
25470 * argp/Versions: Remove _argp_unlock_xxx.
25471
25472 [BZ #13559]
25473 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25474 * abilist/libBrokenLocale.abilist: Likewise.
25475 * abilist/libanl.abilist: Likewise.
25476 * abilist/libc.abilist: Likewise.
25477 * abilist/libcrypt.abilist: Likewise.
25478 * abilist/libdl.abilist: Likewise.
25479 * abilist/libm.abilist: Likewise.
25480 * abilist/libnsl.abilist: Likewise.
25481 * abilist/libpthread.abilist: Likewise.
25482 * abilist/libresolv.abilist: Likewise.
25483 * abilist/librt.abilist: Likewise.
25484 * abilist/libthread_db.abilist: Likewise.
25485 * abilist/libutil.abilist: Likewise.
25486 * abilist/libnss_db.abilist: New file.
25487
25488 * scripts/abilist.awk: Add support for indirect functions.
25489
a2693a0e
UD
25490 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25491
3f05895f
UD
25492 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25493
ecb6fb48
UD
25494 * shlib-versions: Remove entries for ports architectures.
25495
664f8cb9
UD
25496 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25497 files in ports.
25498 * elf/stackguard-macros.h: Remove support for IA-64.
25499 * elf/tst-auditmod1.c: Likewise.
25500 * sysdeps/generic/ldsodefs.h: Likewise.
25501
7ae81d88
UD
25502 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25503 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25504 configure files.
25505
bdeba135
UD
25506 [BZ #13552]
25507 * configure.in: Remove --enable-omitfp support.
25508 * FAQ.in: Adjust.
25509 * config.make.in: Likewise.
25510 * Makeconfig: Likewise.
25511 * manual/install.texi: Likewise.
25512
d75a0a62
UD
25513 In case anyone cares, the IA-64 architecture could move to ports.
25514 * sysdeps/ia64/*: Removed.
25515 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25516 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25517
dcc9756b
UD
25518 [BZ #13555]
25519 * configure.in: Remove entries for unsupported architectures.
25520
d3761ebc 25521 [BZ #13533]
9954432e
UD
25522 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25523 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25524 routines.
25525 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25526 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25527 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25528 fall back to using wcrtomb.
25529 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25530 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25531 renaming.
25532 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25533 * wcsmbs/tst-c16c32-1.c: New file.
25534
25535 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25536 local variable.
25537
c3a87236
UD
25538 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25539
28926a1b
UD
25540 * elf/tst-unique3.cc: Add explicit declaration of gets.
25541 * elf/tst-unique3lib.cc: Likewise.
25542 * elf/tst-unique3lib2.cc: Likewise.
25543 * elf/tst-unique4.cc: Likewise.
25544
df78418a
UD
25545 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25546
8ecd6b2a
JM
255472012-01-06 Joseph Myers <joseph@codesourcery.com>
25548
25549 [BZ #13566]
25550 * assert/assert.h (static_assert): Don't define for C++.
25551 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25552 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25553
9f115170
UD
255542012-01-03 Ulrich Drepper <drepper@gmail.com>
25555
5e0d0300
UD
25556 * iconv/loop.c (single loop): Fix assertion in storing of
25557 remaining bytes.
25558
9f115170
UD
25559 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25560
81fb02b0
UD
255612012-01-01 Ulrich Drepper <drepper@gmail.com>
25562
25563 * posix/getconf.c: Update copyright year.
25564 * nss/getent.c: Likewise.
a316c1f6 25565 * nss/makedb.c: Likewise.
81fb02b0
UD
25566 * iconv/iconvconfig.c: Likewise.
25567 * iconv/iconv_prog.c: Likewise.
25568 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25569 * elf/pldd.c: Likewise.
25570 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25571 * catgets/gencat.c: Likewise.
25572 * csu/version.c: Likewise.
25573 * elf/ldd.bash.in: Likewise.
25574 * elf/sprof.c (print_version): Likewise.
25575 * locale/programs/locale.c: Likewise.
25576 * locale/programs/localedef.c: Likewise.
a316c1f6 25577 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25578 * nscd/nscd.c (print_version): Likewise.
25579 * debug/xtrace.sh: Likewise.
25580 * malloc/memusage.sh: Likewise.
25581 * malloc/mtrace.pl: Likewise.
25582 * debug/catchsegv.sh: Likewise.
25583
2ba92745
JJ
255842011-12-30 Jakub Jelinek <jakub@redhat.com>
25585
25586 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25587 pure attribute.
25588
dadebdae
UD
255892011-12-24 Ulrich Drepper <drepper@gmail.com>
25590
d3761ebc 25591 [BZ #13533]
db6af3eb
UD
25592 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25593 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25594 transformations.
25595 * iconv/gconv_int.h: Likewise.
25596 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25597 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25598 from libc for GLIBC_2.16.
25599 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25600 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25601 * wcsmbs/uchar.h: Really define mbstate_t.
25602 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25603 * wcsmbs/c16rtomb.c: New file.
25604 * wcsmbs/mbrtoc16.c: New file.
25605 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25606 for C/POSIX locale.
25607 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25608 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25609
dadebdae
UD
25610 * wcsmbs/wchar.h: Add missing __restrict.
25611
67371b56
UD
256122011-12-23 Ulrich Drepper <drepper@gmail.com>
25613
74033a25
UD
25614 [BZ #13532]
25615 * time/Makefile (routines): Add timespec_get.
25616 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25617 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25618 timespec for ISO C11.
25619 * time/timespec_get.c: New file.
25620 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25621 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25622
380d7e87
UD
25623 [BZ #13531]
25624 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25625 * stdlib/stdlib.h: Declare aligned_alloc.
25626 * Versions.def: Add GLIBC_2.16 for libc.
25627 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25628
4e9e7a35
UD
25629 [BZ 13527]
25630 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25631 ISO C11.
25632
380d7e87 25633 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25634 code.
25635
03a71829
UD
25636 [BZ #13528]
25637 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25638
839e283e
UD
25639 [BZ #13529]
25640 * assert/assert.h (static_assert): Define.
25641
ce5294e2 25642 * version.h: Update for 2.16 development version.
90fa7312 25643
8d44e150 25644 [BZ #13526]
d7809905
UD
25645 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25646 _ISOC11_SOURCE.
25647
c0da14cd
UD
25648 * version.h (RELEASE): Bump for 2.15 release.
25649 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25650
530a3249
MP
25651 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25652 Patch by Marek Polacek <mpolacek@redhat.com>.
25653
67371b56
UD
25654 * bits/byteswap.h: Protect long long constants with __extension__.
25655 * sysdeps/i386/bits/byteswap.h: Likewise.
25656 * sysdeps/ia64/bits/byteswap.h: Likewise.
25657 * sysdeps/s390/bits/byteswap.h: Likewise.
25658 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25659
15db4de1
LD
256602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25661
25662 [BZ #13540]
bbe315ea
LD
25663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25664 destination buffer.
15db4de1
LD
25665 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25666
2b2596b1
MP
256672011-12-23 Marek Polacek <polacek@redhat.com>
25668
25669 * elf/dl-addr.c (determine_info): Add inline keyword.
25670 * elf/tst-auditmod4b.c (check_avx): Likewise.
25671 * elf/tst-auditmod6b.c (check_avx): Likewise.
25672 * elf/tst-auditmod6c.c (check_avx): Likewise.
25673 * elf/tst-auditmod7b.c (check_avx): Likewise.
25674
70c6c246
UD
256752011-12-23 Ulrich Drepper <drepper@gmail.com>
25676
25677 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25678 !__SSE_MATH__.
25679
c044cf14
LD
256802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25681
15db4de1 25682 [BZ #13540]
c044cf14
LD
25683 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25684 processing for last bytes.
25685
6b13d9d9
BH
256862011-08-06 Bruno Haible <bruno@clisp.org>
25687
d455f537
BH
25688 [BZ #13061]
25689 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25690 U+0385, not to U+1FEE.
25691
6b13d9d9
BH
25692 [BZ #13062]
25693 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25694 entry for U+00A5 U+0301.
25695
db910efd
UD
256962011-12-22 Ulrich Drepper <drepper@gmail.com>
25697
27deeafc
UD
25698 [BZ #13166]
25699 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25700 buffer for the output is too small.
25701
aed9d171
UD
25702 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25703 optimization.
25704
db910efd
UD
25705 [BZ #13185]
25706 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25707 SSE flags if possible.
25708
2bd779ae
LD
257092011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25710
e7f9dac3 25711 [BZ #13540]
2bd779ae
LD
25712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25713 processing for last bytes.
25714
154bfc16
JM
257152011-12-22 Joseph Myers <joseph@codesourcery.com>
25716
25717 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25718 (syscall-list-default-options, syscall-list-default-condition)
25719 (syscall-list-includes): Define.
25720 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25721 list of ABIs and options and #if conditions for each ABI. Do not
25722 handle common syscalls between ABIs specially.
25723 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25724 Remove.
25725 (syscall-list-variants, syscall-list-32bit-options)
25726 (syscall-list-32bit-condition, syscall-list-64bit-options)
25727 (syscall-list-64bit-condition): Define.
25728 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25729 (syscall-list-variants, syscall-list-32bit-options)
25730 (syscall-list-32bit-condition, syscall-list-64bit-options)
25731 (syscall-list-64bit-condition): Define.
25732 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25733 Remove.
25734 (syscall-list-variants, syscall-list-32bit-options)
25735 (syscall-list-32bit-condition, syscall-list-64bit-options)
25736 (syscall-list-64bit-condition): Define.
25737 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25738 Remove.
25739 (syscall-list-variants, syscall-list-32bit-options)
25740 (syscall-list-32bit-condition, syscall-list-64bit-options)
25741 (syscall-list-64bit-condition): Define.
25742
21eaf3a5
UD
257432011-12-22 Ulrich Drepper <drepper@gmail.com>
25744
16c6f992
UD
25745 * locale/iso-639.def: Add brx entry.
25746
41043168
UD
25747 [BZ #13328]
25748 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25749 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25750
21eaf3a5
UD
25751 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25752 __feraiseexcept_renamed.
25753
e3a851a2
UD
257542011-12-21 Ulrich Drepper <drepper@gmail.com>
25755
4920765e
UD
25756 [BZ #13538]
25757 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25758 EPOLLET with unsigned values.
25759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25760 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25761
e3a851a2
UD
25762 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25763 to large cancellation.
25764 * math/s_cacoshf.c: Likewise.
25765 * math/s_cacoshl.c: Likewise.
25766
b27e24b8
RK
257672011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25768
25769 [BZ #13305]
aebefeee 25770 [BZ #12786]
b27e24b8
RK
25771 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25772 * math/s_cacoshf.c: Likewise.
25773 * math/s_cacoshl.c: Likewise.
25774
ee190f67
UD
257752011-12-21 Ulrich Drepper <drepper@gmail.com>
25776
25777 [BZ #13439]
25778 * iconv/gconv.h: Define __GCONV_SWAP.
25779 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25780 * iconvdata/utf-16.c: Likewise.
25781 * iconvdata/utf-32.c: Likewise.
25782
707f25df
AS
257832011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25784
25785 [BZ #13524]
25786 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25787 numerator after shifting it by one limb.
25788
d2daaa1e
RÁE
257892011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25790
25791 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25792 under [__USE_EXTERN_INLINES].
25793
a4647e72
UD
257942011-12-17 Ulrich Drepper <drepper@gmail.com>
25795
25796 [BZ #13446]
25797 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25798
f0b264f1
AZ
257992011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25800
25801 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25802 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25803 optimized code.
25804 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25805 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25806 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25807 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25808 for strncasecmp/strncasecmp_l compilation.
25809 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25810 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25811
8ef4f244
MP
258122011-12-08 Marek Polacek <mpolacek@redhat.com>
25813
25814 [BZ #13484]
25815 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25816 of __asm__.
25817
97ac2654
UD
258182011-12-17 Ulrich Drepper <drepper@gmail.com>
25819
25820 [BZ #13506]
25821 * time/tzfile.c (__tzfile_read): Check values from file header.
25822
91d2a845
WS
258232011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25824
25825 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25826 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25827 * powerpc/powerpc32/dl-start.S: Likewise.
25828 * powerpc/powerpc32/elf/start.S: Likewise.
25829 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25830 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25831 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25832 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25833 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25834 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25835 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25836 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25837 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25838 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25839 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25840 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25841 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25842 * powerpc/powerpc32/memset.S: Likewise.
25843 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25844 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25845 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25846 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25847 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25848 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25849 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25850 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25851 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25852 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25853 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25854 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25855 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25856
a1267ba1
AZ
258572011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25858
25859 * math/libm-test.inc: Added more nearbyint tests.
25860 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25861 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25864
ad8ac1bd
RL
258652011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25866
25867 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25868 FD_CLOEXEC.
25869
1d3e4b61
UD
258702011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25871
25872 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25873 Add wcscpy-ssse3 wcscpy-c.
25874 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25875 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25876 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25877 * sysdeps/x86_64/wcschr.S: New file.
25878 * sysdeps/x86_64/wcsrchr.S: New file.
25879 * string/test-strcmp.c: Remove checking of wcscmp function for
25880 wrong alignments.
25881 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25882 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25883 wcsrchr-sse2 wcsrchr-c.
25884 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25885 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25886 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25887 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25888 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25889 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25890 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25891 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25892 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25893 * wcsmbc/wcschr.c (WCSCHR): New macro.
25894
5b330a2d
UD
258952011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25896
25897 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25898 * wcsmbs/test-wcsrchr.c: New file.
25899 * string/test-strrchr.c: Add wcsrchr support.
25900 (WIDE): New macro.
25901 * wcsmbs/test-wcscpy.c: New file.
25902 * string/test-strcpy.c: Add wcscpy support.
25903 (WIDE): New macro.
26428b7c 25904
f039c043
UD
259052011-12-10 Ulrich Drepper <drepper@gmail.com>
25906
25907 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25908 the inner loop.
25909
850fb039
AS
259102011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25911
25912 [BZ #13472]
25913 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25914
4efbd5cb
UD
259152011-12-04 Ulrich Drepper <drepper@gmail.com>
25916
52ff5dd0 25917 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25918 Minor optimizations.
52ff5dd0 25919
4efbd5cb
UD
25920 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25921 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25922 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25923
8a426e12
UD
259242011-12-03 Ulrich Drepper <drepper@gmail.com>
25925
aff2453d
UD
25926 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25927 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25928 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25929 for gcc to avoid warnings.
25930 * inet/Makefile (tests): Add tst-checks.
25931 * inet/tst-checks.c: New file.
25932
25933 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25934 warning.
25935
25936 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25937 __wmemcmp_sse2.
25938
25939 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25940 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25941
8a426e12
UD
25942 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25943
9bea3473
UD
259442011-12-02 Ulrich Drepper <drepper@gmail.com>
25945
3a965496
UD
25946 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25947 problem.
25948
9bea3473
UD
25949 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25950
f101631b
UD
259512011-11-29 Joseph Myers <joseph@codesourcery.com>
25952
25953 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25954 conditional on GCC version.
25955 (__arch_compare_and_exchange_val_8_acq)
25956 (__arch_compare_and_exchange_val_16_acq)
25957 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25958 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25959 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25960
a98275aa
UD
259612011-12-02 Joseph Myers <joseph@codesourcery.com>
25962
25963 * sysdeps/sh/backtrace.c: New file.
25964
d4cc29a2
AS
259652011-12-02 Andreas Schwab <schwab@redhat.com>
25966
25967 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25968 parenthesis.
25969
6257af2d
AS
259702011-12-01 Andreas Schwab <schwab@redhat.com>
25971
25972 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25973 falling back to utime.
25974
b5f44c1a
AS
259752011-11-30 Andreas Schwab <schwab@redhat.com>
25976
25977 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25978 expectations for float.
25979
f3a6cc0a
AS
259802011-11-29 Andreas Schwab <schwab@redhat.com>
25981
25982 * locale/weight.h (findidx): Add parameter len.
25983 * locale/weightwc.h (findidx): Likewise.
25984 * posix/fnmatch_loop.c (FCT): Adjust caller.
25985 * posix/regcomp.c (build_equiv_class): Likewise.
25986 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25987 * posix/regexec.c (check_node_accept_bytes): Likewise.
25988 * string/strcoll_l.c (STRCOLL): Likewise.
25989 * string/strxfrm_l.c (STRXFRM): Likewise.
25990
9d65ea3a
UD
259912011-11-17 Ulrich Drepper <drepper@gmail.com>
25992
25993 * Makefile.in: Remove CVSOPT handling.
25994 * configure.in: Remove use of AC_REVISION.
25995 * iconvdata/Makefile (distribute): No need to filter out CVS.
25996 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25997 handling.
25998
5583a086
AS
259992011-11-16 Andreas Schwab <schwab@redhat.com>
26000
26001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26002 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26003 [USE_AS_STRNCASECMP_L]: Likewise.
26004 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26005 NO_TLS_DIRECT_SEG_REFS.
26006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26007 Fix argument offsets for non-PIC.
26008 [USE_AS_STRNCASECMP_L]: Likewise.
26009 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26010 NO_TLS_DIRECT_SEG_REFS.
26011
d62a8200
UD
260122011-11-15 Ulrich Drepper <drepper@gmail.com>
26013
9d65ea3a 26014 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26015 O_CLOEXEC.
26016 * locale/loadlocale.c (_nl_load_locale): Likewise.
26017
09f93bd3
AS
260182011-11-15 Andreas Schwab <schwab@redhat.com>
26019
446514f9
AS
26020 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26021 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26023 (SYSCALL_GETTIME): Set errno on error.
26024
09f93bd3
AS
26025 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26026 count references to noai6ai_cached.
26027
312be3f9
UD
260282011-11-15 Ulrich Drepper <drepper@gmail.com>
26029
26030 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26031
26032 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26033 FD_CLOEXEC for /proc/self/maps.
26034
26035 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26036 FD_CLOEXEC for /proc/meminfo.
26037
26038 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26039 gai.conf.
26040
26041 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26042 FD_CLOEXEC for given file.
26043
26044 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26045
26046 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26047 FD_CLOEXEC for /etc/hosts.
26048 (_gethtent): Likewise.
26049
26050 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26051
26052 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26053 cancellation and set FD_CLOEXEC for /etc/netgroup.
26054
26055 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26056 reading /etc/publickey.
26057
26058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26059 allow cancellation when reading /etc/group.
26060
26061 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26062 cancellation.
26063 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26064
26065 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26066 when using data file.
26067
26068 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26069
26070 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26071 (write_nis_obj): Use "c" and "e" in fopen.
26072
26073 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26074
26075 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26076
26077 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26078
26079 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26080
26081 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26082 locale.alias.
26083
26084 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26085
26086 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26087
26088 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26089
26090 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26091 file parsing and set FD_CLOEXEC.
26092
82af0fa8
UD
260932011-11-14 Ulrich Drepper <drepper@gmail.com>
26094
26095 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26096
a5fb313c
AS
260972011-11-14 Andreas Schwab <schwab@redhat.com>
26098
26099 * malloc/arena.c (arena_get2): Don't call reused_arena when
26100 _int_new_arena failed.
26101
6abf3465
UD
261022011-11-14 Ulrich Drepper <drepper@gmail.com>
26103
26104 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26105 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26110 to compile strcasecmp and strncasecmp.
26111 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26112 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26113
26114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26115
76e3966e
UD
261162011-11-13 Ulrich Drepper <drepper@gmail.com>
26117
26118 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26119 locale-defines.sym to gen-as-const-headers.
26120 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26121 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26123 to compile strcasecmp and strncasecmp.
26124 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26125 strcasecmp_l and strncasecmp_l.
26126 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26127 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26128 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26129 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26130 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26131 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26132 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26133 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26134 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26135 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26136 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26137
ab26144e
UD
261382011-11-12 Ulrich Drepper <drepper@gmail.com>
26139
7edb22ef
UD
26140 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26141 result of SYSDEP_GETTIME_CPU to retval.
26142 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26143 parameter list to macro. Remove trailing semicolon. Adjust users.
26144
9694fc44
UD
26145 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26146 variable.
26147
8ad89ef8
UD
26148 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26149 mantissa words.
26150 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26151
0c822ef9
UD
26152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26153 from unused variable.
26154
874e0564
UD
26155 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26156 DWARF definitions.
26157 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26158 for assembling.
26159
3a2edc79
UD
26160 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26161 over namespaces.
26162
f3c2577f
UD
26163 * sunrpc/rpc_prot.c (rejected): Fix case value.
26164
294ce126
UD
26165 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26166 unsigned long long int to avoid warnings in shift.
26167
5e2b63c6
UD
26168 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26169 of use of trans.
26170 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26171 variable tmp.
26172
e7f4b08e
UD
26173 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26174 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26175 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26176
ab26144e
UD
26177 * nis/nis_table.c (nis_list): Use variable of correct type for
26178 result of __follow_path call.
26179
8a6d5255
AZ
261802011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26181
26182 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26183 of math functions ceil, trunc, floor, round, and sqrt, when
26184 avaliable on the platform.
26185 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26186 name clash.
26187 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26188 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26189 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26190
aaddc98c
MP
261912011-10-30 Marek Polacek <mpolacek@redhat.com>
26192
26193 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26195
95b7042b
RM
261962011-11-11 Roland McGrath <roland@hack.frob.com>
26197
26198 * include/unistd.h: Fix __readlink return type.
26199 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26200
57769839
UD
262012011-11-11 Ulrich Drepper <drepper@gmail.com>
26202
26203 * stdlib/ucontext.h: Undo last change for makecontext.
26204
edc5984d
AS
262052011-11-11 Andreas Schwab <schwab@redhat.com>
26206
98591e58
AS
26207 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26208
edc5984d
AS
26209 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26210 * setjmp/setjmp.h: Mark functions as non-leaf.
26211 * setjmp/bits/setjmp2.h: Likewise.
26212 * stdlib/ucontext.h: Likewise.
26213
77cdc054
AS
262142011-11-10 Andreas Schwab <schwab@redhat.com>
26215
26216 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26217 (reused_arena): Don't check arena limit.
26218 (arena_get2): Atomically check arena limit.
26219
fe72eebd
UD
262202011-11-08 Ulrich Drepper <drepper@gmail.com>
26221
5f078c32
UD
26222 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26223 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26224
fe72eebd
UD
26225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26226 instructions.
26227
ae1bc2fa
AS
262282011-11-07 Andreas Schwab <schwab@redhat.com>
26229
7583a88d
AS
26230 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26231 handler when locking.
26232
ae1bc2fa
AS
26233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26234 Fix size of allocated buffer.
26235
10fb0bfa
AS
262362011-11-04 Andreas Schwab <schwab@redhat.com>
26237
998832a4
AS
26238 [BZ #10103]
26239 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26240 declarations for long double functions.
26241 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26242
10fb0bfa
AS
26243 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26244
3d7ba52b
AS
262452011-11-03 Andreas Schwab <schwab@redhat.com>
26246
a9ae54a1
AS
26247 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26248 installed.
26249
3d7ba52b
AS
26250 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26251 is disabled.
26252
bc8db248
ST
262532011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26254
26255 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26256
45b96dd6
AS
262572011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26258
647776f6
AS
26259 * include/alloca.h (stackinfo_alloca_round): Define.
26260 (extend_alloca): Use it.
26261 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26262 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26263 here.
26264
d91a8b93
AS
26265 * scripts/check-local-headers.sh: Ignore libaudit.h.
26266
45b96dd6
AS
26267 * nscd/Makefile (extra-objs): Make recursively expanded.
26268
432d41ce
UD
262692011-11-01 Ulrich Drepper <drepper@gmail.com>
26270
34372fc6
UD
26271 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26273
fadb59f8
UD
26274 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26275 * posix/tst-rfc3484-2.c: Likewise.
26276 * posix/tst-rfc3484-3.c: Likewise.
26277
78239589
UD
26278 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26279 process_vm_writev.
26280 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26281 process_vm_writev.
26282 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26283 process_vm_writev from libc using GLIBC_2.15 version.
26284
432d41ce
UD
26285 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26286
02f9c6cf
PP
262872011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26288
26289 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26290 stack usage.
26291
3a2c0242
UD
262922011-10-31 Ulrich Drepper <drepper@gmail.com>
26293
f4ec4833
UD
26294 [BZ #13367]
26295 * nss/getent.c (initgroups_keys): Show error message in case no group
26296 names are given.
26297
3a2c0242
UD
26298 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26299 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26300 __bump_nl_timestamp.
26301 * nscd/connections (nscd_init): When host database is served open
26302 netlink socket and request notification about configuration changes.
26303 (main_loop_poll): Track netlink file descriptor and bump timestamp
26304 in case data becomes available.
26305 (main_loop_epoll): Likewise.
26306 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26307 (database_pers_head): Add extra_data fileds.
26308 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26309 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26310 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26311 Adjust caller.
26312 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26313 in6ai data, call __free_in6ai.
26314 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26315 Add -DHAVE_NETLINK.
26316 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26317 interface information. Reuse previous data if netlink timestamp
26318 is not changed.
26319 (__bump_nl_timestamp): New function.
26320 (__free_in6ai): New function.
26321
636064eb
UD
263222011-10-30 Ulrich Drepper <drepper@gmail.com>
26323
26324 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26325 close_not_cancel_no_status here.
26326 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26327
9beb2334
UD
263282011-10-29 Ulrich Drepper <drepper@gmail.com>
26329
6ef76f3b
UD
26330 [BZ #13276]
26331 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26332 return value.
26333
0ffc4f3e 26334 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26335 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26336 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26337
cb95113e
UD
263382011-07-03 Andreas Jaeger <aj@suse.de>
26339
26340 [BZ #10709]
26341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26342 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26343 * math/libm-test.inc (sin_test): Add test case.
26344
a1b560ff
UD
263452011-10-29 Ulrich Drepper <drepper@gmail.com>
26346
c9aaface
UD
26347 [BZ #13337]
26348 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26349 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26350
d272e7f1
UD
26351 * elf/chroot_canon.c (chroot_canon): Cleanups.
26352
1bc33071
UD
26353 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26354
1760874d
TJ
26355 [BZ #13335]
26356 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26357 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26358
51d91b18
UD
26359 * string/test-strchr.c: Make usable for strchrnul testing.
26360 * string/test-strchrnul.c: New file.
26361 * string/Makefile (strop-tests): Add strchrnul.
26362
a1b560ff 26363 * po/it.po: Update from translation team.
b611fb81 26364 * po/es.po: Likewise.
a1b560ff 26365
a5b81e1f
UD
263662011-10-28 Ulrich Drepper <drepper@gmail.com>
26367
fd52bc6d
UD
26368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26369 the three constants needed as parameters. Drop the others.
26370 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26371 __m128i_strloadu_tolower.
52e4b9eb
UD
26372 Create and initialize variable zero and use it in all the places
26373 where _mm_setzero_si128 was used.
fd52bc6d 26374
a5b81e1f
UD
26375 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26376 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26377 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26378 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26379 anymore.
26380 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26381 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26382 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26383 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26384 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26385 __mpranred, __mptan.
26386 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26387 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26388 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26389 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26392 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26393 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26394 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26395
b4343346
AS
263962011-10-28 Andreas Schwab <schwab@redhat.com>
26397
0c92d8a8
AS
26398 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26399 redefine if SHARED.
26400 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26401
b4343346
AS
26402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26403 wide char related routines to wcsmbs subdir.
26404
3871f58f
AS
264052011-10-27 Andreas Schwab <schwab@redhat.com>
26406
26407 [BZ #13344]
26408 * misc/sys/cdefs.h (__THROWNL): Define.
26409 * posix/unistd.h: Use __THREADNL instead of __THREAD
26410 for memory synchronization functions.
26411
94d44d9f
RM
264122011-10-26 Roland McGrath <roland@hack.frob.com>
26413
21b64b15 26414 [BZ #13349]
94d44d9f
RM
26415 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26416 doesn't exist.
26417 * manual/stdio.texi (Obstack Streams): Node removed.
26418
f6ce9294
AS
264192011-10-26 Andreas Schwab <schwab@redhat.com>
26420
80479147
AS
26421 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26422 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26423 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26424
f6ce9294
AS
26425 * math/math_private.h (math_force_eval): Allow non-addressable
26426 arguments.
26427 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26428
618280a1
UD
264292011-10-25 Ulrich Drepper <drepper@gmail.com>
26430
e0016b11
UD
26431 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26432 file is not needed.
26433
26434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26436 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26437 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26438 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26439 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26440 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26441 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26442 Add AVX variants.
26443 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26444 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26445 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26446 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26447 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26448 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26449 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26450 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26451 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26452 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26453 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26454 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26455 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26456 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26457 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26458 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26459 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26460 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26461 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26462
26463 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26464 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26465
618280a1
UD
26466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26467 place. Use VEX encoding when compiling for AVX.
26468
37822576
AS
264692011-10-25 Andreas Schwab <schwab@redhat.com>
26470
1f1e1947
AS
26471 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26472 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26473
37822576
AS
26474 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26475
31ea014d
UD
264762011-10-25 Ulrich Drepper <drepper@gmail.com>
26477
d7826aa1 26478 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26479 useless if() expression.
d7826aa1
UD
26480 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26481 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26485 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26489 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26492 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26493 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26494 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26496 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26497 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26498 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26499
31ea014d
UD
26500 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26501
16437fec
AS
265022011-10-25 Andreas Schwab <schwab@redhat.com>
26503
26504 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26505 condition.
26506 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26507
31d3cc00
UD
265082011-10-25 Ulrich Drepper <drepper@gmail.com>
26509
26510 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26511 .text section. Avoid duplicate constants.
26512 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26522 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26523 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26524 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26525 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26526 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26529 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26535 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26536 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26537 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26538 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26539 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26540 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26541 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26542 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26552 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26553 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26554 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26555 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26556 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26557
58985aa9
UD
265582011-10-24 Ulrich Drepper <drepper@gmail.com>
26559
202c9deb
UD
26560 * sysdeps/x86_64/dla.h: Move to ...
26561 * sysdeps/x86_64/fpu/dla.h: ...here.
26562 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26563 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26564
af968f62
UD
26565 * config.make.in: Add have-mfma4 entry.
26566 * configure.in: Substitute libc_cv_cc_fma4.
26567 * math/Makefile (dbl-only-routines): Add sincostab.
26568 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26569 Use __sincostab not sincos.
26570 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26571 name is a macro.
26572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26576 using __copysign.
26577 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26578 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26579 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26580 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26581 and __inv.
26582 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26583 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26584 __copysign.
26585 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26586 define aliases when function name is a macro.
26587 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26588 sysdeps/ieee754/dbl-64/sincos.tbl.
26589 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26590 fma4-enabled routines.
26591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26595 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26596 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26597 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26598 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26599 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26600 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26601 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26602 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26603 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26604 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26605 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26606 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26607 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26608 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26609 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26610 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26611 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26612 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26614 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26615 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26616 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26617 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26618 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26619 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26620 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26621
58985aa9
UD
26622 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26623 rename.
26624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26632
a201fbcf
AS
266332011-10-24 Andreas Schwab <schwab@redhat.com>
26634
26635 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26636
fc2ee42a
LD
266372011-10-23 Ulrich Drepper <drepper@gmail.com>
26638
bb3129bd
UD
26639 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26640
0275fff8
UD
26641 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26642 prediction.
26643 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26644
2fa2ae85
UD
26645 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26646 Remove unused variable magic_bits.
26647 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26648
fc2ee42a
LD
26649 * string/strnlen.c: Define and use STRNLEN macro.
26650 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26651 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26653 * wcsmbs/wcslen.c: Define and use WCSLEN.
26654 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26655 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26656 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26657 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26658 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26659 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26660 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26661
ce7dd29f
LD
266622011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26663
26664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26665 strnlen-sse2-no-bsf.
26666 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26668 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26669 Add strnlen support.
26670 (USE_AS_STRNLEN): New macro.
26671 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26672 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26673 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26674 * sysdeps/x86_64/wcslen.S: New file.
26675
979c70a3
MZ
266762011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26677
26678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26679 XMM-moves are used for copying on small sizes.
26680
2d09f82f
LD
266812011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26682
26683 * wcsmbs/Makefile (strop-tests): Add wcschr.
26684 * wcsmbs/test-wcschr.c: New file.
26685 * string/test-strchr.c: Update.
26686 Add wcschr support.
26687 (WIDE): New macro.
26688
619fccca
LD
266892011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26690
2d09f82f 26691 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26692 * wcsmbs/test-wcslen.c: New file.
26693 * string/test-strlen.c: Update.
26694 Add wcslen support.
26695 (WIDE): New macro.
26696
09f699ea
UD
266972011-10-23 Ulrich Drepper <drepper@gmail.com>
26698
26699 * po/it.po: Update from translation team.
26700
95584d3b
LD
267012011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26702
26703 * sysdeps/x86_64/wcscmp.S: Update.
26704 Fix wrong comparison semantics.
26705 wcscmp shall use signed comparison not unsigned.
26706 Don't use substraction to avoid overflow bug.
26707 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26708 * wcsmbc/wcscmp.c: Likewise.
26709 * string/test-strcmp.c: Likewise.
26710 Add new tests to check cases with negative values.
26711
c8b3296b
UD
267122011-10-23 Ulrich Drepper <drepper@gmail.com>
26713
26714 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26715 * sysdeps/x86_64/dla.h: ...here. New file.
26716 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26725
246ad57a
AS
267262011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26727
26728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26729 __ynl_finite aliases.
26730
a1a87169
UD
267312011-10-22 Ulrich Drepper <drepper@gmail.com>
26732
0d355eb7
UD
26733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26734
a1a87169
UD
26735 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26736 define DLA_FMA.
26737 [DLA_FMA] (EMULV): Use DLA_FMA.
26738 [DLA_FMA] (MUL12): Use EMULV.
26739 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26740 that are not needed.
26741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26748
ee2aafe0
AS
267492011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26750
26751 * math/s_nan.c: Undef __nan.
26752 * math/s_nanf.c: Undef __nanf.
26753 * math/s_nanl.c: Undef __nanl.
26754 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26755 "math_private.h".
26756
bc62c2fb
UD
267572011-10-22 Ulrich Drepper <drepper@gmail.com>
26758
77425c63
UD
26759 * math/s_catan.c: Add branch predictions.
26760 * math/s_catanf.c: Likewise.
26761 * math/s_catanh.c: Likewise.
26762 * math/s_catanhf.c: Likewise.
26763 * math/s_catanhl.c: Likewise.
26764 * math/s_catanl.c: Likewise.
26765 * math/s_cexp.c: Likewise.
26766 * math/s_cexpf.c: Likewise.
26767 * math/s_cexpl.c: Likewise.
26768 * math/s_clog.c: Likewise.
26769 * math/s_clog10.c: Likewise.
26770 * math/s_clog10f.c: Likewise.
26771 * math/s_clog10l.c: Likewise.
26772 * math/s_clogf.c: Likewise.
26773 * math/s_clogl.c: Likewise.
26774 * math/s_csqrt.c: Likewise.
26775 * math/s_csqrtf.c: Likewise.
26776 * math/s_csqrtl.c: Likewise.
26777 * math/s_ctanf.c: Likewise.
26778 * math/s_ctanh.c: Likewise.
26779 * math/s_ctanhf.c: Likewise.
26780 * math/s_ctanhl.c: Likewise.
26781 * math/s_ctanl.c: Likewise.
26782
bc62c2fb
UD
26783 * math/math_private.h: Define __nan, __nanf, __nanl.
26784 * math/s_cacosh.c: Include <math_private.h>.
26785 * math/s_cacoshl.c: Likewise.
26786 * math/s_casinh.c: Likewise.
26787 * math/s_casinhf.c: Likewise.
26788 * math/s_casinhl.c: Likewise.
26789 * math/s_ccos.c: Rely entire on ccosh.
26790 * math/s_ccosf.c: Rely entire on ccoshf.
26791 * math/s_ccosl.c: Rely entirely on ccoshl.
26792 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26793 Remove tests for FE_INVALID.
26794 * math/s_ccoshf.c: Likewise.
26795 * math/s_ccoshl.c: Likewise.
26796 * math/s_csin.c: Likewise.
26797 * math/s_csinf.c: Likewise.
26798 * math/s_csinh.c Likewise.
26799 * math/s_csinhf.c: Likewise.
26800 * math/s_csinhl.c: Likewise.
26801 * math/s_csinl.c: Likewise.
26802 * math/s_ctan.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26804 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26806
8ec250a4
UD
268072011-10-21 Ulrich Drepper <drepper@gmail.com>
26808
c196fed8
UD
26809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26810 compilation problems.
26811
8ec250a4
UD
26812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26813 __builtin_expect.
26814
8d4f46c6
UD
268152011-10-20 Ulrich Drepper <drepper@gmail.com>
26816
ed72b654
UD
26817 * sysdeps/i386/configure.in: Test for -mfma4 option.
26818 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26819 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26820 COMMON_CPUID_INDEX_80000001.
26821 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26822 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26823 use it if FMA3 is not supported.
26824 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26825
8d4f46c6
UD
26826 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26828
d45c60c2
AS
268292011-10-20 Andreas Schwab <schwab@redhat.com>
26830
26831 [BZ #12892]
26832 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26833 it would create a cycle with a link time dependency.
26834
d9a4d2ab
UD
268352011-10-19 Ulrich Drepper <drepper@gmail.com>
26836
855d1560
UD
26837 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26838 instruction.
26839 * string/Makefile (strop-tests): Add rawmemchr.
26840 * string/test-rawmemchr.c: New file.
26841
d9a4d2ab
UD
26842 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26843 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26844 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26845 when compiling str{,n}casecmp and when AVX is available. Hook up
26846 new optimized code in initializers.
26847
8f3b1ffe
AS
268482011-10-19 Andreas Schwab <schwab@redhat.com>
26849
26850 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26851 __feraiseexcept instead of feraiseexcept.
26852
d38f1dba
UD
268532011-10-18 Ulrich Drepper <drepper@gmail.com>
26854
d9a8d0ab
UD
26855 * math/math_private.h: Define defaults for libc_fetestexcept and
26856 libc_feupdateenv.
26857 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26858 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26859 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26860 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26861 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26863 libc_fetestexcept and libc_feupdateenv.
26864
4855e3dd
UD
26865 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26866 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26867 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26868 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26869 libc_feholdexcept_setround.
26870
581d30e3
UD
26871 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26872 Add s_nearbyint-c and s_nearbyintf-c.
26873 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26874 nearbyintf inlines.
26875 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26876 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26877 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26878 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26879
d38f1dba
UD
26880 * math/math_private.h: Define defaults for libc_fegetround,
26881 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26882 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26883 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26885 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26886 standard functions.
26887 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26888 Remove comments and hacks for old compiler versions.
26889 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26890 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26891 libc_feholdexceptl.
26892
caa6c9d8
AS
268932011-10-18 Andreas Schwab <schwab@redhat.com>
26894
26895 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26896 (__feraiseexcept_renamed): Add __NTH.
26897 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26898 namespace violations.
26899
97c066e6
UD
269002011-10-17 Ulrich Drepper <drepper@gmail.com>
26901
99ce7b04
UD
26902 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26903
1004d182
UD
26904 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26905
228a984d
UD
26906 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26907 recently added interfaces.
26908 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26909
c8553a6a
UD
26910 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26911 about macro parameter expansion.
26912
ed22dcf6
UD
26913 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26914 __NO_MATH_INLINES is defined. Cleanups.
26915
26916 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26917 and __floorf is target has SSE4.1.
26918 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26919 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26920 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26921 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26922
b171c137
UD
26923 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26924 name.
26925 (floorf): Likewise.
26926
97c066e6
UD
26927 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26928
629f62ef
AS
269292011-10-17 Andreas Schwab <schwab@redhat.com>
26930
49a43d80
AS
26931 * misc/sys/cdefs.h: Fix last change.
26932
629f62ef
AS
26933 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26934 database lookup.
26935
e453f6cd
UD
269362011-10-16 Ulrich Drepper <drepper@gmail.com>
26937
aa78043a
UD
26938 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26939
ad0f5cad
UD
26940 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26941 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26942 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26943 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26945 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26946 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26948 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26949 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26950 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26951 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26952 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26953 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26954 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26955 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26956 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26957 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26958 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26959 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26960 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26961 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26962
26963 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26964 ceil, ceilf, floor, floorf.
26965
26966 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26967 Perform IRELATIVE relocations last.
26968
e453f6cd
UD
26969 * elf/do-rel.h: Add another parameter nrelative, replacing the
26970 local variable with the same name. Change name of the function
26971 to end in Rel or Rela (uppercase).
26972 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26973 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26974 elf_dynamic_do_##reloc function.
26975
fd5bdc09
UD
269762011-10-15 Ulrich Drepper <drepper@gmail.com>
26977
79b195b5
UD
26978 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26979 is sufficient, at least on modern CPUs.
26980
d4a28569
UD
26981 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26982
b61099b5
UD
26983 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26984 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26985
bcf01e6d
UD
26986 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26987 __expl_finite.
26988 * math/bits/math-finite.h: Add entries for exp.
26989 * math/e_expl.c: Add __*_finite alias.
26990 * sysdeps/i386/fpu/e_exp.S: Likewise.
26991 * sysdeps/i386/fpu/e_expf.S: Likewise.
26992 * sysdeps/i386/fpu/e_expl.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26994 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26998 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26999 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27000
ba1a0d59
UD
27001 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27002 is sufficient, at least on modern CPUs.
27003
fd5bdc09
UD
27004 * ctype/ctype-info.c (__ctype_init): Define.
27005 * include/ctype.h (__ctype_init): Declare.
27006 (__ctype_b_loc): The variable is always initialized.
27007 (__ctype_toupper_loc): Likewise.
27008 (__ctype_tolower_loc): Likewise.
27009 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27010 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27011
7872cfb0
AS
270122011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27013
b468825a
AS
27014 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27015
7872cfb0
AS
27016 * configure.in: Also look in $cxxmachine/include for C++ system
27017 headers.
27018
be13f7bf
LD
270192011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27020
27021 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27022 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27023 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27024 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27025 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27026 (USE_AS_WMEMCMP): New macro.
27027 Fixing indents.
27028 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27029 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27030 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27031 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27033 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27034 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27035 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27036 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27037 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27038 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27039 (USE_AS_WMEMCMP): New macro.
27040 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27041 * sysdeps/string/test-memcmp.c: Update.
27042 Fix simple_wmemcmp.
27043 Add new tests.
27044 * wcsmbs/wmemcmp.c: Update.
27045 (WMEMCMP): New macro.
27046 Fix overflow bug.
27047
556a2007
AJ
270482011-10-12 Andreas Jaeger <aj@suse.de>
27049
27050 [BZ #13268]
27051 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27052
538faaa7
UD
270532011-10-15 Ulrich Drepper <drepper@gmail.com>
27054
ab6737ff
UD
27055 * libio/iofwide.c (do_length): Avoid warning.
27056
538faaa7
UD
27057 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27058
396a21b1
UD
270592011-10-14 Ulrich Drepper <drepper@gmail.com>
27060
cdf2901f
UD
27061 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27062
38ad40ce
UD
27063 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27064 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27065 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27066 * sysdeps/i386/i686/fpu/e_log.S: New file.
27067 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27068 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27069
396a21b1
UD
27070 * ctype/ctype.h: Add support for inlined isXXX functions when
27071 compiling C++ code.
27072
6b1f68c9
AS
270732011-10-14 Andreas Schwab <schwab@redhat.com>
27074
349290c0
AS
27075 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27076
6b1f68c9
AS
27077 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27078
f2282d42
RM
270792011-10-13 Roland McGrath <roland@hack.frob.com>
27080
27081 [BZ #13291]
27082 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27083
5298ffa8
AS
270842011-10-13 Andreas Schwab <schwab@redhat.com>
27085
714fad23
AS
27086 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27087 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27088 feraiseexcept.
27089
81dcc7fb
AS
27090 * sysdeps/x86_64/memrchr.S: Check for zero size.
27091
5298ffa8
AS
27092 * string/stratcliff.c: Add memrchr tests.
27093
951fbcec
LD
270942011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27095
27096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27097 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27098 rawmemchr-sse2 rawmemchr-sse2-bsf.
27099 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27100 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27101 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27102 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27103 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27104 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27105 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27106 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27107 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27108 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27109 * string/memrchr.c (MEMRCHR): New macro.
27110
0ac5ae23
UD
271112011-10-12 Ulrich Drepper <drepper@gmail.com>
27112
27113 Add integration with gcc's -ffinite-math-only and optimize wrapper
27114 functions in libm.
27115 * Versions.def: Define GLIBC_2.15 version for libm.
27116 * math/Makefile (headers): Add bits/math-finite.h.
27117 * math/bits/math-finite.h: New file.
27118 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27119 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27120 * math/e_acoshl.c: Add __*_finite alias.
27121 * math/e_acosl.c: Likewise.
27122 * math/e_asinl.c: Likewise.
27123 * math/e_atan2l.c: Likewise.
27124 * math/e_atanhl.c: Likewise.
27125 * math/e_coshl.c: Likewise.
27126 * math/e_exp10.c: Likewise.
27127 * math/e_exp10f.c: Likewise.
27128 * math/e_exp10l.c: Likewise.
27129 * math/e_exp2l.c: Likewise.
27130 * math/e_fmodl.c: Likewise.
27131 * math/e_gammal_r.c: Likewise.
27132 * math/e_hypotl.c: Likewise.
27133 * math/e_j0l.c: Likewise.
27134 * math/e_j1l.c: Likewise.
27135 * math/e_jnl.c: Likewise.
27136 * math/e_lgammal_r.c: Likewise.
27137 * math/e_log10l.c: Likewise.
27138 * math/e_log2l.c: Likewise.
27139 * math/e_logl.c: Likewise.
27140 * math/e_powl.c: Likewise.
27141 * math/e_sinhl.c: Likewise.
27142 * math/e_sqrtl.c: Likewise.
27143 * math/e_scalb.c: Completely rewritten and optimized.
27144 * math/e_scalbf.c: Likewise.
27145 * math/e_scalbl.c: Likewise.
27146 * math/w_acos.c: Likewise.
27147 * math/w_acosf.c: Likewise.
27148 * math/w_acosl.c: Likewise.
27149 * math/w_acosh.c: Likewise.
27150 * math/w_acoshf.c: Likewise.
27151 * math/w_acoshl.c: Likewise.
27152 * math/w_asin.c: Likewise.
27153 * math/w_asinf.c: Likewise.
27154 * math/w_asinl.c: Likewise.
27155 * math/w_atan2.c: Likewise.
27156 * math/w_atan2f.c: Likewise.
27157 * math/w_atan2l.c: Likewise.
27158 * math/w_atanh.c: Likewise.
27159 * math/w_atanhf.c: Likewise.
27160 * math/w_atanhl.c: Likewise.
27161 * math/w_exp10.c: Likewise.
27162 * math/w_exp10f.c: Likewise.
27163 * math/w_exp10l.c: Likewise.
27164 * math/w_fmod.c: Likewise.
27165 * math/w_fmodf.c: Likewise.
27166 * math/w_fmodl.c: Likewise.
27167 * math/w_j0.c: Likewise.
27168 * math/w_j0f.c: Likewise.
27169 * math/w_j0l.c: Likewise.
27170 * math/w_j1.c: Likewise.
27171 * math/w_j1f.c: Likewise.
27172 * math/w_j1l.c: Likewise.
27173 * math/w_jn.c: Likewise.
27174 * math/w_jnf.c: Likewise.
27175 * math/w_log.c: Likewise.
27176 * math/w_logf.c: Likewise.
27177 * math/w_logl.c: Likewise.
27178 * math/w_log10.c: Likewise.
27179 * math/w_log10f.c: Likewise.
27180 * math/w_log10l.c: Likewise.
27181 * math/w_log2.c: Likewise.
27182 * math/w_log2f.c: Likewise.
27183 * math/w_log2l.c: Likewise.
27184 * math/w_pow.c: Likewise.
27185 * math/w_powf.c: Likewise.
27186 * math/w_powl.c: Likewise.
27187 * math/w_remainder.c: Likewise.
27188 * math/w_remainderf.c: Likewise.
27189 * math/w_remainderl.c: Likewise.
27190 * math/w_scalb.c: Likewise.
27191 * math/w_scalbf.c: Likewise.
27192 * math/w_scalbl.c: Likewise.
27193 * math/w_sqrt.c: Likewise.
27194 * math/w_sqrtf.c: Likewise.
27195 * math/w_sqrtl.c: Likewise.
27196 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27197 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27198 used.
27199 * math/math_private.h: Declare __kernel_standard_f.
27200 * math/w_cosh.c: Remove cruft and optimize a bit.
27201 * math/w_coshf.c: Likewise.
27202 * math/w_coshl.c: Likewise.
27203 * math/w_exp2.c: Likewise.
27204 * math/w_exp2f.c: Likewise.
27205 * math/w_exp2l.c: Likewise.
27206 * math/w_hypot.c: Likewise.
27207 * math/w_hypotf.c: Likewise.
27208 * math/w_hypotl.c: Likewise.
27209 * math/w_lgamma.c: Likewise.
27210 * math/w_lgamma_r.c: Likewise.
27211 * math/w_lgammaf.c: Likewise.
27212 * math/w_lgammaf_r.c: Likewise.
27213 * math/w_lgammal.c: Likewise.
27214 * math/w_lgammal_r.c: Likewise.
27215 * math/w_sinh.c: Likewise.
27216 * math/w_sinhf.c: Likewise.
27217 * math/w_sinhl.c: Likewise.
27218 * math/w_tgamma.c: Likewise.
27219 * math/w_tgammaf.c: Likewise.
27220 * math/w_tgammal.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27222 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27223 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27224 Minor optimizations. Pretty printing. Remove cruft.
27225 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27229 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27230 * sysdeps/i386/fpu/e_asin.S: Likewise.
27231 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27232 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27233 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27234 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27235 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27236 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27237 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27238 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27239 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27240 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27241 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27242 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27243 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27244 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27245 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27246 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27247 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27248 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27249 * sysdeps/i386/fpu/e_log.S: Likewise.
27250 * sysdeps/i386/fpu/e_log10.S: Likewise.
27251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27252 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27253 * sysdeps/i386/fpu/e_log2.S: Likewise.
27254 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27255 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27256 * sysdeps/i386/fpu/e_logf.S: Likewise.
27257 * sysdeps/i386/fpu/e_logl.S: Likewise.
27258 * sysdeps/i386/fpu/e_pow.S: Likewise.
27259 * sysdeps/i386/fpu/e_powf.S: Likewise.
27260 * sysdeps/i386/fpu/e_powl.S: Likewise.
27261 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27262 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27263 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27265 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27266 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27267 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27268 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27269 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27291 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27292 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27293 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27294 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27295 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27297 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27298 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27299 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27301 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27303 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27304 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27305 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27306 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27307 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27308 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27309 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27310 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27311 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27316 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27317 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27318 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27319 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27320 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27321 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27322 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27323 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27324 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27325 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27326 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27327 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27348 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27353 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27354 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27355 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27356 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27357 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27358 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27361 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27362 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27363 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27364 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27365 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27366 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27367 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27368 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27369 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27370 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27371 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27372 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27373 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27374 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27375 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27376 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27377 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27378 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27379 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27380 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27381 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27382 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27383 (__isnanf): Likewise.
27384 (__isinf_ns): Likewise.
27385 (__isinf_nsf): Likewise.
27386 (__finite): Likewise.
27387 (__finitef): Likewise.
27388 (__ieee754_sqrt): Define as macro.
27389 (__ieee754_sqrtf): Define as macro.
27390 (__ieee754_sqrtl): Define as macro.
27391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27392 inlined copy.
27393 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27394 __FINITE_MATH_ONLY__ consistent.
27395 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27396
12cc2fcd
AS
273972011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27398
a843a204
AS
27399 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27400 of rawmemchr.
27401
12cc2fcd
AS
27402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27403
c853acd5
UD
274042011-10-09 Ulrich Drepper <drepper@gmail.com>
27405
27406 * po/ja.po: Update from translation team.
27407
c658d255
RM
274082011-10-08 Roland McGrath <roland@hack.frob.com>
27409
110946e4
RM
27410 * locale/programs/locarchive.c (prepare_address_space): New function.
27411 (create_archive, enlarge_archive, open_archive): Use it.
27412
50604220
RM
27413 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27414 inside [SHARED], where it is used.
27415
c658d255
RM
27416 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27417
27418 * nss/getent.c (netgroup_keys): Remove unused variable.
27419 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27420
6a621eb7
UD
274212011-10-08 Ulrich Drepper <drepper@gmail.com>
27422
7edb55ce
UD
27423 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27424 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27427 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27428 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27429 * math/Makefile (libm-calls): Add s_isinf_ns.
27430 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27431 * math/multc3.c: Likewise.
27432 * math/s_casin.c: Likewise.
27433 * math/s_casinf.c: Likewise.
27434 * math/s_casinl.c: Likewise.
27435 * math/s_ccos.c: Likewise.
27436 * math/s_ccosf.c: Likewise.
27437 * math/s_ccosl.c: Likewise.
27438 * math/s_ctan.c: Likewise.
27439 * math/s_ctanf.c: Likewise.
27440 * math/s_ctanh.c: Likewise.
27441 * math/s_ctanhf.c: Likewise.
27442 * math/s_ctanhl.c: Likewise.
27443 * math/s_ctanl.c: Likewise.
27444 * math/w_fmod.c: Likewise.
27445 * math/w_fmodf.c: Likewise.
27446 * math/w_fmodl.c: Likewise.
27447 * math/w_remainder.c: Likewise.
27448 * math/w_remainderf.c: Likewise.
27449 * math/w_remainderl.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27451 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27452 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27454 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27455 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27456 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27457 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27458
187da0ae
UD
27459 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27460 of the number.
27461 * stdio-common/printf_fphex.c: Likewise.
27462 * stdio-common/printf_size.c: Likewise.
27463
9277c064
UD
27464 * math/e_exp10.c: Include math_private.h using <...> not "...".
27465 * math/e_exp10f.c: Likewise.
27466 * math/e_exp10l.c: Likewise.
27467 * math/e_exp2l.c: Likewise.
27468 * math/e_j0l.c: Likewise.
27469 * math/e_j1l.c: Likewise.
27470 * math/e_jnl.c: Likewise.
27471 * math/e_lgammal_r.c: Likewise.
27472 * math/e_rem_pio2l.c: Likewise.
27473 * math/e_scalb.c: Likewise.
27474 * math/e_scalbf.c: Likewise.
27475 * math/e_scalbl.c: Likewise.
27476 * math/k_cosl.c: Likewise.
27477 * math/k_sinl.c: Likewise.
27478 * math/k_tanl.c: Likewise.
27479 * math/s_cacoshf.c: Likewise.
27480 * math/s_catan.c: Likewise.
27481 * math/s_catanf.c: Likewise.
27482 * math/s_catanh.c: Likewise.
27483 * math/s_catanhf.c: Likewise.
27484 * math/s_catanhl.c: Likewise.
27485 * math/s_catanl.c: Likewise.
27486 * math/s_ccosh.c: Likewise.
27487 * math/s_ccoshf.c: Likewise.
27488 * math/s_ccoshl.c: Likewise.
27489 * math/s_cexp.c: Likewise.
27490 * math/s_cexpf.c: Likewise.
27491 * math/s_cexpl.c: Likewise.
27492 * math/s_clog.c: Likewise.
27493 * math/s_clog10.c: Likewise.
27494 * math/s_clog10f.c: Likewise.
27495 * math/s_clog10l.c: Likewise.
27496 * math/s_clogf.c: Likewise.
27497 * math/s_clogl.c: Likewise.
27498 * math/s_csin.c: Likewise.
27499 * math/s_csinf.c: Likewise.
27500 * math/s_csinh.c: Likewise.
27501 * math/s_csinhf.c: Likewise.
27502 * math/s_csinhl.c: Likewise.
27503 * math/s_csinl.c: Likewise.
27504 * math/s_csqrt.c: Likewise.
27505 * math/s_csqrtf.c: Likewise.
27506 * math/s_csqrtl.c: Likewise.
27507 * math/s_ctan.c: Likewise.
27508 * math/s_ctanf.c: Likewise.
27509 * math/s_ctanh.c: Likewise.
27510 * math/s_ctanhf.c: Likewise.
27511 * math/s_ctanhl.c: Likewise.
27512 * math/s_ctanl.c: Likewise.
27513 * math/s_ldexp.c: Likewise.
27514 * math/s_ldexpf.c: Likewise.
27515 * math/s_ldexpl.c: Likewise.
27516 * math/s_significand.c: Likewise.
27517 * math/s_significandf.c: Likewise.
27518 * math/s_significandl.c: Likewise.
27519 * math/w_acos.c: Likewise.
27520 * math/w_acosf.c: Likewise.
27521 * math/w_acosh.c: Likewise.
27522 * math/w_acoshf.c: Likewise.
27523 * math/w_acoshl.c: Likewise.
27524 * math/w_acosl.c: Likewise.
27525 * math/w_asin.c: Likewise.
27526 * math/w_asinf.c: Likewise.
27527 * math/w_asinl.c: Likewise.
27528 * math/w_atan2.c: Likewise.
27529 * math/w_atan2f.c: Likewise.
27530 * math/w_atan2l.c: Likewise.
27531 * math/w_atanh.c: Likewise.
27532 * math/w_atanhf.c: Likewise.
27533 * math/w_atanhl.c: Likewise.
27534 * math/w_cosh.c: Likewise.
27535 * math/w_coshf.c: Likewise.
27536 * math/w_coshl.c: Likewise.
27537 * math/w_dremf.c: Likewise.
27538 * math/w_exp10.c: Likewise.
27539 * math/w_exp10f.c: Likewise.
27540 * math/w_exp10l.c: Likewise.
27541 * math/w_exp2.c: Likewise.
27542 * math/w_exp2f.c: Likewise.
27543 * math/w_fmod.c: Likewise.
27544 * math/w_fmodf.c: Likewise.
27545 * math/w_fmodl.c: Likewise.
27546 * math/w_hypot.c: Likewise.
27547 * math/w_hypotf.c: Likewise.
27548 * math/w_hypotl.c: Likewise.
27549 * math/w_j0.c: Likewise.
27550 * math/w_j0f.c: Likewise.
27551 * math/w_j0l.c: Likewise.
27552 * math/w_j1.c: Likewise.
27553 * math/w_j1f.c: Likewise.
27554 * math/w_j1l.c: Likewise.
27555 * math/w_jn.c: Likewise.
27556 * math/w_jnf.c: Likewise.
27557 * math/w_jnl.c: Likewise.
27558 * math/w_lgamma.c: Likewise.
27559 * math/w_lgamma_r.c: Likewise.
27560 * math/w_lgammaf.c: Likewise.
27561 * math/w_lgammaf_r.c: Likewise.
27562 * math/w_lgammal.c: Likewise.
27563 * math/w_lgammal_r.c: Likewise.
27564 * math/w_log.c: Likewise.
27565 * math/w_log10.c: Likewise.
27566 * math/w_log10f.c: Likewise.
27567 * math/w_log10l.c: Likewise.
27568 * math/w_log2.c: Likewise.
27569 * math/w_log2f.c: Likewise.
27570 * math/w_log2l.c: Likewise.
27571 * math/w_logf.c: Likewise.
27572 * math/w_logl.c: Likewise.
27573 * math/w_pow.c: Likewise.
27574 * math/w_powf.c: Likewise.
27575 * math/w_powl.c: Likewise.
27576 * math/w_remainder.c: Likewise.
27577 * math/w_remainderf.c: Likewise.
27578 * math/w_remainderl.c: Likewise.
27579 * math/w_scalb.c: Likewise.
27580 * math/w_scalbf.c: Likewise.
27581 * math/w_scalbl.c: Likewise.
27582 * math/w_sinh.c: Likewise.
27583 * math/w_sinhf.c: Likewise.
27584 * math/w_sinhl.c: Likewise.
27585 * math/w_sqrt.c: Likewise.
27586 * math/w_sqrtf.c: Likewise.
27587 * math/w_sqrtl.c: Likewise.
27588 * math/w_tgamma.c: Likewise.
27589 * math/w_tgammaf.c: Likewise.
27590 * math/w_tgammal.c: Likewise.
27591
6a621eb7
UD
27592 * po/ja.po: Update from translation team.
27593
bf582445
AJ
275942011-09-29 Andreas Jaeger <aj@suse.de>
27595
f9efbf3a
AJ
27596 [BZ #13179]
27597 * sunrpc/netname.c (netname2host): Fix logic.
27598
bf582445
AJ
27599 [BZ #6779]
27600 [BZ #6783]
27601 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27602 correctly.
27603 * math/w_remainder.c (__remainder): Likewise.
27604 * math/w_remainderf.c (__remainderf): Likewise.
27605 * math/libm-test.inc (remainder_test): Add test cases.
27606
48693bea
AK
276072011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27608
27609 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27610 sdiv_qrnnd.
27611
42622229
LD
276122011-10-07 Ulrich Drepper <drepper@gmail.com>
27613
27614 * string/test-memcmp.c: Avoid unncessary #defines.
27615 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27616
093ecf92
LD
276172011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27618
27619 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27620 Use new sse2 version for core i3 - i7 as it's faster
27621 than sse42 version.
27622 (bit_Prefer_PMINUB_for_stringop): New.
27623 * sysdeps/x86_64/rawmemchr.S: Update.
27624 Replace with faster SSE2 version.
27625 * sysdeps/x86_64/memrchr.S: New file.
27626 * sysdeps/x86_64/memchr.S: Update.
27627 Replace with faster SSE2 version.
27628
fde56e5c
MP
276292011-09-12 Marek Polacek <mpolacek@redhat.com>
27630
27631 * elf/dl-load.c (lose): Add cast to avoid warning.
27632
21fd49a9
UD
276332011-10-07 Ulrich Drepper <drepper@gmail.com>
27634
5a06e643
UD
27635 * po/ca.po: Update from translation team.
27636
684ae515
UD
27637 * inet/getnetgrent_r.c: Hook up nscd.
27638 * nscd/Makefile (routines): Add nscd_netgroup.
27639 (nscd-modules): Add netgroupcache.
27640 (CFLAGS-netgroupcache.c): Define.
27641 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27642 (cache_search): Add const to second parameter.
27643 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27644 INNETGR.
27645 (dbs): Add netgrdb entry.
27646 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27647 (verify_persistent_db): Handle netgrdb.
27648 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27649 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27650 GETFDNETGR.
27651 (netgroup_response_header): Define.
27652 (innetgroup_response_header): Define.
27653 (datahead): Add netgroup_response_header and innetgroup_response_header
27654 elements.
27655 * nscd/nscd.conf: Add entries for netgroup cache.
27656 * nscd/nscd.h (dbtype): Add netgrdb.
27657 (_PATH_NSCD_NETGROUP_DB): Define.
27658 (netgroup_iov_disabled): Declare.
27659 (xmalloc, xcalloc, xrealloc): Move declarations here.
27660 (cache_search): Adjust prototype.
27661 Add netgroup-related prototypes.
27662 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27663 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27664 (__nscd_innetgr): Declare.
27665 * nscd/selinux.c (perms): Use access_vector_t as element type and
27666 add netgroup-related initializers.
27667 * nscd/netgroupcache.c: New file.
27668 * nscd/nscd_netgroup.c: New file.
27669 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27670 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27671 For four parameters use innetgr.
27672 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27673 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27674 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27675 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27676
21fd49a9
UD
27677 * nscd/connections.c (register_traced_file): Don't register file
27678 for disabled databases.
27679
054c0457
UD
276802011-10-06 Ulrich Drepper <drepper@gmail.com>
27681
32b63198
UD
27682 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27683
054c0457
UD
27684 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27685 from tree and freeing node.
27686
64031225
JO
276872011-09-25 Jiri Olsa <jolsa@redhat.com>
27688
27689 * nss/nsswitch.c (__nss_database_lookup): Handle
27690 nss_parse_service_list out of memory case.
27691
0490345c
JO
276922011-09-15 Jiri Olsa <jolsa@redhat.com>
27693
27694 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27695 out of memory case.
27696
3a62d00d
AS
276972011-10-04 Andreas Schwab <schwab@redhat.com>
27698
27699 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27700 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27701 pass it down.
27702 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27703 elf_machine_rela, elf_machine_lazy_rel.
27704 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27705 (ELF_DYNAMIC_DO_REL): Likewise.
27706 (ELF_DYNAMIC_DO_RELA): Likewise.
27707 (ELF_DYNAMIC_RELOCATE): Likewise.
27708 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27709 to ELF_DYNAMIC_DO_REL.
27710 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27711 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27712 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27713 elf_machine_rela.
27714 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27715 skip_ifunc, don't call ifunc function if non-zero.
27716 (elf_machine_rela): Likewise.
27717 (elf_machine_lazy_rel): Likewise.
27718 (elf_machine_lazy_rela): Likewise.
27719 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27720 (elf_machine_lazy_rel): Likewise.
27721 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27722 Likewise.
27723 (elf_machine_lazy_rel): Likewise.
27724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27725 Likewise.
27726 (elf_machine_lazy_rel): Likewise.
27727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27728 (elf_machine_lazy_rel): Likewise.
27729 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27730 (elf_machine_lazy_rel): Likewise.
27731 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27732 (elf_machine_lazy_rel): Likewise.
27733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27734 (elf_machine_lazy_rel): Likewise.
27735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27736 (elf_machine_lazy_rel): Likewise.
27737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27738 (elf_machine_lazy_rel): Likewise.
27739
68577918
UD
277402011-09-28 Ulrich Drepper <drepper@gmail.com>
27741
27742 * nss/nss_files/files-init.c (_nss_files_init): Use static
27743 initialization for all the *_traced_file variables.
27744
68822d74
AS
277452011-09-28 Andreas Schwab <schwab@redhat.com>
27746
27747 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27748
2056100b
RM
277492011-09-27 Roland McGrath <roland@hack.frob.com>
27750
27751 [BZ #13226]
27752 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27753
32c76b63
AS
277542011-09-27 Andreas Schwab <schwab@redhat.com>
27755
27756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27757 Reread the line before reparsing it.
27758
bf972c9d
AS
277592011-09-26 Andreas Schwab <schwab@redhat.com>
27760
27761 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27762
e057a1b5
JM
277632011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27764 Maxim Kuvyrkov <maxim@codesourcery.com>
27765 Joseph Myers <joseph@codesourcery.com>
27766
27767 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27768 if needed for __stack_chk_guard.
27769
bc7e1c36
RM
277702011-09-19 Roland McGrath <roland@hack.frob.com>
27771
ecb1482f
RM
27772 * sysdeps/posix/spawni.c (script_execute): Always define it.
27773 It will be optimized away if unused.
27774 (maybe_script_execute): New function.
27775 (__spawni): Call it.
27776
bc7e1c36
RM
27777 * Makerules: Don't include tls.make.
27778 (config-tls): Always set to thread.
27779 * tls.make.c: File removed.
27780
1c3b002b
MF
277812011-09-19 Mike Frysinger <vapier@gentoo.org>
27782
27783 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27784 * config.make.in (CPPFLAGS-config): New substituted variable.
27785
2840865d
UD
277862011-09-15 Ulrich Drepper <drepper@gmail.com>
27787
88738eb6
UD
27788 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27789
cbf645a6 27790 [BZ #13192]
2840865d
UD
27791 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27792 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27793
b402e91a
RM
277942011-09-15 Roland McGrath <roland@hack.frob.com>
27795
27796 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27797 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27799 (CALL_FAIL): Likewise.
27800 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27801 (CALL_FAIL): Macro removed.
27802 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27803
4c1a1f71
UD
278042011-09-15 Ulrich Drepper <drepper@gmail.com>
27805
27806 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27807 for __FINITE_MATH_ONLY__ == 1.
27808
edc121be
AS
278092011-09-15 Andreas Schwab <schwab@redhat.com>
27810
27811 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27812 __ieee754_sqrt instead of sqrt.
27813 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27814 __ieee754_sqrtf instead of sqrtf.
27815 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27816 __floorf instead of floorf.
27817 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27818 __floorf, __truncf instead of floorf, truncf.
27819
cd205654
UD
278202011-09-14 Ulrich Drepper <drepper@gmail.com>
27821
ee4d0315
UD
27822 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27823
cd205654
UD
27824 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27825 __extern_always_inline.
27826 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27827 32-bit.
27828
48b67d71
AS
278292011-09-14 Andreas Schwab <schwab@redhat.com>
27830
27831 * elf/rtld.c (dl_main): Also relocate in dependency order when
27832 doing symbol dependency testing.
27833
1ae12c75
AS
278342011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27835
27836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27837 Always define `refsym'.
27838
995a80df
AS
278392011-09-13 Andreas Schwab <schwab@redhat.com>
27840
e529793b
AS
27841 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27842 (__FD_ELT): Renamed from __FDELT.
27843 * misc/bits/select2.h (__FD_ELT): Likewise.
27844 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27845 __FD_MASK instead of __FDELT, __FDMASK.
27846 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27847 Likewise.
27848 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27849 Likewise.
27850
52d4fef8
AS
27851 * elf/Makefile (gen-ldd): Fix pattern.
27852
995a80df
AS
27853 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27854 (init_tls): Likewise.
27855
8682f8b0
UD
278562011-09-12 Ulrich Drepper <drepper@gmail.com>
27857
27858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27859
de82006d
AS
278602011-09-12 Andreas Schwab <schwab@redhat.com>
27861
a7c8e6a1
AS
27862 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27863 `struct cmsghdr *' instead of `void *'.
27864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27865 Likewise.
27866
0f31fe77
AS
278672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27868
27869 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27870 if non-absolute.
27871 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27872 ldd_rewrite_script.
0f31fe77 27873
32b4c839
UD
278742011-09-11 Ulrich Drepper <drepper@gmail.com>
27875
83cd1420
UD
27876 * configure.in: Remove --with-tls option.
27877 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27878 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27879 out in case it is missing.
27880 * sysdeps/ia64/elf/configure.in: Likewise.
27881 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27882 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27883 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27884 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27885 * sysdeps/sh/elf/configure.in: Likewise.
27886 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27887 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27888 * sysdeps/x86_64/elf/configure.in: Likewise.
27889 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27890 * sysdeps/mach/hurd/tls.h: Likewise.
27891
633f745d
UD
27892 [BZ #13067]
27893 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27894
f318beb8
UD
27895 [BZ #13090]
27896 * configure.in: Fix use of AC_INIT.
27897
32b4c839
UD
27898 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27899
3ce1f295
UD
279002011-09-10 Ulrich Drepper <drepper@gmail.com>
27901
bb016596
UD
27902 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27903 __set_errno.
8e58439c
UD
27904 * malloc/hooks.c: Likewise.
27905
aebae053 27906 [BZ #11929]
02d46fc4
UD
27907 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27908 variables statically.
27909 (narenas): Initialize.
27910 (list_lock): Initialize.
bb016596
UD
27911 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27912 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27913 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27914 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27915 Add initializers to main_arena and mp_.
27916 (malloc_state): Remove pagesize member. Change all users to use
27917 GLRO(dl_pagesize).
27918
27919 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27920 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27921 is always initialized.
27922
22a89187
UD
27923 * malloc/malloc.c: Removed unused configurations and dead code.
27924 * malloc/arena.c: Likewise.
27925 * malloc/hooks.c: Likewise.
02d46fc4 27926 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27927
d063d164
UD
27928 * include/tls.h: Removed. USE___THREAD must always be defined.
27929 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27930 * elf/dl-libc.c: Likewise.
27931 * elf/dl-tsd.c: Likewise.
27932 * include/errno.h: Likewise.
27933 * include/netdb.h: Likewise.
27934 * include/resolv.h: Likewise.
27935 * inet/herrno-loc.c: Likewise.
27936 * inet/herrno.c: Likewise.
27937 * malloc/arena.c: Likewise.
27938 * malloc/hooks.c: Likewise.
27939 * malloc/malloc.c: Likewise.
27940 * resolv/res-state.c: Likewise.
27941 * resolv/res_libc.c: Likewise.
27942 * sysdeps/i386/dl-machine.h: Likewise.
27943 * sysdeps/ia64/dl-machine.h: Likewise.
27944 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27945 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27946 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27947 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27948 * sysdeps/sh/dl-machine.h: Likewise.
27949 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27950 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27951 * sysdeps/unix/i386/sysdep.S: Likewise.
27952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27953 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27958 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27962 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27963 * sysdeps/x86_64/dl-machine.h: Likewise.
27964 * tls.make.c: Likewise.
27965
3ce1f295
UD
27966 * configure.in: Remove --with-__thread option. Make tests for
27967 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27968 tls_model attribute fail if no support is available. Remove
27969 USE_IN_LIBIO.
27970 * Makeconfig: Adjust for dropped configure option. All features are
27971 now mandatory.
27972 * Makerules: Likewise.
27973 * Versions.def: Likewise.
27974 * argp/argp-fmtstream.c: Likewise.
27975 * argp/argp-fmtstream.h: Likewise.
27976 * argp/argp-help.c: Likewise.
27977 * assert/assert.c: Likewise.
27978 * config.h.in: Likewise.
27979 * config.make.in: Likewise.
27980 * configure: Likewise.
27981 * configure.in: Likewise.
27982 * csu/Versions: Likewise.
27983 * csu/init.c: Likewise.
27984 * elf/tst-audit2.c: Likewise.
27985 * elf/tst-tls10.c: Likewise.
27986 * elf/tst-tls10.h: Likewise.
27987 * elf/tst-tls11.c: Likewise.
27988 * elf/tst-tls12.c: Likewise.
27989 * elf/tst-tls14.c: Likewise.
27990 * elf/tst-tlsmod11.c: Likewise.
27991 * elf/tst-tlsmod12.c: Likewise.
27992 * elf/tst-tlsmod13.c: Likewise.
27993 * elf/tst-tlsmod13a.c: Likewise.
27994 * elf/tst-tlsmod14a.c: Likewise.
27995 * elf/tst-tlsmod15b.c: Likewise.
27996 * elf/tst-tlsmod16a.c: Likewise.
27997 * elf/tst-tlsmod16b.c: Likewise.
27998 * elf/tst-tlsmod7.c: Likewise.
27999 * elf/tst-tlsmod8.c: Likewise.
28000 * elf/tst-tlsmod9.c: Likewise.
28001 * gmon/gmon.c: Likewise.
28002 * grp/fgetgrent_r.c: Likewise.
28003 * grp/putgrent.c: Likewise.
28004 * hurd/fopenport.c: Likewise.
28005 * include/libc-symbols.h: Likewise.
28006 * include/tls.h: Likewise.
28007 * intl/gettextP.h: Likewise.
28008 * intl/loadinfo.h: Likewise.
28009 * locale/global-locale.c: Likewise.
28010 * locale/localeinfo.h: Likewise.
28011 * mach/devstream.c: Likewise.
28012 * malloc/arena.c: Likewise.
28013 * malloc/set-freeres.c: Likewise.
28014 * misc/err.c: Likewise.
28015 * misc/getttyent.c: Likewise.
28016 * misc/mntent_r.c: Likewise.
28017 * posix/getopt.c: Likewise.
28018 * posix/wordexp.c: Likewise.
28019 * pwd/fgetpwent_r.c: Likewise.
28020 * resolv/Versions: Likewise.
28021 * resolv/res_hconf.c: Likewise.
28022 * shadow/fgetspent_r.c: Likewise.
28023 * shadow/putspent.c: Likewise.
28024 * stdio-common/printf_fphex.c: Likewise.
28025 * stdio-common/tmpfile.c: Likewise.
28026 * stdlib/abort.c: Likewise.
28027 * stdlib/fmtmsg.c: Likewise.
28028 * sunrpc/auth_unix.c: Likewise.
28029 * sunrpc/clnt_perr.c: Likewise.
28030 * sunrpc/clnt_tcp.c: Likewise.
28031 * sunrpc/clnt_udp.c: Likewise.
28032 * sunrpc/clnt_unix.c: Likewise.
28033 * sunrpc/openchild.c: Likewise.
28034 * sunrpc/svc_simple.c: Likewise.
28035 * sunrpc/svc_tcp.c: Likewise.
28036 * sunrpc/svc_udp.c: Likewise.
28037 * sunrpc/svc_unix.c: Likewise.
28038 * sunrpc/xdr.c: Likewise.
28039 * sunrpc/xdr_array.c: Likewise.
28040 * sunrpc/xdr_rec.c: Likewise.
28041 * sunrpc/xdr_ref.c: Likewise.
28042 * sunrpc/xdr_stdio.c: Likewise.
28043
1248c1c4
PB
280442011-09-09 Ulrich Drepper <drepper@gmail.com>
28045
28046 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28047
280482011-07-03 Andreas Jaeger <aj@suse.de>
28049
28050 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28051 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28052 regenerate with gen-libm-tests.pl.
28053
280542010-05-12 Petr Baudis <pasky@suse.cz>
28055
28056 [BZ #11589]
28057 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28058 around j0() zero points by switching to j1().
28059 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28060 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28063
f22e1074
UD
280642011-09-09 Ulrich Drepper <drepper@gmail.com>
28065
f19009c1
UD
28066 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28067 instead of 0.
28068 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28069 instead of 0.
f19009c1
UD
28070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28071 Patch in part by Pavel Roskin <proski@gnu.org>.
28072
3f8cc204
UD
28073 [BZ #13138]
28074 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28075 realloc.
28076 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28077 Free memory block if necessary.
28078
f22e1074
UD
28079 [BZ #12847]
28080 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28081 be NULL. Don't lock in this case.
28082
0a2349f9
RM
280832011-09-09 Roland McGrath <roland@hack.frob.com>
28084
28085 * elf/elf.h (ELFOSABI_GNU): New macro.
28086 (ELFOSABI_LINUX): Define to that.
28087
f3cdd467
DZ
280882011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28089
28090 * string/strncat.c (strncat): Undef the symbol in case it has been
28091 defined in bits/string.h.
28092
74718d13
UD
280932011-09-09 Ulrich Drepper <drepper@gmail.com>
28094
633e9e0f
UD
28095 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28096
0a2349f9 28097 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28098 link map.
28099
f9924780
AJ
281002011-08-17 Andreas Jaeger <aj@suse.de>
28101
28102 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28103
7f5517aa
PP
281042011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28105 Ian Lance Taylor <iant@google.com>
28106
28107 * math/libm-test.inc (lround_test): New testcase.
28108 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28109
762011fe
UD
281102011-09-08 Ulrich Drepper <drepper@gmail.com>
28111
92963737
UD
28112 * Makefile: Remove support for automatic cvs check-ins.
28113 * Makerules: Likewise.
28114 * config.make.in: Likewise.
28115 * configure.in: Likewise.
28116 * intl/Makefile: Likewise.
28117 * locale/Makefile: Likewise.
28118 * po/Makefile: Likewise.
28119 * posix/Makefile: Likewise.
28120 * sysdeps/gnu/Makefile: Likewise.
28121 * sysdeps/mach/hurd/Makefile: Likewise.
28122 * sysdeps/sparc/sparc32/Makefile: Likewise.
28123
b0727fd8
JS
28124 [BZ #13118]
28125 * posix/Makefile (bug-regex32-ENV): Define.
28126 Patch by John Stanley <jpsinthemix@verizon.net>.
28127
a0f33f99
UD
28128 * misc/Makefile (headers): Add bits/select2.h.
28129 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28130 * misc/bits/select2.h: New file.
28131 * include/bits/select2.h: New file.
28132 * debug/Makefile (routines): Add fdelt_chk.
28133 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28134 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28135 FD_ISSET.
28136 * debug/fdelt_chk.c: New file.
28137
762011fe
UD
28138 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28139 * wcsmbs/test-wmemcmp.c: Likewise.
28140 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28141 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28142
281432011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28144
28145 * string/Makefile (strop-tests): Add memcmp.
28146 * string/test-wmemcmp.c: New file.
28147 * string/test-memcmp.c: Add wmemcmp support.
28148
7f513ec8
RM
281492011-09-08 Roland McGrath <roland@hack.frob.com>
28150
0442afb4
RM
28151 [BZ #13153]
28152 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28153 2011-07-19 change.
28154
7f513ec8
RM
28155 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28156 garbage value in a __mach_port_mod_refs call in the cases of the
28157 task-self and thread-self ports.
28158
a12b2239
ST
281592011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28160
28161 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28162
610f9ab4
AS
281632011-09-08 Andreas Schwab <schwab@redhat.com>
28164
7f513ec8 28165 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28166
48882a1a
LD
281672011-09-07 Ulrich Drepper <drepper@gmail.com>
28168
b49865be
UD
28169 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28170
fdc86bc9
UD
28171 * elf/dl-libc.c (dlerror_run): Pass back error code from
28172 dl_catch_error.
28173
c966526a
UD
28174 [BZ #13123]
28175 * elf/dl-load.c (lose): Free l_origin if it is valid.
28176
48882a1a
LD
28177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28178 names.
28179 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28183 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28184 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28185
77a2a8b4
AZ
281862011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28187
28188 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28189 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28190 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28191 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28192 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28193 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28194 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28195 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28196 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28197 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28198
24f579d8
AM
281992011-08-15 Alan Modra <amodra@gmail.com>
28200
28201 [BZ #13092]
28202 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28203 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28204 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28205 ppc_mcount to static-only-routines.
28206 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28207 __mcount_internal.
28208 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28209 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28210
3d4837df
UD
282112011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28212
28213 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28214 for finite and infinity parameters.
28215
22700377
WS
282162011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28217
28218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28219 and add nop instructions for throughput optimization.
28220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28221
5025581e
WS
282222011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28223
28224 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28225 aligned copy for power7 with vector-scalar instructions.
28226 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28227
08a300c9
L
282282011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28229
28230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28231 AVX check.
28232
59178ef9
AS
282332011-09-07 Andreas Schwab <schwab@redhat.com>
28234
28235 [BZ #13144]
28236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28237 last change.
28238
e38ba7ab
UD
282392011-09-07 Ulrich Drepper <drepper@gmail.com>
28240
28241 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28242 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28243 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28245 clock_gettime.
28246
d53a73ac
UD
282472011-09-06 Ulrich Drepper <drepper@gmail.com>
28248
fc8bffcc
UD
28249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28250 Forgot to demangle the pointer.
28251
ceaa0c5d
UD
28252 * sysdeps/i386/sysdep.h: Define atom_text_section.
28253 * sysdeps/x86_64/sysdep.h: Likewise.
28254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28255 section with atom_text_section.
28256 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28257 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28258 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28260 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28261
a77d3c17
UD
28262 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28264 already be defined. Change to take two parameters and don't assign
28265 result to variable. Adjust all users.
28266 Define INTERNAL_GETTIME if not already defined.
28267 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28268 call.
28269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28270 HAVE_CLOCK_GETTIME_VSYSCALL.
28271 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28272
d53a73ac
UD
28273 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28274 gettimeofday vsyscall, just use time.
28275
a8f84144
AS
282762011-09-06 Andreas Schwab <schwab@redhat.com>
28277
28278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28279 <errno.h>.
28280
ef606249
UD
282812011-09-06 Ulrich Drepper <drepper@gmail.com>
28282
28283 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28284 syscall on x86-64.
28285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28286 syscall.
28287 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28289 syscall if possible.
28290
6585cb60
UD
282912011-09-05 Ulrich Drepper <drepper@gmail.com>
28292
28293 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28294 e_ident. Don't pass to find_mapsXX.
28295 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28296
a5f524e4
LD
282972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28298
28299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28300 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28301 * sysdeps/x86_64/multiarch/strchr.S: Update.
28302 Check bit_slow_BSF bit.
28303 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28304 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28305 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28306
554881ef
UD
283072011-09-05 Ulrich Drepper <drepper@gmail.com>
28308
d96de963
UD
28309 [BZ #13134]
28310 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28311 before glibc 2.15.
28312 (tryshell): Define.
28313 (__spawni): Change last parameter to be flag. Test
28314 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28315 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28316 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28317 * posix/spawni.c: Likewise.
28318 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28319 * posix/spawnp.c: Likewise. Change normal version to use
28320 SPAWN_XFLAGS_USE_PATH.
28321 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28322 SPAWN_XFLAGS_TRY_SHELL.
28323
d48e5868
UD
28324 [BZ #13150]
28325 * posix/glob.h: Remove gcc 1.x support.
28326
554881ef
UD
28327 [BZ #13068]
28328 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28329
693fb948
LD
283302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28331
28332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28333 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28334 strrchr-sse2-bsf
28335 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28336 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28337 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28339 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28340 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28341
1b48c537
UD
283422011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28343
49d42c37
UD
28344 * sysdeps/x86_64/wcscmp.S: New file.
28345
1b48c537
UD
28346 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28347 wcscmp-c wcscmp-sse2
28348 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28349 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28350 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28351 * wcsmbs/wcscmp.c: Allow renaming.
28352
15c95c5d
DM
283532011-09-05 David S. Miller <davem@davemloft.net>
28354
28355 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28356 stack slot, rather than the struct return pointer slot.
28357 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28358 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28360 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28361
2f0ad8f3
UD
283622011-09-05 Ulrich Drepper <drepper@gmail.com>
28363
d88ae418
UD
28364 * po/ja.po: Update from translation team.
28365
2f0ad8f3
UD
28366 [BZ #13144]
28367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28368 kernel in 64-bit binaries.
28369
5f4318d1
DM
283702011-09-01 David S. Miller <davem@davemloft.net>
28371
28372 * elf/elf.h (HWCAP_SPARC_*): Move to..
28373 * sysdeps/sparc/sysdep.h: this new file and add new values.
28374 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28375 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28376 _DL_HWCAP_COUNT to 24.
28377 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28378 entries.
28379 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28380 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28381 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28383 instead of magic constants.
28384 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28385
3ba57516
DM
283862011-08-31 David S. Miller <davem@davemloft.net>
28387
28388 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28389 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28390 Reimplement to do errno handling inline.
28391 (SYSCALL_ERROR_HANDLER): New macro.
28392 (__SYSCALL_STRING): Do not do errno handling in asm.
28393 (__CLONE_SYSCALL_STRING): Delete.
28394 (__INTERNAL_SYSCALL_STRING): Delete.
28395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28396 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28397 (PSEUDO): Reimplement to do errno handling inline.
28398 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28399 (SYSCALL_ERROR_HANDLER): New macro.
28400 (__SYSCALL_STRING): Do not do errno handling in asm.
28401 (__CLONE_SYSCALL_STRING): Delete.
28402 (__INTERNAL_SYSCALL_STRING): Delete.
28403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28404 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28405 i386.
28406 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28407 (inline_syscall*): Add 'err' argument.
28408 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28409 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28410 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28411 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28412
28413 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28414 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28415
2bc17433
AS
284162011-08-30 Andreas Schwab <schwab@redhat.com>
28417
28418 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28419
fbeb5f4d
JO
284202011-08-29 Jiri Olsa <jolsa@redhat.com>
28421
28422 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28423 directive.
28424
ad69cc26
DM
284252011-08-24 David S. Miller <davem@davemloft.net>
28426
28427 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28428
39dd69df
AS
284292011-08-24 Andreas Schwab <schwab@redhat.com>
28430
28431 * elf/Makefile: Add rules to build and run unload8 test.
28432 * elf/unload8.c: New file.
28433 * elf/unload8mod1.c: New file.
28434 * elf/unload8mod1x.c: New file.
28435 * elf/unload8mod2.c: New file.
28436 * elf/unload8mod3.c: New file.
28437
28438 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28439 it wasn't used.
28440
2c0b250a
DM
284412011-08-23 David S. Miller <davem@davemloft.net>
28442
28443 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28444 subtract stack bias.
28445 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28446 %sp not %fp in calculations.
28447 (_JMPBUF_UNWINDS_ADJ): Likewise.
28448
22044b48
DM
28449 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28450 (aio_suspend): Call it to force an exception region around the
28451 AIO_MISC_WAIT() invocation.
28452
2cae4995
AS
284532011-08-23 Andreas Schwab <schwab@redhat.com>
28454
28455 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28456 backslash.
28457
873a772e
AJ
284582011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28459
28460 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28461 protection macro.
28462 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28463 and <dl-machine.h>.
28464 (Elf64_FuncDesc): Remove.
28465
25ad0df1
DM
284662011-08-22 David S. Miller <davem@davemloft.net>
28467
28468 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28469 sigaltstack check, add missing cfi directives.
28470 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28471 missing cfi directives, and sigaltstack handling.
28472
e888bcbe
AS
284732011-08-16 Andreas Schwab <schwab@redhat.com>
28474
28475 [BZ #11724]
28476 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28477 object is seen twice.
28478 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28479
28480 * elf/Makefile (distribute): Add tst-initorder2.c.
28481 (tests): Add tst-initorder2.
28482 (modules-names): Add tst-initorder2a tst-initorder2b
28483 tst-initorder2c tst-initorder2d. Add rules to build them.
28484 ($(objpfx)tst-initorder2.out): New rule.
28485 * elf/tst-initorder2.c: New file.
28486 * elf/tst-initorder2.exp: New file.
28487
87162f46
AS
284882011-08-22 Andreas Schwab <schwab@redhat.com>
28489
70538b7f
AS
28490 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28491
f55ffe58
AS
28492 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28493 dependencies back to end of function.
28494
87162f46
AS
28495 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28496 $(elfobjdir)/ld.so.
28497
91b392a4
UD
284982011-08-21 Ulrich Drepper <drepper@gmail.com>
28499
28500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28501 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28503 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28504 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28505 of __vdso_gettimeofday.
28506 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28507 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28508 attribute_hidden.
28509 (_libc_vdso_platform_setup): Remove initialization of
28510 __vdso_gettimeofday and __vdso_time.
28511
5c43483f
UD
285122011-08-20 Ulrich Drepper <drepper@gmail.com>
28513
775a77e7
UD
28514 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28515 and fgetc_unlocked.
28516 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28517 getc_unlocked.
89f447ed 28518
49c74ba9
UD
28519 * elf/dl-open.c (add_to_global): Report additions to the global scope
28520 for LD_DEBUG=scopes.
28521 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28522 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28523
5c43483f
UD
28524 [BZ #13114]
28525 * stdio-common/Makefile (tests): Add bug24.
28526 * stdio-common/bug24.c: New file.
28527
a101b025
AJ
285282011-08-19 Andreas Jaeger <aj@suse.de>
28529
28530 [BZ #13114]
28531 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28532 non-existant file when using close-on-exec mode.
28533
c88f1766
UD
285342011-08-20 Ulrich Drepper <drepper@gmail.com>
28535
0276a718
UD
28536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28537 the very first instruction.
28538
c88f1766
UD
28539 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28540 the CFI state in the end.
28541 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28542 inclusion of dl-trampoline.h.
28543 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28544
51ccffa0
AS
285452011-08-19 Andreas Schwab <schwab@redhat.com>
28546
94d7165f
AS
28547 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28548 expectations for long double.
28549
51ccffa0
AS
28550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28551 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28552
fd708658 285532011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28554
28555 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28556 artificual limit depends upon the system page size.
28557
44f0a71e
UD
285582011-08-17 Ulrich Drepper <drepper@gmail.com>
28559
28560 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28561 * resolv/Makefile: Define CFLAGS-libresolv.
28562
8de79a24
AS
285632011-08-17 Andreas Schwab <schwab@redhat.com>
28564
28565 * nss/makedb.c (compute_tables): Make variables used in nested
28566 function static.
28567
27724598
UD
285682011-08-17 Ulrich Drepper <drepper@gmail.com>
28569
c5305d88
UD
28570 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28571 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28572 if buffer was too small.
28573
27724598
UD
28574 * elf/pldd.c (main): Attach to all threads in the process.
28575 Rewrite /proc handling to use *at functions.
28576
076fe015
UD
285772011-08-16 Ulrich Drepper <drepper@gmail.com>
28578
174baab3
UD
28579 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28580 specifies first scope to show.
28581 (dl_open_worker): Update callers. Move printing scope of new
28582 object to before the relocation.
44f0a71e 28583 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28584 * sysdeps/generic/ldsodefs.h: Update declaration.
28585
076fe015
UD
28586 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28587 string for the scope number.
28588
a60df2c3
UD
285892011-08-14 Ulrich Drepper <drepper@gmail.com>
28590
28591 * nscd/servicescache.c (cache_addserv): Make sure written is always
28592 initialized.
28593
5e4287d1
RM
285942011-08-14 Roland McGrath <roland@hack.frob.com>
28595
85ae0589
RM
28596 * sysdeps/i386/i486/bits/atomic.h
28597 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28598 statement expression, so as to suppress "set but not used" warning.
28599 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28600
69f63097
RM
28601 * string/strncat.c (STRNCAT): Use prototype definition.
28602
675456ef
RM
28603 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28604 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28605 -Iprograms here.
28606 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28607 (localedef-modules): Add localedef.
28608 (locale-modules): Add locale.
28609
5e4287d1
RM
28610 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28611 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28612 to avoid a warning.
28613
9c96ff23
DM
286142011-08-14 David S. Miller <davem@davemloft.net>
28615
28616 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28617 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28618
f9ddf089
UD
286192011-08-13 Ulrich Drepper <drepper@gmail.com>
28620
44f0a71e 28621 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28622 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28623 * elf/rtld.c (dl_main): Set l_name of vDSO.
28624 Call _dl_show_scope when DL_DEBUG_SCOPES.
28625 (process_dl_debug): Recognize scopes flag and also set it for all.
28626 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28627 Declare _dl_show_scope.
28628
1dc27704
UD
28629 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28630 (do_dlopen): Pass caller_dlopen to dl_open.
28631 (__libc_dlopen_mode): Initialize caller_dlopen.
28632
f9ddf089
UD
28633 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28634 of libc. Make tolower call locale-independent. Optimize a bit by
28635 using isdigit instead of isalnum.
28636 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28637
9ac533d3
UD
286382011-08-12 Ulrich Drepper <drepper@gmail.com>
28639
28640 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28641 was a dependency or dynamically loaded.
28642
89edf2e9
UD
286432011-08-11 Ulrich Drepper <drepper@gmail.com>
28644
8e999d29
UD
28645 * intl/l10nflist.c: Allow architecture-specific pop function.
28646 * sysdeps/x86_64/l10nflist.c: New file.
28647
89edf2e9
UD
28648 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28649 classification.
28650
14d96785
AS
286512011-08-10 Andreas Schwab <schwab@redhat.com>
28652
28653 * include/dirent.h: Add libc_hidden_proto for scandirat and
28654 scandirat64. Don't declare __scandirat64.
28655 * dirent/scandirat.c: Add libc_hidden_def.
28656 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28657 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28658
6761ac04
DM
286592011-08-10 David S. Miller <davem@davemloft.net>
28660
28661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28662 enum.
28663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28664 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28666
c55fbd1e
UD
286672011-08-09 Ulrich Drepper <drepper@gmail.com>
28668
28669 * Versions.def [libc]: Add GLIBC_2.15.
28670 * dirent/Makefile (routines): Add scandirat and scandirat64.
28671 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28672 GLIBC_2.15.
28673 * dirent/dirent.h: Declare scandirat and scandirat64.
28674 * dirent/scandirat.c: New file.
28675 * dirent/scandirat64.c: New file.
28676 * sysdeps/wordsize-64/scandirat.c: New file.
28677 * sysdeps/wordsize-64/scandirat64.c: New file.
28678 * dirent/opendir.c: Define opendirat.
28679 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28680 using scandirat.
28681 * dirent/scandir64.c: Adjust for scandir.c change.
28682 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28683 __scandirat64, and __scandir_cancel_handler.
28684 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28685 additional parameter and use openat instead of open (outside of ld.so).
28686 Add new __opendir as wrapper around __opendirat.
28687 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28688 here without requiring old scandirat implementation.
28689
879165f2
UD
286902011-08-08 Ulrich Drepper <drepper@gmail.com>
28691
28692 * dirent/scandir.c (cancel_handler): Renamed to
28693 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28694 defined. Adjust users.
28695 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28696 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28697
cb7e923b
UD
286982011-08-04 Ulrich Drepper <drepper@gmail.com>
28699
16292edd
UD
28700 * string/test-string.h (IMPL): Use __STRING to expand name and then
28701 stringify it.
28702
cb7e923b
UD
28703 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28704 of cleanups.
28705
cff82933
LD
287062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28707
28708 * string/Makefile: Update.
28709 (strop-tests): Append strncat.
28710 * string/test-wcscmp.c: New file.
28711 New comprehensive test for wcscmp.
28712 * string/test-strcmp.c: Update.
28713 (WIDE): New define.
28714
9be9bfcc
AS
287152011-07-22 Andreas Schwab <schwab@redhat.com>
28716
28717 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28718 line.
28719
2e96f1c7
AS
287202011-07-26 Andreas Schwab <schwab@redhat.com>
28721
28722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28723 encoding to ACE if AI_IDN.
28724
85188888
JJ
287252011-08-01 Jakub Jelinek <jakub@redhat.com>
28726
28727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28728 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28729
5fa16e9b
LD
287302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28731
28732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28733 Fix overflow bug in strncat.
28734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28735
28736 * string/test-strncat.c: Update.
28737 Add new tests for checking overflow bugs.
28738
287392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28740
28741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28742 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28743 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28744 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28745 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28746 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28747 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28748 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28749 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28750
28751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28752 (USE_AS_STRCAT): Define.
28753 Add strcat and strncat support.
28754 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28755
8c1a459f
AS
287562011-07-25 Andreas Schwab <schwab@redhat.com>
28757
28758 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28759 __n bigger than INT_MAX+1.
28760 (__strncmp_g): Likewise.
28761
bba33c28
UD
287622011-07-23 Ulrich Drepper <drepper@gmail.com>
28763
798be72d
UD
28764 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28765 * libio/stido.h: Likewise.
28766
8accd4dc
UD
28767 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28768 (AF_NFC): Define.
28769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28770 (AF_NFC): Define.
28771
cbff0d96
UD
28772 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28774 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28775 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28776 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28777
9191c04a
UD
28778 [BZ #13021]
28779 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28780 installed.
28781
bba33c28
UD
28782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28783 typo.
28784 (_dl_x86_64_save_sse): Likewise.
28785
90f139dd
UD
287862011-07-22 Ulrich Drepper <drepper@gmail.com>
28787
1aae088a
UD
28788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28789 OSXSAVE.
28790 (_dl_x86_64_save_sse): Likewise.
28791
8e2045f5
UD
28792 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28793
90f139dd
UD
28794 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28795
1d002f25
AS
287962011-07-21 Andreas Schwab <schwab@redhat.com>
28797
28798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28799 change.
28800 (_dl_x86_64_save_sse): Use correct AVX check.
28801
21137f89
UD
288022011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28803
28804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28805 bug in strncpy/strncat.
28806 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28807
a65c0b7a
UD
288082011-07-21 Ulrich Drepper <drepper@gmail.com>
28809
28810 * string/tester.c (test_strcat): Add tests for different alignments
28811 of source and destination.
28812 (test_strncat): Likewise.
28813
6986b98a
UD
288142011-07-20 Ulrich Drepper <drepper@gmail.com>
28815
90bb2039
UD
28816 [BZ #12852]
28817 * posix/glob.c (glob): Check passed in values before using them in
28818 expressions to avoid some overflows.
28819 (glob_in_dir): Likewise.
28820
5644ef54
UD
28821 [BZ #13007]
28822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28823 check for AVX enablement so that we don't crash with old kernels and
28824 new hardware.
28825 * elf/tst-audit4.c: Add same checks here.
28826 * elf/tst-audit6.c: Likewise.
28827
28828 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28829
bfc9dc9b
AS
288302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28831
28832 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28833
702e64bb
UD
288342011-07-20 Ulrich Drepper <drepper@gmail.com>
28835
28836 * po/cs.po: Update from translation team.
28837 * po/bg.po: Likewise.
28838
295e904f
MP
288392011-07-12 Marek Polacek <mpolacek@redhat.com>
28840
28841 * misc/sys/cdefs.h: Add support for const attribute.
28842 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28843 to gnu_dev_{major,minor,makedev} functions.
28844
3ff94596
MP
288452011-07-20 Marek Polacek <mpolacek@redhat.com>
28846
28847 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28848
28b59fca
AS
288492011-07-20 Andreas Schwab <schwab@redhat.com>
28850
28851 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28852 strlen results.
28853
19df733e
AK
288542011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28855
28856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28857 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28858 register in order to avoid conflicts with the soft frame pointer
28859 being held in r11 when necessary.
28860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28861 (INTERNAL_VSYSCALL_NCS): Likewise.
28862
c8835729
MP
288632011-07-14 Marek Polacek <mpolacek@redhat.com>
28864
28865 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28866 * elf/dl-fini.c (_dl_fini): Adjust caller.
28867 * elf/dl-close.c (_dl_close_worker): Likewise.
28868 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28869
b902330c
MP
288702011-07-15 Marek Polacek <mpolacek@redhat.com>
28871
8991e135
MP
28872 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28873 "aux_cache->nlibs < 0".
28874
b902330c
MP
28875 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28876 in the reload-count case.
28877
99710781
LD
288782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28879
28880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28881 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28882 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28883 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28884 * sysdeps/x86_64/multiarch/strcat.S: New file.
28885 * sysdeps/x86_64/multiarch/strncat.S: New file.
28886 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28887 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28888 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28889 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28891 (USE_AS_STRCAT): Define.
28892 Add strcat and strncat support.
28893 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28895 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28896 * string/strncat.c: Update.
28897 (USE_AS_STRNCAT): Define.
28898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28899 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28900 and i7.
28901 * sysdeps/x86_64/multiarch/init-arch.h
28902 (bit_Prefer_PMINUB_for_stringop): New.
28903 (index_Prefer_PMINUB_for_stringop): Likewise.
28904 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28905 bit_Prefer_PMINUB_for_stringop.
28906
7dc6bd90
UD
289072011-07-19 Ulrich Drepper <drepper@gmail.com>
28908
28909 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28910 buffer64.
28911 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28912 of casting of buffer.
28913 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28914 buffer32 and buffer64.
28915 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28916 writes instead of casting of buffer.
28917 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28918 buffer32.
28919 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28920 casting of buffer.
28921
e0e72284
AS
289222011-07-19 Andreas Schwab <schwab@redhat.com>
28923
28924 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28925
feb1eb0b
UD
289262011-07-19 Ulrich Drepper <drepper@gmail.com>
28927
28928 * nscd/nscd.c (termination_handler): Don't do anything for a database
28929 if it has not yet been initialized.
28930
298711ff
UD
289312011-07-18 Ulrich Drepper <drepper@gmail.com>
28932
28933 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28934
289352011-07-15 Marek Polacek <mpolacek@redhat.com>
28936
28937 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28938
f9d68389
UD
289392011-07-18 Ulrich Drepper <drepper@gmail.com>
28940
28941 * po/nl.po: Update from translation team.
28942 * po/sv.po: Likewise.
28943
db290cf5
RM
289442011-07-16 Roland McGrath <roland@hack.frob.com>
28945
28946 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28947 now disallowed by GCC.
5c550700 28948
fd5e21c7
RM
28949 * configure.in (use-default-link): Default to yes if a test -shared
28950 link meets our qualifications.
28951 * configure: Regenerated.
28952
5c550700
RM
28953 * config.make.in (output-format): New variable.
28954 * configure.in: Check for ld --print-output-format support.
28955 * configure: Regenerated.
28956 * Makerules ($(common-objpfx)format.lds)
28957 [$(output-format) != unknown]: Just use $(output-format),
28958 instead of the linker-script munging.
28959
9fa2c032
RM
289602011-07-14 Roland McGrath <roland@hack.frob.com>
28961
a6928d51
RM
28962 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28963 of $(common-objpfx)shlib.lds.
28964 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28965
661607b3
RM
28966 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28967 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28968
9fa2c032
RM
28969 * configure.in (-z relro check): Adjust test code to add a large
28970 writable data section after it.
28971 * configure: Regenerated.
28972
defe9061
RM
289732011-07-11 Roland McGrath <roland@hack.frob.com>
28974
28975 * configure.in (-z relro check): Fix test code to make the variable
28976 truly const.
28977 * configure: Regenerated.
28978
319b9ad4
UD
289792011-07-11 Ulrich Drepper <drepper@gmail.com>
28980
28981 * nscd/nscd.h (struct traced_file): Define.
28982 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28983 elements. Add traced_files.
28984 (inotify_fd): Declare.
28985 (register_traced_file): Declare.
28986 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28987 (inotify_fd): Export.
28988 (resolv_conf_descr): Remove.
28989 (nscd_init): Move inotify descriptor creation to main.
28990 Don't register files for notification here.
28991 (register_traced_file): New function.
28992 (invalidate_cache): Don't use reset_res to determine whether to call
28993 res_init, go through the list of registered files.
28994 (main_loop_poll): The inotify descriptors are now stored in the
28995 structures for the traced files.
28996 (main_loop_epoll): Likewise
28997 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28998 to __nss_disable_nscd.
28999 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29000 for a database anymore. Check the records for all the registered
29001 files instead.
29002 * nss/Makefile (libnss_files-routines): Add files-init.
29003 (libnss_db-routines): Add db-init.
29004 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29005 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29006 * nss/nss_db/db-init.c: New file.
29007 * nss/nss_files/files-init.c: New file.
29008 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29009 __nss_lookup_function.
29010 (__nss_lookup_function): Call nss_load_library.
29011 (nss_load_all_libraries): New function.
29012 (__nss_disable_nscd): Take parameter with callback function for files
29013 to register. Set is_nscd. Load all the DSOs for the NSS modules
29014 used for the cached services.
29015 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29016 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29017 options for features to all the files in nscd.
29018
29019 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29020
23bee3e8
RM
290212011-07-10 Roland McGrath <roland@hack.frob.com>
29022
29023 * csu/elf-init.c (__libc_csu_init): Comment typo.
29024
46a5b7f0
UD
290252011-07-09 Ulrich Drepper <drepper@gmail.com>
29026
29027 * po/pl.po: Update from translation team.
29028 * po/ja.po: Likewise.
29029 * po/ru.po: Likewise.
29030 * po/ko.po: Likewise.
29031 * po/fr.po: Likewise.
29032
d30cf5bb
RM
290332011-07-09 Roland McGrath <roland@hack.frob.com>
29034
113ddea4
RM
29035 * configure.in (.ctors/.dtors header and trailer check):
29036 Use an empirical test on a built program.
29037 * configure: Regenerated.
29038
574920b4
RM
29039 * configure.in (-z relro check): Use an empirical test on a built DSO.
29040 Detect, but do not require, on ia64.
29041 * configure: Regenerated.
29042
d30cf5bb
RM
29043 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29044 Update tests that use readelf to use $READELF instead.
29045 * configure: Regenerated.
29046
8538fdb3
UD
290472011-07-08 Ulrich Drepper <drepper@gmail.com>
29048
29049 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29050 if the result is not used.
29051
04d08991
AJ
290522011-07-05 Andreas Jaeger <aj@suse.de>
29053
29054 [BZ#9696]
29055 * stdlib/tst-strtod.c: Add testcase.
29056
de283087
AD
290572011-07-07 Ulrich Drepper <drepper@gmail.com>
29058
4e5f31c8 29059 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29060 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29061 The latter has a higher limit. Take additional parameter to pass to
29062 the new function.
29063 (__pathconf): Pass file to __statfs_link_max.
29064 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29065 __statfs_link_max.
29066 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29067 __statfs_link_max.
29068
de283087
AD
29069 [BZ #12868]
29070 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29071 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29072 Handle Lustre.
29073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29074 (__statfs_filesize_max): Likewise.
29075 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29076
c75fa153
AJ
290772011-07-05 Andreas Jaeger <aj@suse.de>
29078
29079 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29080
1a544854
UD
290812011-07-06 Marek Polacek <mpolacek@redhat.com>
29082
29083 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29084 `status' variable.
29085 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29086 Likewise.
29087
6f0eec67
UD
290882011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29089
29090 * Makefile (strop-tests): Add strncat.
29091 * string/test-strncat.c: New file.
29092
aae30307
UD
290932011-06-30 Marek Polacek <mpolacek@redhat.com>
29094
29095 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29096
c0cfb5eb
UD
290972011-06-21 Andreas Jaeger <aj@suse.de>
29098
29099 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29100 Copy rule from iconvdata/Makefile.
29101
01636b21
UD
291022011-07-06 Ulrich Drepper <drepper@gmail.com>
29103
29104 [BZ #12922]
29105 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29106 but no long options are defined, just return 'W'.
29107
9895c8bc
UD
291082011-06-22 Marek Polacek <mpolacek@redhat.com>
29109
29110 [BZ #9696]
29111 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29112
5d4cf042
UD
291132011-07-06 Ulrich Drepper <drepper@gmail.com>
29114
29115 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29116 netgroups to read.
960e5535 29117 (innetgr): Likewise.
5d4cf042 29118
751eb97e
RM
291192011-07-05 Roland McGrath <roland@hack.frob.com>
29120
29121 * config.make.in (install_root): Default to $(DESTDIR).
29122
f15f1e45
UD
291232011-07-05 Ulrich Drepper <drepper@gmail.com>
29124
29125 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29126
4e34ac6a
RM
291272011-07-02 Roland McGrath <roland@hack.frob.com>
29128
5e9b6af4
RM
29129 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29130
84f9ea0f
RM
29131 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29132 containing directory rather than embedding absolute directory names.
29133
ea5ee9f7
RM
29134 * scripts/check-local-headers.sh: Rewritten using awk.
29135 Match by word, not by line. Print error messages for matches.
29136 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29137
1b74661a
RM
29138 * Makerules [shlib-lds-flags empty]:
29139 ($(common-objpfx)libc_pic.opts): New target.
29140 ($(common-objpfx)libc_pic.os.clean): New target.
29141 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29142
29143 * config.make.in (OBJCOPY): New variable.
29144 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29145 * configure: Regenerated.
29146
f781ef40
RM
29147 * config.make.in (use-default-link): New variable.
29148 * configure.in (use_default_link): Grok --with-default-link to set it.
29149 * configure: Regenerated.
29150 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29151 (shlib-lds, shlib-lds-flags): Define to empty.
29152
2d4fa81e
RM
29153 * Makerules (shlib-lds): New variable.
29154 (shlib-lds-flags): New variable.
29155 (build-shlib, build-moduile, build-module-asneeded): Use it.
29156 ($(common-objpfx)libc.so): Use $(shlib-lds).
29157 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29158 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29159
31fffa6b
RM
29160 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29161 DT_FLAGS/DT_FLAGS_1 with zero flags.
29162
4e34ac6a
RM
29163 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29164 linker script munging.
29165
fcfc776b
UD
291662011-07-02 Ulrich Drepper <drepper@gmail.com>
29167
29168 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29169 as 128-bit value.
29170 * crypt/sha512.c (sha512_process_block): Perform total addition using
29171 128-bit if possible.
29172 (__sha512_finish_ctx): Likewise.
29173 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29174 as 64-bit value.
29175 * crypt/sha256.c (SWAP64): Define.
29176 (sha256_process_block): Perform total addition using 64-bit if
29177 possible.
29178 (__sha256_finish_ctx): Likewise.
29179
99231d9a
UD
291802011-07-01 Ulrich Drepper <drepper@gmail.com>
29181
29182 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29184 * nscd/hstcache.c (cache_addhst): Likewise.
29185 * nscd/grpcache.c (cache_addgr): Likewise.
29186 * nscd/aicache.c (addhstaiX): Likewise
29187 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29188
445b4a53
TK
291892011-07-01 Thorsten Kukuk <kukuk@suse.de>
29190
29191 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29193 * nscd/hstcache.c (cache_addhst): Likewise.
29194 * nscd/grpcache.c (cache_addgr): Likewise.
29195 * nscd/aicache.c (addhstaiX): Likewise
29196
6d4d8e8e
AS
291972011-07-01 Andreas Schwab <schwab@redhat.com>
29198
29199 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29200 domain only when needed.
29201
89f654c5
AS
292022011-06-30 Andreas Schwab <schwab@redhat.com>
29203
29204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29205 is always restored.
29206
cf3b23ff
UD
292072011-06-29 Ulrich Drepper <drepper@gmail.com>
29208
29209 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29210 are re-adding the entry.
29211 * nscd/servicescache.c (cache_addserv): Likewise.
29212
751626f9
AJ
292132011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29214
29215 * sysdeps/generic/dl-irel.h: fix protection against multiple
29216 inclusions.
29217 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29218
9113ea1f
UD
292192011-06-28 Ulrich Drepper <drepper@gmail.com>
29220
5c0b8d90
UD
29221 [BZ #12935]
29222 * malloc/memusage.sh: Fix quoting in message.
29223 * debug/xtrace.sh: Likewise.
29224
9113ea1f
UD
29225 * configure.in: Remove support for --experimental-malloc option, make
29226 it the default.
29227 * config.make.in: Likewise.
29228 * malloc/Makefile: Likewise.
29229
a4172181
AS
292302011-06-27 Andreas Schwab <schwab@redhat.com>
29231
29232 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29233 two-byte characters.
29234
78a7eee7
RM
292352011-06-27 Roland McGrath <roland@hack.frob.com>
29236
62bede13
RM
29237 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29238 AC_CACHE_CHECK invocation.
29239 * configure: Regenerated.
29240
78a7eee7
RM
29241 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29242
5ce33a62
UD
292432011-06-27 Ulrich Drepper <drepper@gmail.com>
29244
034807a9
UD
29245 [BZ #12350]
29246 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29247 bit from old_res_options.
29248
4902da17
UD
29249 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29250
5ce33a62
UD
29251 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29252 value type for setfct.
29253
c2344f56
L
292542011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29255
29256 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29257 __gettimeofday instead of gettimeofday.
29258
68468076
UD
292592011-06-26 Ulrich Drepper <drepper@gmail.com>
29260
29261 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29262
acb0d739
L
292632011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29264
29265 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29266
29267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29268 info.
29269
8912479f
L
292702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29271
29272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29273 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29274 strcpy-sse2-unaligned strncpy-sse2-unaligned
29275 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29276 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29277 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29278 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29279 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29282 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29283 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29284 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29285 (STRCPY): Support SSE2 and SSSE3 versions.
29286
d5495a11
UD
292872011-06-24 Ulrich Drepper <drepper@gmail.com>
29288
29289 [BZ #12874]
29290 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29291 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29292 kernels which artificially limit size of requests.
29293
0b1cbaae
L
292942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29295
29296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29297 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29298 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29299 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29300 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29301 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29302 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29303 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29304 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29305 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29306 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29307 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29308 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29309 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29310 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29312 Enable unaligned load optimization for Intel Core i3, i5 and i7
29313 processors.
29314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29315 Define.
29316 (index_Fast_Unaligned_Load): Define.
29317 (HAS_FAST_UNALIGNED_LOAD): Define.
29318
07f494a0
MP
293192011-06-23 Marek Polacek <mpolacek@redhat.com>
29320
29321 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29322
fa3fc0fe
UD
293232011-06-22 Ulrich Drepper <drepper@gmail.com>
29324
29325 [BZ #12907]
29326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29327 until it is clear that the information is realy needed.
29328 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29329
e12df166
AS
293302011-06-22 Andreas Schwab <schwab@redhat.com>
29331
29332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29333
852eb34d
UD
293342011-06-22 Ulrich Drepper <drepper@gmail.com>
29335
84e2a551
UD
29336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29337 /sys/devices/system/cpu/online if it is usable.
29338
852eb34d
UD
29339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29340 reading the information from the /proc filesystem to once a second.
29341
6e502e19
UD
293422011-06-21 Andreas Jaeger <aj@suse.de>
29343
29344 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29345 NULL after inclusion of kernel headers.
29346
75d39ff2
UD
293472011-06-21 Ulrich Drepper <drepper@gmail.com>
29348
51f9aa6a
UD
29349 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29350 calls to internal_setent.
29351
c0244a9d
UD
29352 [BZ #12885]
29353 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29354 addresses using gethostbyname4_r ignore IPv4 addresses.
29355
c5e3c2ae
UD
29356 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29357 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29358
75d39ff2
UD
29359 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29360
42675c6f
DM
293612011-06-20 David S. Miller <davem@davemloft.net>
29362
29363 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29364 inclusions.
29365 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29366
29367 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29368 (elf_irel): Use it.
29369 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29370 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29371 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29372 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29373 * sysdeps/x86_64/dl-irel.h: Likewise.
29374
29375 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29376 * elf/dl-sym.c: Likewise.
29377
57912a71
UD
293782011-06-15 Ulrich Drepper <drepper@gmail.com>
29379
29380 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29381 need to dereference resplen2.
29382
ee22793d
AS
293832011-06-14 Andreas Schwab <schwab@redhat.com>
29384
29385 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29386
a9e836b0
UD
293872011-06-15 Ulrich Drepper <drepper@gmail.com>
29388
77fb9117
UD
29389 * Makeconfig: Define vardbdir and inst_vardbdir.
29390 * nss/Makefile: Add rules to install db-Makefile.
29391
40c1b22c
UD
29392 * nss/nss_db/db-XXX.c: Cleanup.
29393
9f2da732
UD
29394 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29395 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29396 GLIBC_PRIVATE.
29397 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29398 * nss/makedb.c: Implement -g option to specify that value strings
29399 are generated and should not be added to table iterated over for
29400 get*ent calls.
29401 * nss/nss_db/db-initgroups.c: New file.
29402
82e9a1f7
UD
29403 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29404 interface.
29405
c41af17e
UD
29406 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29407 (internal_getgrouplist): Adjust to name change.
29408 Update use_initgroups_entry if this is not the first call.
29409 * nss/databases.def: Add initgroups entry.
29410
a9e836b0
UD
29411 * nss/makedb.c (compute_tables): Check result of multiple hash table
29412 sizes to minimize maximum chain length.
29413
2666d441
UD
294142011-06-14 Ulrich Drepper <drepper@gmail.com>
29415
29416 * Versions.def: Add entry for libnss_db.
29417 * shlib-versions: Likewise.
29418 * nss/Makefile: Add rules to build libnss_db.
29419 * nss/Versions: Add libnss_db information. Organize libnss_files
29420 entries better.
29421 * nss/db-Makefile: Add gshadow support. Change rules for the new
29422 makedb progra. Some minor improvements to generate smaller files.
29423 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29424 here from...
29425 * nss/makedb.c: ...here.
29426 Improve database format to be smaller and require less memory at
29427 runtime.
29428 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29429 db anymore.
29430 * nss/nss_db/db-netgrp.c: Likewise.
29431 * nss/nss_db/db-open.c: Likewise.
29432 * nss/nss_files/flies-XXX.x: Adjust comments.
29433 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29434 * nss/nss_files/files-grp.c: Likewise.
29435 * nss/nss_files/files-hosts.c: Likewise.
29436 * nss/nss_files/files-network.c: Likewise.
29437 * nss/nss_files/files-proto.c: Likewise.
29438 * nss/nss_files/files-pwd.c: Likewise.
29439 * nss/nss_files/files-rpc.c: Likewise.
29440 * nss/nss_files/files-service.c: Likewise.
29441 * nss/nss_files/files-sgrp.c: Likewise.
29442 * nss/nss_files/files-spwd.c: Likewise.
29443 * nss/nss_db/db-alias.c: Removed.
29444 * nss/nss_db/dummy-db.h: Removed.
29445
9ee76b5a
UD
294462011-06-02 Ulrich Drepper <drepper@gmail.com>
29447
29448 * nss/makedb.c: Rewritten to not use database library.
29449 * nss/Makefile: Update to build new makedb program.
29450
c71ca1f8
AJ
294512011-06-14 Andreas Jaeger <aj@suse.de>
29452
29453 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29454 memset declaration.
29455
3154bfb8
UD
294562011-06-10 Andreas Schwab <schwab@redhat.com>
29457
29458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29459 tmpbuf.
29460
b350afab
RM
294612011-06-10 Roland McGrath <roland@hack.frob.com>
29462
decd4e50
RM
29463 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29464 * elf/Makefile ($(objpfx)ld.so): Likewise.
29465
5615eaf2
RM
29466 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29467 Don't list ld.so twice in dependencies.
29468
29469 * posix/bug-regex31.c: Include <stdlib.h>.
29470
29471 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29472
29473 * nis/nss_compat/compat-spwd.c
29474 (getspent_next_nss_netgr): Remove unused variable.
29475 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29476
29477 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29478 nonmembers" output to use the right array.
29479
29480 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29481
29482 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29483
29484 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29485 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29486 * catgets/gencat.c (read_input_file): Likewise.
29487 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29488
29489 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29490 variable definition inside #if's controlling its use.
29491
29492 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29493
29494 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29495
29496 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29497
29498 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29499 unreachable code.
29500
29501 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29502
b68e08db
RM
29503 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29504 * configure: Regenerated.
29505
b350afab
RM
29506 * Makerules: Revert last change.
29507 * elf/Makefile: Likewise.
29508
28368601
RM
295092011-06-09 Roland McGrath <roland@hack.frob.com>
29510
29511 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29512 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29513 (reloc-link): Likewise.
29514
11988f8f
UD
295152011-06-09 Ulrich Drepper <drepper@gmail.com>
29516
29517 * elf/Makefile: Add rules to build pldd.
29518 * elf/pldd.c: New file.
29519 * elf/pldd-xx.c: New file.
29520
e80fab37
UD
295212011-06-07 Ulrich Drepper <drepper@gmail.com>
29522
29523 * version.h: Update for 2.15 development version.
29524
9b849836
DM
295252011-06-07 David S. Miller <davem@davemloft.net>
29526
29527 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29528 ifuncs.
29529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29530 elf_machine_lazy_rel): Likewise.
29531 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29533 elf_machine_lazy_rel): Likewise.
29534 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29535 dl_hwcap via passed in argument.
29536 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29537 Likewise.
29538
5a31b283
AK
295392011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29540
29541 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29542
069e52f8
RM
295432011-06-06 Roland McGrath <roland@hack.frob.com>
29544
29545 [BZ #12849]
29546 * manual/fdl-1.1.texi: New file, verbatim from:
29547 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29548 * manual/lgpl-2.1.texi: New file, verbatim from:
29549 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29550 * manual/Makefile (licenses): New variable, list those new file names.
29551 (texis): Use it.
29552 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29553
29554 * manual/fdl.texi: File removed.
29555 * manual/lesser.texi: File removed.
29556 * manual/libc.texinfo (Copying, Documentation License):
29557 Use new @include file names, put @appendix directive before @include.
29558
f16846a5
JJ
295592011-06-04 Jakub Jelinek <jakub@redhat.com>
29560
29561 [BZ #12841]
29562 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29563 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29564 (mq_open): Add __NTH.
29565
3d29045b
L
295662011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29569 Assume Intel Core i3/i5/i7 processor if AVX is available.
29570
8c297311
UD
295712011-05-31 Ulrich Drepper <drepper@gmail.com>
29572
29573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29574 typo.
29575
c8fc0c91
UD
295762011-05-31 Andreas Schwab <schwab@redhat.com>
29577
29578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29579 memory. Use alloca_account. Fix memory leak when retrying.
29580
5b27a807
UD
295812011-05-31 Ulrich Drepper <drepper@gmail.com>
29582
356f8bc6
UD
29583 * version.h (RELEASE): Bump for 2.14 release.
29584 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29585
5b27a807
UD
29586 * config.make.in (RANLIB): Remove entry.
29587
01f16ab0
UD
295882011-05-30 Ulrich Drepper <drepper@gmail.com>
29589
41fce8bd
UD
29590 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29591 (libc.pot): Work around missing support for .ksh extension in xgettext.
29592
4769ae77
UD
29593 [BZ #12684]
29594 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29595 if both request failed.
29596 (send_dg): In case of server errors clear resplen or *resplen2.
29597
6b1e7d19
UD
29598 [BZ #12454]
29599 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29600 when there are multiple maps.
29601 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29602 (_dl_fini): Remove test here.
29603
01f16ab0
UD
29604 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29605
b1ebd700
UD
296062011-05-29 Ulrich Drepper <drepper@gmail.com>
29607
7ae22829
UD
29608 [BZ #12350]
29609 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29610 bit from old_res_options.
29611 (gaih_inet): Likewise.
29612
553149f6 29613 [BZ #11099]
18a84741 29614 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29615 as signed.
29616
652ffab1
UD
29617 * resolv/res_init.c (res_setoptions): Make the code more compact.
29618
16985fd0
UD
29619 [BZ #11558]
29620 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29621 set RES_USEVC.
29622
0464f746
UD
29623 [BZ #11634]
29624 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29625
7d17596c
UD
29626 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29627
cf6bbbd7
UD
29628 [BZ #11781]
29629 * malloc/malloc.h: Declare malloc hook variables as volatile.
29630
13f1ab36
UD
29631 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29632 in last patch.
29633
b1ebd700
UD
29634 [BZ #11799]
29635 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29636 raise in the comment.
80e2212d
UD
29637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29639 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29640
ce67228d
UD
296412011-05-28 Ulrich Drepper <drepper@gmail.com>
29642
8887a920
UD
29643 [BZ #12811]
29644 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29645 grow the buffers more if it already has to be sufficient.
29646 (build_wcs_upper_buffer): Likewise.
29647 * posix/regexec.c (check_matching): Likewise.
29648 (clean_state_log_if_needed): Likewise.
29649 (extend_buffers): Don't enlarge buffers beyond size of the input
29650 buffer.
29651 Patches mostly by Emil Wojak <emil@wojak.eu>.
29652 * posix/bug-regex32.c: New file.
29653 * posix/Makefile (tests): Add bug-regex32.
29654
4f031072
UD
29655 * locale/findlocale.c (_nl_find_locale): Return right away if
29656 _nl_explode_name failed.
29657 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29658
d0478f0c
UD
29659 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29660
de81b246
UD
29661 * debug/xtrace.sh: Unify messages.
29662 * malloc/memusage.sh: Likewise.
29663
c738465a
UD
29664 [BZ #12813]
29665 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29666 time symbol from vDSO. Substitute with vsyscall if not available.
29667 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29668 __vdso_time.
29669
f1f929d7
UD
29670 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29671 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29672 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29673 Add sendmmsg and internal_sendmmsg.
29674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29675 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29676 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29677
ce67228d
UD
29678 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29679 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29681
e57420c6
UD
296822011-05-27 Ulrich Drepper <drepper@gmail.com>
29683
a8509ca5
UD
29684 [BZ #12813]
29685 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29686 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29687 available.
29688 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29689 __vdso_getcpu.
29690
e57420c6
UD
29691 [BZ #12814]
29692 * iconvdata/Makefile (tests): Add bug-iconv9.
29693 * iconvdata/bug-iconv9.c: New file.
29694
4d07db15
AS
296952011-05-27 Andreas Schwab <schwab@redhat.com>
29696
29697 [BZ #12814]
29698 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29699
ea486f69
JJ
297002011-05-25 Jakub Jelinek <jakub@redhat.com>
29701
29702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29703 (struct user_regs_struct): Change intcs field back to cs.
29704
6f038433
UD
297052011-05-25 Ulrich Drepper <drepper@gmail.com>
29706
29707 * po/ja.po: Update from translation team.
29708
67f86a25
UD
297092011-05-23 Ulrich Drepper <drepper@gmail.com>
29710
29711 [BZ #12795]
29712 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29713 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29714
def7fbd6
AS
297152011-05-20 Andreas Schwab <schwab@redhat.com>
29716
29717 * stdlib/longlong.h: Update from GCC.
29718
f50ef8f1
AS
297192011-05-23 Andreas Schwab <schwab@redhat.com>
29720
29721 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29722 parameter name.
29723 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29724 Add parameter name.
29725 (__sysconf): Pass it down.
29726
de7ce8f1
UD
297272011-05-22 Ulrich Drepper <drepper@gmail.com>
29728
f2962a71
UD
29729 [BZ #12671]
29730 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29731 some situations.
29732 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29733 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29734 add in in __libc_use_alloca calls. Adjust callers.
29735 (glob): Use malloc in some situations.
29736
de7ce8f1
UD
29737 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29738 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29739 pltexit.
29740
aec84f53
UD
297412011-05-21 Ulrich Drepper <drepper@gmail.com>
29742
05bb4a68
UD
29743 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29744 and CLOCK_BOOTTIME_ALARM.
29745
7ea72f99
UD
29746 [BZ #12782]
29747 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29748 is returned.
29749
7e4afad5
UD
29750 * string/_strerror.c (__strerror_r): Print negative errors as signed
29751 numbers.
29752
8e211fec
UD
29753 [BZ #12777]
29754 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29755 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29756 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29757
f7d82dc9
UD
29758 * configure.in: Fix typo in redirection and correct removal of test
29759 files in two cases.
29760
cc9e536d
UD
29761 [BZ #12788]
29762 * locale/setlocale.c (new_composite_name): Fix test to check for
29763 identical name of all categories.
29764
aec84f53
UD
29765 [BZ #12792]
29766 * libio/filedoalloc.c (local_isatty): New function.
29767 (_IO_file_doallocate): Use local_isatty.
29768 * stdio-common/perror.c (perror): In case a new stream is used
29769 forward the stream error.
29770 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29771 error flag.
29772
78e64fdc
RT
297732011-05-20 Ulrich Drepper <drepper@gmail.com>
29774
34a9094f
UD
29775 [BZ #11869]
29776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29777 alloca.
29778 * include/alloca.h (extend_alloca_account): Define.
29779
78e64fdc
RT
29780 [BZ #11857]
29781 * posix/regex.h: Fix comments with documentation of user-accessible
29782 fields after compilation and describe correct free'ing of pattern
29783 after re_compile_pattern.
29784 Patch by Reuben Thomas <rrt@sc3d.org>.
29785
457bddfc
RA
297862011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29787
29788 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29789 and -mno-altivec to prevent the compiler from using Altivec and/or
29790 VSX instructions when the corresponding registers are not available.
29791
a4527b51
AS
297922011-05-19 Andreas Schwab <schwab@redhat.com>
29793
29794 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29795
ed690b2f
UD
297962011-05-19 Ulrich Drepper <drepper@gmail.com>
29797
29798 * libio/freopen.c (freopen): Use __dup2, not dup2.
29799 * libio/freopen64.c (freopen64): Likewise.
29800
8db73634
L
298012011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29802
29803 [BZ #12775]
29804 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29805 * math/Makefile (tests): Add test-powl.
29806 (CFLAGS-test-powl.c): Define.
29807 * math/test-powl.c: New file.
29808
0a197a9d
L
298092011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29810
29811 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29812
ee30c380
UD
298132011-05-17 Ulrich Drepper <drepper@gmail.com>
29814
29815 [BZ #11837]
29816 * iconvdata/gb18030.c: Update to GB18020-2005.
29817
6ce75379
UD
298182011-05-16 Ulrich Drepper <drepper@gmail.com>
29819
a4b89fd8
AR
29820 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29821 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29822 Patch by Aharon Robbins <arnold@skeeve.com>.
29823
ea389b12
UD
29824 [BZ #11892]
29825 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29826 on the stack.
29827
68a3f91f
UD
29828 [BZ #11895]
29829 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29830 through underflows.
29831
15cc7dd1
UD
29832 [BZ #12766]
29833 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29834 point to strings before performing equality test for error_one_per_line
29835 mode.
29836
f3799213
UD
29837 [BZ #11697]
29838 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29839
d79a9c94
UD
29840 [BZ #11820]
29841 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29842 (struct user_fpregs_struct): Avoid __uint*_t types.
29843
56e5eb46
UD
29844 [BZ #6420]
29845 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29846 symbol info. Use it instead of calling _dl_addr locally.
29847 (lock_and_info): New function.
29848 (tr_freehook): Call lock_and_info and pass symbol info as additional
29849 parameter to tr_where.
29850 (tr_mallochook): Likewise.
29851 (tr_reallochook): Likewise.
29852 (tr_memalignhook): Likewise.
29853
6ce75379
UD
29854 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29855 used and couldn't be at all thread-safe.
29856
f8a3b5bf
UD
298572011-05-15 Ulrich Drepper <drepper@gmail.com>
29858
94b7cc37
UD
29859 * libio/freopen.c (freopen): Don't close old file descriptor
29860 before the new one is opened. Instead dup the new file descriptor
29861 to the old one after the new stream is created.
29862 * libio/freopen64.c (freopen64): Likewise.
29863 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29864 * libio/fileops.c (_IO_new_file_close_it): Handle new
29865 _IO_FLAGS2_NOCLOSE flag.
29866 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29867 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29868 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29869 _IO_FLAGS2_NOCLOSE flag.
29870 * include/unistd.h: Add hidden_proto for dup3.
29871 Define __have_dup3.
29872 * io/dup3.c: Define hidden symbol.
29873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29874
bd25564e
UD
29875 [BZ #7101]
29876 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29877 when an incomplete long option is used.
29878 * posix/tst-getopt_long1.c: New file.
29879 * posix/Makefile (tests): Add tst-getopt_long1.
29880
c84cfef4
UD
29881 [BZ #10138]
29882 * scripts/config.guess: Update from autoconf-2.68.
29883 * scripts/config.sub: Likewise.
29884
3b85df27
UD
29885 [BZ #10157]
29886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29887 tests into ...
29888 (has_cpuclock): ...this. New function.
29889 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29890 macro here based on has_cpuclock code.
29891
15a856b1
UD
29892 [BZ #10149]
29893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29894 First byte (not low byte) is now always NUL.
29895 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29896
05f399e6
UD
29897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29898 Use non-cancelable interfaces.
29899
10a52685 29900 [BZ #9809]
94ecc67d
UD
29901 * locale/iso-639.def: Add entry for Sorani.
29902
f8a3b5bf
UD
29903 [BZ #11901]
29904 * include/stdlib.h: Move include protection to the right place.
29905 Define abort_msg_s. Declare __abort_msg with it.
29906 * stdlib/abort.c (__abort_msg): Adjust type.
29907 * assert/assert.c (__assert_fail_base): New function. Majority
29908 of code from __assert_fail. Allocate memory for __abort_msg with
29909 mmap.
29910 (__assert_fail): Now call __assert_fail_base.
29911 * assert/assert-perr.c: Remove bulk of implementation. Use
29912 __assert_fail_base.
29913 * include/assert.hL Declare __assert_fail_base.
29914 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29915 mmap.
29916 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29917
1af4e298
UD
299182011-05-14 Ulrich Drepper <drepper@gmail.com>
29919
f8a3b5bf 29920 [BZ #11952]
d26dfc60
MG
29921 [BZ #12453]
29922 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29923 until all modules are registered in the DTV.
29924 * elf/Makefile: Add rules to build and run tst-tls19.
29925 * elf/tst-tls19.c: New file.
29926 * elf/tst-tls19mod1.c: New file.
29927 * elf/tst-tls19mod2.c: New file.
29928 * elf/tst-tls19mod3.c: New file.
29929 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29930
2fc54d6f
UD
29931 [BZ #12083]
29932 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29933 correctly.
29934
98d76b46
UD
29935 [BZ #12601]
29936 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29937 two-byte sequence errors.
29938 * iconvdata/Makefile (tests): Add bug-iconv8.
29939 * iconvdata/bug-iconv8.c: New file.
29940
da3c19ef
UD
29941 [BZ #12626]
29942 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29943 buf2 definition.
29944
ca408c15
UD
29945 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29946
d6f67f7d
UD
29947 [BZ #12432]
29948 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29949 (dummy_getcfa): New function.
29950 (init): Get _Unwind_GetCFA address, use dummy if not found.
29951 (backtrace_helper): In recursion check, also check whether CFA changes.
29952 (__backtrace): Completely initialize arg.
29953
1af4e298 29954 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29955 storing incomplete byte sequence in state object. Avoid testing for
29956 guaranteed too small input if we know there is enough data available.
1af4e298 29957
da62f81b
AS
299582011-05-11 Andreas Schwab <schwab@redhat.com>
29959
29960 * Makeconfig (+link-pie): Indent.
29961 * Rules (binaries-pie): Define if $(have-fpie) and
29962 $(build-shared).
29963 (binaries-shared): Also filter out $(binaries-pie).
29964 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29965 * nscd/Makefile (others-pie): Add nscd.
29966 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29967 ($(objpfx)nscd): Remove command override.
29968 * login/Makefile (others-pie): Add pt_chown.
29969 ($(objpfx)pt_chown): Remove command override.
29970 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29971 remove command overrides.
29972
fcabc0f8
UD
299732011-05-13 Ulrich Drepper <drepper@gmail.com>
29974
20030ae6
UD
29975 * libio/tst_putwc.c: Fix error messages.
29976
fcabc0f8
UD
29977 [BZ #12724]
29978 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29979 currently writing and seek to current position when not.
29980 * libio/Makefile (tests): Add bug-fclose1.
29981 * libio/bug-fclose1.c: New file.
29982
320a5dc0
PB
299832011-05-12 Ulrich Drepper <drepper@gmail.com>
29984
29985 [BZ #12511]
29986 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29987 don't set DF_1_NODELETE here.
29988 (do_lookup_x): When entering new entry test for copy relocation
29989 and if necessary set DF_1_NODELETE flag.
29990 * elf/tst-unique4.cc: New file.
29991 * elf/tst-unique4.h: New file.
29992 * elf/tst-unique4lib.cc: New file.
29993 * elf/Makefile: Add rules to build and run tst-unique4.
29994 Patch by Piotr Bury <pbury@goahead.com>.
29995
22836f52
UD
299962011-05-11 Ulrich Drepper <drepper@gmail.com>
29997
f574184a
UD
29998 [BZ #12052]
29999 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30000
e1fb097f
UD
30001 [BZ #12625]
30002 * misc/mntent_r.c (addmntent): Flush the stream after the output
30003
22836f52
UD
30004 [BZ #12393]
30005 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30006 (is_trusted_path_normalize): Skip initial colon. Append slash
30007 to empty buffer. Duplicate is_trusted_path code but allow
30008 constructed patch to be prefix.
30009 (is_dst): Allow $ORIGIN followed by /.
30010 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30011 Correct testing of result of is_trusted_path_normalize
30012 (decompose_rpath): Fix warning.
30013
7b3b0b2a
UD
300142011-05-10 Ulrich Drepper <drepper@gmail.com>
30015
30016 [BZ #11257]
30017 * grp/initgroups.c (internal_getgrouplist): When we found the service
30018 list through the initgroups entry in nsswitch.conf do not always
30019 continue on a successful lookup. Don't always use the
eac80ce2 30020 __nss_group_database value if it is set.
7b3b0b2a
UD
30021 * nss/nsswitch.conf (initgroups): Change action for successful db
30022 lookup to continue for compatibility.
30023
2a81eaa5
UD
300242011-05-09 Ulrich Drepper <drepper@gmail.com>
30025
be97a69e
UD
30026 [BZ #11532]
30027 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30028 and CP774 modules.
30029 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30030 and CP774 modules.
30031 * iconvdata/tst-tables.sh: Likewise.
30032 * iconvdata/cp770.c: New file.
30033 * iconvdata/cp771.c: New file.
30034 * iconvdata/cp772.c: New file.
30035 * iconvdata/cp773.c: New file.
30036 * iconvdata/cp774.c: New file.
30037 * iconvdata/testdata/CP770: New file.
30038 * iconvdata/testdata/CP770..UTF8: New file.
30039 * iconvdata/testdata/CP771: New file.
30040 * iconvdata/testdata/CP771..UTF8: New file.
30041 * iconvdata/testdata/CP772: New file.
30042 * iconvdata/testdata/CP772..UTF8: New file.
30043 * iconvdata/testdata/CP773: New file.
30044 * iconvdata/testdata/CP773..UTF8: New file.
30045 * iconvdata/testdata/CP774: New file.
30046 * iconvdata/testdata/CP774..UTF8: New file.
30047
30048 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30049 END CHARMAP line.
30050 * iconvdata/gen-8bit-gap.sh: Likewise.
30051 * iconvdata/gen-8bit.sh: Likewise.
30052
c1e9e399
UD
30053 * locale/iso-639.def: Add ary entry.
30054
24c55fb3 30055 [BZ #11258]
96b4b1b0
UD
30056 * locale/C-translit.h.in: Add U20A1 transliteration.
30057
bdc2f971
KB
30058 [BZ #12178]
30059 * locale/iso-639.def: Add wae entry.
30060 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30061
2952b117
UD
30062 [BZ #12545]
30063 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30064 for n.
30065
2a81eaa5
UD
30066 [BZ #12711]
30067 * locale/C-translit.h.in: Add entry for U20B9.
30068 Patch by pravin.d.s@gmail.com.
30069
28377d1b
UD
300702011-05-08 Ulrich Drepper <drepper@gmail.com>
30071
7fb90fb8
UD
30072 [BZ #12713]
30073 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30074 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30075 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30076 in rtld. Use *stat64.
7fb90fb8 30077 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30078 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30079 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30080 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30081 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30082 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30083 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30084 __fstatat64 macros.
7fb90fb8
UD
30085 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30086 * dirent/rewinddir.c: Add libc_hidden_def.
30087 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30088 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30089
28377d1b
UD
30090 * include/dirent.h (__alloc_dir): Add flags parameter.
30091 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30092 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30093 __alloc_dir.
30094 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30095 from fdopendir if O_CLOEXEC is already set.
30096
66bdbaa4
AM
300972011-03-15 Alan Modra <amodra@gmail.com>
30098
30099 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30100 l_tls_firstbyte_offset non-zero. Save padding offset in
30101 l_tls_firstbyte_offset for later use.
30102 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30103 freeing static tls block.
30104
95721191
JN
301052011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30106
30107 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30108 where #ifdef was intended. The intent is to prevent ARG_MAX from
30109 being defined by the kernel headers.
30110
f87dfb1f
UD
301112011-05-07 Ulrich Drepper <drepper@gmail.com>
30112
30113 [BZ #12734]
30114 * resolv/resolv.h: Define RES_NOTLDQUERY.
30115 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30116 no-tld-query and set RES_NOTLDQUERY.
30117 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30118 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30119 modern BIND to search name as TLD unless forbidden.
30120
47c3cd7a
UD
301212011-05-07 Petr Baudis <pasky@suse.cz>
30122 Ulrich Drepper <drepper@gmail.com>
30123
30124 [BZ #12393]
30125 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30126 (is_trusted_path): ...to here.
c1e9ea35 30127 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30128 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30129 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30130
8a35c912
PP
301312011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30132
30133 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30134 __BEGIN/__END_DECLS.
30135
acd41f47
UD
301362011-05-06 Ulrich Drepper <drepper@gmail.com>
30137
30138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30139 NSS_STATUS_NOTFOUND if no record was found.
30140
597df647
AS
301412011-05-05 Andreas Schwab <schwab@redhat.com>
30142
30143 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30144 (headers-not-in-tirpc): Remove rpc/netdb.h
30145 * resolv/netdb.h: Revert last change.
30146
b9af1301
PP
301472011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30148
30149 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30150 circular dependency between libgcc.a and libc.a.
30151
4e34d5f5
AS
301522011-05-05 Andreas Schwab <schwab@redhat.com>
30153
30154 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30155 * nis/Makefile: Don't install rpcsvc/*.
30156 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30157 instead of <rpc/types.h>.
30158 (MAXHOSTNAMELEN): Define.
30159
00ee369c
AS
301602011-05-03 Andreas Schwab <schwab@redhat.com>
30161
30162 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30163
0b592a30
MB
301642011-04-28 Maciej Babinski <mbabinski@google.com>
30165
30166 [BZ #12714]
30167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30168 gethostbyname4_r when IPv6 results are possible.
30169
6e04cbbe
UD
301702011-05-02 Ulrich Drepper <drepper@gmail.com>
30171
30172 [BZ #12723]
30173 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30174 _PC_PIPE_BUF handling.
30175
e4ecafe0
BH
301762011-04-30 Bruno Haible <bruno@clisp.org>
30177
30178 [BZ #12717]
30179 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30180 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30181 to 'int'.
30182 * inet/getnameinfo.c (getnameinfo): Likewise.
30183
125ee683
UD
301842011-04-29 Ulrich Drepper <drepper@gmail.com>
30185
30186 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30187 to groups setting in database lookup.
30188 * nss/nsswitch.conf: Add initgroups entry.
30189
b722481a
EB
301902011-04-22 Ulrich Drepper <drepper@gmail.com>
30191
30192 [BZ #12685]
30193 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30194 mode string.
30195 Patch by Eric Blake <eblake@redhat.com>.
30196
4df46dbd
L
301972011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30198
30199 * sunrpc/Makefile (need-export-routines): Add svc_run.
30200 (routines): Remove svc_run.
30201 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30202 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30203 * sunrpc/svc_run.c (svc_run): Likewise.
30204 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30205
e84142d2
UD
302062011-04-21 Ulrich Drepper <drepper@gmail.com>
30207
30208 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30209 problem in reallocation in last patch.
30210
877175d8
UD
302112011-04-20 Ulrich Drepper <drepper@gmail.com>
30212
30213 * sunrpc/Makefile: Move inclusion of Rules.
30214
ab8eed78
UD
302152011-04-19 Ulrich Drepper <drepper@gmail.com>
30216
30217 * nss/nss_files/files-initgroups.c: New file.
30218 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30219 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30220 _nss_files_initgroups_dyn.
30221
e3d8f584
RS
302222011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30223
30224 * elf/elf.h (R_ARM_IRELATIVE): Define.
30225
af190f45
UD
302262011-04-19 Ulrich Drepper <drepper@gmail.com>
30227
30228 * po/ru.po: Update from translation team.
30229
53cf59ef
UD
302302011-04-17 Ulrich Drepper <drepper@gmail.com>
30231
30232 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30233 dependencies.
30234
4c559bcd
MF
302352011-02-06 Mike Frysinger <vapier@gentoo.org>
30236
30237 [BZ #12653]
30238 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30239 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30240 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30243
4420675c
AS
302442011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30245
30246 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30247 differing bytes.
30248 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30249 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30251
75ea32ab
UD
302522011-04-17 Ulrich Drepper <drepper@gmail.com>
30253
30254 [BZ #12420]
30255 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30256 storing it.
30257 * stdlib/bug-getcontext.c: New file.
30258 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30259
27390476
AK
302602011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30261
30262 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30263 instructions into .machine "z9-109".
30264 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30265 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30266
10442705
AK
302672011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30268
30269 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30270 between environment variables and auxiliary vector.
30271
7b57bfe5
UD
302722011-04-16 Ulrich Drepper <drepper@gmail.com>
30273
30274 * Makefile: Add rules to build linkobj/libc.so.
30275 * include/libc-symbols.h: Define libc_hidden_nolink.
30276 * include/rpc/auth.h: Mark functions which are to be hidden.
30277 * include/rpc/auth_des.h: Likewise.
30278 * include/rpc/auth_unix.h: Likewise.
30279 * include/rpc/clnt.h: Likewise.
30280 * include/rpc/des_crypt.h: Likewise.
30281 * include/rpc/key_prot.h: Likewise.
30282 * include/rpc/pmap_clnt.h: Likewise.
30283 * include/rpc/pmap_prot.h: Likewise.
30284 * include/rpc/pmap_rmt.h: Likewise.
30285 * include/rpc/rpc_msg.h: Likewise.
30286 * include/rpc/svc.h: Likewise.
30287 * include/rpc/svc_auth.h: Likewise.
30288 * include/rpc/xdr.h: Likewise.
30289 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30290 * nss/Makefile: Likewise.
30291 * sunrpc/Makefile: Don't install headers. Build library with normal
30292 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30293 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30294 for the compat linking library. Remove use of INTDEF/INTUSE.
30295 * sunrpc/auth_none.c: Likewise.
30296 * sunrpc/auth_unix.c: Likewise.
30297 * sunrpc/authdes_prot.c: Likewise.
30298 * sunrpc/authuxprot.c: Likewise.
30299 * sunrpc/clnt_gen.c: Likewise.
30300 * sunrpc/clnt_perr.c: Likewise.
30301 * sunrpc/clnt_raw.c: Likewise.
30302 * sunrpc/clnt_simp.c: Likewise.
30303 * sunrpc/clnt_tcp.c: Likewise.
30304 * sunrpc/clnt_udp.c: Likewise.
30305 * sunrpc/clnt_unix.c: Likewise.
30306 * sunrpc/des_crypt.c: Likewise.
30307 * sunrpc/des_soft.c: Likewise.
30308 * sunrpc/get_myaddr.c: Likewise.
30309 * sunrpc/key_call.c: Likewise.
30310 * sunrpc/key_prot.c: Likewise.
30311 * sunrpc/netname.c: Likewise.
30312 * sunrpc/pm_getmaps.c: Likewise.
30313 * sunrpc/pm_getport.c: Likewise.
30314 * sunrpc/pmap_clnt.c: Likewise.
30315 * sunrpc/pmap_prot.c: Likewise.
30316 * sunrpc/pmap_prot2.c: Likewise.
30317 * sunrpc/pmap_rmt.c: Likewise.
30318 * sunrpc/publickey.c: Likewise.
30319 * sunrpc/rpc_cmsg.c: Likewise.
30320 * sunrpc/rpc_common.c: Likewise.
30321 * sunrpc/rpc_dtable.c: Likewise.
30322 * sunrpc/rpc_prot.c: Likewise.
30323 * sunrpc/rpc_thread.c: Likewise.
30324 * sunrpc/rtime.c: Likewise.
30325 * sunrpc/svc.c: Likewise.
30326 * sunrpc/svc_auth.c: Likewise.
30327 * sunrpc/svc_authux.c: Likewise.
30328 * sunrpc/svc_raw.c: Likewise.
30329 * sunrpc/svc_run.c: Likewise.
30330 * sunrpc/svc_simple.c: Likewise.
30331 * sunrpc/svc_tcp.c: Likewise.
30332 * sunrpc/svc_udp.c: Likewise.
30333 * sunrpc/svc_unix.c: Likewise.
30334 * sunrpc/svcauth_des.c: Likewise.
30335 * sunrpc/xcrypt.c: Likewise.
30336 * sunrpc/xdr.c: Likewise.
30337 * sunrpc/xdr_array.c: Likewise.
30338 * sunrpc/xdr_float.c: Likewise.
30339 * sunrpc/xdr_intXX_t.c: Likewise.
30340 * sunrpc/xdr_mem.c: Likewise.
30341 * sunrpc/xdr_rec.c: Likewise.
30342 * sunrpc/xdr_ref.c: Likewise.
30343 * sunrpc/xdr_sizeof.c: Likewise.
30344 * sunrpc/xdr_stdio.c: Likewise.
30345
e6c61494
UD
303462011-04-10 Ulrich Drepper <drepper@gmail.com>
30347
30348 [BZ #12650]
30349 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30350 * sysdeps/ia64/dl-tls.h: Likewise.
30351 * sysdeps/powerpc/dl-tls.h: Likewise.
30352 * sysdeps/s390/dl-tls.h: Likewise.
30353 * sysdeps/sh/dl-tls.h: Likewise.
30354 * sysdeps/sparc/dl-tls.h: Likewise.
30355 * sysdeps/x86_64/dl-tls.h: Likewise.
30356 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30357
34fe483e
AS
303582011-03-14 Andreas Schwab <schwab@redhat.com>
30359
30360 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30361 rpath element also skip the following colon.
30362 (expand_dynamic_string_token): Add is_path parameter and pass
30363 down to DL_DST_REQUIRED and _dl_dst_substitute.
30364 (decompose_rpath): Call expand_dynamic_string_token with
30365 non-zero is_path. Ignore empty rpaths.
30366 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30367 with zero is_path.
30368
f12a32e6
AS
303692011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30370
30371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30372 Make cancelable.
30373
38a7d692
UD
303742011-04-09 Ulrich Drepper <drepper@gmail.com>
30375
30376 [BZ #12655]
30377 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30378 Patch by Filipe David Manana <fdmanana@apache.org>.
30379
e451d22b
AS
303802011-04-07 Andreas Schwab <schwab@redhat.com>
30381
30382 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30383 Maintain aligned stack.
30384 (CHECK_RSP): Remove unused macro.
30385
dedc7c7b
UD
303862011-04-03 Ulrich Drepper <drepper@gmail.com>
30387
30388 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30390
94521213
UD
303912011-04-02 Ulrich Drepper <drepper@gmail.com>
30392
30393 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30394
8cb700c0 30395 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30396
0354e355
L
303972011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30398
30399 [BZ #12518]
30400 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30401 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30402 * sysdeps/x86_64/memmove.c: New file.
30403 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30404 (memcpy): Renamed to ...
30405 (__new_memcpy): This.
30406 (memcpy): Provide GLIBC_2_14 memcpy.
30407 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30408 (memcpy): Provide GLIBC_2_2_5 memcpy.
30409
8593482f
UD
304102011-04-01 Ulrich Drepper <drepper@gmail.com>
30411
30412 [BZ #12631]
30413 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30414
81a5726b
AS
304152011-03-30 Andreas Schwab <schwab@redhat.com>
30416
30417 * misc/syncfs.c: New file.
30418 * misc/Makefile (routines): Add syncfs.
30419 * posix/unistd.h: Declare syncfs.
30420 * sysdeps/unix/syscalls.list: Add syncfs.
30421
00e5419f
AS
304222011-04-01 Andreas Schwab <schwab@redhat.com>
30423
30424 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30425 open_by_handle_at.
30426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30431 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30433
748876bf
UD
304342011-04-01 Ulrich Drepper <drepper@gmail.com>
30435
658e451d
UD
30436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30438 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30443
748876bf
UD
30444 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30445 sync_file_range.c with -fexceptions.
30446 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30447 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30448 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30449 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30450 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30451 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30453 sync_file_range as cancellation point
30454 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30455 now a wrapper around __call_sync_file_range with cancellation handling.
30456 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30458 function name to __call_sync_file_range.
30459 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30460 Add call_sync_file_range.
748876bf 30461
6e63d5e1
AS
304622011-04-01 Andreas Schwab <schwab@redhat.com>
30463
30464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30465 bits/timex.h.
6e63d5e1 30466
46998f74
UD
304672011-04-01 Ulrich Drepper <drepper@gmail.com>
30468
4c1423ed
UD
30469 * iconv/iconv.h: Fix typo in comment.
30470 * io/fcntl.h: Likewise.
30471 * libio/stdio.h: Likewise.
30472 * posix/spawn.h: Likewise.
30473 * posix/unistd.h: Likewise.
30474 * stdlib/stdlib.h: Likewise.
30475 * time/time.h: Likewise.
30476 * wcsmbs/wchar.h: Likewise.
30477
158648c0
UD
30478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30479 open_by_handle): Add.
30480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30481 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30482 Augment a few comments.
30483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30487 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30488 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30489 open_by_handle.
30490
46998f74
UD
30491 * io/fcntl.h (AT_EMPTY_PATH): Define.
30492
83fe108b
UD
304932011-03-30 Ulrich Drepper <drepper@gmail.com>
30494
30495 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30496 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30497 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30498 to...
30499 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30500 * Versions.def: Add GLIBC_2.14.
30501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30502 Export.
83fe108b 30503
bb242059
UD
305042011-03-22 Ulrich Drepper <drepper@gmail.com>
30505
30506 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30507 round counter.
30508 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30509
c97a1282
L
305102011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 [BZ #12597]
30513 * string/test-strncmp.c (do_page_test): New function.
30514 (check2): Likewise.
30515 (test_main): Call check2.
30516 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30517
2a115601
UD
305182011-03-20 Ulrich Drepper <drepper@gmail.com>
30519
30520 [BZ #12587]
30521 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30522 Handle cache information in CPU leaf 4.
30523 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30524
8126d904
UD
305252011-03-18 Ulrich Drepper <drepper@gmail.com>
30526
042c49c6 30527 [BZ #12583]
8126d904
UD
30528 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30529 character representation.
30530 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30531
ccfe366e
RA
305322011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30533
30534 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30535 END(__isnan) to END(__isnanf) to match function entry point/label
30536 EALIGN(__isnanf,...).
30537
c6e13027
JJ
305382011-03-10 Jakub Jelinek <jakub@redhat.com>
30539
30540 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30541
33f85a3f
UD
305422011-03-10 Ulrich Drepper <drepper@gmail.com>
30543
028478fa
UD
30544 [BZ #12510]
30545 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30546 copy from the symbol referenced in the relocation to initialize the
30547 used variable.
30548 Patch by Piotr Bury <pbury@goahead.com>.
30549 * elf/Makefile: Add rules to build and tst-unique3.
30550 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30551 * elf/tst-unique3.cc: New file.
30552 * elf/tst-unique3.h: New file.
30553 * elf/tst-unique3lib.cc: New file.
30554 * elf/tst-unique3lib2.cc: New file.
30555
33f85a3f
UD
30556 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30557
03592fc7
MF
305582011-03-10 Mike Frysinger <vapier@gentoo.org>
30559
30560 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30561 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30562 to _start.
03592fc7 30563
6a5ee102
UD
305642011-03-06 Ulrich Drepper <drepper@gmail.com>
30565
30566 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30567 to-be-loaded object along a path to loader is ld.so.
30568
7e4ba49c
HJ
305692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30570 Ulrich Drepper <drepper@gmail.com>
30571
30572 * sysdeps/x86_64/memset.S: After aligning destination, code
30573 branches to different locations depending on the value of
30574 misalignment, when multiarch is enabled. Fix this.
30575
305762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30577
30578 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30579 Set _x86_64_preferred_memory_instruction for AMD processsors.
30580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30581 Set bit_Prefer_SSE_for_memop for AMD processors.
30582
13a804de
UD
305832011-03-04 Ulrich Drepper <drepper@gmail.com>
30584
30585 * libio/fmemopen.c (fmemopen): Optimize a bit.
30586
9d25c392
AS
305872011-03-03 Andreas Schwab <schwab@redhat.com>
30588
30589 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30590
a5543c6a
RM
305912011-03-03 Roland McGrath <roland@redhat.com>
30592
30593 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30594
012d35f7
DM
305952011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30596
7e4ba49c 30597 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30598 __bzero_ultra1 instead of __memset_ultra1.
30599
4bff6e01
AS
306002011-02-23 Andreas Schwab <schwab@redhat.com>
30601 Ulrich Drepper <drepper@gmail.com>
30602
30603 [BZ #12509]
30604 * include/link.h (struct link_map): Add l_orig_initfini.
30605 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30606 returning unsuccessfully.
30607 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30608 close of a file loaded at startup, restore the original l_initfini
30609 list.
30610 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30611 list, store the pointer.
30612 * elf/Makefile ($(objpfx)noload-mem): New rule.
30613 (noload-ENV): Define.
30614 (tests): Add $(objpfx)noload-mem.
30615 * elf/noload.c: Include <memcheck.h>.
30616 (main): Call mtrace. Close all opened handles.
30617
f2092faf
AS
306182011-02-17 Andreas Schwab <schwab@redhat.com>
30619
30620 [BZ #12454]
30621 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30622 dependencies are missing.
30623
6c8a2e88
ST
306242011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30625
f2092faf 30626 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30627 Hurd needs munmap.
30628 * sysdeps/mach/hurd/ifreq.h: New file.
30629
84a42118
PB
306302011-01-27 Petr Baudis <pasky@suse.cz>
30631 Ulrich Drepper <drepper@gmail.com>
30632
071f805e 30633 [BZ 12445]#
84a42118
PB
30634 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30635 to extend_alloca().
30636 * stdio-common/bug23.c: New file.
30637 * stdio-common/Makefile (tests): Add bug23.
30638
e23fe25b
AS
306392010-09-28 Andreas Schwab <schwab@redhat.com>
30640 Ulrich Drepper <drepper@gmail.com>
30641
30642 [BZ #12489]
30643 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30644 before performing relro protection. At old place add assertion
30645 to make sure nothing changed.
30646
d3f02e10
NS
306472011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30648 Glauber de Oliveira Costa <glommer@gmail.com>
30649
30650 * elf/elf.h: Add new ARM TLS relocs.
30651
d55fd7a5
RA
306522011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30653
30654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30655 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30656 cast from r3.
30657 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30658 'tests' variable.
30659 * sysdeps/wordsize-64/tst-writev.c: New file.
30660
2206397e
RA
306612011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30662
30663 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30664 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30665 insns in _dl_start to prevent a TOC reference before relocs are
30666 resolved.
30667
e9433893
UD
306682011-02-15 Ulrich Drepper <drepper@gmail.com>
30669
30670 [BZ #12469]
30671 * Makeconfig: Remove RANLIB definition.
30672 * Makerules: Don't use RANLIB.
30673 * aclocal.m4: Remove ranlib test.
30674 * configure.in: No need to check for ranlib.
30675 * elf/rtld-Rules: Don't use RANLIB.
30676
f75286c6
ST
306772011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30678
8e31c82d
ST
30679 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30680 protection macro.
30681 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30682 inclusion protection macro.
30683
f75286c6
ST
30684 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30685 SIGRTMIN and SIGRTMAX and print information in that case only when
30686 SIGRTMIN is defined.
30687
c1d0e639
JJ
306882011-02-11 Jakub Jelinek <jakub@redhat.com>
30689
30690 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30691 arginfo fn returning -1.
30692
30693 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30694 and thousands string is zero terminated.
30695
edf9294e
AS
306962011-02-03 Andreas Schwab <schwab@redhat.com>
30697
30698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30699 sysdeps/unix/sysv/linux/bits/socket.h.
30700
2b7e92df
ST
307012011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30702
edf9294e
AS
30703 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30704 (__CPU_COUNT): Remove old macros.
30705 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30706 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30707 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30708 (__sched_cpualloc, __sched_cpufree): Add declarations.
30709
a4c7ea7b
UD
307102011-02-05 Ulrich Drepper <drepper@gmail.com>
30711
30712 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30713 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30714 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30715 (readdhstai): Return value of addhstaiX call.
30716 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30717 (addgrbyX): Return value returned by cache_addgr.
30718 (readdgrbyname): Return value returned by addgrbyX.
30719 (readdgrbygid): Likewise.
30720 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30721 (addpwbyX): Return value returned by cache_addpw.
30722 (readdpwbyname): Return value returned by addhstbyX.
30723 (readdpwbyuid): Likewise.
30724 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30725 (addservbyX): Return value returned by cache_addserv.
30726 (readdservbyname): Return value returned by addservbyX:
30727 (readdservbyport): Likewise.
30728 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30729 (addhstbyX): Return value returned by cache_addhst.
30730 (readdhstbyname): Return value returned by addhstbyX.
30731 (readdhstbyaddr): Likewise.
30732 (readdhstbynamev6): Likewise.
30733 (readdhstbyaddrv6): Likewise.
30734 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30735 (readdinitgroups): Return value returned by addinitgroupsX.
30736 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30737 (prune_cache): Keep track of timeout value of re-added entries.
30738 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30739 * nscd/nscd.h: Adjust prototypes of readd* functions.
30740
a0bf67cc
RM
307412011-02-04 Roland McGrath <roland@redhat.com>
30742
30743 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30744 (nis_stats): Likewise.
30745 * nis/nis_modify.c (nis_modify): Likewise.
30746 * nis/nis_remove.c (nis_remove): Likewise.
30747 * nis/nis_add.c (nis_add): Likewise.
30748
30749 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30750
30751 * posix/fnmatch_loop.c: Add some consts.
30752
30753 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30754
435b95eb
L
307552011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 [BZ #12460]
30758 * config.make.in (config-cflags-novzeroupper): Define.
30759 * configure.in: Substitute libc_cv_cc_novzeroupper.
30760 * elf/Makefile (AVX-CFLAGS): Define.
30761 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30762 (CFLAGS-tst-auditmod4a.c): Likewise.
30763 (CFLAGS-tst-auditmod4b.c): Likewise.
30764 (CFLAGS-tst-auditmod6b.c): Likewise.
30765 (CFLAGS-tst-auditmod6c.c): Likewise.
30766 (CFLAGS-tst-auditmod7b.c): Likewise.
30767 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30768
8517b15e
UD
307692011-02-02 Ulrich Drepper <drepper@gmail.com>
30770
30771 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30772 function to the callback.
30773 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30774
10a656fe
AS
307752011-02-02 Andreas Schwab <schwab@redhat.com>
30776
30777 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30778 of errno.
30779
968dad0a
UD
307802011-01-19 Ulrich Drepper <drepper@gmail.com>
30781
9f94d2ea 30782 [BZ #11724]
968dad0a
UD
30783 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30784 of constructors.
30785 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30786 of destructors.
30787 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30788
30789 [BZ #11724]
30790 * elf/Makefile: Add rules to build and run new test.
30791 * elf/tst-initorder.c: New file.
30792 * elf/tst-initorder.exp: New file.
30793 * elf/tst-initordera1.c: New file.
30794 * elf/tst-initordera2.c: New file.
30795 * elf/tst-initordera3.c: New file.
30796 * elf/tst-initordera4.c: New file.
30797 * elf/tst-initorderb1.c: New file.
30798 * elf/tst-initorderb2.c: New file.
30799 * elf/tst-order-a1.c: New file.
30800 * elf/tst-order-a2.c: New file.
30801 * elf/tst-order-a3.c: New file.
30802 * elf/tst-order-a4.c: New file.
30803 * elf/tst-order-b1.c: New file.
30804 * elf/tst-order-b2.c: New file.
30805 * elf/tst-order-main.c: New file.
30806 New test case by George Gensure <werkt0@gmail.com>.
30807
86e92359
UD
308082010-10-01 Andreas Schwab <schwab@redhat.com>
30809
30810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30811 decoding ACE if AI_CANONIDN.
30812
5d5732b0
UD
308132011-01-18 Ulrich Drepper <drepper@gmail.com>
30814
30815 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30816
a77e8cbc
UD
308172011-01-17 Ulrich Drepper <drepper@gmail.com>
30818
6392473f
UD
30819 * version.h (RELEASE): Bump for 2.13 release.
30820 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30821
620a0529
UD
30822 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30823
18ba70a5
UD
30824 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30825 MADV_NOHUGEPAGE.
32465c3e
UD
30826 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30828 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30829 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30830 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30832
c0dafcf1
UD
30833 * posix/getconf.c: Update copyright year.
30834 * catgets/gencat.c: Likewise.
30835 * csu/version.c: Likewise.
30836 * debug/catchsegv.sh: Likewise.
30837 * debug/xtrace.sh: Likewise.
30838 * elf/ldconfig.c: Likewise.
30839 * elf/ldd.bash.in: Likewise.
30840 * elf/sprof.c (print_version): Likewise.
30841 * iconv/iconv_prog.c: Likewise.
30842 * iconv/iconvconfig.c: Likewise.
30843 * locale/programs/locale.c: Likewise.
30844 * locale/programs/localedef.c: Likewise.
30845 * malloc/memusage.sh: Likewise.
30846 * malloc/mtrace.pl: Likewise.
30847 * nscd/nscd.c (print_version): Likewise.
30848 * nss/getent.c: Likewise.
30849
a77e8cbc
UD
30850 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30851 PF_CAIF, and PF_ALG.
30852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30853
77e8bddf
AS
308542011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30855
1f20b93a
AS
30856 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30857 (modules-names): Use them.
30858 (ifunc-test-modules, ifunc-pie-tests): Define.
30859 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30860 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30861 (test-extras): Likewise.
30862 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30863 $(compile-command.c).
30864 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30865 (all-built-dso): Define.
30866 (check-textrel.out, check-execstack.out): Depend on it.
30867
77e8bddf
AS
30868 * configure.in: Don't override --enable-multi-arch.
30869
bc425b33
UD
308702011-01-15 Ulrich Drepper <drepper@gmail.com>
30871
30872 [BZ #6812]
30873 * nscd/hstcache.c (tryagain): Define.
30874 (cache_addhst): Return tryagain not notfound for temporary errors.
30875 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30876 failed.
30877
794c3ad3
UD
308782011-01-14 Ulrich Drepper <drepper@gmail.com>
30879
70181fdd
UD
30880 [BZ #10563]
30881 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30882 to make the syscall.
30883 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30884
794c3ad3
UD
30885 [BZ #12378]
30886 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30887 and fall back to matching as normal character if the string ends before
30888 the matching ']' is found. This is what POSIX requires.
30889 * posix/testfnm.c: Adjust test result.
30890 * posix/globtest.sh: Adjust test result. Add new test.
30891 * posix/tst-fnmatch.input: Likewise.
30892 * posix/tst-fnmatch2.c: Add new test.
30893
68dc9497
AS
308942010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30895
30896 * elf/Makefile (check-execstack): Revert last change. Depend on
30897 check-execstack.h.
30898 (check-execstack.h): New target.
30899 (generated): Add check-execstack.h.
30900 * elf/check-execstack.c: Include "check-execstack.h".
30901 (main): Revert last change.
30902 (handle_file): Return zero if GNU_STACK is absent and
30903 DEFAULT_STACK_PERMS doesn't include PF_X.
30904
451f001b
UD
309052011-01-13 Ulrich Drepper <drepper@gmail.com>
30906
cfa28e56
UD
30907 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30908 in child fails because the descriptor is already closed.
8cf8ce17
UD
30909 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30910 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30911 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30912
1086d70d
UD
30913 [BZ #12397]
30914 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30915 syscall.
30916
451f001b
UD
30917 [BZ #10484]
30918 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30919 temporary buffer used to handle multi lookups locally.
a85b5cb4 30920 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30921
08769175
UD
309222011-01-12 Ulrich Drepper <drepper@gmail.com>
30923
30924 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30925 loader is ld.so.
30926
5e49c52e
UD
309272011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30928
30929 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30930 alignment for SSE2.
30931
60522a5f
UD
309322011-01-12 Ulrich Drepper <drepper@gmail.com>
30933
30934 [BZ #12394]
30935 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30936 characters. When rounding increased number of integer digits recompute
30937 number of groups.
30938 * stdio-common/tst-grouping.c: New file.
30939 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30940
f257bbd7
UD
309412011-01-09 Ulrich Drepper <drepper@gmail.com>
30942
30943 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30944 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30945
30946 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30947 void.
30948 * bits/select.h: Likewise.
30949
fa9c15cb
UD
309502011-01-08 Ulrich Drepper <drepper@gmail.com>
30951
30952 * po/ja.po: Update from translation team.
30953
16c2895f
DM
309542011-01-04 David S. Miller <davem@sunset.davemloft.net>
30955
30956 [BZ #11155]
30957 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30958 implementation just like for lxstat, fxstatat, et al.
30959
2543fef2
JM
309602010-12-27 Jim Meyering <meyering@redhat.com>
30961
30962 [BZ #12348]
30963 * posix/regexec.c (build_trtable): Return failure indication upon
30964 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30965
98727dbe
UD
309662010-12-25 Ulrich Drepper <drepper@gmail.com>
30967
5bd6dc5c
UD
30968 [BZ #12201]
30969 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30970 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30971 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30973
97983464
UD
30974 [BZ #12207]
30975 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30976
98727dbe
UD
30977 [BZ #12204]
30978 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30979 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30980
4a531bb0
L
309812010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30982
30983 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30984 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30985 script has SORT_BY_INIT_PRIORITY.
30986 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30987 NO_CTORS_DTORS_SECTIONS is defined.
30988 * elf/soinit.c: Likewise.
30989 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30990 NO_CTORS_DTORS_SECTIONS is defined.
30991 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30992 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30993 * sysdeps/sh/init-first.c: Likewise.
30994 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30995
07eb4b71
UD
309962010-12-24 Ulrich Drepper <drepper@gmail.com>
30997
30998 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30999 always use the slow path.
31000
30950a5f
RA
310012010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31002
31003 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31004 similar rule which adds the sysdep directories to the header search in
31005 order to pick up the correct platform stackinfo.h.
31006 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31007 perform test if it is, otherwise return successfully without testing.
31008 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31009 DEFAULT_STACK_PERMS define in stackinfo.h.
31010 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31011 defined in stackinfo.h.
31012 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31013 DEFAULT_STACK_PERMS defined in stackinfo.h.
31014 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31015 * sysdeps/ia64/stackinfo.h: Likewise.
31016 * sysdeps/s390/stackinfo.h: Likewise.
31017 * sysdeps/sh/stackinfo.h: Likewise.
31018 * sysdeps/sparc/stackinfo.h: Likewise.
31019 * sysdeps/x86_64/stackinfo.h: Likewise.
31020 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31021 PF_X for powerpc64. Retain PF_X for powerpc32.
31022
db753e2c
UD
310232010-12-19 Ulrich Drepper <drepper@gmail.com>
31024
14b697f7
UD
31025 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31026 accurately.
db753e2c
UD
31027 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31028 GETDENTS_64BIT_ALIGNED.
31029
28300719
UD
310302010-12-14 Ulrich Drepper <dreper@gmail.com>
31031
14b697f7 31032 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31033
4f197237
AS
310342010-12-10 Andreas Schwab <schwab@redhat.com>
31035
dbb0472f
AS
31036 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31037 _GNU_SOURCE.
31038
4f197237
AS
31039 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31040 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31041 Remove __restrict.
31042 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31043 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31044
fb88ac72
UD
310452010-12-09 Ulrich Drepper <drepper@gmail.com>
31046
31047 [BZ #11655]
31048 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31049 are initialized.
31050
42acbb92
JJ
310512010-12-09 Jakub Jelinek <jakub@redhat.com>
31052
31053 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31054
c038d98d
UD
310552010-12-03 Ulrich Drepper <drepper@gmail.com>
31056
31057 * po/it.po: Update from translation team.
31058
3a4a2499
L
310592010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31060
31061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31062 unused codes.
31063
1e24cf6e
UD
310642010-11-30 Ulrich Drepper <drepper@gmail.com>
31065
31066 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31067
a7690819
AS
310682010-11-24 Andreas Schwab <schwab@redhat.com>
31069
31070 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31071 specially.
31072 (gaih_getanswer_slice): Likewise.
31073
3bf8d1b1
JJ
310742010-10-20 Jakub Jelinek <jakub@redhat.com>
31075
31076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31077
6db52fbb
PB
310782010-05-31 Petr Baudis <pasky@suse.cz>
31079
31080 [BZ #11149]
31081 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31082 silently even in the chroot mode.
31083
eaca7569
UD
310842010-11-22 Ulrich Drepper <drepper@gmail.com>
31085
31086 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31087 last patch a bit. Pretty printing
31088
3056dcdb
UD
310892010-05-31 Petr Baudis <pasky@suse.cz>
31090
31091 [BZ #10085]
31092 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31093 initialization of skip_initgroups_dyn.
31094
cf7c9078
UD
310952010-11-19 Ulrich Drepper <drepper@gmail.com>
31096
31097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31099
a1fb5e3e
UD
311002010-11-16 Ulrich Drepper <drepper@gmail.com>
31101
31102 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31103
3540d66b
AS
311042010-11-11 Andreas Schwab <schwab@redhat.com>
31105
31106 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31107 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31108 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31109 ($(objpfx)tst-fnmatch-mem): New rule.
31110 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31111 * posix/tst-fnmatch.c (main): Call mtrace.
31112
13b69574
L
311132010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31114
31115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31116 Support Intel processor model 6 and model 0x2c.
31117
da93d214
LM
311182010-11-10 Luis Machado <luisgpm@br.ibm.com>
31119
31120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31121 signed comparison.
31122
8ca52c6e
L
311232010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31124
31125 [BZ #12205]
31126 * string/test-strncasecmp.c (check_result): New function.
31127 (do_one_test): Use it.
31128 (check1): New function.
31129 (test_main): Use it.
31130 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31131 Support strcasecmp and strncasecmp.
31132
69da074d
UD
311332010-11-08 Ulrich Drepper <drepper@gmail.com>
31134
31135 [BZ #12194]
31136 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31138
ff02d528
L
311392010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31140
31141 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31142 IFUNC support.
31143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31144 memset-x86-64.
31145 * sysdeps/x86_64/multiarch/bzero.S: New file.
31146 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31147 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31148 * sysdeps/x86_64/multiarch/memset.S: New file.
31149 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31151 Set bit_Prefer_SSE_for_memop for Intel processors.
31152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31153 Define.
31154 (index_Prefer_SSE_for_memop): Define.
31155 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31156
344d0b54
LM
311572010-11-04 Luis Machado <luisgpm@br.ibm.com>
31158
31159 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31160 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31161
c0dde15b
UD
311622010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31163
31164 [BZ #12191]
31165 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31166 (__x86_64_raw_data_cache_size_half): Likewise.
31167 (__x86_64_raw_shared_cache_size): Likewise.
31168 (__x86_64_raw_shared_cache_size_half): Likewise.
31169
31170 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31171 (__x86_64_raw_data_cache_size_half): Likewise.
31172 (__x86_64_raw_shared_cache_size): Likewise.
31173 (__x86_64_raw_shared_cache_size_half): Likewise.
31174 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31175 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31176 and __x86_64_raw_shared_cache_size_half. Round
31177 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31178 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31179 to multiple of 256 bytes.
31180
0e516e0e
MS
311812010-11-03 Ulrich Drepper <drepper@gmail.com>
31182
31183 [BZ #12167]
31184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31185 of inacessible symlinks. Verify result of symlink before returning it.
31186 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31187 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31188
0e012e87
ER
311892010-10-28 Erich Ritz <erichritz@gmail.com>
31190
31191 * math/math.h (isinf): Fix typo in comment.
31192
de0ff7bc
UD
311932010-11-01 Ulrich Drepper <drepper@gmail.com>
31194
31195 * po/da.po: Update from translation team.
31196
fa41c84d
UD
311972010-10-26 Ulrich Drepper <drepper@gmail.com>
31198
31199 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31200 is added to the list.
31201
f0967738
AK
312022010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31203 Ulrich Drepper <drepper@gmail.com>
31204
31205 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31206 the global list here. Move code to...
31207 (_dl_add_to_namespace_list): ...here. New function.
31208 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31209 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31210 * elf/dl-load.c (lose): Don't remove the element from the list.
31211 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31212 (_dl_map_object): Likewise.
31213
312142010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31215
31216 [BZ #12159]
31217 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31218 into all bytes of SSE register.
31219 Patch by Richard Li <richardpku@gmail.com>.
31220
f0967738 312212010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31222
31223 [BZ #12140]
31224 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31225 perturbing.
31226
d0b9e94f
MB
312272010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31228
31229 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31230 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31231 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31232 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31234 submachine.
31235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31236
8e9f92e9
AS
312372010-10-22 Andreas Schwab <schwab@redhat.com>
31238
31239 * include/dlfcn.h (__RTLD_SECURE): Define.
31240 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31241 mode & __RTLD_SECURE instead.
31242 (open_path): Rename preloaded parameter to secure.
31243 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31244 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31245 * elf/dl-deps.c (openaux): Likewise.
31246 * elf/rtld.c (struct map_args): Remove is_preloaded.
31247 (map_doit): Don't use it.
31248 (dl_main): Likewise.
31249 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31250 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31251
bc96fbda
AS
312522010-09-09 Andreas Schwab <schwab@redhat.com>
31253
31254 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31255 (sysd-rules-targets): Remove duplicates.
31256 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31257 rtld-%.$o dependency.
31258
22cd1c9b
AS
312592010-10-18 Andreas Schwab <schwab@redhat.com>
31260
31261 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31262 _dl_map_object do it.
31263
18edac48
UD
312642010-10-19 Ulrich Drepper <drepper@gmail.com>
31265
31266 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31267 fast fma builtins, define the macros in the C99 standard.
31268 (FP_FAST_FMAF): Likewise.
31269 (FP_FAST_FMAL): Likewise.
31270 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31271
31272 * bits/mathdef.h: Update copyright year.
31273 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31274
d2050124
MM
312752010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31276
31277 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31278 builtins, define the macros in the C99 standard.
31279 (FP_FAST_FMAF): Likewise.
31280 (FP_FAST_FMAL): Likewise.
31281 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31282 multiply/add.
31283 (FP_FAST_FMAF): Likewise.
31284
475facd1
JJ
312852010-10-15 Jakub Jelinek <jakub@redhat.com>
31286
31287 [BZ #3268]
31288 * math/libm-test.inc (fma_test): Some new testcases.
31289 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31291 y and infinite z. Do multiplication by C already in long double.
31292 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31294 y and infinite z. Do bitwise or of inexact bit into u.d.
31295 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31296 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31297 * sysdeps/i386/fpu/s_fma.S: Removed.
31298 * sysdeps/i386/fpu/s_fmal.S: Removed.
31299
7c08a05c
JJ
313002010-10-16 Jakub Jelinek <jakub@redhat.com>
31301
31302 [BZ #3268]
31303 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31305 computation is not scheduled after fetestexcept. Fix value
31306 of minimum denormal long double.
31307
f3f7372d
JJ
313082010-10-14 Jakub Jelinek <jakub@redhat.com>
31309
31310 [BZ #3268]
31311 * math/libm-test.inc (fma_test): Add some more tests.
31312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31313 correctly.
31314
14d43591
AS
313152010-10-15 Andreas Schwab <schwab@redhat.com>
31316
31317 * scripts/data/localplt-s390-linux-gnu.data: New file.
31318 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31319
5e908464
JJ
313202010-10-13 Jakub Jelinek <jakub@redhat.com>
31321
31322 [BZ #3268]
31323 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31324 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31325 instead of dbl-64.
31326 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31327 inlines.
31328 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31330 if one of x and y is very large and the other is subnormal.
31331 * sysdeps/s390/fpu/s_fmaf.c: New file.
31332 * sysdeps/s390/fpu/s_fma.c: New file.
31333 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31334 * sysdeps/powerpc/fpu/s_fma.S: New file.
31335 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31336 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31337 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31338
313392010-10-12 Jakub Jelinek <jakub@redhat.com>
31340
31341 [BZ #3268]
31342 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31343 fma tests.
31344 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31345 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31346 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31347 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31348 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31349 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31350 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31351
b833d51f
UD
313522010-10-12 Ulrich Drepper <drepper@redhat.com>
31353
31354 [BZ #12078]
31355 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31356 * posix/bug-regex31.input: Add test case.
31357
1751705d
UD
313582010-10-11 Ulrich Drepper <drepper@gmail.com>
31359
e9b9cbf5
UD
31360 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31361 * posix/bug-regex31.input: New file.
31362
31363 [BZ #12078]
31364 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31365 (parse_sub_exp): Fix last change, use postorder.
31366
ef06edbe
UD
31367 * posix/bug-regex31.c: New file.
31368 * posix/Makefile: Add rules to build and run bug-regex31.
31369
a129c80d
UD
31370 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31371
31372 [BZ #12078]
31373 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31374
b76b818e
UD
31375 [BZ #12108]
31376 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31377 to have entries in sys_siglist.
31378
1751705d
UD
31379 [BZ #12093]
31380 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31381 be NULL.
31382
9ff8d36f
JJ
313832010-10-07 Jakub Jelinek <jakub@redhat.com>
31384
31385 [BZ #3268]
31386 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31387 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31388 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31389 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31390 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31391 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31392 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31393 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31394 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31395 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31396 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31397 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31398 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31399 * math/ftestexcept.c (fetestexcept): Likewise.
31400 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31401 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31402 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31403 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31404 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31405 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31406 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31407
af325969
UD
314082010-10-11 Ulrich Drepper <drepper@gmail.com>
31409
c579b202 31410 [BZ #12107]
af325969
UD
31411 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31412 newline.
31413
67a67b95
UD
314142010-10-06 Ulrich Drepper <drepper@gmail.com>
31415
31416 * string/bug-strstr1.c: New file.
31417 * string/Makefile: Add rules to build and run bug-strstr1.
31418
5fb308bc
EB
314192010-10-05 Eric Blake <eblake@redhat.com>
31420
31421 [BZ #12092]
31422 * string/str-two-way.h (two_way_long_needle): Always clear memory
31423 when skipping input due to the shift table.
31424
45db99c7
UD
314252010-10-03 Ulrich Drepper <drepper@gmail.com>
31426
3b111893
UD
31427 [BZ #12005]
31428 * malloc/mcheck.c: Handle large requests.
31429
45db99c7
UD
31430 [BZ #12077]
31431 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31432 for strncmp and strncasecmp.
31433 * string/stratcliff.c: Add tests for strcmp and strncmp.
31434 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31435
cf7a1eb8
NI
314362010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31437
31438 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31439 __set_fpscr.
31440
6484ba5e
AJ
314412010-09-30 Andreas Jaeger <aj@suse.de>
31442
31443 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31444 (CGROUP_SUPER_MAGIC): Define.
31445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31446 Handle btrfs and cgroup file systems.
31447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31448 Likewise.
31449
91c42559
LM
314502010-09-27 Luis Machado <luisgpm@br.ibm.com>
31451
31452 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31453 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31454
87a97932
AK
314552010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31456
31457 [BZ #12067]
31458 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31459 trying to locate the ELF header.
31460
c21cc9bc
AS
314612010-09-27 Andreas Schwab <schwab@redhat.com>
31462
31463 [BZ #11611]
31464 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31465 Mask out sign-bit copies when constructing f_fsid.
31466
315970f6
PB
314672010-09-24 Petr Baudis <pasky@suse.cz>
31468
31469 * debug/stack_chk_fail_local.c: Add missing licence exception.
31470 * debug/warning-nop.c: Likewise.
31471
1ac7a2c7
JM
314722010-09-15 Joseph Myers <joseph@codesourcery.com>
31473
31474 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31475 implementing getdents64 using getdents syscall, set d_type if
31476 __ASSUME_GETDENTS32_D_TYPE.
31477
56801c50
AS
314782010-09-16 Andreas Schwab <schwab@redhat.com>
31479
31480 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31481 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31482
dda51327
UD
314832010-09-21 Ulrich Drepper <drepper@redhat.com>
31484
31485 [BZ #12037]
31486 * posix/unistd.h: Undo change of feature selection for ftruncate from
31487 2010-01-11.
31488
8ffcee4a
UD
314892010-09-20 Ulrich Drepper <drepper@redhat.com>
31490
a545ecd9 31491 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31492 detection.
31493
e24f0a8b
AS
314942010-09-20 Andreas Schwab <schwab@redhat.com>
31495
31496 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31497 fanotify_mark.
31498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31499
7291c56f
AS
315002010-09-14 Andreas Schwab <schwab@redhat.com>
31501
31502 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31503 variables after CHECK_SP call.
31504 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31505
bc5fb037
AS
315062010-09-13 Andreas Schwab <schwab@redhat.com>
31507 Ulrich Drepper <drepper@redhat.com>
31508
31509 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31510 re-relocationg ld.so.
31511 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31512 _dl_init_paths call.
31513 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31514 here anymore.
31515
e66e7419
UD
315162010-09-14 Ulrich Drepper <drepper@redhat.com>
31517
31518 * resolv/res_init.c (__res_vinit): Count the default server we added.
31519
c044aa75
CLT
315202010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31521 Ulrich Drepper <drepper@redhat.com>
31522
31523 [BZ #11968]
31524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31525 (____longjmp_chk): Use %ebx for saving value across system call.
31526 Add unwind info.
31527
32cf4069
AS
315282010-09-06 Andreas Schwab <schwab@redhat.com>
31529
31530 * manual/Makefile: Don't mix pattern rules with normal rules.
31531
817328ee
AS
315322010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31533
31534 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31535 operation.
31536 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31537 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31538 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31539 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31541 Likewise.
31542
29fddf61
UD
315432010-09-04 Ulrich Drepper <drepper@redhat.com>
31544
31545 [BZ #11979]
31546 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31547 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31548
0959ffc9
UD
315492010-09-02 Ulrich Drepper <drepper@redhat.com>
31550
31551 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31552 * sysdeps/x86_64/addmul_1.S: Likewise.
31553 * sysdeps/x86_64/lshift.S: Likewise.
31554 * sysdeps/x86_64/mul_1.S: Likewise.
31555 * sysdeps/x86_64/rshift.S: Likewise.
31556 * sysdeps/x86_64/sub_n.S: Likewise.
31557 * sysdeps/x86_64/submul_1.S: Likewise.
31558
ece29840
ST
315592010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31560
0959ffc9
UD
31561 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31562 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31563 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31564 * bits/sched.h [__need_schedparam]
ece29840 31565 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31566 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31567 (__defined_schedparam): Define to 1.
ece29840
ST
31568 (__sched_param): New structure, identical to sched_param.
31569 (__need_schedparam): Undefine.
31570
e53a31fe
MF
315712010-08-31 Mike Frysinger <vapier@gentoo.org>
31572
fdc0c10d
MF
31573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31574 (epoll_create1): Declare.
31575
e53a31fe
MF
31576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31577
a726d796
AS
315782010-08-31 Andreas Schwab <schwab@redhat.com>
31579
31580 [BZ #7066]
31581 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31582 shifting retval into place.
31583
2f3e3dc7
UD
315842010-09-01 Ulrich Drepper <drepper@redhat.com>
31585
f2933da9
UD
31586 * nis/rpcsvc/nis.h: Update copyright notice.
31587 * nis/rpcsvc/nis.x: Likewise.
31588 * nis/rpcsvc/nis_callback.h: Likewise.
31589 * nis/rpcsvc/nis_callback.x: Likewise.
31590 * nis/rpcsvc/nis_object.x: Likewise.
31591 * nis/rpcsvc/nis_tags.h: Likewise.
31592 * nis/rpcsvc/yp.h: Likewise.
31593 * nis/rpcsvc/yp.x: Likewise.
31594 * nis/rpcsvc/ypupd.h: Likewise.
31595 * nis/yp_xdr.c: Likewise.
31596 * nis/ypupdate_xdr.c: Likewise.
31597
2f3e3dc7
UD
31598 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31599 mainly the body of pmap_getport. Add parameters to specify timeouts.
31600 (pmap_getport): Use __libc_rpc_getport.
31601 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31602 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31603 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31604
f3dcc2f9
AS
316052010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31606
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31608 fanotify_mark.
31609
6d34eb5b
RM
316102010-08-27 Roland McGrath <roland@redhat.com>
31611
31612 * sysdeps/i386/i686/multiarch/Makefile
31613 (CFLAGS-varshift.c): New variable.
31614
9ea3de11
UD
316152010-08-27 Ulrich Drepper <drepper@redhat.com>
31616
c96d23fc
UD
31617 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31618 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31619
9ea3de11
UD
31620 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31621
31622 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31623
623aac7f
L
316242010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31625
31626 * sysdeps/x86_64/strlen.S: Unroll the loop.
31627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31628 strlen-sse2 strlen-sse2-bsf.
31629 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31630 __strlen_no_bsf if bit_Slow_BSF is set.
31631 (__strlen_sse42): Removed.
31632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31633 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31634
8b2b7715
RM
316352010-08-25 Roland McGrath <roland@redhat.com>
31636
31637 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31638 * sysdeps/x86_64/multiarch/varshift.c: New file.
31639 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31640 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31641 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31642 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31643
e73015f2
L
316442010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31647 strlen-sse2 strlen-sse2-bsf.
31648 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31649 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31650 (__strlen_sse2): Removed.
31651 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31654 bit_Slow_BSF for Atom.
31655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31656 (index_Slow_BSF): Define.
31657 (HAS_SLOW_BSF): Define.
31658
df24a73e
UD
316592010-08-25 Ulrich Drepper <drepper@redhat.com>
31660
31661 [BZ #10851]
31662 * resolv/res_init.c (__res_vinit): When no server address at all
31663 is given default to loopback.
31664
f2ac4868
RM
316652010-08-24 Roland McGrath <roland@redhat.com>
31666
09055553
RM
31667 * configure.in: Remove config-name.h generation.
31668 * configure: Regenerated.
31669 * config-name.in: File removed.
31670 * scripts/config-uname.sh: New file.
31671 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31672 ($(objdir)config-name.h): New target.
31673
f2ac4868
RM
31674 * sunrpc/rpc_parse.h: Avoid nested comment.
31675
73f27d5e
RH
316762010-08-24 Richard Henderson <rth@redhat.com>
31677 Ulrich Drepper <drepper@redhat.com>
31678 H.J. Lu <hongjiu.lu@intel.com>
31679
31680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31682 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31683 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31684 _mm_alignr_epi8 with _mm_loadu_si128.
31685 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31686 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31687 (__m128i_shift_right): Removed.
31688 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31689 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31690 * sysdeps/x86_64/multiarch/varshift.h: New file.
31691 * sysdeps/x86_64/multiarch/varshift.S: New file.
31692
84b9230c
MF
316932010-08-21 Mike Frysinger <vapier@gentoo.org>
31694
31695 * configure.in: Move assembler checks to before sysdep dir checking.
31696
9bbd0ddc
PB
316972010-08-20 Petr Baudis <pasky@suse.cz>
31698
31699 * LICENSES: Sync the sunrpc license.
31700
9da4bb31
UD
317012010-08-19 Ulrich Drepper <drepper@redhat.com>
31702
a7ab6ec8
UD
31703 * sunrpc/auth_des.c: Update copyright notice once again.
31704 * sunrpc/auth_none.c: Likewise.
31705 * sunrpc/auth_unix.c: Likewise.
31706 * sunrpc/authdes_prot.c: Likewise.
31707 * sunrpc/authuxprot.c: Likewise.
31708 * sunrpc/bindrsvprt.c: Likewise.
31709 * sunrpc/clnt_gen.c: Likewise.
31710 * sunrpc/clnt_perr.c: Likewise.
31711 * sunrpc/clnt_raw.c: Likewise.
31712 * sunrpc/clnt_simp.c: Likewise.
31713 * sunrpc/clnt_tcp.c: Likewise.
31714 * sunrpc/clnt_udp.c: Likewise.
31715 * sunrpc/clnt_unix.c: Likewise.
31716 * sunrpc/des_crypt.c: Likewise.
31717 * sunrpc/des_soft.c: Likewise.
31718 * sunrpc/get_myaddr.c: Likewise.
31719 * sunrpc/getrpcport.c: Likewise.
31720 * sunrpc/key_call.c: Likewise.
31721 * sunrpc/key_prot.c: Likewise.
31722 * sunrpc/openchild.c: Likewise.
31723 * sunrpc/pm_getmaps.c: Likewise.
31724 * sunrpc/pm_getport.c: Likewise.
31725 * sunrpc/pmap_clnt.c: Likewise.
31726 * sunrpc/pmap_prot.c: Likewise.
31727 * sunrpc/pmap_prot2.c: Likewise.
31728 * sunrpc/pmap_rmt.c: Likewise.
31729 * sunrpc/rpc/auth.h: Likewise.
31730 * sunrpc/rpc/auth_unix.h: Likewise.
31731 * sunrpc/rpc/clnt.h: Likewise.
31732 * sunrpc/rpc/des_crypt.h: Likewise.
31733 * sunrpc/rpc/key_prot.h: Likewise.
31734 * sunrpc/rpc/netdb.h: Likewise.
31735 * sunrpc/rpc/pmap_clnt.h: Likewise.
31736 * sunrpc/rpc/pmap_prot.h: Likewise.
31737 * sunrpc/rpc/pmap_rmt.h: Likewise.
31738 * sunrpc/rpc/rpc.h: Likewise.
31739 * sunrpc/rpc/rpc_des.h: Likewise.
31740 * sunrpc/rpc/rpc_msg.h: Likewise.
31741 * sunrpc/rpc/svc.h: Likewise.
31742 * sunrpc/rpc/svc_auth.h: Likewise.
31743 * sunrpc/rpc/types.h: Likewise.
31744 * sunrpc/rpc/xdr.h: Likewise.
31745 * sunrpc/rpc_clntout.c: Likewise.
31746 * sunrpc/rpc_cmsg.c: Likewise.
31747 * sunrpc/rpc_common.c: Likewise.
31748 * sunrpc/rpc_cout.c: Likewise.
31749 * sunrpc/rpc_dtable.c: Likewise.
31750 * sunrpc/rpc_hout.c: Likewise.
31751 * sunrpc/rpc_main.c: Likewise.
31752 * sunrpc/rpc_parse.c: Likewise.
31753 * sunrpc/rpc_parse.h: Likewise.
31754 * sunrpc/rpc_prot.c: Likewise.
31755 * sunrpc/rpc_sample.c: Likewise.
31756 * sunrpc/rpc_scan.c: Likewise.
31757 * sunrpc/rpc_scan.h: Likewise.
31758 * sunrpc/rpc_svcout.c: Likewise.
31759 * sunrpc/rpc_tblout.c: Likewise.
31760 * sunrpc/rpc_util.c: Likewise.
31761 * sunrpc/rpc_util.h: Likewise.
31762 * sunrpc/rpcinfo.c: Likewise.
31763 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31764 * sunrpc/rpcsvc/key_prot.x: Likewise.
31765 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31766 * sunrpc/rpcsvc/mount.x: Likewise.
31767 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31768 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31769 * sunrpc/rpcsvc/rex.x: Likewise.
31770 * sunrpc/rpcsvc/rstat.x: Likewise.
31771 * sunrpc/rpcsvc/rusers.x: Likewise.
31772 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31773 * sunrpc/rpcsvc/spray.x: Likewise.
31774 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31775 * sunrpc/rtime.c: Likewise.
31776 * sunrpc/svc.c: Likewise.
31777 * sunrpc/svc_auth.c: Likewise.
31778 * sunrpc/svc_authux.c: Likewise.
31779 * sunrpc/svc_raw.c: Likewise.
31780 * sunrpc/svc_run.c: Likewise.
31781 * sunrpc/svc_simple.c: Likewise.
31782 * sunrpc/svc_tcp.c: Likewise.
31783 * sunrpc/svc_udp.c: Likewise.
31784 * sunrpc/svc_unix.c: Likewise.
31785 * sunrpc/svcauth_des.c: Likewise.
31786 * sunrpc/xcrypt.c: Likewise.
31787 * sunrpc/xdr.c: Likewise.
31788 * sunrpc/xdr_array.c: Likewise.
31789 * sunrpc/xdr_float.c: Likewise.
31790 * sunrpc/xdr_mem.c: Likewise.
31791 * sunrpc/xdr_rec.c: Likewise.
31792 * sunrpc/xdr_ref.c: Likewise.
31793 * sunrpc/xdr_sizeof.c: Likewise.
31794 * sunrpc/xdr_stdio.c: Likewise.
31795
9da4bb31
UD
31796 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31797 handling.
31798
bdaa77bc
AS
317992010-08-19 Andreas Schwab <schwab@redhat.com>
31800
31801 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31802
fe2f79db
LM
318032010-08-19 Luis Machado <luisgpm@br.ibm.com>
31804
31805 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31806 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31807 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31808 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31809 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31810 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31811 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31812 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31814 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31815 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31816 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31817 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31818 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31819
b9b42ee0
AB
318202010-07-26 Anton Blanchard <anton@samba.org>
31821
31822 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31823 * malloc/arena.c (heap_trim): Likewise.
31824
1c06ba31
UD
318252010-08-16 Ulrich Drepper <drepper@redhat.com>
31826
31827 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31828 here. Not...
31829 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31830 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31831
f8392f40
L
318322010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31833
31834 * sysdeps/i386/elf/Makefile: New file.
31835
3162f12e
AS
318362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31837
31838 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31839 from fanotify_init.
31840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31842
28c90b2c
UD
318432010-08-15 Ulrich Drepper <drepper@redhat.com>
31844
31845 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31846 of strncasecmp_l.
1feccb6c 31847 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31848
ca6bb004
UD
318492010-08-14 Ulrich Drepper <drepper@redhat.com>
31850
e9f82e0d
UD
31851 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31852 strncase_l-nonascii.
31853 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31854 Add strncase_l-ssse3.
31855 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31856 * sysdeps/x86_64/strcmp.S: Likewise.
31857 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31858 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31859 * sysdeps/x86_64/strncase.S: New file.
31860 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31861 * sysdeps/x86_64/strncase_l.S: New file.
31862 * string/Makefile (strop-tests): Add strncasecmp.
31863 * string/test-strncasecmp.c: New file.
31864
31865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31866 warning.
31867
ca6bb004
UD
31868 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31869 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31870
052fa7b3
AS
318712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31872
31873 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31874
962dba78
UD
318752010-08-12 Ulrich Drepper <drepper@redhat.com>
31876
31877 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31879 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31880
bebff237
AM
318812010-05-01 Alan Modra <amodra@gmail.com>
31882
31883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31884 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31885 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31886 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31887 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31888 tidying. Don't tail-call __sigjmp_save for static lib.
31889 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31890 save location.
31891 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31892 (CALL_MCOUNT): Add eh info, and nop after bl.
31893 (TAIL_CALL_SYSCALL_ERROR): New macro.
31894 (PSEUDO_RET): Use it.
31895 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31896 Correct save location of integer regs and cr.
31897 (_dl_profile_resolve): Correct cr save location. Delete nops
31898 after bl when SHARED. Reduce cfi size a little by better
31899 placement of cfi directives.
31900 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31901 make a stack frame. Instead use parm save area as a temp.
31902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31903 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31905 Don't make a stack frame for parent, use parm save area.
31906 Increase child stack frame to 112 bytes. Don't save unused reg,
31907 and adjust reg usage. Set up cfi on error recovery and
31908 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31910 (__makecontext): Add dummy nop after jump to exit.
31911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31912 Use correct parm save area and cr save, reduce stack frame.
31913 Correct cfi for possible PSEUDO_RET frame setup.
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31915 Branch to local label emitted by PSEUDO_RET rather than
31916 __syscall_error.
31917
02637374
AS
319182010-08-12 Andreas Schwab <schwab@redhat.com>
31919
31920 [BZ #11904]
31921 * locale/programs/locale.c (print_assignment): New function.
31922 (show_locale_vars): Use it.
31923
c3e2f19b
UD
319242010-08-11 Ulrich Drepper <drepper@redhat.com>
31925
3cdaa6ad
UD
31926 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31927 field.
31928 (struct statfs64): Likewise.
31929 (_STATFS_F_FLAGS): Define.
31930 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31931 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31932 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31933 (ST_VALID): Define locally.
31934 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31935 __statvfs_getflags, use the provided value.
31936 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31937 __ASSUME_STATFS_F_FLAGS.
31938
754f7da3
UD
31939 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31940
10b3bedc
UD
31941 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31942 Add sys/fanotify.h.
31943 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31944 fanotify_mask for GLIBC_2.13.
31945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31946 fanotify_init and fanotify_mark.
31947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31948 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31949
c08fb0d7
UD
31950 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31951 Add prlimit.
31952 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31953 prlimit64 for GLIBC_2.13.
31954 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31955 prlimit64.
31956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31957 syscall.
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31959 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31960 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31961 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31963 add prlimit alias.
31964 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31965
15bac72b
UD
31966 [BZ #11903]
31967 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31968 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31969
c3e2f19b
UD
31970 * nss/Makefile: Add rules to build and run tst-nss-test1.
31971 * shlib-versions: Add entry for libnss_test1.
31972 * nss/nss_test1.c: New file.
31973 * nss/tst-nss-test1.c: New file.
31974
31975 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31976 (__nss_configure_lookup): Set appropriate entry in
31977 __nss_configure_lookup to true.
31978 * nss/nsswitch.h: Define enum with indeces of databases in
31979 databases and __nss_database_custom arrays. Declare
31980 __nss_database_custom.
31981 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31982 to avoid using nscd when custom rules are installed.
31983 * nss/getXXbyYY_r.c: Likewise.
31984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31985
31986 * nss/nss_files/files-parse.c: Whitespace fixes.
31987
f15ce4d8
UD
319882010-08-09 Ulrich Drepper <drepper@redhat.com>
31989
31990 [BZ #11883]
31991 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31992 * posix/fnmatch_loop.c: Likewise.
31993
d22e4cc9
AK
319942010-07-17 Andi Kleen <ak@linux.intel.com>
31995
31996 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31997 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31998 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31999 * Versions.def [GLIBC_2.13]: Add.
32000
805bc17d
UD
320012010-08-06 Ulrich Drepper <drepper@redhat.com>
32002
32003 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32004 Also fail if tpwd after pwuid call is NULL.
32005
5a42321d
ST
320062010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32007
32008 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32009 when converting to ms.
32010
fd3ebeda
ST
320112010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32012
32013 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32014 EOPNOTSUPP errors with ENOTTY.
32015 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32016 EOPNOTSUPP errors with ENOTTY.
32017
73507d3a
UD
320182010-07-31 Ulrich Drepper <drepper@redhat.com>
32019
32020 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32021 Add strcasecmp_l-ssse3.
32022 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32023 strcasecmp.
32024 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32025 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32026 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32027
fe36dd02
UD
320282010-07-30 Ulrich Drepper <drepper@redhat.com>
32029
66f6765a
UD
32030 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32031
42e08a54
UD
32032 * string/Makefile (strop-tests): Add strcasecmp.
32033 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32034 strcasecmp_l-nonascii.
32035 (gen-as-const-headers): Add locale-defines.sym.
32036 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32037 * sysdeps/x86_64/strcasecmp.S: New file.
32038 * sysdeps/x86_64/strcasecmp_l.S: New file.
32039 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32040 * sysdeps/x86_64/locale-defines.sym: New file.
32041 * string/test-strcasecmp.c: New file.
32042
fe36dd02
UD
32043 * string/test-strcasestr.c: Test both ends of the range of characters.
32044 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32045
48cbc0d6
RM
320462010-07-29 Roland McGrath <roland@redhat.com>
32047
76e6d6bc 32048 [BZ #11856]
48cbc0d6
RM
32049 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32050
880113d9
UD
320512010-07-27 Ulrich Drepper <drepper@redhat.com>
32052
32053 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32054 for ld.so.
32055
deb9cabb
AS
320562010-07-27 Andreas Schwab <schwab@redhat.com>
32057
32058 * manual/memory.texi (Malloc Tunable Parameters): Document
32059 M_PERTURB.
32060
1c7570ff
RM
320612010-07-26 Roland McGrath <roland@redhat.com>
32062
32063 [BZ #11840]
32064 * configure.in (-fgnu89-inline check): Set and substitute
32065 gnu89_inline, not libc_cv_gnu89_inline.
32066 * configure: Regenerated.
32067 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32068
24fb0f88
UD
320692010-07-26 Ulrich Drepper <drepper@redhat.com>
32070
32071 * string/test-strnlen.c: New file.
32072 * string/Makefile (strop-tests): Add strnlen.
32073 * string/tester.c (test_strnlen): Add a few more test cases.
32074 * string/tst-strlen.c: Better error reporting.
32075
32076 * sysdeps/x86_64/strnlen.S: New file.
32077
8e96b93a
UD
320782010-07-24 Ulrich Drepper <drepper@redhat.com>
32079
32080 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32081 lower-latency instructions.
32082
dbc676d4
UD
320832010-07-23 Ulrich Drepper <drepper@redhat.com>
32084
32085 * string/test-strcasestr.c: New file.
32086 * string/test-strstr.c: New file.
32087 * string/Makefile (strop-tests): Add strstr and strcasestr.
32088 * string/str-two-way.h: Don't undefine MAX.
32089 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32090
f6a31e0e
AS
320912010-07-21 Andreas Schwab <schwab@redhat.com>
32092
32093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32094 strcasestr-nonascii.
32095 (CFLAGS-strcasestr-nonascii.c): Define.
32096 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32097 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32098 Remove unused attribute.
32099
5dbc3b6c
RM
321002010-07-20 Roland McGrath <roland@redhat.com>
32101
32102 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32103 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32104 ld.so.cache was broken. With it, there is no way to disable dsocaps
32105 like LD_HWCAP_MASK can disable hwcaps.
32106
23d101d8
EPM
321072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32108
32109 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32110
cc9f2e47
UD
321112010-07-16 Ulrich Drepper <drepper@redhat.com>
32112
32113 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32114 call in strcasestr.
32115 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32116 __strcasestr_sse42_nonascii.
32117 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32118 strcasestr-nonascii.c.
32119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32120
77c1b069
LM
321212010-06-15 Luis Machado <luisgpm@br.ibm.com>
32122
32123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32124 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32125 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32126 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32127
440566c3
UD
321282010-07-09 Ulrich Drepper <drepper@redhat.com>
32129
32130 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32131 fcntl.
32132
5be9d05d
AS
321332010-07-06 Andreas Schwab <schwab@redhat.com>
32134
c30b7ee2 32135 [BZ #11577]
5be9d05d
AS
32136 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32137 dl_signal_cerror.
32138
8a492a67
UD
321392010-07-06 Ulrich Drepper <drepper@redhat.com>
32140
32141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32142 _PC_PIPE_BUF using F_GETPIPE_SZ.
32143
713df3d5
RM
321442010-07-05 Roland McGrath <roland@redhat.com>
32145
32146 * manual/arith.texi (Rounding Functions): Fix rint description
32147 implicit in round description.
32148
702e8f14
UD
321492010-07-02 Ulrich Drepper <drepper@redhat.com>
32150
32151 * elf/Makefile: Fix linking for a few tests to make recent linker
32152 happy.
32153
52ed8be9
AS
321542010-06-30 Andreas Schwab <schwab@redhat.com>
32155
32156 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32157 $(common-objpfx)libc_nonshared.a.
32158
f47c9a11
LM
321592010-06-21 Luis Machado <luisgpm@br.ibm.com>
32160
32161 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32162 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32163 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32164 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32165 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32166 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32167 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32168 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32183 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32184 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32185 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32186 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32187 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32188 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32189 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32190 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32191 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32192 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32193 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32194 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32209
6fb8cbcb
L
322102010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32213 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32214 * string/memmove.c (memmove): Renamed to ...
32215 (MEMMOVE): ...this. Default to memmove.
32216 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32217 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32218 (END_CHK): Define.
32219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32220 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32221 mempcpy-ssse3-back memmove-ssse3-back.
32222 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32223 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32224 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32225 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32226 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32227 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32228 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32229 * sysdeps/x86_64/multiarch/memmove.c: New file.
32230 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32231 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32232 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32233 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32234 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32235 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32236 Define.
32237 (index_Fast_Copy_Backward): Define.
32238 (HAS_ARCH_FEATURE): Define.
32239 (HAS_FAST_REP_STRING): Define.
32240 (HAS_FAST_COPY_BACKWARD): Define.
32241
4e733bac 322422010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32243
32244 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32245 Restore proper fallback handling.
32246
63c4ed22
UD
322472010-06-19 Ulrich Drepper <drepper@redhat.com>
32248
ac2b484c
UD
32249 [BZ #11701]
32250 * posix/group_member.c (__group_member): Correct checking loop.
32251
63c4ed22
UD
32252 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32253 OOM in getpwuid_r correctly. Return error number when the caller
32254 should return, otherwise -1.
32255 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32256 call returning > 0 value.
32257 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32258
765ade4b
AS
322592010-06-07 Andreas Schwab <schwab@redhat.com>
32260
32261 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32262 libc_nonshared.a from targets in modules-names.
32263
80da2e09
KS
322642010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32265
32266 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32267 requires it.
32268
158db122
LM
322692010-06-10 Luis Machado <luisgpm@br.ibm.com>
32270
32271 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32272 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32273 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32275
caa78cf8
AS
322762010-06-02 Andreas Schwab <schwab@redhat.com>
32277
32278 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32279
b2ef2c01
UD
322802010-06-14 Ulrich Drepper <drepper@redhat.com>
32281
32282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32283 and F_GETPIPE_SZ.
32284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32289 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32290
fbd643b6
RM
322912010-06-14 Roland McGrath <roland@redhat.com>
32292
32293 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32294
f32f2869
JJ
322952010-06-07 Jakub Jelinek <jakub@redhat.com>
32296
32297 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32298 __REDIRECT followed by __THROW.
32299 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32300 * posix/getopt.h (getopt): Likewise.
32301
2a50c078
EPM
323022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32303
32304 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32305 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32306 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32307 in AT_FLAGS.
32308 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32309 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32310
eb5ad2eb
LM
323112010-05-28 Luis Machado <luisgpm@br.ibm.com>
32312
32313 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32314
3c88fe1e
L
323152010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32316
32317 [BZ #11640]
32318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32319 Properly check family and model.
32320
d2f73151
TY
323212010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32322
32323 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32324
ebd2e13d
LM
323252010-05-24 Luis Machado <luisgpm@br.ibm.com>
32326
32327 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32328
b32b8b45
UD
323292010-05-21 Ulrich Drepper <drepper@redhat.com>
32330
32331 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32332 symbol reference.
32333
9acbe24d
AS
323342010-05-19 Andreas Schwab <schwab@redhat.com>
32335
32336 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32337 symbol reference.
32338
f0ccf6ea
AS
323392010-05-21 Andreas Schwab <schwab@redhat.com>
32340
3d04ff3a
AS
32341 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32342 and internal_recvmmsg.
32343 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32344 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32345 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32346 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32347
f0ccf6ea
AS
32348 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32349 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32350 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32351
5b08ac57
AS
323522010-05-20 Andreas Schwab <schwab@redhat.com>
32353
32354 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32355
4828935d
LM
323562010-05-17 Luis Machado <luisgpm@br.ibm.com>
32357
32358 POWER7 optimizations.
32359 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32360 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32361
373d545e
UD
323622010-05-19 Ulrich Drepper <drepper@redhat.com>
32363
32364 * version.h: Update for 2.13 development version.
32365
21a2b1ae
AS
323662010-05-12 Andrew Stubbs <ams@codesourcery.com>
32367
32368 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32369 exceptions. Return 0.
32370
3f7dcb2b
RM
323712010-05-07 Roland McGrath <roland@redhat.com>
32372
32373 * elf/ldconfig.c (main): Add a const.
32374
5f24d53a 323752010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32376
a160f8d8
UD
32377 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32378 (args_options): Add no-idn option.
32379 (ahosts_keys_int): Add idn_flags to ai_flags.
32380 (parse_option): Handle 'i' option to clear idn_flags.
32381
5f24d53a
UD
32382 * malloc/malloc.c (_int_free): Possible race in the most recently
32383 added check. Only act on the data if no current modification
32384 happened.
265bb1ce
UD
32385
32386See ChangeLog.17 for earlier changes.