]> sourceware.org Git - glibc.git/blame - ChangeLog
True stub __ifreq.
[glibc.git] / ChangeLog
CommitLineData
8cc3269f
RM
12013-08-27 Roland McGrath <roland@hack.frob.com>
2
5d1f0a09
RM
3 * inet/ifreq.c: Moved to ...
4 * sysdeps/unix/ifreq.c: ... here.
5 * inet/ifreq.c: New file, true stub version.
6
6fcf28b3
RM
7 * socket/sa_len.c: New file.
8 * socket/Makefile (aux): Add it.
9 * sysdeps/unix/sysv/linux/Makefile
10 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12 and #include <socket/sa_len.c>.
13 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15
e041fb8b
RM
16 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17 * bits/socket.h: ... here.
18
8cc3269f
RM
19 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22
5d228a43
AS
232013-08-27 Andreas Schwab <schwab@suse.de>
24
45b8accc
AS
25 [BZ #15736]
26 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29 * string/test-strcasecmp.c (test_main): Run tests in several
30 locales.
31 * string/test-strncasecmp.c (test_main): Likewise.
32
5d228a43
AS
33 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
35 to __strcasecmp_nonascii and __strncasecmp_nonascii.
36 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
37 (__strncasecmp_ssse3) [PIC]: Likewise.
38
59d112a4
RM
392013-08-26 Roland McGrath <roland@hack.frob.com>
40
53234cc3
RM
41 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42
59d112a4
RM
43 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44 instead of explicitly declaring xdecrypt.
45 * nis/nss_nis/nis-publickey.c: Likewise.
46
595aba70
SP
472013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48
49 [BZ #15890]
50 * nscd/aicache.c: Include res_hconf.h.
51 (addhstaiX): Initialize res_hconf.
52
ffabd393
AS
532013-08-26 Andreas Schwab <schwab@suse.de>
54
55 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57
e0a69f5c
SP
582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59
60 * nscd/aicache.c (addhstaiX): Fix indentation.
61
8c12f01d
MF
622013-08-25 Mike Frysinger <vapier@gentoo.org>
63
64 * configure.ac: Quote $build_pt_chown test.
65 * configure: Regenerated.
66
8fe89494
JM
672013-08-23 Joseph Myers <joseph@codesourcery.com>
68
69 [BZ #15532]
70 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
71 * math/s_cexpf.c (__cexpf): Likewise.
72 * math/s_cexpl.c (__cexpl): Likewise.
73 * math/libm-test.inc (cexp_test_data): Correct expected return
74 value for NaN + i0. Add another test.
75
75b181d6
DM
762013-08-22 David S. Miller <davem@davemloft.net>
77
78 * po/ca.po: Update Catalan translation from translation project.
936241e4 79 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 80
acd06bb1
JM
812013-08-21 Joseph Myers <joseph@codesourcery.com>
82
83 [BZ #15797]
84 * math/s_fdim.c (__fdim): Check for infinite arguments if result
85 is infinite, not alongside NaN test.
86 * math/s_fdimf.c (__fdimf): Likewise.
87 * math/s_fdiml.c (__fdiml): Likewise.
88 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
89 errno is unchanged.
90
c0c3f78a
OB
912013-08-21 Ondřej Bílka <neleai@seznam.cz>
92
93 * argp/argp-help.c: Fix typos.
94 * crypt/speeds.c: Likewise.
95 * csu/check_fds.c: Likewise.
96 * elf/dl-load.c: Likewise.
97 * elf/dl-open.c: Likewise.
98 * elf/reldep3.c: Likewise.
99 * elf/reldep.c: Likewise.
100 * elf/sprof.c: Likewise.
101 * iconv/iconv_charmap.c: Likewise.
102 * iconv/skeleton.c: Likewise.
103 * iconv/strtab.c: Likewise.
104 * io/lockf64.c: Likewise.
105 * libio/libioP.h: Likewise.
106 * resolv/gai_notify.c: Likewise.
107 * resolv/ns_name.c: Likewise.
108 * resolv/ns_samedomain.c: Likewise.
109 * resolv/res_send.c: Likewise.
110 * stdlib/random.c: Likewise.
111 * sunrpc/rpc/xdr.h: Likewise.
112 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
113 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
114 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
115 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
117 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
120 * sysdeps/mach/hurd/check_fds.c: Likewise.
121 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
122 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
123 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
124 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
125 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
126 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
127 * sysdeps/pthread/aio_notify.c: Likewise.
128 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
129 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
130 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
131 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
132 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
133
46ed1038
LD
1342013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
135
136 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
137 version if bit_Slow_SSE4_2 is set.
138 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
139 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
140
d400dcac
AZ
1412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142
143 [BZ #15867]
144 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
145 trampoline stack frame information.
146 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
147 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
148 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
149 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
150 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
151 * sysdeps/unix/sysv/linux/powerpc/init-first.c
152 (_libc_vdso_platform_setup): Initialize the signal trampolines.
153 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
154 sa_flags value.
155 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
156 interrupting a syscall and set with option SA_SIGINFO.
157
42c8fdd8
JM
1582013-08-20 Joseph Myers <joseph@codesourcery.com>
159
c980f2f4
JM
160 [BZ #15531]
161 * math/s_cproj.c (__cproj): Only return an infinity if one part of
162 argument is infinite.
163 * math/s_cprojf.c (__cprojf): Likewise.
164 * math/s_cprojl.c (__cprojl): Likewise.
165 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
166 * math/libm-test.inc (cproj_test_data): Add more tests.
167
0716c4fc
JM
168 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
169
42c8fdd8
JM
170 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
171 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
172 size. Use __ffs to determine corresponding shift.
173
b31469d0
JM
1742013-08-20 Joseph Myers <joseph@codesourcery.com>
175 Roland McGrath <roland@hack.frob.com>
176
177 * Makefile (INSTALL): Remove trailing blank lines from output of
178 makeinfo.
179
4e39af6e
AK
1802013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
181
182 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
183 Align 32 bit compat elf_greg to 8 bytes.
184
f315524e
AA
1852013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
186
187 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
188
1326ba1a
SP
1892013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
190
191 * string/strcoll_l.c (coll_seq): New structure.
192 (get_next_seq_cached): New function.
193 (get_next_seq): New function.
194 (do_compare): New function.
195 (STRCOLL): Use GNU style definition. Simplify implementation
196 by using get_next_seq, get_next_seq_cached and do_compare.
197
91ce4085
FW
1982013-08-16 Florian Weimer <fweimer@redhat.com>
199
200 [BZ #14699]
201 CVE-2013-4237
202 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
203 member.
204 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
205 member.
206 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
207 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
208 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
209 conditional.
210 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
211 GETDENTS_64BIT_ALIGNED.
212 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
213 * manual/filesys.texi (Reading/Closing Directory): Document
214 ENAMETOOLONG return value of readdir_r. Recommend readdir more
215 strongly.
216 * manual/conf.texi (Limits for Files): Add portability note to
217 NAME_MAX, PATH_MAX.
218 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
219
ca0a6bc4
AS
2202013-08-13 Andreas Schwab <schwab@suse.de>
221
222 [BZ #15749]
223 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
224 of fabs.
225 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
226 LDBL_MAX_EXP >= 16384]: Add tests for it.
227
6c1fd795
DM
2282013-08-12 David S. Miller <davem@davemloft.net>
229
230 * version.h (RELEASE): Set to "development".
231 (VERSION): Set to "2.18.90".
232 * NEWS: Add 2.19 section.
233
31ad488d
DM
2342013-08-03 David S. Miller <davem@davemloft.net>
235
236 * po/ko.po: Update Korean translation from translation project.
237
db24e684
DM
2382013-08-01 David S. Miller <davem@davemloft.net>
239
240 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
241 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
242 Bilka.
243
f723285b
DM
2442013-07-30 David S. Miller <davem@davemloft.net>
245
246 * po/fr.po: Update French translation from translation project.
247
3cbc52db
DM
2482013-07-28 David S. Miller <davem@davemloft.net>
249
30bbc0cc
DM
250 * po/cs.po: Update Czech translation from translation project.
251
3cbc52db
DM
252 * po/sv.po: Update Swedish translation from translation project.
253
d492e6d0
DM
2542013-07-27 David S. Miller <davem@davemloft.net>
255
f1a7f492
DM
256 * po/eo.po: Update Esperanto translation from translation project.
257
90e62a4a
DM
258 * po/vi.po: Update Vietnamese translation from translation project.
259
d492e6d0
DM
260 * po/de.po: Update German translation from translation project.
261
d4baa62d
DM
2622013-07-26 David S. Miller <davem@davemloft.net>
263
641aa7b4
DM
264 * po/bg.po: Update Bulgarian translation from translation project.
265
d4baa62d
DM
266 * po/nl.po: Update Dutch translation from translation project.
267 * po/pl.po: Update Polish translation from translation project.
268 * po/ru.po: Update Russian translation from translation project.
269
61a9dcb9
DM
2702013-07-24 David S. Miller <davem@davemloft.net>
271
272 * po/libc.pot: Update.
273
7b1f8b58
AZ
2742013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
276 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
277 variable page size.
278 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
280 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
281
a8fc7a03
AK
2822013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
283
284 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
285
e4608715
CD
2862013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
287 Andreas Schwab <schwab@suse.de>
288 Roland McGrath <roland@hack.frob.com>
289 Joseph Myers <joseph@codesourcery.com>
290 Carlos O'Donell <carlos@redhat.com>
291
292 [BZ #15755]
293 * config.h.in: Define HAVE_PT_CHOWN.
294 * config.make.in (build-pt-chown): New variable.
295 * configure.in (--enable-pt_chown): New configure option.
296 * configure: Regenerate.
297 * login/Makefile: Include Makeconfig. Build pt_chown only if
298 build-pt-chown is enabled.
299 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
300 pt_chown to fix pty ownership.
301 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
302 CLOSE_ALL_FDS.
303 * manual/install.texi (Configuring and compiling): Mention
304 --enable-pt_chown. Add @findex for grantpt.
305 * INSTALL: Regenerate.
306
da2d62df
DM
3072013-07-20 David S. Miller <davem@davemloft.net>
308
309 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
310 difference between 32-bit and 64-bit.
311
d7e06450
CD
3122013-07-15 Carlos O'Donell <carlos@redhat.com>
313
314 [BZ #15711]
315 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
316 Avoid system header dependency with -ffreestanding.
317 ($(objpfx)bits/syscall%d): Likewise.
318
f959cfd7
DM
3192013-07-13 David S. Miller <davem@davemloft.net>
320
321 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
322 underflows from atanl/atan2l due to bug 15319.
323 (casinh_test_data): Likewise.
324
c61f8513
DM
3252013-07-07 David S. Miller <davem@davemloft.net>
326
327 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
328
72c90ed0
JA
3292013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
330
331 * sysdeps/i386/fpu/libm-test-ulps: Update.
332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
333
52dfbe13
SP
3342013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
335
336 * configure.in (--enable-lock-elision): Fix message text.
337 * INSTALL: Regenerate.
338 * configure: Regenerate.
339
3f169543
AZ
3402013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341
342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
343
521c6785
AJ
3442013-07-03 Andreas Jaeger <aj@suse.de>
345
346 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
347 define.
348 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
349 (ptrace_peeksiginfo_args): Add.
350 (__ptrace_peeksiginfo_flags): Add.
351 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
354
d2cc15cb
AM
3552013-07-03 Allan McRae <allan@archlinux.org>
356
357 * sysdeps/i386/fpu/libm-test-ulps: Update.
358
3aaeeca7
DM
3592013-07-02 David S. Miller <davem@davemloft.net>
360
361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
362
5314ed1a
MT
3632013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
364
365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
366
67338156
JM
3672013-07-02 Joseph Myers <joseph@codesourcery.com>
368
369 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371
1717da59
AK
3722013-07-02 Andi Kleen <ak@linux.intel.com>
373
374 * config.h.in (ENABLE_LOCK_ELISION): Add.
375 * configure.in (--enable-lock-elision): Add option.
376 * manual/install.texi: Document --enable lock elision.
377 * configure: Regenerate
378 * INSTALL: Regenerate.
379
1c81621c
L
3802013-07-02 H.J. Lu <hongjiu.lu@intel.com>
381
382 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
383 SSE4.2 strcasecmp for libc.a.
384 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
385
77f01ab5
JM
3862013-07-02 Joseph Myers <joseph@codesourcery.com>
387
388 [BZ #13304]
389 * soft-fp/op-common.h (_FP_FMA): New macro.
390 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
391 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
392 (_FP_MUL_MEAT_1_imm): ... here.
393 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
394 (_FP_MUL_MEAT_1_wide): ... here.
395 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
396 (_FP_MUL_MEAT_1_hard): ... here.
397 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
398 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
399 (_FP_MUL_MEAT_2_wide): ... here.
400 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
401 (_FP_MUL_MEAT_2_wide_3mul): ... here.
402 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
403 (_FP_MUL_MEAT_2_gmp): ... here.
404 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
405 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
406 (_FP_MUL_MEAT_4_wide): ... here.
407 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
408 (_FP_MUL_MEAT_4_gmp): ... here.
409 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
410 (_FP_WFRACBITS_DW_S): Likewise.
411 (_FP_WFRACXBITS_DW_S): Likewise.
412 (_FP_HIGHBIT_DW_S): Likewise.
413 (FP_FMA_S): Likewise.
414 (_FP_FRAC_HIGH_DW_S): Likewise.
415 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
416 (_FP_WFRACBITS_DW_D): Likewise.
417 (_FP_WFRACXBITS_DW_D): Likewise.
418 (_FP_HIGHBIT_DW_D): Likewise.
419 (FP_FMA_D): Likewise.
420 (_FP_FRAC_HIGH_DW_D): Likewise.
421 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
422 (_FP_WFRACBITS_DW_E): Likewise.
423 (_FP_WFRACXBITS_DW_E): Likewise.
424 (_FP_HIGHBIT_DW_E): Likewise.
425 (FP_FMA_E): Likewise.
426 (_FP_FRAC_HIGH_DW_E): Likewise.
427 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
428 (_FP_WFRACBITS_DW_Q): Likewise.
429 (_FP_WFRACXBITS_DW_Q): Likewise.
430 (_FP_HIGHBIT_DW_Q): Likewise.
431 (FP_FMA_Q): Likewise.
432 (_FP_FRAC_HIGH_DW_Q): Likewise.
433 * soft-fp/fmasf4.c: New file.
434 * soft-fp/fmadf4.c: Likewise.
435 * soft-fp/fmatf4.c: Likewise.
436
6308fd9a
LD
4372013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
438
439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
440 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
441 Silvermont.
442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
443 macro.
444 (index_Slow_SSE4_2): Likewise.
445 (index_Prefer_PMINUB_for_stringop): Likewise.
446 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
447 bit_Slow_SSE4_2 is set.
448 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
449 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
450
89cd9569
RA
4512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
452
453 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
454 rtld_global._dl_hwcap2.
455 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
456 POWER8.
457 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
458 POWER8 feature descriptions defined in _dl_hwcap2.
459 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
460 string handling for POWER8 feature bits.
461 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
462 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
463 _dl_powerpc_cap_flags.
464 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
465 * sysdeps/powerpc/rtld-global-offsets.sym
466 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
467 _dl_hwcap2 in the rtld_global_ro structure.
468
1ae8bfe0
RA
4692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
470
471 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
472 hardware capabilities in support of AT_HWCAP2.
473 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
474 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
475 GLRO(dl_hwcap2).
476 (_dl_show_auxv): Add support for calling _dl_procinfo to display
477 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
478 explicitly the unknown a_type display mechanism is used.
479 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
480 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
481 struct member.
482 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
483 to macro prototype for AT_HWCAP2 support.
484 * sysdeps/i386/dl-procinfo.h: Likewise.
485 * sysdeps/s390/dl-procinfo.h: Likewise.
486 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
487 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
488 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
489 return -1 for unknown a_type display fallback.
490 * sysdeps/sparc/dl-procinfo.h: Likewise.
491 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
492 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
493
8fbec010
JM
4942013-06-28 Joseph Myers <joseph@codesourcery.com>
495
496 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
497 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
498
0432680e
PY
4992013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
500
501 [BZ #12492]
502 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
503 mprotect making __stack_prot writable.
504
ce61a2ad
NF
5052013-06-28 Nathan Froyd <froydnj@codesourcery.com>
506 Joseph Myers <joseph@codesourcery.com>
507
508 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
509 as being properly aligned.
510
f91f1c0f
MR
5112013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
512
3d0f5d0c
MR
513 * dlfcn/modstatic5.c: New file.
514 * dlfcn/tststatic5.c: New file.
515 * dlfcn/Makefile (tests): Add tststatic5.
516 (tests-static): Likewise.
517 (modules-names): Add modstatic5.
518 (tststatic5-ENV): New variable.
519 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
520
f91f1c0f
MR
521 [BZ #15022]
522 * elf/dl-support.c (_dl_main_map): New variable.
523 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
524 (_dl_nns, _dl_load_adds): Set to 1.
525 (_dl_initial_searchlist): Refer to _dl_main_map.
526 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
527 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
528 call to _dl_get_origin.
529 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
530 around call_map.
531 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
532 * dlfcn/modstatic3.c: New file.
533 * dlfcn/tststatic3.c: New file.
534 * dlfcn/tststatic4.c: New file.
535 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
536 (tests-static): Likewise.
537 (modules-names): Add modstatic3.
538 (tststatic3-ENV, tststatic4-ENV): New variables.
539 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
540 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
541
cbe7d24b
JM
5422013-06-26 Joseph Myers <joseph@codesourcery.com>
543
544 * configure.in (CC): Require GCC version 4.4 or later.
545 * configure: Regenerated.
546 * manual/install.texi (Tools for Compilation): Update GCC version
547 requirement.
548 * INSTALL: Regenerated.
549
11b8a0e1
LD
5502013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
551
552 [BZ #15674]
bb5bb87c
L
553 * string/test-memcmp.c (check2): New.
554 (main): Call check2.
555
11b8a0e1
LD
556 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
557
b0037103
MR
5582013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
559
560 [BZ #15022]
561 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
562 over to...
563 (dl_open_worker) [!SHARED]: ... here.
564
c18c701d
RA
5652013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
566
567 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
568
1d17fa5f
RH
5692013-06-25 Richard Henderson <rth@redhat.com>
570
571 * locale/programs/locarchive.c: Include <libc-internal.h>
572
8fcb833a
JM
5732013-06-25 Joseph Myers <joseph@codesourcery.com>
574
575 * manual/texinfo.tex: Update to version 2013-06-21.17, with
576 trailing whitespace removed.
577
17db6e8d
MF
5782013-06-24 Mike Frysinger <vapier@gentoo.org>
579
580 [BZ #10283]
17db6e8d
MF
581 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
582 * locale/programs/locarchive.c: Include libc-mmap.h.
583 (prepare_address_space): Take two new outputs (the mmap base and len).
584 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
585 values.
586 (create_archive): Declare new mmap base and len values for
587 prepare_address_space, and store the result in ah.
588 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
589 (enlarge_archive): If ah->mmap_base is not NULL, use that and
590 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
591 Declare new mmap base and len values for
592 prepare_address_space, and store the result in new_ah.
593 (open_archive): Declare new mmap base and len values for
594 prepare_address_space, and store the result in ah.
595 (close_archive): If ah->mmap_base is not NULL, use that and
596 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
597 * sysdeps/generic/libc-mmap.h: New file.
598
d605071e
MF
5992013-06-24 Mike Frysinger <vapier@gentoo.org>
600
601 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
602 (ALIGN_UP): Likewise.
603 (PTR_ALIGN_DOWN): Likewise.
604 (PTR_ALIGN_UP): Likewise.
605
2f063a6e
RA
6062013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
607
608 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
609 entry mapped to PPC_PLATFORM_POWER8.
610 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
611 POWER8.
612 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
613 (_dl_string_platform): Add case for exporting platform position for
614 POWER8.
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
616 search path to sysdeps/powerpc/powerpc32/power8 directory.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
618 search path to sysdeps/powerpc/powerpc64/power8 directory.
619 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
620 power7 directories.
621 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
622 power7 directories.
623
a31ee4b3
SP
6242013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
625
a74ca98f
SP
626 * INSTALL: Regenerate.
627
a31ee4b3
SP
628 * nscd/connections.c (nscd_init): Fix comment.
629
695c378f
JM
6302013-06-22 Joseph Myers <joseph@codesourcery.com>
631
d8412221
JM
632 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
633
695c378f
JM
634 [BZ #15667]
635 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
636 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
637
d1d54715
MR
6382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
639
640 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
641 DL_DST_REQ_STATIC.
642 (DL_DST_REQ_STATIC): Remove macro.
643
8fdda7af
JM
6442013-06-21 Joseph Myers <joseph@codesourcery.com>
645
646 [BZ #7006]
647 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
648 with a shift of 0 bits.
649
f3bc5e5a
MR
6502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
651
652 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
653 $(tststatic-ENV).
654
be09e8c9
KK
6552013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
656
657 [BZ #15655]
658 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
659
85c2e611
AZ
6602013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
661
662 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
663 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
664 accepts -fno-tree-loop-distribute-patterns.
665 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
666 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
667 recursive call.
668 * string/memset.c (memset): Likewise.
669 * string/test-memmove.c (simple_memmove): Disable loop transformation
670 to library calls.
671 * string/test-memset.c (simple_memset): Likewise.
672 * benchtests/bench-memmove.c (simple_memmove): Likewise.
673 * benchtests/bench-memset.c (simple_memset): Likewise.
674 * configure: Regenerated.
675
c91e0825
JM
6762013-06-20 Joseph Myers <joseph@codesourcery.com>
677
b8c792af
JM
678 * math/test-misc.c (main): Ignore fesetround failure when failures
679 of subsequent rounding tests would be ignored.
680
c91e0825
JM
681 [BZ #15654]
682 * math/fedisblxcpt.c (fedisableexcept): Return 0.
683 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
684 * math/fegetenv.c (__fegetenv): Return 0.
685 * math/fegetexcept.c (fegetexcept): Return 0.
686 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
687 FE_TONEAREST.
688 * math/feholdexcpt.c (feholdexcept): Return 0.
689 * math/fesetenv.c (__fesetenv): Return 0.
690 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
691 argument FE_TONEAREST.
692 * math/feupdateenv.c (__feupdateenv): Return 0.
693 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
694
bfcacbde
RM
6952013-06-18 Roland McGrath <roland@hack.frob.com>
696
697 * elf/rtld-Rules (rtld-compile-command.S): New variable.
698 (rtld-compile-command.s, rtld-compile-command.c): New variables.
699 ($(objpfx)rtld-%.os rules): Use them.
700
e55a9b25
AZ
7012013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702
703 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
704 fields.
705
346d65b3
RM
7062013-06-17 Roland McGrath <roland@hack.frob.com>
707
12086fb4
RM
708 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
709 length of target pattern, then descending length of dependency pattern.
710 * configure.in (AWK): Require gawk 3.1.2 or newer.
711 * manual/install.texi (Tools for Compilation): Say that we do.
712 * configure: Regenerated.
713
346d65b3
RM
714 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
715 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
716 * scripts/sysd-rules.awk: ... this new script.
717 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
718 than a glob-style pattern.
719
1a846317
JM
7202013-06-17 Joseph Myers <joseph@codesourcery.com>
721
722 * math/test-misc.c (main): Do not treat incorrectly rounded
723 conversions as failure unless ROUNDING_TESTS passes.
724
8fc75e6f
JM
7252013-06-15 Joseph Myers <joseph@codesourcery.com>
726
3711a167
JM
727 [BZ #15631]
728 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
729 restore exception state around main square root computation, then
730 check for inexactness explicitly.
731
8fc75e6f
JM
732 * math/libm-test.inc (fma_test_data): Add another test.
733
61dd6208
SP
7342013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
735
adf23d2c
SP
736 * manual/threads.texi (Non-POSIX Extensions): New document
737 node. Document pthread_getattr_default_np and
738 pthread_setattr_default_np.
739
61dd6208
SP
740 * Versions.def (libpthread): Add GLIBC_2.18.
741 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
743 Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
745 Likewise.
746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
747 Likewise.
748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
749 Likewise.
750 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
751 Likewise.
752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
753 Likewise.
754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
755 Likewise.
756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
757 Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
759 Likewise.
760
d086fc7b
LD
7612013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
762
763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
764 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
765
747ef469
SP
7662013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
767 H.J. Lu <hjl.tools@gmail.com>
768
769 [BZ #15627]
770 * sysdeps/x86_64/rtld-memset.c: Remove file.
771 * sysdeps/x86_64/rtld-memset.S: New file.
772
1b2feed2
JM
7732013-06-14 Joseph Myers <joseph@codesourcery.com>
774
775 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
776 (test_in_one_mode): Take arguments for whether the rounding mode
777 is supported for each floating-point type.
778 (do_test): Pass new arguments to test_in_one_mode using
779 ROUNDING_TESTS.
780
a58ad3f8
RM
7812013-06-13 Roland McGrath <roland@hack.frob.com>
782
783 * posix/tst-waitid.c (do_test): Distinguish different instances of
784 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
785 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
786 before entering the kernel for waitpid.
787
c204ab28
SP
7882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
789
790 * NEWS: Fix note on clock function precision. Text by Roland
791 McGrath.
792
f4a29fba
RM
7932013-06-13 Roland McGrath <roland@hack.frob.com>
794
795 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
796 it into place only when and if the sanity check passes.
797
1f24b9ad
JM
7982013-06-13 Joseph Myers <joseph@codesourcery.com>
799
800 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
801 output for whether conversion result is exact. Take argument
802 indicating whether type is IBM long double.
803 (round_for_all): Change need_exact field to ibm_ld.
804 * stdlib/tst-strtod-round.c (struct exactness): New type.
805 (struct test): Change bool ld_ok field to struct exactness exact.
806 (TEST): Update all definitions for change to field.
807 (tests): Regenerate array contents.
808 (test_in_one_mode): Take pointer to new field instead of old ld_ok
809 field value. Check for IBM long double here.
810 (do_test): Update calls to test_in_one_mode.
811
58206c68
SP
8122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
813
814 [BZ #12515]
815 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
816 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
817
2d6f4c5b 8182013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
819
820 [BZ #15605]
821 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
822 generated by the compiler on loop optimizations.
823 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
824 general definitions.
825
94f2c076
JM
8262013-06-12 Joseph Myers <joseph@codesourcery.com>
827
828 * math/bug-nextafter.c: Include <math-tests.h>.
829 (main): Only test for exceptions if EXCEPTION_TESTS is true for
830 the relevant type.
831 * math/bug-nexttoward.c: Include <math-tests.h>.
832 (main): Only test for exceptions if EXCEPTION_TESTS is true for
833 the relevant type.
834 * math/test-misc.c: Include <math-tests.h>.
835 (main): Only test for exceptions if EXCEPTION_TESTS is true for
836 the relevant type.
837
e0e50a0a
AJ
8382013-06-12 Andreas Jaeger <aj@suse.de>
839
840 * po/ia.po: Update Interlingua translation from translation
841 project.
842
25061094
SP
8432013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
844
845 * include/fenv.h: Include stdbool.h.
846 (struct rm_ctx): New structure.
847 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
848 Define macro.
849 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
850 (SET_RESTORE_ROUNDF): Likewise.
851 (SET_RESTORE_ROUNDL): Likewise.
852 (SET_RESTORE_ROUND_NOEX): Likewise.
853 (SET_RESTORE_ROUND_NOEXF): Likewise.
854 (SET_RESTORE_ROUND_NOEXL): Likewise.
855 (SET_RESTORE_ROUND_53BIT): Likewise.
856 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
857 (libc_feresetround_noexf_ctx): Likewise.
858 (libc_feresetround_noexl_ctx): Likewise.
859 (libc_feholdsetround_53bit_ctx): Likewise.
860 (libc_feresetround_53bit_ctx): Likewise.
861 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
862 (libc_feholdexcept_setround_sse_ctx): New function.
863 (libc_fesetenv_sse_ctx): Likewise.
864 (libc_feupdateenv_sse_ctx): Likewise.
865 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
866 (libc_feholdexcept_setround_387_ctx): Likewise.
867 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
868 (libc_feholdsetround_387_prec_ctx): Likewise.
869 (libc_feholdsetround_387_ctx): Likewise.
870 (libc_feholdsetround_387_53bit_ctx): Likewise.
871 (libc_feholdsetround_sse_ctx): Likewise.
872 (libc_feresetround_sse_ctx): Likewise.
873 (libc_feresetround_387_ctx): Likewise.
874 (libc_feupdateenv_387_ctx): Likewise.
875 (libc_feholdexcept_setroundf_ctx): Define macro.
876 (libc_fesetenvf_ctx): Likewise.
877 (libc_feupdateenvf_ctx): Likewise.
878 (libc_feholdsetroundf_ctx): Likewise.
879 (libc_feresetroundf_ctx): Likewise.
880 (libc_feholdexcept_setround_ctx): Likewise.
881 (libc_fesetenv_ctx): Likewise.
882 (libc_feupdateenv_ctx): Likewise.
883 (libc_feholdsetround_ctx): Likewise.
884 (libc_feresetround_ctx): Likewise.
885 (libc_feholdexcept_setroundl_ctx): Likewise.
886 (libc_feupdateenvl_ctx): Likewise.
887 (libc_feholdsetroundl_ctx): Likewise.
888 (libc_feresetroundl_ctx): Likewise.
889 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
890 (libc_feresetround_53bit_ctx): Likewise.
891
59b30555
SP
8922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
893
894 * locale/iso-639.def: Convert to UTF-8.
895
f1d73d30
JM
8962013-06-11 Joseph Myers <joseph@codesourcery.com>
897
898 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
899 (EXCEPTION_TESTS_double): Likewise.
900 (EXCEPTION_TESTS_long_double): Likewise.
901 (EXCEPTION_TESTS): Likewise.
902 * math/libm-test.inc (test_exceptions): Only test exceptions if
903 EXCEPTION_TESTS (FLOAT).
904
94aca5e7
SP
9052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
906
907 * benchtests/Makefile (string-bench): Add strcpy_chk and
908 stpcpy_chk.
909 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
910 * benchtests/bench-stpcpy_chk.c: New file.
911 * benchtests/bench-strcpy_chk-ifunc.c: New file.
912 * benchtests/bench-strcpy_chk.c: New file.
913 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
914 code.
915 (do_test): Likewise.
916
fac0c5f2
RA
9172013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
918
919 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
920 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
921 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
922 with tabs where appropriate.
923 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
924 dl-procinfo.h.
925 [PPC_PLATFORM_PPC440]: Likewise.
926 [PPC_PLATFORM_PPC464]: Likewise.
927 [PPC_PLATFORM_PPC476]: Likewise.
928 (_dl_string_platform): Add support for detecting ppc405, ppc440,
929 ppc464, and ppc476 platform strings merging from ports/
930 dl-procinfo.h.
931
f22bc486
AS
9322013-06-11 Andreas Schwab <schwab@suse.de>
933
934 [BZ #14991]
935 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
936 (from_ucs4_idx): Regenerate.
937 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
938 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
939 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
940 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
941 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
942 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
943 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
944 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
945 from FROM_LOOP and TO_LOOP specific macros.
946 (BODY): Handle combining characters.
947 * iconvdata/BIG5HKSCS.irreversible: Update.
948 * iconvdata/BIG5HKSCS.precomposed: New file.
949 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
950 characters.
951 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
952
c1f75dc3
SP
9532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
954
4eacded2
SP
955 * include/sys/time.h: Fix indentation and add copyright header.
956
fec799f8
SP
957 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
958 (do_test): Likewise.
959 * string/test-memchr.c (do_one_test): Likewise.
960 (do_test): Likewise.
961 * string/test-memcmp.c (do_one_test): Likewise.
962 (do_test): Likewise.
963 * string/test-memcpy.c (do_one_test): Likewise.
964 (do_test): Likewise.
965 * string/test-memmem.c (do_one_test): Likewise.
966 (do_test): Likewise.
967 (do_random_tests): Likewise.
968 * string/test-memmove.c (do_one_test): Likewise.
969 (do_test): Likewise.
970 * string/test-memset.c (do_one_test): Likewise.
971 (do_test): Likewise.
972 * string/test-rawmemchr.c (do_one_test): Likewise.
973 (do_test): Likewise.
974 * string/test-strcasecmp.c (do_one_test): Likewise.
975 (do_test): Likewise.
976 * string/test-strcasestr.c (do_one_test): Likewise.
977 (do_test): Likewise.
978 * string/test-strcat.c (do_one_test): Likewise.
979 (do_test): Likewise.
980 * string/test-strchr.c (do_one_test): Likewise.
981 (do_test): Likewise.
982 * string/test-strcmp.c (do_one_test): Likewise.
983 (do_test): Likewise.
984 * string/test-strcpy.c (do_one_test): Likewise.
985 (do_test): Likewise.
986 * string/test-string.h: Likewise.
987 (test_init): Likewise.
988 * string/test-strlen.c (do_one_test): Likewise.
989 (do_test): Likewise.
990 * string/test-strncasecmp.c (do_one_test): Likewise.
991 (do_test): Likewise.
992 * string/test-strncat.c (do_one_test): Likewise.
993 (do_test): Likewise.
994 * string/test-strncmp.c (do_one_test): Likewise.
995 (do_test_limit): Likewise.
996 (do_test): Likewise.
997 * string/test-strncpy.c (do_one_test): Likewise.
998 (do_test): Likewise.
999 * string/test-strnlen.c (do_one_test): Likewise.
1000 (do_test): Likewise.
1001 * string/test-strpbrk.c (do_one_test): Likewise.
1002 (do_test): Likewise.
1003 * string/test-strrchr.c (do_one_test): Likewise.
1004 (do_test): Likewise.
1005 * string/test-strspn.c (do_one_test): Likewise.
1006 (do_test): Likewise.
1007 * string/test-strstr.c (do_one_test): Likewise.
1008 (do_test): Likewise.
1009
97020474
SP
1010 * benchtests/Makefile (string-bench): Add string benchmarks.
1011 * benchtests/bench-bcopy-ifunc.c: New file.
1012 * benchtests/bench-bcopy.c: New file.
1013 * benchtests/bench-bzero-ifunc.c: New file.
1014 * benchtests/bench-bzero.c: New file.
1015 * benchtests/bench-memccpy-ifunc.c: New file.
1016 * benchtests/bench-memccpy.c: New file.
1017 * benchtests/bench-memchr-ifunc.c: New file.
1018 * benchtests/bench-memchr.c: New file.
1019 * benchtests/bench-memcmp-ifunc.c: New file.
1020 * benchtests/bench-memcmp.c: New file.
1021 * benchtests/bench-memmem-ifunc.c: New file.
1022 * benchtests/bench-memmem.c: New file.
1023 * benchtests/bench-memmove-ifunc.c: New file.
1024 * benchtests/bench-memmove.c: New file.
1025 * benchtests/bench-mempcpy-ifunc.c: New file.
1026 * benchtests/bench-mempcpy.c: New file.
1027 * benchtests/bench-memset-ifunc.c: New file.
1028 * benchtests/bench-memset.c: New file.
1029 * benchtests/bench-rawmemchr-ifunc.c: New file.
1030 * benchtests/bench-rawmemchr.c: New file.
1031 * benchtests/bench-stpcpy-ifunc.c: New file.
1032 * benchtests/bench-stpcpy.c: New file.
1033 * benchtests/bench-stpncpy-ifunc.c: New file.
1034 * benchtests/bench-stpncpy.c: New file.
1035 * benchtests/bench-strcasecmp-ifunc.c: New file.
1036 * benchtests/bench-strcasecmp.c: New file.
1037 * benchtests/bench-strcasestr-ifunc.c: New file.
1038 * benchtests/bench-strcasestr.c: New file.
1039 * benchtests/bench-strcat-ifunc.c: New file.
1040 * benchtests/bench-strcat.c: New file.
1041 * benchtests/bench-strchr-ifunc.c: New file.
1042 * benchtests/bench-strchr.c: New file.
1043 * benchtests/bench-strchrnul-ifunc.c: New file.
1044 * benchtests/bench-strchrnul.c: New file.
1045 * benchtests/bench-strcmp-ifunc.c: New file.
1046 * benchtests/bench-strcmp.c: New file.
1047 * benchtests/bench-strcpy-ifunc.c: New file.
1048 * benchtests/bench-strcpy.c: New file.
1049 * benchtests/bench-strcspn-ifunc.c: New file.
1050 * benchtests/bench-strcspn.c: New file.
1051 * benchtests/bench-strlen-ifunc.c: New file.
1052 * benchtests/bench-strlen.c: New file.
1053 * benchtests/bench-strncasecmp-ifunc.c: New file.
1054 * benchtests/bench-strncasecmp.c: New file.
1055 * benchtests/bench-strncat-ifunc.c: New file.
1056 * benchtests/bench-strncat.c: New file.
1057 * benchtests/bench-strncmp-ifunc.c: New file.
1058 * benchtests/bench-strncmp.c: New file.
1059 * benchtests/bench-strncpy-ifunc.c: New file.
1060 * benchtests/bench-strncpy.c: New file.
1061 * benchtests/bench-strnlen-ifunc.c: New file.
1062 * benchtests/bench-strnlen.c: New file.
1063 * benchtests/bench-strpbrk-ifunc.c: New file.
1064 * benchtests/bench-strpbrk.c: New file.
1065 * benchtests/bench-strrchr-ifunc.c: New file.
1066 * benchtests/bench-strrchr.c: New file.
1067 * benchtests/bench-strspn-ifunc.c: New file.
1068 * benchtests/bench-strspn.c: New file.
1069 * benchtests/bench-strstr-ifunc.c: New file.
1070 * benchtests/bench-strstr.c: New file.
1071
c1f75dc3
SP
1072 * benchtests/Makefile: Disable parallel execution of targets.
1073 (string-bench): Add memcpy.
1074 (benchset): New variable to store a list of benchmark sets.
1075 (bench-func): Renamed from bench.
1076 (bench-set): New target.
1077 (bench): Depend on bench-func and bench-set.
1078 * benchtests/README: Add section on benchmark sets.
1079 * benchtests/bench-memcpy-ifunc.c: New file.
1080 * benchtests/bench-memcpy.c: New file.
1081 * benchtests/bench-string.h: New file.
1082
50fd745b
AS
10832013-06-11 Andreas Schwab <schwab@suse.de>
1084
1085 [BZ #15577]
1086 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1087 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1088 values in the triple.
1089 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1090 terminator in the group key.
1091
3ee7e9fe
AJ
10922013-06-11 Andreas Jaeger <aj@suse.de>
1093
1094 * po/zh_TW.po: Update Chinese (traditional) translation from
1095 translation project.
1096
89fb6835
SP
10972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1098
1099 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1100 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1101 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1102 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1103 (clock_getcpuclockid): Likewise.
1104 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1105 Add weak_alias and libc_hidden_def.
1106 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1107 * rt/clock_gettime.c (clock_gettime): Rename to
1108 __clock_gettime. Add weak_alias and libc_hidden_def.
1109 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1110 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1111 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1112 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1113 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1114 Likewise.
1115 * rt/clock_settime.c (clock_settime): Rename to
1116 __clock_settime. Add weak_alias and libc_hidden_def.
1117 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1118
0efa6f8b
JM
11192013-06-10 Joseph Myers <joseph@codesourcery.com>
1120
b8c61b4b
JM
1121 * mach/err_boot.sub: Remove trailing whitespace.
1122 * mach/err_ipc.sub: Likewise.
1123 * mach/err_mach.sub: Likewise.
1124
0efa6f8b
JM
1125 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1126 (ROUNDING_TESTS_double): Likewise.
1127 (ROUNDING_TESTS_long_double): Likewise.
1128 (ROUNDING_TESTS): Likewise.
1129 * math/libm-test.inc: Include <math-tests.h>.
1130 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1131 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1132 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1133 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1134
50b818bf
SP
11352013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1136
1137 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1138 of assigning.
1139
60d2f8f3
JM
11402013-06-08 Joseph Myers <joseph@codesourcery.com>
1141
4902d2c3
JM
1142 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1143 otherwise empty TRANS lines.
1144 * sysdeps/gnu/errlist.c: Regenerated.
1145
60d2f8f3
JM
1146 * catgets/gencat.c (error_print): Use (void) in function
1147 definition.
1148 * crypt/crypt_util.c (__init_des): Likewise.
1149 * crypt/speeds.c (Stop): Likewise.
1150 (main): Likewise.
1151 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1152 * inet/ruserpass.c (token): Likewise.
1153 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1154 * intl/localealias.c (extend_alias_table): Likewise.
1155 * intl/plural-exp.c (init_germanic_plural): Likewise.
1156 * libio/fcloseall.c (__fcloseall): Likewise.
1157 * libio/genops.c (_IO_flush_all): Likewise.
1158 (_IO_flush_all_linebuffered): Likewise.
1159 (_IO_cleanup): Likewise.
1160 (_IO_iter_begin): Likewise.
1161 (_IO_iter_end): Likewise.
1162 (_IO_list_lock): Likewise.
1163 (_IO_list_unlock): Likewise.
1164 (_IO_list_resetlock): Likewise.
1165 * libio/getchar.c (getchar): Likewise.
1166 * libio/getchar_u.c (getchar_unlocked): Likewise.
1167 * libio/getwchar.c (getwchar): Likewise.
1168 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1169 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1170 * login/getpt.c (__getpt): Likewise.
1171 * login/tst-utmp.c (main): Likewise.
1172 * malloc/hooks.c (__malloc_check_init): Likewise.
1173 * malloc/malloc.c (__malloc_stats): Likewise.
1174 * malloc/mtrace.c (tr_break): Likewise.
1175 (mtrace): Likewise.
1176 (muntrace): Likewise.
1177 * misc/fstab.c (endfsent): Likewise.
1178 * misc/getclktck.c (__getclktck): Likewise.
1179 * misc/getdtsz.c (__getdtablesize): Likewise.
1180 * misc/gethostid.c (gethostid): Likewise.
1181 * misc/getpagesize.c (__getpagesize): Likewise.
1182 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1183 (__get_nprocs): Likewise.
1184 (__get_phys_pages): Likewise.
1185 (__get_avphys_pages): Likewise.
1186 * misc/getttyent.c (getttyent): Likewise.
1187 (setttyent): Likewise.
1188 (endttyent): Likewise.
1189 * misc/getusershell.c (getusershell): Likewise.
1190 (endusershell): Likewise.
1191 (setusershell): Likewise.
1192 (initshells): Likewise.
1193 * misc/hsearch.c (__hdestroy): Likewise.
1194 * misc/sync.c (sync): Likewise.
1195 * misc/syslog.c (closelog_internal): Likewise.
1196 (closelog): Likewise.
1197 * misc/ttyslot.c (ttyslot): Likewise.
1198 * misc/vhangup.c (vhangup): Likewise.
1199 * posix/fork.c (__fork): Likewise.
1200 * posix/getegid.c (__getegid): Likewise.
1201 * posix/geteuid.c (__geteuid): Likewise.
1202 * posix/getgid.c (__getgid): Likewise.
1203 * posix/getpid.c (__getpid): Likewise.
1204 * posix/getppid.c (__getppid): Likewise.
1205 * posix/getuid.c (__getuid): Likewise.
1206 * posix/pause.c (pause): Likewise.
1207 * posix/setpgrp.c (setpgrp): Likewise.
1208 * posix/setsid.c (__setsid): Likewise.
1209 * posix/test-vfork.c (noop): Likewise.
1210 * resolv/gethnamaddr.c (_endhtent): Likewise.
1211 (_gethtent): Likewise.
1212 (ht_endhostent): Likewise.
1213 (gethostent): Likewise.
1214 (dns_service): Likewise.
1215 * stdlib/drand48.c (drand48): Likewise.
1216 * stdlib/lrand48.c (lrand48): Likewise.
1217 * stdlib/mrand48.c (mrand48): Likewise.
1218 * stdlib/rand.c (rand): Likewise.
1219 * stdlib/random.c (__random): Likewise.
1220 * stdlib/setenv.c (clearenv): Likewise.
1221 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1222 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1223 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1224 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1225 (__get_nprocs): Likewise.
1226 (__get_phys_pages): Likewise.
1227 (__get_avphys_pages): Likewise.
1228 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1229 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1230 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1231 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1232 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1233 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1234 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1235 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1236 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1237 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1238 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1239 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1240 * sysdeps/posix/clock.c (clock): Likewise.
1241 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1242 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1243 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1244 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1245 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1247 (__get_nprocs_conf): Likewise.
1248 (__get_phys_pages): Likewise.
1249 (__get_avphys_pages): Likewise.
1250 * time/clock.c (clock): Likewise.
1251 * time/tzset.c (__tzname_max): Likewise.
1252
2e09a79a
JM
12532013-06-07 Joseph Myers <joseph@codesourcery.com>
1254
1255 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1256 (__bswap_32): Do not use "register".
1257 * crypt/crypt.c (_ufc_doit_r): Likewise.
1258 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1259 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1260 * gmon/gmon.c (__monstartup): Likewise.
1261 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1262 * hurd/hurdmalloc.c (more_memory): Likewise.
1263 (malloc): Likewise.
1264 (free): Likewise.
1265 (realloc): Likewise.
1266 (malloc_fork_prepare): Likewise.
1267 (malloc_fork_parent): Likewise.
1268 (malloc_fork_child): Likewise.
1269 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1270 (_svcauth_des): Likewise.
1271 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1272 * inet/inet_net.c (inet_network): Likewise.
1273 * inet/inet_netof.c (inet_netof): Likewise.
1274 * inet/rcmd.c (__validuser2_sa): Likewise.
1275 * io/fts.c (fts_open): Likewise.
1276 (fts_load): Likewise.
1277 (fts_close): Likewise.
1278 (fts_read): Likewise.
1279 (fts_children): Likewise.
1280 (fts_build): Likewise.
1281 (fts_stat): Likewise.
1282 (fts_sort): Likewise.
1283 (fts_alloc): Likewise.
1284 (fts_lfree): Likewise.
1285 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1286 (_IO_file_xsgetn): Likewise.
1287 (_IO_file_xsgetn_mmap): Likewise.
1288 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1289 (_IO_cookie_write): Likewise.
1290 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1291 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1292 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1293 * malloc/obstack.c (_obstack_begin): Likewise.
1294 (_obstack_begin_1): Likewise.
1295 (_obstack_newchunk): Likewise.
1296 (_obstack_allocated_p): Likewise.
1297 (obstack_free): Likewise.
1298 (_obstack_memory_used): Likewise.
1299 * misc/getttyent.c (getttynam): Likewise.
1300 (getttyent): Likewise.
1301 (skip): Likewise.
1302 (value): Likewise.
1303 * misc/getusershell.c (initshells): Likewise.
1304 * misc/syslog.c (__vsyslog_chk): Likewise.
1305 * misc/ttyslot.c (ttyslot): Likewise.
1306 * nis/nis_hash.c (__nis_hash): Likewise.
1307 * posix/fnmatch_loop.c (FCT): Likewise.
1308 * posix/getconf.c (print_all): Likewise.
1309 (main): Likewise.
1310 * posix/getopt.c (exchange): Likewise.
1311 * posix/glob.c (globfree): Likewise.
1312 (prefix_array): Likewise.
1313 (__glob_pattern_type): Likewise.
1314 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1315 (NS_GET32): Likewise.
1316 (NS_PUT16): Likewise.
1317 (NS_PUT32): Likewise.
1318 * resolv/gethnamaddr.c (getanswer): Likewise.
1319 (gethostbyname2): Likewise.
1320 (gethostbyaddr): Likewise.
1321 (_gethtent): Likewise.
1322 (_gethtbyname2): Likewise.
1323 (_gethtbyaddr): Likewise.
1324 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1325 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1326 * resolv/res_init.c (__res_vinit): Likewise.
1327 (net_mask): Likewise.
1328 * resolv/res_mkquery.c (outchar): Likewise.
1329 (PRINT): Likewise.
1330 * stdio-common/printf_fp.c (outchar): Likewise.
1331 (PRINT): Likewise.
1332 * stdio-common/printf_fphex.c (outchar): Likewise.
1333 (PRINT): Likewise.
1334 * stdio-common/printf_size.c (outchar): Likewise.
1335 (PRINT): Likewise.
1336 * stdio-common/test_rdwr.c (main): Likewise.
1337 * stdio-common/tfformat.c (matches): Likewise.
1338 * stdio-common/vfprintf.c (outchar): Likewise.
1339 (printf_unknown): Likewise.
1340 (buffered_vfprintf): Likewise.
1341 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1342 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1343 (ReadFile): Likewise.
1344 * stdlib/qsort.c (SWAP): Likewise.
1345 (_quicksort): Likewise.
1346 * stdlib/setenv.c (__add_to_environ): Likewise.
1347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1348 * stdlib/strtol_l.c (__strtol_l): Likewise.
1349 * stdlib/tst-strtod.c (main): Likewise.
1350 * stdlib/tst-strtol.c (main): Likewise.
1351 * stdlib/tst-strtoll.c (main): Likewise.
1352 * string/bits/string2.h (__strcmp_cc): Likewise.
1353 (__strcmp_cg): Likewise.
1354 (__strcspn_c1): Likewise.
1355 (__strcspn_c2): Likewise.
1356 (__strcspn_c3): Likewise.
1357 (__strspn_c1): Likewise.
1358 (__strspn_c2): Likewise.
1359 (__strspn_c3): Likewise.
1360 (__strsep_1c): Likewise.
1361 (__strsep_2c): Likewise.
1362 (__strsep_3c): Likewise.
1363 * string/memccpy.c (__memccpy): Likewise.
1364 * string/stpcpy.c (__stpcpy): Likewise.
1365 * string/strcmp.c (strcmp): Likewise.
1366 * string/strrchr.c (strrchr): Likewise.
1367 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1368 Likewise.
1369 * sysdeps/mach/hurd/getcwd.c
1370 (_hurd_canonicalize_directory_name_internal): Likewise.
1371 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1372 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1373 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1374 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1375 Likewise, in both definitions.
1376 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1377 definitions.
1378 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1379 64] (__bswap_64): Likewise.
1380 * time/test_time.c (main): Likewise.
1381 * time/tzfile.c (__tzfile_read): Likewise.
1382 (__tzfile_compute): Likewise.
1383 * time/tzset.c (__tzset_parse_tz): Likewise.
1384 (tzset_internal): Likewise.
1385 (compute_change): Likewise.
1386 * wcsmbs/wcscat.c (__wcscat): Likewise.
1387 * wcsmbs/wcschr.c (wcschr): Likewise.
1388 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1389 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1390 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1391 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1392 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1393 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1394 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1395 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1396 * wcsmbs/wmemset.c (wmemset): Likewise.
1397
9e54314b
JM
13982013-06-06 Joseph Myers <joseph@codesourcery.com>
1399
1400 * scripts/config.guess: Update to version 2013-05-16.
1401 * scripts/config.sub: Update to version 2013-04-24.
1402 * scripts/install-sh: Update to version 2011-11-20.07.
1403 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1404 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1405
350635a5
OB
14062013-06-06 Ondřej Bílka <neleai@seznam.cz>
1407
1408 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1409 * elf/sln.c: Likewise.
1410 * hurd/hurd/ioctl.h: Likewise.
1411 * hurd/hurdmalloc.c: Likewise.
1412 * hurd/xattr.c: Likewise.
1413 * include/shlib-compat.h: Likewise.
1414 * inet/ruserpass.c: Likewise.
1415 * libio/iofgets_u.c: Likewise.
1416 * libio/iofgetws_u.c: Likewise.
1417 * locale/programs/ld-identification.c: Likewise.
1418 * locale/programs/ld-time.c: Likewise.
1419 * mach/msg-destroy.c: Likewise.
1420 * nss/nss_files/files-netgrp.c: Likewise.
1421 * resolv/res_data.c: Likewise.
1422 * soft-fp/op-1.h: Likewise.
1423 * soft-fp/op-2.h: Likewise.
1424 * soft-fp/op-4.h: Likewise.
1425 * soft-fp/op-common.h: Likewise.
1426 * stdio-common/printf_fphex.c: Likewise.
1427 * stdlib/strtod_l.c: Likewise.
1428 * sunrpc/rpc/clnt.h: Likewise.
1429 * sysdeps/generic/framestate.c: Likewise.
1430 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1431 * sysdeps/i386/bsd-setjmp.S: Likewise.
1432 * sysdeps/i386/__longjmp.S: Likewise.
1433 * sysdeps/i386/setjmp.S: Likewise.
1434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1437 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1439 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1444 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1452 * sysdeps/ieee754/support.c: Likewise.
1453 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1454 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1455 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1456 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1457 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1458 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1459 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1460 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1461 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1462 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1463 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1464 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1465 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1466 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1467 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1468 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1469 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1471
44a988af
OB
14722013-06-05 Ondřej Bílka <neleai@seznam.cz>
1473
25506f09 1474 * posix/transbug.c: Remove executable mode.
44a988af 1475
9c84384c
JM
14762013-06-05 Joseph Myers <joseph@codesourcery.com>
1477
1478 * crypt/speeds.c: Remove trailing whitespace.
1479 * dlfcn/default.c: Likewise.
1480 * elf/ifuncdep2.c: Likewise.
1481 * elf/ifuncmain1.c: Likewise.
1482 * elf/ifuncmain1vis.c: Likewise.
1483 * elf/testobj.h: Likewise.
1484 * elf/tst-stackguard1.c: Likewise.
1485 * gmon/sys/gmon.h: Likewise.
1486 * hurd/hurdmsg.c: Likewise.
1487 * hurd/new-fd.c: Likewise.
1488 * hurd/ports-get.c: Likewise.
1489 * iconvdata/ibm1008_420.c: Likewise.
1490 * inet/tst-getni1.c: Likewise.
1491 * inet/tst-getni2.c: Likewise.
1492 * libio/ioungetc.c: Likewise.
1493 * libio/wfiledoalloc.c: Likewise.
1494 * manual/libm-err-tab.pl: Likewise.
1495 * math/w_dremf.c: Likewise.
1496 * misc/ftruncate.c: Likewise.
1497 * posix/bug-glob2.c: Likewise.
1498 * posix/tst-pcre.c: Likewise.
1499 * posix/wait4.c: Likewise.
1500 * resolv/README: Likewise.
1501 * resolv/res_debug.h: Likewise.
1502 * resolv/tst-inet_ntop.c: Likewise.
1503 * setjmp/bug269-setjmp.c: Likewise.
1504 * soft-fp/extended.h: Likewise.
1505 * soft-fp/op-1.h: Likewise.
1506 * soft-fp/op-2.h: Likewise.
1507 * soft-fp/op-4.h: Likewise.
1508 * soft-fp/op-8.h: Likewise.
1509 * soft-fp/testit.c: Likewise.
1510 * stdio-common/bug16.c: Likewise.
1511 * stdlib/random.c: Likewise.
1512 * sunrpc/rpcsvc/rquota.x: Likewise.
1513 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1514 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1515 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1516 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1517 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1518 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1519 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1520 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1521 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1522 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1523 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1542 * sysdeps/ieee754/s_lib_version.c: Likewise.
1543 * sysdeps/mach/hurd/check_fds.c: Likewise.
1544 * sysdeps/mach/hurd/getsockname.c: Likewise.
1545 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1546 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1547 * sysdeps/powerpc/bits/link.h: Likewise.
1548 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1549 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1550 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1551 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1552 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1553 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1554 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1555 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1556 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1558 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1559 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1560 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1563 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1569 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1570 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1571 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1575 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1576 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1577 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1578 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1580 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1581 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1582 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1583 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1585 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1586 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1587 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1588 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1596 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1597 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1600 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1601 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1603 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1604 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1606 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1607 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1608 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1609 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1610 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1611 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1612 * sysdeps/powerpc/sysdep.h: Likewise.
1613 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1614 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1615 * sysdeps/sh/dl-trampoline.S: Likewise.
1616 * sysdeps/sh/memset.S: Likewise.
1617 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1618 * sysdeps/sh/strlen.S: Likewise.
1619 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1620 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1621 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1622 * sysdeps/sparc/sparc32/rem.S: Likewise.
1623 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1624 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1625 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1626 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1627 * sysdeps/sparc/sparc32/urem.S: Likewise.
1628 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1629 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1630 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1631 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1633 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1634 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1635 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1636 * sysdeps/unix/bsd/times.c: Likewise.
1637 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1638 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1642 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1643 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1645 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1646 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1647 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1648 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1649 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1650 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1651 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1652 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1653 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1654 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1655 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1656 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1657 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1658 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1659 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1660 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1661 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1662 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1663 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1665 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1666 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1667 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1668 * sysdeps/x86_64/strcspn.S: Likewise.
1669
869378a5
RA
16702013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1671
1672 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1673 generated file. Regenerate properly from gen-translit.pl.
1674 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1675 locale/C-translit.h.
1676
840e2943
AS
16772013-06-05 Andreas Schwab <schwab@suse.de>
1678
1679 [BZ #15100]
1680 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1681 week as 6 instead of -1.
1682 * time/tst-strptime.c (day_tests): Add test case.
1683
4c60cb0c
SP
16842013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1685
1686 * sysdeps/generic/math_private.h
1687 (libc_feholdexcept_setround_53bit): Replace with
1688 libc_feholdsetround_53bit.
1689 (libc_feupdateenv_53bit): Replace with
1690 libc_feresetround_53bit.
1691 (SET_RESTORE_ROUND_53BIT): Adjust.
1692
d180203e
SP
16932013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
96df079a
SP
1695 * string/test-strchrnul.c: Add copyright header.
1696
d180203e
SP
1697 * posix/tst-getaddrinfo4.c: Increase test timeout.
1698
8b0ccb2d
CD
16992013-06-03 Carlos O'Donell <carlos@redhat.com>
1700
1701 [BZ #15536]
1702 * math/libm-test.inc (MAX_EXP): Remove
1703 (MIN_EXP): Define.
1704 (ulp): Use MIN_EXP - MANT_DIG.
1705 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1706
3b3c4d40
CD
17072013-05-31 Carlos O'Donell <carlos@redhat.com>
1708
1709 * po/be.po: Revert last change.
1710 * po/zh_CN.po: Likewise.
1711 * po/header.pot: Likewise.
1712
fab7ce3f
JM
17132013-05-31 Joseph Myers <joseph@codesourcery.com>
1714
1715 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1716 link-libc-deps to empty as target-specific variable.
1717 * Makerules (link-libc-args): New variable.
1718 (libc-for-link): Likewise.
1719 (link-libc-deps): Likewise.
1720 (lib%.so): Depend on $(link-libc-deps). Link with
1721 $(link-libc-args).
1722 (build-module): Link with $(link-libc-args).
1723 (build-module-asneeded): Likewise.
1724 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1725 list of objects.
1726 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1727 target-specific variable.
1728 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1729 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1730 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1731 libc.
1732 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1733 libc and ld.so.
1734 ($(objpfx)libpcprofile.so): Likewise.
1735 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1736 libc_nonshared.a.
1737 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1738 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1739 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1740 $(link-libc-deps).
1741 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1742 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1743 * login/Makefile ($(objpfx)libutil.so): Likewise.
1744 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1745 * math/Makefile ($(objpfx)libm.so): Likewise.
1746 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1747 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1748 variable instead of depending directly on libc.
1749 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1750 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1751 $(link-libc-deps).
1752 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1753 libc.
1754 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1755 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1756 ($(objpfx)libanl.so): Likewise.
1757 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1758 ld.so.
1759 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1760 $(link-libc-deps).
1761 * sysdeps/i386/fpu/Makefile: Remove file.
1762 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1763 ($(objpfx)libm.so): Remove dependency on ld.so.
1764
eca5920c
PF
17652013-05-30 Patsy Franklin <pfrankli@redhat.com>
1766
1767 [BZ # 15553]
1768 * nis/yp_xdr.c (XDRMAXNAME): Define.
1769 (XDRMAXRECORD): Define.
1770 (xdr_domainname): Use XDRMAXNAME.
1771 (xdr_mapname): Likewise.
1772 (xdr_peername): Likewise.
1773 (xdr_keydat): Use XDRMAXRECORD.
1774 (xdr_valdat): Likewise.
1775
17762013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1777
1778 [BZ #14256]
1779 * manual/errno.texi (ESTALE): Update to account for more than
1780 just NFS file systems.
1781 * sysdeps/gnu/errlist.c: Regenerated.
1782
b9375348
SP
17832013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1784
1785 [BZ #15465]
1786 * elf/Makefile (tests): Add tst-null-argv.
1787 (modules-names): Add tst-null-argv-lib.
1788 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1789 (tst-null-argv-ENV): Set environment for tst-null-argv.
1790 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1791 (RTLD_PROGNAME): New macro.
1792 * elf/tst-null-argv.c: New test case.
1793 * elf/tst-null-argv-lib.c: Library for test case.
1794 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1795 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1796 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1797 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1798 * elf/dl-init.c (call_init): Likewise.
1799 (_dl_init): Likewise.
1800 * elf/dl-load.c (print_search_path): Likewise.
1801 (_dl_map_object): Likewise.
1802 * elf/dl-lookup.c (do_lookup_x): Likewise.
1803 (add_dependency): Likewise.
1804 (_dl_lookup_symbol_x): Likewise.
1805 (_dl_debug_bindings): Likewise.
1806 * elf/dl-open.c (_dl_show_scope): Likewise.
1807 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1808 * elf/dl-version.c (match_symbol): Likewise.
1809 (_dl_check_map_versions): Likewise.
1810 * elf/rtld.c (dl_main): Likewise.
1811 (print_unresolved): Use RTLD_PROGNAME.
1812 (print_missing_version): Likewise.
1813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1814 (elf_machine_rela): Likewise.
1815 * sysdeps/powerpc/powerpc32/dl-machine.c
1816 (__process_machine_rela): Likewise.
1817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1818 Likewise.
1819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1820 Likewise.
1821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1822 Likewise.
1823 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1825 Likewise.
1826 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1827 Likewise.
1828 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1829
8a9f20c8
CD
18302013-05-28 Carlos O'Donell <carlos@redhat.com>
1831
1832 * po/be.po: Add descriptive title.
1833 * po/zh_CN.po: Likewise.
1834 * po/header.pot: Likewise.
1835
0e60d68e
MF
18362013-05-28 Mike Frysinger <vapier@gentoo.org>
1837
1838 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1839 error message.
1840 (enlarge_archive): Likewise.
1841
56b672e9
BN
18422013-05-28 Ben North <ben@redfrontdoor.org>
1843
1844 * manual/arith.texi (frexp): It is the magnitude of the return
1845 value which lies in [0.5, 1), not the return value itself.
1846
5e056687
AZ
18472013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848
1849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1850
2b66ef5d
TS
18512013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1852
528c2405
TS
1853 * stdio-common/bug26.c (main): Correct fscanf template.
1854
07b4c13d
TS
1855 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1856 declare _dl_skip_args.
1857
ec9dd97c
TS
1858 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1859 Don't declare.
1860
2b66ef5d
TS
1861 * manual/platform.texi: Add missing @end deftypefun.
1862
4f8dfe27
JM
18632013-05-24 Joseph Myers <joseph@codesourcery.com>
1864
0323d086
JM
1865 [BZ #15529]
1866 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1867 bit of mantissa of 2^16382.
1868 * math/libm-test.inc (hypot_test_data): Add more tests.
1869
dd4259b9
JM
1870 * math/libm-test.inc: Add drem and pow10 to list of tested
1871 functions.
1872 (pow10_test): New function.
1873 (drem_test): Likewise.
1874 (drem_test_tonearest): Likewise.
1875 (drem_test_towardzero): Likewise.
1876 (drem_test_downward): Likewise.
1877 (drem_test_upward): Likewise.
1878 (main): Call the new functions.
1879
4f8dfe27
JM
1880 * math/libm-test.inc (finite_test_data): Remove.
1881 (finite_test): Run tests from isfinite_test_data.
1882 (gamma_test_data): Remove.
1883 (gamma_test): Run tests from lgamma_test_data.
1884 * sysdeps/i386/fpu/libm-test-ulps: Update.
1885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1886
d116b7c4
AZ
18872013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888
1889 * manual/platform.texi: Add PowerPC PPR function set documentation.
1890 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1891 implementation.
1892
e96e3767
CD
18932013-05-24 Carlos O'Donell <carlos@redhat.com>
1894
1895 * math/libm-test.inc (MAX_EXP): Define.
1896 (ULPDIFF): Define.
1897 (ulp): New function.
1898 (check_float_internal): Use ULPDIFF.
1899 (cpow_test): Disable failing test.
1900 (check_ulp): Test ulp() implemetnation.
1901 (main): Call check_ulp before starting tests.
1902
b679a606
JM
19032013-05-24 Joseph Myers <joseph@codesourcery.com>
1904
e8bdba36
JM
1905 * math/gen-libm-test.pl (generate_testfile): Do not handle
1906 START_DATA and END_DATA.
1907 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1908 END_DATA.
1909 (acos_tonearest_test_data): Likewise.
1910 (acos_towardzero_test_data): Likewise.
1911 (acos_downward_test_data): Likewise.
1912 (acos_upward_test_data): Likewise.
1913 (acosh_test_data): Likewise.
1914 (asin_test_data): Likewise.
1915 (asin_tonearest_test_data): Likewise.
1916 (asin_towardzero_test_data): Likewise.
1917 (asin_downward_test_data): Likewise.
1918 (asin_upward_test_data): Likewise.
1919 (asinh_test_data): Likewise.
1920 (atan_test_data): Likewise.
1921 (atanh_test_data): Likewise.
1922 (atan2_test_data): Likewise.
1923 (cabs_test_data): Likewise.
1924 (cacos_test_data): Likewise.
1925 (cacosh_test_data): Likewise.
1926 (carg_test_data): Likewise.
1927 (casin_test_data): Likewise.
1928 (casinh_test_data): Likewise.
1929 (catan_test_data): Likewise.
1930 (catanh_test_data): Likewise.
1931 (cbrt_test_data): Likewise.
1932 (ccos_test_data): Likewise.
1933 (ccosh_test_data): Likewise.
1934 (ceil_test_data): Likewise.
1935 (cexp_test_data): Likewise.
1936 (cimag_test_data): Likewise.
1937 (clog_test_data): Likewise.
1938 (clog10_test_data): Likewise.
1939 (conj_test_data): Likewise.
1940 (copysign_test_data): Likewise.
1941 (cos_test_data): Likewise.
1942 (cos_tonearest_test_data): Likewise.
1943 (cos_towardzero_test_data): Likewise.
1944 (cos_downward_test_data): Likewise.
1945 (cos_upward_test_data): Likewise.
1946 (cosh_test_data): Likewise.
1947 (cosh_tonearest_test_data): Likewise.
1948 (cosh_towardzero_test_data): Likewise.
1949 (cosh_downward_test_data): Likewise.
1950 (cosh_upward_test_data): Likewise.
1951 (cpow_test_data): Likewise.
1952 (cproj_test_data): Likewise.
1953 (creal_test_data): Likewise.
1954 (csin_test_data): Likewise.
1955 (csinh_test_data): Likewise.
1956 (csqrt_test_data): Likewise.
1957 (ctan_test_data): Likewise.
1958 (ctan_tonearest_test_data): Likewise.
1959 (ctan_towardzero_test_data): Likewise.
1960 (ctan_downward_test_data): Likewise.
1961 (ctan_upward_test_data): Likewise.
1962 (ctanh_test_data): Likewise.
1963 (ctanh_tonearest_test_data): Likewise.
1964 (ctanh_towardzero_test_data): Likewise.
1965 (ctanh_downward_test_data): Likewise.
1966 (ctanh_upward_test_data): Likewise.
1967 (erf_test_data): Likewise.
1968 (erfc_test_data): Likewise.
1969 (exp_test_data): Likewise.
1970 (exp_tonearest_test_data): Likewise.
1971 (exp_towardzero_test_data): Likewise.
1972 (exp_downward_test_data): Likewise.
1973 (exp_upward_test_data): Likewise.
1974 (exp10_test_data): Likewise.
1975 (exp2_test_data): Likewise.
1976 (expm1_test_data): Likewise.
1977 (fabs_test_data): Likewise.
1978 (fdim_test_data): Likewise.
1979 (finite_test_data): Likewise.
1980 (floor_test_data): Likewise.
1981 (fma_test_data): Likewise.
1982 (fma_towardzero_test_data): Likewise.
1983 (fma_downward_test_data): Likewise.
1984 (fma_upward_test_data): Likewise.
1985 (fmax_test_data): Likewise.
1986 (fmin_test_data): Likewise.
1987 (fmod_test_data): Likewise.
1988 (fpclassify_test_data): Likewise.
1989 (frexp_test_data): Likewise.
1990 (gamma_test_data): Likewise.
1991 (hypot_test_data): Likewise.
1992 (ilogb_test_data): Likewise.
1993 (isfinite_test_data): Likewise.
1994 (isgreater_test_data): Likewise.
1995 (isgreaterequal_test_data): Likewise.
1996 (isinf_test_data): Likewise.
1997 (isless_test_data): Likewise.
1998 (islessequal_test_data): Likewise.
1999 (islessgreater_test_data): Likewise.
2000 (isnan_test_data): Likewise.
2001 (isnormal_test_data): Likewise.
2002 (issignaling_test_data): Likewise.
2003 (isunordered_test_data): Likewise.
2004 (j0_test_data): Likewise.
2005 (j1_test_data): Likewise.
2006 (jn_test_data): Likewise.
2007 (ldexp_test_data): Likewise.
2008 (lgamma_test_data): Likewise.
2009 (lrint_test_data): Likewise.
2010 (lrint_tonearest_test_data): Likewise.
2011 (lrint_towardzero_test_data): Likewise.
2012 (lrint_downward_test_data): Likewise.
2013 (lrint_upward_test_data): Likewise.
2014 (llrint_test_data): Likewise.
2015 (llrint_tonearest_test_data): Likewise.
2016 (llrint_towardzero_test_data): Likewise.
2017 (llrint_downward_test_data): Likewise.
2018 (llrint_upward_test_data): Likewise.
2019 (log_test_data): Likewise.
2020 (log10_test_data): Likewise.
2021 (log1p_test_data): Likewise.
2022 (log2_test_data): Likewise.
2023 (logb_test_data): Likewise.
2024 (logb_downward_test_data): Likewise.
2025 (lround_test_data): Likewise.
2026 (llround_test_data): Likewise.
2027 (modf_test_data): Likewise.
2028 (nearbyint_test_data): Likewise.
2029 (nextafter_test_data): Likewise.
2030 (nexttoward_test_data): Likewise.
2031 (pow_test_data): Likewise.
2032 (pow_tonearest_test_data): Likewise.
2033 (pow_towardzero_test_data): Likewise.
2034 (pow_downward_test_data): Likewise.
2035 (pow_upward_test_data): Likewise.
2036 (remainder_test_data): Likewise.
2037 (remainder_tonearest_test_data): Likewise.
2038 (remainder_towardzero_test_data): Likewise.
2039 (remainder_downward_test_data): Likewise.
2040 (remainder_upward_test_data): Likewise.
2041 (remquo_test_data): Likewise.
2042 (rint_test_data): Likewise.
2043 (rint_tonearest_test_data): Likewise.
2044 (rint_towardzero_test_data): Likewise.
2045 (rint_downward_test_data): Likewise.
2046 (rint_upward_test_data): Likewise.
2047 (round_test_data): Likewise.
2048 (scalb_test_data): Likewise.
2049 (scalbn_test_data): Likewise.
2050 (scalbln_test_data): Likewise.
2051 (signbit_test_data): Likewise.
2052 (sin_test_data): Likewise.
2053 (sin_tonearest_test_data): Likewise.
2054 (sin_towardzero_test_data): Likewise.
2055 (sin_downward_test_data): Likewise.
2056 (sin_upward_test_data): Likewise.
2057 (sincos_test_data): Likewise.
2058 (sinh_test_data): Likewise.
2059 (sinh_tonearest_test_data): Likewise.
2060 (sinh_towardzero_test_data): Likewise.
2061 (sinh_downward_test_data): Likewise.
2062 (sinh_upward_test_data): Likewise.
2063 (sqrt_test_data): Likewise.
2064 (tan_test_data): Likewise.
2065 (tan_tonearest_test_data): Likewise.
2066 (tan_towardzero_test_data): Likewise.
2067 (tan_downward_test_data): Likewise.
2068 (tan_upward_test_data): Likewise.
2069 (tanh_test_data): Likewise.
2070 (tgamma_test_data): Likewise.
2071 (trunc_test_data): Likewise.
2072 (y0_test_data): Likewise.
2073 (y1_test_data): Likewise.
2074 (yn_test_data): Likewise.
2075 (significand_test_data): Likewise.
2076
b679a606
JM
2077 * math/gen-libm-test.pl (@functions): Remove variable.
2078 (generate_testfile): Don't handle START and END lines.
2079 * math/libm-test.inc (START): New macro.
2080 (END): Likewise.
2081 (END_COMPLEX): Likewise.
2082 (acos_test): Use END macro without arguments.
2083 (acos_test_tonearest): Likewise.
2084 (acos_test_towardzero): Likewise.
2085 (acos_test_downward): Likewise.
2086 (acos_test_upward): Likewise.
2087 (acosh_test): Likewise.
2088 (asin_test): Likewise.
2089 (asin_test_tonearest): Likewise.
2090 (asin_test_towardzero): Likewise.
2091 (asin_test_downward): Likewise.
2092 (asin_test_upward): Likewise.
2093 (asinh_test): Likewise.
2094 (atan_test): Likewise.
2095 (atanh_test): Likewise.
2096 (atan2_test): Likewise.
2097 (cabs_test): Likewise.
2098 (cacos_test): Use END_COMPLEX macro without arguments.
2099 (cacosh_test): Likewise.
2100 (carg_test): Use END macro without arguments.
2101 (casin_test): Use END_COMPLEX macro without arguments.
2102 (casinh_test): Likewise.
2103 (catan_test): Likewise.
2104 (catanh_test): Likewise.
2105 (cbrt_test): Use END macro without arguments.
2106 (ccos_test): Use END_COMPLEX macro without arguments.
2107 (ccosh_test): Likewise.
2108 (ceil_test): Use END macro without arguments.
2109 (cexp_test): Use END_COMPLEX macro without arguments.
2110 (cimag_test): Use END macro without arguments.
2111 (clog_test): Use END_COMPLEX macro without arguments.
2112 (clog10_test): Likewise.
2113 (conj_test): Likewise.
2114 (copysign_test): Use END macro without arguments.
2115 (cos_test): Likewise.
2116 (cos_test_tonearest): Likewise.
2117 (cos_test_towardzero): Likewise.
2118 (cos_test_downward): Likewise.
2119 (cos_test_upward): Likewise.
2120 (cosh_test): Likewise.
2121 (cosh_test_tonearest): Likewise.
2122 (cosh_test_towardzero): Likewise.
2123 (cosh_test_downward): Likewise.
2124 (cosh_test_upward): Likewise.
2125 (cpow_test): Use END_COMPLEX macro without arguments.
2126 (cproj_test): Likewise.
2127 (creal_test): Use END macro without arguments.
2128 (csin_test): Use END_COMPLEX macro without arguments.
2129 (csinh_test): Likewise.
2130 (csqrt_test): Likewise.
2131 (ctan_test): Likewise.
2132 (ctan_test_tonearest): Likewise.
2133 (ctan_test_towardzero): Likewise.
2134 (ctan_test_downward): Likewise.
2135 (ctan_test_upward): Likewise.
2136 (ctanh_test): Likewise.
2137 (ctanh_test_tonearest): Likewise.
2138 (ctanh_test_towardzero): Likewise.
2139 (ctanh_test_downward): Likewise.
2140 (ctanh_test_upward): Likewise.
2141 (erf_test): Use END macro without arguments.
2142 (erfc_test): Likewise.
2143 (exp_test): Likewise.
2144 (exp_test_tonearest): Likewise.
2145 (exp_test_towardzero): Likewise.
2146 (exp_test_downward): Likewise.
2147 (exp_test_upward): Likewise.
2148 (exp10_test): Likewise.
2149 (exp2_test): Likewise.
2150 (expm1_test): Likewise.
2151 (fabs_test): Likewise.
2152 (fdim_test): Likewise.
2153 (finite_test): Likewise.
2154 (floor_test): Likewise.
2155 (fma_test): Likewise.
2156 (fma_test_towardzero): Likewise.
2157 (fma_test_downward): Likewise.
2158 (fma_test_upward): Likewise.
2159 (fmax_test): Likewise.
2160 (fmin_test): Likewise.
2161 (fmod_test): Likewise.
2162 (fpclassify_test): Likewise.
2163 (frexp_test): Likewise.
2164 (gamma_test): Likewise.
2165 (hypot_test): Likewise.
2166 (ilogb_test): Likewise.
2167 (isfinite_test): Likewise.
2168 (isgreater_test): Likewise.
2169 (isgreaterequal_test): Likewise.
2170 (isinf_test): Likewise.
2171 (isless_test): Likewise.
2172 (islessequal_test): Likewise.
2173 (islessgreater_test): Likewise.
2174 (isnan_test): Likewise.
2175 (isnormal_test): Likewise.
2176 (issignaling_test): Likewise.
2177 (isunordered_test): Likewise.
2178 (j0_test): Likewise.
2179 (j1_test): Likewise.
2180 (jn_test): Likewise.
2181 (ldexp_test): Likewise.
2182 (lgamma_test): Likewise.
2183 (lrint_test): Likewise.
2184 (lrint_test_tonearest): Likewise.
2185 (lrint_test_towardzero): Likewise.
2186 (lrint_test_downward): Likewise.
2187 (lrint_test_upward): Likewise.
2188 (llrint_test): Likewise.
2189 (llrint_test_tonearest): Likewise.
2190 (llrint_test_towardzero): Likewise.
2191 (llrint_test_downward): Likewise.
2192 (llrint_test_upward): Likewise.
2193 (log_test): Likewise.
2194 (log10_test): Likewise.
2195 (log1p_test): Likewise.
2196 (log2_test): Likewise.
2197 (logb_test): Likewise.
2198 (logb_test_downward): Likewise.
2199 (lround_test): Likewise.
2200 (llround_test): Likewise.
2201 (modf_test): Likewise.
2202 (nearbyint_test): Likewise.
2203 (nextafter_test): Likewise.
2204 (nexttoward_test): Likewise.
2205 (pow_test): Likewise.
2206 (pow_test_tonearest): Likewise.
2207 (pow_test_towardzero): Likewise.
2208 (pow_test_downward): Likewise.
2209 (pow_test_upward): Likewise.
2210 (remainder_test): Likewise.
2211 (remainder_test_tonearest): Likewise.
2212 (remainder_test_towardzero): Likewise.
2213 (remainder_test_downward): Likewise.
2214 (remainder_test_upward): Likewise.
2215 (remquo_test): Likewise.
2216 (rint_test): Likewise.
2217 (rint_test_tonearest): Likewise.
2218 (rint_test_towardzero): Likewise.
2219 (rint_test_downward): Likewise.
2220 (rint_test_upward): Likewise.
2221 (round_test): Likewise.
2222 (scalb_test): Likewise.
2223 (scalbn_test): Likewise.
2224 (scalbln_test): Likewise.
2225 (signbit_test): Likewise.
2226 (sin_test): Likewise.
2227 (sin_test_tonearest): Likewise.
2228 (sin_test_towardzero): Likewise.
2229 (sin_test_downward): Likewise.
2230 (sin_test_upward): Likewise.
2231 (sincos_test): Likewise.
2232 (sinh_test): Likewise.
2233 (sinh_test_tonearest): Likewise.
2234 (sinh_test_towardzero): Likewise.
2235 (sinh_test_downward): Likewise.
2236 (sinh_test_upward): Likewise.
2237 (sqrt_test): Likewise.
2238 (tan_test): Likewise.
2239 (tan_test_tonearest): Likewise.
2240 (tan_test_towardzero): Likewise.
2241 (tan_test_downward): Likewise.
2242 (tan_test_upward): Likewise.
2243 (tanh_test): Likewise.
2244 (tgamma_test): Likewise.
2245 (trunc_test): Likewise.
2246 (y0_test): Likewise.
2247 (y1_test): Likewise.
2248 (yn_test): Likewise.
2249 (significand_test): Likewise.
2250
bae143d2
OB
22512013-05-24 Ondřej Bílka <neleai@seznam.cz>
2252
2253 [BZ #15381]
2254 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2255
9323d39b
EM
22562013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2257
d4ea44a0 2258 [BZ #14894]
9323d39b
EM
2259 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2260 __ppc_mdoio and __ppc_mdoom.
2261 * manual/platform.texi: Document new functions __ppc_yield,
2262 __ppc_mdoio and __ppc_mdoom.
2263
13e23af7
CD
22642013-05-22 Carlos O'Donell <carlos@redhat.com>
2265
2266 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2267 (main): Mention "tls" pseudo-hwcap is legacy.
2268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2269
351fe550
JM
22702013-05-22 Joseph Myers <joseph@codesourcery.com>
2271
2272 * math/gen-libm-test.pl (parse_args): Output only string of
2273 arguments as text for test name, not full call or descriptions of
2274 tests for extra outputs.
2275 (generate_testfile): Do not pass function name to parse_args.
2276 Generate this_func variable from START.
2277 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2278 field to arg_str.
2279 (struct test_ff_f_data): Likewise.
2280 (test_ff_f_data_nexttoward): Likewise.
2281 (struct test_fi_f_data): Likewise.
2282 (struct test_fl_f_data): Likewise.
2283 (struct test_if_f_data): Likewise.
2284 (struct test_fff_f_data): Likewise.
2285 (struct test_c_f_data): Likewise.
2286 (struct test_f_f1_data): Likewise. Remove field extra_name.
2287 (struct test_fF_f1_data): Likewise.
2288 (struct test_ffI_f1_data): Likewise.
2289 (struct test_c_c_data): Rename test_name field to arg_str.
2290 (struct test_cc_c_data): Likewise.
2291 (struct test_f_i_data): Likewise.
2292 (struct test_ff_i_data): Likewise.
2293 (struct test_f_l_data): Likewise.
2294 (struct test_f_L_data): Likewise.
2295 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2296 and extra2_name.
2297 (COMMON_TEST_SETUP): New macro.
2298 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2299 (COMMON_TEST_CLEANUP): Likewise.
2300 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2301 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2302 macros.
2303 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2304 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2305 macros.
2306 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2307 (RUN_TEST_fff_f): Take argument string. Call new setup and
2308 cleanup macros.
2309 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2310 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2311 macros.
2312 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2313 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2314 macros.
2315 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2316 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2317 cleanup macros.
2318 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2319 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2320 cleanup macros.
2321 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2322 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2323 cleanup macros.
2324 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2325 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2326 macros.
2327 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2328 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2329 macros.
2330 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2331 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2332 macros.
2333 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2334 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2335 cleanup macros.
2336 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2337 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2338 cleanup macros.
2339 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2340 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2341 macros.
2342 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2343 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2344 cleanup macros.
2345 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2346 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2347 macros.
2348 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2349 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2350 macros.
2351 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2352 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2353 cleanup macros.
2354 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2355
85118d4d
EBM
23562013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2357
2358 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2359 to _sifields.sigfault.
2360 (si_addr_lsb): Define new macro.
2361 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2363 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2364
7a44c18f
CD
23652013-05-03 Carlos O'Donell <carlos at redhat.com>
2366
2367 [BZ #15441]
2368 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2369 returns -1.
2370 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2371 null return -1.
2372 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2373 loading the domain.
2374
b50a7181
JM
23752013-05-22 Joseph Myers <joseph@codesourcery.com>
2376
2377 * math/gen-libm-test.pl (parse_args): Do not include expected
2378 result in test name.
2379 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2380 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2381 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2382 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2383 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385
051063c8
SP
23862013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2387
3ce9e010
SP
2388 * benchtests/Makefile: Sort function entries.
2389
051063c8
SP
2390 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2391 tanh, asinh, acosh, atanh.
2392 * benchtests/acos-inputs: New file.
2393 * benchtests/acosh-inputs: New file.
2394 * benchtests/asin-inputs: New file.
2395 * benchtests/asinh-inputs: New file.
2396 * benchtests/atanh-inputs: New file.
2397 * benchtests/cosh-inputs: New file.
2398 * benchtests/log-inputs: New file.
2399 * benchtests/sinh-inputs: New file.
2400 * benchtests/tanh-inputs: New file.
2401
47c22455
DL
24022013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2403
2404 [BZ #15339]
2405 * posix/tst-getaddrinfo4.c: New test.
2406 * posix/Makefile (tests): Add it.
2407
3d04f5db
SP
24082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2409
2410 [BZ #15339]
2411 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2412 when no services were used.
2413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2414 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2415
d5dd6189
AS
24162013-05-21 Andreas Schwab <schwab@suse.de>
2417
2418 [BZ #15014]
2419 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2420 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2421 successful.
2422 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2423 redundant variable declarations and reallocation of buffer when
2424 parsing as IPv6 address. Always set NSS status when called from
2425 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2426 buffer too small. Correct computation of needed size.
2427 * nss/Makefile (tests): Add test-digits-dots.
2428 * nss/test-digits-dots.c: New test.
2429
fef94eab
SP
24302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
2432 * benchtests/Makefile: Remove instructions for adding
2433 benchmark tests.
2434 * benchtests/README: New file to explain how to execute and
2435 enhance the benchmark tests.
2436
e39adf43
AS
24372013-05-21 Andreas Schwab <schwab@suse.de>
2438
2439 [BZ #15493]
2440 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2441 * setjmp/tst-sigsetjmp.c: New test.
2442
b2b671b6
OB
24432013-05-20 Ondřej Bílka <neleai@seznam.cz>
2444
2445 * sysdeps/x86_64/memset.S (memset): New implementation.
2446 (__bzero): Likewise.
2447 (__memset_tail): New function.
2448
2d48b41c
OB
24492013-05-20 Ondřej Bílka <neleai@seznam.cz>
2450
2451 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2452 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2453 __memcpy_sse2_unaligned ifunc selection.
2454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2455 Add memcpy-sse2-unaligned.S.
2456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2457 Add: __memcpy_sse2_unaligned.
2458
f16cc3eb
JM
24592013-05-19 Joseph Myers <joseph@codesourcery.com>
2460
3e694268
JM
2461 [BZ #15490]
2462 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2463 math_force_eval before restoring floating-point envrionment.
2464 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2466 Likewise.
2467 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2468 <math_private.h>.
2469 (__nearbyintl): Use math_force_eval before restoring
2470 floating-point environment.
2471 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2472
db62a907
JM
2473 * math/gen-libm-test.pl (special_functions): Remove.
2474 (parse_args): Don't handle TEST_extra. Handle functions with no
2475 return value.
2476 * math/libm-test.inc (struct test_sincos_data): Replace with
2477 struct test_fFF_11_data.
2478 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2479 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2480 (sincos_test_data): Change element type to struct
2481 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2482 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2483 RUN_TEST_LOOP_sincos.
2484 * math/README.libm-test: Don't mention special handling of
2485 individual functions.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2488 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2489 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2490 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2492
f16cc3eb
JM
2493 * math/gen-libm-test.pl (get_variable): Remove function.
2494 (parse_args): Don't show pointer parameters to call in test
2495 names. Use "extra output N" in test names for extra outputs
2496 rather than naming variables.
2497
3779b5b6
JM
24982013-05-18 Joseph Myers <joseph@codesourcery.com>
2499
2ee094ff
JM
2500 [BZ #15488]
2501 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2502 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2503 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2504 double tests.
2505 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2506 disable.
2507 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2508 check_long_double.
2509
3779b5b6
JM
2510 * math/gen-libm-test.pl (@tests): Remove variable.
2511 ($count): Likewise.
2512 (new_test): Remove function.
2513 (show_exceptions): New function.
2514 (special_functions): Use show_exceptions instead of new_test.
2515 (parse_args): Likewise.
2516 (generate_testfile): Pass only function name in generated call to
2517 print_max_error or print_complex_max_error.
2518 (get_ulps): Do not handle complex tests specially.
2519 (output_test): Rename to ...
2520 (get_all_ulps_for_test): ... this. Return a string rather than
2521 printing to a file. Require ulps to be present.
2522 (output_ulps): Generate arrays rather than #defines.
2523 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2524 (struct ulp_data): New type.
2525 (BUILD_COMPLEX_ULP): Remove macro.
2526 (compare_ulp_data): New function.
2527 (find_ulps): Likewise.
2528 (find_test_ulps): Likewise.
2529 (find_function_ulps): Likewise.
2530 (find_complex_function_ulps): Likewise.
2531 (print_max_error): Determine allowed ulps using
2532 find_function_ulps.
2533 (print_complex_max_error): Determine allowed ulps using
2534 find_complex_function_ulps.
2535 (check_float_internal): Determine max ulps using find_test_ulps.
2536 (check_float): Do not take max_ulp parameter. Update call to
2537 check_float_internal.
2538 (check_complex): Likewise.
2539 (check_int): Do not take max_ulp parameter.
2540 (check_long): Likewise.
2541 (check_bool): Likewise.
2542 (check_longlong): Likewise.
2543 (struct test_f_f_data): Remove max_ulp field.
2544 (struct test_ff_f_data): Likewise.
2545 (struct test_ff_f_data_nexttoward): Likewise.
2546 (struct test_fi_f_data): Likewise.
2547 (struct test_fl_f_data): Likewise.
2548 (struct test_if_f_data): Likewise.
2549 (struct test_fff_f_data): Likewise.
2550 (struct test_c_f_data): Likewise.
2551 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2552 (struct test_fF_f1_data): Likewise.
2553 (struct test_ffI_f1_data): Likewise.
2554 (struct test_c_c_data): Remove max_ulp field.
2555 (struct test_cc_c_data): Likewise.
2556 (struct test_f_i_data): Likewise.
2557 (struct test_ff_i_data): Likewise.
2558 (struct test_f_l_data): Likewise.
2559 (struct test_f_L_data): Likewise.
2560 (struct test_sincos_data): Likewise.
2561 (RUN_TEST_f_f): Do not handle ulps.
2562 (RUN_TEST_LOOP_f_f): Likewise.
2563 (RUN_TEST_2_f): Likewise.
2564 (RUN_TEST_LOOP_2_f): Likewise.
2565 (RUN_TEST_fff_f): Likewise.
2566 (RUN_TEST_LOOP_fff_f): Likewise.
2567 (RUN_TEST_c_f): Likewise.
2568 (RUN_TEST_LOOP_c_f): Likewise.
2569 (RUN_TEST_f_f1): Likewise.
2570 (RUN_TEST_LOOP_f_f1): Likewise.
2571 (RUN_TEST_fF_f1): Likewise.
2572 (RUN_TEST_LOOP_fF_f1): Likewise.
2573 (RUN_TEST_fI_f1): Likewise.
2574 (RUN_TEST_LOOP_fI_f1): Likewise.
2575 (RUN_TEST_ffI_f1): Likewise.
2576 (RUN_TEST_LOOP_ffI_f1): Likewise.
2577 (RUN_TEST_c_c): Likewise.
2578 (RUN_TEST_LOOP_c_c): Likewise.
2579 (RUN_TEST_cc_c): Likewise.
2580 (RUN_TEST_LOOP_cc_c): Likewise.
2581 (RUN_TEST_f_i): Likewise.
2582 (RUN_TEST_LOOP_f_i): Likewise.
2583 (RUN_TEST_f_i_tg): Likewise.
2584 (RUN_TEST_LOOP_f_i_tg): Likewise.
2585 (RUN_TEST_ff_i_tg): Likewise.
2586 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2587 (RUN_TEST_f_b): Likewise.
2588 (RUN_TEST_LOOP_f_b): Likewise.
2589 (RUN_TEST_f_b_tg): Likewise.
2590 (RUN_TEST_LOOP_f_b_tg): Likewise.
2591 (RUN_TEST_f_l): Likewise.
2592 (RUN_TEST_LOOP_f_l): Likewise.
2593 (RUN_TEST_f_L): Likewise.
2594 (RUN_TEST_LOOP_f_L): Likewise.
2595 (RUN_TEST_sincos): Likewise.
2596 (RUN_TEST_LOOP_sincos): Likewise.
2597
8269107f
JM
25982013-05-17 Joseph Myers <joseph@codesourcery.com>
2599
bb38759d
JM
2600 [BZ #15480]
2601 [BZ #15485]
2602 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2603 main case of finite arguments, set rounding mode to FE_TONEAREST
2604 and discard exceptions.
2605 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2606 exceptions.
2607 (remainder_tonearest_test_data): New variable.
2608 (remainder_test_tonearest): New function.
2609 (remainder_towardzero_test_data): New variable.
2610 (remainder_test_towardzero): New function.
2611 (remainder_downward_test_data): New variable.
2612 (remainder_test_downward): New function.
2613 (remainder_upward_test_data): New variable.
2614 (remainder_test_upward): New function.
2615 (main): Call the new test functions.
2616
a00bdcf0
JM
2617 * math/libm-test.inc (struct test_f_f1_data): Remove field
2618 extra_init.
2619 (struct test_fF_f1_data): Likewise.
2620 (struct test_ffI_f1_data): Likewise.
2621 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2622 based on value of EXTRA_EXPECTED.
2623 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2624 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2625 EXTRA_VAR based on value of EXTRA_EXPECTED.
2626 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2627 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2628 EXTRA_VAR based on value of EXTRA_EXPECTED.
2629 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2630 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2631 EXTRA_VAR based on value of EXTRA_EXPECTED.
2632 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2633 * math/gen-libm-test.pl (parse_args): Don't output initializers
2634 for extra output values.
2635
de407f79
JM
2636 * math/libm-test.inc (check_int): Expect result to be exactly
2637 equal to expected value and do not handle ulps.
2638 (check_long): Likewise.
2639 (check_longlong): Likewise.
2640
8269107f
JM
2641 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2642 exceptions.
2643 (cimag_test_data): Likewise.
2644 (conj_test_data): Likewise.
2645 (copysign_test_data): Likewise.
2646 (cproj_test_data): Likewise.
2647 (creal_test_data): Likewise.
2648 (fabs_test_data): Likewise.
2649 (fdim_test_data): Likewise.
2650 (finite_test_data): Likewise.
2651 (floor_test_data): Likewise.
2652 (fmax_test_data): Likewise.
2653 (fmin_test_data): Likewise.
2654 (fmod_test_data): Likewise.
2655 (fpclassify_test_data): Likewise.
2656 (frexp_test_data): Likewise.
2657 (ilogb_test_data): Likewise.
2658 (isfinite_test_data): Likewise.
2659 (isgreater_test_data): Likewise.
2660 (isgreaterequal_test_data): Likewise.
2661 (isinf_test_data): Likewise.
2662 (isless_test_data): Likewise.
2663 (islessequal_test_data): Likewise.
2664 (islessgreater_test_data): Likewise.
2665 (isnan_test_data): Likewise.
2666 (isnormal_test_data): Likewise.
2667 (issignaling_test_data): Likewise.
2668 (isunordered_test_data): Likewise.
2669 (ldexp_test_data): Likewise.
2670 (lrint_test_data): Likewise.
2671 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2672 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2673 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2674 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2675 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2676 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2677 test input.
2678 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2679 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2680 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2681 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2682 that test input.
2683 (lrint_downward_test_data): Test for "inexact" exceptions.
2684 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2685 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2686 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2687 test input.
2688 (lrint_upward_test_data): Test for "inexact" exceptions.
2689 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2690 test input.
2691 (llrint_test_data): Test for "inexact" exceptions.
2692 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2693 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2694 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2695 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2696 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2697 (llrint_downward_test_data): Test for "inexact" exceptions.
2698 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2699 (llrint_upward_test_data): Test for "inexact" exceptions.
2700 (logb_test_data): Likewise.
2701 (logb_downward_test_data): Likewise.
2702 (nextafter_test_data): Likewise.
2703 (nexttoward_test_data): Likewise.
2704 (remainder_test_data): Likewise.
2705 (remquo_test_data): Likewise.
2706 (scalbn_test_data): Likewise.
2707 (scalbln_test_data): Likewise.
2708 (signbit_test_data): Likewise.
2709 (sqrt_test_data): Likewise.
2710 (significand_test_data): Likewise.
2711
48a18de1
SP
27122013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2713
2714 [BZ #15424]
2715 * benchtests/bench-modf.c (struct args): Mark arg0 as
2716 volatile.
2717 * scripts/bench.pl: Mark members of struct args as volatile.
2718
13d3b41a
AZ
27192013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720
68191c1d 2721 [BZ # 15497]
13d3b41a
AZ
2722 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2723 negative infinity on POWER6 or lower.
2724 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2725
2848b105
MR
27262013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2727
2728 [BZ #15442]
2729 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2730 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2731 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2732 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2733 (_FP_SETQNAN): New macro.
2734 (_FP_SETQNAN_SEMIRAW): Likewise.
2735 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2736 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2737 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2738 (FP_EXTEND): Use _FP_FRAC_SNANP.
2739 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2740 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2741 into account.
2742 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2743 New macro.
2744 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2745 Likewise.
2746
323e5cb7
JM
27472013-05-16 Joseph Myers <joseph@codesourcery.com>
2748
c58b274f
JM
2749 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2750 with DIVIDE_BY_ZERO_EXCEPTION.
2751 (gamma_test_data): Likewise.
2752 (lgamma_test_data): Likewise.
2753 (log_test_data): Likewise.
2754 (log10_test_data): Likewise.
2755 (log2_test_data): Likewise.
2756 (tgamma_test_data): Likewise.
2757
0ab34904
JM
2758 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2759 (acos_test_tonearest): Likewise.
2760 (acos_test_towardzero): Likewise.
2761 (acos_test_downward): Likewise.
2762 (acos_test_upward): Likewise.
2763 (acosh_test): Likewise.
2764 (asin_test): Likewise.
2765 (asin_test_tonearest): Likewise.
2766 (asin_test_towardzero): Likewise.
2767 (asin_test_downward): Likewise.
2768 (asin_test_upward): Likewise.
2769 (asinh_test): Likewise.
2770 (atan_test): Likewise.
2771 (atanh_test): Likewise.
2772 (atan2_test): Likewise.
2773 (cabs_test): Likewise.
2774 (cacos_test): Likewise.
2775 (cacosh_test): Likewise.
2776 (casin_test): Likewise.
2777 (casinh_test): Likewise.
2778 (catan_test): Likewise.
2779 (catanh_test): Likewise.
2780 (cbrt_test): Likewise.
2781 (ccos_test): Likewise.
2782 (ccosh_test): Likewise.
2783 (cexp_test): Likewise.
2784 (clog_test): Likewise.
2785 (clog10_test): Likewise.
2786 (cos_test): Likewise.
2787 (cos_test_tonearest): Likewise.
2788 (cos_test_towardzero): Likewise.
2789 (cos_test_downward): Likewise.
2790 (cos_test_upward): Likewise.
2791 (cosh_test): Likewise.
2792 (cosh_test_tonearest): Likewise.
2793 (cosh_test_towardzero): Likewise.
2794 (cosh_test_downward): Likewise.
2795 (cosh_test_upward): Likewise.
2796 (cpow_test): Likewise.
2797 (csin_test): Likewise.
2798 (csinh_test): Likewise.
2799 (csqrt_test): Likewise.
2800 (ctan_test): Likewise.
2801 (ctan_test_tonearest): Likewise.
2802 (ctan_test_towardzero): Likewise.
2803 (ctan_test_downward): Likewise.
2804 (ctan_test_upward): Likewise.
2805 (ctanh_test): Likewise.
2806 (ctanh_test_tonearest): Likewise.
2807 (ctanh_test_towardzero): Likewise.
2808 (ctanh_test_downward): Likewise.
2809 (ctanh_test_upward): Likewise.
2810 (erf_test): Likewise.
2811 (erfc_test): Likewise.
2812 (exp_test): Likewise.
2813 (exp_test_tonearest): Likewise.
2814 (exp_test_towardzero): Likewise.
2815 (exp_test_downward): Likewise.
2816 (exp_test_upward): Likewise.
2817 (exp10_test): Likewise.
2818 (exp2_test): Likewise.
2819 (expm1_test): Likewise.
2820 (fmod_test): Likewise.
2821 (gamma_test): Likewise.
2822 (hypot_test): Likewise.
2823 (j0_test): Likewise.
2824 (j1_test): Likewise.
2825 (jn_test): Likewise.
2826 (lgamma_test): Likewise.
2827 (log_test): Likewise.
2828 (log10_test): Likewise.
2829 (log1p_test): Likewise.
2830 (log2_test): Likewise.
2831 (logb_test_downward): Likewise.
2832 (pow_test): Likewise.
2833 (pow_test_tonearest): Likewise.
2834 (pow_test_towardzero): Likewise.
2835 (pow_test_downward): Likewise.
2836 (pow_test_upward): Likewise.
2837 (remainder_test): Likewise.
2838 (remquo_test): Likewise.
2839 (sin_test): Likewise.
2840 (sin_test_tonearest): Likewise.
2841 (sin_test_towardzero): Likewise.
2842 (sin_test_downward): Likewise.
2843 (sin_test_upward): Likewise.
2844 (sincos_test): Likewise.
2845 (sinh_test): Likewise.
2846 (sinh_test_tonearest): Likewise.
2847 (sinh_test_towardzero): Likewise.
2848 (sinh_test_downward): Likewise.
2849 (sinh_test_upward): Likewise.
2850 (sqrt_test): Likewise.
2851 (tan_test): Likewise.
2852 (tan_test_tonearest): Likewise.
2853 (tan_test_towardzero): Likewise.
2854 (tan_test_downward): Likewise.
2855 (tan_test_upward): Likewise.
2856 (tanh_test): Likewise.
2857 (tgamma_test): Likewise.
2858 (y0_test): Likewise.
2859 (y1_test): Likewise.
2860 (yn_test): Likewise.
2861
323e5cb7
JM
2862 * math/gen-libm-test.pl (adjust_arg): Remove function.
2863 (special_function): Remove argument $in_func. Only handle
2864 generating output for tables of tests, not inside functions.
2865 (parse_args): Likewise.
2866 (generate_testfile): Remove variable $in_func. Update call to
2867 parse_args.
2868 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2869 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2870 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2871 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2872 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2873 (MAX_VALUE_INIT): Rename macro to max_value.
2874 (MIN_VALUE_INIT): Rename macro to min_value.
2875 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2876 (plus_zero): Remove variable.
2877 (minus_zero): Likewise.
2878 (plus_infty): Likewise.
2879 (minus_infty): Likewise.
2880 (qnan_value): Likewise.
2881 (max_value): Likewise.
2882 (min_value): Likewise.
2883 (min_subnorm_value): Likewise.
2884
e054f494
RA
28852013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2886
2887 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2888 uint64_t or uint32_t usage.
2889 * crypt/sha256-block.c: Likewise.
2890 * crypt/sha256-crypt.c: Likewise.
2891 * crypt/sha256.c: Likewise.
2892 * crypt/sha512-block.c: Likewise.
2893 * crypt/sha512-crypt.c: Likewise.
2894 * crypt/sha512.c: Likewise.
2895 * debug/backtrace-tst.c: Likewise.
2896 * debug/pcprofiledump.c: Likewise.
2897 * elf/cache.c: Likewise.
2898 * elf/dl-cache.c: Likewise.
2899 * elf/dl-misc.c: Likewise.
2900 * elf/dl-profile.c: Likewise.
2901 * elf/dl-support.c: Likewise.
2902 * elf/ldconfig.c: Likewise.
2903 * elf/sprof.c: Likewise.
2904 * iconv/dummy-repertoire.c: Likewise.
2905 * iconv/iconv_charmap.c: Likewise.
2906 * iconv/skeleton.c: Likewise.
2907 * iconvdata/8bit-generic.c: Likewise.
2908 * iconvdata/cp737.h: Likewise.
2909 * iconvdata/cp775.h: Likewise.
2910 * iconvdata/ibm1008.h: Likewise.
2911 * iconvdata/ibm1025.h: Likewise.
2912 * iconvdata/ibm1046.h: Likewise.
2913 * iconvdata/ibm1097.h: Likewise.
2914 * iconvdata/ibm1112.h: Likewise.
2915 * iconvdata/ibm1122.h: Likewise.
2916 * iconvdata/ibm1123.h: Likewise.
2917 * iconvdata/ibm1124.h: Likewise.
2918 * iconvdata/ibm1129.h: Likewise.
2919 * iconvdata/ibm1130.h: Likewise.
2920 * iconvdata/ibm1132.h: Likewise.
2921 * iconvdata/ibm1133.h: Likewise.
2922 * iconvdata/ibm1137.h: Likewise.
2923 * iconvdata/ibm1140.h: Likewise.
2924 * iconvdata/ibm1141.h: Likewise.
2925 * iconvdata/ibm1142.h: Likewise.
2926 * iconvdata/ibm1143.h: Likewise.
2927 * iconvdata/ibm1144.h: Likewise.
2928 * iconvdata/ibm1145.h: Likewise.
2929 * iconvdata/ibm1146.h: Likewise.
2930 * iconvdata/ibm1147.h: Likewise.
2931 * iconvdata/ibm1148.h: Likewise.
2932 * iconvdata/ibm1149.h: Likewise.
2933 * iconvdata/ibm1153.h: Likewise.
2934 * iconvdata/ibm1154.h: Likewise.
2935 * iconvdata/ibm1155.h: Likewise.
2936 * iconvdata/ibm1156.h: Likewise.
2937 * iconvdata/ibm1157.h: Likewise.
2938 * iconvdata/ibm1158.h: Likewise.
2939 * iconvdata/ibm1160.h: Likewise.
2940 * iconvdata/ibm1161.h: Likewise.
2941 * iconvdata/ibm1162.h: Likewise.
2942 * iconvdata/ibm1163.h: Likewise.
2943 * iconvdata/ibm1164.h: Likewise.
2944 * iconvdata/ibm1166.h: Likewise.
2945 * iconvdata/ibm1167.h: Likewise.
2946 * iconvdata/ibm12712.h: Likewise.
2947 * iconvdata/ibm1390.h: Likewise.
2948 * iconvdata/ibm1399.h: Likewise.
2949 * iconvdata/ibm16804.h: Likewise.
2950 * iconvdata/ibm4517.h: Likewise.
2951 * iconvdata/ibm4899.h: Likewise.
2952 * iconvdata/ibm4909.h: Likewise.
2953 * iconvdata/ibm4971.h: Likewise.
2954 * iconvdata/ibm5347.h: Likewise.
2955 * iconvdata/ibm803.h: Likewise.
2956 * iconvdata/ibm856.h: Likewise.
2957 * iconvdata/ibm901.h: Likewise.
2958 * iconvdata/ibm902.h: Likewise.
2959 * iconvdata/ibm9030.h: Likewise.
2960 * iconvdata/ibm9066.h: Likewise.
2961 * iconvdata/ibm921.h: Likewise.
2962 * iconvdata/ibm922.h: Likewise.
2963 * iconvdata/ibm9448.h: Likewise.
2964 * iconvdata/isiri-3342.h: Likewise.
2965 * iconvdata/jis0201.h: Likewise.
2966 * include/link.h: Likewise.
2967 * include/netdb.h: Likewise.
2968 * inet/check_native.c: Likewise.
2969 * inet/check_pf.c: Likewise.
2970 * inet/getipv4sourcefilter.c: Likewise.
2971 * inet/getnameinfo.c: Likewise.
2972 * inet/getsourcefilter.c: Likewise.
2973 * inet/htonl.c: Likewise.
2974 * inet/setipv4sourcefilter.c: Likewise.
2975 * inet/setsourcefilter.c: Likewise.
2976 * inet/test-inet6_opt.c: Likewise.
2977 * inet/tst-network.c: Likewise.
2978 * locale/C-collate.c: Likewise.
2979 * locale/C-ctype.c: Likewise.
2980 * locale/C-time.c: Likewise.
2981 * locale/C-translit.h: Likewise.
2982 * locale/loadarchive.c: Likewise.
2983 * locale/programs/3level.h: Likewise.
2984 * locale/programs/charmap.c: Likewise.
2985 * locale/programs/charmap.h: Likewise.
2986 * locale/programs/ld-address.c: Likewise.
2987 * locale/programs/ld-collate.c: Likewise.
2988 * locale/programs/ld-ctype.c: Likewise.
2989 * locale/programs/ld-identification.c: Likewise.
2990 * locale/programs/ld-measurement.c: Likewise.
2991 * locale/programs/ld-messages.c: Likewise.
2992 * locale/programs/ld-monetary.c: Likewise.
2993 * locale/programs/ld-name.c: Likewise.
2994 * locale/programs/ld-numeric.c: Likewise.
2995 * locale/programs/ld-paper.c: Likewise.
2996 * locale/programs/ld-telephone.c: Likewise.
2997 * locale/programs/ld-time.c: Likewise.
2998 * locale/programs/linereader.c: Likewise.
2999 * locale/programs/locale.c: Likewise.
3000 * locale/programs/locarchive.c: Likewise.
3001 * locale/programs/locfile.h: Likewise.
3002 * locale/programs/repertoire.c: Likewise.
3003 * locale/programs/simple-hash.c: Likewise.
3004 * locale/programs/simple-hash.h: Likewise.
3005 * malloc/memusage.c: Likewise.
3006 * malloc/memusagestat.c: Likewise.
3007 * nis/nis_defaults.c: Likewise.
3008 * nis/nis_hash.c: Likewise.
3009 * nis/nis_print.c: Likewise.
3010 * nis/nis_xdr.c: Likewise.
3011 * nscd/connections.c: Likewise.
3012 * nscd/hstcache.c: Likewise.
3013 * nscd/nscd_gethst_r.c: Likewise.
3014 * nscd/nscd_getserv_r.c: Likewise.
3015 * nscd/nscd_helper.c: Likewise.
3016 * nscd/servicescache.c: Likewise.
3017 * nss/makedb.c: Likewise.
3018 * nss/nss_db/db-XXX.c: Likewise.
3019 * nss/nss_db/db-initgroups.c: Likewise.
3020 * nss/nss_db/db-netgrp.c: Likewise.
3021 * nss/nss_files/files-network.c: Likewise.
3022 * nss/nss_files/files-parse.c: Likewise.
3023 * posix/bug-regex5.c: Likewise.
3024 * posix/fnmatch_loop.c: Likewise.
3025 * posix/regcomp.c: Likewise.
3026 * posix/regexec.c: Likewise.
3027 * posix/tst-rfc3484-2.c: Likewise.
3028 * posix/tst-rfc3484-3.c: Likewise.
3029 * posix/tst-rfc3484.c: Likewise.
3030 * resolv/nss_dns/dns-canon.c: Likewise.
3031 * resolv/nss_dns/dns-network.c: Likewise.
3032 * resolv/res_init.c: Likewise.
3033 * resolv/res_mkquery.c: Likewise.
3034 * resolv/tst-aton.c: Likewise.
3035 * stdlib/cxa_atexit.c: Likewise.
3036 * stdlib/cxa_finalize.c: Likewise.
3037 * stdlib/gen-fpioconst.c: Likewise.
3038 * stdlib/strtol_l.c: Likewise.
3039 * string/tst-endian.c: Likewise.
3040 * sunrpc/auth_des.c: Likewise.
3041 * sunrpc/clnt_udp.c: Likewise.
3042 * sunrpc/rtime.c: Likewise.
3043 * sunrpc/svcauth_des.c: Likewise.
3044 * sunrpc/xdr.c: Likewise.
3045 * sunrpc/xdr_intXX_t.c: Likewise.
3046 * sunrpc/xdr_rec.c: Likewise.
3047 * sysdeps/generic/ldconfig.h: Likewise.
3048 * sysdeps/generic/ldsodefs.h: Likewise.
3049 * sysdeps/generic/memusage.h: Likewise.
3050 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3051 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3052 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3053 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3059 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3060 * sysdeps/posix/getaddrinfo.c: Likewise.
3061 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3062 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3063 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3064 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3065 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3066 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3067 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3068 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3069 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3070 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3071 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3072 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3073 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3074 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3075 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3076 * sysdeps/x86_64/dl-tls.h: Likewise.
3077 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3078 * time/alt_digit.c: Likewise.
3079 * time/era.c: Likewise.
3080 * wcsmbs/tst-c16c32-1.c: Likewise.
3081
8c75f674
JM
30822013-05-16 Joseph Myers <joseph@codesourcery.com>
3083
3084 * math/libm-test.inc (struct test_sincos_data): New type.
3085 (RUN_TEST_LOOP_sincos): New macro.
3086 (sincos_test_data): New variable.
3087 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3088
e6e49e59
RH
30892013-05-16 Richard Henderson <rth@redhat.com>
3090
3091 * math/atest-exp2.c (LIMB64): New macro.
3092 (CONSTSZ): New macro.
3093 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3094 (hexdig): Move ...
3095 (print_mpn_fp): ... to function scope.
3096 (read_mpn_hex): Remove.
3097 (get_log2): Remove.
3098 (exp2_mpn): Use mp_log2.
3099 (main): Use mp_exp1.
3100
15c7c18d
JM
31012013-05-16 Joseph Myers <joseph@codesourcery.com>
3102
105a07df
JM
3103 * math/libm-test.inc: Remove comment about not testing "inexact"
3104 exceptions.
3105 (INEXACT_EXCEPTION): New macro.
3106 (NO_INEXACT_EXCEPTION): Likewise.
3107 (INVALID_EXCEPTION_OK): Update value.
3108 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3109 (OVERFLOW_EXCEPTION_OK): Likewise.
3110 (UNDERFLOW_EXCEPTION_OK): Likewise.
3111 (IGNORE_ZERO_INF_SIGN): Likewise.
3112 (ERRNO_UNCHANGED): Likewise.
3113 (ERRNO_EDOM): Likewise.
3114 (ERRNO_ERANGE): Likewise.
3115 (test_exceptions): Handle testing "inexact" exceptions.
3116 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3117 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3118 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3119 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3120 INEXACT_EXCEPTION.
3121 (rint_towardzero_test_data): Likewise.
3122 (rint_downward_test_data): Likewise.
3123 (rint_upward_test_data): Likewise.
3124
e9eee333
JM
3125 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3126 with OVERFLOW_EXCEPTION.
3127 (exp10_test_data): Likewise.
3128 (exp2_test_data): Likewise.
3129 (expm1_test_data): Likewise.
3130 (lgamma_test_data): Likewise.
3131 (pow_test_data): Likewise.
3132 (tgamma_test_data): Likewise.
3133 (yn_test_data): Remove duplicate test of overflow.
3134
1c38ff73
JM
3135 * math/libm-test.inc (struct test_cc_c_data): New type.
3136 (RUN_TEST_LOOP_cc_c): New macro.
3137 (cpow_test_data): New variable.
3138 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3139
15c7c18d
JM
3140 * math/libm-test.inc (struct test_f_L_data): New type.
3141 (RUN_TEST_LOOP_f_L): New macro.
3142 (llrint_test_data): New variable.
3143 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3144 (llrint_tonearest_test_data): New variable.
3145 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3146 (llrint_towardzero_test_data): New variable.
3147 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3148 (llrint_downward_test_data): New variable.
3149 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3150 (llrint_upward_test_data): New variable.
3151 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3152 (llround_test_data): New variable.
3153 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3154
f137ff13
PC
31552013-05-13 Peter Collingbourne <pcc@google.com>
3156
3157 * math/atest-exp2.c (get_log2): Remove const attribute.
3158
3608cb24
JM
31592013-05-15 Joseph Myers <joseph@codesourcery.com>
3160
3161 * math/libm-test.inc (struct test_f_l_data): New type.
3162 (RUN_TEST_LOOP_f_l): New macro.
3163 (lrint_test_data): New variable.
3164 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3165 (lrint_tonearest_test_data): New variable.
3166 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3167 (lrint_towardzero_test_data): New variable.
3168 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3169 (lrint_downward_test_data): New variable.
3170 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3171 (lrint_upward_test_data): New variable.
3172 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3173 (lround_test_data): New variable.
3174 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3175
39b1f617
PC
31762013-05-15 Peter Collingbourne <pcc@google.com>
3177
1deff3dc
PC
3178 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3179 (EXTRACT_WORDS64) Use where appropriate.
3180 (INSERT_WORDS64) Likewise.
3181
791f3ba0
PC
3182 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3183 constraints with x constraints.
3184 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3185
39b1f617
PC
3186 * malloc/obstack.c (_obstack_compat): Add initializer.
3187
12fba011
EM
31882013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3189
3190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3191 si_trapno and add si_addr_lsb to _sifields.sigfault.
3192 (si_trapno): Remove macro.
3193 (si_addr_lsb): Define new macro.
3194 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3195
d369f531
JM
31962013-05-15 Joseph Myers <joseph@codesourcery.com>
3197
b861c6c4
JM
3198 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3199 instead of TEST_f_l.
3200 (llrint_test_tonearest): Likewise.
3201 (llrint_test_towardzero): Likewise.
3202 (llrint_test_downward): Likewise.
3203 (llrint_test_upward): Likewise.
3204 (llround_test): Likewise.
3205
7abeee12
JM
3206 * math/libm-test.inc (struct test_f_i_data): Add comment.
3207 (RUN_TEST_LOOP_f_b): New macro.
3208 (RUN_TEST_LOOP_f_b_tg): Likewise.
3209 (finite_test_data): New variable.
3210 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3211 (isfinite_test_data): New variable.
3212 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3213 (isinf_test_data): New variable.
3214 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3215 (isnan_test_data): New variable.
3216 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3217 (isnormal_test_data): New variable.
3218 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3219 (issignaling_test_data): New variable.
3220 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3221 (signbit_test_data): New variable.
3222 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3223
cbe8c4d3
JM
3224 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3225 with INVALID_EXCEPTION.
3226 (acosh_test_data): Likewise.
3227 (asin_test_data): Likewise.
3228 (atanh_test_data): Likewise.
3229 (fmod_test_data): Likewise.
3230 (log_test_data): Likewise.
3231 (log10_test_data): Likewise.
3232 (log2_test_data): Likewise.
3233 (pow_test_data): Likewise.
3234 (sqrt_test_data): Likewise.
3235 (y0_test_data): Likewise.
3236 (y1_test_data): Likewise.
3237 (yn_test_data): Likewise.
3238
5575c0e5
JM
3239 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3240 function contents.
3241
d369f531
JM
3242 * math/libm-test.inc (struct test_ff_i_data): New type.
3243 (RUN_TEST_LOOP_ff_i_tg): New macro.
3244 (isgreater_test_data): New variable.
3245 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3246 (isgreaterequal_test_data): New variable.
3247 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3248 (isless_test_data): New variable.
3249 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3250 (islessequal_test_data): New variable.
3251 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3252 (islessgreater_test_data): New variable.
3253 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3254 (isunordered_test_data): New variable.
3255 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3256
781fd748
DM
32572013-05-14 David S. Miller <davem@davemloft.net>
3258
3259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3260
87aa21df
JM
32612013-05-14 Joseph Myers <joseph@codesourcery.com>
3262
5e908270
JM
3263 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3264
f71172e5
JM
3265 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3266 extra_test to int.
3267 (struct test_f_i_data): Change type of max_ulp to int.
3268
8cfa635a
JM
3269 * math/libm-test.inc (test_ffI_f1_data): New type.
3270 (RUN_TEST_LOOP_ffI_f1): New macro.
3271 (remquo_test_data): New variable.
3272 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3273
2bcb36b2
JM
3274 * setjmp/tst-setjmp-fp.c: New file.
3275 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3276 (link-libm): New variable.
3277 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3278
acbd839a
JM
3279 * math/libm-test.inc (struct test_f_i_data): New type.
3280 (RUN_TEST_LOOP_f_i): New macro.
3281 (RUN_TEST_LOOP_f_i_tg): Likewise.
3282 (fpclassify_test_data): New variable.
3283 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3284 (ilogb_test_data): New variable.
3285 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3286
e414d745
JM
3287 * math/libm-test.inc (scalbln_test): Correct function name in END
3288 call.
3289
d9c2a0fd
JM
3290 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3291 (RUN_TEST_LOOP_fI_f1): New macro.
3292 (frexp_test_data): New variable.
3293 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3294
9dc9095d
JM
3295 * math/libm-test.inc (struct test_fF_f1_data): New type.
3296 (RUN_TEST_LOOP_fF_f1): New macro.
3297 (modf_test_data): New variable.
3298 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3299
87aa21df
JM
3300 * math/libm-test.inc (struct test_f_f1_data): New type.
3301 (RUN_TEST_LOOP_f_f1): New macro.
3302 (gamma_test_data): New variable.
3303 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3304 (lgamma_test_data): New variable.
3305 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3306
141af660
CD
33072013-05-13 Carlos O'Donell <carlos@redhat.com>
3308
3309 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3310 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3311 (main): Comment "tls" pseudo-hwcap.
3312
6d33265c
JM
33132013-05-13 Joseph Myers <joseph@codesourcery.com>
3314
68fc074c
JM
3315 * math/libm-test.inc (struct test_fl_f_data): New type.
3316 (RUN_TEST_LOOP_fl_f): New variable.
3317 (scalbln_test_data): New variable.
3318 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3319
243216e1
JM
3320 * math/libm-test.inc (struct test_fi_f_data): New type.
3321 (RUN_TEST_LOOP_fi_f): New macro.
3322 (ldexp_test_data): New variable.
3323 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3324 (scalbn_test_data): New variable.
3325 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3326
6a1992e2
JM
3327 * math/libm-test.inc (struct test_c_f_data): New type.
3328 (RUN_TEST_LOOP_c_f): New macro.
3329 (cabs_test_data): New variable.
3330 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3331 (carg_test_data): New variable.
3332 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3333 (cimag_test_data): New variable.
3334 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3335 (creal_test_data): New variable.
3336 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3337
0e400df5
JM
3338 * math/libm-test.inc (struct test_if_f_data): New type.
3339 (RUN_TEST_LOOP_if_f): New macro.
3340 (jn_test_data): New variable.
3341 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3342 (yn_test_data): New variable.
3343 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3344
6d33265c
JM
3345 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3346
f98ece5f
AZ
33472013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3348
3349 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3350 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3351
0f7d347b
SP
33522013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3353
43fe811b
SP
3354 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3355 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3356 (bench-deps): Add bench-timing.h.
3357 * benchtests-bench-skeleton.c: Include bench-timing.h.
3358 (main): Use TIMING_* macros instead of clock_gettime.
3359 * benchtests/bench-timing.h: New file.
3360
0f7d347b
SP
3361 [BZ #14582]
3362 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3363 Renamed from _LIB_VERSION.
3364 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3365
601a3a5f
JM
33662013-05-12 Joseph Myers <joseph@codesourcery.com>
3367
4f184d30
JM
3368 * math/libm-test.inc (struct test_fff_f_data): New type.
3369 (RUN_TEST_LOOP_fff_f): New macro.
3370 (fma_test_data): New variable.
3371 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3372 (fma_towardzero_test_data): New variable.
3373 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3374 (fma_downward_test_data): New variable.
3375 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3376 (fma_upward_test_data): New variable.
3377 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3378
08198877
JM
3379 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3380 (struct test_c_c_data): New type.
3381 (RUN_TEST_LOOP_c_c): New macro.
3382 (cacos_test_data): New variable.
3383 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3384 (cacosh_test_data): New variable.
3385 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3386 (casin_test_data): New variable.
3387 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3388 (casinh_test_data): New variable.
3389 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3390 (catan_test_data): New variable.
3391 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3392 (catanh_test_data): New variable.
3393 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3394 (ccos_test_data): New variable.
3395 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3396 (ccosh_test_data): New variable.
3397 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3398 (cexp_test_data): New variable.
3399 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3400 (clog_test_data): New variable.
3401 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3402 (clog10_test_data): New variable.
3403 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3404 (conj_test_data): New variable.
3405 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3406 (cproj_test_data): New variable.
3407 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3408 (csin_test_data): New variable.
3409 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3410 (csinh_test_data): New variable.
3411 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3412 (csqrt_test_data): New variable.
3413 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3414 (ctan_test_data): New variable.
3415 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3416 (ctan_tonearest_test_data): New variable.
3417 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3418 (ctan_towardzero_test_data): New variable.
3419 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3420 (ctan_downward_test_data): New variable.
3421 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3422 (ctan_upward_test_data): New variable.
3423 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3424 (ctanh_test_data): New variable.
3425 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3426 (ctanh_tonearest_test_data): New variable.
3427 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3428 (ctanh_towardzero_test_data): New variable.
3429 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3430 (ctanh_downward_test_data): New variable.
3431 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3432 (ctanh_upward_test_data): New variable.
3433 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3434 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3435 of BUILD_COMPLEX.
3436
601a3a5f
JM
3437 * math/libm-test.inc (struct test_ff_f_data): New type.
3438 (struct test_ff_f_data_nexttoward): Likewise.
3439 (RUN_TEST_LOOP_2_f): New macro.
3440 (RUN_TEST_LOOP_ff_f): Likewise.
3441 (atan2_test_data): New variable.
3442 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3443 (copysign_test_data): New variable.
3444 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3445 (fdim_test_data): New variable.
3446 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3447 (fmax_test_data): New variable.
3448 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3449 (fmin_test_data): New variable.
3450 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3451 (fmod_test_data): New variable.
3452 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3453 (hypot_test_data): New variable.
3454 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3455 (nextafter_test_data): New variable.
3456 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3457 (nexttoward_test_data): New variable.
3458 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3459 (pow_test_data): New variable.
3460 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3461 (pow_tonearest_test_data): New variable.
3462 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3463 (pow_towardzero_test_data): New variable.
3464 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3465 (pow_downward_test_data): New variable.
3466 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3467 (pow_upward_test_data): New variable.
3468 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3469 (remainder_test_data): New variable.
3470 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3471 (scalb_test_data): New variable.
3472 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3473 * sysdeps/i386/fpu/libm-test-ulps: Update.
3474
74c57478
JM
34752013-05-11 Joseph Myers <joseph@codesourcery.com>
3476
8329e4da
JM
3477 * math/libm-test.inc (fma_test): Use max_value instead of local
3478 variable fltmax.
3479 (nextafter_test): Likewise.
3480
74c57478
JM
3481 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3482 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3483 (acos_downward_test_data): New variable.
3484 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3485 (acos_upward_test_data): New variable.
3486 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3487 (acosh_test_data): New variable.
3488 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3489 (asin_test_data): New variable.
3490 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3491 (asin_tonearest_test_data): New variable.
3492 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3493 (asin_towardzero_test_data): New variable.
3494 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3495 (asin_downward_test_data): New variable.
3496 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3497 (asin_upward_test_data): New variable.
3498 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3499 (asinh_test_data): New variable.
3500 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3501 (atan_test_data): New variable.
3502 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3503 (atanh_test_data): New variable.
3504 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3505 (cbrt_test_data): New variable.
3506 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3507 (ceil_test_data): New variable.
3508 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3509 (cos_test_data): New variable.
3510 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3511 (cos_tonearest_test_data): New variable.
3512 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3513 (cos_towardzero_test_data): New variable.
3514 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3515 (cos_downward_test_data): New variable.
3516 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3517 (cos_upward_test_data): New variable.
3518 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3519 (cosh_test_data): New variable.
3520 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3521 (cosh_tonearest_test_data): New variable.
3522 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3523 (cosh_towardzero_test_data): New variable.
3524 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3525 (cosh_downward_test_data): New variable.
3526 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3527 (cosh_upward_test_data): New variable.
3528 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3529 (erf_test_data): New variable.
3530 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3531 (erfc_test_data): New variable.
3532 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3533 (exp_test_data): New variable.
3534 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3535 (exp_tonearest_test_data): New variable.
3536 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3537 (exp_towardzero_test_data): New variable.
3538 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3539 (exp_downward_test_data): New variable.
3540 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3541 (exp_upward_test_data): New variable.
3542 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3543 (exp10_test_data): New variable.
3544 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3545 (exp2_test_data): New variable.
3546 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3547 (expm1_test_data): New variable.
3548 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3549 (fabs_test_data): New variable.
3550 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3551 (floor_test_data): New variable.
3552 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3553 (j0_test_data): New variable.
3554 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3555 (j1_test_data): New variable.
3556 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3557 (log_test_data): New variable.
3558 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3559 (log10_test_data): New variable.
3560 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3561 (log1p_test_data): New variable.
3562 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3563 (log2_test_data): New variable.
3564 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3565 (logb_test_data): New variable.
3566 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3567 (logb_downward_test_data): New variable.
3568 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3569 (nearbyint_test_data): New variable.
3570 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3571 (rint_test_data): New variable.
3572 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3573 (rint_tonearest_test_data): New variable.
3574 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3575 (rint_towardzero_test_data): New variable.
3576 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3577 (rint_downward_test_data): New variable.
3578 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3579 (rint_upward_test_data): New variable.
3580 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3581 (round_test_data): New variable.
3582 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3583 (sin_test_data): New variable.
3584 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3585 (sin_tonearest_test_data): New variable.
3586 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3587 (sin_towardzero_test_data): New variable.
3588 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3589 (sin_downward_test_data): New variable.
3590 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3591 (sin_upward_test_data): New variable.
3592 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3593 (sinh_test_data): New variable.
3594 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3595 (sinh_tonearest_test_data): New variable.
3596 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3597 (sinh_towardzero_test_data): New variable.
3598 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3599 (sinh_downward_test_data): New variable.
3600 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3601 (sinh_upward_test_data): New variable.
3602 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3603 (sqrt_test_data): New variable.
3604 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3605 (tan_test_data): New variable.
3606 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3607 (tan_tonearest_test_data): New variable.
3608 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3609 (tan_towardzero_test_data): New variable.
3610 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3611 (tan_downward_test_data): New variable.
3612 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3613 (tan_upward_test_data): New variable.
3614 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3615 (tanh_test_data): New variable.
3616 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3617 (tgamma_test_data): New variable.
3618 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3619 (trunc_test_data): New variable.
3620 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3621 (y0_test_data): New variable.
3622 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3623 (y1_test_data): New variable.
3624 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3625 (significand_test_data): New variable.
3626 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3627
7187d844
CG
36282013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3629
3630 [BZ #12387]
3631 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3632
f63fae73
PT
36332013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3634
3635 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3636
8a67a4b3
AJ
36372013-05-10 Andreas Jaeger <aj@suse.de>
3638
3639 [BZ #15448]
3640 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3641 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3642
51df539d
JM
36432013-05-10 Joseph Myers <joseph@codesourcery.com>
3644
3645 * math/gen-libm-test.pl (adjust_arg): New function.
3646 (special_functions): Handle generating output in both functions
3647 and arrays.
3648 (parse_args): Likewise.
3649 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3650 $in_func argument to parse_args.
3651 * math/libm-test.inc (struct test_f_f_data): New type.
3652 (IF_ROUND_INIT_): New macro.
3653 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3654 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3655 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3656 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3657 (ROUND_RESTORE_): Likewise.
3658 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3659 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3660 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3661 (ROUND_RESTORE_FE_UPWARD): Likewise.
3662 (RUN_TEST_LOOP_f_f): New macro.
3663 (acos_test_data): New variable.
3664 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3665 (acos_tonearest_test_data): New variable.
3666 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3667
5c637fe5
SP
36682013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3669
3670 * benchtests/bench-skeleton.c (startup): Fix coding style.
3671
ab2b9461
JM
36722013-05-10 Joseph Myers <joseph@codesourcery.com>
3673
3674 [BZ #6809]
3675 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3676 negative infinity argument.
3677 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3678 negative infinity argument.
3679 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3680 negative infinity argument.
3681 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3682 domain errors.
3683
4c0fe6fe
FW
36842013-05-10 Florian Weimer <fweimer@redhat.com>
3685
3686 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3687 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3688 * iconv/iconv_prog.c (main): Likewise.
3689 * locale/programs/charmap-dir.c (charmap_readdir)
3690 (fopen_uncompressed): Likewise.
3691 * locale/programs/locfile.c (siblings_uncached)
3692 (write_locale_data): Use lstat64 instead of lstat.
3693 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3694 stat.
3695
a3375d29
AJ
36962013-05-10 Andreas Jaeger <aj@suse.de>
3697
3698 [BZ #15395]
3699 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3700 localization.
3701 Include <locale.h>.
3702
36129722
CD
37032013-05-09 Carlos O'Donell <carlos@redhat.com>
3704
3705 * elf/dl-close.c (_dl_close_worker): Add comments.
3706
faa7f811
JM
37072013-05-09 Joseph Myers <joseph@codesourcery.com>
3708
ed41ffef
JM
3709 [BZ #15359]
3710 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3711 high part of pi/2.
3712 (__ieee754_rem_pio2l): Update comments.
3713
d0213cd0
JM
3714 [BZ #15429]
3715 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3716 high part of pi/2.
3717 (__ieee754_rem_pio2l): Update comments.
3718
0d3e777a
JM
3719 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3720 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3721
24f56066
JM
3722 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3723 M_PI_4l.
3724
faa7f811
JM
3725 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3726 (M_PI_34_LOG10El): Likewise.
3727 (M_PI2_LOG10El): Likewise.
3728 (M_PI4_LOG10El): Likewise.
3729 (M_PI_LOG10El): Likewise.
3730
e9a5e0fd
AZ
37312013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3732
3733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3734
d8cd06db
JM
37352013-05-08 Joseph Myers <joseph@codesourcery.com>
3736
a0d9f9d7
JM
3737 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3738 (MINUS_ZERO_INIT): Likewise.
3739 (PLUS_INFTY_INIT): Likewise.
3740 (MINUS_INFTY_INIT): Likewise.
3741 (QNAN_VALUE_INIT): Likewise.
3742 (MAX_VALUE_INIT): Likewise.
3743 (MIN_VALUE_INIT): Likewise.
3744 (MIN_SUBNORM_VALUE_INIT): Likewise.
3745 (plus_zero): Initialize with PLUS_ZERO_INIT.
3746 (minus_zero): Initialize with MINUS_ZERO_INIT.
3747 (plus_infty): Initialize with PLUS_INFTY_INIT.
3748 (minus_infty): Initialize with MINUS_INFTY_INIT.
3749 (qnan_value): Initialize with QNAN_VALUE_INIT.
3750 (max_value): Initialize with MAX_VALUE_INIT.
3751 (min_value): Initialize with MIN_VALUE_INIT.
3752 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3753
ae08db3b
JM
3754 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3755 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3756 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3757 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3758
f44bf14a
JM
3759 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3760 (RUN_TEST_2_f): Likewise.
3761 (RUN_TEST_ff_f): Likewise.
3762 (RUN_TEST_fi_f): Likewise.
3763 (RUN_TEST_fl_f): Likewise.
3764 (RUN_TEST_fff_f): Likewise.
3765 (RUN_TEST_c_f): Likewise.
3766 (RUN_TEST_f_f1): Likewise.
3767 (RUN_TEST_fF_f1): Likewise.
3768 (RUN_TEST_fI_f1): Likewise.
3769 (RUN_TEST_ffI_f1): Likewise.
3770 (RUN_TEST_c_c): Likewise.
3771 (RUN_TEST_cc_c): Likewise.
3772 (RUN_TEST_f_i): Likewise.
3773 (RUN_TEST_f_i_tg): Likewise.
3774 (RUN_TEST_ff_i_tg): Likewise.
3775 (RUN_TEST_f_b): Likewise.
3776 (RUN_TEST_f_b_tg): Likewise.
3777 (RUN_TEST_f_l): Likewise.
3778 (RUN_TEST_f_L): Likewise.
3779 (RUN_TEST_sincos): Likewise.
3780 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3781 whether to show exceptions. Do not include ");\n" in return
3782 value.
3783 (special_functions): Output call to RUN_TEST_sincos instead of
3784 check_float calls. Update calls to new_test.
3785 (parse_args): Output call to single RUN_TEST_* macro instead of
3786 check_* calls and other assignments. Update calls to new_test.
3787
d8cd06db
JM
3788 [BZ #2546]
3789 [BZ #2560]
3790 [BZ #5159]
3791 [BZ #15426]
3792 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3793 input to result for tgamma overflow.
3794 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3795 (gamma_coeff): New variable.
3796 (NCOEFF): New macro.
3797 (gamma_positive): New function.
3798 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3799 underflow here. Use gamma_positive instead of exp (lgamma) for
3800 other arguments.
3801 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3802 (gamma_coeff): New variable.
3803 (NCOEFF): New macro.
3804 (gammaf_positive): New function.
3805 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3806 underflow here. Use gamma_positive instead of exp (lgamma) for
3807 other arguments.
3808 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3809 (gamma_coeff): New variable.
3810 (NCOEFF): New macro.
3811 (gammal_positive): New function.
3812 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3813 underflow here. Use gamma_positive instead of exp (lgamma) for
3814 other arguments.
3815 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3816 (gamma_coeff): New variable.
3817 (NCOEFF): New macro.
3818 (gammal_positive): New function.
3819 (__ieee754_gammal_r): Handle positive infinity, overflow and
3820 underflow here. Handle NaN the same as positive infinity. Remove
3821 check x < 0xffffffff for negative integers. Use gamma_positive
3822 instead of exp (lgamma) for other arguments.
3823 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3824 (gamma_coeff): New variable.
3825 (NCOEFF): New macro.
3826 (gammal_positive): New function.
3827 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3828 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3832 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3833 * sysdeps/generic/math_private.h (__gamma_productf): New
3834 prototype.
3835 (__gamma_product): Likewise.
3836 (__gamma_productl): Likewise.
3837 * math/Makefile (libm-calls): Add gamma_product.
3838 * math/libm-test.inc (tgamma_test): Add more tests.
3839 * sysdeps/i386/fpu/libm-test-ulps: Update.
3840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3841
bb7cf681
OB
38422013-05-08 Ondřej Bílka <neleai@seznam.cz>
3843
3844 * benchtests/bench-skeleton.c (main): Preheat CPU.
3845
ba853947
AJ
38462013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3847
3848 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3849
8347c74c
RM
38502013-05-07 Roland McGrath <roland@hack.frob.com>
3851
3852 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3853 and _dl_skip_args_internal.
3854
e8dd4791
CD
38552013-05-07 Carlos O'Donell <carlos@redhat.com>
3856
3857 * manual/message.texi (Message Translation): Talk about users.
3858 Message to key mapping impacts design.
3859
c7405830
RM
38602013-05-06 Roland McGrath <roland@hack.frob.com>
3861
a9173057
RM
3862 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3863
976e2f03
RM
3864 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3865
9723ffc5
RM
3866 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3867 * sysdeps/wordsize-64/glob64.c: ... here.
3868
962e6658
RM
3869 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3870 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3871 New macros.
3872
ee586a6d
RM
3873 * debug/getlogin_r_chk.c: Moved to ...
3874 * login/getlogin_r_chk.c: ... here.
3875 * debug/Makefile (routines): Move getlogin_r_chk to ...
3876 * login/Makefile (routines): ... here.
3877 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3878 * login/Versions (libc: GLIBC_2.4): ... here.
3879
355f9165
RM
3880 * io/poll.c (__poll): Renamed from poll.
3881 Add libc_hidden_def.
3882 (poll): Define as weak alias.
3883
bd9ffde6
RM
3884 * debug/ptsname_r_chk.c: Moved to ...
3885 * login/ptsname_r_chk.c: ... here.
3886 * debug/Makefile (routines): Move ptsname_r_chk to ...
3887 * login/Makefile (routines): ... here.
3888 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3889 * login/Versions (libc: GLIBC_2.4): ... here.
3890
8fb16a04
RM
3891 * posix/getlogin.c: Moved to ...
3892 * login/getlogin.c: ... here.
3893 * posix/getlogin_r.c: Moved to ...
3894 * login/getlogin_r.c: ... here.
3895 * posix/getlogin_r.c: Moved to ...
3896 * login/getlogin_r.c: ... here.
3897 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3898 * login/Makefile (routines): ... here.
3899 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3900 * login/Versions (libc: GLIBC_2.0): ... here.
3901
b99b892f
RM
3902 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3903 (setrlimit): Define as weak alias.
3904
c7405830
RM
3905 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3906 Call __ names for open, ftruncate, and close.
3907 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3908 (truncate): Define as weak alias.
3909
5bf96de5
JM
39102013-05-06 Joseph Myers <joseph@codesourcery.com>
3911
9ea3513c
JM
3912 * math/gen-libm-test.pl (parse_args): Initialize x before each
3913 test of frexp, modf and remquo.
3914
5bf96de5
JM
3915 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3916 test signgam value.
3917
16e616a7
AZ
39182013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3919
3920 [BZ #15418]
3921 [BZ #15419]
3922 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3923 internal tests.
3924 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3925
d5e82754
RM
39262013-05-06 Roland McGrath <roland@hack.frob.com>
3927
3928 * elf/dl-writev.h: New file.
3929 * elf/dl-misc.c: Include it.
3930 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3931 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3932
a7548d41
JM
39332013-05-04 Joseph Myers <joseph@codesourcery.com>
3934
b7dab1e4
JM
3935 * math/libm-test.inc (noXFails): Remove variable.
3936 (noXPasses): Likewise.
3937 (BUILD_COMPLEX_INT): Remove macro.
3938 (print_screen): Remove xfail argument.
3939 (print_screen_max_error): Likewise.
3940 (update_stats): Likewise.
3941 (print_max_error): Likewise. Update calls to other affected
3942 functions.
3943 (print_complex_max_error): Likewise.
3944 (test_single_exception): Update calls to print_screen.
3945 (test_single_errno): Likewise.
3946 (check_float_internal): Remove xfail argument. Update calls to
3947 other affected functions.
3948 (check_float): Likewise.
3949 (check_complex): Likewise.
3950 (check_int): Likewise.
3951 (check_long): Likewise.
3952 (check_bool): Likewise.
3953 (check_longlong): Likewise.
3954 (main): Don't print noXFails and noXPasses.
3955 * math/gen-libm-test.pl (top level): Don't mention expected
3956 failure handling in comment.
3957 (new_test): Don't handle expected failures.
3958 (parse_args): Don't mention expected failure handling in comment.
3959 (generate_testfile): Don't handle expected failures.
3960 (parse_ulps): Likewise.
3961 (print_ulps_file): Likewise.
3962 (get_failure): Remove function.
3963 (output_test): Don't handle expected failures.
3964 * make/README.libm-test: Don't mention expected failure handling.
3965
a7548d41
JM
3966 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3967 (minus_zero): Likewise.
3968 (plus_infty): Likewise.
3969 (minus_infty): Likewise.
3970 (qnan_value): Likewise.
3971 (max_value): Likewise.
3972 (min_value): Likewise.
3973 (min_subnorm_value): Likewise.
3974 (initialize): Do not initialize those variables dynamically.
3975
60bfd54c
RM
39762013-05-03 Roland McGrath <roland@hack.frob.com>
3977
cc0e6ed8
RM
3978 * io/open.c (__open_2): Moved to ...
3979 * io/open_2.c: ... this new file.
3980 * io/open64.c (__open64_2): Moved to ...
3981 * io/open64_2.c: ... this new file.
3982 * io/openat.c (__openat_2): Moved to ...
3983 * io/openat_2.c: ... this new file.
3984 * io/openat64.c (__openat64_2): Moved to ...
3985 * io/openat64_2.c: ... this new file.
3986 * io/Makefile (routines): Add them.
3987 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3988 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3989 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3990 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3991 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3992 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3993 (__openat64): Add hidden_ver.
3994 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3995 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3996
60bfd54c
RM
3997 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3998 Separately conditionalize setting of GLRO(dl_sysinfo) so
3999 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4000 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4001
83e7640f
AZ
40022013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003
4004 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4005 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4006 definition.
4007 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4008 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4009 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4010 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4011 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4012
d5dc2af3
JM
40132013-05-03 Joseph Myers <joseph@codesourcery.com>
4014
c31a5b1e
JM
4015 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4016 test signgam value.
4017
d5dc2af3
JM
4018 * math/libm-test.inc (hypot_test): Do not use
4019 IGNORE_ZERO_INF_SIGN.
4020
164fd39d
AJ
40212013-05-03 Andreas Jaeger <aj@suse.de>
4022
4023 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4024 Linux 3.9.
4025 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4026 (PF_MAX): Adjust for VSOCK change.
4027
8237f48c
AZ
40282013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4031
9df02941
CD
40322013-05-02 Carlos O'Donell <carlos@redhat.com>
4033
4034 [BZ #15264]
4035 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4036 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4037 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4038
d422395e
DM
40392013-05-02 David S. Miller <davem@davemloft.net>
4040
4041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4042
a07c5731
OB
40432013-05-01 Ondřej Bílka <neleai@seznam.cz>
4044
4045 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4046
1324e37f
RM
40472013-05-01 Roland McGrath <roland@hack.frob.com>
4048
4049 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4050
0695940b
RS
40512013-05-01 Richard Smith <richard@metafoo.co.uk>
4052
bb5f27ad 4053 [BZ #14952]
0695940b
RS
4054 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4055 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4056 Use __attribute__ ((__gnu_inline__)).
4057 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4058 Don't use __attribute__ ((__gnu_inline__)).
4059
10de07f5
JM
40602013-05-01 Joseph Myers <joseph@codesourcery.com>
4061
4062 [BZ #15423]
4063 * math/s_catan.c (__catan): Handle small real or imaginary part of
4064 input specially to avoid spurious underflow.
4065 * math/s_catanf.c (__catanf): Likewise.
4066 * math/s_catanh.c (__catanh): Likewise.
4067 * math/s_catanhf.c (__catanhf): Likewise.
4068 * math/s_catanhl.c (__catanhl): Likewise.
4069 * math/s_catanl.c (__catanl): Likewise.
4070 * math/libm-test.inc (catan_test): Add more tests.
4071 (catanh_test): Likewise.
4072 * sysdeps/i386/fpu/libm-test-ulps: Update.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074
cb4d5414
AZ
40752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4076
4077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4078
caf84319
JM
40792013-04-30 Joseph Myers <joseph@codesourcery.com>
4080
4081 [BZ #15416]
4082 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4083 accurately for denominator in atan2.
4084 * math/s_catanf.c (__catanf): Likewise.
4085 * math/s_catanh.c (__catanh): Likewise.
4086 * math/s_catanhf.c (__catanhf): Likewise.
4087 * math/s_catanhl.c (__catanhl): Likewise.
4088 * math/s_catanl.c (__catanl): Likewise.
4089 * math/libm-test.inc (catan_test): Add more tests.
4090 (catanh_test): Likewise.
4091 * sysdeps/i386/fpu/libm-test-ulps: Update.
4092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4093
d569c6ee
SP
40942013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4095
6dbe713d
SP
4096 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4097
f0ee064b
SP
4098 * benchtests/Makefile (bench): Remove slow benchmarks.
4099 * benchtests/atan-inputs: Add slow benchmark inputs.
4100 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4101 (BENCH_FUNC): Accept variant offset.
4102 (VARIANT): Define.
4103 * benchtests/bench-skeleton.c (main): Run benchmark for each
4104 variant.
4105 * benchtests/cos-inputs: Add slow benchmark inputs.
4106 * benchtests/exp-inputs: Likewise.
4107 * benchtests/pow-inputs: Likewise.
4108 * benchtests/sin-inputs: Likewise.
4109 * benchtests/slowatan-inputs: Remove.
4110 * benchtests/slowatan.c: Remove.
4111 * benchtests/slowcos-inputs: Remove.
4112 * benchtests/slowcos.c: Remove.
4113 * benchtests/slowexp-inputs: Remove.
4114 * benchtests/slowexp.c: Remove.
4115 * benchtests/slowpow-inputs: Remove.
4116 * benchtests/slowpow.c: Remove.
4117 * benchtests/slowsin-inputs: Remove.
4118 * benchtests/slowsin.c: Remove.
4119 * benchtests/slowtan-inputs: Remove.
4120 * benchtests/slowtan.c: Remove.
4121 * benchtests/tan-inputs: Add slow benchmark inputs.
4122 * scripts/bench.pl: Parse comments and directives.
4123
d569c6ee
SP
4124 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4125 in CPPFLAGS.
4126 ($(objpfx)bench-%.c): Remove *-ITER.
4127 * benchtests/bench-modf.c: Remove definition of ITER.
4128 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4129 (main): Loop for DURATION seconds instead of fixed number of
4130 iterations.
4131 * scripts/bench.pl: Don't expect iterations in parameters.
4132
a6a242fe
RM
41332013-04-29 Roland McGrath <roland@hack.frob.com>
4134
4135 * io/fchdir.c (__fchdir): Renamed from fchdir.
4136 (fchdir): Define as weak alias.
4137
f2da7793
JM
41382013-04-29 Joseph Myers <joseph@codesourcery.com>
4139
4140 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4141 (ERRNO_EDOM): Likewise.
4142 (ERRNO_ERANGE): Likewise.
4143 (noErrnoTests): New variable.
4144 (init_max_error): Set errno to 0.
4145 (test_single_errno): New function.
4146 (test_errno): Likewise.
4147 (check_float_internal): Call test_errno. Set errno to 0.
4148 (check_complex): Refer to errno tests in comment.
4149 (check_int): Call test_errno. Set errno to 0.
4150 (check_long): Likewise.
4151 (check_bool): Likewise.
4152 (check_longlong): Likewise.
4153 (cos_test): Use ERRNO_* flags for errno tests instead of
4154 check_int.
4155 (expm1_test): Likewise.
4156 (fmod_test): Likewise.
4157 (ilogb_test): Likewise.
4158 (lgamma_test): Likewise.
4159 (pow_test): Likewise.
4160 (remainder_test): Likewise.
4161 (sin_test): Likewise.
4162 (tan_test): Likewise.
4163 (yn_test): Likewise.
4164 (initialize): Set errno to 0.
4165 (main): Print number of errno tests.
4166 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4167
b1a36ceb
AJ
41682013-04-29 Andreas Jaeger <aj@suse.de>
4169
c3ed8088
AJ
4170 [BZ #15084]
4171 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4172 and RES_USEVC.
4173
f1a24198
AJ
4174 [BZ #15085]
4175 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4176 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4177 unimplemented.
4178
9ce3b2cb
AJ
4179 [BZ #15380]
4180 * stdlib/random.c (__initstate): Return NULL if
4181 __initstate fails.
4182
f1a24198 4183 [BZ #15086]
b1a36ceb
AJ
4184 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4185 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4186 RES_SNGLKUPREOP.
4187
7e7b6f36
AZ
41882013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4189
4190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4191
4d14f449
JM
41922013-04-29 Joseph Myers <joseph@codesourcery.com>
4193
4194 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4195 of individual tests.
4196 (casin_test): Likewise.
4197 (casinh_test): Likewise.
4198
5b4217d7
JM
41992013-04-27 Joseph Myers <joseph@codesourcery.com>
4200
4201 [BZ #15409]
4202 * math/s_catan.c (__catan): Handle arguments with large real or
4203 imaginary part separately without squaring.
4204 * math/s_catanf.c (__catanf): Likewise.
4205 * math/s_catanh.c (__catanh): Likewise.
4206 * math/s_catanhf.c (__catanhf): Likewise.
4207 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4208 and redefine.
4209 (__catanhl): Handle arguments with large real or imaginary part
4210 separately without squaring.
4211 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4212 and redefine.
4213 (__catanl): Handle arguments with large real or imaginary part
4214 separately without squaring.
4215 * math/libm-test.inc (catan_test): Add more tests.
4216 (catanh_test): Likewise.
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4219
4220c3ef
AJ
42202013-04-27 Andreas Jaeger <aj@suse.de>
4221
4222 [BZ #15007]
4223 * stdlib/stdlib.h: Update guards for qecvt.
4224 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4225 <stdlib.h>.
4226
4721b2d1
AM
42272013-04-27 Allan McRae <allan@archlinux.org>
4228
4229 * sysdeps/i386/fpu/libm-test-ulps: Update.
4230
f0302940
JM
42312013-04-26 Joseph Myers <joseph@codesourcery.com>
4232
9457fd95
JM
4233 [BZ #15406]
4234 * math/s_catan.c: Include <float.h>.
4235 (__catan): Ensure underflow exception occurs for underflowed
4236 result.
4237 * math/s_catanf.c: Include <float.h>.
4238 (__catanf): Ensure underflow exception occurs for underflowed
4239 result.
4240 * math/s_catanh.c: Include <float.h>.
4241 (__catanh): Ensure underflow exception occurs for underflowed
4242 result.
4243 * math/s_catanhf.c: Include <float.h>.
4244 (__catanhf): Ensure underflow exception occurs for underflowed
4245 result.
4246 * math/s_catanhl.c: Include <float.h>.
4247 (__catanhl): Ensure underflow exception occurs for underflowed
4248 result.
4249 * math/s_catanl.c: Include <float.h>.
4250 (__catanl): Ensure underflow exception occurs for underflowed
4251 result.
4252 * math/libm-test.inc (catan_test): Add more tests.
4253 (catanh_test): Likewise.
4254
f0302940
JM
4255 [BZ #15405]
4256 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4257 underflowed result.
4258 * math/s_ccoshf.c (__ccoshf): Likewise.
4259 * math/s_ccoshl.c (__ccoshl): Likewise.
4260 * math/s_csin.c (__csin): Likewise.
4261 * math/s_csinf.c (__csinf): Likewise.
4262 * math/s_csinh.c (__csinh): Likewise.
4263 * math/s_csinhf.c (__csinhf): Likewise.
4264 * math/s_csinhl.c (__csinhl): Likewise.
4265 * math/s_csinl.c (__csinl): Likewise.
4266 * math/libm-test.inc (ccos_test): Add more tests.
4267 (ccosh_test): Likewise.
4268 (csin_test): Likewise.
4269 (csinh_test): Likewise.
4270
aa630f59
AZ
42712013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4272
4273 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4274 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4275 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4276 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4277 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4278 powerpc/power5+/fpu folders.
4279 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4280
4281
1b835983
MT
42822013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4283
4284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4285
73709b26
JM
42862013-04-25 Joseph Myers <joseph@codesourcery.com>
4287
4288 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4289 additions to variable.
4290 [$(config-machine) = x86_64] (modules-names): Likewise.
4291 ($(objpfx)tst-audit3): Remove dependency.
4292 ($(objpfx)tst-audit3.out): Likewise.
4293 ($(objpfx)tst-audit4): Likewise.
4294 ($(objpfx)tst-audit4.out): Likewise.
4295 ($(objpfx)tst-audit5): Likewise.
4296 ($(objpfx)tst-audit5.out): Likewise.
4297 ($(objpfx)tst-audit6): Likewise.
4298 ($(objpfx)tst-audit6.out): Likewise.
4299 ($(objpfx)tst-audit7): Likewise.
4300 ($(objpfx)tst-audit7.out): Likewise.
4301 (tst-audit3-ENV): Remove variable.
4302 (tst-audit4-ENV): Likewise.
4303 (tst-audit5-ENV): Likewise.
4304 (tst-audit6-ENV): Likewise.
4305 (tst-audit7-ENV): Likewise.
4306 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4307 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4308 addition to variable.
4309 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4310 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4311 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4312 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4313 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4314 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4315 tst-audit3, tst-audit4 and tst-audit5.
4316 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4317 tst-audit6 and tst-audit7.
4318 [$(subdir) = elf] (modules-names): Add audit modules for those
4319 tests.
4320 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4321 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4322 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4323 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4324 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4325 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4326 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4327 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4328 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4329 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4330 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4331 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4332 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4333 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4334 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4335 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4336 Likewise.
4337 [$(subdir) = elf && $(config-cflags-avx) = yes]
4338 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4339 [$(subdir) = elf && $(config-cflags-avx) = yes]
4340 (CFLAGS-tst-auditmod4a.c): Likewise.
4341 [$(subdir) = elf && $(config-cflags-avx) = yes]
4342 (CFLAGS-tst-auditmod4b.c): Likewise.
4343 [$(subdir) = elf && $(config-cflags-avx) = yes]
4344 (CFLAGS-tst-auditmod6b.c): Likewise.
4345 [$(subdir) = elf && $(config-cflags-avx) = yes]
4346 (CFLAGS-tst-auditmod6c.c): Likewise.
4347 [$(subdir) = elf && $(config-cflags-avx) = yes]
4348 (CFLAGS-tst-auditmod7b.c): Likewise.
4349 * elf/tst-audit3.c: Move to ...
4350 * sysdeps/x86_64/tst-audit3.c: ... here.
4351 * elf/tst-audit4.c: Move to ...
4352 * sysdeps/x86_64/tst-audit4.c: ... here.
4353 * elf/tst-audit5.c: Move to ...
4354 * sysdeps/x86_64/tst-audit5.c: ... here.
4355 * elf/tst-audit6.c: Move to ...
4356 * sysdeps/x86_64/tst-audit6.c: ... here.
4357 * elf/tst-audit7.c: Move to ...
4358 * sysdeps/x86_64/tst-audit7.c: ... here.
4359 * elf/tst-auditmod3a.c: Move to ...
4360 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4361 * elf/tst-auditmod3b.c: Move to ...
4362 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4363 * elf/tst-auditmod4a.c: Move to ...
4364 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4365 * elf/tst-auditmod4b.c: Move to ...
4366 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4367 * elf/tst-auditmod5a.c: Move to ...
4368 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4369 * elf/tst-auditmod5b.c: Move to ...
4370 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4371 * elf/tst-auditmod6a.c: Move to ...
4372 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4373 * elf/tst-auditmod6b.c: Move to ...
4374 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4375 * elf/tst-auditmod6c.c: Move to ...
4376 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4377 * elf/tst-auditmod7a.c: Move to ...
4378 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4379 * elf/tst-auditmod7b.c: Move to ...
4380 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4381
1ef74943
PP
43822013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4383
4384 [BZ #15366]
4385 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4386 define unconditionally.
4387 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4388 define unconditionally.
4389 (INT8_C, INT16_C, etc.): Likewise.
4390
93fd48c5
MR
43912013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4392
ae9552cf
MR
4393 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4394 __ehdr_start with hidden visibility.
4395
93fd48c5
MR
4396 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4397
418601aa
CD
43982013-04-24 Carlos O'Donell <carlos@redhat.com>
4399
4400 * math/libm-test.inc (cos_test): Use accurate hex constants.
4401 (sincost_test): Likewise.
4402
2f38fbfe
JM
44032013-04-24 Joseph Myers <joseph@codesourcery.com>
4404
5e221800
JM
4405 * math/libm-test.inc (catan_test): Add more tests.
4406 (catanh_test): Likewise.
4407
77f143fd
JM
4408 * math/s_catanf.c (__catanf): Use suffixed floating-point
4409 constants.
4410 * math/s_catanhf.c (__catanhf): Likewise.
4411 * math/s_catanhl.c (__catanhl): Likewise.
4412 * math/s_catanl.c (__catanl): Likewise.
4413
2f38fbfe
JM
4414 [BZ #15394]
4415 * math/s_catan.c (__catan): Calculate imaginary part of result
4416 with log1p not log unless computing log of number close to 0.
4417 * math/s_catanf.c (__catanf): Likewise.
4418 * math/s_catanl.c (__catanl): Likewise.
4419 * math/s_catanh.c (__catanh): Calculate real part of result with
4420 log1p not log unless computing log of number close to 0.
4421 * math/s_catanhf.c (__catanhf): Likewise.
4422 * math/s_catanhl.c (__catanhl): Likewise.
4423 * math/libm-test.inc (catan_test): Add more tests.
4424 (catanh_test): Likewise.
4425 * sysdeps/i386/fpu/libm-test-ulps: Update.
4426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427
45d69176
SP
44282013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4429
4430 * benchtests/Makefile: Mention files in which fast and slow
4431 paths of math functions are implemented.
4432
87f51853
RM
44332013-04-23 Roland McGrath <roland@hack.frob.com>
4434
4435 * sysdeps/posix/timespec_get.c: New file.
4436
3c026539
AZ
44372013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4438
4439 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4440 POWER.
4441 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4442 for POWER.
4443 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4444 powerpc/power5/fpu folders.
4445 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4446 * benchtests/Makefile: Add modf testcase.
4447 * benchtests/bench-modf.c: New file: Benchmark test for mo
4448
ff491d14
SP
44492013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4450
4451 [BZ #14888]
4452 * time/Makefile (tests): Add tst-strptime-whitespace.
4453 * time/strptime_l.c (get_number): Use ISSPACE.
4454 (__strptime_internal): Likewise.
4455 * time/tst-strptime-whitespace.c: New test case.
4456
7ed3f4e8
AS
44572013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4458
4459 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4460 member.
4461 (_nss_files_init): Set it here.
4462
5c95f7b6
HC
44632013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4464
4465 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4466 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4467 unsigned.
4468
d34c9158
JBG
44692013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4470
4471 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4472
2169712d
SP
44732013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4474
4475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4476 size just once.
4477
29c5de99
DM
44782013-04-21 David S. Miller <davem@davemloft.net>
4479
4480 * po/ru.po: Update Russion translation from translation project.
4481
ccdad15d
AC
44822013-04-17 Adam Conrad <adconrad@0c3.net>
4483
4484 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4485 and setfsgid.
4486
0f122b8d
CD
44872013-04-17 Carlos O'Donell <carlos@redhat.com>
4488
5c5b07da 4489 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4490 * configure: Regenerate.
5c5b07da 4491 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4492 Add example to error message.
4493 * sysdeps/i386/configure: Regenerate.
4494
037714dd
SP
44952013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
4497 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4498 slowtan.
4499 * benchtests/cos-inputs: New file.
4500 * benchtests/slowcos-inputs: New file.
4501 * benchtests/slowcos.c: New file.
4502 * benchtests/slowtan-inputs: New file.
4503 * benchtests/slowtan.c: New file.
4504 * benchtests/tan-inputs: New file.
4505
e913141d
RM
45062013-04-16 Roland McGrath <roland@hack.frob.com>
4507
4508 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4509 considered kosher.
4510
a2964074
SP
45112013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4512
4856bcd2
SP
4513 * benchtests/Makefile: Include cppflags-iterator.mk to add
4514 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4515
a2964074
SP
4516 * Makefile.in (bench-clean): New target.
4517 * benchtests/Makefile (bench-clean): Likewise.
4518
9fbf9aca
DH
45192013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4520
4521 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4522
207d1e2a
TS
45232013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4524
4525 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4526
306dfba9
AS
45272013-04-15 Andreas Schwab <schwab@suse.de>
4528
4529 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4531 * nscd/pwdcache.c (cache_addpw): Likewise.
4532 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4533 more than recsize.
4534
206a6699
SP
45352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4536
4537 * benchtests/Makefile (bench): Write all output to
4538 bench-out.tmp together.
4539
0582f6b3
AS
45402013-04-15 Andreas Schwab <schwab@suse.de>
4541
4542 * nscd/nscd.c (main): Don't fork again after closing files.
4543
acb4325f
SP
45442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4545
5cb26d0a
SP
4546 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4547
acb4325f
SP
4548 * benchtests/Rules (bench-deps): Collect dependencies into a
4549 single variable. Add Makefile to dependencies.
4550 ($(objpfx)bench-%.c): Depend on bench-deps.
4551
47792506
RM
45522013-04-12 Roland McGrath <roland@hack.frob.com>
4553 Xavier Roche <roche+kml2@exalead.com>
4554
4555 [BZ #15361]
4556 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4557 just that it's a file descriptor.
4558 * manual/llio.texi (Synchronizing AIO Operations): Update description
4559 for EBADF error from aio_fsync.
4560
8fc1bee5
SP
45612013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4562
4563 * Rules (bench): Move target definition...
4564 * benchtests/Makefile: ... here.
4565
aba5e333
CD
45662013-04-11 Carlos O'Donell <carlos@redhat.com>
4567
4568 * math/libm-test.inc (cos_test): Fix PI/2 test.
4569 (sincos_test): Likewise.
4570 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4571 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4572
273cdee8
AS
45732013-04-11 Andreas Schwab <schwab@suse.de>
4574
6ecec3b6
AS
4575 [BZ #13988]
4576 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4577 accept exponent character only when digits were seen.
4578 * stdio-common/Makefile (tests): Add bug26.
4579 * stdio-common/bug26.c: New file.
4580
273cdee8
AS
4581 [BZ #14293]
4582 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4583 non-freeable.
4584
8da491f5
SP
45852013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4586
01dc6df9
SP
4587 * Makeconfig (rtld-prefix): Define built linker prefix.
4588 * Rules (run-bench): Use it.
4589 * math/Makefile (run-regen-ulps): Likewise.
4590
8da491f5
SP
4591 * Rules (bench): Remove eval.
4592
abe7f530
SP
45932013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4594 Roland McGrath <roland@hack.frob.com>
4595 Ondrej Bilka <neleai@seznam.cz>
4596
4597 [BZ #15346]
4598 * time/getdate.c: Include ctype.h and alloca.h.
4599 (__getdate_r): Trim leading and trailing spaces of input.
4600 * time/tst-getdate.c (tests): Add tests with leading and
4601 trailing spaces.
4602
61c23e62
RM
46032013-04-08 Roland McGrath <roland@hack.frob.com>
4604
4605 [BZ #14280]
4606 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4607 when computing value.
4608
7208a313
CD
46092013-04-06 Carlos O'Donell <carlos@redhat.com>
4610
085b2d41
CD
4611 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4612 Use testrun.sh to run libm tests.
4613
7208a313
CD
4614 [BZ #15309]
4615 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4616
872c0acd
MM
46172013-04-06 Marko Myllynen <myllynen@redhat.com>
4618
4619 [BZ #15264]
4620 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4621
26510bdd
CD
46222013-04-06 Carlos O'Donell <carlos@redhat.com>
4623
4624 * Makefile.in (regen-ulps): New target.
4625 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4626 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4627 [ifneq (no,$(PERL)] (regen-ulps): New target.
4628 [ifeq (no,$(PERL)] (regen-ulps): New target.
4629 * math/libm-test.inc (ulps_file_name): Define.
4630 (output_dir): New variable.
4631 (options): Add "output-dir" option.
4632 (parse_opt): Handle 'o' case.
4633 (main): If output_dir is non-NULL use it as a prefix
4634 otherwise use "".
4635 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4636
a01f19c8
CD
46372013-04-06 Carlos O'Donell <carlos@redhat.com>
4638
4639 [BZ #10060, #10062]
4640 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4641 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4642 fail configure if __sync_val_compare_and_swap is not inlined.
4643 * sysdeps/i386/configure: Regenerate.
4644 * configure.in: Build for i686 when configured for i386.
4645 * configure: Regenerate.
4646 * README: Remove i386 reference.
4647
b7a329a5
CD
46482013-04-06 Carlos O'Donell <carlos@redhat.com>
4649
4650 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4651 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4652
bf0f50df
TS
46532013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4654
ee091edf
TS
4655 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4656 (lmsnanval): New variables.
4657 (F): Add conversion tests.
4658 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4659 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4660
a8b792d6
TS
4661 * stdio-common/tstdiomisc.c (F): Properly collect individual
4662 tests' results.
4663
a1cbf437
TS
4664 [BZ #14686, #15336]
4665 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4666 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4667 Instead, use input NaN values or generate a qNaN by arithmetic
4668 operation. Also fix bugs to comply with the standard.
4669 * math/libm-test.inc (remainder_test): Add more tests.
4670
8b43a0c9
TS
4671 [BZ #15335, #15342]
4672 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4674 input NaN values or generate a qNaN by arithmetic operation.
4675
d91da4ce
TS
4676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4677 unreachable code.
4678
bf0f50df
TS
4679 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4680 definitions.
4681
05e166c8
JM
46822013-04-03 Joseph Myers <joseph@codesourcery.com>
4683
4684 [BZ #14478]
4685 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4686 underflowed result.
4687 * math/s_cexpf.c (__cexpf): Likewise.
4688 * math/s_cexpl.c (__cexpl): Likewise.
4689 * math/libm-test.inc (cexp_test): Add more tests.
4690
1cef1b19
AS
46912013-04-03 Andreas Schwab <schwab@suse.de>
4692
4693 [BZ #15330]
4694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4695 order arrays from heap if bigger than alloca cutoff.
4696
74d87055
TS
46972013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4698
4699 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4700 (SNAN_TESTS_double): Refer to GCC PR56831.
4701 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4702 GCC PR56828.
4703
d755bba4
SP
47042013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4705
90d5d5bb
SP
4706 * Rules (bench): Move bench.out after the run is complete.
4707
73e0cd5d
SP
4708 * Rules (bench): Echo currently running benchmark.
4709
64aabd4b
SP
4710 * benchtests/Makefile (bench): Add atan and slowatan.
4711 * benchtests/atan-inputs: New file.
4712 * benchtests/slowatan-inputs: New file.
4713 * benchtests/slowatan.c: New file.
4714
c871eccd
SP
4715 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4717 its value.
4718
d755bba4
SP
4719 [BZ #15305]
4720 * sysdeps/unix/sysv/linux/kernel-features.h
4721 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4722 __ASSUME_XFS_RESTRICTED_CHOWN.
4723 * sysdeps/unix/sysv/linux/pathconf.c
4724 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4725 Save and restore errno.
4726
52ce4860
JM
47272013-04-02 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #15327]
4730 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4731 arguments using __kernel_casinh.
4732 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4733 arguments using __kernel_casinhf.
4734 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4735 arguments using __kernel_casinhl.
4736 * math/libm-test.inc (cacosh_test): Add more tests.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739
81f311c2
SP
47402013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
e7906a47
SP
4742 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4744
92e3664b
SP
4745 * bench/Makefile (bench): Add sin and slowsin.
4746 * benchtests/sin-inputs: New file.
4747 * benchtests/slowsin-inputs: New file.
4748 * benchtests/slowsin.c: New file.
4749
81f311c2
SP
4750 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4751 (bench): Add slowexp and slowpow.
4752 (exp-ITER): Increase iterations.
4753 (pow-ITER): Likewise.
4754 * benchtests/exp-inputs: Change input.
4755 * benchtests/pow-inputs: Likewise.
4756 * benchtests/slowexp-inputs: New file.
4757 * benchtests/slowexp.c: New file.
4758 * benchtests/slowpow-inputs: New file.
4759 * benchtests/slowpow.c: New file.
4760
ab0f1aa9
AZ
47612013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4762
4763 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4764 instructions.
4765 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4767 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4768 * benchtests/Makefile: Add rint benchtest.
4769 * benchtests/rint-inputs: Input for rint benchtest.
4770
57267616
TS
47712013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4772
4773 * Versions.def (libm): Add GLIBC_2.18.
4774 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4775 hidden libm prototypes.
4776 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4777 * math/Makefile (libm-calls): Add s_issignaling.
4778 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4779 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4780 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4781 declaration.
4782 * math/math.h [__USE_GNU] (issignaling): New macro.
4783 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4784 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4785 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4786 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4789 * manual/arith.texi (issignaling): New section.
4790 * manual/libm-err-tab.pl (@all_functions): Update comment.
4791 * math/gen-libm-test.pl (parse_args): Apply special handling for
4792 issignaling.
4793 * math/libm-test.inc (print_float, issignaling_test): New
4794 functions.
4795 (check_float_internal): Add issignaling checks.
4796 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4797 default definition.
4798 * sysdeps/powerpc/math-tests.h: New file.
4799 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4800 tests.
4801 * math/test-snan.c (TEST_FUNC): Likewise.
4802
6142896d
DM
48032013-03-30 David S. Miller <davem@davemloft.net>
4804
4805 * po/de.po: Update from translation team.
4806
ccc8cadf
JM
48072013-03-30 Joseph Myers <joseph@codesourcery.com>
4808
4809 [BZ #10357]
4810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4811 imaginary part less than 1.0 and real part less than 0.5
4812 specially.
4813 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4814 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4815 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4816 (cacos_test): Add more tests.
4817 (casin_test): Likewise.
4818 (casinh_test): Likewise.
4819 * sysdeps/i386/fpu/libm-test-ulps: Update.
4820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4821
0f6a8d4b
SP
48222013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4823
0d1029de
SP
4824 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4825 ONE with its value.
4826
c2d94018
SP
4827 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4828 (__pow_mp): Replace ONE and MONE with their values.
4829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4831 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4832 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4833 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4834 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4835
27ec37f1
SP
4836 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4837
a64d7e0e
SP
4838 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4839 (__pow_mp): Replace ZERO and MZERO with their values.
4840 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4842 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4844 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4845 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4846 (__sqr): Likewise.
4847
d26dd3eb
SP
4848 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4849
0f6a8d4b
SP
4850 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4851
e57b0c61
RM
48522013-03-28 Roland McGrath <roland@hack.frob.com>
4853
4854 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4855 Declare with __attribute__ ((weak)).
4856 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4857 Call __call_tls_dtors only if it's not NULL.
4858
356b3480
RM
48592013-03-28 Roland McGrath <roland@hack.frob.com>
4860
288f7d79
RM
4861 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4862 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4863 magic __ehdr_start linker symbol if it's defined.
4864 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4865 them up here if it was already done.
4866
dc0a0263
RM
4867 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4868 (_dl_aux_init): Use const in cast when setting it.
4869 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4870 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4871 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4872
3d3436ae
RM
4873 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4874 Declare them here.
4875 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4876 * csu/libc-tls.c: Nor here.
4877 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4878
356b3480
RM
4879 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4880 (__libc_message): Never call vsyslog.
4881
b0f1246a
AM
48822013-03-28 Alan Modra <amodra@gmail.com>
4883
4884 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4885 Define as empty.
4886 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4887 Likewise.
4888
fbbe2b9a
AZ
48892013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4890
4891 [BZ #15214]
4892 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4893 underflow.
4894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4895
1728ab37
SP
48962013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4897
7a86be6e
SP
4898 [BZ #15304]
4899 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4900 Don't add gid passed as argument.
4901
1728ab37
SP
4902 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4903
3a7182a1
JM
49042013-03-27 Joseph Myers <joseph@codesourcery.com>
4905
4906 [BZ #15307]
4907 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4908 imaginary part between 1.0 and 1.5 and real part less than 0.5
4909 specially.
4910 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4911 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4912 * math/libm-test.inc (cacos_test): Add more tests.
4913 (casin_test): Likewise.
4914 (casinh_test): Likewise.
4915 * sysdeps/i386/fpu/libm-test-ulps: Update.
4916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4917
6f2e90e7
SP
49182013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4919
5739f705
SP
4920 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4921 constants.
4922 (norm): Likewise.
4923 (denorm): Likewise.
4924 (__dbl_mp): Likewise.
4925 (add_magnitudes): Likewise.
4926 (sub_magnitudes): Likewise.
4927 (__add): Likewise.
4928 (__sub): Likewise.
4929 (__mul): Likewise.
4930 (__sqr): Likewise.
4931 (__inv): Likewise.
4932 (__dvd): Likewise.
4933
e375e83d
SP
4934 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4935 commented code.
4936 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4937 (__dubcos): Likewise.
4938 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4939 (__ieee754_acos): Likewise.
4940 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4941 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4942 (__exp1): Likewise.
4943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4945 (log1): Likewise.
4946 (my_log2): Likewise.
4947 (checkint): Likewise.
4948 * sysdeps/ieee754/dbl-64/e_remainder.c
4949 (__ieee754_remainder): Likewise.
4950 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4951 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4952 (bsloww): Likewise.
4953 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4954
6f2e90e7
SP
4955 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4956 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4957 MANTISSA_STORE_T to store computations on mantissa. Use
4958 macros for rounding and division.
4959 (denorm): Likewise.
4960 (__dbl_mp): Likewise.
4961 (add_magnitudes): Likewise.
4962 (sub_magnitudes): Likewise.
4963 (__mul): Likewise.
4964 (__sqr): Likewise.
4965 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4966 powers of two in terms of TWOPOW macro.
4967 (mp_no): Make type of mantissa as MANTISSA_T.
4968 [!RADIXI]: Define RADIXI.
4969 [!TWO52]: Define TWO52.
4970 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4971
fce14d4e
AZ
49722013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4973
4974 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4975 llroundl symbol when building for PPC32.
4976
9ad027fb
MW
49772013-03-24 Mark H Weaver <mhw@netris.org>
4978
4979 * manual/arith.texi (Normalization Functions): Fix prototypes for
4980 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4981
e42a38dd
AZ
49822013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4983
4984 [BZ #13889]
4985 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4986 high value to check if expl overflow.
4987 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4988 to check for underflow and overflow.
4989 * math/libm-test.inc: Add exp test.
4990
2e0fb521
DL
49912013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4992
4993 [BZ #11120]
4994 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4995 with NOT_IN_libc.
4996
b5784d95
AZ
49972013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4998
4999 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5000 symbol.
5001
5aa4a1a1
TS
50022013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5003
bdef0be7
TS
5004 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5005 wrap blocks consisting of several statements.
5006
5aa4a1a1
TS
5007 * sysdeps/generic/math-tests.h: New file.
5008 * sysdeps/i386/fpu/math-tests.h: Likewise.
5009 * math/test-snan.c: Include it.
5010 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5011
98c48fe5
JM
50122013-03-21 Joseph Myers <joseph@codesourcery.com>
5013
5014 [BZ #15285]
5015 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5016 (__ieee754_j0l): Do not improve calculations using cos of twice
5017 input for inputs above LDBL_MAX / 2.0L.
5018 (__ieee754_y0l): Likewise.
5019 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5020 (__ieee754_j1l): Do not improve calculations using cos of twice
5021 input for inputs above LDBL_MAX / 2.0L.
5022 (__ieee754_y1l): Likewise.
5023 * math/libm-test.inc (j0_test): Add another test.
5024 (j1_test): Likewise.
5025 (y0_test): Likewise.
5026 (y1_test): Likewise.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028
3775a8bc
SP
50292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
5031 * Rules ($(objpfx)bench-%.c): Include code from a C source
5032 file.
5033
0a1b2ae6
JM
50342013-03-21 Joseph Myers <joseph@codesourcery.com>
5035
5036 [BZ #15287]
5037 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5038 imaginary part 1.0 and real part less than 0.5 specially.
5039 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5040 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5041 * math/libm-test.inc (cacos_test): Add more tests.
5042 (casin_test): Likewise.
5043 (casinh_test): Likewise.
5044 * sysdeps/i386/fpu/libm-test-ulps: Update.
5045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5046
b33d4ce4
SP
50472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5048
5049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5050 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5051
bef0b507
JM
50522013-03-20 Joseph Myers <joseph@codesourcery.com>
5053
5054 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5055 * config.make.in (config-cflags-sse4): Remove variable.
5056 (config-cflags-avx): Likewise.
5057 (config-cflags-sse2avx): Likewise.
5058 (config-cflags-novzeroupper): Likewise.
5059 (config-asflags-i686): Likewise.
5060 (have-mfma4): Likewise.
5061 (have-as-vis3): Likewise.
5062 (MIG): Likewise.
5063 * configure.in (MIG): Do not AC_SUBST.
5064 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5065 (libc_cv_cc_sse4): Do not AC_SUBST.
5066 (libc_cv_cc_avx): Likewise.
5067 (libc_cv_cc_sse2avx): Likewise.
5068 (libc_cv_cc_novzeroupper): Likewise.
5069 (libc_cv_cc_fma4): Likewise.
5070 (libc_cv_as_i686): Likewise.
5071 (libc_cv_sparc_as_vis3): Likewise.
5072 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5073 LIBC_CONFIG_VAR.
5074 (config-asflags-i686): Likewise.
5075 (config-cflags-avx): Likewise.
5076 (config-cflags-sse2avx): Likewise.
5077 (have-mfma4): Likewise.
5078 (config-cflags-novzeroupper): Likewise.
5079 * sysdeps/mach/configure.in (MIG): Likewise.
5080 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5081 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5082 LIBC_CONFIG_VAR.
5083 (config-cflags-avx): Likewise.
5084 (config-cflags-sse2avx): Likewise.
5085 (have-mfma4): Likewise.
5086 (config-cflags-novzeroupper): Likewise.
5087 * configure: Regenerated.
5088 * sysdeps/i386/configure: Likewise.
5089 * sysdeps/mach/configure: Likewise.
5090 * sysdeps/sparc/configure: Likewise.
5091 * sysdeps/x86_64/configure: Likewise.
5092
912cc4b3
RM
50932013-03-20 Roland McGrath <roland@hack.frob.com>
5094
5095 [BZ #14812]
5096 * locale/programs/localedef.c (options): Put N_ translation marker
5097 on argument names, not just descriptions.
5098
04eed2b0
MS
50992013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5100
5101 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5102
a065ceff
OB
51032013-03-20 Ondřej Bílka <neleai@seznam.cz>
5104
9bb2a810 5105 [BZ #14176]
a065ceff
OB
5106 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5107
a600e5ce
RM
51082013-03-19 Roland McGrath <roland@hack.frob.com>
5109
5110 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5111 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5112 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5113 [!BEFORE_ABORT] (before_abort): New function.
5114 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5115 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5116 (writev_for_fatal): New function.
5117 (WRITEV_FOR_FATAL): New macro; call that.
5118 (backtrace_and_maps): New function.
5119 (BEFORE_ABORT): New macro; call that.
5120 (struct str_list): Type removed.
5121 (__libc_message, __libc_fatal): Functions removed.
5122 Include <sysdeps/posix/libc_fatal.c> instead.
5123
6b18bea6
JM
51242013-03-19 Joseph Myers <joseph@codesourcery.com>
5125
5126 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5127 constants.
5128 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5129 double constants.
5130
aaa8cb4b
AS
51312013-03-19 Andreas Schwab <schwab@suse.de>
5132
44673770
AS
5133 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5134 * sysdeps/gnu/configure: Regenerate.
5135
aaa8cb4b
AS
5136 * configure.in: Substitute libc_cv_rtlddir.
5137 * configure: Regenerate.
5138 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5139 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5140 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5141 * elf/Makefile (install-others, CFLAGS-interp.c)
5142 (ldso_install, common-ldd-rewrite): Likewise.
5143 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5144 $(inst_slibdir)/$(rtld-installed-name).
5145 * scripts/rellns-sh: Add -p option.
5146 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5147 for source.
5148
d3cfc668
SP
51492013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5150
5151 * manual/nptl.texi: Renamed to ...
5152 * manual/threads.texi: ... this.
5153 * manual/Makefile (chapters): Update.
5154
0e2b9cdd
RM
51552013-03-18 Roland McGrath <roland@hack.frob.com>
5156
5157 [BZ #14812]
5158 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5159 on argument names, not just descriptions.
0e2b9cdd
RM
5160 * malloc/memusagestat.c (options): Likewise.
5161 * nss/getent.c (options): Likewise.
63270c24
RM
5162
51632013-03-18 Benno Schulenberg <bensberg@justemail.net>
5164
5165 [BZ #14812]
5166 * iconv/iconv_prog.c (options): Put N_ translation marker
5167 on argument names, not just descriptions.
5168 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5169
b2e1393c
OB
51702013-03-18 Ondrej Bilka <neleai@seznam.cz>
5171
5172 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5173 implementation which is faster on all x86_64 architectures.
5174 Tested on AMD, Intel Nehalem, SNB, IVB.
5175 * sysdeps/x86_64/strnlen.S: Likewise.
5176
5177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5178 Remove all multiarch strlen and strnlen versions.
5179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5180 Remove strlen and strnlen related parts.
5181
5182 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5183 Inline strlen part.
5184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5185
5186 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5187 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5188 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5189 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5190 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5191 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5192
ec4ff04d
CD
51932013-03-17 Carlos O'Donell <carlos@redhat.com>
5194
5195 * manual/memory.texi (Malloc Tunable Parameters):
5196 Sort parameters alphabetically. Add comments for missing entries.
5197
cd18e90a
DM
51982013-03-17 David S. Miller <davem@davemloft.net>
5199
5200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5201
2a185d32
JM
52022013-03-16 Joseph Myers <joseph@codesourcery.com>
5203
d2f9799e
JM
5204 [BZ #15283]
5205 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5206 for arguments at most half maximum finite value.
5207 * math/libm-test.inc (j0_test): Add more tests.
5208 (j1_test): Likewise.
5209 (y0_test): Likewise.
5210 (y1_test): Likewise.
5211 * sysdeps/i386/fpu/libm-test-ulps: Update.
5212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5213
2a185d32
JM
5214 [BZ #14155]
5215 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5216 1 / x and functions P and Q for arguments above 0x1p256L.
5217 (__ieee754_y0l): Likewise.
5218 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5219 (__ieee754_y1l): Likewise.
5220 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5221 (j1_test): Likewise.
5222 (y0_test): Likewise.
5223 (y1_test): Likewise.
5224
6cbec759
TS
52252013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5226
5227 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5228 variable.
5229
bc16e260
RM
52302013-03-15 Roland McGrath <roland@hack.frob.com>
5231
aefc9b8c
RM
5232 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5233 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5234 zero since it's initialized to EXEC_PAGESIZE.
5235
bc16e260
RM
5236 * sysdeps/unix/sysv/linux/ldsodefs.h
5237 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5238 * sysdeps/generic/ldsodefs.h: ... here.
5239
a57da955
TS
52402013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5241
af00a34d
TS
5242 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5243
495ded2c
TS
5244 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5245 math/test-snan.c.
5246 * math/test-snan.c: Renamed from
5247 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5248 * math/Makefile (tests): Add test-snan.
5249 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5250 test-powerpc-snan.
5251
777b0332
TS
5252 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5253 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5254 functions.
5255 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5256 __builtin_nan family of functions.
5257 * math/libm-test.inc (initialize): Initialize qnan_value with
5258 __builtin_nan family of functions.
5259 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5260 Remove variables.
5261 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5262 Remove functions.
5263 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5264 storage class. Initialize qNaN_var and sNaN_var with
5265 __builtin_nan and __builtin_nans families of functions,
5266 respectively.
5267
64d063b8
TS
5268 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5269 (sqrt_test): Remove duplicate test with qNaN input.
5270 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5271 (round_test, signbit_test, significand_test): Note missing +/-Inf
5272 as well as qNaN tests.
5273
67e971f1
TS
5274 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5275 qNaN_var. Fix a few strings, too.
5276 * math/libm-test.inc (nan_value): Rename to qnan_value.
5277 * math/gen-libm-test.pl (%beautify): Adjust to that.
5278 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5279 * math/test-misc.c (main): Likewise.
5280 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5281 to __qnan_bytes, and __qnan_union, respectively.
5282 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5283 Likewise.
5284 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5285 and lqnanval, respectively.
5286 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5287 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5288 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5289 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5290
64487e12
TS
5291 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5292 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5293 doubles.
5294
e015e27b
TS
5295 * math/test-misc.c (main): Fix copy'n'pastos.
5296 * misc/tst-efgcvt.c (special): Likewise.
5297
a57da955
TS
5298 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5299 Remove declarations.
5300
1e380345
SP
53012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5302
5303 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5304 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5305 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5307
ef26eece
AZ
53082013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5309
5310 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5311 macro to return vdso values correctly in IFUNC implementations.
5312 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5313 Optimization by using IFUNC.
5314
8cfdb7e0
SP
53152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5316 Richard Henderson <rth@redhat.com>
5317 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5318
5319 * Makefile.in (bench): New target.
5320 * NEWS: Mention the benchmark framework.
5321 * Rules (bench): Likewise.
5322 (binaries-bench): Generate binaries for functions to
5323 benchmark.
5324 * benchtests/Makefile: New makefile for benchmark tests.
5325 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5326 programs.
5327 * benchtests/exp-inputs: New input file for EXP function.
5328 * benchtests/pow-inputs: New input file for POW function.
5329 * scripts/bench.pl: New script to generate source files for
5330 benchmark programs.
5331
bcda9880
SP
53322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5333
d22ca8cd
SP
5334 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5336 computations on mantissa. Use macros for rounding and
5337 division.
5338 (denorm): Likewise.
5339 (__dbl_mp): Likewise.
5340 (add_magnitudes): Likewise.
5341 (sub_magnitudes): Likewise.
5342 (__mul): Likewise.
5343 (__sqr): Likewise.
5344 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5345 powers of two in terms of TWOPOW macro.
5346 (mp_no): Make type of mantissa as MANTISSA_T.
5347 [!RADIXI]: Define RADIXI.
5348 [!TWO52]: Define TWO52.
5349 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5350
bcda9880
SP
5351 * manual/nptl.texi (cindex): Modify threads to pthreads.
5352
06d5adfb
JM
53532013-03-15 Joseph Myers <joseph@codesourcery.com>
5354
5355 * sysdeps/x86_64/preconfigure: Regenerated.
5356
41c7328e
JM
53572013-03-14 Joseph Myers <joseph@codesourcery.com>
5358
5359 [BZ #14155]
5360 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5361 0x1p28 and above.
5362 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5363 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5364 0x1p28 and above.
5365 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5366 * math/libm-test.inc (j0_test): Do not allow one spurious
5367 underflow exception.
5368 (y1_test): Likewise.
5369
e25cfa60
SP
53702013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5371
0409959c
SP
5372 * manual/Makefile (chapters): Add nptl.
5373 * manual/debug.texi (Debugging Support): Add link to Threads
5374 chapter.
5375 * manual/nptl.texi: New file.
5376
e25cfa60
SP
5377 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5378
58a1335e
PB
53792013-03-14 Petr Baudis <pasky@ucw.cz>
5380
5381 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5382 for non-NULL pointer before the memory validity test. Pointed
5383 out by Holger Brunck <holger.brunck@keymile.com>.
5384
9dc7c64f
AS
53852013-03-13 Andreas Schwab <schwab@suse.de>
5386
5387 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5388 instead of .os.
5389
54206aa6
JM
53902013-03-13 Joseph Myers <joseph@codesourcery.com>
5391
5392 * timezone/zic.c: Update from tzcode 2013b.
5393
e98cdb38
CD
53942013-03-12 Carlos O'Donell <carlos@redhat.com>
5395
5396 * manual/install.texi (Configuring and compiling):
5397 Mention i686 and i586.
5398 * INSTALL: Regenerate.
5399
9967e003
RM
54002013-03-12 Roland McGrath <roland@hack.frob.com>
5401
5402 * sysdeps/init_array/elf-init.c: New file.
5403 * csu/elf-init.c
5404 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5405 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5406
5407 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5408 __gmon_start__ as global, but as static with a .preinit_array pointer.
5409 * sysdeps/init_array/gmon-start.c: New file. Use that.
5410 * sysdeps/init_array/crti.S: New file, empty except for comments.
5411 * sysdeps/init_array/crtn.S: Likewise.
5412
e6b5a293 54132013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5414
5415 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5416 definining bcopy.
80f844c9
OB
5417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5418 Remove Prefer_SSE_for_memop.
5419 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5420 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5421 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5423 memset-x86-64.
80f844c9 5424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5425 Remove bzero, memset ifunc support.
80f844c9
OB
5426 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5427 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5430
fb6b0fcb
AS
54312013-03-11 Andreas Schwab <schwab@suse.de>
5432
5433 [BZ #15234]
5434 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5435 by SHLIB_COMPAT.
5436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5437 (GLIBC_2.16): Remove pthread_atfork.
5438
3e6bd4b1
PP
54392013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5440
5441 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5442 (ptestcases.h): Likewise.
5443
222d7f00
RM
54442013-03-08 Roland McGrath <roland@hack.frob.com>
5445
5446 * Makeconfig ($(common-objpfx)config.status): Depend on
5447 sysdeps/*/preconfigure{,.in} too.
5448
1ba4f030
JM
54492013-03-08 Joseph Myers <joseph@codesourcery.com>
5450
a222d91a
JM
5451 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5452 (__free_hook): Use void * instead of __malloc_ptr_t.
5453 (__malloc_hook): Likewise.
5454 (__realloc_hook): Likewise.
5455 (__memalign_hook): Likewise.
5456 (__after_morecore_hook): Likewise.
5457 * malloc/arena.c (save_malloc_hook): Likewise.
5458 (save_free_hook): Likewise.
5459 * malloc/hooks.c (malloc_hook_ini): Likewise.
5460 (realloc_hook_ini): Likewise.
5461 (memalign_hook_ini): Likewise.
5462 * malloc/malloc.c (malloc_hook_ini): Likewise.
5463 (realloc_hook_ini): Likewise.
5464 (memalign_hook_ini): Likewise.
5465 (__free_hook): Likewise.
5466 (__malloc_hook): Likewise.
5467 (__realloc_hook): Likewise.
5468 (__memalign_hook): Likewise.
5469 (__libc_malloc): Likewise.
5470 (__libc_free): Likewise.
5471 (__libc_realloc): Likewise.
5472 (__libc_memalign): Likewise.
5473 (__libc_valloc): Likewise.
5474 (__libc_pvalloc): Likewise.
5475 (__libc_calloc): Likewise.
5476 (__posix_memalign): Likewise.
5477 * malloc/morecore.c (__sbrk): Likewise.
5478 (__default_morecore): Likewise.
5479
5cc45e10
JM
5480 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5481
dd54b864
JM
5482 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5483 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5484 __malloc_ptrdiff_t.
5485
1ba4f030
JM
5486 * malloc/malloc.h (__malloc_size_t): Remove macro.
5487 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5488 __malloc_size_t.
5489 (old_memalign_hook): Likewise.
5490 (old_realloc_hook): Likewise.
5491 (struct hdr): Likewise.
5492 (flood): Likewise.
5493 (mallochook): Likewise.
5494 (memalignhook): Likewise.
5495 (reallochook): Likewise.
5496 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5497 (tr_old_realloc_hook): Likewise.
5498 (tr_old_memalign_hook): Likewise.
5499 (tr_mallochook): Likewise.
5500 (tr_reallochook): Likewise.
5501 (tr_memalignhook): Likewise.
5502
edf66e57
AZ
55032013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5504
5505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5506 default_ldbl_pack and using as default implementation.
5507 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5508 implementation.
5509 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5510 redundant definition.
5511 (ldbl_insert_mantissa): Likewise.
5512 (ldbl_canonicalize): Likewise.
5513 (ldbl_nearbyint): Likewise.
5514 (ldbl_pack): Rename to ldbl_pack_ppc.
5515 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5516 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5517 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5518
6d9145d8
SP
55192013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5520
5521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5522 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5523 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5524 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5526 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5527 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5528 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5529
4dd4e157
AJ
55302013-03-07 Andreas Jaeger <aj@suse.de>
5531
5532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5533 bits/mman-linux.h.
5534
adbb8027
SP
55352013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5536
ce544b5b
SP
5537 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5538 Include mpa.h and declare __MPEXP.
5539 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5540 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5541 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5542 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5543 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5544 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5545 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5546
4cc149fd
SP
5547 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5548 (__slowpow): Use long double EXPL and LOGL functions to
5549 compute POW.
5550 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5551 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5552 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5553 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5554 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5555 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5556
e6ebd4a7
SP
5557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5558 intermediate variable to calculate exponent.
5559 (__sqr): Likewise.
5560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5561 Likewise.
5562 (__sqr): Likewise.
5563
82a9811d
SP
5564 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5565 [!NO__SQR]: Define __sqr.
5566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5567 and NO__SQR. Remove all code except __mul and __sqr. Include
5568 sysdeps/ieee754/dbl-64/mpa.c.
5569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5570
adbb8027
SP
5571 [BZ #12723]
5572 * posix/Makefile (tests): Add tst-pathconf.
5573 * posix/tst-pathconf.c: New test case.
5574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5575 _PC_PIPE_BUF.
5576 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5577
39120df9
PF
55782013-03-06 Patsy Franklin <pfrankli@redhat.com>
5579
5580 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5581
67525cb8
AJ
55822013-03-06 Andreas Jaeger <aj@suse.de>
5583
664a9ce4
AJ
5584 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5585 definition via __MAP_ANONYMOUS.
5586
8e39047d
AJ
5587 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5588 it's not part of Linux headers.
5589
67525cb8
AJ
5590 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5591 (MAP_HUGE_MASK): Define.
5592
5593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5594 Define.
5595 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5597 Define.
5598 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5599 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5600 Define.
5601 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5602 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5603 Define.
5604 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5605
5606 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5607 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5608 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5609 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5610 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5611 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5612
5613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5614 Handle f2fs.
5615
5616 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5617 Handle f2fs and efivarfs.
5618
5619 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5620 f2fs.
5621
5622 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5623 (EFIVARFS_MAGIC): Add.
5624 (F2FS_LINK_MAX): Add.
5625
e1b42695
PP
56262013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5627
5628 * stdio-common/vfprintf.c: Replace __builtin_expect with
5629 __glibc_unlikely.
5630
2d67d91a
JM
56312013-03-06 Joseph Myers <joseph@codesourcery.com>
5632
5633 [BZ #13550]
5634 * sysdeps/generic/bp-sym.h: Remove file.
5635 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5636 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5637 <bp-sym.h> and <bp-asm.h>.
5638 (__longjmp): Don't use BP_SYM.
5639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5640 and <bp-asm.h>.
5641 (memcpy): Don't use BP_SYM.
5642 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5643 <bp-sym.h> and <bp-asm.h>.
5644 (memcpy): Don't use BP_SYM.
5645 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5646 <bp-asm.h>.
5647 (memcpy): Don't use BP_SYM.
5648 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5649 <bp-asm.h>.
5650 (memset): Don't use BP_SYM.
5651 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5652 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5653 (__bzero): Don't use BP_SYM.
5654 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5655 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5656 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5657 <bp-sym.h> and <bp-asm.h>.
5658 (memcmp): Don't use BP_SYM. Remove comment about bounded
5659 pointers.
5660 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5661 <bp-sym.h> and <bp-asm.h>.
5662 (memcpy): Don't use BP_SYM.
5663 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5664 <bp-sym.h> and <bp-asm.h>.
5665 (memset): Don't use BP_SYM.
5666 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5667 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5668 (__bzero): Don't use BP_SYM.
5669 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5670 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5671 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5672 <bp-sym.h> and <bp-asm.h>.
5673 (strncmp): Don't use BP_SYM. Remove comment about bounded
5674 pointers.
5675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5676 <bp-sym.h> and <bp-asm.h>.
5677 (memcpy): Don't use BP_SYM.
5678 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5679 <bp-sym.h> and <bp-asm.h>.
5680 (memset): Don't use BP_SYM.
5681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5683 (__bzero): Don't use BP_SYM.
5684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5686 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5687 <bp-sym.h> and <bp-asm.h>.
5688 (__memchr): Don't use BP_SYM.
5689 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5690 <bp-sym.h> and <bp-asm.h>.
5691 (memcmp): Don't use BP_SYM. Remove comment about bounded
5692 pointers.
5693 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5694 <bp-sym.h> and <bp-asm.h>.
5695 (memcpy): Don't use BP_SYM.
5696 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5697 <bp-sym.h> and <bp-asm.h>.
5698 (__mempcpy): Don't use BP_SYM.
5699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5700 <bp-sym.h> and <bp-asm.h>.
5701 (__memrchr): Don't use BP_SYM.
5702 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5703 <bp-sym.h> and <bp-asm.h>.
5704 (memset): Don't use BP_SYM.
5705 (__bzero): Likewise.
5706 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5707 <bp-sym.h> and <bp-asm.h>.
5708 (__rawmemchr): Don't use BP_SYM.
5709 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5710 <bp-sym.h> and <bp-asm.h>.
5711 (__STRCMP): Don't use BP_SYM.
5712 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5713 <bp-sym.h> and <bp-asm.h>.
5714 (strchr): Don't use BP_SYM.
5715 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5716 <bp-sym.h> and <bp-asm.h>.
5717 (__strchrnul): Don't use BP_SYM.
5718 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5719 <bp-sym.h> and <bp-asm.h>.
5720 (strlen): Don't use BP_SYM.
5721 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5722 <bp-sym.h> and <bp-asm.h>.
5723 (strncmp): Don't use BP_SYM. Remove comment about bounded
5724 pointers.
5725 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5726 <bp-sym.h> and <bp-asm.h>.
5727 (__strnlen): Don't use BP_SYM.
5728 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5729 <bp-sym.h> and <bp-asm.h>.
5730 (__GI__setjmp): Don't use BP_SYM.
5731 (_setjmp): Likewise.
5732 (__sigsetjmp): Likewise.
5733 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5734 (L(start_addresses)): Don't use BP_SYM.
5735 (_start): Likewise.
5736 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5737 <bp-asm.h>.
5738 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5739 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5740 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5741 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5742 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5743 <bp-asm.h>.
5744 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5745 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5746 about bounded pointers.
5747 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5748 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5749 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5750 <bp-asm.h>.
5751 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5752 about bounded pointers. Remove GKM FIXME comments.
5753 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5754 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5755 <bp-asm.h>.
5756 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5757 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5758 Remove GKM FIXME comments.
5759 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5760 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5761 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5762 <bp-asm.h>.
5763 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5764 about bounded pointers. Remove GKM FIXME comment.
5765 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5766 and <bp-asm.h>.
5767 (strncmp): Don't use BP_SYM. Remove comment about bounded
5768 pointers.
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5770 <bp-sym.h> and <bp-asm.h>.
5771 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5773 <bp-sym.h> and <bp-asm.h>.
5774 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5775 comment.
5776
cdcf361f
PP
57772013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5778
5779 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5780 call free(NULL).
5781
3c4a2b15
DM
57822013-03-05 David S. Miller <davem@davemloft.net>
5783
5784 * po/es.po: Update from translation team.
5785
cdcf361f 57862013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5787
5788 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5789 <bits/mman-linux.h>.
5790 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5791 is fine.
5792 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5793 <bits/mman-linux.h> to end of file.
5794 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5795 is fine.
5796 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5797 <bits/mman-linux.h> to end of file.
5798 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5799 is fine.
5800 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5801 <bits/mman-linux.h> to end of file.
5802
5803 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5804 (MCL_CURRENT, MCL_FUTURE): Define here.
5805
5f67c04f
AK
58062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5807
8a4473cc 5808 [BZ #15232]
5f67c04f
AK
5809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5810 attribute_hidden.
5811 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5812
c3e94a95
AK
58132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5814
5815 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5816 fourth parameter needed for rt_sigprocmask syscall.
5817 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5818 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5819 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5820 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5821 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5822 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5823
cfb6382a
JM
58242013-03-04 Joseph Myers <joseph@codesourcery.com>
5825
5826 [BZ #13550]
5827 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5828 comment about bounded pointers.
5829 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5830 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5831
539d8e01
AJ
58322013-03-04 Andreas Jaeger <aj@suse.de>
5833
5834 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5835 common definitions.
5836
5837 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5838 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5839 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5840 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5842 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5843
2e167a70 58442013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5845
5846 [BZ #15055]
5847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5848 __ieee754_sqrl instead of __sqrl.
5849
68508633
JM
58502013-03-01 Joseph Myers <joseph@codesourcery.com>
5851
5852 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5853 * sysdeps/powerpc/fpu_control.h: ... here.
5854 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5855 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5856 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5857 * sysdeps/powerpc/bits/mathinline.h: ... here.
5858
7775448e
RM
58592013-03-01 Roland McGrath <roland@hack.frob.com>
5860
5861 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5862 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5863 to just [NEED_DL_SYSINFO_DSO].
5864 * elf/dl-support.c: Likewise.
5865 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5866 * elf/rtld.c (dl_main): Likewise.
5867 * elf/setup-vdso.h (setup_vdso): Likewise.
5868 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5869 * sysdeps/unix/sysv/linux/dl-sysdep.c
5870 (_dl_discover_osversion): Likewise.
5871
4e9b5995
CD
58722013-03-01 Carlos O'Donell <carlos@redhat.com>
5873
5874 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5875 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5876
e23872c8
SP
58772013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5878
e5c74c63
SP
5879 * NEWS: Mention libm performance improvements and non-x86 PI
5880 futex support.
5881
e23872c8
SP
5882 * csu/libc-start.c (__pthread_initialize_minimal): Change
5883 function arguments.
5884 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5885
b5510883
JM
58862013-02-28 Joseph Myers <joseph@codesourcery.com>
5887
5888 [BZ #13550]
5889 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5890 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5893 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5894 and <bp-asm.h>.
5895 (memcpy): Don't use BP_SYM.
5896 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5897 <bp-asm.h>.
5898 (__mpn_add_n): Don't use BP_SYM.
5899 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5900 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5901 and <bp-asm.h>.
5902 (__mpn_addmul_1): Don't use BP_SYM.
5903 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5904 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5905 <bp-sym.h>.
5906 (_setjmp): Don't use BP_SYM.
5907 (__novmx_setjmp): Likewise.
5908 (__GI__setjmp): Likewise.
5909 (__vmx_setjmp): Likewise.
5910 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5911 <bp-sym.h>.
5912 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5913 (__bzero): Don't use BP_SYM.
5914 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5915 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5916 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5917 <bp-sym.h> and <bp-asm.h>.
5918 (memcpy): Don't use BP_SYM.
5919 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5920 <bp-sym.h> and <bp-asm.h>.
5921 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5922 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5923 <bp-sym.h> and <bp-asm.h>.
5924 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5925 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5926 <bp-asm.h>.
5927 (__mpn_lshift): Don't use BP_SYM.
5928 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5929 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5930 <bp-asm.h>.
5931 (memset): Don't use BP_SYM.
5932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5934 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5935 <bp-asm.h>.
5936 (__mpn_mul_1): Don't use BP_SYM.
5937 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5938 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5939 <bp-sym.h> and <bp-asm.h>.
5940 (memcmp): Don't use BP_SYM.
5941 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5942 <bp-sym.h> and <bp-asm.h>.
5943 (memcpy): Don't use BP_SYM.
5944 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5945 <bp-sym.h> and <bp-asm.h>.
5946 (memset): Don't use BP_SYM.
5947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5948 <bp-sym.h> and <bp-asm.h>.
5949 (strncmp): Don't use BP_SYM.
5950 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5951 <bp-sym.h> and <bp-asm.h>.
5952 (memcpy): Don't use BP_SYM.
5953 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5954 <bp-sym.h> and <bp-asm.h>.
5955 (memset): Don't use BP_SYM.
5956 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5957 <bp-sym.h> and <bp-asm.h>.
5958 (__memchr): Don't use BP_SYM.
5959 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5960 <bp-sym.h> and <bp-asm.h>.
5961 (memcmp): Don't use BP_SYM.
5962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5963 <bp-sym.h> and <bp-asm.h>.
5964 (memcpy): Don't use BP_SYM.
5965 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5966 <bp-sym.h> and <bp-asm.h>.
5967 (__mempcpy): Don't use BP_SYM.
5968 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5969 <bp-sym.h> and <bp-asm.h>.
5970 (__memrchr): Don't use BP_SYM.
5971 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5972 <bp-sym.h> and <bp-asm.h>.
5973 (memset): Don't use BP_SYM.
5974 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5975 <bp-sym.h> and <bp-asm.h>.
5976 (__rawmemchr): Don't use BP_SYM.
5977 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5978 <bp-sym.h> and <bp-asm.h>.
5979 (__STRCMP): Don't use BP_SYM.
5980 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5981 <bp-sym.h> and <bp-asm.h>.
5982 (strchr): Don't use BP_SYM.
5983 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5984 <bp-sym.h> and <bp-asm.h>.
5985 (__strchrnul): Don't use BP_SYM.
5986 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5987 <bp-sym.h> and <bp-asm.h>.
5988 (strlen): Don't use BP_SYM.
5989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5990 <bp-sym.h> and <bp-asm.h>.
5991 (strncmp): Don't use BP_SYM.
5992 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5993 <bp-sym.h> and <bp-asm.h>.
5994 (__strnlen): Don't use BP_SYM.
5995 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5996 <bp-asm.h>.
5997 (__mpn_rshift): Don't use BP_SYM.
5998 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5999 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6000 <bp-sym.h> and <bp-asm.h>.
6001 (__sigsetjmp): Don't use BP_SYM.
6002 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6003 (L(start_addresses)): Don't use BP_SYM.
6004 (_start): Likewise.
6005 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6006 <bp-asm.h>.
6007 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6008 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6009 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6010 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6011 <bp-asm.h>.
6012 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6013 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6014 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6015 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6016 <bp-asm.h>.
6017 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6018 comments.
6019 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6020 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6021 <bp-asm.h>.
6022 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6023 FIXME comments.
6024 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6025 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6026 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6027 <bp-asm.h>.
6028 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6029 comment.
6030 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6031 and <bp-asm.h>.
6032 (strncmp): Don't use BP_SYM,
6033 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6034 <bp-asm.h>.
6035 (__mpn_sub_n): Don't use BP_SYM.
6036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6037 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6038 and <bp-asm.h>.
6039 (__mpn_submul_1): Don't use BP_SYM.
6040 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6042 <bp-sym.h> and <bp-asm.h>.
6043 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6045 <bp-sym.h> and <bp-asm.h>.
6046 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6047 comment.
6048
8d19fe64
SP
60492013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6050
6051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6052 Use ZK to minimize writes to Z.
6053 (sub_magnitudes): Simplify code a bit.
6054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6055 Use ZK to minimize writes to Z.
6056 (sub_magnitudes): Simplify code a bit.
6057
85bd816a
RM
60582013-02-27 Roland McGrath <roland@hack.frob.com>
6059
6060 * csu/gmon-start.c: Add special exception to license text.
6061
b5977bf2
RH
60622013-02-27 Richard Henderson <rth@redhat.com>
6063
6064 * scripts/config.guess: Update from config.git.
6065 * scripts/config.sub: Likewise.
6066
11d6e2f2
SP
60672013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6068
09c14ed2
SP
6069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6070
a688864e
SP
6071 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6072
6295157a
SP
6073 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6074
b8de2202
SP
6075 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6076
11d6e2f2
SP
6077 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6078
7e80ddb8
RM
60792013-02-26 Roland McGrath <roland@hack.frob.com>
6080
6081 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6082 [$(build-shared = yes].
7e80ddb8 6083
7da6d9ed
SP
60842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6085
45f05884
SP
6086 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6087 (__mul): Reduce iterations for calculating mantissa.
6088
2236d359
SP
6089 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6090 MPTWO.
6091 (__mpranred): Likewise.
6092
7da6d9ed
SP
6093 [BZ #15160]
6094 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6095 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6096
b7688c42
PE
60972013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6098
6099 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6100 Define __attribute__.
6101
53a5c423
SP
61022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6103
6104 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6105 unused.
6106 * posix/regex_internal.h (__attribute): Remove.
6107 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6108 (re_string_context_at): Likewise.
6109 (bitset_not): Use __attribute__ and mark function as possibly
6110 unused.
6111 (bitset_merge): Likewise.
6112 (bitset_mask): Likewise.
6113 (re_string_char_size_at): Likewise.
6114 (re_string_wchar_at): Likewise.
6115 (re_string_elem_size_at): Likewise.
6116
60f5a8b5
SP
61172013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6118
2a983a2e
SP
6119 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6120 code.
6121 (cc32): Likewise.
6122
e69804d1
SP
6123 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6124 (__acr): Likewise.
6125 (__cpy): Likewise.
6126 (norm): Likewise.
6127 (denorm): Likewise.
6128 (__dbl_mp): Likewise.
6129 (add_magnitudes): Likewise.
6130 (sub_magnitudes): Likewise.
6131 (__mul): Likewise.
6132 (__inv): Likewise.
6133
2f22a1e8
SP
6134 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6135 style.
6136
8930ddc7
SP
6137 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6138 style.
6139
dc60cb11
SP
6140 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6141 code.
6142
60f5a8b5
SP
6143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6144 up changes with default code.
6145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6146 Likewise.
6147
b4d1fd33
AM
61482013-02-24 Allan McRae <allan@archlinux.org>
6149
faf6f8bc
AM
6150 * manual/socket.texi (The Internet Namespace): Order menu items
6151 to match that in the file.
6152
b4d1fd33
AM
6153 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6154 node listing of the info page menu.
6155
2366713d
JM
61562013-02-21 Joseph Myers <joseph@codesourcery.com>
6157
6158 [BZ #13550]
6159 * sysdeps/i386/bp-asm.h: Remove file.
6160 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6161 (PARMS): Do not use macros from bp-asm.h.
6162 (S1): Likewise.
6163 (S2): Likewise.
6164 (SIZE): Likewise.
6165 (__mpn_add_n): Do not use BP_SYM
6166 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6167 "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (S1): Likewise.
6170 (SIZE): Likewise.
6171 (__mpn_addmul_1): Do not use BP_SYM
6172 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6173 "bp-asm.h".
6174 (PARMS): Do not use macros from bp-asm.h.
6175 (SIGMSK): Likewise.
6176 (_setjmp): Likewise. Do not use BP_SYM.
6177 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6178 "bp-asm.h".
6179 (PARMS): Do not use macros from bp-asm.h.
6180 (SIGMSK): Likewise.
6181 (setjmp): Likewise. Do not use BP_SYM.
6182 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6183 "bp-asm.h".
6184 (PARMS): Do not use macros from bp-asm.h.
6185 (__frexp): Do not use BP_SYM.
6186 (frexp): Likewise.
6187 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6188 "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (__frexpf): Do not use BP_SYM.
6191 (frexpf): Likewise.
6192 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6193 "bp-asm.h".
6194 (PARMS): Do not use macros from bp-asm.h.
6195 (__frexpl): Do not use BP_SYM.
6196 (frexpl): Likewise.
6197 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6198 "bp-asm.h".
6199 (PARMS): Do not use macros from bp-asm.h.
6200 (__remquo): Do not use BP_SYM.
6201 (remquo): Likewise.
6202 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6203 "bp-asm.h".
6204 (PARMS): Do not use macros from bp-asm.h.
6205 (__remquof): Do not use BP_SYM.
6206 (remquof): Likewise.
6207 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6208 "bp-asm.h".
6209 (PARMS): Do not use macros from bp-asm.h.
6210 (__remquol): Do not use BP_SYM.
6211 (remquol): Likewise.
6212 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6213 "bp-asm.h".
6214 (PARMS): Do not use macros from bp-asm.h.
6215 (DEST): Likewise.
6216 (SRC): Likewise.
6217 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6218 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6219 "bp-asm.h".
6220 (PARMS): Do not use macros from bp-asm.h.
6221 (strlen): Do not use BP_SYM.
6222 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6223 "bp-asm.h".
6224 (PARMS): Do not use macros from bp-asm.h.
6225 (S1): Likewise.
6226 (S2): Likewise.
6227 (SIZE): Likewise.
6228 (__mpn_add_n): Do not use BP_SYM.
6229 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6230 "bp-asm.h".
6231 (PARMS): Do not use macros from bp-asm.h.
6232 (S1): Likewise.
6233 (SIZE): Likewise.
6234 (__mpn_addmul_1): Do not use BP_SYM.
6235 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6236 weak_alias.
6237 (bzero): Likewise.
6238 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6239 "bp-asm.h".
6240 (PARMS): Do not use macros from bp-asm.h.
6241 (S): Likewise.
6242 (SIZE): Likewise.
6243 (__mpn_lshift): Do not use BP_SYM.
6244 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6245 "bp-asm.h".
6246 (PARMS): Do not use macros from bp-asm.h.
6247 (DEST): Likewise.
6248 (SRC): Likewise.
6249 (LEN): Likewise.
6250 (memcpy): Likewise. Do not use BP_SYM.
6251 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6252 libc_hidden_def and weak_alias.
6253 (mempcpy): Do not use BP_SYM in weak_alias.
6254 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6255 "bp-asm.h".
6256 (PARMS): Do not use macros from bp-asm.h.
6257 (DEST): Likewise.
6258 (LEN): Likewise.
6259 [!BZERO_P] (CHR): Likewise.
6260 (memset): Likewise. Do not use BP_SYM.
6261 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6262 "bp-asm.h".
6263 (PARMS): Do not use macros from bp-asm.h.
6264 (S1): Likewise.
6265 (SIZE): Likewise.
6266 (__mpn_mul_1): Do not use BP_SYM.
6267 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6268 "bp-asm.h".
6269 (PARMS): Do not use macros from bp-asm.h.
6270 (S): Likewise.
6271 (SIZE): Likewise.
6272 (__mpn_rshift): Do not use BP_SYM.
6273 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6274 "bp-asm.h".
6275 (PARMS): Do not use macros from bp-asm.h.
6276 (STR): Likewise.
6277 (CHR): Likewise.
6278 (strchr): Likewise. Do not use BP_SYM.
6279 (index): Do not use BP_SYM in weak_alias.
6280 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6281 "bp-asm.h".
6282 (PARMS): Do not use macros from bp-asm.h.
6283 (DEST): Likewise.
6284 (SRC): Likewise.
6285 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6286 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6287 "bp-asm.h".
6288 (PARMS): Do not use macros from bp-asm.h.
6289 (strlen): Do not use BP_SYM.
6290 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6291 "bp-asm.h".
6292 (PARMS): Do not use macros from bp-asm.h.
6293 (S1): Likewise.
6294 (S2): Likewise.
6295 (SIZE): Likewise.
6296 (__mpn_sub_n): Do not use BP_SYM.
6297 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6298 "bp-asm.h".
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (S1): Likewise.
6301 (SIZE): Likewise.
6302 (__mpn_submul_1): Do not use BP_SYM.
6303 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6304 "bp-asm.h".
6305 (PARMS): Do not use macros from bp-asm.h.
6306 (S1): Likewise.
6307 (S2): Likewise.
6308 (SIZE): Likewise.
6309 (__mpn_add_n): Do not use BP_SYM.
6310 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6311 weak_alias.
6312 (bzero): Likewise.
6313 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6314 "bp-asm.h".
6315 (PARMS): Do not use macros from bp-asm.h.
6316 (BLK2): Likewise.
6317 (LEN): Likewise.
6318 (memcmp): Do not use BP_SYM.
6319 (bcmp): Do not use BP_SYM in weak_alias.
6320 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6321 "bp-asm.h".
6322 (PARMS): Do not use macros from bp-asm.h.
6323 (DEST): Likewise.
6324 (SRC): Likewise.
6325 (LEN): Likewise.
6326 (memcpy): Likewise. Do not use BP_SYM.
6327 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6328 "bp-asm.h".
6329 (PARMS): Do not use macros from bp-asm.h.
6330 (DEST): Likewise.
6331 (SRC): Likewise.
6332 (LEN): Likewise.
6333 (memmove): Likewise. Do not use BP_SYM.
6334 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6335 "bp-asm.h".
6336 (PARMS): Do not use macros from bp-asm.h.
6337 (DEST): Likewise.
6338 (SRC): Likewise.
6339 (LEN): Likewise.
6340 (__mempcpy): Likewise. Do not use BP_SYM.
6341 (mempcpy): Do not use BP_SYM in weak_alias.
6342 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6343 "bp-asm.h".
6344 (PARMS): Do not use macros from bp-asm.h.
6345 (DEST): Likewise.
6346 (LEN): Likewise.
6347 [!BZERO_P] (CHR): Likewise.
6348 (memset): Likewise. Do not use BP_SYM.
6349 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6350 "bp-asm.h".
6351 (PARMS): Do not use macros from bp-asm.h.
6352 (STR2): Likewise.
6353 (strcmp): Do not use BP_SYM.
6354 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6355 "bp-asm.h".
6356 (PARMS): Do not use macros from bp-asm.h.
6357 (STR): Likewise.
6358 (DELIM): Likewise.
6359 [USE_AS_STRTOK_R] (SAVE): Likewise.
6360 (FUNCTION): Likewise. Do not use BP_SYM.
6361 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6362 aliases.
6363 (strtok_r): Likewise.
6364 (__GI___strtok_r): Likewise.
6365 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6366 (PARMS): Do not use macros from bp-asm.h.
6367 (S): Likewise.
6368 (SIZE): Likewise.
6369 (__mpn_lshift): Do not use BP_SYM.
6370 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6371 (PARMS): Do not use macros from bp-asm.h.
6372 (STR): Likewise.
6373 (CHR): Likewise.
6374 (__memchr): Do not use BP_SYM.
6375 (memchr): Do not use BP_SYM in weak_alias.
6376 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6377 (PARMS): Do not use macros from bp-asm.h.
6378 (BLK2): Likewise.
6379 (LEN): Likewise.
6380 (memcmp): Do not use BP_SYM.
6381 (bcmp): Do not use BP_SYM in weak_alias.
6382 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6383 (PARMS): Do not use macros from bp-asm.h.
6384 (S1): Likewise.
6385 (SIZE): Likewise.
6386 (__mpn_mul_1): Do not use BP_SYM.
6387 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6388 "bp-asm.h".
6389 (PARMS): Do not use macros from bp-asm.h.
6390 (STR): Likewise.
6391 (CHR): Likewise.
6392 (__rawmemchr): Do not use BP_SYM.
6393 (rawmemchr): Do not use BP_SYM in weak_alias.
6394 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6395 (PARMS): Do not use macros from bp-asm.h.
6396 (S): Likewise.
6397 (SIZE): Likewise.
6398 (__mpn_rshift): Do not use BP_SYM.
6399 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6400 (PARMS): Do not use macros from bp-asm.h.
6401 (SIGMSK): Likewise.
6402 (__sigsetjmp): Likewise. Do not use BP_SYM.
6403 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6404 (_start): Do not use BP_SYM.
6405 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6406 (PARMS): Do not use macros from bp-asm.h.
6407 (DEST): Likewise.
6408 (SRC): Likewise.
6409 (__stpcpy): Likewise. Do not use BP_SYM.
6410 (stpcpy): Do not use BP_SYM in weak_alias.
6411 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6412 "bp-asm.h".
6413 (PARMS): Do not use macros from bp-asm.h.
6414 (DEST): Likewise.
6415 (SRC): Likewise.
6416 (LEN): Likewise.
6417 (__stpncpy): Likewise. Do not use BP_SYM.
6418 (stpncpy): Do not use BP_SYM in weak_alias.
6419 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6420 (PARMS): Do not use macros from bp-asm.h.
6421 (STR): Likewise.
6422 (CHR): Likewise.
6423 (strchr): Likewise. Do not use BP_SYM.
6424 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6425 "bp-asm.h".
6426 (PARMS): Do not use macros from bp-asm.h.
6427 (STR): Likewise.
6428 (CHR): Likewise.
6429 (__strchrnul): Likewise. Do not use BP_SYM.
6430 (strchrnul): Do not use BP_SYM in weak_alias.
6431 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6432 "bp-asm.h".
6433 (PARMS): Do not use macros from bp-asm.h.
6434 (STOP): Likewise.
6435 (strcspn): Do not use BP_SYM.
6436 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6437 "bp-asm.h".
6438 (PARMS): Do not use macros from bp-asm.h.
6439 (STR): Likewise.
6440 (STOP): Likewise.
6441 (strpbrk): Likewise. Do not use BP_SYM.
6442 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6443 "bp-asm.h".
6444 (PARMS): Do not use macros from bp-asm.h.
6445 (STR): Likewise.
6446 (CHR): Likewise.
6447 (strrchr): Likewise. Do not use BP_SYM.
6448 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6449 (PARMS): Do not use macros from bp-asm.h.
6450 (SKIP): Likewise.
6451 (strspn): Do not use BP_SYM.
6452 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6453 (PARMS): Do not use macros from bp-asm.h.
6454 (STR): Likewise.
6455 (DELIM): Likewise.
6456 (SAVE): Likewise.
6457 (FUNCTION): Likewise. Do not use BP_SYM.
6458 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6459 aliases.
6460 (strtok_r): Likewise.
6461 (__GI___strtok_r): Likewise.
6462 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6463 (PARMS): Do not use macros from bp-asm.h.
6464 (S1): Likewise.
6465 (S2): Likewise.
6466 (SIZE): Likewise.
6467 (__mpn_sub_n): Do not use BP_SYM.
6468 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6469 "bp-asm.h".
6470 (PARMS): Do not use macros from bp-asm.h.
6471 (S1): Likewise.
6472 (SIZE): Likewise.
6473 (__mpn_submul_1): Do not use BP_SYM.
6474 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6475 <bp-sym.h>.
6476 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6477 and <bp-asm.h>.
6478 (PARMS): Do not use macros from bp-asm.h.
6479 (FLAGS): Likewise.
6480 (PTID): Likewise.
6481 (TLS): Likewise.
6482 (CTID): Likewise.
6483 (__clone): Do not use BP_SYM.
6484 (clone): Do not use BP_SYM in weak_alias.
6485 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6486 and <bp-asm.h>.
6487 (PARMS): Do not use macros from bp-asm.h.
6488 (LEN): Likewise.
6489 (__mmap64): Do not use BP_SYM.
6490 (mmap64): Do not use BP_SYM in weak_alias.
6491 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6492 <bp-sym.h> and <bp-asm.h>.
6493 (PARMS): Do not use macros from bp-asm.h.
6494 (__posix_fadvise64_l64): Do not use BP_SYM.
6495 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6496 (PARMS): Do not use macros from bp-asm.h.
6497 (NSOPS): Likewise.
6498 (semtimedop): Do not use BP_SYM.
6499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6500 and <bp-asm.h>.
6501
582a3cff
AM
65022013-02-21 Allan McRae <allan@archlinux.org>
6503
6504 * manual/message.texi (Charset conversion in gettext):
6505 Move @end statement to beginning of line.
6506
bab8a695
SP
65072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6508
80945231
SP
6509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6510 static.
6511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6512 Likewise.
6513
bab8a695
SP
6514 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6515 (denorm): Likewise.
6516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6518
e21d7aa7
AK
65192013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6520
6521 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6522 tail-call to the resolved function if pltexit isn't needed.
6523
4c7a4263
SP
65242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6525
6526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6527 or Y being zero as being unlikely.
6528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6529 Likewise.
6530
41f49342
CD
65312013-02-20 Carlos O'Donell <carlos@redhat.com>
6532
6533 * manual/nss.texi (System Databases and Name Service Switch):
6534 Remove frobnicate @pxref.
6535
50022a93
TS
65362013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6537
6538 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6539 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6540
08cbd996
PM
65412013-02-20 Petr Machata <pmachata@redhat.com>
6542
6543 * elf/elf.h (R_ARM_TARGET1): New macro.
6544 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6545 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6546 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6547 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6548 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6549 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6550 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6551 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6552 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6553 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6554 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6555 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6556 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6557 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6558 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6559 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6560 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6561 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6562 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6563 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6564 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6565 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6566 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6567 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6568 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6569 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6570 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6571 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6572 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6573 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6574 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6575 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6576 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6577 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6578 (R_ARM_THM_GOT_BREL12): Likewise.
6579 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6580 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6581 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6582 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6583 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6584 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6585 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6586 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6587 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6588
c7b275d6
TS
65892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6590
6591 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6592 __attribute_used__ to __attribute__ ((unused)).
6593
20cd7fb3
SP
65942013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6595
6596 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6597 powerpc mpa.c.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6599 comment formatting.
6600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6601
92945b52
JM
66022013-02-19 Joseph Myers <joseph@codesourcery.com>
6603
6604 [BZ #13550]
6605 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6606 Remove macro.
6607 (ENTER): Remove both macro definitions.
6608 (LEAVE): Likewise.
6609 (CHECK_BOUNDS_LOW): Likewise.
6610 (CHECK_BOUNDS_HIGH): Likewise.
6611 (CHECK_BOUNDS_BOTH): Likewise.
6612 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6613 (RETURN_BOUNDED_POINTER): Likewise.
6614 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6615 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6616 (POP_ERRNO_LOCATION_RETURN): Likewise.
6617 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6618 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6619 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6620 macros.
6621 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6622 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6623 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6624 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6625 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6626 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6627 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6628 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6629 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6630 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6631 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6632 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6633 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6634 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6635 removed macros.
6636 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6637 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6638 macros.
6639 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6640 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6641 * sysdeps/i386/i586/memset.S (memset): Likewise.
6642 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6643 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6644 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6645 macros.
6646 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6647 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6648 Change uses of L(2) to L(out).
6649 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6650 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6651 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6652 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6653 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6654 removed macros.
6655 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6656 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6657 macros.
6658 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6659 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6660 (RETURN): Do not use macro LEAVE.
6661 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6662 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6663 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6664 * sysdeps/i386/i686/memset.S (memset): Likewise.
6665 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6666 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6667 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6668 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6669 Likewise.
6670 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6671 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6672 L(1_2) and L(1_3) into L(1).
6673 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6674 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6675 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6676 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6677 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6678 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6679 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6680 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6682 macros.
6683 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6684 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6685 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6686 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6687 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6688 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6689 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6690 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6691 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6692 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6693 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6694 * sysdeps/i386/strspn.S (strspn): Likewise.
6695 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6696 conditional code.
6697 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6698 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6699 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6700 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6701 L(1_3) into L(1_1).
6702 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6703 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6704 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6705 macros.
6706 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6707
2389741a
JJ
67082013-02-19 Jakub Jelinek <jakub@redhat.com>
6709
6710 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6711 macro.
6712
2016b3cd
SP
67132013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6714
e4f22324
SP
6715 * math/atest-exp.c (exp_mpn): Remove ROUND.
6716 * math/atest-exp2.c (exp_mpn): Likewise.
6717 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6718
2016b3cd
SP
6719 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6720 * stdlib/tst-tls-atexit-lib.c: Likewise.
6721 * stdlib/tst-tls-atexit.c: Likewise.
6722
4be9b544
MF
67232013-02-18 Mike Frysinger <vapier@gentoo.org>
6724
6725 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6726 and __attribute_alloc_size__.
6727
2f62b9ee
MF
67282013-02-18 Mike Frysinger <vapier@gentoo.org>
6729
6730 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6731 __attribute_alloc_size__.
6732 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6733 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6734
6ff444c4
MF
67352013-02-18 Mike Frysinger <vapier@gentoo.org>
6736
6737 * include/programs/xmalloc.h: New file.
6738 * catgets/gencat.c: Include it.
6739 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6740 * elf/pldd.c: Likewise.
6741 * iconv/iconv_charmap.c: Likewise.
6742 * iconv/iconvconfig.c: Likewise.
6743 * iconv/strtab.c: Likewise.
6744 * locale/programs/locale.c: Likewise.
6745 * locale/programs/localedef.h: Likewise.
6746 * locale/programs/simple-hash.c: Likewise.
6747 * nscd/nscd.h: Likewise.
6748 * nss/makedb.c: Likewise.
6749 * sysdeps/generic/ldconfig.h: Likewise.
6750
be179c8a
SP
67512013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6752
ba384f6e
SP
6753 * Versions.def: Add GLIBC_2.18.
6754 * include/link.h (struct link_map): New member l_tls_dtor_count.
6755 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6756 (__call_tls_dtors): Likewise.
6757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6758 __cxa_thread_atexit_impl.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6760 Likewise.
6761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6762 Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6764 Likewise.
6765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6766 Likewise.
6767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6769 Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6771 Likewise.
6772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6774 Likewise.
6775 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6776 (tests): Add test case tst-tls-atexit.
6777 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6778 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6779 (GLIBC_PRIVATE): Add __call_tls_dtors.
6780 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6781 for libstdc++.
6782 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6783 * stdlib/tst-tls-atexit.c: New test case.
6784 * stdlib/tst-tls-atexit-lib.c: New test case.
6785
ffaa74cf 6786 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6787
be179c8a
SP
6788 * elf/Versions (ld): Add _dl_find_dso_for_object.
6789 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6790 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6791 (dl_open_worker): Use _dl_find_dso_for_object.
6792 * elf/dl-sym.c (do_sym): Likewise.
6793 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6794
f78b5caa
AK
67952013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6796
6797 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6798 Syntactic changes only.
6799 (_dl_runtime_profile): Do a tail-call to the resolved function.
6800
29691210
JM
68012013-02-17 Joseph Myers <joseph@codesourcery.com>
6802
6803 [BZ #13550]
6804 * sysdeps/x86_64/bp-asm.h: Remove file.
6805 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6806 <bp-sym.h> and <bp-asm.h>.
6807 (__clone): Do not use BP_SYM.
6808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6809 <bp-sym.h> and <bp-asm.h>.
6810 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6811 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6812 "bp-asm.h".
6813 (_setjmp): Do not use BP_SYM.
6814 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6815 "bp-asm.h".
6816 (setjmp): Do not use BP_SYM.
6817 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6818 libc_hidden_def.
6819 (mempcpy): Do not use BP_SYM in weak_alias.
6820 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6821 "bp-asm.h".
6822 (strchr): Do not use BP_SYM.
6823 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6824 "bp-asm.h".
6825 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6826 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6827 (_start): Do not use BP_SYM.
6828 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6829 "bp-asm.h".
6830 (strcat): Do not use BP_SYM.
6831 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6832 "bp-asm.h".
6833 (STRCMP): Do not use BP_SYM.
6834 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6835 "bp-asm.h".
6836 (STRCPY): Do not use BP_SYM.
6837 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6838 "bp-asm.h".
6839 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6840 "bp-asm.h".
6841 (FUNCTION): Do not use BP_SYM.
6842 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6843 weak_alias.
6844 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6845
f238fd19
AJ
68462013-02-17 Andreas Jaeger <aj@suse.de>
6847
6848 * time/Versions: Sort entries.
6849 * string/Versions: Likewise.
6850 * resolv/Versions: Likewise.
6851 * posix/Versions: Likewise.
6852 * iconv/Versions: Likewise.
6853 * elf/Versions: Likewise.
6854 * wcsmbs/Versions: Likewise.
6855
bd07f23c 68562013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6857
22af19f9
SP
6858 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6859 loop termination condition.
6860
4709fe76
SP
6861 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6862 variable to calculate EZ.
6863 (__sqr): Likewise.
2d0e0f29
SP
6864
6865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6866 the lower precision input.
6867
daaa7713
JM
68682013-02-15 Joseph Myers <joseph@codesourcery.com>
6869
6870 [BZ #13550]
6871 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6872 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6873 (run-via-rtld-prefix): Do not handle %-bp tests.
6874 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6875 (all-object-suffixes): Remove .ob.
6876 (bppfx): Remove variable.
6877 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6878 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6879 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6880 [$(build-bounded) = yes] (libtype.ob): Likewise.
6881 * Makerules (elide-routines.ob): Remove variable.
6882 (do-tests-clean): Do not handle *-bp.out.
6883 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6884 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6885 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6886 (tests): Do not include $(tests-bp.out).
6887 (xtests): Do not include $(xtests-bp.out).
6888 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6889 [$(build-bounded) = yes] ($(addprefix
6890 $(objpfx),$(binaries-bounded))): Remove rule.
6891 ($(objpfx)%-bp.out): Remove rule.
6892 * config.make.in (build-bounded): Remove variable.
6893 * crypt/Makefile [$(build-bounded) = yes]
6894 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6895 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6896 append to variable.
6897 [$(build-bounded) = yes] (install-lib): Likewise.
6898 [$(build-bounded) = yes] (generated): Likewise.
6899 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6900 Remove rule.
6901 * intl/Makefile [$(build-bounded) = yes]
6902 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6903 * math/Makefile [$(build-bounded) = yes]
6904 ($(tests:%=$(objpfx)%-bp): Likewise.
6905 * misc/Makefile [$(build-bounded) = yes]
6906 ($(objpfx)tst-tsearch-bp): Likewise.
6907 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6908 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6909 Remove dependency.
6910 * string/Makefile (o-objects.ob): Remove variable.
6911 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6912 (CFLAGS-.ob): Remove variable.
6913 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6914 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6915 both definitions of variable.
6916 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6917 (ASFLAGS-.ob): Remove variable.
6918
e97ed6dd
JM
69192013-02-14 Joseph Myers <joseph@codesourcery.com>
6920
2bdd4ca6
JM
6921 [BZ #13550]
6922 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6923 Remove __BOUNDED_POINTERS__ from condition.
6924 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6925 * string/bits/string2.h [!__NO_STRING_INLINES &&
6926 !__BOUNDED_POINTERS__]: Likewise.
6927 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6928 Likewise.
6929 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6930 Remove conditional code.
6931 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6932 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6933 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6934 condition.
6935
e97ed6dd
JM
6936 [BZ #13550]
6937 * csu/libc-start.c: Do not include <bp-sym.h>.
6938 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6939 * elf/dl-open.c: Do not include <bp-sym.h>.
6940 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6941 * math/fegetenv.c: Do not include <bp-sym.h>.
6942 (fegetenv): Do not use BP_SYM in versioned symbols.
6943 * nptl/sysdeps/pthread/bits/libc-lockP.h
6944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6945 <bp-sym.h>.
6946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6947 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6949 (__pthread_mutex_destroy): Likewise.
6950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6951 (__pthread_mutex_lock): Likewise.
6952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6953 (__pthread_mutex_trylock): Likewise.
6954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6955 (__pthread_mutex_unlock): Likewise.
6956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6957 (__pthread_mutexattr_init): Likewise.
6958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6959 (__pthread_mutexattr_destroy): Likewise.
6960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6961 (__pthread_mutexattr_settype): Likewise.
6962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6963 (__pthread_rwlock_init): Likewise.
6964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6965 (__pthread_rwlock_destroy): Likewise.
6966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6967 (__pthread_rwlock_rdlock): Likewise.
6968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6969 (__pthread_rwlock_tryrdlock): Likewise.
6970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6971 (__pthread_rwlock_wrlock): Likewise.
6972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6973 (__pthread_rwlock_trywrlock): Likewise.
6974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6975 (__pthread_rwlock_unlock): Likewise.
6976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6977 (__pthread_key_create): Likewise.
6978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6979 (__pthread_setspecific): Likewise.
6980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6981 (__pthread_getspecific): Likewise.
6982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6983 Likewise.
6984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6985 (_pthread_cleanup_push_defer): Likewise.
6986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6987 (_pthread_cleanup_pop_restore): Likewise.
6988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6989 (pthread_setcancelstate): Likewise.
6990 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6991 <bp-sym.h>.
6992 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6993 (memchr): Do not use BP_SYM in weak_alias.
6994 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6995 (fegetenv): Do not use BP_SYM in versioned symbols.
6996 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6997 (fesetenv): Do not use BP_SYM in versioned symbols.
6998 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6999 (feupdateenv): Do not use BP_SYM in versioned symbols.
7000 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7001 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7002 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7003 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7004 (open64): Do not use BP_SYM in weak_alias.
7005 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7006 (fegetenv): Do not use BP_SYM in versioned symbols.
7007 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7008 (fesetenv): Do not use BP_SYM in versioned symbols.
7009 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7010 (feupdateenv): Do not use BP_SYM in versioned symbols.
7011 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7012 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7013 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7014 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7015 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7016 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7018 <bp-sym.h>.
7019 (__libc_start_main): Do not use BP_SYM.
7020
d6752ccd
SP
70212013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7022
cb57ce60
SP
7023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7024 redundant return line.
7025 (norm): Likewise.
7026 (denorm): Likewise.
7027 (dbl_mp): Likewise.
7028 (sub_magnitudes): Likewise.
7029 (__add): Likewise.
7030 (__sub): Likewise.
7031 (__mul): Likewise.
7032 (__inv): Likewise.
7033 (__dvd): Likewise.
7034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7035 (norm): Likewise.
7036 (denorm): Likewise.
7037 (dbl_mp): Likewise.
7038 (sub_magnitudes): Likewise.
7039 (__add): Likewise.
7040 (__sub): Likewise.
7041 (__mul): Likewise.
7042 (__inv): Likewise.
7043 (__dvd): Likewise.
7044
f414520d
SP
7045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7046 instead of __mul.
7047 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7048 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7049 (cc32): Likewise.
7050
d6752ccd
SP
7051 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7052 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7054 of __mul for squares.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7056 function
7057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7058 Likewise.
7059 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7060 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7061
70d9946a
JM
70622013-02-13 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #13550]
7065 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7066 code.
7067 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7068 prototype or function definition. Rename ubp_* variables and
7069 parameters. Remove argv definitions conditional on
7070 [__BOUNDED_POINTERS__].
7071 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7072 * elf/dl-runtime.c (_dl_fixup): Likewise.
7073 * include/set-hooks.h (RUN_HOOK): Likewise.
7074 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7075 definition.
7076 * string/strcpy.c (strcpy): Do not use __unbounded.
7077 * sysdeps/generic/frame.h (struct layout): Likewise.
7078 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7079 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7080 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7081 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7082 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7083 (__backtrace): Likewise.
7084 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7085 use __ptrvalue.
7086 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7087 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7088 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7089 Likewise.
7090 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7091 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7092 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7093 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7094 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7095 Do not use __unbounded.
7096 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7097 Rename __unboundedrlimits parameter to rlimits in prototype.
7098 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7099 Do not use __unbounded.
7100 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7101 not use __ptrvalue.
7102 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7103 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7104 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7105 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7106 __ptrvalue or __unbounded.
7107 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7108 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7109 use __unbounded.
7110 (__new_msgctl): Do not use __ptrvalue.
7111 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7112 __unbounded.
7113 (__libc_msgrcv): Do not use __ptrvalue.
7114 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7115 startup_info): Do not use __unbounded.
7116 (__libc_start_main): Likewise. Rename ubp_* variables and
7117 parameters. Remove argv definitions conditional on
7118 [__BOUNDED_POINTERS__].
7119 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7120 __ptrvalue.
7121 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7122 use __unbounded.
7123 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7124 or __ptrvalue.
7125 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7126 use __unbounded.
7127 (__new_shmctl): Do not use __ptrvalue.
7128 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7129 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7130 Likewise.
7131 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7132 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7133 (__libc_sigaction): Likewise.
7134 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7136 Likewise.
7137 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7138
cc7834d6
OB
71392013-02-13 Ondřej Bílka <neleai@seznam.cz>
7140
ffb1ec7b 7141 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7142
7143 * string/mempcpy.c: Implement by calling memcpy.
7144
bdf02814
SP
71452013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7146
c2af38aa
SP
7147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7148
4e92d59e
SP
7149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7150 evaluation.
7151
909279a5
SP
7152 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7153 values in the mantissa.
7154
bdf02814
SP
7155 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7156 minimize writes to Z.
7157 (sub_magnitudes): Simplify code a bit.
7158
cd525923
RM
71592013-02-12 Roland McGrath <roland@hack.frob.com>
7160
7161 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7162 from the message. The linker prefixes all warnings with that already.
7163
7e2f0d2d
AS
71642013-02-12 Andreas Schwab <schwab@suse.de>
7165
a445af0b
AS
7166 [BZ #15078]
7167 * posix/regexec.c (extend_buffers): Add parameter min_len.
7168 (check_matching): Pass minimum needed length.
7169 (clean_state_log_if_needed): Likewise.
7170 (get_subexp): Likewise.
7171 * posix/Makefile (tests): Add bug-regex34.
7172 (bug-regex34-ENV): Define.
7173 * posix/bug-regex34.c: New file.
7174
7e2f0d2d
AS
7175 [BZ #11561]
7176 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7177 elements compare against the byte sequence of it, not its name.
7178 * posix/Makefile (tests): Add bug-regex35.
7179 (bug-regex35-ENV): Define.
7180 * posix/bug-regex35.c: New file.
7181
a175b684
TV
71822013-02-11 Tom de Vries <tom@codesourcery.com>
7183
7184 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7185 comment.
7186 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7187 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7188 (CHECK_EOL): Add undef.
7189
310998fe 71902013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7191
7192 * bits/stdlib-bsearch.h: New file.
7193 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7194 * stdlib/stdlib.h: Likewise.
41eda41d 7195
8ded91fb
RM
71962013-02-11 Roland McGrath <roland@hack.frob.com>
7197
7198 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7199 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7200 declaration.
7201 * manual/search.texi (Array Search Function): Add missing const in
7202 lfind prototype.
7203 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7204 declaration to use rlim_t.
7205 (Basic Scheduling Functions): Remove erroneous const from
7206 sched_getparam prototype. Remove erroneous * from
7207 sched_get_priority_max and sched_get_priority_min prototypes.
7208 (Resource Usage): Fix summary @comment on vtimes to refer to
7209 sys/vtimes.h rather than vtimes.h.
7210 Add missing *s in vtimes prototype.
7211 (Limits on Resources): Fix ulimit prototype to return long int.
7212 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7213 prototypes to use long int rather than double.
7214 (BSD Random): Fix initstate and setstate to use char *, not void *.
7215 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7216 prototype to make second argument 'struct aiocb64 *const[]'.
7217 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7218 (Status of AIO Operations): Remove erroneous const in aio_return and
7219 aio_return64 prototypes.
7220 (Synchronizing I/O): Fix sync prototype to return void.
7221 * manual/startup.texi (Suboptions): Remove an erroneous const in
7222 getsubopt prototype.
7223 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7224 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7225 use size_t rather than int.
7226 (Scanning All Users): Likewise for getpwent_r.
7227 (Setting Groups): Add missing const to setgroups prototype.
7228 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7229 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7230 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7231 'const void *' rather than 'const char *'.
7232 (Host Address Functions): Likewise for inet_ntop.
7233 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7234 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7235 ssize_t for return value.
7236 (Sending Data): Likewise for send, sendto, sendmsg.
7237 (Socket Option Functions): Add a missing const in setsockopt prototype.
7238 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7239 use wchar_t for the argument.
7240 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7241 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7242 take no arguments.
7243 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7244 double/float/long double for second argument.
7245 Fix return types of significand, significandf, significandl.
7246 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7247 argument in fchmod prototype.
7248 (File Owner): Use uid_t and gid_t in fchown prototype.
7249 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7250 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7251 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7252 use 'const struct dirent **' as argument types to CMP function pointer
7253 argument.
7254 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7255 (File Times): Fix summary magic @comment for struct utimbuf and utime
7256 to refer to utime.h, not time.h.
7257 * manual/string.texi (Argz Functions): Add missing const in
7258 argz_extract and argz_next prototypes.
7259 (Finding Tokens in a String): Likewise for basename.
7260 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7261 (Copying and Concatenation): Fix typo in wmemmove prototype.
7262 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7263 (Signal Stack): Remove erroneous const in sigstack prototype.
7264 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7265 prototype.
7266 (Simple Calendar Time): Likewise for stime.
7267 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7268 prototype.
7269 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7270 say sys/sysctl.h instead.
7271 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7272 and vsyslog prototypes.
7273
fe77fe6d
TV
72742013-02-11 Tom de Vries <tom@codesourcery.com>
7275
7276 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7277 Remove.
7278
3a09b620
RM
72792013-02-11 Roland McGrath <roland@hack.frob.com>
7280
7281 * misc/sys/mman.h: Fix typo in mremap comment.
7282
550a0b89
RM
72832013-02-08 Roland McGrath <roland@hack.frob.com>
7284
7285 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7286 the '\0' terminator.
7287
a2da1673
JM
72882013-02-08 Joseph Myers <joseph@codesourcery.com>
7289
7290 [BZ #13550]
7291 * debug/segfault.c: Don't include <bp-checks.h>.
7292 * sysdeps/generic/bp-checks.h: Remove file.
7293 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7294 (__GETDENTS): Don't use CHECK_N.
7295 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7296 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7297 (__getgroups): Don't use CHECK_N.
7298 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7299 (setgroups): Don't use CHECK_N.
7300 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7301 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7302 (__libc_msgrcv): Don't use CHECK_N.
7303 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7304 (__libc_msgsnd): Don't use CHECK_N.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7306 <bp-checks.h>.
7307 (__libc_pread): Don't use CHECK_N.
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7309 include <bp-checks.h>.
7310 (__libc_pread64): Don't use CHECK_N.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7312 include <bp-checks.h>.
7313 (__libc_pwrite): Don't use CHECK_N.
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7315 include <bp-checks.h>.
7316 (__libc_pwrite64): Don't use CHECK_N.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7318 <bp-checks.h>.
7319 (__libc_pread): Don't use CHECK_N.
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7321 include <bp-checks.h>.
7322 (__libc_pread64): Don't use CHECK_N.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7324 include <bp-checks.h>.
7325 (__libc_pwrite): Don't use CHECK_N.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7327 include <bp-checks.h>.
7328 (__libc_pwrite64): Don't use CHECK_N.
7329 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7330 (do_pread): Don't use CHECK_N.
7331 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7332 (do_pread64): Don't use CHECK_N.
7333 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7334 (do_pwrite): Don't use CHECK_N.
7335 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7336 (do_pwrite64): Don't use CHECK_N.
7337 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7338 (__libc_readv): Don't use CHECK_N.
7339 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7340 (semop): Don't use CHECK_N.
7341 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7342 <bp-checks.h>.
7343 (semtimedop): Don't use CHECK_N.
7344 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7345 (__libc_pread): Don't use CHECK_N.
7346 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7347 <bp-checks.h>.
7348 (__libc_pread64): Don't use CHECK_N.
7349 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7350 <bp-checks.h>.
7351 (__libc_pwrite): Don't use CHECK_N.
7352 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7353 <bp-checks.h>.
7354 (__libc_pwrite64): Don't use CHECK_N.
7355 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7356 <bp-checks.h>.
7357 (__libc_msgrcv): Don't use CHECK_N.
7358 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7359 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7360 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7361 (__libc_writev): Don't use CHECK_N.
7362
b84660a8
RM
73632013-02-08 Roland McGrath <roland@hack.frob.com>
7364
7f3e75f8
RM
7365 * string/strcpy.c: Removed unused variable.
7366
b84660a8
RM
7367 * Makeconfig (+sysdep-includes): Define with := rather than =.
7368 Use an existing include/ subdir of each sysdeps dir before it.
7369
471514d3
CD
73702013-02-08 Carlos O'Donell <carlos@redhat.com>
7371
7372 * nscd/connection.c (register_traced_file): Comment function.
7373 [HAVE_INOTIFY] (union __inev): Define.
7374 [HAVE_INOTIFY] (inotify_check_files): New function.
7375 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7376 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7377 clear_db_cache.
7378 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7379
b2d3c3be
CD
73802013-02-08 Carlos O'Donell <carlos@redhat.com>
7381
7382 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7383 loaded if not already and that a failure is permanent.
7384
b39949d2
CD
73852013-02-08 Carlos O'Donell <carlos@redhat.com>
7386
ddacd1db 7387 [BZ #15006]
b39949d2
CD
7388 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7389 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7390
b2c9eff4
JM
73912013-02-08 Joseph Myers <joseph@codesourcery.com>
7392
f3aae3f3
JM
7393 [BZ #13550]
7394 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7395 (CHECK_1_NULL_OK): Likewise.
7396 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7397 (__fxstat): Do not use CHECK_1.
7398 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7399 <bp-checks.h>.
7400 (___fxstat64): Do not use CHECK_1.
7401 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7402 <bp-checks.h>.
7403 (__fxstatat): Do not use CHECK_1.
7404 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7405 <bp-checks.h>.
7406 (__fxstatat64): Do not use CHECK_1.
7407 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7408 <bp-checks.h>.
7409 (__fxstat): Do not use CHECK_1.
7410 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7411 <bp-checks.h>.
7412 (__fxstatat): Do not use CHECK_1.
7413 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7414 <bp-checks.h>.
7415 (__getresgid): Do not use CHECK_1.
7416 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7417 <bp-checks.h>.
7418 (__getresuid): Do not use CHECK_1.
7419 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7420 <bp-checks.h>.
7421 (__lxstat): Do not use CHECK_1.
7422 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7423 <bp-checks.h>.
7424 (__old_msgctl): Do not use CHECK_1.
7425 (__new_msgctl): Likewise.
7426 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7427 <bp-checks.h>.
7428 (__new_setrlimit): Do not use CHECK_1.
7429 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7430 <bp-checks.h>.
7431 (__old_shmctl): Do not use CHECK_1.
7432 (__new_shmctl): Likewise.
7433 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7434 <bp-checks.h>.
7435 (__xstat): Do not use CHECK_1.
7436 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7437 (__lxstat): Do not use CHECK_1.
7438 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7439 <bp-checks.h>.
7440 (___lxstat64): Do not use CHECK_1.
7441 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7442 (__old_msgctl): Do not use CHECK_1.
7443 (__new_msgctl): Likewise.
7444 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7445 <bp-checks.h>.
7446 (__gettimeofday): Do not use CHECK_1.
7447 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7448 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7449 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7450 <bp-checks.h>.
7451 (__gettimeofday): Do not use CHECK_1.
7452 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7453 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7454 (__new_shmctl): Do not use CHECK_1.
7455 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7456 <bp-checks.h>.
7457 (do_sigtimedwait): Do not use CHECK_1.
7458 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7459 <bp-checks.h>.
7460 (do_sigwaitinfo): Do not use CHECK_1.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7462 <bp-checks.h>.
7463 (msgctl): Do not use CHECK_1.
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7465 <bp-checks.h>.
7466 (shmctl): Do not use CHECK_1.
7467 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7468 (ustat): Do not use CHECK_1.
7469 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7470 <bp-checks.h>.
7471 (__fxstat): Do not use CHECK_1.
7472 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7473 <bp-checks.h>.
7474 (__fxstatat): Do not use CHECK_1.
7475 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7476 <bp-checks.h>.
7477 (__lxstat): Do not use CHECK_1.
7478 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7479 <bp-checks.h>.
7480 (__xstat): Do not use CHECK_1.
7481 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7482 (__xstat): Do not use CHECK_1.
7483 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7484 (___xstat64): Do not use CHECK_1.
7485
b2c9eff4
JM
7486 [BZ #13550]
7487 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7488 definitions.
7489 (CHECK_BOUNDS_HIGH): Likewise.
7490 * string/strcpy.c: Do not include <bp-checks.h>.
7491 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7492
f1d70dad
RM
74932013-02-07 Roland McGrath <roland@hack.frob.com>
7494
7495 * nscd/nscd-client.h (__nscd_drop_map_ref):
7496 Add __attribute__ ((unused)).
7497 * nis/nss-nisplus.h (niserr2nss): Likewise.
7498
7499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7500 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7501
7502 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7503 Remove inline keyword.
7504 * include/rounding-mode.h (round_away): Likewise.
7505 * libio/wfileops.c (adjust_wide_data): Likewise.
7506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7507 (__m128i_strloadu_tolower): Likewise.
7508 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7509 (__m128i_strloadu_tolower): Likewise.
7510 * time/mktime.c (ydhms_diff): Likewise.
7511 * locale/elem-hash.h (elem_hash): Likewise.
7512 * locale/setlocale.c (setdata): Likewise.
7513 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7514 (re_string_wchar_at): Likewise.
7515 (bitset_not, bitset_merge, bitset_mask): Likewise.
7516 [!(__GNUC__ > 3)] (inline): Remove macro.
7517 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7518 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7519 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7520 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7521 * string/memcmp.c (memcmp_bytes): Likewise.
7522 * locale/programs/locarchive.c (compute_hashval): Likewise.
7523 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7524 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7525 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7526 * nss/getent.c (print_rpc, print_protocols): Likewise.
7527 (print_passwd, print_group, print_aliases): Likewise.
7528 * nis/nss-nisplus.h (niserr2nss): Likewise.
7529 * nscd/connections.c (restart_p): Likewise.
7530 Change return type to bool.
7531
eab55bfb
RM
75322013-02-05 Roland McGrath <roland@hack.frob.com>
7533
7bd642f5
RM
7534 * Makeconfig (all-Depend-files): Add existing
7535 $(sorted-subdirs:=/Depend) files.
7536 (all-subdirs): Remove nss.
7537 * sysdeps/unix/inet/Subdirs: Add it here instead.
7538 * hesiod/Depend: New file.
7539
573c29b2
RM
7540 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7541 instead of calling alloca.
7542
b2e25af0
RM
7543 * io/lseek.c (__lseek): Rename to __libc_lseek.
7544 Define __lseek as an alias.
7545
eab55bfb
RM
7546 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7547
9a0d1941
CD
75482013-02-04 Carlos O'Donell <carlos@redhat.com>
7549
7550 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7551 else clause and remove check for non-standard endianness.
7552
b83bbec4
DM
75532013-02-04 David S. Miller <davem@davemloft.net>
7554
7555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7556
6277fdab
JM
75572013-02-04 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #13550]
7560 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7561 (__ubp_memchr): Remove prototype.
7562 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7563 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7564 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7565 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7566 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7567 Remove alias.
7568 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7569 (__ubp_memchr): Likewise.
7570 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7571 (__ubp_memchr): Likewise.
7572 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7573 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7574 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7575 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7576 CHECK_STRING.
7577 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7578 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7579 (__getcwd): Do not use CHECK_STRING.
7580 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7581 <bp-checks.h>.
7582 (__real_chown): Do not use CHECK_STRING.
7583 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7584 <bp-checks.h>.
7585 (fchownat): Do not use CHECK_STRING.
7586 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7587 CHECK_STRING.
7588 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7589 <bp-checks.h>.
7590 (__lchown): Do not use CHECK_STRING.
7591 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7592 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7593 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7594 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7596 include <bp-checks.h>.
7597 (truncate64): Do not use CHECK_STRING.
7598 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7599 <bp-checks.h>.
7600 (__real_chown): Do not use CHECK_STRING.
7601 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7602 <bp-checks.h>.
7603 (__lchown): Do not use CHECK_STRING.
7604 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7605 <bp-checks.h>.
7606 (__chown): Do not use CHECK_STRING.
7607 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7608 <bp-checks.h>.
7609 (truncate64): Do not use CHECK_STRING.
7610 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7611 Likewise.
7612 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7613 (__xmknod): Do not use CHECK_STRING.
7614 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7615 <bp-checks.h>.
7616 (__xmknodat): Do not use CHECK_STRING.
7617 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7618 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7619
903ae060
AS
76202013-02-04 Andreas Schwab <schwab@suse.de>
7621
7622 [BZ #14142]
7623 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7624 * include/netdb.h: Likewise for h_errno.
7625 * elf/tst-stackguard1.c: Include <tls.h>.
7626
542f9466
JK
76272013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7628
7629 * elf/link.h (struct link_map): Extend the l_addr comment.
7630 * include/link.h (struct link_map): Likewise.
7631
e782a927
JM
76322013-02-01 Joseph Myers <joseph@codesourcery.com>
7633
7634 [BZ #13550]
7635 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7636 (BOUNDED_1): Remove macro.
7637 * debug/backtrace.c: Don't include <bp-checks.h>.
7638 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7639 (__backtrace): Likewise.
7640 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7641 <bp-checks.h>.
7642 (__backtrace): Don't use BOUNDED_1.
7643 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7644 <bp-checks.h>.
7645 (__backtrace): Don't use BOUNDED_1.
7646 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7647 (__backtrace): Don't use BOUNDED_1.
7648 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7649 (shmat): Don't use BOUNDED_N.
7650
8cf28c5e
JM
76512013-01-31 Joseph Myers <joseph@codesourcery.com>
7652
3a7ac8a0
JM
7653 [BZ #13550]
7654 * sysdeps/generic/bp-start.h: Remove file.
7655 * csu/libc-start.c: Don't include <bp-start.h>.
7656 (LIBC_START_MAIN): Set up __environ directly instead of using
7657 INIT_ARGV_and_ENVIRON.
7658 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7659 <bp-start.h>.
7660
f3499f95
JM
7661 [BZ #13550]
7662 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7663 definitions.
7664 (CHECK_FCNTL): Likewise.
7665 (CHECK_N_PAGES): Likewise.
7666
32a45bea
JM
7667 [BZ #13550]
7668 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7669 definitions.
7670 (CHECK_SIGSET_NULL_OK): Likewise.
7671 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7672 <bp-checks.h>.
7673 (sigpending): Don't use CHECK_SIGSET.
7674 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7675 <bp-checks.h>.
7676 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7677 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7678 <bp-checks.h>.
7679 (do_sigsuspend): Don't use CHECK_SIGSET.
7680 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7681 use CHECK_SIGSET.
7682 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7683 (do_sigwait): Don't use CHECK_SIGSET.
7684 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7685 use CHECK_SIGSET.
7686 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7687 include <bp-checks.h>.
7688 (sigpending): Don't use CHECK_SIGSET.
7689 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7690 include <bp-checks.h>.
7691 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7692 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7693 <bp-checks.h>.
7694 (sigpending): Don't use CHECK_SIGSET.
7695 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7696 <bp-checks.h>.
7697 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7698
2e8a5c8c
JM
7699 [BZ #13550]
7700 * sysdeps/generic/bp-semctl.h: Remove file.
7701 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7702 <bp-checks.h> and <bp-semctl.h>.
7703 (__old_semctl): Don't use CHECK_SEMCTL.
7704 (__new_semctl): Likewise.
7705 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7706 and <bp-semctl.h>.
7707 (__old_semctl): Don't use CHECK_SEMCTL.
7708 (__new_semctl): Likewise.
7709 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7710 <bp-checks.h> and <bp-semctl.h>.
7711 (__old_semctl): Don't use CHECK_SEMCTL.
7712 (__new_semctl): Likewise.
7713 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7714 <bp-checks.h> and <bp-semctl.h>.
7715 (semctl): Don't use CHECK_SEMCTL.
7716
c2d54929
JM
7717 [BZ #13550]
7718 * Makerules (elide-bp-thunks): Remove variable.
7719 (elide-routines.oS): Don't use $(elide-bp-thunks).
7720 (elide-routines.os): Likewise.
7721 (elide-routines.o): Likewise.
7722 (elide-routines.op): Likewise.
7723 (elide-routines.og): Likewise.
7724 (objects): Don't use $(bp-thunks).
7725 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7726 include.
7727 (common-generated): Do not add s-proto-bp.d.
7728 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7729 (int): Likewise.
7730 (typ): Likewise.
7731 Do not generate makefile rules for bounded-pointer thunks.
7732 * sysdeps/generic/bp-thunks.h: Remove file.
7733 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7734 * sysdeps/unix/s-proto-bp.S: Likewise.
7735
8cf28c5e
JM
7736 [BZ #15062]
7737 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7738 parts of result separately when argument is not close to line from
7739 -i to i and one part of argument is small.
7740 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7741 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7742 * math/libm-test.inc (cacos_test): Add more tests.
7743 (casin_test): Likewise.
7744 (casinh_test): Likewise.
7745 * sysdeps/i386/fpu/libm-test-ulps: Update.
7746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7747
c4e33b8d
DM
77482013-01-31 David S. Miller <davem@davemloft.net>
7749
7750 * po/de.po: Update from translation team.
7751
3b60b421
MK
77522013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7753
7754 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7755
bb931195
TS
77562013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7757
b5a5da23
TS
7758 * configure.in (_AC_PROG_CC_C89): New definition.
7759 * configure: Regenerate.
7760
bb931195
TS
7761 * configure.in (AC_PROG_CPP): New definition.
7762 * configure: Regenerate.
7763
8c53a12c
JM
77642013-01-23 Joseph Myers <joseph@codesourcery.com>
7765
7766 * debug/tst-backtrace.h: New file.
7767 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7768 (ret): Remove variable.
7769 (x): Likewise.
7770 (FAIL): Remove macro.
7771 (NO_INLINE): Likewise.
7772 (fn1): Use match function instead of strstr.
7773 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7774 (ret): Remove variable.
7775 (x): Likewise.
7776 (FAIL): Remove macro.
7777 (NO_INLINE): Likewise.
7778 (fn): Use match function instead of strstr.
7779 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7780 (ret): Remove variable.
7781 (x): Likewise.
7782 (FAIL): Remove macro.
7783 (NO_INLINE): Likewise.
7784 (handle_signal): Use match function instead of strstr.
7785 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7786 (ret): Remove variable.
7787 (x): Likewise.
7788 (FAIL): Remove macro.
7789 (NO_INLINE): Likewise.
7790 (handle_signal): Use match function instead of strstr.
7791
4858fa2a
RM
77922013-01-23 Roland McGrath <roland@hack.frob.com>
7793
7794 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7795
bae8e7f5
DM
77962013-01-23 David S. Miller <davem@davemloft.net>
7797
7798 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7799 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7800 argument of CAS if possible.
7801 * sysdeps/sparc/sparc64/bits/atomic.h
7802 (__arch_compare_and_exchange_val_32_acq): Likewise.
7803 (__arch_compare_and_exchange_val_64_acq): Likewise.
7804
9cbbc4ae
PT
78052013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7806
7807 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7808 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7809 Include <limits.h>.
67b3f58c 7810 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7811
5655a0b5
AC
78122013-01-23 Adam Conrad <adconrad@0c3.net>
7813
7814 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7815 (LDFLAGS-tst-array5): Likewise.
7816
052aff95
JM
78172013-01-23 Joseph Myers <joseph@codesourcery.com>
7818
7819 [BZ #15036]
7820 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7821 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7822 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7823 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7824
7c1e01aa
DM
78252013-01-21 David S. Miller <davem@davemloft.net>
7826
7827 * sysdeps/sparc/backtrace.c: New file.
7828 * sysdeps/sparc/sparc32/backtrace.h: New file.
7829 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7830 * sysdeps/sparc/sparc64/backtrace.h: New file.
7831 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7832 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7833 -funwind-tables.
7834
ab087e0a
AS
78352013-01-21 Andreas Schwab <schwab@suse.de>
7836
7837 [BZ #15020]
7838 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7839 closed its stdout.
7840
ed689c2f
AS
78412013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7842
7843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7844 "mpa2.h".
7845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7846
31d470ac
JM
78472013-01-18 Joseph Myers <joseph@codesourcery.com>
7848 Mark Mitchell <mark@codesourcery.com>
7849 Tom de Vries <tom@codesourcery.com>
7850 Paul Pluzhnikov <ppluzhnikov@google.com>
7851
7852 * debug/tst-backtrace2.c: New file.
7853 * debug/tst-backtrace3.c: Likewise.
7854 * debug/tst-backtrace4.c: Likewise.
7855 * debug/tst-backtrace5.c: Likewise.
7856 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7857 (CFLAGS-tst-backtrace3.c): Likewise.
7858 (CFLAGS-tst-backtrace4.c): Likewise.
7859 (CFLAGS-tst-backtrace5.c): Likewise.
7860 (LDFLAGS-tst-backtrace2): Likewise.
7861 (LDFLAGS-tst-backtrace3): Likewise.
7862 (LDFLAGS-tst-backtrace4): Likewise.
7863 (LDFLAGS-tst-backtrace5): Likewise.
7864 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7865 tst-backtrace4 and tst-backtrace5.
7866
90567f30 78672013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7868 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7869
7870 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7871 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7872 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7873 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7875 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7876 "+r" and remove output regs list as redundant. Add explicit inline
7877 asm to specify register of return val to work around compiler codegen
7878 bug. Remove (int) cast on return value. Add return type parameter to
7879 use in macro so that this macro does not truncate return value for
7880 64-bit values.
7881 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7882 pass to INTERNAL_VSYSCALL_NCS.
7883 (INLINE_VSYSCALL): Add 'long int' as return type to
7884 INTERNAL_VSYSCALL_NCS macro invocation.
7885 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7886 INTERNAL_VSYSCALL_NCS macro invocation.
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7888
d3b9ea61
SP
78892013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7890
0b57daeb
SP
7891 [BZ #14496]
7892 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7893 Fix application of SIMD FP exception mask.
7894
caa99d06
SP
7895 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7896 mp_no from a power of two.
7897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7898 __mpexp_twomm1. Use __pow_mp.
7899
d3b9ea61
SP
7900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7901 multiplication.
7902
1dbaee3c
DM
79032013-01-17 David S. Miller <davem@davemloft.net>
7904
7905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7906
728d7b43
JM
79072013-01-17 Joseph Myers <joseph@codesourcery.com>
7908
7909 [BZ #15023]
7910 * include/complex.h: Condition contents on [!_COMPLEX_H].
7911 (__kernel_casinhf): New prototype.
7912 (__kernel_casinh): Likewise.
7913 (__kernel_casinhl): Likewise.
7914 * math/Makefile (libm_calls): Add k_casinh.
7915 * math/k_casinh.c: New file.
7916 * math/k_casinhf.c: Likewise.
7917 * math/k_casinhl.c: Likewise.
7918 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7919 finite nonzero arguments.
7920 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7921 finite nonzero arguments.
7922 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7923 finite nonzero arguments.
7924 * math/s_casinh.c: Do not include <float.h>.
7925 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7926 * math/s_casinhf.c: Do not include <float.h>.
7927 (__casinhf): Move code for finite nonzero arguments to
7928 k_casinhf.c.
7929 * math/s_casinhl.c: Do not include <float.h>.
7930 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7931 redefine.
7932 (__casinhl): Move code for finite nonzero arguments to
7933 k_casinhl.c.
7934 * math/libm-test.inc (cacos_test): Add more tests.
7935 * sysdeps/i386/fpu/libm-test-ulps: Update.
7936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7937
2a26ef3a
PT
79382013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7939
7940 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7941 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7942 [!HAVE_MREMAP]: Remove [defined linux] case.
7943 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7944
a897655d
SP
79452013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7946
7947 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7948
881ebe89 79492013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7950
7951 * elf/elf.h (R_386_SIZE32): New relocation.
7952 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7953 R_386_SIZE32.
7954 (elf_machine_rela): Likewise.
7955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7956 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7957
59981e9b
JM
79582013-01-17 Joseph Myers <joseph@codesourcery.com>
7959
7960 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7961 (FP_FAST_FMA): Do not define.
7962 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7963 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7964 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7965 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7966 !_SOFT_FLOAT]: Likewise.
7967 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7968 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7969 value.
7970 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7971 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7973 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7974 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7975 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7976 file.
7977
cfa8054f
AS
79782013-01-16 Andreas Schwab <schwab@suse.de>
7979
7980 [BZ #14327]
7981 * include/stdlib.h (__mktemp): Add declaration.
7982 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7983 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7984
dd930cc5
SP
79852013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7986
881ebe89
SP
7987 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7988 definitions.
7989 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7990 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7991 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7992 definitions here.
7993 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7994 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7995 definitions.
7996 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7997 and ONE.
7998 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7999 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8000 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8001 definitions.
8002 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8003 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8004 definitions.
8005 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8006
dd930cc5
SP
8007 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8008
c19a9f89
DM
80092013-01-15 David S. Miller <davem@davemloft.net>
8010
1aa61767
DM
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8012 trunc{,f} to libm-sysdep_routes.
8013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8015 file.
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8018 file.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8020 file.
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8023 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8024 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8025 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8026 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8027 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8028 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8029
c42d5e98
DM
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8031 nearbyint{,f} to libm-sysdep_routes.
8032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8034 New file.
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8036 file.
8037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8038 New file.
8039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8040 file.
8041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8043 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8044 file.
8045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8046 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8047 file.
8048 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8049 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8050 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8051
c19a9f89
DM
8052 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8053 libc_feholdexcept and libc_fesetenv.
8054
357679d2
MF
80552013-01-15 Mike Frysinger <vapier@gentoo.org>
8056
8057 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8058
65a82e3d
DM
80592013-01-14 David S. Miller <davem@davemloft.net>
8060
8b954ab9
DM
8061 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8062 (SPARC_ASM_VIS2_IFUNC): Likewise.
8063 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8065 use of 'siam' instruction.
8066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8067 Likewise.
8068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8069 Likewise.
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8071 Likewise.
8072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8077 file.
8078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8079 file.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8081 file.
8082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8083 file.
8084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8089 new VIS2 routines.
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8093 Likewise.
8094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8099 routines to libm-sysdep_routines.
8100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8101
65a82e3d
DM
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8103 fdim/fdimf to libm-sysdep_routines.
8104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8105 file.
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8108 file.
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8112 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8113 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8114 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8115 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8116
e34ab705
SP
81172013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8118
2a91b573
SP
8119 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8120 to optimize copies.
8121
1066a534
SP
8122 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8125
e34ab705
SP
8126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8127 local variable MPTWO.
8128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8129 Likewise.
8130
aba5e596
MF
81312013-01-13 Mike Frysinger <vapier@gentoo.org>
8132
8133 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8134 GLOB_NOESCAPE.
8135
e557e9e5
MF
81362013-01-13 Mike Frysinger <vapier@gentoo.org>
8137
8138 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8139
0428cec9
MF
81402013-01-13 Mike Frysinger <vapier@gentoo.org>
8141
8142 * manual/pattern.texi (glob_t): Document gl_flags.
8143 (glob64_t): Likewise.
8144
8794a964
DM
81452013-01-11 David S. Miller <davem@davemloft.net>
8146
66438c3f
RM
8147 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8148 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8149 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8150 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8151 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8152 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8153 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8154 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8155 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8156 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8157 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8158 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8159 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8160
4ae4244d
DM
8161 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8162 sparc V9 rather than using V8 code.
8163 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8164 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8165
8794a964
DM
8166 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8167 Move to...
8168 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8169 Here.
8170
6270516e
RM
81712013-01-11 Roland McGrath <roland@hack.frob.com>
8172
8173 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8174 not in the main loop.
8175 * configure: Regenerated.
8176
6a57d931
JM
81772013-01-11 Joseph Myers <joseph@codesourcery.com>
8178
8179 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8180 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8181 to just #else.
8182 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8183 [!__GLIBC_HAVE_LONG_LONG] case.
8184 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8185 condition to just #else.
8186 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8187 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8188 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8189 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8190 unconditional.
8191 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8192 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8193 #elif condition to just #else.
8194 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8195 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8196 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8197 #elif condition to just #else.
8198
0e8529e9
SE
81992013-01-11 Steve Ellcey <sellcey@mips.com>
8200
8201 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8202 (EF_MIPS_ARCH_64): Fix value.
8203 (EF_MIPS_ARCH_32R2): New.
8204 (EF_MIPS_ARCH_64R2): New.
8205
740b3dbe
L
82062013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * Makeconfig (+link-pie-before-libc): New.
8209 (+link-pie-after-libc): Likewise.
8210 (+link-pie-tests): Likewise.
8211 (+link-pie): Rewritten.
8212 (link-before-libc): Remove $(config-LDFLAGS).
8213 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8214 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8215 (config-LDFLAGS): Renamed to ...
8216 (rtld-LDFLAGS): This.
8217 (rtld-tests-LDFLAGS): New macro.
8218 (link-libc-rpath-link): Likewise.
8219 (link-libc-tests-rpath-link): Likewise.
8220 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8221 (link-libc): Prepand $(link-libc-rpath-link).
8222 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8223 (test-program-prefix): New macro.
8224 (test-via-rtld-prefix): Likewise.
8225 (test-program-cmd): Likewise.
8226 (host-test-program-cmd): Likewise.
8227 * Makefile ($(common-objpfx)testrun.sh): Replace
8228 $(run-program-prefix) with $(test-program-prefix).
8229 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8230 $(rtld-LDFLAGS).
8231 ($(common-objpfx)shlib.lds): Likewise.
8232 (build-module-helper): Likewise.
8233 ($(common-objpfx)format.lds): Likewise.
8234 * Rules (binaries-pie-tests): New.
8235 (binaries-pie-notests): Likewise.
8236 (binaries-pie): Rewritten.
8237 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8238 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8239 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8240 (make-test-out): Replace $(host-built-program-cmd) with
8241 $(host-test-program-cmd).
8242 * config.make.in (build-hardcoded-path-in-tests): New variable.
8243 * configure.in (--enable-hardcoded-path-in-tests): New configure
8244 option.
8245 (hardcoded_path_in_tests): New AC_SUBST.
8246 * configure: Regenerated.
8247 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8248 $(built-program-cmd) with $(test-program-cmd).
8249 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8250 (test_program_cmd): This.
8251 * elf/Makefile ($(objpfx)order.out): Run test with
8252 $(test-program-prefix).
8253 ($(objpfx)order2.out): Likewise.
8254 ($(objpfx)tst-initorder.out): Likewise.
8255 ($(objpfx)tst-initorder2.out): Likewise.
8256 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8257 $(test-program-cmd).
8258 ($(objpfx)tst-array1-static.out): Likewise.
8259 ($(objpfx)tst-array2.out): Likewise.
8260 ($(objpfx)tst-array3.out): Likewise.
8261 ($(objpfx)tst-array4.out): Likewise.
8262 ($(objpfx)tst-array5.out): Likewise.
8263 ($(objpfx)tst-array5-static.out): Likewise.
8264 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8265 $(test-program-cmd).
8266 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8267 $(run-program-prefix) with $(test-program-prefix).
8268 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8269 (test_program_prefix): This.
8270 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8271 $(run-program-prefix) with $(test-program-prefix).
8272 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8273 (test_program_prefix): This.
8274 * iconvdata/tst-tables.sh: Likewise.
8275 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8276 $(run-program-prefix) with $(test-program-prefix).
8277 ($(objpfx)tst-translit.out): Likewise.
8278 ($(objpfx)tst-gettext2.out): Likewise.
8279 ($(objpfx)tst-gettext4.out): Likewise.
8280 ($(objpfx)tst-gettext6.out): Likewise.
8281 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8282 (test_program_prefix): This.
8283 * intl/tst-gettext2.sh: Likewise.
8284 * intl/tst-gettext4.sh Likewise.
8285 * intl/tst-gettext6.sh: Likewise.
8286 * intl/tst-translit.sh: Likewise.
8287 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8288 with $(test-program-cmd).
8289 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8290 $(run-program-prefix) with $(test-program-prefix).
8291 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8292 (test_program_prefix): This.
8293 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8294 $(run-program-prefix) with $(test-program-prefix).
8295 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8296 (test_program_prefix): This.
8297 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8298 * posix/Makefile ($(objpfx)globtest.out): Replace
8299 $(run-via-rtld-prefix) and $(test-wrapper) with
8300 $(test-program-prefix) and $(test-via-rtld-prefix).
8301 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8302 $(test-program-prefix).
8303 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8304 $(host-test-program-cmd).
8305 (tst-spawn-ARGS): Likewise.
8306 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8307 $(test-program-prefix).
8308 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8309 (test_via_rtld_prefix): This.
8310 (test_wrapper): Renamed to ...
8311 (test_program_prefix): This.
8312 (run_program_prefix): Replaced by test_program_prefix.
8313 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8314 (test_program_prefix): This.
8315 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8316 with $(host-test-program-cmd).
8317 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8318 $(run-program-prefix) with $(test-program-prefix).
8319 ($(objpfx)tst-printf.out): Likewise.
8320 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8321 $(test-program-cmd).
8322 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8323 (test_program_prefix): This.
8324 * stdio-common/tst-unbputc.sh: Likewise.
8325 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8326 $(run-program-prefix) with $(test-program-prefix).
8327 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8328 (test_program_prefix): This.
8329 * string/Makefile ($(objpfx)tst-svc.out): Replace
8330 $(built-program-cmd) with $(test-program-cmd).
8331
c6fe55cf
AJ
83322013-01-11 Andreas Jaeger <aj@suse.de>
8333
8334 [BZ #15003]
8335 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8336 value. Sync with Linux 3.7.
8337
9e6919c8
DM
83382013-01-10 David S. Miller <davem@davemloft.net>
8339
8340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8341 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8342 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8343
1c9f1a02
RM
83442013-01-10 Roland McGrath <roland@hack.frob.com>
8345
8346 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8347 never set.
8348 * configure: Regenerated.
8349
b9de2dde
DM
83502013-01-10 David S. Miller <davem@davemloft.net>
8351
8352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8353 sparc V9 rather than using V8 code.
8354 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8355 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8356
e7f68ef4
RM
83572013-01-10 Roland McGrath <roland@hack.frob.com>
8358
8359 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8360 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8361 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8362 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8363 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8364 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8365 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8366 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8367 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8368 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8369 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8370 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8371 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8372 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8373 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8374 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8375 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8376 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8377 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8378 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8379 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8380 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8381 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8382 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8383 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8384 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8385 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8386
5a47cc9c
DM
83872013-01-10 David S. Miller <davem@davemloft.net>
8388
8389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8390
4cf8f209
L
83912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8392
8393 * posix/Makefile (tests-static): New variable.
8394 (tests): Add $(tests-static).
8395 (tst-exec-static-ARGS): New variable.
8396 (tst-spawn-static-ARGS): Likewise.
8397 * posix/tst-exec-static.c: New file.
8398 * posix/tst-spawn-static.c: Likewise.
8399 * posix/tst-exec.c: Support run directly.
8400 * posix/tst-spawn.c: Likewise.
8401
fed0faa1
JM
84022013-01-10 Joseph Myers <joseph@codesourcery.com>
8403
828beb13
JM
8404 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8405 long.
8406 * math/bits/mathcalls.h (llrint): Likewise.
8407 (llround): Likewise.
8408 * stdlib/stdlib.h (struct drand48_data): Likewise.
8409 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8410 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8412 Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8414 Likewise.
8415 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8416 (elf_greg_t): Likewise.
8417 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8418 (__jmp_buf): Likewise.
8419 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8420 definitions.
8421 (llrint): Likewise, for all definitions.
8422 (llrintl): Likewise.
8423
fed0faa1
JM
8424 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8425 Remove [__GNUC__] condition.
8426 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8427 condition to just [__USE_ISOC99].
8428 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8429
1a20cb20
L
84302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8431
8432 [BZ #14200]
8433 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8434 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8435 defined.
8436 (_POSIX_V6_ILP32_OFF32): Likewise.
8437 (_XBS5_ILP32_OFF32): Likewise.
8438 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8439 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8440
751b85f7
SP
84412013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
7490eb81
SP
8443 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8444
751b85f7
SP
8445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8446 doubles __mpexp_twomm1. Adjust usage.
8447 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8448 Remove.
8449
988197f0
AS
84502013-01-10 Andreas Schwab <schwab@suse.de>
8451
8452 [BZ #14964]
8453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8454 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8455
e83d7298
DM
84562013-01-09 David S. Miller <davem@davemloft.net>
8457
034ed64b 8458 [BZ #15003]
e83d7298
DM
8459 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8460 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8461 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8462 TCP_FASTOPEN): Define.
8463 (tcp_repair_opt): New structure.
8464 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8465 enum values.
8466 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8467 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8468 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8469 (tcp_cookie_transactions): New structure.
8470
d5e0b9bd
AB
84712013-01-09 Anton Blanchard <anton@samba.org>
8472
8473 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8474 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8475 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8476 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8477
0c07e3ea
JM
84782013-01-09 Joseph Myers <joseph@codesourcery.com>
8479
8480 * include/features.h (__USE_ANSI): Remove.
8481
232f7002
RM
84822013-01-09 Roland McGrath <roland@hack.frob.com>
8483
ad98e30c
RM
8484 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8485
232f7002
RM
8486 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8487
950c99ca
SP
84882013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8489
b5792741
SP
8490 * sysdeps/s390/fpu/libm-test-ulps: Update.
8491
47cf2278
SP
8492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8493
950c99ca
SP
8494 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8495 (__acr): Likewise.
8496 (__cpy): Likewise.
8497 (norm): Likewise.
8498 (denorm): Likewise.
8499 (__mp_dbl): Likewise.
8500 (__dbl_mp): Likewise.
8501 (add_magnitudes): Likewise.
8502 (sub_magnitudes): Likewise.
8503 (__add): Likewise.
8504 (__sub): Likewise.
8505 (__mul): Likewise.
8506 (__inv): Likewise.
8507 (__dvd): Likewise.
8508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8509 (__acr): Likewise.
8510 (__cpy): Likewise.
8511 (norm): Likewise.
8512 (denorm): Likewise.
8513 (__mp_dbl): Likewise.
8514 (__dbl_mp): Likewise.
8515 (add_magnitudes): Likewise.
8516 (sub_magnitudes): Likewise.
8517 (__add): Likewise.
8518 (__sub): Likewise.
8519 (__mul): Likewise.
8520 (__inv): Likewise.
8521 (__dvd): Likewise.
8522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8523 (__acr): Likewise.
8524 (__cpy): Likewise.
8525 (norm): Likewise.
8526 (denorm): Likewise.
8527 (__mp_dbl): Likewise.
8528 (__dbl_mp): Likewise.
8529 (add_magnitudes): Likewise.
8530 (sub_magnitudes): Likewise.
8531 (__add): Likewise.
8532 (__sub): Likewise.
8533 (__mul): Likewise.
8534 (__inv): Likewise.
8535 (__dvd): Likewise.
8536
eede9df9
JM
85372013-01-08 Joseph Myers <joseph@codesourcery.com>
8538
8539 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8540 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8541 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8542 2 && __USE_EXTERN_INLINES]: Likewise.
8543
c40ea3d9
AJ
85442013-01-08 Andreas Jaeger <aj@suse.de>
8545
8546 [BZ# 14985]
8547 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8548 Remove.
8549 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8550 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8551
2ccdea26
AB
85522013-01-07 Anton Blanchard <anton@samba.org>
8553
8554 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8555 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8556 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8557 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8558 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8559 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8560 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8561 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8563 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8567 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8568 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8570 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8571 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8572 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8573 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8574 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8575 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8577 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8578 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8579 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8580 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8581 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8583 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8584 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8590 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8593 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8594 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8596 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8597
a9708fed
JM
85982013-01-07 Joseph Myers <joseph@codesourcery.com>
8599
375607b9
JM
8600 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8601 (__MALLOC_PMT): Likewise.
8602 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8603 [__GNUC__], only on [_LIBC].
8604 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8605 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8606 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8607 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8608 forward declaration.
8609 (realloc_hook_ini): Likewise.
8610 (memalign_hook_ini): Likewise.
8611 (__libc_memalign): Do not use __MALLOC_PMT in variable
8612 declaration.
8613 (__libc_valloc): Likewise.
8614 (__libc_pvalloc): Likewise.
8615 (__libc_calloc): Likewise.
8616 (__posix_memalign): Likewise.
8617
a9708fed
JM
8618 [BZ #14996]
8619 * math/s_casinh.c: Include <float.h>.
8620 (__casinh): Do not do computation with squaring and square root
8621 for large arguments.
8622 * math/s_casinhf.c: Include <float.h>.
8623 (__casinhf): Do not do computation with squaring and square root
8624 for large arguments.
8625 * math/s_casinhl.c: Include <float.h>.
8626 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8627 (__casinhl): Do not do computation with squaring and square root
8628 for large arguments.
8629 * math/libm-test.inc (casin_test): Add more tests.
8630 (casinh_test): Likewise.
8631 * sysdeps/i386/fpu/libm-test-ulps: Update.
8632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8633
afec409a
L
86342013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8637 (__x86_64_raw_data_cache_size): Likewise.
8638 (__x86_64_data_cache_size_half): Likewise.
8639 (__x86_64_raw_data_cache_size_half): Likewise.
8640 (__x86_64_shared_cache_size): Likewise.
8641 (__x86_64_raw_shared_cache_size): Likewise.
8642 (__x86_64_shared_cache_size_half): Likewise.
8643 (__x86_64_raw_shared_cache_size_half): Likewise.
8644 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8645 to ...
8646 (__x86_data_cache_size): This.
8647 (__x86_64_raw_data_cache_size): Renamed to ...
8648 (__x86_raw_data_cache_size): This.
8649 (__x86_64_data_cache_size_half): Renamed to ...
8650 (__x86_data_cache_size_half): This.
8651 (__x86_64_raw_data_cache_size_half): Renamed to ...
8652 (__x86_raw_data_cache_size_half): This.
8653 (__x86_64_shared_cache_size): Renamed to ...
8654 (__x86_shared_cache_size): This.
8655 (__x86_64_raw_shared_cache_size): Renamed to ...
8656 (__x86_raw_shared_cache_size): This.
8657 (__x86_64_shared_cache_size_half): Renamed to ...
8658 (__x86_shared_cache_size_half): This.
8659 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8660 (__x86_raw_shared_cache_size_half): This.
8661 * sysdeps/x86_64/memcpy.S: Updated.
8662 * sysdeps/x86_64/memset.S: Likewise.
8663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8664 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8665 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8666
0b3986d0
DM
86672013-01-04 David S. Miller <davem@davemloft.net>
8668
8669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8670
e47686e9
AS
86712013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8672
d643bac1
AS
8673 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8674 1 to avoid redefinition warning.
8675 (__USE_GNU): Don't define.
8676 (init_signaling_nan): Protoize.
8677
e47686e9
AS
8678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8679
b18decba
SP
86802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8681
fffb407f
SP
8682 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8684 (__cpymn): Likewise.
8685 (norm): Remove commented code.
8686 (denorm): Likewise.
8687 (__mp_dbl): Likewise.
8688 (__inv): Likewise.
8689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8690 (__cpymn): Likewise.
8691 (norm): Remove commented code.
8692 (denorm): Likewise.
8693 (__mp_dbl): Likewise.
8694 (__inv): Likewise.
8695
b18decba
SP
8696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8697 mp_no value for 1.0 and 2.0.
8698 (norm): Use RADIXI instead of radixi.d.
8699 (denorm): Likewise.
8700 (__mul): Use 0.0 instead of zero.d.
8701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8702 mp_no value for 1.0 and 2.0.
8703 (norm): Use RADIXI instead of radixi.d.
8704 (denorm): Likewise.
8705 (__mul): Use 0.0 instead of zero.d.
8706
cdc1c96f
JM
87072013-01-04 Joseph Myers <joseph@codesourcery.com>
8708
8709 [BZ #14994]
8710 * math/s_casinh.c (__casinh): Reduce finite argument to first
8711 quadrant then set signs of results at the end.
8712 * math/s_casinhf.c (__casinhf): Likewise.
8713 * math/s_casinhl.c (__casinhl): Likewise.
8714 * math/libm-test.inc (casin_test): Add more tests.
8715 (casinh_test): Likewise.
8716 * sysdeps/i386/fpu/libm-test-ulps: Update.
8717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8718
302913e1
SP
87192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8720
6420d207
SP
8721 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8722
a9e48ab4
SP
8723 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8724
b7837264
SP
8725 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8726 declarations.
8727 (denorm): Likewise.
8728 (__mp_dbl): Likewise.
8729 (__inv): Likewise.
8730
f8af25d2
SP
8731 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8732 and adjust the header comment.
8733
302913e1
SP
8734 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8735 variable name from declaration.
8736
5d7dd1ca
L
87372013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8738
8739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8740 Initialize COMMON_CPUID_INDEX_7 element.
8741 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8742 (CPUID_RTM): Likewise.
8743 (HAS_RTM): Likewise.
8744 (COMMON_CPUID_INDEX_7): New enum.
8745
2f5f40f4
AS
87462013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8747
8748 [BZ #14981]
8749 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8750 size is zero, record memory as freed.
8751
4056f4a0
AJ
87522013-01-03 Andreas Jaeger <aj@suse.de>
8753
8754 * po/ia.po: Add new Interlingua translation.
8755
ab15736f 87562012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8757
8758 * locale/programs/localedef.c: Fix description of '--posix' flag.
8759
568035b7
JM
87602013-01-02 Joseph Myers <joseph@codesourcery.com>
8761
e6898b8d
JM
8762 * NEWS: Update dates in second copyright notice.
8763 * README: Update copyright dates in example.
8764 * manual/libc.texinfo: Update copyright dates.
8765 * scripts/test-installation.pl: Update copyright date in --version
8766 output.
8767
0e2f9562
JM
8768 * hurd/ctty-input.c: Fix copyright notice formatting.
8769 * hurd/ctty-output.c: Likewise.
8770 * hurd/dtable.c: Likewise.
8771 * hurd/hurd-raise.c: Likewise.
8772 * hurd/hurdprio.c: Likewise.
8773 * hurd/msgportdemux.c: Likewise.
8774 * misc/sys/file.h: Likewise.
8775 * misc/sys/ioctl.h: Likewise.
8776 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8777 * sysdeps/mach/hurd/chdir.c: Likewise.
8778 * sysdeps/mach/hurd/fchdir.c: Likewise.
8779 * sysdeps/mach/hurd/rename.c: Likewise.
8780 * sysdeps/mach/hurd/rmdir.c: Likewise.
8781 * sysdeps/mach/hurd/seekdir.c: Likewise.
8782 * sysdeps/mach/hurd/setsid.c: Likewise.
8783 * sysdeps/posix/wait3.c: Likewise.
8784
568035b7
JM
8785 * All files with FSF copyright notices: Update copyright dates
8786 using scripts/update-copyrights.
8787 * intl/plural.c: Regenerated.
8788 * locale/programs/charmap-kw.h: Likewise.
8789 * locale/programs/locfile-kw.h: Likewise.
8790
da08f647
SP
87912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8792
0f5477af
SP
8793 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8794 four values.
8795
44e0d4c2
SP
8796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8797 calculation loop and add branch prediction.
8798
4d55b4e5
SP
8799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8800 check access beyond bounds of m1np.
8801
da08f647
SP
8802 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8803 MPTWO.
8804 (__inv): Remove local variable MPTWO to use the global
8805 constant.
8806 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8807 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8808 variable MPTWO.
8809 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8810 MP3HALFS static const.
8811
8e051029
DM
88122013-01-01 David S. Miller <davem@davemloft.net>
8813
8814 * po/ca.po: Update from translation team.
8815
f4cf5f2d
JM
88162013-01-01 Joseph Myers <joseph@codesourcery.com>
8817
8818 * scripts/update-copyrights: New file.
8819 * Makeconfig: Reformat copyright notice.
8820 * ctype/ctype.h: Likewise.
8821 * debug/swprintf_chk.c: Likewise.
8822 * elf/dl-cache.c: Likewise.
8823 * elf/dl-debug.c: Likewise.
8824 * elf/dl-object.c: Likewise.
8825 * grp/initgroups.c: Likewise.
8826 * hurd/Makefile: Likewise.
8827 * hurd/hurd/signal.h: Likewise.
8828 * hurd/hurdfault.c: Likewise.
8829 * hurd/hurdioctl.c: Likewise.
8830 * hurd/hurdlookup.c: Likewise.
8831 * hurd/intr-msg.c: Likewise.
8832 * iconv/gconv_open.c: Likewise.
8833 * libio/swprintf.c: Likewise.
8834 * locale/lc-ctype.c: Likewise.
8835 * locale/nl_langinfo.c: Likewise.
8836 * mach/Machrules: Likewise.
8837 * mach/Makefile: Likewise.
8838 * malloc/obstack.h: Likewise.
8839 * manual/Makefile: Likewise.
8840 * manual/tsort.awk: Likewise.
8841 * misc/bits/stab.def: Likewise.
8842 * nis/nis_print_group_entry.c: Likewise.
8843 * nis/nis_table.c: Likewise.
8844 * nis/nss_compat/compat-pwd.c: Likewise.
8845 * nis/nss_compat/compat-spwd.c: Likewise.
8846 * po/Makefile: Likewise.
8847 * posix/fnmatch.c: Likewise.
8848 * posix/regex.h: Likewise.
8849 * resolv/Makefile: Likewise.
8850 * resolv/nss_dns/dns-network.c: Likewise.
8851 * resolv/res_hconf.c: Likewise.
8852 * scripts/gen-sorted.awk: Likewise.
8853 * soft-fp/soft-fp.h: Likewise.
8854 * stdio-common/printf.h: Likewise.
8855 * stdlib/monetary.h: Likewise.
8856 * stdlib/random.c: Likewise.
8857 * stdlib/random_r.c: Likewise.
8858 * sysdeps/generic/Makefile: Likewise.
8859 * sysdeps/gnu/Makefile: Likewise.
8860 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8888 * sysdeps/mach/hurd/errnos.awk: Likewise.
8889 * sysdeps/mach/hurd/fork.c: Likewise.
8890 * sysdeps/mach/hurd/getcwd.c: Likewise.
8891 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8892 * sysdeps/mach/hurd/mmap.c: Likewise.
8893 * sysdeps/mach/hurd/utimes.c: Likewise.
8894 * sysdeps/mach/hurd/xmknod.c: Likewise.
8895 * sysdeps/posix/profil.c: Likewise.
8896 * sysdeps/posix/readdir_r.c: Likewise.
8897 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8898 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8899 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8900 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8902 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8903 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8906 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8908 * sysdeps/pthread/lio_listio.c: Likewise.
8909 * sysdeps/sparc/dl-procinfo.h: Likewise.
8910 * sysdeps/unix/i386/sysdep.S: Likewise.
8911 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8912 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8913 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8914 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8916 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8917 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8918 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8919 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8920 * sysdeps/wordsize-32/divdi3.c: Likewise.
8921 * time/sys/time.h: Likewise.
8922 * wcsmbs/Makefile: Likewise.
8923
0549fbba
DM
89242013-01-01 David S. Miller <davem@davemloft.net>
8925
a141f1a7
DM
8926 * po/fr.po: Update from translation team.
8927
0549fbba
DM
8928 * catgets/gencat.c: Update copyright year.
8929 * csu/version.c: Likewise.
8930 * debug/catchsegv.sh: Likewise.
8931 * debug/pcprofiledump.c: Likewise.
8932 * debug/xtrace.sh: Likewise.
8933 * elf/ldconfig.c: Likewise.
8934 * elf/ldd.bash.in: Likewise.
8935 * elf/pldd.c: Likewise.
8936 * elf/sotruss.ksh: Likewise.
8937 * elf/sprof.c: Likewise.
8938 * iconv/iconv_prog.c: Likewise.
8939 * iconv/iconvconfig.c: Likewise.
8940 * locale/programs/locale.c: Likewise.
8941 * locale/programs/localedef.c: Likewise.
8942 * login/programs/pt_chown.c: Likewise.
8943 * malloc/memusage.sh: Likewise.
8944 * malloc/memusagestat.c: Likewise.
8945 * malloc/mtrace.pl: Likewise.
8946 * nscd/nscd.c: Likewise.
8947 * nss/getent.c: Likewise.
8948 * nss/makedb.c: Likewise.
8949 * posix/getconf.c: Likewise.
8950
18ea052c
SP
89512012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8952
8953 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8954 numbers.
8955
9c89fca6
MF
89562012-12-30 Mike Frysinger <vapier@gentoo.org>
8957
8958 * math/bits/mathcalls.h (modf): Use __nonnull.
8959
085ec079
SP
89602012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8961
8962 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8963 (split): Use macro CN instead of the bare value.
8964 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8965 could be used.
8966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8967 instead of the bare value.
8968 (power1): Likewise.
8969
6d9f97e1
SP
89702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8971
d63f73be
SP
8972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8973 __ATAN_TWOM.
8974 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8975
6d9f97e1
SP
8976 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8977 their values.
8978 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8979 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8980 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8981 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8982
4c4febf5
AJ
89832012-12-28 Andreas Jaeger <aj@suse.de>
8984
af5843ef
AJ
8985 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8986 values are from Linux 3.7.
8987
4c4febf5
AJ
8988 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8989 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8990
99136f82
SP
89912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8992
2f216c3c 8993 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8994 TRUE case.
8995
99136f82
SP
8996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8997 (norm): Likewise.
8998 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8999 variables with preprocessor constants.
9000 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9001 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9002 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9003
7fffbdff
BH
90042012-12-27 Bruno Haible <bruno@clisp.org>
9005
9006 [BZ #14317]
9007 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9008 only if needed.
9009
b76eb5f0
SP
90102012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9011
31a7fe5c
SP
9012 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9013 and use variable directly.
9014 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9015
b76eb5f0
SP
9016 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9017 MPONE.
9018 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9020 variable MPONE.
9021 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9023 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9024 include directive. Remove local variable MPONE.
9025 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9026 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9028
2c8bfe7d
DM
90292012-12-25 David S. Miller <davem@davemloft.net>
9030
9031 * version.h (RELEASE): Set to "development".
9032 (VERSION): Set to "2.17.90".
9033 * NEWS: Add 2.18 section.
9034
147d03b0
DM
90352012-12-21 David S. Miller <davem@davemloft.net>
9036
9037 * po/hr.po: Update from translation team.
9038
a8ebb2b9
AK
90392012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9040
9041 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9042
95b4f1b6
SE
90432012-12-19 Steve Ellcey <sellcey@mips.com>
9044
b2d94007 9045 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9046
cedb2a90
MS
90472012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9048
9049 * manual/contrib.texi (Contributors): Spelling correction.
9050
bbf527d6
DM
90512012-12-15 David S. Miller <davem@davemloft.net>
9052
9053 * po/ru.po: Update from translation team.
9054
bc38c906
DM
90552012-12-13 David S. Miller <davem@davemloft.net>
9056
85429b1a
DM
9057 * NEWS: Mention IFUNC testsuite enhancements.
9058
d283e353
DM
9059 * po/pl.po: Update from translation team.
9060 * po/bg.po: Likewise.
9061
bc38c906
DM
9062 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9063 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9064
a181b0d7
DM
90652012-12-11 David S. Miller <davem@davemloft.net>
9066
4641d57e
DM
9067 * po/sv.po: Update from translation team.
9068
f7bc6495
DM
9069 * po/vi.po: Update from translation team.
9070
6fc9048f
DM
9071 * po/cs.po: Update from translation team.
9072
a181b0d7
DM
9073 * po/de.po: Update from translation team.
9074 * po/eo.po: Likewise.
9075 * po/nl.po: Likewise.
9076
f70bfe80
SP
90772012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9078
3c8b4190
SP
9079 [BZ #14246]
9080 * manual/argp.texi (Argp Helper Functions): Move node to follow
9081 Argp Parsing State.
9082
f70bfe80
SP
9083 [BZ #14872]
9084 * manual/conf.texi (Limits on File System Capacity): Mention if
9085 terminating null is included in the max size.
9086
188f0adf
AJ
90872012-12-10 Andreas Jaeger <aj@suse.de>
9088
9089 * po/cs.po: Update from translation team.
9090
56e7d3ad
SP
90912012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9092
9093 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9094 void pointer and cast to uintptr_t.
9095 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9096 path.
9097 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9098 * sysdeps/s390/s390-64/memset.S: Likewise.
9099
76f2d2ea 91002012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9101
9102 [BZ #14833]
9103 * menual/message.texi (Message Translation): Fix typos.
9104 (Helper programs for gettext): Likewise.
9105
67cbf9a2
AS
91062012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9107
9108 [BZ #14898]
9109 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9110 Change to -1.
9111
682d0e9a
DM
91122012-12-07 David S. Miller <davem@davemloft.net>
9113
9114 * po/libc.pot: Update.
9115
573cd484
RH
91162012-12-07 Richard Henderson <rth@redhat.com>
9117
7e9da188 9118 [BZ #10114]
573cd484
RH
9119 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9120 normal/normal case to before the switch.
9121 (_FP_DIV): Likewise.
9122
e933a943
MF
91232012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9124 Mike Frysinger <vapier@gentoo.org>
9125
9126 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9127 check for __NR_fadvise64_64.
9128
82123268
CM
91292012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9130
9131 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9132 0, not just to plain "0" as a statement.
9133 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9134 with cw.
9135
d9814526
JM
91362012-12-06 Joseph Myers <joseph@codesourcery.com>
9137
9138 * NEWS: Use sourceware.org in Bugzilla URL.
9139
7728c574
SP
91402012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9141
f16946dd
SP
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9143 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9144
5704bbcb
SP
9145 * stdio-common/tst-put-error.c (do_test): Add newline to the
9146 padded test to ensure flush.
9147
17aa0516
JL
91482012-12-05 Jeff Law <law@redhat.com>
9149
9150 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9151
363313b5
JM
91522012-12-05 Joseph Myers <joseph@codesourcery.com>
9153
effbd42a
JM
9154 * README: Don't refer to ports add-on as distributed separately.
9155 Mention AArch64 in list of systems supported in the ports add-on.
9156
87600365
JM
9157 * LICENSES: Add more non-FSF copyright and license notices.
9158
a0d7066a
JM
9159 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9160 ((unused)).
9161
66ca5a5b
JM
9162 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9163
363313b5
JM
9164 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9165 10000 as width of padded output.
9166
b37984ad
JM
91672012-12-04 Joseph Myers <joseph@codesourcery.com>
9168
9003570a
JM
9169 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9170
b37984ad
JM
9171 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9172 variable LX with __attribute__ ((unused)).
9173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9174 Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9178 with __attribute__ ((unused)).
9179
c8df52ec
DM
91802012-12-04 David S. Miller <davem@abraco.davemloft.net>
9181
9182 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9183
b3b099af
JM
91842012-12-04 Joseph Myers <joseph@codesourcery.com>
9185
c33aa6e3
JM
9186 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9187 (CFLAGS-nldbl-acos.c): New variable.
9188 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9239 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9240 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9241 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9242 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9243 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9244 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9245 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9246 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9247 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9248 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9249 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9250 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9251 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9252 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9253 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9264 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9265 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9266 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9267 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9268 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9269 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9270 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9271 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9272 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9273 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9274 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9275 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9276 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9277 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9278 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9279 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9280 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9281 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9282 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9283 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9284 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9285
20f0018d
JM
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9287 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9288
b3b099af
JM
9289 [BZ #14914]
9290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9291 whole low double instead of just low 47 bits when splitting values
9292 into two parts.
9293
029264d1
AM
92942012-12-03 Allan McRae <allan@archlinux.org>
9295
9296 * manual/stdio.texi (Predefined Printf Handlers): Remove
9297 @hsep and @vsep usage.
9298
c9d6789e
MF
92992012-12-03 Mike Frysinger <vapier@gentoo.org>
9300
9301 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9302 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9303
4b7634a5
JL
93042012-12-03 Jeff Law <law@redhat.com>
9305
9306 * time/sys/time.h (settimeofday): Do not mark TV argument
9307 as __nonnull.
9308
eb6cbd24
MF
93092012-12-01 Mike Frysinger <vapier@gentoo.org>
9310
9311 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9312 when currently writing and seek to current position when not.
9313 * libio/Makefile (tests): Remove bug-fclose1.
9314 * libio/bug-fclose1.c: Delete.
9315
f638872a
JM
93162012-12-01 Joseph Myers <joseph@codesourcery.com>
9317
9318 * manual/arith.texi (feenableexcept): Fix typo.
9319 (fedisableexcept): Likewise.
9320
48085d14
RM
93212012-11-30 Roland McGrath <roland@hack.frob.com>
9322
9323 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9324 second, differently-typed declaration, rather than a cast.
9325
1a538b9f
SP
93262012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9327
9328 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9329 * include/rpc/svc.h: ... here.
9330
d07f2ff1 93312012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9332
9333 [BZ #13013]
9334 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9335 depending n and resplen2 to catch cases where answer
9336 equals answerp2.
9337
c93ec1f0
CD
93382012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9339
9340 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9341 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9342
37db69de
MF
93432012-11-29 Mike Frysinger <vapier@gentoo.org>
9344
9345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9346
e10c4e4f
RM
93472012-11-29 Roland McGrath <roland@hack.frob.com>
9348
9349 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9350
2af1b328
JL
93512012-11-28 Jeff Law <law@redhat.com>
9352
9353 [BZ #13761]
9354 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9355 dataset_temporary. Track alloca usage into alloca_used.
9356 If dataset is large allocate and release it via malloc/free.
9357
111db5b1
FW
93582012-06-04 Florian Weimer <fweimer@redhat.com>
9359
f06cc227 9360 [BZ #14197]
111db5b1
FW
9361 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9362
dd694abd
DM
93632012-11-28 David S. Miller <davem@davemloft.net>
9364
9365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9366
9984dd01
JM
93672012-11-28 Joseph Myers <joseph@codesourcery.com>
9368
9369 [BZ #14803]
9370 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9371 of pi/2 rounded to nearest to 64 bits.
9372 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9373 nearest to 64 bits.
9374 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9375 bits.
9376
14bc93a9
JL
93772012-11-28 Jeff Law <law@redhat.com>
9378 Martin Osvald <mosvald@redhat.com>
9379
9380 [BZ #14889]
9381 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9382 * sunrpc/svc.c: Include time.h.
9383 (__svc_accept_failed): New function.
9384 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9385 any reason other than EINTR, call __svc_accept_failed.
9386 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9387 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9388
e3c6aa3a
AS
93892012-11-28 Andreas Schwab <schwab@suse.de>
9390
9391 * scripts/abilist.awk: Also handle indirect functions in .opd
9392 section.
9393
1bead169
JM
93942012-11-28 Joseph Myers <joseph@codesourcery.com>
9395
9396 [BZ #13881]
9397 * sysdeps/x86/fpu/powl_helper.c: New file.
9398 * sysdeps/x86/fpu/Makefile: Likewise.
9399 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9400 (p3): New object.
9401 (__ieee754_powl): Use __powl_helper for finite arguments except
9402 integer exponents below 8.
9403 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9404 (p3): New object.
9405 (__ieee754_powl): Use __powl_helper for finite arguments except
9406 integer exponents below 8.
9407 * math/libm-test.inc (pow_test): Add more tests and enable some
9408 previously disabled tests.
9409 * sysdeps/i386/fpu/libm-test-ulps: Update.
9410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9411
0817d63d
SP
94122012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 Carlos O'Donell <carlos_odonell@mentor.com>
9414
9415 * nss/makedb.c (is_prime): Assert that input is odd and greater
9416 than 4. Note that fact in a comment too.
9417 (next_prime): Add 4 to input.
9418
de2fd463
SP
94192012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9420
9421 [BZ #11741]
9422 * libio/Makefile (tests): Add test case tst-fwrite-error.
9423 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9424 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9425 * libio/tst-fwrite-error.c: New test case.
9426
c515fb51
L
94272012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9428
9429 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9430 before casting to void *.
9431 * include/libc-internal.h (__pointer_type): New macro.
9432 (__integer_if_pointer_type_sub): Likewise.
9433 (__integer_if_pointer_type): Likewise.
9434 (cast_to_integer): Likewise.
9435 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9436 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9437 before casting to atomic64_t.
9438 (atomic_exchange_acq): Likewise.
9439 (__arch_exchange_and_add_body): Likewise.
9440 (__arch_add_body): Likewise.
9441 (atomic_add_negative): Likewise.
9442 (atomic_add_zero): Likewise.
9443
4cf77aa9
JM
94442012-11-26 Joseph Myers <joseph@codesourcery.com>
9445
9446 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9447 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9448 (add_fdes): Likewise.
9449 (linear_search_fdes): Likewise.
9450 (binary_search_unencoded_fdes): Likewise.
9451
d260b3b4
AS
94522012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9453
9454 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9455
67060746
AC
94562012-11-24 Adam Conrad <adconrad@0c3.net>
9457
9458 * configure.in: Autodetect C++ header directories.
9459 * configure: Regenerated.
9460
800938a1
MF
94612012-11-23 Mike Frysinger <vapier@gentoo.org>
9462
9463 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9464
4e6e34e6
AS
94652012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9466
9467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9468
7c7feb47
JM
94692012-11-22 Joseph Myers <joseph@codesourcery.com>
9470
7184dcdf
JM
9471 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9472 LDBL_MANT_DIG == 106]: Disable some tests.
9473 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9474 Likewise.
9475 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9476 Likewise.
9477
0a42601f
JM
9478 [BZ #14871]
9479 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9480 input for small inputs. Return +/- pi/2 for large inputs.
9481 * math/libm-test.inc (atan_test): Add more tests.
9482
79c9b9fe
JM
9483 * sysdeps/generic/unwind-dw2-fde-glibc.c
9484 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9485 __attribute__ ((unused)).
9486
c60d3bf2
JM
9487 [BZ #14645]
9488 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9489 x * y if x and y are nonzero and z is zero.
9490
ef1e0867
JM
9491 [BZ #14811]
9492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9493 nonzero exponents with absolute value below 0x1p-117 to +/-
9494 0x1p-117.
9495
1468ded3
JM
9496 [BZ #14869]
9497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9498 up arguments below 2**-450, not just those below 2**-500.
9499 * math/libm-test.inc (hypot_test): Add another test.
9500
8e27e3cc
JM
9501 [BZ #14868]
9502 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9503 Return a+b for ratio over 2**120, not 2**60.
9504 * math/libm-test.inc (hypot_test): Add another test.
9505
c9c0279b
JM
9506 * math/libm-test.inc (clog_test): Use
9507 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9508 (clog10_test): Likewise.
9509
7c7feb47
JM
9510 [BZ #6778]
9511 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9512
fff1530e
AS
95132012-11-22 Andreas Schwab <schwab@suse.de>
9514
9515 * sysdeps/i386/fpu/libm-test-ulps: Update.
9516
94558d30
PT
95172012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9518
9519 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9520 printf output with newline.
9521
7e1be741
L
95222012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9523
6bfea974
L
9524 [BZ #14865]
9525 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9526 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9527 -z nodlopen, -z initfirst and -z execstack support.
9528 * configure: Regenerated.
9529
7e1be741
L
9530 * elf/elf.h (DF_1_NODIRECT): New macro.
9531 (DF_1_IGNMULDEF): Likewise.
9532 (DF_1_NOKSYMS): Likewise.
9533 (DF_1_NOHDR): Likewise.
9534 (DF_1_EDITED): Likewise.
9535 (DF_1_NORELOC): Likewise.
9536 (DF_1_SYMINTPOSE): Likewise.
9537 (DF_1_GLOBAUDIT): Likewise.
9538 (DF_1_SINGLETON): Likewise.
9539 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9540 DT_1_SUPPORTED_MASK bits.
9541 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9542
105ce2ce
CD
95432012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9544
9545 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9546
123be9de
TS
95472012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9548
d072f3f7
TS
9549 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9550 macro.
9551
123be9de
TS
9552 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9553 (sendmmsg): Move declarations...
9554 * socket/sys/socket.h: ... here.
9555 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9556 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9557 include it from...
9558 * socket/recvmmsg.c: ... this new file.
9559 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9560 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9561 definition of __sendmmsg hidden.
9562 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9563 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9564 Move ENOSYS stub into and include it from...
9565 * socket/sendmmsg.c: ... this new file.
9566 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9567 (sysdep_routines): Move recvmmsg and sendmmsg...
9568 * socket/Makefile (routines): ... here.
9569 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9570 (GLIBC_PRIVATE): Add __sendmmsg.
9571 * include/sys/socket.h (__sendmmsg): Add declarations.
9572 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9573 sendmmsg.
9574
cf9a5d18
JM
95752012-11-20 Joseph Myers <joseph@codesourcery.com>
9576
9577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9578 variable I1 with __attribute__ ((unused)).
9579 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9580
ecd4caf9
JM
95812012-11-19 Joseph Myers <joseph@codesourcery.com>
9582
be14d48f
JM
9583 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9584 DUMMY variables with __attribute__ ((unused)).
9585
ecd4caf9
JM
9586 * bits/byteswap.h: Include <bits/types.h>.
9587 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9588
986cab95
PT
95892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9590
9591 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9592 string_t. Do not manually set errno.
9593 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9594 length with __strnlen. Make sure to both set errno and return it on
9595 failure.
9596
6d33cc9d
DM
95972012-11-19 David S. Miller <davem@davemloft.net>
9598
9599 With help from Joseph Myers.
9600 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9601 very large arguments properly.
9602 * math/libm-test.inc (atan_test): New tests.
9603 (atan2_test): New tests.
9604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9606
ee663277
JM
96072012-11-19 Joseph Myers <joseph@codesourcery.com>
9608
877f2d8e
JM
9609 [BZ #14856]
9610 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9611 Define to 3.
9612
116fc08a
JM
9613 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9614 [POSIX] (EADDRNOTAVAIL): Likewise.
9615 [POSIX] (EAFNOSUPPORT): Likewise.
9616 [POSIX] (EALREADY): Likewise.
9617 [POSIX] (ECONNABORTED): Likewise.
9618 [POSIX] (ECONNREFUSED): Likewise.
9619 [POSIX] (ECONNRESET): Likewise.
9620 [POSIX] (EDESTADDRREQ): Likewise.
9621 [POSIX] (EDQUOT): Likewise.
9622 [POSIX] (EHOSTUNREACH): Likewise.
9623 [POSIX] (EIDRM): Likewise.
9624 [POSIX] (EISCONN): Likewise.
9625 [POSIX] (ELOOP): Likewise.
9626 [POSIX] (EMULTIHOP): Likewise.
9627 [POSIX] (ENETDOWN): Likewise.
9628 [POSIX] (ENETUNREACH): Likewise.
9629 [POSIX] (ENOBUFS): Likewise.
9630 [POSIX] (ENODATA): Likewise.
9631 [POSIX] (ENOLINK): Likewise.
9632 [POSIX] (ENOMSG): Likewise.
9633 [POSIX] (ENOPROTOOPT): Likewise.
9634 [POSIX] (ENOSR): Likewise.
9635 [POSIX] (ENOSTR): Likewise.
9636 [POSIX] (ENOTCONN): Likewise.
9637 [POSIX] (ENOTSOCK): Likewise.
9638 [POSIX] (EOPNOTSUPP): Likewise.
9639 [POSIX] (EOVERFLOW): Likewise.
9640 [POSIX] (EPROTO): Likewise.
9641 [POSIX] (EPROTONOSUPPORT): Likewise.
9642 [POSIX] (EPROTOTYPE): Likewise.
9643 [POSIX] (ESTALE): Likewise.
9644 [POSIX] (ETIME): Likewise.
9645 [POSIX] (ETXTBSY): Likewise.
9646 [POSIX] (EWOULDBLOCK): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9648 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9649 [POSIX] (SEEK_CUR): Likewise.
9650 [POSIX] (SEEK_END): Likewise.
9651 [POSIX || UNIX98] (mode_t): Do not require.
9652 [POSIX] (off_t): Likewise.
9653 [POSIX] (pid_t): Likewise.
9654 [POSIX] (sys/stat.h): Do not allow header.
9655 [POSIX] (unistd.h): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9657 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9659 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9660 require.
9661 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9662 sigevent): Specify elements.
9663 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9664 entry.
9665 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9666 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9667
a483863f
JM
9668 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9669 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9670 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9671 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9672 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9673 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9674 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9675 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9677 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9678 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9679 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9680 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9681 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9682 Likewise.
9683 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9684 Likewise.
9685 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9686 Likewise.
9687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9688 Likewise.
9689 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9690 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9691 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9692 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9693 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9694 Specify lower bound on value.
9695 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9697 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9698 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9699 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9700 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9701 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9702 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9703 value.
9704 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9705 as optional.
9706 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9707 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9708 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9709 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9710 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9711 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9722 entry.
9723 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9724 optional.
9725 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9731 Likewise.
9732 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9737 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9738 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9739 as optional.
9740 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9744 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9745 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9746 specify as optional.
9747 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9750 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9751 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9752 [XPG3] (NL_LANGMAX): Likewise.
9753 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9754 [POSIX || XPG3] (NL_NMAX): Likewise.
9755 [POSIX || XPG3] (NL_SETMAX): Likewise.
9756 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9757 [XPG3] (NZERO): Likewise.
9758 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9759 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9760 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9761 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9762 (REG_ERANGE): Expect.
9763 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9764 optional-constant.
9765 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9766 Use (void) in prototype.
9767 [POSIX] (*_t): Allow.
9768 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9769 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9770 (WRDE_BADVAL): Expect.
9771
5ba924e3
JM
9772 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9773 expect.
9774 [XPG3 || XPG4] (O_RSYNC): Likewise.
9775 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9776 Likewise.
9777 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9778 [XPG3 || XPG4] (sigqueue): Likewise.
9779 [XPG3 || XPG4] (sigtimedwait): Likewise.
9780 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9781 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9782 [XPG3 || XPG4] (vsnprintf): Likewise.
9783 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9784 Likewise.
9785 [XPG3 || XPG4] (blksize_t): Likewise.
9786 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9787 Likewise.
9788 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9789 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9790 [XPG3 || XPG4] (struct itimerspec): Likewise.
9791 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9792 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9793 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9794 [XPG3 || XPG4] (clockid_t): Likewise.
9795 [XPG3 || XPG4] (timer_t): Likewise.
9796 [XPG3 || XPG4] (clock_getres): Likewise.
9797 [XPG3 || XPG4] (clock_gettime): Likewise.
9798 [XPG3 || XPG4] (clock_settime): Likewise.
9799 [XPG3 || XPG4] (nanosleep): Likewise.
9800 [XPG3 || XPG4] (timer_create): Likewise.
9801 [XPG3 || XPG4] (timer_delete): Likewise.
9802 [XPG3 || XPG4] (timer_gettime): Likewise.
9803 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9804 [XPG3 || XPG4] (timer_settime): Likewise.
9805 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9806 [XPG3 || XPG4] (getlogin_r): Likewise.
9807 [XPG3 || XPG4] (pread): Likewise.
9808 [XPG3 || XPG4] (pthread_atfork): Likewise.
9809 [XPG3 || XPG4] (pwrite): Likewise.
9810
ee663277
JM
9811 [BZ #14835]
9812 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9813 <bits/siginfo.h>.
9814
942caa16
PT
98152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9816
e19af380
PT
9817 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9818 finalizing MALLSTREAM.
9819
942caa16
PT
9820 * sysdeps/mach/hurd/syncfs.c: New file.
9821
cfde9b46
SP
98222012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9823
9824 [BZ #14719]
9825 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9826 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9827 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9828 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9829 (_nss_dns_gethostbyname4_r): Likewise.
9830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9831 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9832
f6da27e5
PH
98332012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9834
9835 [BZ #13763]
9836 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9837
6665d4a2
SM
98382012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9839
1f51ee92
SM
9840 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9841 * elf/cache.c (print_entry): Print ",AArch64" for
9842 FLAG_AARCH64_LIB64
9843
6665d4a2
SM
9844 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9845 * elf/cache.c (print_entry): Print ",hard-float" for
9846 FLAG_ARM_LIBHF.
9847
05b227bd
DM
98482012-11-18 David S. Miller <davem@davemloft.net>
9849
9850 With help from Joseph Myers.
9851 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9852 cutoff to 2**-13.
9853 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9854 cutoff to 2**-25.
9855 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9856 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9857 small.
9858 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9859 * math/libm-test.inc (y0_test): New tests.
9860 (y1_test): New tests.
9861 * sysdeps/i386/fpu/libm-test-ulps: Update.
9862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9864
786b0b67
AS
98652012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9866
9867 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9868 64-bit targets.
9869 * configure: Regenerated.
9870
8e18b86d
DM
98712012-11-17 David S. Miller <davem@davemloft.net>
9872
9873 [BZ #14811]
9874 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9875 nonzero exponents with absolute value below 0x1p-128 to +/-
9876 0x1p-128.
9877
531f1ae0
JM
98782012-11-17 Joseph Myers <joseph@codesourcery.com>
9879
12df29e2
JM
9880 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9881
150dc1a0
JM
9882 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9883
531f1ae0
JM
9884 * posix/getconf-speclist.c: New file.
9885 * posix/posix-envs.def: Likewise.
9886 * posix/confstr.c (START_ENV_GROUP): New macro.
9887 (END_ENV_GROUP): Likewise.
9888 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9889 (KNOWN_PRESENT_ENV_STRING): Likewise.
9890 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9891 (UNKNOWN_ENVIRONMENT): Likewise.
9892 (confstr): Include posix-envs.def instead of handling
9893 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9894 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9895 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9896 (END_ENV_GROUP): Likewise.
9897 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9898 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9899 (UNKNOWN_ENVIRONMENT): Likewise.
9900 (__sysconf): Include posix-envs.def instead of handling associated
9901 cases directly here.
9902 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9903 preprocessing getconf-speclist.c rather than running getconf or
9904 generating empty file.
9905
a93f9cbc
PT
99062012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9907
9908 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9909
d64d9f87
AL
99102012-11-16 Andrej Lajovic <natrij@gmail.com>
9911
9912 [BZ #14672]
9913 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9914
447885eb
DM
99152012-11-16 David S. Miller <davem@davemloft.net>
9916
9917 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9918 smaller than LDBL_EPSILON/2.0L, just return xm1.
9919
bcbf9830
L
99202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 * elf/tst-array1.c (init): Set constructor priority to 1000.
9923 (fini): Set destructor priority to 1000.
9924 * elf/tst-array2dep.c: Likewise.
9925
2b766585
SP
99262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9927
9928 [BZ #11741]
9929 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9930 (_IO_new_file_xsputn): Also return EOF if none of the input
9931 data was written when overflow failed.
9932 * libio/iopadn.c (_IO_padn): Likewise.
9933 * libio/iowpadn.c (_IO_wpadn): Likewise.
9934 * stdio-common/tst-put-error.c: Add copyright notice.
9935 (do_test): Add case for printing padded string.
9936 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9937 _IO_padn returned error.
9938 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9939 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9940 return EOF.
9941
b1848fde
SP
99422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9943
9944 * libio/libioP.h: Add comment note that the references to C++
9945 bits are now obsolete.
9946
2fd89785
MS
99472012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9948
9949 * math/libm-test.inc (check_complex): Use asprintf.
9950
e3ea5409
JM
99512012-11-14 Joseph Myers <joseph@codesourcery.com>
9952
9953 * debug/pcprofiledump.c (print_version): Update copyright year.
9954 * malloc/memusagestat.c (print_version): Likewise.
9955
2e64d265
L
99562012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9957
9958 [BZ #14831]
9959 * elf/Makefile (tests): Add tst-audit8.
9960 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9961 ($(objpfx)tst-audit8.out): New target.
9962 (tst-audit8-ENV): New variable.
9963 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9964 audit if l_reloc_result is NULL.
9965 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9966 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9967 * elf/tst-audit8.c: New file.
9968
c485e4d2
MS
99692012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9970
9971 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9972 * misc/Makefile (CFLAGS-select.c): Define.
9973 * posix/Makefile (CFLAGS-pause.c): Define.
9974
3a0d900a
DM
99752012-11-13 David S. Miller <davem@davemloft.net>
9976
9977 * crypt/Makefile: Move test targets after toplevel Rules
9978 inclusion. Grab any necessary sysdep routines when linking.
9979 * crypt/md5.c (md5_process_block): Remove define, we will always
9980 name it __md5_process_block.
9981 (md5_finish_ctx): Update md5_process_block call.
9982 (md5_stream): Likewise.
9983 (md5_process_bytes): Likewise.
9984 (md5_process_block): Rename to __md5_process_block and move to ...
9985 * crypt/md5-block.c: ... here.
9986 * crypt/sha256.c (sha256_process_block): Move to ...
9987 * crypt/sha256-block.c: ... here.
9988 * crypt/sha512.c (sha512_process_block): Move to ...
9989 * crypt/sha512-block.c: ... here.
9990 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9991 path.
9992 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9993 * sysdeps/sparc/sparc64/multiarch/Makefile
9994 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9995 crypt subdir.
9996 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9997 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9998 multiarch changes.
9999 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10000 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10001 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10002 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10003 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10004 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10005 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10006 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10007 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10008 file.
10009 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10010 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10011 file.
10012 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10013
8ca89318
JM
100142012-11-13 Joseph Myers <joseph@codesourcery.com>
10015
e27d476a
JM
10016 * timezone/tzselect.ksh: Update from tzcode git revision
10017 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10018 * timezone/zdump.c: Likewise.
10019 * timezone/zic.c: Likewise.
10020 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10021 in TZVERSION setting, not $(PKGVERSION).
10022 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10023 REPORT_BUGS_TO settings.
10024
8ca89318
JM
10025 [BZ #14838]
10026 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10027 macro.
10028
47594329
MS
100292012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10030
10031 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10032 detection to immediately after _FP_ROUND().
10033 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10034 bits are 0.
10035
640ac3f1
DM
100362012-11-11 David S. Miller <davem@davemloft.net>
10037
10038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10039 inttypes.h
10040 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10041 __close rather than their public counterparts.
10042
3d2577bb
JM
100432012-11-10 Joseph Myers <joseph@codesourcery.com>
10044
10045 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10046 file.
10047 [UNIX98] (sem_timedwait): Do not expect.
10048 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10049 [XPG4 || UNIX98] (sockatmark): Do not expect.
10050 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10051 (clock_getcpuclockid): Do not expect.
10052 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10053 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10054 Do not expect.
10055 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10056 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10057 [UNIX98] (vwscanf): Likewise.
10058 [UNIX98] (vswscanf): Likewise.
10059
fb1ae1ee
JM
100602012-11-09 Joseph Myers <joseph@codesourcery.com>
10061
9ec6f8bd
JM
10062 * timezone/version.h: Remove file.
10063 * timezone/README: Do not refer to version.h.
10064 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10065 $(objpfx)version.h.
10066 ($(objpfx)zdump.o): Likewise.
c3f81911 10067 ($(objpfx)version.h): New target.
9ec6f8bd 10068
0aa8f8a1
JM
10069 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10070 2012i.
10071 * timezone/README: Don't mention modification to tzselect.ksh.
10072 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10073 work on unmodified tzselect.ksh. Substitute version numbers in
10074 tzselect.ksh.
10075
4e87147f
JM
10076 * Makefile (format-me): Remove.
10077 (INSTALL): Adjust indentation. Use commands directly instead of
10078 using $(format-me).
10079
8b748aed
JM
10080 * aclocal.m4 (ACX_PKGVERSION): New macro.
10081 (ACX_BUGURL): Likewise.
10082 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10083 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10084 (REPORT_BUGS_TO): Likewise.
10085 * configure: Regenerated.
10086 * config.h.in (PKGVERSION): New macro.
10087 (REPORT_BUGS_TO): Likewise.
10088 * config.make.in (PKGVERSION): New variable.
10089 (PKGVERSION_TEXI): Likewise.
10090 (REPORT_BUGS_TO): Likewise.
10091 (REPORT_BUGS_TEXI): Likewise.
10092 * Makefile (format-me): Use -I$(common-objpfx)manual.
10093 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10094 ($(common-objpfx)manual/%): New target.
10095 (manual/%): Remove target.
10096 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10097 (print_version): Use PKGVERSION.
10098 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10099 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10100 and REPORT_BUGS_TO.
10101 ($(objpfx)xtrace): Likewise.
10102 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10103 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10104 (print_version): Use PKGVERSION.
10105 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10106 (do_version): Use PKGVERSION.
10107 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10108 REPORT_BUGS_TO.
10109 (common-ldd-rewrite): Likewise.
10110 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10111 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10112 (print_version): Use PKGVERSION.
10113 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10114 * elf/pldd.c (argp_program_bug_address): Remove variable.
10115 (more_help): New function.
10116 (argp): Use more_help.
10117 (print_version): Use PKGVERSION.
10118 * elf/sln.c (main): Use PKGVERSION.
10119 (usage): Use REPORT_BUGS_TO.
10120 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10121 (top level): Use PKGVERSION.
10122 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10123 (print_version): Use PKGVERSION.
10124 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10125 (print_version): Use PKGVERSION.
10126 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10127 (print_version): Use PKGVERSION.
10128 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10129 (print_version): Use PKGVERSION.
10130 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10131 (print_version): Use PKGVERSION.
10132 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10133 (print_version): Use PKGVERSION.
10134 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10135 and BUGURL.
10136 ($(objpfx)memusage): Likewise.
10137 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10138 (do_version): Use PKGVERSION.
10139 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10140 (print_version): Use PKGVERSION.
10141 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10142 ($PKGVERSION): New variable.
10143 ($REPORT_BUGS_TO): Likewise.
10144 (usage): Use $REPORT_BUGS_TO.
10145 (top level): Use $PKGVERSION.
10146 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10147 ($(objpfx)pkgvers.texi): New rule.
10148 ($(objpfx)stamp-pkgvers): Likewise.
10149 * manual/install.texi: Include pkgvers.texi.
10150 (--with-pkgversion): Document new configure option.
10151 (--with-bugurl): Likewise.
10152 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10153 than necessarily for this particular distribution. Use
10154 REPORT_BUGS_TO for where to report bugs.
10155 * INSTALL: Regenerated.
10156 * manual/libc.texinfo: Include pkgvers.texi.
10157 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10158 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10159 (print_version): Use PKGVERSION.
10160 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10161 (print_version): Use PKGVERSION.
10162 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10163 (print_version): Use PKGVERSION.
10164 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10165 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10166 macro.
10167 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10168 (print_version): Use PKGVERSION.
10169 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10170 (print_version): Use PKGVERSION.
10171 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10172 and PKGVERSION.
10173
92e4b6a9
JM
10174 * timezone/checktab.awk: Update from tzcode 2012i.
10175 * timezone/ialloc.c: Likewise.
10176 * timezone/private.h: Likewise.
10177 * timezone/scheck.c: Likewise.
10178 * timezone/tzfile.h: Likewise.
10179 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10180 (TZVERSION): Hardcode tzcode version number.
10181 * timezone/zdump.c: Update from tzcode 2012i.
10182 * timezone/zic.c: Likewise.
10183 * timezone/version.h: New file.
10184 * timezone/README: Describe version.h. Update upstream location.
10185
9bde902c
JM
10186 [BZ #14824]
10187 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10188 (mktemp): Enable declaration.
10189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10193 Likewise.
10194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10195 Likewise.
10196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10197 Likewise.
10198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10199 Likewise.
10200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10201 Likewise.
10202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10203 Likewise.
10204
fb1ae1ee
JM
10205 [BZ #14821]
10206 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10207 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10208 for copies of such integer values.
10209 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10210 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10211
2c1adbcb
AJ
102122012-11-09 Andreas Jaeger <aj@suse.de>
10213
10214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10215 definitions and declarations that are provided by
10216 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10217
d0f8457e
AK
102182012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10219
3a235abb 10220 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10221 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10222 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10223 definition.
10224
57241e26
MS
102252012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10226
10227 * elf/elf.h: Update comment before AArch64 relocations.
10228
60e8270d
DM
102292012-11-07 David S. Miller <davem@davemloft.net>
10230
10231 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10232 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10233 (__start_context): Declare.
10234 (__makecontext_ret): Delete.
10235 (__makecontext): Hook up __start_context instead of
10236 __makecontext_ret.
10237 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10238 (sysdep_routines): Add __start_context when in stdlib.
10239
0fbb0fbc
JM
102402012-11-07 Joseph Myers <joseph@codesourcery.com>
10241
10242 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10243 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10244 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10245 hardcoded "nm".
10246 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10247 (READELF): New variable. Use it instead of hardcoded "readelf".
10248
eb48db7e
L
102492012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10250
10251 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10252 * sysdeps/x86/Makefile: Here.
10253 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10254 * sysdeps/x86/tst-xmmymm.sh: This.
10255
05bcf62a
JM
102562012-11-07 Joseph Myers <joseph@codesourcery.com>
10257
c4b6cf53
JM
10258 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10259 expectations.
10260 [UNIX98] (pthread_barrier_t): Do not expect.
10261 [UNIX98] (pthread_barrierattr_t): Likewise.
10262 [UNIX98] (pthread_spinlock_t): Likewise.
10263 [UNIX98] (pthread_barrier_destroy): Likewise.
10264 [UNIX98] (pthread_barrier_init): Likewise.
10265 [UNIX98] (pthread_barrier_wait): Likewise.
10266 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10267 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10268 [UNIX98] (pthread_barrierattr_init): Likewise.
10269 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10270 [UNIX98] (pthread_getcpuclockid): Likewise.
10271 [UNIX98] (pthread_mutex_timedlock): Likewise.
10272 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10273 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10274 [UNIX98] (pthread_sigmask): Likewise.
10275 [UNIX98] (pthread_spin_destroy): Likewise.
10276 [UNIX98] (pthread_spin_init): Likewise.
10277 [UNIX98] (pthread_spin_lock): Likewise.
10278 [UNIX98] (pthread_spin_trylock): Likewise.
10279 [UNIX98] (pthread_spin_unlock): Likewise.
10280 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10281 Do not expect.
10282 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10284 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10285 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10286 [XPG3 || XPG4] (pthread_key_t): Likewise.
10287 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10288 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10289 [XPG3 || XPG4] (pthread_once_t): Likewise.
10290 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10291 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10293 [XPG3 || XPG4] (pthread_t): Likewise.
10294
cbe6e120
JM
10295 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10296 not expect.
10297 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10298
1b126443
JM
10299 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10300 Change function return type to int.
10301
b961a573
JM
10302 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10303 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10304 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10305 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10306 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10307 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10308 [!POSIX] (posix_madvise): Likewise.
10309 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10310 && !UNIX98].
10311 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10312 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10313 (mode_t): Likewise.
10314 (posix_mem_offset): Likewise.
10315 (posix_typed_mem_get_info): Likewise.
10316 (posix_typed_mem_open): Likewise.
10317
9e188909
JM
10318 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10319 Change condition to [XOPEN2K8].
10320
05bcf62a
JM
10321 * conform/conformtest.pl: Preprocess allow-header data with -x c
10322 instead of from stdin.
10323 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10324 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10325 [C99-based standards] (cerfc): Likewise.
10326 [C99-based standards] (cexp2): Likewise.
10327 [C99-based standards] (cexpm1): Likewise.
10328 [C99-based standards] (clog10): Likewise.
10329 [C99-based standards] (clog1p): Likewise.
10330 [C99-based standards] (clog2): Likewise.
10331 [C99-based standards] (clgamma): Likewise.
10332 [C99-based standards] (ctgamma): Likewise.
10333 [C99-based standards] (cerff): Likewise.
10334 [C99-based standards] (cerfcf): Likewise.
10335 [C99-based standards] (cexp2f): Likewise.
10336 [C99-based standards] (cexpm1f): Likewise.
10337 [C99-based standards] (clog10f): Likewise.
10338 [C99-based standards] (clog1pf): Likewise.
10339 [C99-based standards] (clog2f): Likewise.
10340 [C99-based standards] (clgammaf): Likewise.
10341 [C99-based standards] (ctgammaf): Likewise.
10342 [C99-based standards] (cerfl): Likewise.
10343 [C99-based standards] (cerfcl): Likewise.
10344 [C99-based standards] (cexp2l): Likewise.
10345 [C99-based standards] (cexpm1l): Likewise.
10346 [C99-based standards] (clog10l): Likewise.
10347 [C99-based standards] (clog1pl): Likewise.
10348 [C99-based standards] (clog2l): Likewise.
10349 [C99-based standards] (clgammal): Likewise.
10350 [C99-based standards] (ctgammal): Likewise.
10351 * conform/data/inttypes.h-data [C99-based standards]: Include
10352 stdint.h-data. Remove all expectations for stdint.h contents.
10353 [C99-based standards] (PRI*): Do not allow.
10354 [C99-based standards] (SCN*): Likewise.
10355 [C99-based standards] (*_t): Likewise.
10356 [C99-based-standards] (PRId8): Expect macro.
10357 [C99-based-standards] (PRIi8): Likewise.
10358 [C99-based-standards] (PRIo8): Likewise.
10359 [C99-based-standards] (PRIu8): Likewise.
10360 [C99-based-standards] (PRIx8): Likewise.
10361 [C99-based-standards] (PRIX8): Likewise.
10362 [C99-based-standards] (SCNd8): Likewise.
10363 [C99-based-standards] (SCNi8): Likewise.
10364 [C99-based-standards] (SCNo8): Likewise.
10365 [C99-based-standards] (SCNu8): Likewise.
10366 [C99-based-standards] (SCNx8): Likewise.
10367 [C99-based-standards] (PRIdLEAST8): Likewise.
10368 [C99-based-standards] (PRIiLEAST8): Likewise.
10369 [C99-based-standards] (PRIoLEAST8): Likewise.
10370 [C99-based-standards] (PRIuLEAST8): Likewise.
10371 [C99-based-standards] (PRIxLEAST8): Likewise.
10372 [C99-based-standards] (PRIXLEAST8): Likewise.
10373 [C99-based-standards] (SCNdLEAST8): Likewise.
10374 [C99-based-standards] (SCNiLEAST8): Likewise.
10375 [C99-based-standards] (SCNoLEAST8): Likewise.
10376 [C99-based-standards] (SCNuLEAST8): Likewise.
10377 [C99-based-standards] (SCNxLEAST8): Likewise.
10378 [C99-based-standards] (PRIdFAST8): Likewise.
10379 [C99-based-standards] (PRIiFAST8): Likewise.
10380 [C99-based-standards] (PRIoFAST8): Likewise.
10381 [C99-based-standards] (PRIuFAST8): Likewise.
10382 [C99-based-standards] (PRIxFAST8): Likewise.
10383 [C99-based-standards] (PRIXFAST8): Likewise.
10384 [C99-based-standards] (SCNdFAST8): Likewise.
10385 [C99-based-standards] (SCNiFAST8): Likewise.
10386 [C99-based-standards] (SCNoFAST8): Likewise.
10387 [C99-based-standards] (SCNuFAST8): Likewise.
10388 [C99-based-standards] (SCNxFAST8): Likewise.
10389 [C99-based-standards] (PRId16): Likewise.
10390 [C99-based-standards] (PRIi16): Likewise.
10391 [C99-based-standards] (PRIo16): Likewise.
10392 [C99-based-standards] (PRIu16): Likewise.
10393 [C99-based-standards] (PRIx16): Likewise.
10394 [C99-based-standards] (PRIX16): Likewise.
10395 [C99-based-standards] (SCNd16): Likewise.
10396 [C99-based-standards] (SCNi16): Likewise.
10397 [C99-based-standards] (SCNo16): Likewise.
10398 [C99-based-standards] (SCNu16): Likewise.
10399 [C99-based-standards] (SCNx16): Likewise.
10400 [C99-based-standards] (PRIdLEAST16): Likewise.
10401 [C99-based-standards] (PRIiLEAST16): Likewise.
10402 [C99-based-standards] (PRIoLEAST16): Likewise.
10403 [C99-based-standards] (PRIuLEAST16): Likewise.
10404 [C99-based-standards] (PRIxLEAST16): Likewise.
10405 [C99-based-standards] (PRIXLEAST16): Likewise.
10406 [C99-based-standards] (SCNdLEAST16): Likewise.
10407 [C99-based-standards] (SCNiLEAST16): Likewise.
10408 [C99-based-standards] (SCNoLEAST16): Likewise.
10409 [C99-based-standards] (SCNuLEAST16): Likewise.
10410 [C99-based-standards] (SCNxLEAST16): Likewise.
10411 [C99-based-standards] (PRIdFAST16): Likewise.
10412 [C99-based-standards] (PRIiFAST16): Likewise.
10413 [C99-based-standards] (PRIoFAST16): Likewise.
10414 [C99-based-standards] (PRIuFAST16): Likewise.
10415 [C99-based-standards] (PRIxFAST16): Likewise.
10416 [C99-based-standards] (PRIXFAST16): Likewise.
10417 [C99-based-standards] (SCNdFAST16): Likewise.
10418 [C99-based-standards] (SCNiFAST16): Likewise.
10419 [C99-based-standards] (SCNoFAST16): Likewise.
10420 [C99-based-standards] (SCNuFAST16): Likewise.
10421 [C99-based-standards] (SCNxFAST16): Likewise.
10422 [C99-based-standards] (PRId32): Likewise.
10423 [C99-based-standards] (PRIi32): Likewise.
10424 [C99-based-standards] (PRIo32): Likewise.
10425 [C99-based-standards] (PRIu32): Likewise.
10426 [C99-based-standards] (PRIx32): Likewise.
10427 [C99-based-standards] (PRIX32): Likewise.
10428 [C99-based-standards] (SCNd32): Likewise.
10429 [C99-based-standards] (SCNi32): Likewise.
10430 [C99-based-standards] (SCNo32): Likewise.
10431 [C99-based-standards] (SCNu32): Likewise.
10432 [C99-based-standards] (SCNx32): Likewise.
10433 [C99-based-standards] (PRIdLEAST32): Likewise.
10434 [C99-based-standards] (PRIiLEAST32): Likewise.
10435 [C99-based-standards] (PRIoLEAST32): Likewise.
10436 [C99-based-standards] (PRIuLEAST32): Likewise.
10437 [C99-based-standards] (PRIxLEAST32): Likewise.
10438 [C99-based-standards] (PRIXLEAST32): Likewise.
10439 [C99-based-standards] (SCNdLEAST32): Likewise.
10440 [C99-based-standards] (SCNiLEAST32): Likewise.
10441 [C99-based-standards] (SCNoLEAST32): Likewise.
10442 [C99-based-standards] (SCNuLEAST32): Likewise.
10443 [C99-based-standards] (SCNxLEAST32): Likewise.
10444 [C99-based-standards] (PRIdFAST32): Likewise.
10445 [C99-based-standards] (PRIiFAST32): Likewise.
10446 [C99-based-standards] (PRIoFAST32): Likewise.
10447 [C99-based-standards] (PRIuFAST32): Likewise.
10448 [C99-based-standards] (PRIxFAST32): Likewise.
10449 [C99-based-standards] (PRIXFAST32): Likewise.
10450 [C99-based-standards] (SCNdFAST32): Likewise.
10451 [C99-based-standards] (SCNiFAST32): Likewise.
10452 [C99-based-standards] (SCNoFAST32): Likewise.
10453 [C99-based-standards] (SCNuFAST32): Likewise.
10454 [C99-based-standards] (SCNxFAST32): Likewise.
10455 [C99-based-standards] (PRId64): Likewise.
10456 [C99-based-standards] (PRIi64): Likewise.
10457 [C99-based-standards] (PRIo64): Likewise.
10458 [C99-based-standards] (PRIu64): Likewise.
10459 [C99-based-standards] (PRIx64): Likewise.
10460 [C99-based-standards] (PRIX64): Likewise.
10461 [C99-based-standards] (SCNd64): Likewise.
10462 [C99-based-standards] (SCNi64): Likewise.
10463 [C99-based-standards] (SCNo64): Likewise.
10464 [C99-based-standards] (SCNu64): Likewise.
10465 [C99-based-standards] (SCNx64): Likewise.
10466 [C99-based-standards] (PRIdLEAST64): Likewise.
10467 [C99-based-standards] (PRIiLEAST64): Likewise.
10468 [C99-based-standards] (PRIoLEAST64): Likewise.
10469 [C99-based-standards] (PRIuLEAST64): Likewise.
10470 [C99-based-standards] (PRIxLEAST64): Likewise.
10471 [C99-based-standards] (PRIXLEAST64): Likewise.
10472 [C99-based-standards] (SCNdLEAST64): Likewise.
10473 [C99-based-standards] (SCNiLEAST64): Likewise.
10474 [C99-based-standards] (SCNoLEAST64): Likewise.
10475 [C99-based-standards] (SCNuLEAST64): Likewise.
10476 [C99-based-standards] (SCNxLEAST64): Likewise.
10477 [C99-based-standards] (PRIdFAST64): Likewise.
10478 [C99-based-standards] (PRIiFAST64): Likewise.
10479 [C99-based-standards] (PRIoFAST64): Likewise.
10480 [C99-based-standards] (PRIuFAST64): Likewise.
10481 [C99-based-standards] (PRIxFAST64): Likewise.
10482 [C99-based-standards] (PRIXFAST64): Likewise.
10483 [C99-based-standards] (SCNdFAST64): Likewise.
10484 [C99-based-standards] (SCNiFAST64): Likewise.
10485 [C99-based-standards] (SCNoFAST64): Likewise.
10486 [C99-based-standards] (SCNuFAST64): Likewise.
10487 [C99-based-standards] (SCNxFAST64): Likewise.
10488 [C99-based-standards] (PRIdMAX): Likewise.
10489 [C99-based-standards] (PRIiMAX): Likewise.
10490 [C99-based-standards] (PRIoMAX): Likewise.
10491 [C99-based-standards] (PRIuMAX): Likewise.
10492 [C99-based-standards] (PRIxMAX): Likewise.
10493 [C99-based-standards] (PRIXMAX): Likewise.
10494 [C99-based-standards] (SCNdMAX): Likewise.
10495 [C99-based-standards] (SCNiMAX): Likewise.
10496 [C99-based-standards] (SCNoMAX): Likewise.
10497 [C99-based-standards] (SCNuMAX): Likewise.
10498 [C99-based-standards] (SCNxMAX): Likewise.
10499 [C99-based-standards] (PRIdPTR): Likewise.
10500 [C99-based-standards] (PRIiPTR): Likewise.
10501 [C99-based-standards] (PRIoPTR): Likewise.
10502 [C99-based-standards] (PRIuPTR): Likewise.
10503 [C99-based-standards] (PRIxPTR): Likewise.
10504 [C99-based-standards] (PRIXPTR): Likewise.
10505 [C99-based-standards] (SCNdPTR): Likewise.
10506 [C99-based-standards] (SCNiPTR): Likewise.
10507 [C99-based-standards] (SCNoPTR): Likewise.
10508 [C99-based-standards] (SCNuPTR): Likewise.
10509 [C99-based-standards] (SCNxPTR): Likewise.
10510 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10511 allow.
10512 * conform/data/stdint.h-data: Update comments to clarify
10513 requirements.
10514 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10515 type.
10516 [C99-based standards] (INT8_MAX): Likewise.
10517 [C99-based standards] (INT16_MIN): Likewise.
10518 [C99-based standards] (INT16_MAX): Likewise.
10519 [C99-based standards] (INT32_MIN): Likewise.
10520 [C99-based standards] (INT32_MAX): Likewise.
10521 [C99-based standards] (INT64_MIN): Likewise.
10522 [C99-based standards] (INT64_MAX): Likewise.
10523 [C99-based standards] (UINT8_MAX): Likewise.
10524 [C99-based standards] (UINT16_MAX): Likewise.
10525 [C99-based standards] (UINT32_MAX): Likewise.
10526 [C99-based standards] (UINT64_MAX): Likewise.
10527 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10528 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10529 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10530 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10531 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10532 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10533 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10534 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10535 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10536 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10537 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10538 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10539 [C99-based standards] (INT_FAST8_MIN): Likewise.
10540 [C99-based standards] (INT_FAST8_MAX): Likewise.
10541 [C99-based standards] (INT_FAST16_MIN): Likewise.
10542 [C99-based standards] (INT_FAST16_MAX): Likewise.
10543 [C99-based standards] (INT_FAST32_MIN): Likewise.
10544 [C99-based standards] (INT_FAST32_MAX): Likewise.
10545 [C99-based standards] (INT_FAST64_MIN): Likewise.
10546 [C99-based standards] (INT_FAST64_MAX): Likewise.
10547 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10548 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10549 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10550 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10551 [C99-based standards] (INTPTR_MIN): Likewise.
10552 [C99-based standards] (INTPTR_MAX): Likewise.
10553 [C99-based standards] (UINTPTR_MAX): Likewise.
10554 [C99-based standards] (INTMAX_MIN): Likewise.
10555 [C99-based standards] (INTMAX_MAX): Likewise.
10556 [C99-based standards] (UINTMAX_MAX): Likewise.
10557 [C99-based standards] (PTRDIFF_MIN): Likewise.
10558 [C99-based standards] (PTRDIFF_MAX): Likewise.
10559 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10560 [C99-based standards] (SIZE_MAX): Likewise.
10561 [C99-based standards] (WCHAR_MAX): Likewise.
10562 [C99-based standards] (WINT_MAX): Likewise.
10563 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10564 constraint on value.
10565 [C99-based standards] (WCHAR_MIN): Likewise.
10566 [C99-based standards] (WINT_MIN): Likewise.
10567 [C99-based standards] (*_t): Allow.
10568 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10569 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10570 Include math.h-data and complex.h-data. Remove all expectations
10571 of math.h and complex.h contents.
10572 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10573 at end of line.
10574 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10575 (struct tm): Expect tag.
10576 [C99-based-standards] (wcstof): Expect function.
10577 [C99-based-standards] (wcstold): Likewise.
10578 [C99-based-standards] (wcstoll): Likewise.
10579 [C99-based-standards] (wcstoull): Likewise.
10580 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10581 macro-int-constant. Specify type.
10582 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10583 constraint on value.
10584 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10585 Specify type.
10586 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10587 Specify value.
10588 [ISO C standards]: Do not allow headers.
10589 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10590 wcs[abcdefghijklmnopqrstuvwxyz]*.
10591 [ISO C standards] (*_t): Do not allow.
10592 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10593 Expect function.
10594 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10595 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10596 Specify type.
10597 [ISO C standards]: Do not allow headers.
10598 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10599 is[abcdefghijklmnopqrstuvwxyz]*.
10600 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10601 to[abcdefghijklmnopqrstuvwxyz]*.
10602 [ISO C standards] (*_t): Do not allow.
10603 * conform/data/stdalign.h-data: New file.
10604 * conform/data/stdbool.h-data: Likewise.
10605 * conform/data/stdnoreturn.h-data: Likewise.
10606
7514feb8
RM
106072012-11-07 Roland McGrath <roland@hack.frob.com>
10608
10609 [BZ #14815]
10610 * manual/filesys.texi (Directory Entries): Typo fix.
10611 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10612
19b2ecfc
MS
106132012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10614
10615 * elf/elf.h (EM_AARCH64): New macro.
10616 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10617 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10618 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10619 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10620 (R_AARCH64_TLSDESC): Likewise.
10621 (NT_ARM_TLS): Likewise.
10622 (NT_ARM_HW_BREAK): Likewise.
10623 (NT_ARM_HW_WATCH): Likewise.
10624
60e235ee
JM
106252012-11-07 Joseph Myers <joseph@codesourcery.com>
10626
10627 [BZ #14811]
10628 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10629 (__ieee754_powl): Saturate nonzero exponents with absolute value
10630 below 0x1p-79 to +/- 0x1p-79.
10631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10632 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10633 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10634 nonzero exponents with absolute value below 0x1p-32 to +/-
10635 0x1p-32.
10636 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10637 (__ieee754_powl): Saturate nonzero exponents with absolute value
10638 below 0x1p-79 to +/- 0x1p-79.
10639 * math/libm-test.inc (pow_test): Add more tests.
10640
0ab234b7
AK
106412012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10642
10643 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10644 _dl_s390_cap_flags with kernel. Increase string length.
10645 (_dl_s390_platforms): Add z196 and zEC12.
10646
45832f74
JM
106472012-11-07 Joseph Myers <joseph@codesourcery.com>
10648
10649 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10650 Change XOPEN21K to XOPEN2K.
10651
19218757
MK
106522012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10653
10654 * string/memmove.c: Use memcpy when possible.
10655
c5f45721
AJ
106562012-11-06 Andreas Jaeger <aj@suse.de>
10657
10658 * po/eo.po: Update from translation team.
10659
82477c28
JM
106602012-11-06 Joseph Myers <joseph@codesourcery.com>
10661
10662 [BZ #14793]
10663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10664 exponent and small x and y exponents, scale x or y up. Increase
10665 by 2 the exponent used in scaling up.
10666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10668 * math/libm-test.inc (fma_test): Add more tests.
10669 (fma_test_towardzero): Likewise.
10670 (fma_test_downward): Likewise.
10671 (fma_test_upward): Likewise.
10672
99252c8c
JM
106732012-11-05 Joseph Myers <joseph@codesourcery.com>
10674
acfa885f
JM
10675 [BZ #14805]
10676 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10677 fenv_t *.
10678
99252c8c
JM
10679 [BZ #14801]
10680 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10681 namespace for names of struct fields.
10682 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10683 fenv_t fields.
10684 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10685 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10686
d6d98dea
ST
106872012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10688
10689 [BZ #3665]
10690 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10691
e10bb107
TS
106922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10693
10694 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10695 PTR_DEMANGLE.
10696
10697 [BZ #5246]
10698 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10699 PTR_DEMANGLE.
10700
a0c2940d
JM
107012012-11-04 Joseph Myers <joseph@codesourcery.com>
10702
10703 [BZ #14797]
10704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10705 definitely overflow as x * y not x * y + z.
10706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10708 * math/libm-test.inc (fma_test): Add more tests.
10709 (fma_test_towardzero): Likewise.
10710 (fma_test_downward): Likewise.
10711 (fma_test_upward): Likewise.
10712
b830319d
TS
107132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10714
10715 [BZ #157]
10716
10717 * include/stub-tag.h: Remove file.
10718 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10719 '#include' of it.
10720 * manual/maint.texi (Porting): Don't reference it.
10721 * Makerules ($(objpfx)stubs): Likewise.
10722 * dirent/closedir.c: Don't include <stub-tag.h>.
10723 * dirent/dirfd.c: Likewise.
10724 * dirent/fdopendir.c: Likewise.
10725 * dirent/getdents.c: Likewise.
10726 * dirent/getdents64.c: Likewise.
10727 * dirent/opendir.c: Likewise.
10728 * dirent/readdir.c: Likewise.
10729 * dirent/readdir64.c: Likewise.
10730 * dirent/readdir64_r.c: Likewise.
10731 * dirent/readdir_r.c: Likewise.
10732 * dirent/rewinddir.c: Likewise.
10733 * dirent/seekdir.c: Likewise.
10734 * dirent/telldir.c: Likewise.
10735 * gmon/profil.c: Likewise.
10736 * grp/setgroups.c: Likewise.
10737 * inet/if_index.c: Likewise.
10738 * io/access.c: Likewise.
10739 * io/chdir.c: Likewise.
10740 * io/chmod.c: Likewise.
10741 * io/chown.c: Likewise.
10742 * io/close.c: Likewise.
10743 * io/dup.c: Likewise.
10744 * io/dup2.c: Likewise.
10745 * io/dup3.c: Likewise.
10746 * io/euidaccess.c: Likewise.
10747 * io/faccessat.c: Likewise.
10748 * io/fchdir.c: Likewise.
10749 * io/fchmod.c: Likewise.
10750 * io/fchmodat.c: Likewise.
10751 * io/fchown.c: Likewise.
10752 * io/fchownat.c: Likewise.
10753 * io/fcntl.c: Likewise.
10754 * io/flock.c: Likewise.
10755 * io/fstatfs.c: Likewise.
10756 * io/fstatfs64.c: Likewise.
10757 * io/fstatvfs.c: Likewise.
10758 * io/fstatvfs64.c: Likewise.
10759 * io/futimens.c: Likewise.
10760 * io/fxstat.c: Likewise.
10761 * io/fxstat64.c: Likewise.
10762 * io/fxstatat.c: Likewise.
10763 * io/fxstatat64.c: Likewise.
10764 * io/getcwd.c: Likewise.
10765 * io/isatty.c: Likewise.
10766 * io/lchmod.c: Likewise.
10767 * io/lchown.c: Likewise.
10768 * io/link.c: Likewise.
10769 * io/linkat.c: Likewise.
10770 * io/lseek.c: Likewise.
10771 * io/lseek64.c: Likewise.
10772 * io/lxstat64.c: Likewise.
10773 * io/mkdir.c: Likewise.
10774 * io/mkdirat.c: Likewise.
10775 * io/mkfifo.c: Likewise.
10776 * io/mkfifoat.c: Likewise.
10777 * io/open.c: Likewise.
10778 * io/open64.c: Likewise.
10779 * io/openat.c: Likewise.
10780 * io/openat64.c: Likewise.
10781 * io/pipe.c: Likewise.
10782 * io/pipe2.c: Likewise.
10783 * io/poll.c: Likewise.
10784 * io/posix_fadvise.c: Likewise.
10785 * io/posix_fadvise64.c: Likewise.
10786 * io/posix_fallocate.c: Likewise.
10787 * io/posix_fallocate64.c: Likewise.
10788 * io/read.c: Likewise.
10789 * io/readlink.c: Likewise.
10790 * io/readlinkat.c: Likewise.
10791 * io/rmdir.c: Likewise.
10792 * io/sendfile.c: Likewise.
10793 * io/sendfile64.c: Likewise.
10794 * io/statfs.c: Likewise.
10795 * io/statfs64.c: Likewise.
10796 * io/statvfs.c: Likewise.
10797 * io/statvfs64.c: Likewise.
10798 * io/symlink.c: Likewise.
10799 * io/symlinkat.c: Likewise.
10800 * io/ttyname.c: Likewise.
10801 * io/ttyname_r.c: Likewise.
10802 * io/umask.c: Likewise.
10803 * io/unlink.c: Likewise.
10804 * io/unlinkat.c: Likewise.
10805 * io/utime.c: Likewise.
10806 * io/utimensat.c: Likewise.
10807 * io/write.c: Likewise.
10808 * io/xmknod.c: Likewise.
10809 * io/xmknodat.c: Likewise.
10810 * io/xstat.c: Likewise.
10811 * io/xstat64.c: Likewise.
10812 * login/getpt.c: Likewise.
10813 * login/grantpt.c: Likewise.
10814 * login/unlockpt.c: Likewise.
10815 * math/e_acoshl.c: Likewise.
10816 * math/e_acosl.c: Likewise.
10817 * math/e_asinl.c: Likewise.
10818 * math/e_atan2l.c: Likewise.
10819 * math/e_atanhl.c: Likewise.
10820 * math/e_coshl.c: Likewise.
10821 * math/e_expl.c: Likewise.
10822 * math/e_fmodl.c: Likewise.
10823 * math/e_gammal_r.c: Likewise.
10824 * math/e_hypotl.c: Likewise.
10825 * math/e_j0l.c: Likewise.
10826 * math/e_j1l.c: Likewise.
10827 * math/e_jnl.c: Likewise.
10828 * math/e_lgammal_r.c: Likewise.
10829 * math/e_log10l.c: Likewise.
10830 * math/e_log2l.c: Likewise.
10831 * math/e_logl.c: Likewise.
10832 * math/e_powl.c: Likewise.
10833 * math/e_rem_pio2l.c: Likewise.
10834 * math/e_sinhl.c: Likewise.
10835 * math/e_sqrtl.c: Likewise.
10836 * math/fclrexcpt.c: Likewise.
10837 * math/fedisblxcpt.c: Likewise.
10838 * math/feenablxcpt.c: Likewise.
10839 * math/fegetenv.c: Likewise.
10840 * math/fegetexcept.c: Likewise.
10841 * math/fegetround.c: Likewise.
10842 * math/feholdexcpt.c: Likewise.
10843 * math/fesetenv.c: Likewise.
10844 * math/fesetround.c: Likewise.
10845 * math/feupdateenv.c: Likewise.
10846 * math/fgetexcptflg.c: Likewise.
10847 * math/fraiseexcpt.c: Likewise.
10848 * math/fsetexcptflg.c: Likewise.
10849 * math/ftestexcept.c: Likewise.
10850 * math/k_cosl.c: Likewise.
10851 * math/k_rem_pio2l.c: Likewise.
10852 * math/k_sinl.c: Likewise.
10853 * math/k_tanl.c: Likewise.
10854 * math/s_asinhl.c: Likewise.
10855 * math/s_atanl.c: Likewise.
10856 * math/s_cbrtl.c: Likewise.
10857 * math/s_erfl.c: Likewise.
10858 * math/s_expm1l.c: Likewise.
10859 * math/s_log1pl.c: Likewise.
10860 * math/s_tanhl.c: Likewise.
10861 * misc/acct.c: Likewise.
10862 * misc/brk.c: Likewise.
10863 * misc/chflags.c: Likewise.
10864 * misc/chroot.c: Likewise.
10865 * misc/fchflags.c: Likewise.
10866 * misc/fgetxattr.c: Likewise.
10867 * misc/flistxattr.c: Likewise.
10868 * misc/fremovexattr.c: Likewise.
10869 * misc/fsetxattr.c: Likewise.
10870 * misc/fsync.c: Likewise.
10871 * misc/ftruncate.c: Likewise.
10872 * misc/futimes.c: Likewise.
10873 * misc/futimesat.c: Likewise.
10874 * misc/getdomain.c: Likewise.
10875 * misc/getdtsz.c: Likewise.
10876 * misc/gethostid.c: Likewise.
10877 * misc/gethostname.c: Likewise.
10878 * misc/getloadavg.c: Likewise.
10879 * misc/getpagesize.c: Likewise.
10880 * misc/getsysstats.c: Likewise.
10881 * misc/getxattr.c: Likewise.
10882 * misc/gtty.c: Likewise.
10883 * misc/ioctl.c: Likewise.
10884 * misc/lgetxattr.c: Likewise.
10885 * misc/listxattr.c: Likewise.
10886 * misc/llistxattr.c: Likewise.
10887 * misc/lremovexattr.c: Likewise.
10888 * misc/lsetxattr.c: Likewise.
10889 * misc/lutimes.c: Likewise.
10890 * misc/madvise.c: Likewise.
10891 * misc/mincore.c: Likewise.
10892 * misc/mlock.c: Likewise.
10893 * misc/mlockall.c: Likewise.
10894 * misc/mmap.c: Likewise.
10895 * misc/mprotect.c: Likewise.
10896 * misc/msync.c: Likewise.
10897 * misc/munlock.c: Likewise.
10898 * misc/munlockall.c: Likewise.
10899 * misc/munmap.c: Likewise.
10900 * misc/preadv.c: Likewise.
10901 * misc/preadv64.c: Likewise.
10902 * misc/ptrace.c: Likewise.
10903 * misc/pwritev.c: Likewise.
10904 * misc/pwritev64.c: Likewise.
10905 * misc/readv.c: Likewise.
10906 * misc/reboot.c: Likewise.
10907 * misc/remap_file_pages.c: Likewise.
10908 * misc/removexattr.c: Likewise.
10909 * misc/revoke.c: Likewise.
10910 * misc/select.c: Likewise.
10911 * misc/setdomain.c: Likewise.
10912 * misc/setegid.c: Likewise.
10913 * misc/seteuid.c: Likewise.
10914 * misc/sethostid.c: Likewise.
10915 * misc/sethostname.c: Likewise.
10916 * misc/setregid.c: Likewise.
10917 * misc/setreuid.c: Likewise.
10918 * misc/setxattr.c: Likewise.
10919 * misc/sstk.c: Likewise.
10920 * misc/stty.c: Likewise.
10921 * misc/swapoff.c: Likewise.
10922 * misc/swapon.c: Likewise.
10923 * misc/sync.c: Likewise.
10924 * misc/syncfs.c: Likewise.
10925 * misc/syscall.c: Likewise.
10926 * misc/truncate.c: Likewise.
10927 * misc/ualarm.c: Likewise.
10928 * misc/usleep.c: Likewise.
10929 * misc/ustat.c: Likewise.
10930 * misc/utimes.c: Likewise.
10931 * misc/vhangup.c: Likewise.
10932 * misc/writev.c: Likewise.
10933 * posix/_exit.c: Likewise.
10934 * posix/alarm.c: Likewise.
10935 * posix/execve.c: Likewise.
10936 * posix/fexecve.c: Likewise.
10937 * posix/fork.c: Likewise.
10938 * posix/fpathconf.c: Likewise.
10939 * posix/getaddrinfo.c: Likewise.
10940 * posix/getegid.c: Likewise.
10941 * posix/geteuid.c: Likewise.
10942 * posix/getgid.c: Likewise.
10943 * posix/getgroups.c: Likewise.
10944 * posix/getlogin.c: Likewise.
10945 * posix/getlogin_r.c: Likewise.
10946 * posix/getpgid.c: Likewise.
10947 * posix/getpid.c: Likewise.
10948 * posix/getppid.c: Likewise.
10949 * posix/getresgid.c: Likewise.
10950 * posix/getresuid.c: Likewise.
10951 * posix/getsid.c: Likewise.
10952 * posix/getuid.c: Likewise.
10953 * posix/glob64.c: Likewise.
10954 * posix/nanosleep.c: Likewise.
10955 * posix/pathconf.c: Likewise.
10956 * posix/pause.c: Likewise.
10957 * posix/posix_madvise.c: Likewise.
10958 * posix/pread.c: Likewise.
10959 * posix/pread64.c: Likewise.
10960 * posix/pwrite.c: Likewise.
10961 * posix/pwrite64.c: Likewise.
10962 * posix/sched_getaffinity.c: Likewise.
10963 * posix/sched_getp.c: Likewise.
10964 * posix/sched_gets.c: Likewise.
10965 * posix/sched_primax.c: Likewise.
10966 * posix/sched_primin.c: Likewise.
10967 * posix/sched_rr_gi.c: Likewise.
10968 * posix/sched_setaffinity.c: Likewise.
10969 * posix/sched_setp.c: Likewise.
10970 * posix/sched_sets.c: Likewise.
10971 * posix/sched_yield.c: Likewise.
10972 * posix/setgid.c: Likewise.
10973 * posix/setlogin.c: Likewise.
10974 * posix/setpgid.c: Likewise.
10975 * posix/setresgid.c: Likewise.
10976 * posix/setresuid.c: Likewise.
10977 * posix/setsid.c: Likewise.
10978 * posix/setuid.c: Likewise.
10979 * posix/sleep.c: Likewise.
10980 * posix/spawni.c: Likewise.
10981 * posix/sysconf.c: Likewise.
10982 * posix/times.c: Likewise.
10983 * posix/wait.c: Likewise.
10984 * posix/wait3.c: Likewise.
10985 * posix/wait4.c: Likewise.
10986 * posix/waitpid.c: Likewise.
10987 * resolv/gai_sigqueue.c: Likewise.
10988 * resource/getpriority.c: Likewise.
10989 * resource/getrlimit.c: Likewise.
10990 * resource/getrusage.c: Likewise.
10991 * resource/nice.c: Likewise.
10992 * resource/setpriority.c: Likewise.
10993 * resource/setrlimit.c: Likewise.
10994 * resource/ulimit.c: Likewise.
10995 * rt/aio_cancel.c: Likewise.
10996 * rt/aio_fsync.c: Likewise.
10997 * rt/aio_read.c: Likewise.
10998 * rt/aio_sigqueue.c: Likewise.
10999 * rt/aio_suspend.c: Likewise.
11000 * rt/aio_write.c: Likewise.
11001 * rt/clock_getres.c: Likewise.
11002 * rt/clock_gettime.c: Likewise.
11003 * rt/clock_nanosleep.c: Likewise.
11004 * rt/clock_settime.c: Likewise.
11005 * rt/lio_listio.c: Likewise.
11006 * rt/mq_close.c: Likewise.
11007 * rt/mq_getattr.c: Likewise.
11008 * rt/mq_notify.c: Likewise.
11009 * rt/mq_open.c: Likewise.
11010 * rt/mq_receive.c: Likewise.
11011 * rt/mq_send.c: Likewise.
11012 * rt/mq_setattr.c: Likewise.
11013 * rt/mq_timedreceive.c: Likewise.
11014 * rt/mq_timedsend.c: Likewise.
11015 * rt/mq_unlink.c: Likewise.
11016 * rt/shm_open.c: Likewise.
11017 * rt/shm_unlink.c: Likewise.
11018 * rt/timer_create.c: Likewise.
11019 * rt/timer_delete.c: Likewise.
11020 * rt/timer_getoverr.c: Likewise.
11021 * rt/timer_gettime.c: Likewise.
11022 * rt/timer_settime.c: Likewise.
11023 * setjmp/__longjmp.c: Likewise.
11024 * setjmp/setjmp.c: Likewise.
11025 * signal/kill.c: Likewise.
11026 * signal/killpg.c: Likewise.
11027 * signal/raise.c: Likewise.
11028 * signal/sigaction.c: Likewise.
11029 * signal/sigaltstack.c: Likewise.
11030 * signal/sigblock.c: Likewise.
11031 * signal/sigignore.c: Likewise.
11032 * signal/sigintr.c: Likewise.
11033 * signal/signal.c: Likewise.
11034 * signal/sigpause.c: Likewise.
11035 * signal/sigpending.c: Likewise.
11036 * signal/sigqueue.c: Likewise.
11037 * signal/sigreturn.c: Likewise.
11038 * signal/sigset.c: Likewise.
11039 * signal/sigsetmask.c: Likewise.
11040 * signal/sigstack.c: Likewise.
11041 * signal/sigsuspend.c: Likewise.
11042 * signal/sigtimedwait.c: Likewise.
11043 * signal/sigvec.c: Likewise.
11044 * signal/sigwait.c: Likewise.
11045 * signal/sigwaitinfo.c: Likewise.
11046 * signal/sysv_signal.c: Likewise.
11047 * socket/accept.c: Likewise.
11048 * socket/accept4.c: Likewise.
11049 * socket/bind.c: Likewise.
11050 * socket/connect.c: Likewise.
11051 * socket/getpeername.c: Likewise.
11052 * socket/getsockname.c: Likewise.
11053 * socket/getsockopt.c: Likewise.
11054 * socket/isfdtype.c: Likewise.
11055 * socket/listen.c: Likewise.
11056 * socket/recv.c: Likewise.
11057 * socket/recvfrom.c: Likewise.
11058 * socket/recvmsg.c: Likewise.
11059 * socket/send.c: Likewise.
11060 * socket/sendmsg.c: Likewise.
11061 * socket/sendto.c: Likewise.
11062 * socket/setsockopt.c: Likewise.
11063 * socket/shutdown.c: Likewise.
11064 * socket/sockatmark.c: Likewise.
11065 * socket/socket.c: Likewise.
11066 * socket/socketpair.c: Likewise.
11067 * stdio-common/ctermid.c: Likewise.
11068 * stdio-common/cuserid.c: Likewise.
11069 * stdio-common/remove.c: Likewise.
11070 * stdio-common/rename.c: Likewise.
11071 * stdio-common/renameat.c: Likewise.
11072 * stdio-common/tempname.c: Likewise.
11073 * stdlib/getcontext.c: Likewise.
11074 * stdlib/makecontext.c: Likewise.
11075 * stdlib/setcontext.c: Likewise.
11076 * stdlib/swapcontext.c: Likewise.
11077 * stdlib/system.c: Likewise.
11078 * streams/fattach.c: Likewise.
11079 * streams/fdetach.c: Likewise.
11080 * streams/getmsg.c: Likewise.
11081 * streams/getpmsg.c: Likewise.
11082 * streams/putmsg.c: Likewise.
11083 * streams/putpmsg.c: Likewise.
11084 * sysdeps/unix/bsd/getpt.c: Likewise.
11085 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11086 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11087 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11089 Likewise.
11090 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11091 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11092 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11093 * sysvipc/msgctl.c: Likewise.
11094 * sysvipc/msgget.c: Likewise.
11095 * sysvipc/msgrcv.c: Likewise.
11096 * sysvipc/msgsnd.c: Likewise.
11097 * sysvipc/semctl.c: Likewise.
11098 * sysvipc/semget.c: Likewise.
11099 * sysvipc/semop.c: Likewise.
11100 * sysvipc/semtimedop.c: Likewise.
11101 * sysvipc/shmat.c: Likewise.
11102 * sysvipc/shmctl.c: Likewise.
11103 * sysvipc/shmdt.c: Likewise.
11104 * sysvipc/shmget.c: Likewise.
11105 * termios/tcdrain.c: Likewise.
11106 * termios/tcflow.c: Likewise.
11107 * termios/tcflush.c: Likewise.
11108 * termios/tcgetattr.c: Likewise.
11109 * termios/tcgetpgrp.c: Likewise.
11110 * termios/tcsendbrk.c: Likewise.
11111 * termios/tcsetattr.c: Likewise.
11112 * termios/tcsetpgrp.c: Likewise.
11113 * time/adjtime.c: Likewise.
11114 * time/clock.c: Likewise.
11115 * time/getitimer.c: Likewise.
11116 * time/gettimeofday.c: Likewise.
11117 * time/setitimer.c: Likewise.
11118 * time/settimeofday.c: Likewise.
11119 * time/stime.c: Likewise.
11120 * time/time.c: Likewise.
11121
111222012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11123
a20492cf
PT
11124 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11125 /usr/old/bin.
11126
72e182e3
PT
11127 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11128 instead of spaces.
11129 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11130
fbeafede
JM
111312012-11-03 Joseph Myers <joseph@codesourcery.com>
11132
5b5b04d6
JM
11133 [BZ #14796]
11134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11135 FE_TONEAREST before applying Dekker multiplication and Knuth
11136 addition. Clear inexact exceptions and check for exact zero
11137 results afterwards.
11138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11139 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11141 * math/libm-test.inc (fma_test): Add more tests.
11142 (fma_test_towardzero): Likewise.
11143 (fma_test_downward): Likewise.
11144 (fma_test_upward): Likewise.
11145 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11146 function.
11147 (libc_fesetround): New macro.
11148 (libc_fesetroundf): Likewise.
11149 (libc_fesetroundl): Likewise.
11150 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11151 function.
11152 (libc_fesetround_387): Likewise.
11153 (libc_fesetroundf): New macro.
11154 (libc_fesetround): Likewise.
11155 (libc_fesetroundl): Likewise.
11156 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11157 function.
11158 (libc_fesetroundf): New macro.
11159 (libc_fesetround): Likewise.
11160 (libc_fesetroundl): Likewise.
11161 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11162 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11163 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11164 libm_hidden_ver.
11165 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11166 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11167 libm_hidden_def.
11168 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11169 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11170 libm_hidden_ver.
11171 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11172 libm_hidden_def.
11173
fbeafede
JM
11174 [BZ #3439]
11175 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11176 integer constant usable in #if and use that to give value to enum
11177 constant.
11178 (FE_DIVBYZERO): Likewise.
11179 (FE_UNDERFLOW): Likewise.
11180 (FE_OVERFLOW): Likewise.
11181 (FE_INVALID): Likewise.
11182 (FE_INVALID_SNAN): Likewise.
11183 (FE_INVALID_ISI): Likewise.
11184 (FE_INVALID_IDI): Likewise.
11185 (FE_INVALID_ZDZ): Likewise.
11186 (FE_INVALID_IMZ): Likewise.
11187 (FE_INVALID_COMPARE): Likewise.
11188 (FE_INVALID_SOFTWARE): Likewise.
11189 (FE_INVALID_SQRT): Likewise.
11190 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11191 (FE_TONEAREST): Likewise.
11192 (FE_TOWARDZERO): Likewise.
11193 (FE_UPWARD): Likewise.
11194 (FE_DOWNWARD): Likewise.
11195 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11196 (FE_DIVBYZERO): Likewise.
11197 (FE_OVERFLOW): Likewise.
11198 (FE_UNDERFLOW): Likewise.
11199 (FE_INEXACT): Likewise.
11200 (FE_TONEAREST): Likewise.
11201 (FE_DOWNWARD): Likewise.
11202 (FE_UPWARD): Likewise.
11203 (FE_TOWARDZERO): Likewise.
11204 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11205 (FE_UNDERFLOW): Likewise.
11206 (FE_OVERFLOW): Likewise.
11207 (FE_DIVBYZERO): Likewise.
11208 (FE_INVALID): Likewise.
11209 (FE_TONEAREST): Likewise.
11210 (FE_TOWARDZERO): Likewise.
11211 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11212 (FE_OVERFLOW): Likewise.
11213 (FE_UNDERFLOW): Likewise.
11214 (FE_DIVBYZERO): Likewise.
11215 (FE_INEXACT): Likewise.
11216 (FE_TONEAREST): Likewise.
11217 (FE_TOWARDZERO): Likewise.
11218 (FE_UPWARD): Likewise.
11219 (FE_DOWNWARD): Likewise.
11220 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11221 (FE_DIVBYZERO): Likewise.
11222 (FE_OVERFLOW): Likewise.
11223 (FE_UNDERFLOW): Likewise.
11224 (FE_INEXACT): Likewise.
11225 (FE_TONEAREST): Likewise.
11226 (FE_DOWNWARD): Likewise.
11227 (FE_UPWARD): Likewise.
11228 (FE_TOWARDZERO): Likewise.
11229
105ca950
CM
112302012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11231
11232 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11233
a542b389
AS
112342012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11235
11236 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11237 commands. Quote $PWD.
11238 (blacklist_exports): Don't use remove_newlines. Replace "declare
11239 -x" by "export".
11240 (remove_newlines): Remove.
11241
f62c8abc
L
112422012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11243
11244 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11245 * stdlib/stdlib.h (atof): Moved to ...
11246 * include/bits/stdlib-float.h: Here. New file.
11247 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11248 * stdlib/bits/stdlib-float.h: New file.
11249 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11250 -mno-sse -mno-mmx.
11251 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11252 <xmmintrin.h>.
11253
0155d5b2
JM
112542012-11-02 Joseph Myers <joseph@codesourcery.com>
11255
a68d0680
JM
11256 * conform/conformtest.pl (@headers): Add fenv.h.
11257 * conform/data/fenv.h-data: New file.
11258 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11259 include of <math/fenv.h>.
11260
caf7f573
JM
11261 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11262 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11263 && !UNIX98]. Enables tests for XOPEN2K8.
11264 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11265 POSIX2008]: Likewise.
11266
6c073ad6
JM
11267 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11268 (struct rusage): Do not expect type or its members.
11269
0155d5b2
JM
11270 [BZ #3439]
11271 * math/math.h (FP_NAN): Define macro to integer constant usable in
11272 #if and use that to give value to enum constant.
11273 (FP_INFINITE): Likewise.
11274 (FP_ZERO): Likewise.
11275 (FP_SUBNORMAL): Likewise.
11276 (FP_NORMAL): Likewise.
11277
b5dcacb4
AS
112782012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11279
11280 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11281 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11282 arguments.
11283
f7934be8
RM
112842012-11-02 Roland McGrath <roland@hack.frob.com>
11285
11286 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11287 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11288 autoconf-time if not.
11289 * configure.in: Remove AC_PREREQ.
11290
d7d08bde
TMQMF
112912012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11292
11293 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11294 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11295 of the internal implementation.
11296
dcdae19a
JM
112972012-11-02 Joseph Myers <joseph@codesourcery.com>
11298
11299 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11300 except include of <misc/sys/syslog.h>.
11301
d6cffd3e
AS
113022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11303
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11305 function returns with a NULL context exit with zero.
11306
b3563932
TMQMF
113072012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11308
11309 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11310
b288a93d
L
113112012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11312
11313 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11314 (run_program_cmd): This.
11315 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11316 (tst_langinfo): New variable. Use it.
11317
a2421a68
SAS
113182012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11319
11320 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11321 floating point opcodes.
11322
6f796e1b
TS
113232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11324
7402596b
TS
11325 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11326 variable.
11327
d0d4f868
TS
11328 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11329
6f796e1b
TS
11330 * sysdeps/mach/hurd/powerpc: Remove directory.
11331 * sysdeps/mach/powerpc: Likewise.
11332
4da224a2
AS
113332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11334
11335 * scripts/check-local-headers.sh: Ignore c++ headers.
11336
341dd673
TS
113372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11338
11339 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11340 __libc_cleanup_region_start argument.
11341
473611b2
JM
113422012-11-01 Joseph Myers <joseph@codesourcery.com>
11343
11344 [BZ #14784]
11345 [BZ #14785]
11346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11347 x * y using scaling, not as x * y + z.
11348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11350 * math/libm-test.inc (fma_test): Add more tests.
11351 (fma_test_towardzero): Likewise.
11352 (fma_test_downward): Likewise.
11353 (fma_test_upward): Likewise.
11354
4078da3d
TS
113552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11356
11357 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11358
903252aa
JM
113592012-10-31 Joseph Myers <joseph@codesourcery.com>
11360
11361 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11362 New variable.
11363
cbc818d0
TS
113642012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11365
11366 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11367
5a03cb1e
AS
113682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11369
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11371 Fix sort order.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11373 Likewise.
11374
90aff2ff
TMQMF
113752012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11376
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11378 Fix the order of the list for glibc 2.17.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11380 Likewise.
11381
1818fcb7
AS
113822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11383
11384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11385
ef82f4da
JM
113862012-10-31 Joseph Myers <joseph@codesourcery.com>
11387
16a0e2ec
JM
11388 [BZ #14610]
11389 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11390 for low part of x being zero before using __atanl (y).
11391 * math/libm-test.inc (atan2_test): Add another test.
11392
0eb69512
JM
11393 * manual/install.texi (Configuring and compiling): Document
11394 general use of test-wrapper and test-wrapper-env.
11395 * INSTALL: Regenerated.
11396
ef82f4da
JM
11397 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11398 (__fma): Do not extract and scale down low bits on after-rounding
11399 systems when result rounded to normal precision would have normal
11400 exponent.
11401 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11402 (__fmal): Do not extract and scale down low bits on after-rounding
11403 systems when result rounded to normal precision would have normal
11404 exponent.
11405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11406 (__fmal): Do not extract and scale down low bits on after-rounding
11407 systems when result rounded to normal precision would have normal
11408 exponent.
11409 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11410 macro.
11411 (fma_test): Add more tests.
11412 (fma_test_towardzero): Likewise.
11413 (fma_test_downward): Likewise.
11414 (fma_test_upward): Likewise.
11415
954ef0d9
L
114162012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * sysdeps/i386/tininess.h: Renamed to ...
11419 * sysdeps/x86/tininess.h: This.
11420 * sysdeps/x86_64/tininess.h: Removed.
11421
df61ffb2
JM
114222012-10-30 Joseph Myers <joseph@codesourcery.com>
11423
11424 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11425 input. Use $(build-program-cmd).
11426 ($(objpfx)tst-array1-static.out): Likewise.
11427 ($(objpfx)tst-array2.out): Likewise.
11428 ($(objpfx)tst-array3.out): Likewise.
11429 ($(objpfx)tst-array4.out): Likewise.
11430 ($(objpfx)tst-array5.out): Likewise.
11431 ($(objpfx)tst-array5-static.out): Likewise.
11432
01767843
CM
114332012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11434
47cc1490
CM
11435 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11436 if defined.
11437
01767843
CM
11438 * nss/nsswitch.h (nss_interface_function): Provide new
11439 macro for use with NSS functions.
11440 * grp/initgroups.c: Use new macro.
11441 * nss/getXXbyYY.c: Likewise.
11442 * nss/getXXbyYY_r.c: Likewise.
11443 * nss/getXXent.c: Likewise.
11444 * nss/getXXent_r.c: Likewise.
11445 * sysdeps/posix/getaddrinfo.c: Likewise.
11446
8321aa97
AJ
114472012-10-30 Andreas Jaeger <aj@suse.de>
11448
11449 * po/ru.po: Update Russion translation from translation project.
11450
2a27fd6d
JM
114512012-10-30 Joseph Myers <joseph@codesourcery.com>
11452
8627a232
JM
11453 [BZ #14152]
11454 [BZ #14783]
11455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11456 result and shift together with sticky bit instead of replicating
11457 round-to-nearest rounding.
11458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11460 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11461 missing underflow exceptions.
11462 (fma_test_towardzero): Add more tests.
11463 (fma_test_downward): Likewise.
11464 (fma_test_upward): Likewise.
11465
2a27fd6d
JM
11466 [BZ #14047]
11467 * sysdeps/generic/tininess.h: New file.
11468 * sysdeps/i386/tininess.h: Likewise.
11469 * sysdeps/sh/tininess.h: Likewise.
11470 * sysdeps/x86_64/tininess.h: Likewise.
11471 * stdlib/tst-strtod-underflow.c: Likewise.
11472 * stdlib/tst-tininess.c: Likewise.
11473 * stdlib/strtod_l.c: Include <tininess.h>.
11474 (round_and_return): Do not set errno for exact underflow cases.
11475 Force an underflow exception when setting errno for underflow.
11476 Determine underflow based on rounding to normal precision if
11477 TININESS_AFTER_ROUNDING.
11478 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11479 ERANGE for exact underflow cases.
11480 * stdlib/Makefile (tests): Add tst-tininess and
11481 tst-strtod-underflow.
11482 ($(objpfx)tst-tininess): Use $(link-libm).
11483 ($(objpfx)tst-strtod-underflow): Likewise.
11484
e7170363
AJ
114852012-10-30 Andreas Jaeger <aj@suse.de>
11486
e5088dc6
AJ
11487 [BZ#14767]
11488 * elf/Makefile (tests): Remove conditional for have-initfini-array
11489 since this is now always required and the variable does not exist
11490 anymore.
11491 (tests-static): Likewise.
11492 (modules-names): Likewise.
11493
e7170363 11494 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11495
11496 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11497 merged with constructor/destructor.
11498 (init_array): Likewise.
11499 * elf/tst-array2dep.c (fini_array): Likewise.
11500 (init_array): Likewise.
11501
60457d8a
MF
115022012-10-29 Mike Frysinger <vapier@gentoo.org>
11503
11504 * manual/message.texi: Delete @cartouche tags.
11505
8bece752
PT
115062012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11507
94ce799f
PT
11508 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11509 EOPNOTSUPP.
11510 * sysdeps/mach/hurd/fsync.c: Likewise.
11511
8bece752
PT
11512 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11513 [_POSIX_REALTIME_SIGNALS]: Change condition to
11514 [_POSIX_REALTIME_SIGNALS > 0].
11515
86ebe6b1
AJ
115162012-10-27 Andreas Jaeger <aj@suse.de>
11517
11518 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11519 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11521 [__WORDSIZE != 64]: Likewise.
11522
54399c08
L
115232012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11524
11525 * iconvdata/tst-table.sh: Remove ${SHELL}.
11526 * iconvdata/tst-tables.sh: Likewise.
11527
e2211bed
DM
115282012-10-25 David S. Miller <davem@davemloft.net>
11529
11530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11531 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11532 of strtoull.
11533
f303f97c
DM
11534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11535 ifunc-impl-list.c
11536 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11537 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11538 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11539 file.
11540
1e9d84cd
RM
115412012-10-25 Roland McGrath <roland@hack.frob.com>
11542
11543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11544 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11545 __getdirentries.
11546
df381762
JM
115472012-10-25 Joseph Myers <joseph@codesourcery.com>
11548 Jim Blandy <jimb@codesourcery.com>
11549
11550 * scripts/cross-test-ssh.sh: New file.
11551 * manual/install.texi (Configuring and compiling): Document use of
11552 cross-test-ssh.sh.
11553 * INSTALL: Regenerated.
11554
bff64913
PT
115552012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11556
11557 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11558 EOPNOTSUPP.
11559
25fe8932
JM
115602012-10-25 Joseph Myers <joseph@codesourcery.com>
11561
11562 * Makeconfig (run-program-prefix): Fix comment.
11563
cc1290d0
JM
115642012-10-24 Joseph Myers <joseph@codesourcery.com>
11565 Jim Blandy <jimb@codesourcery.com>
11566
11567 * Makeconfig (test-wrapper): New variable,
11568 (test-wrapper-env): Likewise.
11569 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11570 (run-built-tests): Define to yes.
11571 (run-program-prefix): Use $(test-wrapper).
11572 (built-program-cmd): Likewise.
11573 * Rules (make-test-out): Use $(test-wrapper-env) and
11574 $(host-built-program-cmd).
11575 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11576 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11577 tst-pathopt.sh.
11578 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11579 $(test-wrapper-env) to tst-rtld-load-self.sh.
11580 ($(objpfx)order2.out): Use $(test-wrapper).
11581 ($(objpfx)tst-initorder.out): Likewise.
11582 ($(objpfx)tst-initorder2.out): Likewise.
11583 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11584 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11585 (test_wrapper_env): New variable. Use it to run ld.so.
11586 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11587 Use it to run ld.so.
11588 (test_wrapper_env): Likewise.
11589 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11590 $(test-wrapper) to run-iconv-test.sh.
11591 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11592 (ICONV): Use $test_wrapper.
11593 * posix/Makefile ($(objpfx)globtest.out): Pass
11594 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11595 globtest.sh, not $(run-program-prefix).
11596 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11597 (test_wrapper): Likewise.
11598 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11599 set together with run_via_rtld_prefix.
11600 (run_program_prefix): Define in terms of test_wrapper and
11601 run_via_rtld_prefix.
11602
6e6249d0
RM
116032012-10-24 Roland McGrath <roland@hack.frob.com>
11604
11605 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11606 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11607 Targets removed.
11608
11609 [BZ #14743]
11610 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11611 Declare __clock_getres, __clock_gettime, __clock_settime,
11612 __clock_nanosleep, and __clock_getcpuclockid.
11613 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11614 Remove librt_hidden_def (clock_gettime).
11615 * sysdeps/unix/clock_gettime.c: Likewise.
11616 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11618 * rt/clock_getres.c: Define __clock_getres as an alias.
11619 * sysdeps/posix/clock_getres.c: Likewise.
11620 * rt/clock_settime.c: Define __clock_settime as an alias.
11621 * sysdeps/unix/clock_settime.c: Likewise.
11622 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11623 * sysdeps/unix/clock_nanosleep.c: Likewise.
11624 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11625 * rt/clock-compat.c: New file.
11626 * rt/Makefile (librt-routines): Add clock-compat and move
11627 $(clock-routines) to ...
11628 (routines): ... here, new variable.
11629 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11630 Don't add get_clockfreq here.
11631 * rt/Versions (libc: GLIBC_2.17): New version set.
11632 Add clock_* symbols here.
11633 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11635 (GLIBC_2.17): Add clock_* symbols.
11636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11640 Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11642 Likewise.
11643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11647 * NEWS: Mention the move.
11648
11649 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11650 Use __open, __read, __close rather than their public counterparts.
11651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11652 (__get_clockfreq_via_cpuinfo): Likewise.
11653 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11654 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11655
11656 * config.h.in (HAVE_IFUNC): New #undef.
11657 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11658 was successful.
11659 * configure: Regenerated.
11660
0cae3f4b
MF
116612012-10-24 Mike Frysinger <vapier@gentoo.org>
11662
11663 * configure.in: Move READELF check to start of file.
11664 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11665 libc_cv_asm_gnu_indirect_function in the process.
11666 * configure: Regenerated.
11667
8175a253
MF
116682012-10-24 Mike Frysinger <vapier@gentoo.org>
11669
11670 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11671 send the output to /dev/null.
11672 (libc_cv_cc_with_libunwind): Likewise.
11673 (libc_cv_as_noexecstack): Likewise.
11674 * configure: Regenerate.
11675
0708a7d1
JM
116762012-10-24 Joseph Myers <joseph@codesourcery.com>
11677
10b40d85
JM
11678 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11679
0708a7d1
JM
11680 * posix/globtest.sh (TMPDIR): Do not set.
11681 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11682 (testout): Likewise.
11683
9fddec1a
AJ
116842012-10-24 Andreas Jaeger <aj@suse.de>
11685
3a8db22f
AJ
11686 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11687 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11688 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11689 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11690 posix_fadvise64, posix_fallocate64.
11691
9fddec1a
AJ
11692 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11693 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11694 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11695 Likewise.
11696 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11697 Likewise.
11698 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11699
11700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11701 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11702 <bits/fcntl-linux.h>.
11703 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11704
11705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11706 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11707 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11708 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11709 [__WORDSIZE != 64]: Likewise.
11710
ebfd1bbd
JM
117112012-10-23 Joseph Myers <joseph@codesourcery.com>
11712
03ac099f
JM
11713 * Makeconfig (run-built-tests): New variable.
11714 * Rules [$(cross-compiling) = yes]: Change condition to
11715 [$(run-built-tests) = no].
11716 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11717 to [$(run-built-tests) = yes].
11718 * elf/Makefile [$(cross-compiling) = no]: Likewise
11719 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11720 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11721 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11722 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11723 * io/Makefile [$(cross-compiling) = no]: Likewise.
11724 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11725 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11726 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11727 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11728 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11729 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11730 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11731 * string/Makefile [$(cross-compiling) = no]: Likewise.
11732
ebfd1bbd
JM
11733 * posix/Makefile ($(objpfx)globtest.out): Pass
11734 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11735 $(rtld-installed-name).
11736 * posix/globtest.sh (elf_objpfx): Remove variable.
11737 (rtld_installed_name): Likewise.
11738 (library_path): Likewise.
11739 (run_program_prefix): New variable. Use for running globtest
11740 binary.
11741
166bca24
JB
117422012-10-23 Jim Blandy <jimb@codesourcery.com>
11743 Joseph Myers <joseph@codesourcery.com>
11744
11745 * Makeconfig (host-built-program-cmd): New variable.
11746 * elf/Makefile (tst-stackguard1-ARGS): Use
11747 $(host-built-program-cmd).
11748 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11749 (tst-spawn-ARGS): Likewise.
11750 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11751
88866099
JM
117522012-10-23 Joseph Myers <joseph@codesourcery.com>
11753 Jim Blandy <jimb@codesourcery.com>
11754
11755 * Makeconfig (run-via-rtld-prefix): New variable.
11756 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11757 (built-program-cmd): Likewise.
11758
b4b4c296
AJ
117592012-10-22 Andreas Jaeger <aj@suse.de>
11760
11761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11762 __O_RSYNC if it exists, otherwise to O_SYNC.
11763
6fb54a22
JB
117642012-10-22 Jim Blandy <jimb@codesourcery.com>
11765 Joseph Myers <joseph@codesourcery.com>
11766
11767 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11768 /dev/null.
11769 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11770 from /dev/null
11771 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11772 /dev/null.
11773
481b90b9
AJ
117742012-10-22 Andreas Jaeger <aj@suse.de>
11775
2a0e2669
AJ
11776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11777 Define always.
11778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11779
76e38f9a
AJ
11780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11781 bits/fcntl-linux.h.
11782
7cd37b43
AJ
11783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11784 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11785
481b90b9
AJ
11786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11787 to __O_LARGEFILE.
11788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11789 to __O_LARGEFILE.
11790
aba75984
JB
117912012-10-21 Jim Blandy <jimb@codesourcery.com>
11792 Joseph Myers <joseph@codesourcery.com>
11793
11794 * config.make.in (NM): New variable.
11795
88d4247f
AJ
117962012-10-21 Andreas Jaeger <aj@suse.de>
11797
11798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11799 definitions and declarations that are provided by
11800 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11801
f2eed205
L
118022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11803
11804 [BZ #14683]
11805 * elf/Makefile (tests-static): Add tst-leaks1-static.
11806 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11807 ($(objpfx)tst-leaks1-static): New rule.
11808 ($(objpfx)tst-leaks1-static-mem): Likewise.
11809 (tst-leaks1-static-ENV): New macro.
11810 * elf/dl-open.c (dl_open_worker): Check the main application
11811 only if SHARED is defined.
11812 * elf/tst-leaks1-static.c: New file.
11813
335e6931
AJ
118142012-10-20 Andreas Jaeger <aj@suse.de>
11815
11816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11817 generic values for Linux.
11818 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11819 and declarations that are provided by <bits/fcntl-linux.h> and
11820 include <bits/fcntl-linux.h>.
11821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11823
ac5c94d3
RM
118242012-10-20 Roland McGrath <roland@hack.frob.com>
11825
11826 * io/fcntl.h: Move include of <bits/types.h> to the top and
11827 include it unconditionally.
11828
de54b33a
L
118292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11830
228cfb01
L
11831 * wcsmbs/Makefile (tests-ifunc): New variable.
11832 (tests): Add $(tests-ifunc).
11833 * wcsmbs/test-wcschr-ifunc.c: New file.
11834 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11835 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11836 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11837 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11838 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11839
69f07e5f
L
11840 * string/Makefile (tests-ifunc): New variable.
11841 (tests): Add $(tests-ifunc).
11842 * string/test-memccpy.c (TEST_NAME): New macro.
11843 * string/test-memchr.c (TEST_NAME): Likewise.
11844 * string/test-memcmp.c (TEST_NAME): Likewise.
11845 * string/test-memcpy.c (TEST_NAME): Likewise.
11846 * string/test-memmem.c (TEST_NAME): Likewise.
11847 * string/test-memmove.c (TEST_NAME): Likewise.
11848 * string/test-memset.c (TEST_NAME): Likewise.
11849 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11850 * string/test-stpcpy.c (TEST_NAME): Likewise.
11851 * string/test-stpncpy.c (TEST_NAME): Likewise.
11852 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11853 * string/test-strcasestr.c (TEST_NAME): Likewise.
11854 * string/test-strcat.c (TEST_NAME): Likewise.
11855 * string/test-strchr.c (TEST_NAME): Likewise.
11856 * string/test-strcmp.c(TEST_NAME): Likewise.
11857 * string/test-strcpy.c (TEST_NAME): Likewise.
11858 * string/test-strcspn.c (TEST_NAME): Likewise.
11859 * string/test-strlen.c (TEST_NAME): Likewise.
11860 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11861 * string/test-strncmp.c (TEST_NAME): Likewise.
11862 * string/test-strncpy.c (TEST_NAME): Likewise.
11863 * string/test-strnlen.c (TEST_NAME): Likewise.
11864 * string/test-strpbrk.c (TEST_NAME): Likewise.
11865 * string/test-strrchr.c (TEST_NAME): Likewise.
11866 * string/test-strspn.c (TEST_NAME): Likewise.
11867 * string/test-strstr.c (TEST_NAME): Likewise.
11868 * string/test-bcopy-ifunc.c: New file.
11869 * string/test-bzero-ifunc.c: Likewise.
11870 * string/test-memccpy-ifunc.c: Likewise.
11871 * string/test-memchr-ifunc.c: Likewise.
11872 * string/test-memcmp-ifunc.c: Likewise.
11873 * string/test-memcpy-ifunc.c: Likewise.
11874 * string/test-memmem-ifunc.c: Likewise.
11875 * string/test-memmove-ifunc.c: Likewise.
11876 * string/test-mempcpy-ifunc.c: Likewise.
11877 * string/test-memset-ifunc.c: Likewise.
11878 * string/test-rawmemchr-ifunc.c: Likewise.
11879 * string/test-stpcpy-ifunc.c: Likewise.
11880 * string/test-stpncpy-ifunc.c: Likewise.
11881 * string/test-strcasecmp-ifunc.c: Likewise.
11882 * string/test-strcasestr-ifunc.c: Likewise.
11883 * string/test-strcat-ifunc.c: Likewise.
11884 * string/test-strchr-ifunc.c: Likewise.
11885 * string/test-strchrnul-ifunc.c: Likewise.
11886 * string/test-strcmp-ifunc.c: Likewise.
11887 * string/test-strcpy-ifunc.c: Likewise.
11888 * string/test-strcspn-ifunc.c: Likewise.
11889 * string/test-strlen-ifunc.c: Likewise.
11890 * string/test-strncasecmp-ifunc.c: Likewise.
11891 * string/test-strncat-ifunc.c: Likewise.
11892 * string/test-strncmp-ifunc.c: Likewise.
11893 * string/test-strncpy-ifunc.c: Likewise.
11894 * string/test-strnlen-ifunc.c: Likewise.
11895 * string/test-strpbrk-ifunc.c: Likewise.
11896 * string/test-strrchr-ifunc.c: Likewise.
11897 * string/test-strspn-ifunc.c: Likewise.
11898 * string/test-strstr-ifunc.c: Likewise.
11899
de54b33a
L
11900 * debug/Makefile (tests-ifunc): New variable.
11901 (tests): Add $(tests-ifunc).
11902 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11903 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11904 * debug/test-stpcpy_chk-ifunc.c: New file.
11905 * debug/test-strcpy_chk-ifunc.c: Likewise.
11906
88481c16
SP
119072012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11908
11909 [BZ #13601]
11910 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11911 header is not read in.
11912
135948bd
JM
119132012-10-19 Joseph Myers <joseph@codesourcery.com>
11914
89f1c388
JM
11915 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11916 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11917 directly. Pass built executable to script as
11918 $(built-program-cmd).
11919 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11920 $testprogram without using LD_LIBRARY_PATH and $ldso.
11921
e40a0d21
JM
11922 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11923 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11924 $(rtld-installed-name).
11925 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11926 (rtld_installed_name): Likewise.
11927 (library_path): Likewise.
11928 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11929 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11930 $(run-program-prefix) to tst-tables.sh.
11931 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11932 it to run tst-table-from and tst-table-to.
11933 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11934 Pass it to tst-table.sh.
11935 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11936 $(run-program-prefix) to tst-gettext.sh.
11937 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11938 tst-translit.sh.
11939 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11940 tst-gettext2.sh.
11941 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11942 to run tst-gettext.
11943 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11944 to run tst-gettext2.
11945 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11946 to run tst-translit.
11947 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11948 $(run-program-prefix) to tst-mtrace.sh.
11949 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11950 to run tst-mtrace.
11951 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11952 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11953 $(rtld-installed-name).
11954 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11955 (rtld_installed_name): Likewise.
11956 (run_program_prefix): New variable. Use it to run wordexp-test.
11957
728e272a
JM
11958 * Makeconfig (ARCH): Remove all definitions.
11959 (machine): Likewise.
11960 [ARCH]: Remove conditional code.
11961 [!objdir]: Give error.
11962 [!objdir] (objpfx): Remove.
11963 [!objdir] (common-objpfx): Likewise.
11964 [!objdir] (common-objdir): Likewise.
11965 * configure.in (config_makefile): Remove. Hardcode Makefile in
11966 AC_CONFIG_FILES call.
11967 * configure: Regenerated.
11968
d528cdcf
JM
11969 [BZ #13888]
11970 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11971 or TMPDIR.
11972 (testout): Likewise.
11973
135948bd
JM
11974 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11975 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11976 $(rtld-installed-name).
11977 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11978 (rtld_installed_name): Likwise.
11979 (runit): Remove function.
11980 (run_getconf): New variable, Use it for running getconf binary.
11981
38c78296
L
119822012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11983
11984 [BZ #14716]
11985 * string/test-memmem.c (check_result): New function.
11986 (do_one_test): Use it.
11987 (check1): New function.
11988 (test_main): Use it.
11989
d077f65f
MT
119902012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11991
11992 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11993
ced52c71
JM
119942012-10-18 Joseph Myers <joseph@codesourcery.com>
11995
11996 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11997 (_G_LSEEK64): Likewise.
11998 (_G_MMAP64): Likewise.
11999 (_G_FSTAT64): Likewise.
12000 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12001 (_G_LSEEK64): Likewise.
12002 (_G_MMAP64): Likewise.
12003 (_G_FSTAT64): Likewise.
12004 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12005 unconditional. Call __mmap64 directly.
12006 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12007 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12008 __lseek64 directly.
12009 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12010 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12011 __mmap64 directly.
12012 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12013 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12014 __lseek64 directly.
12015 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12016 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12017 __lseek64 directly.
12018 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12019 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12020 __lseek64 directly.
12021 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12022 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12023 __fxstat64 directly.
12024 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12025 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12026 unconditional.
12027 (freopen64) [!_G_OPEN64]: Remove conditional code.
12028 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12029 unconditional.
12030 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12031 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12032 unconditional.
12033 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12034 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12035 unconditional.
12036 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12037 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12038 unconditional.
12039 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12040 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12041 unconditional.
12042 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12043 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12044 unconditional.
12045 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12046 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12047 unconditional.
12048 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12049
b741de23
SP
120502012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
12052 [BZ #12140]
12053 * manual/memory.texi (Malloc Tunable Parameters): Add note
12054 about free list pointers overwriting some perturb bytes.
12055 Wording suggested by Roland McGrath.
12056
f9b9d9c9
JM
120572012-10-17 Joseph Myers <joseph@codesourcery.com>
12058
12059 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12060 (lgamma_test): Likewise.
12061 (tgamma_test): Likewise.
12062
172a631a
FW
120632012-10-16 Florian Weimer <fweimer@redhat.com>
12064
12065 [BZ #14700]
12066 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12067 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12068
e9f37252
MK
120692012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12070
12071 * NEWS: Mention BZ #14716.
12072 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12073 when removing AVAILABLE1_USES_J macro.
12074
d394eb74
L
120752012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12076
12077 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12078 (__bswap_64): __uint64_t for unsigned 64-bit int.
12079
ca38dc17
AS
120802012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12081
12082 * include/string.h (memmem): Declare libc hidden alias.
12083 * string/memmem.c (memmem): Define libc hidden alias.
12084 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12085 __read, __close instead of open, read, close.
12086
9a387d1f
L
120872012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12088
ac49ecaf
L
12089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12090 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12091 global and hidden.
12092 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12093 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12094 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12095 Likewise.
12096 (__rawmemchr_sse2): Likewise.
12097 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12098 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12099 (__strchr_sse2): Likewise.
12100 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12101 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12102 (__strcasecmp_sse2): Likewise.
12103 (__strncasecmp_sse2): Likewise.
12104 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12105 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12106 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12107 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12108 (__strrchr_sse2): Likewise.
12109 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12110 ifunc-impl-list.c.
12111 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12112 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12113 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12114 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12115 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12116 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12117 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12118 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12119 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12120 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12121 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12122 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12123 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12124 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12125 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12126 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12127 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12128 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12129 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12130 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12131 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12132 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12133 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12134 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12135 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12136 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12137 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12138 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12139 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12140 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12141
b090e8ea
L
12142 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12143 global and hidden.
12144 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12145 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12146 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12147 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12148 Likewise.
12149 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12150 Likewise.
12151 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12152 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12153 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12154 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12155 ifunc-impl-list.c.
12156 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12157 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12158 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12159 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12160 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12161 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12162 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12163 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12164 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12165 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12166 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12167 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12168 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12169 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12170 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12172 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12173 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12174 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12175 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12176 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12177 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12178 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12179 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12181 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12182 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12183 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12184 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12185 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12186 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12187 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12188 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12189 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12190 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12191 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12192 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12193 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12194 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12195 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12196 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12197
11dd4af6
L
12198 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12199 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12200 * include/ifunc-impl-list.h: New file.
12201 * misc/ifunc-impl-list.c: Likewise.
12202 * misc/Makefile (routines): Add ifunc-impl-list.
12203 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12204 * string/test-string.h: Include <ifunc-impl-list.h>.
12205 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12206 impl_array): New variables.
12207 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12208 are defined.
12209 (test_init): Call __libc_ifunc_impl_list to initialize
12210 func_list if TEST_IFUNC and TEST_NAME are defined.
12211
9a387d1f
L
12212 * string/Makefile (strop-tests): Add bcopy and bzero.
12213 * string/test-bcopy.c: New file.
12214 * string/test-bzero.c: Likewise.
12215 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12216 defined.
12217 * string/test-memset.c: Support bzero test if TEST_BZERO is
12218 defined.
12219 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12220 __libc_memmove.
12221 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12222 __libc_memset.
12223 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12224 of memset.
12225
472371b9
JM
122262012-10-10 Joseph Myers <joseph@codesourcery.com>
12227
1e4a9536
JM
12228 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12229 * configure: Regenerated.
12230
d173d12e
JM
12231 * Makeconfig (+link-static-before-libc): Don't include
12232 $(link-static-libc).
12233
472371b9
JM
12234 * libio/libio.h (_IO_pos_t): Remove.
12235
89a3ad0b
AO
122362012-10-10 Alexandre Oliva <aoliva@redhat.com>
12237
12238 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12239 McGrath.
12240
e7451425
AO
122412012-10-10 Alexandre Oliva <aoliva@redhat.com>
12242
12243 * crypt/crypt-entry.c: Include fips-private.h.
12244 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12245 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12246 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12247 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12248
4ba74a35
AO
122492012-10-10 Alexandre Oliva <aoliva@redhat.com>
12250
12251 * crypt/crypt-private.h: Include stdbool.h.
12252 (_ufc_setup_salt_r): Return bool.
12253 * crypt/crypt-entry.c: Include errno.h.
12254 (__crypt_r): Return NULL with EINVAL for bad salt.
12255 * crypt/crypt_util.c (bad_for_salt): New.
12256 (_ufc_setup_salt_r): Check that salt is long enough and within
12257 the specified alphabet.
12258 * crypt/badsalttest.c: New file.
12259 * crypt/Makefile (tests): Add it.
12260 ($(objpfx)badsalttest): New.
12261
f96f1242
MK
122622012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12263
12264 * NEWS: Add entry for BZ #14602.
12265
0e8e0c1c
JM
122662012-10-09 Joseph Myers <joseph@codesourcery.com>
12267
12268 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12269 type-generic.
12270 * math/libm-test.inc: Update comment listing what functions and
12271 macros are tested.
12272 (isgreater_test): New function.
12273 (isgreaterequal_test): Likewise.
12274 (isless_test): Likewise.
12275 (islessequal_test): Likewise.
12276 (islessgreater_test): Likewise.
12277 (isunordered_test): Likewise.
12278 (main): Call the new functions.
12279
273edc5e
RM
122802012-10-09 Roland McGrath <roland@hack.frob.com>
12281
b8493de0
RM
12282 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12283 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12284 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12285 * sysdeps/i386/configure: Regenerated.
12286 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12287 * sysdeps/mach/configure: Regenerated.
12288 * sysdeps/mach/hurd/configure: Regenerated.
12289 * sysdeps/powerpc/configure: Regenerated.
12290 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12291 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12292 * sysdeps/s390/s390-32/configure: Regenerated.
12293 * sysdeps/s390/s390-64/configure: Regenerated.
12294 * sysdeps/sh/configure: Regenerated.
12295 * sysdeps/sparc/configure: Regenerated.
12296 * sysdeps/unix/sysv/linux/configure: Regenerated.
12297 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12298 * sysdeps/x86_64/configure: Regenerated.
12299
273edc5e
RM
12300 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12301 defined. Don't check if MAP is NULL.
12302
c8450f70
JM
123032012-10-09 Joseph Myers <joseph@codesourcery.com>
12304
12305 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12306 (_G_stat64): Likewise.
12307 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12308 (_G_stat64): Likewise.
12309 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12310 instead of struct _G_stat64.
12311 * libio/fileops.c (mmap_remap_check): Likewise.
12312 (decide_maybe_mmap): Likewise.
12313 (_IO_new_file_seekoff): Likewise.
12314 (_IO_file_stat): Likewise.
12315 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12316 _G_off64_t.
12317 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12318 instead of struct _G_stat64.
12319 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12320
57e605ba
MK
123212012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12322
12323 [BZ #14602]
12324 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12325 Replace with ...
12326 (CHECK_EOL): New macro.
12327 (two_way_short_needle): Check beginning of haystack for EOL. Use
12328 CHECK_EOL.
12329 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12330 Replace with CHECK_EOL.
12331 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12332 Replace with CHECK_EOL.
12333
ef1bb361
JM
123342012-10-08 Joseph Myers <joseph@codesourcery.com>
12335
12336 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12337 type-generic.
12338 * math/libm-test.inc: Update comment listing what functions and
12339 macros are tested.
12340 (finite_test): New function.
12341 (isinf_test): Likewise.
12342 (isnan_test): Likewise.
12343 (fpclassify_test): Test subnormal input.
12344 (isfinite_test): Likewise.
12345 (isnormal_test): Likewise.
12346 (main): Call the new functions.
12347
55f11534
JN
123482012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12349
12350 [BZ #14660]
12351 * Makerules (%.dynsym): Force C locale when running
12352 $(OBJDUMP) --dynamic-syms.
12353
1ab29350
AS
123542012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12355
12356 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12357 <stdint.h>.
12358
f1ecb7ef
DM
123592012-10-06 David S. Miller <davem@davemloft.net>
12360
12361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12362 upper 32-bits of the length value in %o2 since we use branch-on-register
12363 tests which consider the entire 64-bit register.
12364
5d41d91a
L
123652012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * string/test-strstr.c (check2): Add a test for page boundary.
12368
3baddb72
DM
123692012-10-05 David S. Miller <davem@davemloft.net>
12370
12371 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12372 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12373 file.
12374 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12375 sysdep_routines.
12376 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12377 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12378 and bzero when HWCAP_SPARC_CRYPTO is present.
12379
9cee5585
L
123802012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12381
d7e0dab9
L
12382 [BZ #14602]
12383 * string/test-strstr.c (check2): New function.
12384 (test_main): Call check2.
12385
03759f47
L
12386 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12387 and bug-strchr1.
12388 * string/bug-strcasestr1.c (do_test): Moved to ...
12389 * string/test-strcasestr.c (check1): Here. New function.
12390 (do_one_test): Break out result checking code into ...
12391 (check_result): This. New function.
12392 (do_one_test): Call check_result.
12393 (test_main): Call check1.
12394 * string/bug-strchr1.c (do_test): Moved to ...
12395 * string/test-strchr.c (check1): Here. New function.
12396 (do_one_test): Break out result checking code into ...
12397 (check_result): This. New function.
12398 (do_one_test): Call check_result.
12399 (test_main): Call check1.
12400 * string/bug-strstr1.c (main): Moved to ...
046f153e 12401 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12402 (do_one_test): Break out result checking code into ...
12403 (check_result): This. New function.
12404 (do_one_test): Call check_result.
12405 (test_main): Call check1.
12406 * string/bug-strcasestr1.c: Removed.
12407 * string/bug-strchr1.c: Likewise.
12408 * string/bug-strstr1.c: Likewise.
12409
53cea63e
L
12410 * elf/Makefile (dl-routines): Add hwcaps.
12411 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12412 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12413 (_dl_important_hwcaps): Moved to ...
12414 * elf/dl-hwcaps.c: Here. New file.
12415 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12416
9cee5585 12417 [BZ #14557]
bb859b06
L
12418 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12419 if IS_IN_rtld isn't defined.
12420
9cee5585
L
12421 * elf/dl-support.c (_dl_sysinfo_map): New.
12422 Include "get-dynamic-info.h" and "setup-vdso.h".
12423 (_dl_non_dynamic_init): Call setup_vdso.
12424 * elf/dynamic-link.h: Don't include <assert.h>.
12425 (elf_get_dynamic_info): Moved to ...
12426 * elf/get-dynamic-info.h: Here. New file.
12427 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12428 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12429 * elf/setup-vdso.h: Here. New file.
12430 * elf/rtld.c: Include "setup-vdso.h".
12431 (dl_main): Call setup_vdso.
12432
23c31b76
JM
124332012-10-05 Joseph Myers <joseph@codesourcery.com>
12434
28234b07
JM
12435 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12436 creal in comment listing functions tested. List finite, isinf,
12437 isnan, isless, islessequal, isgreater, isgreaterequal,
12438 islessgreater, isunordered, lgamma_r and pow10 as functions and
12439 macros not tested. Mention which functions not tested are aliases
12440 for other functions. Fix typo. Note that signs of NaNs are not
12441 tested.
12442
23c31b76
JM
12443 * scripts/config.guess: Update from config.git.
12444 * scripts/config.sub: Likewise.
12445
9043e228
RM
124462012-10-04 Roland McGrath <roland@hack.frob.com>
12447
12448 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12449 * misc/madvise.c (madvise): Renamed to __madvise.
12450 Make madvise a weak alias.
12451 * include/sys/mman.h: Declare __madvise.
12452 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12453 * sysdeps/unix/syscalls.list
12454 (madvise): Make __madvise the strong name, and madvise a weak alias.
12455 * sysdeps/unix/sysv/linux/syscalls.list
12456 (madvise, mmap): Remove redundant entries.
12457 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12458 * malloc/malloc.c (mtrim): Likewise.
12459 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12460
f57f8055
RM
124612012-10-03 Roland McGrath <roland@hack.frob.com>
12462
12463 * sysdeps/mach/hurd/dl-cache.c: File removed.
12464 * config.h.in (USE_LDCONFIG): New #undef.
12465 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12466 * configure: Regenerated.
12467 * elf/Makefile (dl-routines): Add dl-cache only under
12468 [$(use-ldconfig) = yes].
12469 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12470 cache on [USE_LDCONFIG].
12471 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12472 [USE_LDCONFIG].
12473 * elf/rtld.c (dl_main): Likewise.
12474
5bb0c10a
PT
124752012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12476
12477 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12478 _SC_LEVEL4_CACHE_LINESIZE.
12479
010188c6
RM
124802012-10-03 Roland McGrath <roland@hack.frob.com>
12481
12482 * sysdeps/unix/bsd/confstr.h: File removed.
12483
b6c5ec07
AO
124842012-10-02 Alexandre Oliva <aoliva@redhat.com>
12485
12486 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12487 sys/sdt-config.h.
12488
408223d4
RM
124892012-10-02 Roland McGrath <roland@hack.frob.com>
12490
12491 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12492 Make 'mapoff' field ElfW(Off) rather than off_t.
12493
bb9510dc
DL
124942012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12495
fc997c6e
DL
12496 * nscd/Makefile: Remove nscd-cflags and all its users.
12497 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12498 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12499
bb9510dc
DL
12500 [BZ #10631]
12501 * malloc.c (malloc_printerr): Clarify error message.
12502
05699367
L
125032012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 [BZ #14648]
12506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12507 Set bit_FMA_Usable if FMA is supported.
12508 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12509 macro.
12510 (bit_FMA4_Usable): Updated.
12511 (index_FMA_Usable): New macro.
12512 (CPUID_FMA): Likewise
12513 (HAS_FMA): Defined with bit_FMA_Usable.
12514
51367701
RM
125152012-10-01 Roland McGrath <roland@hack.frob.com>
12516
12517 * bits/types.h (__swblk_t): Type removed.
12518 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12519 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12520 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12521 (__SWBLK_T_TYPE): Likewise.
12522 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12523 (__SWBLK_T_TYPE): Likewise.
12524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12525 (__SWBLK_T_TYPE): Likewise.
12526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12527 (__SWBLK_T_TYPE): Likewise.
12528
4d57bf63 125292012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12530 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12531
12532 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12533 (xdr_mapname): Use YPMAXMAP as maxsize.
12534 (xdr_peername): Use YPMAXPEER as maxsize.
12535 (xdr_keydat): Use YPAXRECORD as maxsize.
12536 (xdr_valdat): Use YPMAXRECORD as maxsize.
12537
93c65d43
RM
125382012-10-01 Roland McGrath <roland@hack.frob.com>
12539
497a03d6
RM
12540 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12541
93c65d43
RM
12542 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12543 * csu/init-first.c: ... here.
12544 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12545 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12548 * sysdeps/i386/init-first.c: File removed.
12549 * sysdeps/sh/init-first.c: File removed.
12550
bec749fd
JM
125512012-10-01 Joseph Myers <joseph@codesourcery.com>
12552
12553 [BZ #14645]
12554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12555 if x * y might underflow to zero and z is zero.
12556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12558 * math/libm-test.inc (min_subnorm_value): New variable.
12559 (fma_test): Add more tests.
12560 (fma_test_towardzero): Likewise.
12561 (fma_test_downward): Likewise
12562 (fma_test_upward): Likewise.
12563 (initialize): Set min_subnorm_value.
12564
8ec5b013
JM
125652012-09-29 Joseph Myers <joseph@codesourcery.com>
12566
12567 [BZ #14638]
12568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12569 0 + 0.
12570 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12571 mode for addition resulting in exact zero.
12572 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12574 exact 0 + 0.
12575 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12577 * math/libm-test.inc (fma_test): Add more tests.
12578 (fma_test_towardzero): New function.
12579 (fma_test_downward): Likewise.
12580 (fma_test_upward): Likewise.
12581 (main): Call the new functions.
12582
b1fa802e
DM
125832012-09-28 David S. Miller <davem@davemloft.net>
12584
12585 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12586
d3b9fd9e
RM
125872012-09-28 Roland McGrath <roland@hack.frob.com>
12588
ea4d37b3
RM
12589 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12590 instead of SIGALRM.
12591
ac51c949
RM
12592 * sysdeps/gnu/_G_config.h: Moved to ...
12593 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12594 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12595 * sysdeps/generic/_G_config.h: ... here.
12596
28c195f7
RM
12597 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12598
848917f9
RM
12599 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12600
6bacf05b
RM
12601 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12602 Conditionalize target on [libnss_test1.so-version].
12603
91363dbb
RM
12604 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12605
cc87f7d8
RM
12606 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12607 (elfobjdir): Move out of conditionals.
12608
b1c608fe
RM
12609 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12610 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12611 (__nss_lookup_function): Conditionalize label remove_from_tree on
12612 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12613
1d9a6d96
DM
126142012-09-28 David S. Miller <davem@davemloft.net>
12615
12616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12617 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12618 file.
12619 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12620 sysdep_routines.
12621 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12623 when HWCAP_SPARC_CRYPTO is present.
12624
72581615
PT
126252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12626
12627 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12628
715a900c
JL
126292012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12630
12631 [BZ #6530]
12632 * stdio-common/vfprintf.c (process_string_arg): Revert
12633 2000-07-22 change.
12634
126352011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12636
12637 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12638 for testcase.
12639 * stdio-common/tst-sprintf.c: Include <locale.h>
12640 (main): Test sprintf's handling of incomplete multibyte
12641 characters.
12642
9bac1d86
L
126432012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 * elf/dl-runtime.c (VERSYMIDX): Removed.
12646 * elf/dl-version.c (VERSYMIDX): Likewise.
12647 * elf/do-rel.h (VERSYMIDX): Likewise.
12648 (VALIDX): Likewise.
12649 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12650 * elf/rtld.c (VALIDX): Likewise.
12651 (ADDRIDX): Likewise.
9bac1d86
L
12652 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12653 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12654 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12655 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12656 (VALIDX): Likewise.
12657 (ADDRIDX): Likewise.
9bac1d86 12658
b31606c0
PT
126592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12660
12661 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12662
11541177
JL
126632012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12664
12665 [BZ #11438]
12666 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12667 to global scope.
12668 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12669 addresses are in the same scope as 192.0.2/24.
12670 * posix/gai.conf: Document new scope table defaults.
12671
adb26fae
SP
126722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12673
12674 [BZ #5298]
12675 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12676 for ftell. Compute offsets from write pointers instead.
12677 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12678
4573c6b0
SP
126792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12680
12681 [BZ #14543]
12682 * libio/Makefile (tests): New test case tst-fseek.
12683 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12684 combination works in wide mode.
12685 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12686 state when the external buffer state changes.
12687
aa9bbfe6
DM
126882012-09-27 David S. Miller <davem@davemloft.net>
12689
12690 [BZ #14376]
12691 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12692 pass reloc->r_addend in as the 'high' argument to
12693 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12694
784421e7
DM
12695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12696
c39bc8b8
PT
126972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12698
12699 * rt/tst-aio2.c: Include <pthread.h>.
12700 * rt/tst-aio3.c: Likewise.
12701
1ccc2399
SE
127022012-09-27 Steve Ellcey <sellcey@mips.com>
12703
12704 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12705
31ed4153
L
127062012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12707
25f5f885
L
12708 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12709 contents on [SHARED].
31ed4153 12710
b7bfe116
MP
127112012-09-26 Marek Polacek <polacek@redhat.com>
12712
12713 [BZ #14530]
12714 [BZ #13741]
12715 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12716 for C++ and GCC <4.3 as well as for non GCC compilers.
12717
43c4edba
MT
127182012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12719
12720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12721
6a1bf82f
RM
127222012-09-25 Roland McGrath <roland@hack.frob.com>
12723
12724 * Makefile.in (all, install): Declare with .PHONY.
12725 Reported by Michael Hope <michael.hope@linaro.org>.
12726
8ad11b9a
TMQMF
127272012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12728
12729 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12730 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12731 system header.
12732 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12733 Likewise.
12734 (sydep_routines): Add the new and the internal functions.
12735 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12736 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12738 (GLIBC_2.17): Add the new function.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12740 (GLIBC_2.17): Likewise.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12742 (GLIBC_2.17): Likewise.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12744 (GLIBC_2.17): Likewise.
12745 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12746
7e2fca8d
AM
127472012-09-25 Alan Modra <amodra@gmail.com>
12748
12749 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12750 Add release barrier before setting once_control to say
12751 initialisation is done. Add hints on lwarx. Use macro in
12752 place of isync.
12753 (clear_once_control): Add release barrier.
12754
b87c4b24
JM
127552012-09-25 Joseph Myers <joseph@codesourcery.com>
12756
d032e0d2
JM
12757 [BZ #13629]
12758 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12759 specially.
12760 * math/s_clog10.c (__clog10): Likewise.
12761 * math/s_clog10f.c (__clog10f): Likewise.
12762 * math/s_clog10l.c (__clog10l): Likewise.
12763 * math/s_clogf.c (__clogf): Likewise.
12764 * math/s_clogl.c (__clogl): Likewise.
12765 * math/Makefile (libm-calls): Add x2y2m1.
12766 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12767 (__x2y2m1): Likewise.
12768 (__x2y2m1l): Likewise.
12769 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12770 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12774 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12775 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12776 * sysdeps/i386/fpu/libm-test-ulps: Update.
12777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12778
b87c4b24
JM
12779 [BZ #14621]
12780 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12781 int as type of variable DEPTH.
12782 (glob): Use size_t instead of int as type of variables NEWCOUNT
12783 and OLD_PATHC.
12784
6d3bf199
LD
127852012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12786
22bf5c17
LD
12787 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12788 Add s_sincosf-sse2.
12789 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12790 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12791 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12792 macros for using routine as __sincosf_ia32.
12793 Use macro for function declaration and weak_alias.
12794 * sysdeps/i386/fpu/libm-test-ulps: Update.
12795
12796 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12798
12799 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12800 subnormal argument.
12801 * math/s_cexpf.c (__cexpf): Likewise.
12802 * math/s_csinf.c (__csinf): Likewise.
12803 * math/s_csinhf.c (__csinhf): Likewise.
12804 * math/s_ctanf.c (__ctanf): Likewise.
12805 * math/s_ctanhf.c (__ctanhf): Likewise.
12806 * math/s_ccosh.c (__ccoshf): Likewise.
12807 * math/s_cexp.c (__cexpl): Likewise.
12808 * math/s_csin.c (__csin): Likewise.
12809 * math/s_csinh.c (__csinh): Likewise.
12810 * math/s_ctan.c (__ctan): Likewise.
12811 * math/s_ctanh.c (ctanh): Likewise.
12812 * math/s_ccoshl.c (__ccoshl): Likewise.
12813 * math/s_cexpl.c (__cexpl): Likewise.
12814 * math/s_csinl.c (__csinl): Likewise.
12815 * math/s_csinhl.c (__csinhl): Likewise.
12816 * math/s_ctanl.c (__ctanl): Likewise.
12817 * math/s_ctanhl.c (__ctanhl): Likewise.
12818
203e5603
JM
128192012-09-25 Joseph Myers <joseph@codesourcery.com>
12820
12821 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12822 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12823 (_IO_off_t): Define to __off_t, not _G_off_t.
12824 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12825 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12826 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12827 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12828 type of __dummy and __dummy2 fields.
12829 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12830 (_G_ssize_t): Likewise.
12831 (_G_off_t): Likewise.
12832 (_G_pid_t): Likewise.
12833 (_G_uid_t): Likewise.
12834 (_G_wchar_t): Likewise.
12835 (_G_wint_t): Likewise.
12836 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12837 (_G_ssize_t): Likewise.
12838 (_G_off_t): Likewise.
12839 (_G_pid_t): Likewise.
12840 (_G_uid_t): Likewise.
12841 (_G_wchar_t): Likewise.
12842 (_G_wint_t): Likewise.
12843 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12844 (_G_ssize_t): Likewise.
12845 (_G_off_t): Likewise.
12846 (_G_pid_t): Likewise.
12847 (_G_uid_t): Likewise.
12848 (_G_wchar_t): Likewise.
12849 (_G_wint_t): Likewise.
12850
9fab36eb
SP
128512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12852
12853 * malloc/arena.c: Include malloc-sysdep.h.
12854 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12855 is sufficient to shrink the heap or an unmap is needed.
12856 * sysdeps/generic/malloc-sysdep.h: New file. Define
12857 new function check_may_shrink_heap.
12858 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12859 new function check_may_shrink_heap.
12860
2b4f00d1
SP
128612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12862
12863 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12864 comments.
12865
9a9028b1
DL
128662012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12867
57c69bef
DL
12868 * catgets/test-gencat.sh: Add "set -e".
12869 * elf/tst-pathopt.sh: Likewise.
12870 * grp/tst_fgetgrent.sh: Likewise.
12871 * iconvdata/run-iconv-test.sh: Likewise.
12872 * intl/tst-gettext.sh: Likewise.
12873 * intl/tst-gettext2.sh: Likewise.
12874 * intl/tst-gettext4.sh: Likewise.
12875 * intl/tst-gettext6.sh: Likewise.
12876 * intl/tst-translit.sh: Likewise.
12877 * io/ftwtest-sh: Likewise.
12878 * libio/test-freopen.sh: Likewise.
12879 * malloc/tst-mtrace.sh: Likewise.
12880 * posix/globtest.sh: Likewise.
12881 * posix/tst-getconf.sh: Likewise.
12882 * posix/wordexp-tst.sh: Likewise.
12883 * stdio-common/tst-printf.sh: Likewise.
12884 * stdio-common/tst-unbputc.sh: Likewise.
12885 * stdlib/tst-fmtmsg.sh: Likewise.
12886 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12887 * catgets/Makefile: Do not specify -e option when running
12888 testsuite shell scripts.
12889 * elf/Makefile: Likewise.
12890 * grp/Makefile: Likewise.
12891 * iconvdata/Makefile: Likewise.
12892 * intl/Makefile: Likewise.
12893 * io/Makefile: Likewise.
12894 * libio/Makefile: Likewise.
12895 * malloc/Makefile: Likewise.
12896 * posix/Makefile: Likewise.
12897 * stdio-common/Makefile: Likewise.
12898 * stdlib/Makefile: Likewise.
12899 * sysdeps/x86_64/Makefile: Likewise.
12900
9a9028b1
DL
12901 * io/ftwtest-sh: Add copyright header.
12902 * posix/globtest.sh: Likewise.
12903 * posix/tst-getconf.sh: Likewise.
12904 * posix/wordexp-tst.sh: Likewise.
12905 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12906
ced6f16e
L
129072012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12908
94b32c39
L
12909 [BZ #13679]
12910 * Makeconfig (+link): Defined as $(+link-static) if
12911 $(build-shared) isn't yes.
12912 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12913 isn't yes.
12914 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12915
189e935b
L
12916 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12917
ced6f16e
L
12918 [BZ #14562]
12919 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12920 new chunk size with MALLOC_ALIGN_MASK.
12921
a9f8e53a
JM
129222012-09-24 Joseph Myers <joseph@codesourcery.com>
12923
12924 [BZ #5044]
12925 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12926 <rounding-mode.h>.
12927 (__printf_fphex): Determine rounding using get_rounding_mode and
12928 round_away.
12929 * stdio-common/tst-printf-round.c (struct hex_test): New
12930 structure.
12931 (hex_tests): New variable.
12932 (test_hex_in_one_mode): New function.
12933 (do_test): Also run tests for hex float output.
12934
43153109
JM
129352012-09-21 Joseph Myers <joseph@codesourcery.com>
12936
12937 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12938 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12939 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12940 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12941 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12942 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12943 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12944 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12945
8a26625d
JM
129462012-09-20 Joseph Myers <joseph@codesourcery.com>
12947
12948 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12949 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12950 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12951 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12952
f3fd569c
DL
129532012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12954
12955 [BZ #14579]
12956 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12957 mode only.
12958 * elf/tst-rtld-load-self.sh: New test.
12959 * elf/Makefile: Run it.
12960
63bbedd4
JM
129612012-09-18 Joseph Myers <joseph@codesourcery.com>
12962
12963 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12964 (tst-writev-ENV): Remove.
12965 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12966
626f8b6a
CM
129672012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12968
12969 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12970
b7aaa4d6
JM
129712012-09-17 Joseph Myers <joseph@codesourcery.com>
12972
12973 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12974 unconditional.
12975 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12976 Likewise.
12977 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12978 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12979 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12980 Likewise.
12981
65513990
L
129822012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12983
12984 [BZ #14587]
12985 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12986 * config.make.in (have-cpp-asm-debuginfo): Removed.
12987 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12988 * configure: Regenerated.
12989
784761be
JM
129902012-09-14 Joseph Myers <joseph@codesourcery.com>
12991
12992 [BZ #5044]
12993 * stdio-common/printf_fp.c: Include <stdbool.h> and
12994 <rounding-mode.h>.
12995 (___printf_fp): Determine rounding using get_rounding_mode and
12996 round_away.
12997 * stdio-common/tst-printf-round.c: New file.
12998 * stdio-common/Makefile (tests): Add tst-printf-round.
12999 (link-libm): New variable.
13000 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13001
9503345f
L
130022012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13003
13004 [BZ #14576]
13005 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13006 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13007 Likewise.
13008 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13009 Likewise.
13010
ad35fc00
JM
130112012-09-13 Joseph Myers <joseph@codesourcery.com>
13012
13013 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13014 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13015 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13016 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13017
6c9b0f68
JM
130182012-09-12 Joseph Myers <joseph@codesourcery.com>
13019
13020 [BZ #14518]
13021 * include/rounding-mode.h: New file.
13022 * sysdeps/generic/get-rounding-mode.h: Likewise.
13023 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13024 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13025 (MAX_VALUE): New macro.
13026 (MIN_VALUE): Likewise.
13027 (overflow_value): New function.
13028 (underflow_value): Likewise.
13029 (round_and_return): Use overflow_value and underflow_value to
13030 determine return values in overflow and underflow cases. Use
13031 round_away to determine rounding depending on rounding mode.
13032 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13033 determine return values in overflow and underflow cases.
13034 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13035 (struct test_results): New structure.
13036 (struct test): Use struct test_results to store expected results
13037 for all rounding modes.
13038 (TEST): Include expected results for all rounding modes.
13039 (test_in_one_mode): New function.
13040 (do_test): Use test_in_one_mode to compute and check results.
13041 Check results for all rounding modes.
13042 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13043 $(link-libm).
13044
19fcedd5
AM
130452012-12-09 Allan McRae <allan@archlinux.org>
13046
1e9d84cd 13047 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13048
8bbfd2f1
JM
130492012-09-11 Joseph Myers <joseph@codesourcery.com>
13050
13051 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13052 (_G_int32_t): Likewise.
13053 (_G_uint16_t): Likewise.
13054 (_G_uint32_t): Likewise.
13055 (_G_HAVE_BOOL): Likewise.
13056 (_G_HAVE_ATEXIT): Likewise.
13057 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13058 (_G_HAVE_IO_FILE_OPEN): Likewise.
13059 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13060 (_G_int32_t): Likewise.
13061 (_G_uint16_t): Likewise.
13062 (_G_uint32_t): Likewise.
13063 (_G_HAVE_BOOL): Likewise.
13064 (_G_HAVE_ATEXIT): Likewise.
13065 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13066 (_G_HAVE_IO_FILE_OPEN): Likewise.
13067 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13068 (_G_int32_t): Likewise.
13069 (_G_uint16_t): Likewise.
13070 (_G_uint32_t): Likewise.
13071 (_G_HAVE_BOOL): Likewise.
13072 (_G_HAVE_ATEXIT): Likewise.
13073 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13074 (_G_HAVE_IO_FILE_OPEN): Likewise.
13075
b1dc5912
L
130762012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13077
13078 * csu/libc-tls.c: Update copyright years.
13079
0e886ef9
JM
130802012-09-10 Joseph Myers <joseph@codesourcery.com>
13081
28361c5e
JM
13082 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13083 [!_G_USING_THUNKS]: Remove conditional code.
13084 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13085 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13086
0e886ef9
JM
13087 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13088 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13089 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13090 (_G_VTABLE_LABEL_PREFIX): Likewise.
13091 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13092 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13093 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13094 (_G_VTABLE_LABEL_PREFIX): Likewise.
13095 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13096 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13097 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13098 (_G_VTABLE_LABEL_PREFIX): Likewise.
13099 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13100
bcba7aa2
L
131012012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13102
13103 * libio/Makefile: Include ../Makeconfig before tests.
13104 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13105 only if $(build-shared) is yes.
13106
06585ee8
L
13107 * iconv/gconv_db.c: Update copyright years.
13108
80ccd52c
LD
131092012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13110
13111 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13112 unwind info if defined PIC. Fix special cases description.
13113 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13114
13115 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13116 DP_HI_MASK entry.
13117 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13118
691bc9c1
L
131192012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13120
3d9b46b3
L
13121 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13122
de2139a9
L
13123 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13124 is NULL.
13125
5ca78dd0
L
13126 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13127 (LDLIBS-tst-chk4): This.
13128 (LDFLAGS-tst-chk5): Renamed to ...
13129 (LDLIBS-tst-chk5): This.
13130 (LDFLAGS-tst-chk6): Renamed to ...
13131 (LDLIBS-tst-chk6): This.
13132 (LDFLAGS-tst-lfschk4): Renamed to ...
13133 (LDLIBS-tst-lfschk4): This.
13134 (LDFLAGS-tst-lfschk5): Renamed to ...
13135 (LDLIBS-tst-lfschk5): This.
13136 (LDFLAGS-tst-lfschk6): Renamed to ...
13137 (LDLIBS-tst-lfschk6): This.
13138
691bc9c1
L
13139 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13140 on $(common-objpfx)soversions.mk.
13141
65cafb1c
JM
131422012-09-07 Joseph Myers <joseph@codesourcery.com>
13143
13144 [BZ #10014]
13145 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13146 example host name.
13147
c78ab094
SP
131482012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13149
13150 * malloc/arena.c (arena_get_retry): New function that gets
13151 another arena for the caller to try its request on.
13152 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13153 current arena cannot fulfill the request.
13154 (__libc_memalign): Likewise.
13155 (__libc_memalign): Likewise.
13156 (__libc_pvalloc): Likewise.
13157 (__libc_calloc): Likewise.
13158
01f49f59
JT
131592012-09-05 John Tobey <john.tobey@gmail.com>
13160
13161 [BZ #13542]
13162 * manual/arith.texi (Operations on Complex): Fix description
13163 of carg branch cut.
13164
4c23fed5
JM
131652012-09-06 Joseph Myers <joseph@codesourcery.com>
13166
1d3c8572
JM
13167 [BZ #10014]
13168 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13169 host name.
13170
4c23fed5
JM
13171 [BZ #10038]
13172 * manual/memory.texi (Memory): Make order of menu items match
13173 order of sections.
13174
04570aaa
L
131752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13176
13177 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13178 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13179 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13180
b80af2f4
L
131812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * csu/libc-tls.c (static_dtv): Renamed to ...
13184 (_dl_static_dtv): This. Make it global.
13185 (_dl_initial_dtv): Removed.
13186 (__libc_setup_tls): Updated.
13187 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13188 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13189 DL_INITIAL_DTV.
13190
2abe9f15
PM
131912012-09-06 Petr Machata <pmachata@redhat.com>
13192
13193 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13194 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13195 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13196 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13197
0948c3af
L
131982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13199
13200 [BZ #14545]
13201 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13202 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13203 freeing dtv[-1].
13204
a5055ad1
L
132052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 [BZ #14544]
13208 * Makeconfig (link-static-before-libc): Replace $(+prector)
13209 with $(+prectorT).
13210 (link-static-after-libc): Replace $(+postctor) with
13211 $(+postctorT).
13212 (link-bounded): Replace $(+prector)/$(+postctor) with
13213 $(+prectorT)/$(+postctorT).
13214 (+prectorT): New macro.
13215 (+postctorT): Likewise.
13216
ed8c2ecd
JM
132172012-09-06 Joseph Myers <joseph@codesourcery.com>
13218
13219 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13220 (round_str): Handle values above the maximum for IBM long double
13221 as inexact.
13222 * stdlib/tst-strtod-round.c (tests): Regenerated.
13223
14c996c8
AK
132242012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13225
13226 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13227 assembler flag.
13228 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13229 zarch_nohighgprs around the zarch optimized routines.
13230 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13231 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13233 for zarch.
13234
430d6ce6
DM
132352012-09-05 David S. Miller <davem@davemloft.net>
13236
13237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13238
ff04dda4
DM
13239 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13240 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13241 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13242 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13243 entries.
13244
24d4e01b
AO
132452012-09-05 Alexandre Oliva <aoliva@redhat.com>
13246
13247 * malloc/arena.c: Fold copyright years.
13248 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13249
61d58174
AO
132502012-09-05 Alexandre Oliva <aoliva@redhat.com>
13251
13252 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13253
20196a5e
AO
132542012-09-05 Alexandre Oliva <aoliva@redhat.com>
13255
13256 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13257
5c447383
AO
132582012-09-05 Alexandre Oliva <aoliva@redhat.com>
13259
13260 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13261 change internal state upon failure.
13262
fad64255
AO
132632012-09-05 Alexandre Oliva <aoliva@redhat.com>
13264
13265 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13266 * malloc/memusage.c (mmap): Likewise.
13267 (mmap64, mremap): Likewise. Adjust name in comment.
13268
1ffb8c90
SP
132692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13270
13271 * libio/fileops.c: Fix typos in comments.
13272 * libio/oldfileops.c: Likewise.
13273 * libio/wfileops.c: Likewise.
13274
6ef9cc37
SP
132752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13276
13277 [BZ #1349]
13278 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13279 (tst-malloc-usable-ENV): Set environment for test case.
13280 * malloc/hooks.c (malloc_check_get_size): New function to get
13281 requested size.
13282 * malloc/malloc.c (musable): Use malloc_check_get_size.
13283 * malloc/tst-malloc-usable.c: New test case.
13284
4d038ae3
AS
132852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13288
c4e85184
AM
132892012-09-05 Allan McRae <allan@archlinux.org>
13290
b9dafc56 13291 [BZ #13966]
c4e85184
AM
13292 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13293 determine header location.
13294 * configure: Regenerated.
13295
e1343020
AS
132962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13297
13298 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13299 float format.
13300 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13301 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13302 format.
e1343020
AS
13303 (test): Regenerate.
13304
0a9f1987
DM
133052012-09-04 David S. Miller <davem@davemloft.net>
13306
13307 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13308 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13309 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13310
29237804
FW
133112012-09-04 Florian Weimer <fweimer@redhat.com>
13312
13313 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13314 failures.
13315
edb3cb88
FW
13316 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13317
60160d83
JM
133182012-09-04 Joseph Myers <joseph@codesourcery.com>
13319
13320 [BZ #9914]
13321 * libio/iogetdelim.c: Include <limits.h>.
13322 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13323 + len + 1 would overflow.
13324
bcd6c8dc
AJ
133252012-09-03 Andreas Jaeger <aj@suse.de>
13326
13327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13328 * sysdeps/i386/fpu/libm-test-ulps: Update.
13329
4ffffbd2
LD
133302012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13331
13332 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13333 Add s_sinf-sse2, s_conf-sse2.
13334
13335 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13336 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13337 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13338 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13339
13340 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13341 for using routine as __sinf_ia32.
13342 Use macro for function declaration and weak_alias.
13343 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13344 for using routine as __cosf_ia32.
13345 Use macro for function declaration and weak_alias.
13346
13347 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13348 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13349
13350 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13351 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13353
13354 * math/libm-test.inc (cos_test): Add more test cases.
13355 (sin_test): Likewise.
13356 (sincos_test): Likewise.
13357
511fa286
AK
133582012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13359
13360 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13361 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13362 hidden.
13363 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13364
5f30cfec
L
133652012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13366
13367 [BZ #14538]
13368 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13369 first element of the GOT.
13370 (elf_machine_load_address): Return the difference between
13371 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13372
0786794f
AM
133732012-09-01 Allan McRae <allan@archlinux.org>
13374
5f30cfec
L
13375 [BZ #13412]
13376 * configure.in (AWK): Require gawk version 3.0 or later.
13377 * configure: Regenerated.
0786794f 13378
26889eac
JM
133792012-09-01 Joseph Myers <joseph@codesourcery.com>
13380
13381 * sysdeps/unix/sysv/linux/kernel-features.h
13382 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13383 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13384 [__NR_clock_getres]: Make code unconditional.
13385 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13386 (clock_getcpuclockid): Remove code left unreachable by removal of
13387 conditionals.
13388 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13389 code unconditional.
13390 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13391 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13392 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13393 Make code unconditional.
13394 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13395 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13396 * sysdeps/unix/sysv/linux/clock_settime.c
13397 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13398 conditional code.
13399 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13400 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13401
d22e28b0
L
134022012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13403
13404 [BZ #14476]
13405 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13406 scripts/test-installation.pl.
13407
13408 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13409 and $ld_so_version if it is set.
13410
050af9c4
SP
134112012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
13413 [BZ #14516]
13414 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13415 failure if reading from procfs failed.
13416 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13417
ad845c0b
JM
134182012-08-27 Joseph Myers <joseph@codesourcery.com>
13419
13420 * sysdeps/unix/sysv/linux/kernel-features.h
13421 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13422 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13423 Remove conditional code.
13424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13425 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13426 Remove conditional code.
13427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13428 * sysdeps/unix/sysv/linux/i386/fxstat.c
13429 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13431 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13432 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13434 * sysdeps/unix/sysv/linux/i386/lxstat.c
13435 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13437 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13438 Remove conditional code.
13439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13440 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13441 Remove conditional code.
13442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13443 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13444 <kernel-features.h>.
13445 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13446 Remove.
13447 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13448 Remove conditional code.
13449 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13450 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13451 Remove conditional.
13452
5dbf56af
MF
134532012-08-27 Mike Frysinger <vapier@gentoo.org>
13454
13455 [BZ #5400]
13456 * NEWS: Add fixed bug number.
13457
d6e70f43
JM
134582012-08-27 Joseph Myers <joseph@codesourcery.com>
13459
7efb4737
JM
13460 [BZ #14519]
13461 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13462 underflowing exponent in case of negative sign.
13463 * stdlib/tst-strtod-round-data: Add more tests.
13464 * stdlib/tst-strtod-round.c (tests): Regenerated.
13465
af92131a
JM
13466 [BZ #3479]
13467 * stdlib/strtod_l.c (NDIG): Remove.
13468 (HEXNDIG): Likewise.
13469 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13470 smallest representable value.
13471 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13472 lie within an exact representation of 1/2 ulp of the result.
13473 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13474 unconditionally.
13475 (TENS_P9_IDX): Define unconditionally.
13476 (TENS_P9_SIZE): Likewise.
13477 (TENS_P10_IDX): Likewise.
13478 (TENS_P10_SIZE): Likewise.
13479 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13480 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13481 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13482 entries for 10^2^13 and 10^2^14.
13483 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13484 (TENS_P13_IDX): Define.
13485 (TENS_P13_SIZE): Likewise.
13486 (TENS_P14_IDX): Likewise.
13487 (TENS_P14_SIZE): Likewise.
13488 (_fpioconst_pow10): Change array size to
13489 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13490 unconditional.
13491 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13492 1024]: Add entries for 10^2^13 and 10^2^14.
13493 [LAST_POW10 > _LAST_POW10]: Remove #error.
13494 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13495 (_fpioconst_pow10): Change array size to
13496 FPIOCONST_POW10_ARRAY_SIZE.
13497 * stdlib/gen-fpioconst.c: New file.
13498 * stdlib/gen-tst-strtod-round.c: Likewise.
13499 * stdlib/tst-strtod-round-data: Likewise.
13500 * stdlib/tst-strtod-round.c: Likewise.
13501 * stdlib/Makefile (tests): Add tst-strtod-round.
13502
d6e70f43
JM
13503 [BZ #14459]
13504 * stdlib/strtod_l.c: Include <stdint.h>.
13505 (NDEBUG): Do not define.
13506 (round_and_return): Change EXPONENT parameter to type intmax_t.
13507 Rearrange calculations to avoid internal overflow possibilities.
13508 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13509 Rearrange calculations to avoid internal overflow possibilities.
13510 Assert that number fits inside MPNSIZE limbs.
13511 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13512 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13513 calculations and add assertions to avoid internal overflow
13514 possibilities. Add casts to avoid signed/unsigned operations.
13515 * stdlib/tst-strtod-overflow.c: New file.
13516 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13517
1f529f7d
MP
135182012-08-25 Marek Polacek <polacek@redhat.com>
13519
13520 * time/time.h: Fix some typos in comments.
13521
59a629f1
RM
135222012-08-23 Roland McGrath <roland@hack.frob.com>
13523
13524 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13525 * posix/tst-rfc3484-2.c: Likewise.
13526 * posix/tst-rfc3484-3.c: Likewise.
13527
d3bafbc9
SM
135282012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13529
13530 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13531 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13532
4efcc022
JM
135332012-08-23 Joseph Myers <joseph@codesourcery.com>
13534
13535 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13536 #include of fxstatat64.c.
13537
3cc3ef96
RM
135382012-08-22 Roland McGrath <roland@hack.frob.com>
13539
f04e2132
RM
13540 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13541 * shadow/getspent_r.c: Likewise.
13542 * shadow/getspnam.c: Likewise.
13543 * shadow/getspnam_r.c: Likewise.
13544 * gshadow/getsgent.c: Likewise.
13545 * gshadow/getsgent_r.c: Likewise.
13546 * gshadow/getsgnam.c: Likewise.
13547 * gshadow/getsgnam_r.c: Likewise.
13548 * inet/getnetbyad.c: Likewise.
13549 * inet/getnetbyad_r.c: Likewise.
13550 * inet/getnetbynm.c: Likewise.
13551 * inet/getnetbynm_r.c: Likewise.
13552 * inet/getnetent.c: Likewise.
13553 * inet/getnetent_r.c: Likewise.
13554 * inet/getproto.c: Likewise.
13555 * inet/getproto_r.c: Likewise.
13556 * inet/getprtent.c: Likewise.
13557 * inet/getprtent_r.c: Likewise.
13558 * inet/getprtname.c: Likewise.
13559 * inet/getprtname_r.c: Likewise.
13560 * inet/getrpcbyname.c: Likewise.
13561 * inet/getrpcbyname_r.c: Likewise.
13562 * inet/getrpcbynumber.c: Likewise.
13563 * inet/getrpcbynumber_r.c: Likewise.
13564 * inet/getrpcent.c: Likewise.
13565 * inet/getrpcent_r.c: Likewise.
13566 * inet/getaliasent.c: Likewise.
13567 * inet/getaliasent_r.c: Likewise.
13568 * inet/getaliasname.c: Likewise.
13569 * inet/getaliasname_r.c: Likewise.
13570 * nscd/getgrgid_r.c: Likewise.
13571 * nscd/getgrnam_r.c: Likewise.
13572 * nscd/gethstbyad_r.c: Likewise.
13573 * nscd/gethstbynm3_r.c: Likewise.
13574 * nscd/getpwnam_r.c: Likewise.
13575 * nscd/getpwuid_r.c: Likewise.
13576 * nscd/getsrvbynm_r.c: Likewise.
13577 * nscd/getsrvbypt_r.c: Likewise.
13578 * nscd/gai.c: Likewise.
13579
c53d909c
RM
13580 * configure.in (build_nscd): New substituted variable, set
13581 by --disable-build-nscd and defaults to $use_nscd.
13582 * configure: Regenerated.
13583 * config.make.in (build-nscd): New substituted variable.
13584 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13585 Change conditional to require [$(build-nscd) = yes] as well.
13586 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13587
3cc3ef96
RM
13588 [BZ# 13696]
13589 * configure.in (use_nscd): New substituted variable, set by
13590 --disable-nscd. If enabled, define USE_NSCD.
13591 * configure: Regenerated.
13592 * config.h.in: Add USE_NSCD.
13593 * config.make.in (use-nscd): New substituted variable.
13594 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13595 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13596 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13597 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13598 (CFLAGS-getgrnam_r.c): Likewise.
13599 (CFLAGS-initgroups.c): Likewise.
13600 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13601 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13602 Variables removed.
13603 * inet/getnetgrent_r.c
13604 (nscd_setnetgrent): New function, broken out of ...
13605 (setnetgrent): ... here. Call it.
13606 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13607 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13608 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13609 * nscd/Makefile (routines, aux): Move definitions after include of
13610 Makeconfig. Conditionalize on [$(use-nscd) != no].
13611 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13612 Conditionalize on [USE_NSCD].
13613 (is_nscd, nscd_init_cb): Likewise.
13614 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13615 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13616 * nss/nss_db/db-init.c: Likewise.
13617 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13618 [USE_NSCD].
13619 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13620 (make_request): Use it.
13621 (cache_valid_p): New function.
13622 (__check_pf): Use it.
13623 * NEWS: Add item for --disable-nscd.
13624
07e51550
DL
136252012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13626
13627 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13628 to support sed >= 4.2.1-20-ga9bf076.
13629 * configure: Regenerated.
13630
35a5b08b
RM
136312012-08-22 Roland McGrath <roland@hack.frob.com>
13632
13633 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13634 Conditionalize whole body on [IREL].
13635
8479f23a
JL
136362012-08-22 Jeff Law <law@redhat.com>
13637
13638 [BZ #14505]
13639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13640 if the family is PF_UNSPEC.
13641
48da0b21
MF
136422012-08-22 Mike Frysinger <vapier@gentoo.org>
13643
13644 * Makerules (lib-version): Rename from V.
13645 (install-lib-nosubdir): Change V to lib-version.
13646
15d0da8c
WS
136472012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13648
13649 [BZ #14252]
13650 * powerpc32/power6/wcschr.c: New file.
13651 * powerpc32/power6/wcscpy.c: New file.
13652 * powerpc32/power6/wcsrchr.c: New file.
13653 * powerpc64/power6/wcschr.c: New file.
13654 * powerpc64/power6/wcscpy.c: New file.
13655 * powerpc64/power6/wcsrchr.c: New file.
13656
bcca0895
MK
136572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13658
13659 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13660 (two_way_short_needle): Use it.
5a4aaa33
RM
13661 * string/strstr.c (AVAILABLE1_USES_J): Define.
13662 * string/strcasestr.c: Likewise.
99677e57
MK
13663
13664 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13665 array references.
13666 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13667
400726de
MK
13668 [BZ #11607]
13669 * NEWS: Add an entry.
13670 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13671 define their defaults.
13672 (two_way_short_needle): Detect end-of-string on-the-fly.
13673 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13674 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13675 * string/bug-strcasestr1.c: New test.
13676 * string/Makefile: Run it.
13677
20a71f2c
MK
136782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13679
13680 [BZ #11607]
13681 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13682 the first character.
13683
21ad0558
RM
136842012-08-21 Roland McGrath <roland@hack.frob.com>
13685
13686 * csu/elf-init.c (__libc_csu_irel): Function removed.
13687 * csu/libc-start.c (apply_irel): New function.
13688 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13689
0e1d9911
JM
136902012-08-21 Joseph Myers <joseph@codesourcery.com>
13691
13692 * sysdeps/unix/sysv/linux/kernel-features.h
13693 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13694 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13695 <kernel-features.h>.
13696 [__NR_fadvise64_64]: Make code unconditional.
13697 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13698 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13699 !__NR_fadvise64_64)]: Likewise.
13700 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13701 !__NR_fadvise64_64))]: Likewise.
13702 [__NR_fadvise64]: Make code unconditional.
13703 [!__NR_fadvise64]: Remove conditional code.
13704 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13705 <kernel-features.h>.
13706 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13707 unconditional.
13708 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13709 conditional code.
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13711 not include <kernel-features.h>.
13712 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13713 unconditional.
13714 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13715 conditional code.
13716 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13717 include <kernel-features.h>.
13718 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13719 unconditional.
13720 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13721 conditional code.
13722
14a50c9d
WS
137232012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13724
13725 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13726 slight instruction rearrangements per scrollpipe analysis.
13727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13728
c0f4faf0
RM
137292012-08-20 Roland McGrath <roland@hack.frob.com>
13730
696da859
RM
13731 * manual/syslog.texi (syslog; vsyslog, closelog):
13732 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13733 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13734
c0f4faf0
RM
13735 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13736 DSOCAPS to match condition on defining it.
13737
348363b2
JM
137382012-08-20 Joseph Myers <joseph@codesourcery.com>
13739
a35cbf28
JM
13740 * sysdeps/unix/sysv/linux/kernel-features.h
13741 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13743 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13744 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13746 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13747 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13749 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13750 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13751
445f7ecd
JM
13752 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13753 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13754
348363b2
JM
13755 * sysdeps/unix/sysv/linux/kernel-features.h
13756 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13757 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13758 unconditional.
13759 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13760 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13761 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13762 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13763 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13764 Make code unconditional.
13765 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13766 (__mmap64) [!__NR_mmap2]: Likewise.
13767 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13768 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13769 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13770 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13771 [__NR_mmap2]: Make code unconditional.
13772 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13773 (__mmap64) [!__NR_mmap2]: Likewise.
13774
bc5bc0e5
AK
137752012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13776
13777 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13778
88d506de
AJ
137792012-08-18 Andreas Jaeger <aj@suse.de>
13780
13781 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13782
493387d2
MF
137832012-08-18 Mike Frysinger <vapier@gentoo.org>
13784
13785 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13786 * include/unistd.h (__have_sock_cloexec): Likewise.
13787 (__have_pipe2): Likewise.
13788 (__have_dup3): Likewise.
13789
a277af22
MF
137902012-08-18 Mike Frysinger <vapier@gentoo.org>
13791
13792 [BZ #9685]
13793 * include/unistd.h (__have_pipe2): Change define into an extern int.
13794 (__have_dup3): Likewise.
13795 * socket/have_sock_cloexec.c: Include fcntl.h.
13796 (__have_pipe2): New variable.
13797 (__have_dup3): Likewise.
13798
fdab8fd3
MF
137992012-08-17 Mike Frysinger <vapier@gentoo.org>
13800
13801 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13802
31035e80
MP
138032012-08-17 Marek Polacek <polacek@redhat.com>
13804
13805 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13806 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13807
3bd9e993
RM
138082012-08-17 Roland McGrath <roland@hack.frob.com>
13809
c91c505f
RM
13810 * configure.in: Add AC_SUBST for sysheaders.
13811 * configure: Regenerated.
13812 * config.make.in (sysheaders): New substituted variable.
13813
7c6f9d53
RM
13814 * sysdeps/unix/mkfifo.c: Moved ...
13815 * sysdeps/posix/mkfifo.c: ... here.
13816 * sysdeps/unix/mkfifoat.c: Moved ...
13817 * sysdeps/posix/mkfifoat.c: ... here.
13818
13819 * sysdeps/unix/utime.c: Moved ...
13820 * sysdeps/posix/utime.c: ... here.
13821
13822 * sysdeps/unix/time.c: Moved ...
13823 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13824 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13825 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13826
13827 * sysdeps/unix/nice.c: Moved ...
13828 * sysdeps/posix/nice.c: ... here.
13829
13830 * sysdeps/unix/alarm.c: Moved ...
13831 * sysdeps/posix/alarm.c: ... here.
13832
3bd9e993
RM
13833 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13834
d1f09384
JL
138352012-08-17 Jeff Law <law@redhat.com>
13836
13837 * intl/Makefile (codeset_mo): New variable.
13838 ($(codeset_mo)): New target.
13839 (tst-codeset.out): Depend on that. Remove explicit rule.
13840 (tst-gettext3.out, tst-gettext5.out): Likewise.
13841 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13842 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13843 * intl/tst-codeset.sh: Remove.
13844 * intl/tst-gettext3.sh: Likewise.
13845 * intl/tst-gettext5.sh: Likewise.
13846
2ae1ae5c
RM
138472012-08-17 Roland McGrath <roland@hack.frob.com>
13848
c31fdb83
RM
13849 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13850 * sysdeps/unix/syscalls.list: ... here.
13851
a0844057
RM
13852 * sysdeps/posix/getaddrinfo.c
13853 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13854 (gaiconf_init, gaiconf_reload): Use them.
13855 [!_STATBUF_ST_NSEC]
13856 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13857 Define using time_t rather than struct timespec.
13858
750c1f2a
RM
13859 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13860 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13861 Macros removed.
13862 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13863 [!NO_THREADS].
13864 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13865 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13866 Likewise.
13867
2ae1ae5c
RM
13868 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13869 __libc_cleanup_push argument.
13870
e66a42f5
RM
13871 * bits/param.h: New file.
13872 * misc/sys/param.h: New file.
13873 * include/sys/param.h: New file.
13874 * misc/Makefile (headers): Add bits/param.h.
13875 * sysdeps/generic/sys/param.h: File removed.
13876 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13877 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13878 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13879 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13880
b7c08a66
RM
13881 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13882 last change.
13883
b2e1c562
RM
13884 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13885 [_IO_MTSAFE_IO].
13886 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13887 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13888 New macros.
13889
c75ccd4c
RM
13890 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13891 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13892 rather than -D_IO_MTSAFE_IO conditionally.
13893 * stdio-common/Makefile (CPPFLAGS): Likewise.
13894 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13895 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13896 Use $(libio-mtsafe).
13897 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13898 of -D_IO_MTSAFE_IO.
13899 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13900 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13901 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13902 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13903 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13904 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13905 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13906 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13907 (CFLAGS-fread_u_chk.c): Likewise.
13908 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13909 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13910 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13911 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13912 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13913 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13914 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13915 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13916 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13917
13918 * libio/Makefile: Test [$(libc-reentrant) = yes]
13919 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13920
13921 * Makeconfig
13922 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13923 * sysdeps/pthread/configure: File removed.
13924 * sysdeps/pthread/Makeconfig: New file.
13925 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13926 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13927
d9195db8
GB
139282012-08-16 Gary Benson <gbenson@redhat.com>
13929
13930 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13931 unmapping the first object in a namespace.
13932
86466cd9
RM
139332012-08-16 Roland McGrath <roland@hack.frob.com>
13934
13935 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13936 (__internal_setnetgrent): ... this. Add internal_function to
13937 definition. Add libc_hidden_def.
13938 (setnetgrent): Update caller.
13939 (internal_endnetgrent): Renamed to ...
13940 (__internal_endnetgrent): ... this. Add internal_function to
13941 definition. Add libc_hidden_def.
13942 (endnetgrent): Update caller.
13943 (internal_getnetgrent_r): Renamed to ...
13944 (__internal_getnetgrent_r): ... this. Add internal_function to
13945 definition. Add libc_hidden_def.
13946 (__getnetgrent_r): Update caller.
13947 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13948
c3c8283c
JM
139492012-08-16 Joseph Myers <joseph@codesourcery.com>
13950
13951 * stdlib/longlong.h: Update from GCC.
13952
db1ee0a8
RM
139532012-08-16 Roland McGrath <roland@hack.frob.com>
13954
13955 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13956 on _QL, which is set by umul_ppmm but never used.
13957 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13958 variables, which are set by GMP macros but never used.
13959 * stdio-common/_itowa.c (_itowa): Likewise.
13960 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13961 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13962
30f69637
CD
139632012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13964
13965 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13966 struct La_sh_regs is not constant.
13967 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13968 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13969 and struct La_sparc64_regs are not constant.
13970
93a78ac4
JM
139712012-08-16 Joseph Myers <joseph@codesourcery.com>
13972
13973 * sysdeps/unix/sysv/linux/kernel-features.h
13974 (__ASSUME_POSIX_TIMERS): Remove.
13975 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13976 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13977 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13978 Make code unconditional.
13979 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13980 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13981 Make code unconditional.
13982 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13983 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13984 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13985 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13986 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13987 Make code unconditional.
13988 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13989 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13990 (__libc_missing_posix_timers): Remove.
13991
dd924cd7
RM
139922012-08-15 Roland McGrath <roland@hack.frob.com>
13993
4b4f2771
RM
13994 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13995 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13996
601c888b
RM
13997 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13998
176790a7
RM
13999 * elf/dl-sym.c: Include <stdlib.h>.
14000
329bc018
RM
14001 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14002 constants, which avoids warnings in 32-bit builds.
14003
e04e272d
RM
14004 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14005 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14006
952bf94a
RM
14007 * misc/lseek.c: File moved to ...
14008 * io/lseek.c: ... here.
14009
7c99b50a
RM
14010 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14011
dd924cd7
RM
14012 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14013 shifting LEN more than 31 bits at once.
14014
b3f479a8
LD
140152012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14016
14017 [BZ #14195]
8c4ae0d4
RM
14018 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14019 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14020 * string/test-strncasecmp.c (check1): Renamed to...
14021 (bz12205): ...this.
14022 (bz14195): Add new testcase for two empty input strings and N > 0.
14023 (test_main): Call new testcase, adapt for renamed function.
14024
9c55864e
AJ
140252012-08-15 Andreas Jaeger <aj@suse.de>
14026
14027 [BZ #14090]
14028 * crypt/md5test2.c: New test, based on test supplied by Serge
14029 Belyshev <belyshev@depni.sinp.msu.ru>.
14030 * crypt/Makefile (xtests): Add md5test-giant..
14031 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14032
02dcb6c5
PE
140332012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14034
14035 [BZ #14090]
14036 * crypt/md5.c (md5_process_block): Don't assume the buffer
14037 length is less than 2**32.
14038 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14039 length is less than 2**64.
14040
a3f95dcc
RM
140412012-08-15 Roland McGrath <roland@hack.frob.com>
14042
be75d758
RM
14043 * string/str-two-way.h: Include <sys/param.h>.
14044 (MAX): Macro removed.
14045
7312ca90
RM
14046 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14047 Move #define and #undef of memmove to just before and after
14048 including <string.h>.
14049
9a0a5486
RM
14050 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14051 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14052 and after including <string.h>. Move declarations of
14053 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14054 to before #include "string/memmove.c".
14055
67cc348d
RM
14056 * include/dirent.h: Declare __getdirentries.
14057
a3f95dcc
RM
14058 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14059 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14060
ca98e171
MF
140612012-08-14 Mike Frysinger <vapier@gentoo.org>
14062
14063 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14064 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14065 * sysdeps/i386/configure: Regenerated.
14066 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14067 STABS_CURRENT_FILE, and STABS_FUN.
14068 (END): Remove call to STABS_FUN_END.
14069 (STABS_CURRENT_FILE1): Delete.
14070 (STABS_CURRENT_FILE): Likewise.
14071 (STABS_FUN): Likewise.
14072 (STABS_FUN_END): Likewise.
14073 (STABS_FUN2): Likewise.
14074 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14075 * sysdeps/x86_64/configure: Regenerated.
14076
5908bf46
RM
140772012-08-14 Roland McGrath <roland@hack.frob.com>
14078
14079 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14080 * elf/dl-lookup.c: Likewise.
5908bf46 14081
f2c05b9e
JM
140822012-08-14 Joseph Myers <joseph@codesourcery.com>
14083
14084 * sysdeps/unix/sysv/linux/kernel-features.h
14085 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14086 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14087 unconditionally.
14088 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14089 unconditionally.
14090 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14091 condition on __ASSUME_CLONE_THREAD_FLAGS.
14092
e11f5155
AJ
140932012-08-14 Andreas Jaeger <aj@suse.de>
14094
14095 * sysdeps/i386/fpu/libm-test-ulps: Update.
14096
51a9ba86
MK
140972012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14098
2fdd4f78
AJ
14099 * include/atomic.h (atomic_exchange_and_add): Split into ...
14100 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14101 New atomic macros.
51a9ba86 14102
ba6cba9e
MT
141032012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14104
14105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14106
42443a47
JL
141072012-08-13 Jeff Law <law@redhat.com>
14108
14109 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14110 null byte in the output string.
14111
121dce05
JM
141122012-08-10 Joseph Myers <joseph@codesourcery.com>
14113
14114 * sysdeps/unix/sysv/linux/kernel-features.h
14115 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14116 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14117 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14118 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14119 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14120 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14121 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14122
bf51f568
JL
141232012-08-09 Jeff Law <law@redhat.com>
14124
14125 [BZ #13939]
14126 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14127 When avoid_arena is set, don't retry in the that arena. Pick the
14128 next one, whatever it might be.
14129 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14130 (arena_lock): Pass in new parameter to arena_get2.
14131 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14132 arena_get2.
14133 (__libc_malloc): Unify retrying after main arena failure with
14134 __libc_memalign version.
14135 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14136
f85fa270
L
141372012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14138
14139 [BZ #14166]
14140 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14141 to __redirect_strstr.
14142 (__strstr_sse42): Use typeof __redirect_strstr.
14143 (__strstr_ia32): Likewise.
14144 (__libc_strstr): New prototype.
14145 (strstr): Renamed to ...
14146 (__libc_strstr): This.
14147 (strstr): New strong alias of __libc_strstr.
14148 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14149 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14150 __redirect_time.
14151 Include <time.h>.
14152 (__libc_time): New prototype.
14153 (time_ifunc): Replace time with __libc_time.
14154 (time): New strong alias and hidden definition of __libc_time.
14155 (__GI_time): Remove strong alias.
14156 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14157 Include <stddef.h>.
14158 (memmove): Redefined to __redirect_memmove.
14159 (__memmove_sse2): Use typeof __redirect_memmove.
14160 (__memmove_ssse3): Likewise.
14161 (__memmove_ssse3_back): Likewise.
14162 (__libc_memmove): New prototype.
14163 (memmove): Renamed to ...
14164 (__libc_memmove): This.
14165 (memmove): New strong alias of __libc_memmove.
14166
33b4a91e
MS
141672012-08-08 Mark Salter <msalter@redhat.com>
14168
14169 * elf/elf.h
14170 (R_MN10300_TLS_GD): Define.
14171 (R_MN10300_TLS_LD): Likewise.
14172 (R_MN10300_TLS_LDO): Likewise.
14173 (R_MN10300_TLS_GOTIE): Likewise.
14174 (R_MN10300_TLS_IE): Likewise.
14175 (R_MN10300_TLS_LE): Likewise.
14176 (R_MN10300_TLS_DTPMOD): Likewise.
14177 (R_MN10300_TLS_DTPOFF): Likewise.
14178 (R_MN10300_TLS_TPOFF): Likewise.
14179 (R_MN10300_SYM_DIFF): Likewise.
14180 (R_MN10300_ALIGN): Likewise.
14181 (R_MN10300_NUM): Update.
14182
b36137f1
JM
141832012-08-08 Joseph Myers <joseph@codesourcery.com>
14184
14185 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14186 Remove.
14187
cdd915fd
RM
141882012-08-08 Roland McGrath <roland@hack.frob.com>
14189
a2433aac
RM
14190 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14191
cdd915fd
RM
14192 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14193 sysdeps/unix -> sysdeps/posix move.
14194 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14195
bf9b740a
AM
141962012-08-07 Allan McRae <allan@archlinux.org>
14197
14198 [BZ #14303]
14199 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14200 (SUNOS_CPP): Likewise.
14201 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14202 not found.
14203 (open_input): Call CPP using execvp.
14204
93df14ee
JM
142052012-08-07 Joseph Myers <joseph@codesourcery.com>
14206
14207 * sysdeps/unix/sysv/linux/kernel-features.h
14208 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14209 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14210 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14211 (__ASSUME_WAITID_SYSCALL): Likewise.
14212 * sysdeps/unix/sysv/linux/dl-execstack.c
14213 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14214 code unconditional.
14215 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14216 conditional code.
14217 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14218 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14219 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14220 code.
14221 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14222 unconditional.
14223 [__ASSUME_WAITID_SYSCALL]: Likewise.
14224 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14225
d34689de
RM
142262012-08-07 Roland McGrath <roland@hack.frob.com>
14227
a281decc
RM
14228 * sysdeps/unix/closedir.c: Renamed to ...
14229 * sysdeps/posix/closedir.c: ... here.
14230 * sysdeps/unix/dirfd.c: Renamed to ...
14231 * sysdeps/posix/dirfd.c: ... here.
14232 * sysdeps/unix/dirstream.h: Renamed to ...
14233 * sysdeps/posix/dirstream.h: ... here.
14234 * sysdeps/unix/fdopendir.c: Renamed to ...
14235 * sysdeps/posix/fdopendir.c: ... here.
14236 * sysdeps/unix/opendir.c: Renamed to ...
14237 * sysdeps/posix/opendir.c: ... here.
14238 * sysdeps/unix/readdir.c: Renamed to ...
14239 * sysdeps/posix/readdir.c: ... here.
14240 * sysdeps/unix/readdir_r.c: Renamed to ...
14241 * sysdeps/posix/readdir_r.c: ... here.
14242 * sysdeps/unix/rewinddir.c: Renamed to ...
14243 * sysdeps/posix/rewinddir.c: ... here.
14244 * sysdeps/unix/seekdir.c: Renamed to ...
14245 * sysdeps/posix/seekdir.c: ... here.
14246 * sysdeps/unix/telldir.c: Renamed to ...
14247 * sysdeps/posix/telldir.c: ... here.
14248 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14249 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14250 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14251 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14252
22895b47
RM
14253 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14254 * bits/fcntl.h: ... here.
14255
707a53b6
RM
14256 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14257 not 0.
14258 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14259 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14260 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14261 (struct flock): Move l_start, l_len to the beginning.
14262 Use __pid_t for l_pid.
14263 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14264 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14265 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14266 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14267 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14268 [__USE_LARGEFILE64] (struct flock64): New type.
14269 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14270
f0bd3e25
RM
14271 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14272 * bits/dirent.h: ... here.
14273
d34689de
RM
14274 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14275 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14276
6dad2c06
JM
142772012-08-07 Joseph Myers <joseph@codesourcery.com>
14278
14279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14280 Change from 2.6.0 to 2.6.16.
14281 * sysdeps/unix/sysv/linux/configure: Regenerated.
14282 * sysdeps/unix/sysv/linux/kernel-features.h
14283 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14284 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14285 version.
14286 (__ASSUME_UTIMES): Likewise.
14287 (__ASSUME_CLONE_STOPPED): Remove.
14288 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14289 architectures, not kernel version.
14290 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14291 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14292 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14293 (__ASSUME_WAITID_SYSCALL): Likewise.
14294 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14295 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14296 * README: State 2.6.16 as minimum Linux kernel version. Do not
14297 refer to older versions.
14298
03af9520
RM
142992012-08-06 Roland McGrath <roland@hack.frob.com>
14300
8e49df1d
RM
14301 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14302 Define alphasort64 as an alias.
14303 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14304 Define versionsort64 as an alias.
14305 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14306 Define scandir64 as an alias.
14307 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14308 Define scandirat64 as an alias.
14309 * dirent/alphasort64.c (alphasort64):
14310 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14311 * dirent/versionsort64.c: Likewise.
14312 * dirent/scandir64.c: Likewise.
14313 * dirent/scandirat64.c: Likewise.
14314 * sysdeps/wordsize-64/alphasort.c: File removed.
14315 * sysdeps/wordsize-64/alphasort64.c: File removed.
14316 * sysdeps/wordsize-64/scandir.c: File removed.
14317 * sysdeps/wordsize-64/scandir64.c: File removed.
14318 * sysdeps/wordsize-64/scandirat.c: File removed.
14319 * sysdeps/wordsize-64/scandirat64.c: File removed.
14320 * sysdeps/wordsize-64/versionsort.c: File removed.
14321 * sysdeps/wordsize-64/versionsort64.c: File removed.
14322 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14323 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14324 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14325 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14326 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14327 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14328 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14330
14331 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14333 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14334 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14335 [defined __arch64__ || defined __sparcv9]
14336 (__INO_T_MATCHES_INO64_T): New macro.
14337 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14338 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14339 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14340 * sysdeps/unix/sysv/linux/bits/dirent.h
14341 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14342 (_DIRENT_MATCHES_DIRENT64): New macro.
14343
03af9520
RM
14344 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14345 Define lockf64 as an alias.
14346 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14347 Define fseeko64 as an alias.
14348 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14349 Define ftello64 as an alias.
14350 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14351 Define _IO_fgetpos64 and fgetpos64 as aliases.
14352 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14353 Define _IO_fsetpos64 and fsetpos64 as aliases.
14354 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14355 Conditionalize body on this.
14356 * libio/fseeko64.c: Likewise.
14357 * libio/ftello64.c: Likewise.
14358 * libio/iofgetpos64.c: Likewise.
14359 * libio/iofsetpos64.c: Likewise.
14360 * sysdeps/wordsize-64/lockf.c: File removed.
14361 * sysdeps/wordsize-64/lockf64.c: File removed.
14362 * sysdeps/wordsize-64/fseeko.c: File removed.
14363 * sysdeps/wordsize-64/fseeko64.c: File removed.
14364 * sysdeps/wordsize-64/ftello.c: File removed.
14365 * sysdeps/wordsize-64/ftello64.c: File removed.
14366 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14367 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14368 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14369 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14370 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14373 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14375 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14377 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14378 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14379 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14380
14381 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14383 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14385 [defined __arch64__ || defined __sparcv9]
14386 (__OFF_T_MATCHES_OFF64_T): New macro.
14387 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14388 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14390 (__OFF_T_MATCHES_OFF64_T): New macro.
14391
c5757acd
L
143922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * stdlib/secure-getenv.c (__secure_getenv): Replace
14395 GLIBC_2_16 with GLIBC_2_17.
14396
3a31811e
L
143972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14400 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14401
faa2bccb
DM
144022012-08-03 David S. Miller <davem@davemloft.net>
14403
14404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14405
85fe1997
JM
144062012-08-03 Joseph Myers <joseph@codesourcery.com>
14407
14408 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14409 Remove.
14410 (__ASSUME_CORRECT_SI_PID): Likewise.
14411 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14412 (__ASSUME_TMPFS_NAME): Likewise.
14413 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14414 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14415 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14416 (HAVE_AUX_SECURE): Make definition unconditional.
14417 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14418 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14419
4f75b7a0
RM
144202012-08-03 Roland McGrath <roland@hack.frob.com>
14421
14422 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14423 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14424 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14425 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14426 __eloop_threshold instead of SYMLOOP_MAX.
14427
14428 * sysdeps/generic/eloop-threshold.h: New file.
14429 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14430 of MAXSYMLINKS.
14431 * elf/chroot_canon.c (chroot_canon): Likewise.
14432
7aab07e4
JM
144332012-08-03 Joseph Myers <joseph@codesourcery.com>
14434
14435 [BZ #13717]
14436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14437 Change to 2.6.0 everywhere.
14438 * sysdeps/unix/sysv/linux/configure: Regenerated.
14439 * sysdeps/unix/sysv/linux/kernel-features.h
14440 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14441 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14442 kernel versions.
14443 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14444 (__ASSUME_FUTEX_REQUEUE): Remove.
14445 (__ASSUME_STATFS64): Define unconditionally.
14446 (__ASSUME_AT_SECURE): Likewise.
14447 (__ASSUME_CORRECT_SI_PID): Likewise.
14448 (__ASSUME_TGKILL): Define without depending on kernel version for
14449 i386.
14450 (__ASSUME_UTIMES): Likewise.
14451 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14452 kernel version.
14453 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14454 (__ASSUME_TMPFS_NAME): Likewise.
14455 * README: Update reference to Linux kernel versions.
14456
b67e9372
MP
144572012-08-02 Marek Polacek <polacek@redhat.com>
14458
1f529f7d 14459 [BZ# 14150]
b67e9372
MP
14460 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14461 libc_cv_asm_type_prefix with %.
14462 * configure: Regenerated.
d2441631
RM
14463 * include/libc-symbols.h: Remove comment about
14464 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14465 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14466 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14467 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14468 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14469 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14470 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14471 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14472 * elf/tst-unique2mod1.c: Likewise.
14473 * elf/tst-unique1mod2.c: Likewise.
14474 * elf/tst-unique1mod1.c: Likewise.
14475 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14476 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14477 Replace ASM_TYPE_DIRECTIVE with .type.
14478 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14479 * sysdeps/i386/sysdep.h: Likewise.
14480 * sysdeps/x86_64/sysdep.h: Likewise.
14481 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14483 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14484 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14485 * sysdeps/powerpc/powerpc32/sysdep.h:
14486 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14487 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14488 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14489 * sysdeps/i386/fpu/e_powf.S: Likewise.
14490 * sysdeps/i386/fpu/e_expl.S: Likewise.
14491 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14493 * sysdeps/i386/fpu/e_pow.S: Likewise.
14494 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14495 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14496 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14497 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14498 * sysdeps/i386/fpu/e_log2.S: Likewise.
14499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14500 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14501 * sysdeps/i386/fpu/e_powl.S: Likewise.
14502 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14503 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14504 * sysdeps/i386/fpu/e_logl.S: Likewise.
14505 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14506 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14507 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14508 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14509 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14510 * sysdeps/i386/fpu/e_log.S: Likewise.
14511 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14512 * sysdeps/i386/fpu/e_logf.S: Likewise.
14513 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14515 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14516 * sysdeps/i386/fpu/e_log10.S: Likewise.
14517 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14518 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14519 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14520 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14521 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14522 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14523 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14524 * sysdeps/i386/i686/strtok.S: Likewise.
14525 * sysdeps/i386/i386-mcount.S: Likewise.
14526 * sysdeps/i386/strtok.S: Likewise.
14527 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14528 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14529 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14530 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14531 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14532 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14533 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14534 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14535 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14536 * sysdeps/x86_64/_mcount.S: Likewise.
14537 * sysdeps/x86_64/strtok.S: Likewise.
14538 * sysdeps/sh/_mcount.S: Likewise.
14539
2747bf9a
RM
145402012-08-01 Roland McGrath <roland@hack.frob.com>
14541
14542 * libio/iofopen.c: Include <fcntl.h>.
14543 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14544 (_IO_fopen64, fopen64): Define as aliases.
14545 * libio/iofopen64.c: Include <fcntl.h>.
14546 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14547 Conditionalize body on this.
14548 * sysdeps/wordsize-64/iofopen.c: File removed.
14549 * sysdeps/wordsize-64/iofopen64.c: File removed.
14550
3fb791b8
MP
145512012-08-01 Marek Polacek <polacek@redhat.com>
14552
14553 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14554 Use dlfcn directly instead of a variable.
14555 (binfmt-subdir): Do not define.
14556 (dlfcn): Likewise.
14557
a9f1039f
JM
145582012-08-01 Joseph Myers <joseph@codesourcery.com>
14559
23bddc06
JM
14560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14561 Remove all definitions.
14562 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14563 <kernel-features.h>.
14564 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14565 (miss_F_GETOWN_EX): Remove all definitions.
14566 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14567 macro definition.
14568 [!__ASSUME_FCNTL64]: Remove conditional code.
14569 [__ASSUME_FCNTL64]: Make code unconditional.
14570 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14571 <kernel-features.h>.
14572 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14573 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14574 (lockf64) [__NR_fcntl64]: Make code unconditional.
14575 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14576
a9f1039f
JM
14577 * sysdeps/unix/sysv/linux/kernel-features.h
14578 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14579 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14580 Make code unconditional.
14581 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14582 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14584 [__NR_vfork]: Make code unconditional.
14585 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14586 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14588 [__NR_vfork]: Make code unconditional.
14589 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14590 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14591
09c0ee5f
RM
145922012-08-01 Roland McGrath <roland@hack.frob.com>
14593
48aec5b9
RM
14594 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14595 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14596
cd97c966
RM
14597 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14598 Define mkstemp64 as an alias.
3f55550c
RM
14599 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14600 Define mkstemps64 as an alias.
cd97c966
RM
14601 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14602 Define mkostemp64 as an alias.
b8625cfc
RM
14603 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14604 Define mkostemps64 as an alias.
cd97c966
RM
14605 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14606 Conditionalize body on this.
14607 * misc/mkostemp64.c: Likewise.
b8625cfc 14608 * misc/mkostemps64.c: Likewise.
3f55550c 14609 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14610 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14611 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14612 * sysdeps/wordsize-64/mkostemp.c: File removed.
14613 * sysdeps/wordsize-64/mkstemp.c: File removed.
14614 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14616 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14617 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14618
09c0ee5f
RM
14619 [BZ #14138]
14620 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14621 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14622 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14623 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14624
14625 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14626 compat_symbol macros from <shlib-compat.h> rather than the underlying
14627 default_symbol_version and symbol_version macros, so that DEFAULT
14628 lines in shlib-versions are respected.
14629 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14630
7e66ee51
FW
146312012-08-01 Florian Weimer <fweimer@redhat.com>
14632
14633 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14634 Declare with warn_unused_result.
14635 (setgid, setregid, setegid, setresgid): Likewise.
14636 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14637 Likewise.
14638 * WUR-REPORT: Remove set*id functions.
14639
d2a54255
PT
146402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14641
14642 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14643
7ecdb005
RM
146442012-07-31 Roland McGrath <roland@hack.frob.com>
14645
b4180a5e 14646 [BZ #10191]
789bd351
RM
14647 * include/sys/socket.h (__libc_accept, __libc_accept4):
14648 Add attribute_hidden.
14649 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14650
40ce302d
RM
14651 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14652 use of PTR_MANGLE.
14653 * inet/getnetgrent_r.c (setup): Likewise.
14654
7ecdb005
RM
14655 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14656
e2eabb2c
DM
146572012-07-31 David S. Miller <davem@davemloft.net>
14658
14659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14660
d0419dbf
JM
146612012-07-31 Joseph Myers <joseph@codesourcery.com>
14662
14663 [BZ #13629]
14664 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14665 value between 1.0 and 2.0 and smaller part has absolute value less
14666 than 1.0.
14667 * math/s_clog10.c (__clog10): Likewise.
14668 * math/s_clog10f.c (__clog10f): Likewise.
14669 * math/s_clog10l.c (__clog10l): Likewise.
14670 * math/s_clogf.c (__clogf): Likewise.
14671 * math/s_clogl.c (__clogl): Likewise.
14672 * math/libm-test.inc (clog_test): Add more tests.
14673 (clog10_test): Likewise.
14674 * sysdeps/i386/fpu/libm-test-ulps: Update.
14675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14676
2bc13872
FW
146772012-07-31 Florian Weimer <fweimer@redhat.com>
14678
14679 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14680 Exit with zero in case no suitable GID is found, and write a
14681 message to standard error.
14682
bea9b193
RM
146832012-07-30 Roland McGrath <roland@hack.frob.com>
14684
14685 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14686 rather than to 1.
14687 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14688 (MAXPATHLEN): Removed.
14689 (NOGROUP, NODEV): New macros.
14690 (setbit, clrbit, isset, isclr): New macros.
14691 (howmany, roundup, powerof2): New macros.
14692 (DEV_BSIZE): New macro.
14693
14694 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14695 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14696
14697 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14698 definition on [!__NO_LONG_DOUBLE_MATH].
14699
14700 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14701 PTR_MANGLE and PTR_DEMANGLE.
14702
14703 * socket/accept4.c (accept4): Rename to __libc_accept4.
14704 Define accept4 as a weak alias.
14705
14706 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14707 on [_DIRENT_HAVE_D_TYPE].
14708 * io/ftw.c (ftw_dir): Likewise.
14709
14710 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14711
14712 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14713
14714 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14715 Use the BSD numbers rather than the arbitrary ones we had.
14716 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14717 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14718 (SIGXCPU, SIGXFSZ): New macros.
14719 (_NSIG): Now 32.
14720
14721 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14722 initializer on [_LIBC_REENTRANT].
14723
14724 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14725 definitions inside [_POSIX_MAPPED_FILES].
14726
14727 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14728
14729 * dirent/opendir.c: Include <fcntl.h>.
14730
14731 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14732 (__libc_getspecific): Likewise.
14733 (__libc_key_create): Likewise.
14734
14735 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14736 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14737 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14738 (tmpfile64): Define as alias.
14739 * sysdeps/wordsize-64/tmpfile.c: File removed.
14740 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14741 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14742 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14743
14744 * stdio-common/vfscanf.c: Include <stdbool.h>.
14745 * nss/makedb.c: Likewise.
14746 * stdio-common/_i18n_number.h: Likewise.
14747 * argp/argp-help.c: Likewise.
14748 * posix/wordexp.c: Likewise.
14749 * sysdeps/posix/spawni.c: Likewise.
14750 * nss/nss_files/files-initgroups.c: Likewise.
14751 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14752 * nss/nss_files/files-initgroups.c: Likewise.
14753 * nss/nss_db/db-netgrp.c: Likewise.
14754 * nss/nss_db/db-initgroups.c: Likewise.
14755 * io/fchmodat.c: Include <sys/stat.h>.
14756
14757 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14758 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14759
14760 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14761 [HAVE_MMAP].
14762
14763 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14764 Add multiple inclusion protection.
14765
e5abc686
DM
147662012-07-27 David S. Miller <davem@davemloft.net>
14767
14768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14769
815e6fa3
GB
147702012-07-27 Gary Benson <gbenson@redhat.com>
14771
14772 [BZ #14298]
14773 * elf/rtld.c: Include <stap-probe.h>.
14774 (dl_main): Added static probes "init_start" and "init_complete".
14775 * elf/dl-load.c: Include <stap-probe.h>.
14776 (lose): Take new parameter "nsid".
14777 Added static probe "map_failed".
14778 (_dl_map_object_from_fd): Pass namespace id to lose.
14779 Added static probe "map_start".
14780 (open_verify): Pass namespace id to lose.
14781 * elf/dl-open.c: Include <stap-probe.h>.
14782 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14783 and "reloc_complete".
14784 * elf/dl-close.c: Include <stap-probe.h>.
14785 (_dl_close_worker): Added static probes "unmap_start" and
14786 "unmap_complete".
14787 * elf/rtld-debugger-interface.txt: New file documenting the above.
14788
9f98c16c
RM
147892012-07-26 Roland McGrath <roland@hack.frob.com>
14790
14791 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14792 rather than a string variable.
14793 * sunrpc/rpc_main.c (h_output): Likewise.
14794 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14795
f3c22df3
PT
147962012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14797
14798 * inet/check_native.c: New file.
14799
3129cfc6
JM
148002012-07-26 Joseph Myers <joseph@codesourcery.com>
14801
da865e95
JM
14802 [BZ #13629]
14803 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14804 if larger part has absolute value 1.0.
14805 * math/s_clog10.c (__clog10): Likewise.
14806 * math/s_clog10f.c (__clog10f): Likewise.
14807 * math/s_clog10l.c (__clog10l): Likewise.
14808 * math/s_clogf.c (__clogf): Likewise.
14809 * math/s_clogl.c (__clogl): Likewise.
14810 * math/libm-test.inc (clog_test): Add more tests.
14811 (clog10_test): Likewise.
14812 * sysdeps/i386/fpu/libm-test-ulps: Update.
14813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14814
3129cfc6
JM
14815 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14816 (pltexit): Likewise.
14817 (La_regs): Likewise.
14818 (La_retval): Likewise.
14819 (int_retval): Likewise.
14820 Update #error for removed macros to refer only to definitions in
14821 tst-audit.h.
14822 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14823 macro.
14824 (pltexit): Likewise.
14825 (La_regs): Likewise.
14826 (La_retval): Likewise.
14827 (int_retval): Likewise.
14828 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14829 macro.
14830 (pltexit): Likewise.
14831 (La_regs): Likewise.
14832 (La_retval): Likewise.
14833 (int_retval): Likewise.
14834 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14835 macro.
14836 (pltexit): Likewise.
14837 (La_regs): Likewise.
14838 (La_retval): Likewise.
14839 (int_retval): Likewise.
14840 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14841 macro.
14842 (pltexit): Likewise.
14843 (La_regs): Likewise.
14844 (La_retval): Likewise.
14845 (int_retval): Likewise.
14846 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14847 macro.
14848 (pltexit): Likewise.
14849 (La_regs): Likewise.
14850 (La_retval): Likewise.
14851 (int_retval): Likewise.
14852 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14853 macro.
14854 (pltexit): Likewise.
14855 (La_regs): Likewise.
14856 (La_retval): Likewise.
14857 (int_retval): Likewise.
14858 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14859 macro definitions in tst-audit.h.
14860 * sysdeps/i386/tst-audit.h: New file.
14861 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14862 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14863 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14864 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14865 * sysdeps/sh/tst-audit.h: Likewise.
14866 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14867 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14868 * sysdeps/x86_64/tst-audit.h: Likewise.
14869
bfc07087
AJ
148702012-07-26 Andreas Jaeger <aj@suse.de>
14871
b1b2aaf8
AJ
14872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14873 ptrace.
14874
14875 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14876 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14877 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14878 PTRACE_O_MASK.
14879 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14880 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14881 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14882
bfc07087
AJ
14883 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14884 value.
14885
14886 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14887 _sigsys.
14888 (si_call_addr, si_syscall, si_arch): Define new macro.
14889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14890 _sigsys.
14891 (si_call_addr, si_syscall, si_arch): Define new marcro.
14892 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14893 _sigsys.
14894 (si_call_addr, si_syscall, si_arch): Define new macro.
14895 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14896 _sigsys.
14897 (si_call_addr, si_syscall, si_arch): Define new macro.
14898
89b4b02f
JM
148992012-07-25 Joseph Myers <joseph@codesourcery.com>
14900
14901 [BZ #13717]
14902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14903 Change to 2.4.21 where previously 2.4.1.
14904 * sysdeps/unix/sysv/linux/configure: Regenerated.
14905 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14906 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14907 Linux kernel version.
14908 (__ASSUME_STD_AUXV): Remove.
14909 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14910 kernel version.
14911 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14912 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14913 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14914 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14915 (__ASSUME_NETLINK_SUPPORT): Likewise.
14916 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14917 (__no_netlink_support): Remove conditional definition.
14918 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14919 Remove.
14920 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14921 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14922 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14923 (if_nameindex_ioctl): Remove.
14924 (if_nameindex_netlink): Do not handle __no_netlink_support.
14925 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14926 code.
14927 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14928 Remove conditional code.
14929 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14930 code.
14931 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14932 unconditional.
14933 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14934 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14935 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14936 Remove.
14937 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14938 [!__ASSUME_STD_AUXV]: Remove conditional code.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14940 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14941 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14943 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14944 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14945 code.
14946 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14948 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14949 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14950 conditional code.
14951 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14953 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14954 code.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14956 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14957 conditional code.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14959 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14960 code unconditional.
14961 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14962 conditional code.
14963 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14964 unconditional.
14965 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14966 conditional code.
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14968 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14969 unconditional.
14970 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14971 conditional code.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14973 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14974 code unconditional.
14975 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14976 conditional code.
14977 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14978 unconditional.
14979 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14980 conditional code.
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14982 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14983 code unconditional.
14984 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14985 conditional code.
14986 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14987 unconditional.
14988 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14989 conditional code.
14990
842a39cd
AS
149912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14992
14993 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14994 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14995 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14996 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14997 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14998 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14999 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15000 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15001 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15002 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15003 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15004 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15005 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15006 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15007 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15008 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15009 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15010 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15011 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15013 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15014 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15016
84b3fd84
FW
150172012-07-25 Florian Weimer <fweimer@redhat.com>
15018
15019 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15020 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15021 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15022 Introduce __libc_secure_getenv.
0c7936d5
FW
15023 * stdlib/Versions (2.17): Add secure_getenv
15024 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15025 * stdlib/secure-getenv.c: Rename __secure_getenv to
15026 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15027 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15028 * stdlib/tst-secure-getenv.c: New.
15029 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15030 * manual/startup.texi (Environment Access): Document
15031 secure_getenv.
84b3fd84
FW
15032 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15033 __libc_secure_getenv.
15034 * inet/ruserpass.c (ruserpass): Likewise.
15035 * malloc/mtrace.c (mtrace): Likewise.
15036 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15037 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15038 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15039 * sysdeps/posix/tempname.c: Likewise. Evaluate
15040 HAVE_SECURE_GETENV.
15041 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15042 __secure_getenv to __libc_secure_getenv.
84b3fd84 15043 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15045 Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15047 Likewise.
15048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15055
56e49b71
JM
150562012-07-25 Joseph Myers <joseph@codesourcery.com>
15057
15058 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15059 (struct La_i86_retval): Likewise.
15060 (struct La_x86_64_regs): Likewise.
15061 (struct La_x86_64_retval): Likewise.
15062 (struct La_x32_regs): Likewise.
15063 (struct La_x32_retval): Likewise.
15064 (struct La_ppc32_regs): Likewise.
15065 (struct La_ppc32_retval): Likewise.
15066 (struct La_ppc64_regs): Likewise.
15067 (struct La_ppc64_retval): Likewise.
15068 (struct La_sh_regs): Likewise.
15069 (struct La_sh_retval): Likewise.
15070 (struct La_s390_32_regs): Likewise.
15071 (struct La_s390_32_retval): Likewise.
15072 (struct La_s390_64_regs): Likewise.
15073 (struct La_s390_64_retval): Likewise.
15074 (struct La_sparc32_regs): Likewise.
15075 (struct La_sparc32_retval): Likewise.
15076 (struct La_sparc64_regs): Likewise.
15077 (struct La_sparc64_retval): Likewise.
15078 (struct audit_ifaces): Remove architecture-specific pltenter and
15079 pltexit members.
15080 * sysdeps/i386/ldsodefs.h: New file.
15081 * sysdeps/powerpc/ldsodefs.h: Likewise.
15082 * sysdeps/s390/ldsodefs.h: Likewise.
15083 * sysdeps/sh/ldsodefs.h: Likewise.
15084 * sysdeps/sparc/ldsodefs.h: Likewise.
15085 * sysdeps/x86_64/ldsodefs.h: Likewise.
15086
354691b7
MP
150872012-07-25 Marek Polacek <polacek@redhat.com>
15088
15089 [BZ #6808]
15090 * math/libm-test.inc (yn_test): Add another test.
15091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15092 to ERANGE when the result is +-Inf.
15093 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15094 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15095 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15096 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15097
bf9e2071
JM
150982012-07-24 Joseph Myers <joseph@codesourcery.com>
15099
15100 * conform/data/time.h-data (NULL): Use macro-constant. Require
15101 equal to 0.
15102 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15103 clock_t.
15104 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15105
57633811
TS
151062012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15107
15108 * configure.in <sysdeps resolving>: Correct printing
15109 Implies_before.
15110 * configure: Regenerate.
15111
c23c33b0
TS
151122012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15113
15114 * math/w_ilogb.c: Include <limits.h>.
15115 * math/w_ilogbl.c: Likewise.
15116
b5982523
JM
151172012-07-20 Joseph Myers <joseph@codesourcery.com>
15118
15119 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15120 va_copy. Document allowing for unavailable va_copy only as
15121 pre-C99 compatibility.
15122 * manual/string.texi (Copying and Concatenation): Use va_copy
15123 instead of __va_copy in concat example.
15124
ac4ea442
PT
151252012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15126
15127 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15128 (__sendto): Use create_address_port. Initialize APORT and deallocate
15129 it if not null.
15130
f98eafbd
PT
15131 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15132 with O_NOLINK passed to __file_name_lookup.
15133
898c7aab
PT
15134 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15135 with O_NOLINK passed to __file_name_lookup.
15136
0ced335a
PT
15137 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15138 negative N or less than NGIDS.
15139
b3404dbd
PT
15140 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15141 type to string_t. Set ERANGE as errno and return it if NAME is not big
15142 enough. Use memcpy instead of strncpy.
15143
0f48659e
JM
151442012-07-20 Joseph Myers <joseph@codesourcery.com>
15145
15146 * elf/Makefile (check-data): Remove.
15147 (localplt.data): New vpath directive.
15148 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15149 instead of $(check-data).
15150 * scripts/data/localplt-generic.data: Move to ...
15151 * sysdeps/generic/localplt.data: ... here.
15152 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15153 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15154 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15156 ... here.
15157 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15159 ... here.
15160 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15162 ... here.
15163 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15165 ... here.
15166 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15168 ... here.
15169 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15171 ... here.
15172
d37cbdaa
AZ
151732012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15174
15175 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15176 PPC32 and PPC64 files.
15177 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15178 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15179
46f85fc2
AK
151802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15181
15182 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15183 __makecontext_ret to ...
15184 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15185 ... here and call exit if uc_link is NULL. New file.
15186 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15187 __makecontext_ret.S.
15188 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15189 __makecontext_ret to ...
15190 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15191 ... here and call exit if uc_link is NULL. New file.
15192 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15193 __makecontext_ret.S.
15194
08f43f9b
AK
151952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15196
15197 * elf/elf.h (R_390_IRELATIVE): New definition.
15198 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15199 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15200 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15201 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15202 (elf_machine_lazy_rel): Likewise.
15203 * sysdeps/s390/dl-irel.h: New file.
15204 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15205 * sysdeps/s390/s390-64/memset.S: New asm code.
15206 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15207 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15208 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15209 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15210 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15211 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15213 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15214 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15215 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15216 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15217 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15218 * sysdeps/s390/s390-32/memset.S: New asm code.
15219 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15220
3b05db33
MP
152212012-07-17 Marek Polacek <polacek@redhat.com>
15222
15223 [BZ #14349]
15224 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15225 * sysdeps/s390/s390-64/configure.in: Likewise.
15226 * sysdeps/sparc/configure.in: Likewise.
15227 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15228 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15229 * sysdeps/i386/configure.in: Likewise.
15230 * sysdeps/x86_64/configure.in: Likewise.
15231 * sysdeps/sh/configure.in: Likewise.
15232 * sysdeps/s390/s390-32/configure: Regenerated.
15233 * sysdeps/s390/s390-64/configure: Likewise.
15234 * sysdeps/x86_64/configure: Likewise.
15235 * sysdeps/sh/configure: Likewise.
15236 * sysdeps/powerpc/powerpc64/configure: Likewise.
15237 * sysdeps/powerpc/powerpc32/configure: Likewise.
15238 * sysdeps/sparc/configure: Likwise.
15239 * sysdeps/i386/configure: Likewise.
15240
a66877c6
MP
15241 * elf/dl-open.c: Comment fixes.
15242
cfc82fd8
JM
152432012-07-17 Joseph Myers <joseph@codesourcery.com>
15244
bd29910a
JM
15245 * Makefile [CXX] (check-data): Remove.
15246 [CXX] (c++-types.data): New vpath directive.
15247 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15248 vpath. Do not allow for C++ type data being missing.
15249 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15250 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15251 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15252 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15253 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15254 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15255 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15257 ... here.
15258 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15260 ... here.
15261 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15263 ... here.
15264 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15266 ... here.
15267 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15269 ... here.
15270 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15272 ... here.
15273 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15275 ... here.
15276 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15278
cfc82fd8
JM
15279 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15280 definitions to architecture-specific files.
15281 (TLS_IE): Likewise.
15282 (TLS_LD): Likewise.
15283 (TLS_GD): Likewise.
15284 * sysdeps/i386/tls-macros.h: New file.
15285 * sysdeps/powerpc/tls-macros.h: Likewise.
15286 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15287 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15288 * sysdeps/sh/tls-macros.h: Likewise.
15289 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15290 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15291 * sysdeps/x86_64/tls-macros.h: Likewise.
15292
f7db3170
TS
152932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15294
07cbfc23
TS
15295 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15296 zero value for regular exit case.
15297
f7db3170
TS
15298 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15299 (__start_context): Preserve zero value for regular exit case.
15300
dc97c227
TS
153012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15302 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15303
15304 * manual/setjmp.texi (setcontext): Clarify normal process
15305 termination when uc_link is the null pointer.
15306 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15307 exit call.
15308
d0cd7d02
AS
153092012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15310
15311 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15312 preprocessor. Test for each exception mask separately.
15313
dd318934
AJ
153142012-07-16 Andreas Jaeger <aj@suse.de>
15315
15316 * po/ru.po: Update from translation team.
15317
8048311a
JM
153182012-07-15 Joseph Myers <joseph@codesourcery.com>
15319
15320 * conform/data/string.h-data (NULL): Use macro-constant. Require
15321 equal to 0.
15322 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15323 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15324 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15325 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15327
b637d46e
AJ
153282012-07-13 Andreas Jaeger <aj@suse.de>
15329
15330 * po/fr.po: Update from translation team.
15331
541428fe
MP
153322012-07-12 Marek Polacek <polacek@redhat.com>
15333
15334 [BZ #14173]
15335 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15336 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15337 loop condition.
15338
ec332e94
JM
153392012-07-12 Joseph Myers <joseph@codesourcery.com>
15340
15341 [BZ #13717]
15342 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15343 Change to 2.4.1 where previously 2.4.0.
15344 * sysdeps/unix/sysv/linux/configure: Regenerated.
15345 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15346 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15347 version.
15348 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15349 (__ASSUME_AT_CLKTCK): Remove.
15350 (__ASSUME_AT_PAGESIZE): Likewise.
15351 (__ASSUME_AT_XID): Likewise.
15352 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15353 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15354 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15355 unconditionally.
15356 (HAVE_AUX_PAGESIZE): Likewise.
15357 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15358 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15359 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15360
7b6e99be
JB
153612012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15362
15363 [BZ #14307]
15364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15365 the temporary buffer used to invoke __gethostbyname2_r,
15366 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15367 host_data / struct gaih_addrtuple.
15368 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15369 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15370 header file nss/nsswitch.h.
15371 * nss/nsswitch.h (global scope): Add definition of implementation
15372 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15373 resolv/nss_dns/dns-host.c).
15374
608404eb
AJ
153752012-07-11 Andreas Jaeger <aj@suse.de>
15376
15377 * po/fr.po: Update from translation team.
15378
71220aca
AJ
15379 * po/sv.po: Update from translation team
15380 * po/fr.po: Another update from translation team.
15381
28cfe843
AZ
153822012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383
15384 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15385 for subnormals or multiply small sinh result by itself.
15386 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15388
6b90f981
DM
153892012-07-11 David S. Miller <davem@davemloft.net>
15390
15391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15392
c6825772
AS
153932012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15394
15395 [BZ #14347]
15396 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15397 (INTERNAL_MARK): Shift it here.
15398
7b8e0d49
MP
153992012-07-10 Marek Polacek <polacek@redhat.com>
15400
15401 [BZ #14151]
15402 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15403 libc_cv_asm_global_directive with .globl.
15404 * configure: Regenerated.
15405 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15406 with .globl.
15407 * sysdeps/i386/configure: Regenerated.
15408 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15409 with .globl.
15410 * sysdeps/x86_64/configure: Regenerated.
15411 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15412 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15413 * elf/tst-unique2mod2.c: Likewise.
15414 * elf/tst-unique2mod1.c: Likewise.
15415 * elf/tst-unique1mod2.c: Likewise.
15416 * elf/tst-unique1mod1.c: Likewise.
15417 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15418 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15419 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15420 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15421 * sysdeps/mach/sysdep.h: Likewise.
15422 * sysdeps/i386/sysdep.h: Likewise.
15423 * sysdeps/i386/i386-mcount.S: Likewise.
15424 * sysdeps/x86_64/_mcount.S: Likewise.
15425 * sysdeps/x86_64/sysdep.h: Likewise.
15426 * sysdeps/sh/_mcount.S: Likewise.
15427 * sysdeps/sh/sysdep.h: Likewise.
15428 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15430 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15431 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15432 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15433 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15434 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15435 * locale/localeinfo.h: Likewise.
15436 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15437 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15438
6c55cda3
RM
154392012-07-09 Roland McGrath <roland@hack.frob.com>
15440
15441 [BZ #14336]
15442 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15443 system".
15444 * manual/message.texi (The Uniforum approach): Likewise.
15445 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15446 (glibc iconv Implementation): Likewise.
15447
638a572e
JM
154482012-07-09 Joseph Myers <joseph@codesourcery.com>
15449
15450 [BZ #14337]
15451 * math/s_clog.c (__clog): Avoid scaling a value down where that
15452 could result in underflow.
15453 * math/s_clog10.c (__clog10): Likewise.
15454 * math/s_clog10f.c (__clog10f): Likewise.
15455 * math/s_clog10l.c (__clog10l): Likewise.
15456 * math/s_clogf.c (__clogf): Likewise.
15457 * math/s_clogl.c (__clogl): Likewise.
15458 * math/libm-test.inc (clog_test): Add more tests.
15459 (clog10_test): Likewise.
15460 * sysdeps/i386/fpu/libm-test-ulps: Update.
15461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15462
261f4859
AS
154632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15464
0abaf3e4
AS
15465 [BZ #14283]
15466 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15467 by 7 not 8 to examine high bit of fractional part.
15468
261f4859
AS
15469 [BZ #14042]
15470 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15471 for call to __mcount_internal.
15472 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15473 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15474 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15475
f17ac40d
JM
154762012-07-06 Joseph Myers <joseph@codesourcery.com>
15477
9ad63c23
JM
15478 [BZ #14154]
15479 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15480 approximation for values within 0x1p-13f of an odd multiple of
15481 pi/4.
15482 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15483 exception. Add more tests.
15484 * sysdeps/i386/fpu/libm-test-ulps: Update.
15485
f17ac40d
JM
15486 [BZ #6778]
15487 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15488 inputs and return -1 for them. Do not check for +Inf in case not
15489 reachable for +Inf.
15490 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15491 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15493 and return -1 for them. Do not check for +Inf in case not
15494 reachable for +Inf.
15495 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15496 define.
15497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15498 and return -1 for them. Do not check for +Inf in case not
15499 reachable for +Inf.
15500 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15501 spurious underflow.
15502 * sysdeps/i386/fpu/libm-test-ulps: Update.
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15504
fb21f89b
MF
155052012-07-06 Mike Frysinger <vapier@gentoo.org>
15506
15507 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15508
cdfe2c5e
JM
155092012-07-05 Joseph Myers <joseph@codesourcery.com>
15510
15511 [BZ #14157]
15512 [BZ #14331]
15513 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15514 could result in spurious underflow. Scale down values above
15515 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15516 * math/s_csqrtf.c (__csqrtf): Likewise.
15517 * math/s_csqrtl.c (__csqrtl): Likewise.
15518 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15519 spurious underflow.
15520 * sysdeps/i386/fpu/libm-test-ulps: Update.
15521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15522
70d35b67
AS
155232012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15524
704bc459
AS
15525 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15526 xopen-msg.sed.
15527 * catgets/xopen-msg.awk: New file.
15528 * catgets/xopen-msg.sed: Removed.
15529
70d35b67
AS
15530 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15531 po2text.sed.
15532 * intl/po2test.awk: New file.
15533 * intl/po2test.sed: Removed.
15534
ca61cf32
JM
155352012-07-04 Joseph Myers <joseph@codesourcery.com>
15536
15537 [BZ #14328]
15538 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15539 or multiply small sinh result by itself.
15540 * math/s_ctanf.c (__ctanf): Likewise.
15541 * math/s_ctanh.c (__ctanh): Likewise.
15542 * math/s_ctanhf.c (__ctanhf): Likewise.
15543 * math/s_ctanhl.c (__ctanhl): Likewise.
15544 * math/s_ctanl.c (__ctanl): Likewise.
15545 * math/libm-test.inc (ctan_test_tonearest): New function.
15546 (ctan_test_towardzero): Likewise.
15547 (ctan_test_downward): Likewise.
15548 (ctan_test_upward): Likewise.
15549 (ctanh_test_tonearest): Likewise.
15550 (ctanh_test_towardzero): Likewise.
15551 (ctanh_test_downward): Likewise.
15552 (ctanh_test_upward): Likewise.
15553 (main): Call these new functions.
15554 * sysdeps/i386/fpu/libm-test-ulps: Update.
15555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15556
ca48a46a
MF
155572012-07-03 Mike Frysinger <vapier@gentoo.org>
15558
15559 * .gitignore: Delete /ports entry.
15560
9d63d37d
AJ
155612012-07-03 Andreas Jaeger <aj@suse.de>
15562
15563 * po/bg.po: Update from translation team.
15564 * po/cs.po: Likewise.
15565 * po/de.po: Likewise.
15566 * po/hr.po: Likewise.
15567 * po/nl.pl: Likewise.
15568 * po/pl.po: Likewise.
15569 * po/vi.po: Likewise.
15570
370ca3d2
JM
155712012-07-03 Joseph Myers <joseph@codesourcery.com>
15572
95f5a9a8
JM
15573 * Makeconfig [!+link] (+link-before-libc): New variable.
15574 [!+link] (+link-after-libc): Likewise.
15575 [!+link] (+link-tests): Likewise.
15576 [!+link] (+link): Define in terms of $(+link-before-libc) and
15577 $(+link-after-libc).
15578 [!+link-static] (+link-static-before-libc): New variable.
15579 [!+link-static] (+link-static-after-libc): Likewise.
15580 [!+link-static] (+link-static-tests): Likewise.
15581 [!+link-static] (+link-static): Define in terms of
15582 $(+link-static-before-libc) and $(+link-static-after-libc).
15583 [build-shared] (link-libc-before-gnulib): New variable.
15584 [build-shared] (link-libc-tests): Likewise.
15585 [build-shared] (link-libc): Define in terms of
15586 $(link-libc-before-gnulib).
15587 [!build-shared] (link-libc-tests): New variable.
15588 (link-libc-static-tests): New variable.
15589 [!gnulib] (gnulib-arch): New variable.
15590 [!gnulib] (gnulib-tests): Likewise.
15591 [!gnulib] (static-gnulib-arch): Likewise.
15592 [!gnulib] (static-gnulib-tests): Likewise.
15593 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15594 Define with "=" instead of ":=".
15595 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15596 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15597 * Rules (binaries-all-notests): New variable.
15598 (binaries-all-tests): Likewise.
15599 (binaries-static-notests): Likewise.
15600 (binaries-static-tests): Likewise.
15601 (binaries-all): Define using $(binaries-all-notests) and
15602 $(binaries-all-tests).
15603 (binaries-static): Define using $(binaries-static-notests) and
15604 $(binaries-static-tests).
15605 (binaries-shared-tests): New variable.
15606 (binaries-shared-notests): Likewise.
15607 (binaries-shared): Remove variable.
15608 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15609 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15610 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15611 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15612 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15613 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15614 * elf/Makefile (sln-modules): New variable.
15615 (extra-objs): Add $(sln-modules:=.o).
15616 (ldconfig-modules): Add static-stubs.
15617 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15618 * elf/static-stubs.c: New file.
15619
7a845b2c
JM
15620 [BZ #14283]
15621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15622 by 7 not 8 to examine high bit of fractional part. Use volatile
15623 variables when splitting into final array of floats if
15624 __FLT_EVAL_METHOD__ != 0.
15625 * math/libm-test.inc (cos_test): Add another test.
15626 (sin_test): Likewise.
15627 * sysdeps/i386/fpu/libm-test-ulps: Update.
15628
e2283f38
JM
15629 [BZ #14273]
15630 * math/libm-test.inc (cosh_test): Add more tests.
15631
370ca3d2
JM
15632 * version.h (RELEASE): Set to "development".
15633 (VERSION): Set to "2.16.90".
15634
ee9247c3
CD
156352012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15636
15637 * NEWS: Update copyright. Remove last-updated date.
15638 Mention math library bug fixes and timezone data changes.
15639 * README: Mention GNU/Hurd, x32, and HPPA support status.
15640
4648c381
TS
156412012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15642
15643 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15644
aac78a43
AJ
156452012-06-27 Andreas Jaeger <aj@suse.de>
15646
15647 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15648
ed3dbfad
AJ
156492012-06-25 Andreas Jaeger <aj@suse.de>
15650
15651 * sysdeps/s390/fpu/libm-test-ulps: Update.
15652
4d0ee855
AS
156532012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15654 Thomas Schwinge <thomas@codesourcery.com>
15655
15656 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15657 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15659 fanotify_mark.
15660
af1bce34
TS
156612012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15662
a9fa33ba
TS
15663 * sysdeps/mach/start.c: Remove file.
15664 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15665 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15666 * sysdeps/sh/init-first.c: Likewise.
15667
58f902b8
TS
15668 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15669 registers for frame unwinding purposes, add CFI directives.
15670 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15671 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15672 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15673 Likewise.
15674
1518f58b
TS
15675 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15676 __fortify_fail returning.
15677 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15678
db9b5059
TS
15679 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15680 sysdeps/sh/____longjmp_chk.S.
15681 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15682 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15683 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15684 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15685
967705fe
TS
15686 * sysdeps/sh/abort-instr.h: New file.
15687 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15688 process in case exit returns.
15689
a9def8c4
TS
15690 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15691 initialize the GOT register before use.
15692
2a649725
TS
15693 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15694 calculation of ARGC > 4.
15695
af1bce34
TS
15696 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15697 meaningful names to some local labels.
15698
d230f50a
KK
156992012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15700 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15701
15702 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15703 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15704 (__arch_compare_and_exchange_val_16_acq): Likewise.
15705 (__arch_compare_and_exchange_val_32_acq): Likewise.
15706 (atomic_exchange_and_add): Fix gUSA sequence.
15707 (atomic_add): Likewise.
15708 (atomic_add_negative): Likewise.
15709 (atomic_add_zero): Likewise.
15710 (atomic_bit_test_set): Likewise.
15711
0479b305
AS
157122012-06-22 Andreas Schwab <schwab@redhat.com>
15713
15714 [BZ #13579]
15715 * include/link.h (struct link_map): Add l_free_initfini.
15716 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15717 l_initfini.
15718 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15719 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15720 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15721 set.
15722
0e3933b9
CD
157232012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15724
15725 * configure.in: Use AC_LANG_SOURCE.
15726 * configure: Regenerate.
15727
4248b1b1
RM
157282012-06-22 Roland McGrath <roland@hack.frob.com>
15729
15730 * configure.in (libc_cv_localstatedir): New substituted variable.
15731 * configure: Regenerated.
15732 * config.make.in (localstatedir): New variable, substituted from
15733 libc_cv_localstatedir.
15734 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15735 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15736 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15737 * sysdeps/gnu/configure: Regenerated.
15738
006dd861
JL
157392012-06-21 Jeff Law <law@redhat.com>
15740
15741 [BZ #14277]
15742 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15743 free. Simplify list management for _LIBC case.
15744
79662d42
JM
157452012-06-21 Joseph Myers <joseph@codesourcery.com>
15746
b7abb4bf
JM
15747 [BZ #14273]
15748 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15749 Clear sign bit of 64-bit integer value before comparing against
15750 overflow value.
15751
79662d42
JM
15752 * sysdeps/mach/configure: Regenerated.
15753
1f150908
L
157542012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15755
15756 [BZ #14278]
15757 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15758
28363bbf
JL
157592012-06-21 Jeff Law <law@redhat.com>
15760
15761 [BZ #13882]
15762 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15763 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15764 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15765 * elf/dl-open.c (dl_open_worker): Likewise.
15766
09615db4
CD
157672012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15768
15769 * scripts/list-sources.sh: Scan PORTS for translations.
15770 * po/libc.pot: Regenerated.
15771
2174c6dd
AJ
157722012-06-21 Andreas Jaeger <aj@suse.de>
15773
15774 [BZ #12194]
15775 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15776 warning.
15777 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15778 * bits/byteswap-16.h (__bswap_16): Likewise.
15779 * bits/byteswap.h (__bswap_constant_16): Likewise.
15780
3ee947b1
L
157812012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15782
15783 [BZ #14117]
a2f34833
L
15784 * sysdeps/i386/fpu_control.h: Removed.
15785 * sysdeps/x86_64/fpu_control.h: Moved to ...
15786 * sysdeps/x86/fpu_control.h: Here.
15787
3ee947b1
L
15788 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15789 (_FPU_SETCW): Likewise.
15790
ed1825f8
L
157912012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15792
25f1282a
L
15793 [BZ #14117]
15794 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15795 * sysdeps/x86/fpu/bits/mathinline.h: This.
15796 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15797
ed1825f8
L
15798 [BZ #14050]
15799 [BZ #14117]
15800 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15801 functions if __x86_64__ is defined.
15802
36d54b74
CLT
158032012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15804
15805 * string/endian.h: Add !__ASSEMBLER__ condition for including
15806 conversion interfaces.
15807
10285c21
JM
158082012-06-15 Joseph Myers <joseph@codesourcery.com>
15809
15810 [BZ #14241]
15811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15812 of ABS(x) in calculating zero to negative powers other than odd
15813 integers.
15814 * math/libm-test.inc (pow_test): Add more tests.
15815
06c5abbd
AJ
158162012-06-15 Andreas Jaeger <aj@suse.de>
15817
15818 * manual/contrib.texi (Contributors): Update entry of Liubov
15819 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15820 Machado Filho.
15821
a3aeac40
CH
158222012-06-15 Cyril Hrubis <metan@ucw.cz>
15823
15824 * string/string.h: Add __wur to GNU version of strerror_r.
15825
49bdf4c1
L
158262012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15827
15828 [BZ #14229]
15829 * string/Makefile (tests): Add tst-strtok_r.
15830 * string/tst-strtok_r.c: New file.
15831 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15832 RAX_LP/RDX_LP on SAVE_PTR.
15833
834f9b8d
RM
158342012-06-14 Roland McGrath <roland@hack.frob.com>
15835
15836 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15837
75fa1921
JM
158382012-06-14 Joseph Myers <joseph@codesourcery.com>
15839
15840 * libm_test.inc (csqrt_test): Allow more spurious underflow
15841 exceptions.
15842 (j0_test): Likewise.
15843 (j1_test): Likewise.
15844 (y0_test): Likewise.
15845 (y1_test): Likewise.
15846
771766df
CD
158472012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15848
15849 * po/Makefile (libc.pot): Use UTF-8 charset.
15850
ceb9e56b
PP
158512012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15852
15853 [BZ #14210]
15854 Suppress sign-conversion warning from FD_SET.
15855 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15856 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15857 not unsigned long int.
15858 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15859
ddb28975
L
158602012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15861
15862 [BZ #14050]
15863 [BZ #14117]
15864 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15865 __extern_always_inline instead of __extern_inline.
15866 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15867 (__signbit): Likewise.
15868 (__signbitl): Support C++ namespace.
15869 (lrintf): New inline function.
15870 (lrint): Likewise.
15871 (llrintf): Likewise.
15872 (llrint): Likewise.
15873 (fmaxf): Likewise.
15874 (fmax): Likewise.
15875 (fminf): Likewise.
15876 (fmin): Likewise.
15877 (rint): Likewise.
15878 (rintf): Likewise.
15879 (ceil): Likewise.
15880 (ceilf): Likewise.
15881 (floor): Likewise.
15882 (floorf): Likewise.
15883 (nearbyint): Likewise.
15884 (nearbyintf): Likewise.
15885
d7b4fb26
TS
158862012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15887
15888 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15889 non-default versions.
15890
eb55f5c2
RM
158912012-06-11 Roland McGrath <roland@hack.frob.com>
15892
15893 [BZ #14218]
15894 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15895
366af02c
TS
158962012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15897
99ff6e5c
TS
15898 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15899 (FE_UPWARD, FE_DOWNWARD): Don't define.
15900 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15901 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15902
366af02c
TS
15903 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15904 reading it.
15905 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15906 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15907
793ea851
KK
159082012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15909
15910 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15912 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15913 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15914
a728a38f
L
159152012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15916
15917 [BZ #14117]
c08010c7
L
15918 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15919 * sysdeps/i386/fpu/Implies: New file.
15920 * sysdeps/x86_64/fpu/Implies: Likewise.
15921 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15922 * sysdeps/x86/fpu/bits/fenv.h: This.
15923
a728a38f
L
15924 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15925 __SSE_MATH__.
15926
6e230d11
SP
159272012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15928
15929 [BZ #14134]
15930 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15931 character 0xffff that matches the last element of the
15932 conversion table.
15933
1b671feb
AZ
159342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15935
15936 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15937 fmodl commit.
15938
6043738b
AZ
159392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15940
15941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15942 values higher than 25.6283.
15943
34ae0b32
AZ
159442012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15945
15946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15947 subnormal exponent extraction and add some __builtin_expect.
15948 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15949 Fix for subnormal mantissa calculation.
15950
1214ec8f
MF
159512012-06-04 Mike Frysinger <vapier@gentoo.org>
15952
15953 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15954 cpu2 is -1 and errno is not ENOSYS.
15955
f3d1f93c
L
159562012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15957
15958 [BZ #14117]
0e4a3cd7
L
15959 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15960 * sysdeps/x86/bits/string.h: This.
15961 * sysdeps/x86_64/bits/string.h: Removed.
15962
6704c645
L
15963 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15964 if not compiling for x86-64, but compiling for >= i486.
15965
48495318
L
15966 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15967 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15968
14adcbfc
L
15969 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15970 New macro from Linux kernel 3.4.0.
15971 (FP_XSTATE_MAGIC2): Likewise.
15972 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15973 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15974 (struct _fpx_sw_bytes): New struct.
15975 (struct _xsave_hdr): Likewise.
15976 (struct _ymmh_state): Likewise.
15977 (struct _xstate): Likewise.
15978
68e408ab
L
15979 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15980 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15981 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15982 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15983 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15984 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15985
f3d1f93c
L
15986 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15987 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15988 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15989 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15990 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15991 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15992
d9dc34cd
TMQMF
159932012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15994
15995 [BZ #13743]
15996 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15997 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15998 (sysdep_headers): Include sys/platform/ppc.h.
15999 * sysdeps/powerpc/test-gettimebase.c: Test for
16000 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16001 * manual/Makefile (appendices): Include platform.texi.
16002 * manual/contrib.texi (Contributors): Update @node pointers.
16003 * manual/maint.texi (Maintenance): Likewise.
16004 (Platform): New node.
16005 * manual/platform.texi: New file. Document the new features.
16006
4af3879c
SP
160072012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16008 Jakub Jelinek <jakub@redhat.com>
16009
16010 [BZ #14188]
16011 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16012 where __builtin_expect is unavailable.
16013
2fd6ff13
DM
160142012-06-03 David S. Miller <davem@davemloft.net>
16015
16016 * stdlib/longlong.h: Updated from GCC.
16017
173f7220
AS
160182012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16019
16020 [BZ #14042]
16021 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16022 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16023 __mcount_internal.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16025 (GLIBC_2.16): Likewise.
16026
f34a1c6f
L
160272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16028
16029 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16030
88a4576f
JM
160312012-06-01 Joseph Myers <joseph@codesourcery.com>
16032
ea32bcdd
JM
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16034 (default-abi): New variable.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16036 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16037 variable.
16038 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16039 Likewise.
16040 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16041 Likewise.
16042 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16043 Likewise.
16044
88a4576f
JM
16045 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16046 definition. Document in comment.
16047
402fe938
DM
160482012-06-01 David S. Miller <davem@davemloft.net>
16049
16050 * stdlib/longlong.h: Updated from GCC.
16051
3553723f
L
160522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16053
16054 [BZ #14117]
3bd872c4
L
16055 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16056 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16057 sys/debugreg.h sys/io.h here.
16058 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16059 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16060 sys/io.h.
16061 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16062 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16063 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16064 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16065 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16066 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16067
3553723f
L
16068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16069 Define only if __x86_64__ is defined.
16070
4842e4fe
JM
160712012-06-01 Joseph Myers <joseph@codesourcery.com>
16072
c5bfe3d5
JM
16073 [BZ #14048]
16074 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16075 Use int64_t for variable i.
16076 * math/libm-test.inc (fmod_test): Add more tests.
16077
4842e4fe
JM
16078 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16079 z computation is not scheduled after fetestexcept.
16080 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16081 Use math_force_eval instead of asm to ensure calculation scheduled
16082 before exception test.
16083 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16084 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16085
efb73488
AJ
160862012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16087
16088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16089 computation is not scheduled after fetestexcept.
16090
29bcce7c
L
160912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16092
16093 [BZ #14117]
16094 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16095 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16096
73a68f94
AZ
160972012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16098
16099 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16100 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16101
67b6df78
L
161022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16103
edf2933a 16104 [BZ #14117]
ebc64a18
L
16105 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16106 <bits/wordsize.h>.
16107 (__WCHAR_MIN): Support __WORDSIZE == 64.
16108 (__WCHAR_MAX): Likewise.
16109
edf2933a
L
16110 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16111 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16112
57c6cf40
L
16113 [BZ #14183]
16114 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16115 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16116
67b6df78 16117 [BZ #14117]
8eb6281e
L
16118 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16119 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16120
aac639f4
L
16121 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16122 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16123
67b6df78
L
16124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16125 Defined to 1 if __x86_64__ isn't defined.
16126 (_STAT_VER_LINUX_OLD): New.
16127 (st_atime): Remove duplicate.
16128 (st_mtime): Likewise.
16129 (st_ctime): Likewise.
16130
1c2cfe81
DM
161312012-05-31 David S. Miller <davem@davemloft.net>
16132
16133 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16134 entries.
16135
5be8418c
AS
161362012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16137
e7725326
AS
16138 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16139 gen-libm-test.pl.
16140
5be8418c
AS
16141 [BZ #14132]
16142 * elf/dl-reloc.c: Include <_itoa.h>.
16143 (_dl_reloc_bad_type): Remove use of INTUSE.
16144 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16145 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16146 * stdio-common/psiginfo.c (psiginfo): Likewise.
16147 * stdio-common/psignal.c (psignal): Likewise.
16148 * string/strsignal.c (strsignal): Likewise.
16149 * include/signal.h (_sys_siglist): Declare hidden proto.
16150 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16151 INTVARDEF with libc_hidden_data_def.
16152 * stdio-common/itoa-udigits.c: Likewise.
16153 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16154 (_itoa_lower_digits_internal): Remove declaration.
16155 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16156 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16157 (_sys_sigabbrev_internal): Remove aliases.
16158 (_sys_siglist): Define hidden alias.
16159
507352f1
MT
161602012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16161
16162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16163 bits/sysctl.h.
16164
42bbb1c3
L
161652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16166
16167 [BZ #14117]
6bd784b6
L
16168 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16169 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16170
8bca20f0
L
16171 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16172 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16173 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16174 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16176 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16177
f9e890a9
L
16178 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16179 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16180 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16181
471101a1
L
16182 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16183 with __addr.
16184 (insw): Likewise.
16185 (insl): Likewise.
16186 (outsb): Likewise.
16187 (outsw): Likewise.
16188 (outsl): Likewise.
16189
6451c862
L
16190 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16191 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16192 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16193
a254b8c9
L
16194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16195 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16196 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16197 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16198 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16199 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16200
b8dfdd92
L
16201 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16202 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16203
578cd270
L
16204 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16205 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16206
de662f5f
L
16207 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16210
25653439
L
16211 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16212 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16213 to ...
16214 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16215
6bad24a0
L
16216 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16217 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16218 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16219
42bbb1c3
L
16220 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16221 for x86-64.
16222 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16223
2d10d547
JM
162242012-05-31 Joseph Myers <joseph@codesourcery.com>
16225
16226 * math/math.h (M_El): Use two more decimal places.
16227 (M_LOG2El): Likewise.
16228 (M_LOG10El): Likewise.
16229 (M_LN2l): Likewise.
16230 (M_LN10l): Likewise.
16231 (M_PIl): Likewise.
16232 (M_PI_2l): Likewise.
16233 (M_PI_4l): Likewise.
16234 (M_1_PIl): Likewise.
16235 (M_2_PIl): Likewise.
16236 (M_2_SQRTPIl): Likewise.
16237 (M_SQRT2l): Likewise.
16238 (M_SQRT1_2l): Likewise.
16239
f230c29b
DM
162402012-05-31 David S. Miller <davem@davemloft.net>
16241
16242 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16243 values between float registers.
16244 * sysdeps/sparc/sparc64/memset.S: Likewise.
16245 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16246
fed806c3
MF
162472012-05-31 Mike Frysinger <vapier@gentoo.org>
16248
16249 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16250 -D_FORTIFY_SOURCE=1.
16251 (CPPFLAGS-tst-longjmp_chk.c): Define.
16252 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16253 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16254 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16255 CFLAGS-tst-wchar-h.c.
16256
30917259
MP
162572012-05-31 Marek Polacek <polacek@redhat.com>
16258
16259 [BZ #14132]
16260 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16261 __endmntent_internal): Remove declaration.
16262 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16263 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16264 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16265
1c58d5dc
DM
162662012-05-30 David S. Miller <davem@davemloft.net>
16267
16268 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16269 (___Q_simulate_exceptions): Use real FP ops rather than writing
16270 into the %fsr.
16271 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16272 Likewise.
16273
7dc00e0d
L
162742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 [BZ #14117]
0bd53985
L
16277 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16278 * sysdeps/x86/bits/xtitypes.h: This.
16279
3a257e66
L
16280 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16281 * sysdeps/x86/bits/wordsize.h: This.
16282
62f62904
L
16283 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16284 * sysdeps/x86/bits/huge_vall.h: This.
16285
404fe9d9
L
16286 * sysdeps/i386/bits/select.h: Removed.
16287 * sysdeps/x86_64/bits/select.h: Renamed to ...
16288 * sysdeps/x86/bits/select.h: This.
16289
d48d0446
L
16290 * sysdeps/i386/bits/setjmp.h: Removed.
16291 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16292 * sysdeps/x86/bits/setjmp.h: This.
16293
7dc00e0d
L
16294 * sysdeps/i386/bits/mathdef.h: Removed.
16295 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16296 * sysdeps/x86/bits/mathdef.h: This.
16297
03277f8f
AS
162982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16299
16300 [BZ #14132]
16301 * include/sys/socket.h (__connect_internal)
16302 (__libc_sa_len_internal): Remove declaration.
16303 (__connect, __libc_sa_len): Declare hidden_proto.
16304 (SA_LEN): Remove use of INTUSE.
16305 * socket/connect.c: Add libc_hidden_def.
16306 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16307 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16308 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16309 alias.
16310 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16311 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16312 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16313 of adding _internal alias.
16314
13764867
L
163152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16316
16317 [BZ #14117]
6bd97696
L
16318 * sysdeps/i386/bits/link.h: Removed.
16319 * sysdeps/i386/bits/linkmap.h: Likewise.
16320 * sysdeps/x86_64/bits/link.h: Renamed to ...
16321 * sysdeps/x86/bits/link.h: This.
16322 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16323 * sysdeps/x86/bits/linkmap.h: This.
16324
f726f0bb
L
16325 * sysdeps/i386/bits/endian.h: Removed.
16326 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16327 * sysdeps/x86/bits/endian.h: This.
16328
13764867
L
16329 * sysdeps/i386/bits/byteswap.h: Removed.
16330 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16331 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16332 * sysdeps/x86/bits/byteswap.h: This.
16333 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16334 * sysdeps/x86/bits/byteswap-16.h: This.
16335 * sysdeps/i386/Implies: Add x86.
16336 * sysdeps/x86_64/Implies: Likewise.
16337
ae251b0b
DM
163382012-05-30 David S. Miller <davem@davemloft.net>
16339
16340 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16341 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16343 (FP_TRAPPING_EXCEPTIONS): Define.
16344 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16345 (FP_TRAPPING_EXCEPTIONS): Define.
16346 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16347 subnormals only when inexact has been signalled or underflow
16348 exceptions are enabled.
16349 (_FP_PACK_CANONICAL): Likewise.
16350
d5c90867
L
163512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16352
16353 [BZ #14183]
16354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16355 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16356
63f1549e
RH
163572012-05-30 Richard Henderson <rth@twiddle.net>
16358
8d8f2279
RH
16359 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16360 with #ifndef NOT_IN_libc.
16361
63f1549e
RH
16362 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16363 marked to avoid plt entry.
16364
0ab0291b
L
163652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16366
16367 [BZ #14112]
16368 * Makeconfig (default-abi): New macro.
16369 (abi-includes): Likewise.
16370 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16371 $(abi-$(default-abi)-lib-soname) for soname if defined.
16372 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16373 abi-variants.
16374 * Makefile (installed-stubs): Likewise.
16375 * include/stubs-biarch.h: Removed.
16376 * scripts/lib-names.awk: Only handle one library at a time.
16377 * scripts/soversions.awk: Remove WORDSIZE support.
16378 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16379 entries.
16380 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16381 Removed.
16382 (syscall-list-default-condition): Likewise.
16383 (syscall-list-default-condition): Likewise.
16384 (syscall-list-includes): Likewise.
16385 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16386 syscall-list-* with abi-*. Handle undefined abi-variants.
16387 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16388 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16389 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16390 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16391 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16392 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16393 Removed.
16394 (syscall-list-32-options): Likewise.
16395 (syscall-list-32-condition): Likewise.
16396 (syscall-list-64-options): Likewise.
16397 (syscall-list-64-condition): Likewise.
16398 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16399 macro.
16400 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16401 Renamed to ...
16402 (abi-*): This.
16403 (abi-64-ld-soname): New macro.
16404 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16405 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16406 Renamed to ...
16407 (abi-*): This.
16408 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16409 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16410
4da0431d
JM
164112012-05-30 Joseph Myers <joseph@codesourcery.com>
16412
3a85279c
JM
16413 * sysdeps/unix/sysv/linux/kernel-features.h
16414 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16415 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16416 include <kernel-features.h>.
16417 [!__NR_ftruncate64]: Remove conditional code.
16418 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16419 [__NR_ftruncate64]: Make code unconditional.
16420 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16421 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16422 include <kernel-features.h>.
16423 [!__NR_ftruncate64]: Remove conditional code.
16424 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16425 [__NR_ftruncate64]: Make code unconditional.
16426 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16428 include <kernel-features.h>.
16429 [!__NR_ftruncate64]: Remove conditional code.
16430 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16431 [__NR_ftruncate64]: Make code unconditional.
16432 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16434 include <kernel-features.h>.
16435 [!__NR_ftruncate64]: Remove conditional code.
16436 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16437 [__NR_ftruncate64]: Make code unconditional.
16438 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16439
4da0431d
JM
16440 * configure.in (libc_cv_fpie): Weaken to a compile test using
16441 LIBC_TRY_CC_OPTION.
16442 * configure: Regenerated.
16443
11ef492c
AK
164442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16445
16446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16450 Refreshed.
16451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16457 Refreshed.
16458
d66ef399
DM
164592012-05-27 David S. Miller <davem@davemloft.net>
16460
16461 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16462 (___Q_zero): New.
16463 (__Q_simulate_exceptions): Return void. Change to simulate
16464 exceptions by writing into the %fsr.
16465 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16466 (__Qp_handle_exceptions): Likewise.
16467 (numbers): Delete.
16468 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16469 __Qp_handle_exceptions.
16470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16471 __Qp_handle_exceptions.
16472 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16473 as unused and give dummy FP_RND_NEAREST initializer.
16474 (FP_INHIBIT_RESULTS): Define.
16475 (___Q_simulate_exceptions): Update declaration.
16476 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16477 formatting.
16478 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16479 as unused and give dummy FP_RND_NEAREST initializer.
16480 (__Qp_handle_exceptions): Update declaration.
16481 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16482 formatting.
16483
04fb54b5
TS
164842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16485
16486 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16487 the temporary FPU control word.
16488 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16489 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16490 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16491 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16492 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16493 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16494 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16495 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16496 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16497 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16498 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16499
3f99608f
KK
165002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16501
16502 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16503 fields.
16504
65a4de4e
CLT
165052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16506
16507 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16508 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16509 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16510 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16511 Likewise.
16512 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16513 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16514 Likewise.
16515
15749d40
UD
165162012-05-27 Ulrich Drepper <drepper@gmail.com>
16517
16518 * po/h.po: Update from translation team.
16519
25dbcb27
AS
165202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16521
3d3f8e55
AS
16522 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16523
25dbcb27
AS
16524 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16525 handling of denormals.
16526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16527 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16528 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16529 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16533 Likewise.
16534
7ad47a80 165352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16536
16537 [BZ #14152]
16538 * math/libm-test.inc (fma_test): Don't always expect underflow
16539 exception.
16540
9c6ea9fa
SP
165412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16542
16543 [BZ #12416]
16544 * elf/tst-execstack.c: Include stackinfo.h.
16545 (do_test): Adjust test case to ensure that pthread_getattr_np
16546 behaviour remains the same after marking stack executable.
16547
a8239222
JM
165482012-05-25 Joseph Myers <joseph@codesourcery.com>
16549
16550 * sysdeps/unix/sysv/linux/kernel-features.h
16551 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16552 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16553 kernel-features.h.
16554 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16555 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16556 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16557 kernel-features.h.
16558 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16559 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16560
918b5606
L
165612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16562
16563 * configure.in: Define the default includes to being none.
16564 * configure: Regenerated.
16565
3a097cc7
RM
165662012-05-25 Roland McGrath <roland@hack.frob.com>
16567
8422c9a5
RM
16568 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16569 * sysdeps/x86_64/setjmp.S: Likewise.
16570 * sysdeps/i386/bsd-setjmp.S: Likewise.
16571 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16572 * sysdeps/i386/setjmp.S: Likewise.
16573 * sysdeps/i386/__longjmp.S: Likewise.
16574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16575 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16576
3a097cc7
RM
16577 * include/stap-probe.h: New file.
16578 * configure.in: Handle --enable-systemtap.
16579 * configure: Regenerated.
16580 * config.h.in (USE_STAP_PROBE): New #undef.
16581 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16582 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16583 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16584
21708942
JM
165852012-05-25 Joseph Myers <joseph@codesourcery.com>
16586
16587 [BZ #13717]
16588 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16589 to 2.4.0 where earlier.
16590 * sysdeps/unix/sysv/linux/configure: Regenerated.
16591 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16592 <kernel-features.h>.
16593 [__ASSUME_32BITUIDS]: Make code unconditional.
16594 [!__ASSUME_32BITUIDS]: Remove conditional code.
16595 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16596 <kernel-features.h>.
16597 [__ASSUME_32BITUIDS]: Make code unconditional.
16598 [!__ASSUME_32BITUIDS]: Remove conditional code.
16599 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16600 [__ASSUME_32BITUIDS]: Make code unconditional.
16601 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16602 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16603 <kernel-features.h>.
16604 [__ASSUME_32BITUIDS]: Make code unconditional.
16605 [!__ASSUME_32BITUIDS]: Remove conditional code.
16606 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16607 <kernel-features.h>.
16608 [__ASSUME_32BITUIDS]: Make code unconditional.
16609 [!__ASSUME_32BITUIDS]: Remove conditional code.
16610 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16611 <kernel-features.h>.
16612 [__ASSUME_32BITUIDS]: Make code unconditional.
16613 [!__ASSUME_32BITUIDS]: Remove conditional code.
16614 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16615 <kernel-features.h>.
16616 [__ASSUME_32BITUIDS]: Make code unconditional.
16617 [!__ASSUME_32BITUIDS]: Remove conditional code.
16618 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16619 <kernel-features.h>.
16620 [__ASSUME_32BITUIDS]: Make code unconditional.
16621 [!__ASSUME_32BITUIDS]: Remove conditional code.
16622 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16623 <kernel-features.h>.
16624 [__ASSUME_32BITUIDS]: Make code unconditional.
16625 [!__ASSUME_32BITUIDS]: Remove conditional code.
16626 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16627 <kernel-features.h>.
16628 [__ASSUME_32BITUIDS]: Make code unconditional.
16629 [!__ASSUME_32BITUIDS]: Remove conditional code.
16630 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16631 <kernel-features.h>.
16632 [__ASSUME_32BITUIDS]: Make code unconditional.
16633 [!__ASSUME_32BITUIDS]: Remove conditional code.
16634 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16635 <kernel-features.h>.
16636 [__ASSUME_32BITUIDS]: Make code unconditional.
16637 [!__ASSUME_32BITUIDS]: Remove conditional code.
16638 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16639 <kernel-features.h>.
16640 [__ASSUME_32BITUIDS]: Make code unconditional.
16641 [!__ASSUME_32BITUIDS]: Remove conditional code.
16642 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16643 <kernel-features.h>.
16644 [__NR_setresgid] (__setresgid): Do not declare.
16645 [__ASSUME_32BITUIDS]: Make code unconditional.
16646 [!__ASSUME_32BITUIDS]: Remove conditional code.
16647 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16648 <kernel-features.h>.
16649 [__NR_setresuid] (__setresuid): Do not declare.
16650 [__ASSUME_32BITUIDS]: Make code unconditional.
16651 [!__ASSUME_32BITUIDS]: Remove conditional code.
16652 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16653 <kernel-features.h>.
16654 [__ASSUME_32BITUIDS]: Make code unconditional.
16655 [!__ASSUME_32BITUIDS]: Remove conditional code.
16656 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16657 <kernel-features.h>.
16658 [__ASSUME_32BITUIDS]: Make code unconditional.
16659 [!__ASSUME_32BITUIDS]: Remove conditional code.
16660 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16661 <kernel-features.h>.
16662 [__ASSUME_32BITUIDS]: Make code unconditional.
16663 [!__ASSUME_32BITUIDS]: Remove conditional code.
16664 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16665 <kernel-features.h>.
16666 [__ASSUME_32BITUIDS]: Make code unconditional.
16667 [!__ASSUME_32BITUIDS]: Remove conditional code.
16668 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16669 <kernel-features.h>.
16670 [__ASSUME_32BITUIDS]: Make code unconditional.
16671 [!__ASSUME_32BITUIDS]: Remove conditional code.
16672 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16673 <kernel-features.h>.
16674 [__ASSUME_32BITUIDS]: Make code unconditional.
16675 [!__ASSUME_32BITUIDS]: Remove conditional code.
16676 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16677 <kernel-features.h>.
16678 [__ASSUME_32BITUIDS]: Make code unconditional.
16679 [!__ASSUME_32BITUIDS]: Remove conditional code.
16680 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16681 <kernel-features.h>.
16682 [__ASSUME_32BITUIDS]: Make code unconditional.
16683 [!__ASSUME_32BITUIDS]: Remove conditional code.
16684 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16685 <kernel-features.h>.
16686 [__ASSUME_32BITUIDS]: Make code unconditional.
16687 [!__ASSUME_32BITUIDS]: Remove conditional code.
16688 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16689 <kernel-features.h>.
16690 [__ASSUME_32BITUIDS]: Make code unconditional.
16691 [!__ASSUME_32BITUIDS]: Remove conditional code.
16692 * sysdeps/unix/sysv/linux/kernel-features.h
16693 (__ASSUME_SETRESUID_SYSCALL): Remove.
16694 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16695 (__ASSUME_32BITUIDS): Likewise.
16696 (__ASSUME_LDT_WORKS): Likewise.
16697 (__ASSUME_O_DIRECTORY): Likewise.
16698 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16699 architecture but not kernel version.
16700 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16701 (__ASSUME_MMAP2_SYSCALL): Likewise.
16702 (__ASSUME_STAT64_SYSCALL): Likewise.
16703 (__ASSUME_IPC64): Likewise.
16704 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16705 <kernel-features.h>.
16706 [__ASSUME_32BITUIDS]: Make code unconditional.
16707 [!__ASSUME_32BITUIDS]: Remove conditional code.
16708 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16709 <kernel-features.h>.
16710 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16711 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16712 132096]: Remove conditional code.
16713 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16714 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16715 <kernel-features.h>.
16716 [__ASSUME_32BITUIDS]: Make code unconditional.
16717 [!__ASSUME_32BITUIDS]: Remove conditional code.
16718 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16719 <kernel-features.h>.
16720 [__ASSUME_32BITUIDS]: Make code unconditional.
16721 [!__ASSUME_32BITUIDS]: Remove conditional code.
16722 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16723 <kernel-features.h>.
16724 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16725 unconditional.
16726 (__setresgid): Do not declare.
16727 [__ASSUME_32BITUIDS]: Make code unconditional.
16728 [!__ASSUME_32BITUIDS]: Remove conditional code.
16729 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16730 <kernel-features.h>.
16731 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16732 unconditional.
16733 (__setresuid): Do not declare.
16734 [__ASSUME_32BITUIDS]: Make code unconditional.
16735 [!__ASSUME_32BITUIDS]: Remove conditional code.
16736 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16737 <kernel-features.h>.
16738 [__ASSUME_32BITUIDS]: Make code unconditional.
16739 [!__ASSUME_32BITUIDS]: Remove conditional code.
16740 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16741 <kernel-features.h>.
16742 [__ASSUME_32BITUIDS]: Make code unconditional.
16743 [!__ASSUME_32BITUIDS]: Remove conditional code.
16744
a386f1cc
RH
167452012-05-25 Richard Henderson <rth@twiddle.net>
16746
16747 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16748 dl_hwcap to ifunc resolver.
16749 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16750 elf_ifunc_invoke.
16751 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16752 dl_hwcap to ifunc resolver.
16753 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16754
b6550497
JM
167552012-05-24 Joseph Myers <joseph@codesourcery.com>
16756
16757 [BZ #14153]
16758 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16759 for |x| <= 2**-26, not 2**-57.
16760 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16761 exception.
16762
b0bc23a1
JL
167632012-05-24 Jeff Law <law@redhat.com>
16764
16765 * stdio-common/Makefile (tests): Add bug25.
16766 * stdio-common/bug25.c: New test.
16767
347c92e9
L
167682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16769
16770 [BZ #13576]
16771 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16772 multiple of MALLOC_ALIGNMENT in size.
16773 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16774
6bcc8b3f
JM
167752012-05-24 Joseph Myers <joseph@codesourcery.com>
16776
16777 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16778 Require >= 256.
16779 (FILENAME_MAX): Use macro-int-constant.
16780 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16781 (_IOFBF): Use macro-int-constant.
16782 (_IOLBF): Likewise.
16783 (_IONBF): Likewise.
16784 (SEEK_CUR): Likewise.
16785 (SEEK_END): Likewise.
16786 (SEEK_SET): Likewise.
16787 (TMP_MAX): Likewise.
16788 (EOF): Use macro-int-constant. Require < 0.
16789 (NULL): Use macro-constant. Require == 0.
16790 (stdin): Require type to be FILE *.
16791 (stdout): Likewise.
16792 (stderr): Likewise.
16793 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16794 macro-int-constant.
16795 (EXIT_SUCCESS): Likewise.
16796 (NULL): Use macro-constant. Require == 0.
16797 (RAND_MAX): Use macro-int-constant.
16798 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16799 [C99-based standards] (strtof): Require function.
16800 [C99-based standards] (strtold): Likewise.
16801 [C99-based standards] (strtoll): Likewise.
16802 [C99-based standards] (strtoull): Likewise.
16803 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16804 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16805 [ISO || ISO99 || ISO11] (math.h): Likewise.
16806 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16807 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16809
d18ea0c5
AS
168102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16811
16812 [BZ #14132]
56d25bb8
AS
16813 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16814 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16815 * intl/dgettext.c (DCGETTEXT): Likewise.
16816 * intl/gettext.c (DCGETTEXT): Likewise.
16817 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16818 * posix/regex_internal.h (gettext): Likewise.
16819 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16820 Remove declaration.
16821 * include/argz.h (__argz_count_internal)
16822 (__argz_stringify_internal): Remove declaration.
16823 (__argz_count, __argz_stringify): Declare hidden proto.
16824 * intl/dcgettext.c: Remove use of INTDEF.
16825 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16826 * string/argz-stringify.c: Likewise.
16827 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16828 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16829 Declare hidden proto.
d18ea0c5
AS
16830 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16831 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16832 Declare hidden proto.
16833 * include/stdio.h (__asprintf_internal): Don't declare.
16834 (__asprintf): Don't define as macro. Declare hidden proto.
16835 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16836 (__fsetlocking): Declare hidden proto.
16837 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16838 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16839 hidden proto.
16840 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16841 (_IO_setlinebuf): Remove use of INTUSE.
16842 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16843 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16844 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16845 Remove declaration.
16846 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16847 (_IO_do_flush): Remove use of INTUSE.
16848 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16849 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16850 (_IO_adjust_column, _IO_least_wmarker)
16851 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16852 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16853 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16854 (_IO_default_doallocate, _IO_wdefault_doallocate)
16855 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16856 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16857 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16858 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16859 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16860 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16861 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16862 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16863 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16864 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16865 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16866 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16867 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16868 proto.
16869 (_IO_flush_all_internal, _IO_adjust_column_internal)
16870 (_IO_default_uflow_internal, _IO_default_finish_internal)
16871 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16872 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16873 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16874 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16875 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16876 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16877 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16878 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16879 (_IO_file_close_internal, _IO_file_close_it_internal)
16880 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16881 (_IO_file_init_internal, _IO_file_attach_internal)
16882 (_IO_file_fopen_internal, _IO_file_read_internal)
16883 (_IO_file_sync_internal, _IO_file_seek_internal)
16884 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16885 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16886 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16887 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16888 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16889 (_IO_list_all_internal, _IO_link_in_internal)
16890 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16891 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16892 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16893 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16894 (_IO_do_write_internal, _IO_padn_internal)
16895 (_IO_getline_info_internal, _IO_getline_internal)
16896 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16897 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16898 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16899 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16900 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16901 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16902 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16903 with libc_hidden_ver, remove use of INTUSE.
16904 * libio/genops.c: Likewise.
16905 * libio/freopen.c: Likewise.
16906 * libio/freopen64.c: Likewise.
16907 * libio/iofclose.c: Likewise.
16908 * libio/iofdopen.c: Likewise.
16909 * libio/iofflush.c: Likewise.
16910 * libio/iofflush_u.c: Likewise.
16911 * libio/iofgets.c: Likewise.
16912 * libio/iofgets_u.c: Likewise.
16913 * libio/iofopen.c: Likewise.
16914 * libio/iofopncook.c: Likewise.
16915 * libio/iofread.c: Likewise.
16916 * libio/iofread_u.c: Likewise.
16917 * libio/ioftell.c: Likewise.
16918 * libio/iofwrite.c: Likewise.
16919 * libio/iogetline.c: Likewise.
16920 * libio/iogets.c: Likewise.
16921 * libio/iogetwline.c: Likewise.
16922 * libio/iopadn.c: Likewise.
16923 * libio/iopopen.c: Likewise.
16924 * libio/ioseekoff.c: Likewise.
16925 * libio/ioseekpos.c: Likewise.
16926 * libio/iosetbuffer.c: Likewise.
16927 * libio/iosetvbuf.c: Likewise.
16928 * libio/ioungetc.c: Likewise.
16929 * libio/ioungetwc.c: Likewise.
16930 * libio/iovdprintf.c: Likewise.
16931 * libio/iovsprintf.c: Likewise.
16932 * libio/iovsscanf.c: Likewise.
16933 * libio/memstream.c: Likewise.
16934 * libio/obprintf.c: Likewise.
16935 * libio/oldfileops.c: Likewise.
16936 * libio/oldiofclose.c: Likewise.
16937 * libio/oldiofdopen.c: Likewise.
16938 * libio/oldiofopen.c: Likewise.
16939 * libio/oldiopopen.c: Likewise.
16940 * libio/oldstdfiles.c: Likewise.
16941 * libio/putc.c: Likewise.
16942 * libio/setbuf.c: Likewise.
16943 * libio/setlinebuf.c: Likewise.
16944 * libio/stdfiles.c: Likewise.
16945 * libio/strops.c: Likewise.
16946 * libio/vasprintf.c: Likewise.
16947 * libio/vscanf.c: Likewise.
16948 * libio/vsnprintf.c: Likewise.
16949 * libio/vswprintf.c: Likewise.
16950 * libio/wfiledoalloc.c: Likewise.
16951 * libio/wfileops.c: Likewise.
16952 * libio/wgenops.c: Likewise.
16953 * libio/wmemstream.c: Likewise.
16954 * libio/wstrops.c: Likewise.
16955 * libio/__fpurge.c: Likewise.
16956 * libio/__fsetlocking.c: Likewise.
16957 * assert/assert.c: Likewise.
16958 * debug/fgets_chk.c: Likewise.
16959 * debug/fgets_u_chk.c: Likewise.
16960 * debug/fread_chk.c: Likewise.
16961 * debug/fread_u_chk.c: Likewise.
16962 * debug/gets_chk.c: Likewise.
16963 * debug/obprintf_chk.c: Likewise.
16964 * debug/vasprintf_chk.c: Likewise.
16965 * debug/vdprintf_chk.c: Likewise.
16966 * debug/vsnprintf_chk.c: Likewise.
16967 * debug/vsprintf_chk.c: Likewise.
16968 * malloc/mtrace.c: Likewise.
16969 * misc/error.c: Likewise.
16970 * misc/syslog.c: Likewise.
16971 * stdio-common/asprintf.c: Likewise.
16972 * stdio-common/fxprintf.c: Likewise.
16973 * stdio-common/getw.c: Likewise.
16974 * stdio-common/isoc99_fscanf.c: Likewise.
16975 * stdio-common/isoc99_scanf.c: Likewise.
16976 * stdio-common/isoc99_vfscanf.c: Likewise.
16977 * stdio-common/isoc99_vscanf.c: Likewise.
16978 * stdio-common/isoc99_vsscanf.c: Likewise.
16979 * stdio-common/printf-prs.c: Likewise.
16980 * stdio-common/printf_fp.c: Likewise.
16981 * stdio-common/printf_fphex.c: Likewise.
16982 * stdio-common/printf_size.c: Likewise.
16983 * stdio-common/putw.c: Likewise.
16984 * stdio-common/scanf.c: Likewise.
16985 * stdio-common/sprintf.c: Likewise.
16986 * stdio-common/tmpfile.c: Likewise.
16987 * stdio-common/vfprintf.c: Likewise.
16988 * stdio-common/vfscanf.c: Likewise.
16989 * stdlib/strfmon_l.c: Likewise.
16990 * sunrpc/openchild.c: Likewise.
16991 * sunrpc/xdr_stdio.c: Likewise.
16992 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16993 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16994
d6c33fda
RM
169952012-05-24 Roland McGrath <roland@hack.frob.com>
16996
c1487492
RM
16997 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16998
16999 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17000 in the third column, to generate for the shared library an IFUNC
17001 that uses _dl_vdso_vsym.
17002 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17003 * Makeconfig (object-suffixes-noshared): New variable.
17004
17005 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17006 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17007 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17008 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17009
d6c33fda
RM
17010 [BZ #14132]
17011 * include/sys/time.h (__gettimeofday): Remove macro.
17012 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17013 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17014 Remove INTDEF.
17015 (__gettimeofday): Add libc_hidden_def.
17016 (gettimeofday): Add libc_hidden_weak.
17017 * sysdeps/mach/gettimeofday.c: Likewise.
17018 * sysdeps/posix/gettimeofday.c: Likewise.
17019 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17020 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17022 (__gettimeofday_internal): Remove strong_alias.
17023 (__gettimeofday): Add libc_hidden_def.
17024 (gettimeofday): Add libc_hidden_weak.
17025 * sysdeps/unix/syscalls.list (gettimeofday):
17026 Remove __gettimeofday_internal alias.
17027
b5a2bbe6
L
170282012-05-24 Daniel Jacobowitz <drow@false.org>
17029 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 [BZ #12495]
17032 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17033 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17034 (largebin_index_32_big): New.
17035 (largebin_index): Use it for 16-byte alignment.
17036 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17037 correction with front_misalign.
17038
cfba4fda
L
170392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17040
7f907421
L
17041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17043 Likewise.
17044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17045 Likewise.
17046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17047 Likewise.
17048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17049 Likewise.
17050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17051 Likewise.
17052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17053 Likewise.
17054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17055 Likewise.
17056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17057 Likewise.
17058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17059 Likewise.
17060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17061 Likewise.
17062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17063 Likewise.
17064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17065 Likewise.
17066
cfba4fda
L
17067 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17068 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17069
80bad0cc
JM
170702012-05-24 Joseph Myers <joseph@codesourcery.com>
17071
7a25eb06
JM
17072 [BZ #10846]
17073 [BZ #14036]
17074 * math/libm-test.inc (exp_test): Add test from bug 14036.
17075 (pow_test): Add test from bug 10846.
17076
795405f9
JM
17077 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17078 and other flags.
17079 (special_function): Do not include flags in test name.
17080 (parse_args): Likewise.
17081 * sysdeps/i386/fpu/libm-test-ulps: Update.
17082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17083 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17084 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17086
80bad0cc
JM
17087 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17088 exceptions.
17089 * math/libm-test.inc ("Philosophy"): Update comment about
17090 exception testing.
17091 (UNDERFLOW_EXCEPTION): New macro.
17092 (UNDERFLOW_EXCEPTION_OK): Likewise.
17093 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17094 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17095 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17096 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17097 (INVALID_EXCEPTION_OK): Update value.
17098 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17099 (OVERFLOW_EXCEPTION_OK): Likewise.
17100 (IGNORE_ZERO_INF_SIGN): Likewise.
17101 (test_exceptions): Handle underflow exceptions.
17102 (acos_test): Update for underflow exception expectations.
17103 (cexp_test): Likewise.
17104 (clog_test): Likewise.
17105 (clog10_test): Likewise.
17106 (csqrt_test): Likewise.
17107 (ctan_test): Likewise.
17108 (ctanh_test): Likewise.
17109 (exp_test): Likewise.
17110 (exp10_test): Likewise.
17111 (exp2_test): Likewise.
17112 (expm1_test): Likewise.
17113 (fma_test): Likewise.
17114 (j0_test): Likewise.
17115 (jn_test): Likewise.
17116 (nexttoward_test): Likewise.
17117 (pow_test): Likewise.
17118 (scalbn_test): Likewise.
17119 (scalbln_test): Likewise.
17120 (tan_test): Likewise.
17121 (y1_test): Likewise.
17122 * sysdeps/i386/fpu/libm-test-ulps: Update.
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124
9e0e3d0b
DM
171252012-05-23 David S. Miller <davem@davemloft.net>
17126
17127 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17128 (__libc_sigaction): Remove unused local variables.
17129
ccd0a08f
L
171302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17131
17132 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17133
62bdf9a6
PE
171342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17135
f8591f80
PE
17136 mktime: avoid signed integer overflow
17137 * time/mktime.c (__mktime_internal): Do not mishandle the case
17138 where diff == INT_MIN.
17139
94c7d826
PE
17140 mktime: simplify computation of average
17141 * time/mktime.c (ranged_convert): Use new time_t_avg function
17142 instead of rolling our own (probably-slower) code.
17143
ce73d683
PE
17144 mktime: do not assume signed right shift propagates sign bit
17145 * time/mktime.c (isdst_differ): New static function.
17146 (__mktime_internal): No need to normalize tm_isdst now.
17147 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17148 tm_isdst values.
17149
72a22e59
PE
17150 mktime: merge another wrapv change from gnulib
17151 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17152 from some compilers.
17153
68605433
PE
17154 mktime: remove incorrect attempt at unusual arithmetics
17155 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17156 The code didn't really work on such machines anyway.
17157 (TYPE_MINIMUM): Assume two's complement.
17158 (twos_complement_arithmetic): Verify that long_int and time_t
17159 are two's complement (or unsigned, in the latter case).
17160
03cf7fe3
PE
17161 mktime: check signed shifts on long_int and time_t, too
17162 * time/mktime.c (SHR): Check that shifts work as desired
17163 on the types long_int and time_t too, as SHR is used on
17164 such types.
17165
f04dfbc2
PE
17166 mktime: do not assume 'long' is wide enough
17167 * time/mktime.c (verify): Move decl up.
17168 (long_int): New type.
17169 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17170 to remove assumption in the code that 'long' is wide enough to
17171 store year values. This assumption is not true on x32 and on
17172 some non-glibc platforms.
17173
62bdf9a6
PE
17174 mktime: merge wrapv change from gnulib
17175 * time/mktime.c (WRAPV): New macro.
17176 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17177 (guess_time_tm, __mktime_internal): Do not assume that signed
17178 integer overflow wraps around; modern compilers generate code
17179 where this assumption is no longer valid.
17180
5e292e4f
L
171812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17182
17183 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17184 Replace "jmp L(pseudo_end)" with "ret".
17185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17186 Likewise.
17187
8caf8c87
AJ
171882012-05-23 Andreas Jaeger <aj@suse.de>
17189
17190 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17191 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17192
1a09dc56
AJ
171932012-05-23 Andreas Jaeger <aj@suse.de>
17194 Maximilian Attems <max@stro.at>
17195
17196 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17197 New macros.
17198
1c87aba0
L
171992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17200
17201 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17202 code so that pseudo_end is just ret and the stack pointer is
17203 correct also for static library in error case.
17204
40e45bd5
JM
172052012-05-23 Joseph Myers <joseph@codesourcery.com>
17206
c2670533
JM
17207 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17208 move to syscalls.list.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17213
40e45bd5
JM
17214 * manual/install.texi (Running make install): Do not mention Linux
17215 kernel version for which pt_chown is not needed.
17216 (Linux): Do not mention problems with nscd with 2.0 kernels.
17217 * INSTALL: Regenerated.
17218
be08eda5
AJ
172192012-05-23 Andreas Jaeger <aj@suse.de>
17220
17221 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17222 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17223 macro.
17224 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17225 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17226 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17228 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17230 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17234 * sysdeps/unix/sysv/linux/bits/in.h
17235 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17236
a6a056bb
RM
172372012-05-22 Roland McGrath <roland@hack.frob.com>
17238
17239 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17240 (PREPARE_VERSION): Just use assert instead, it will be elided
17241 under [NDEBUG] anyway.
17242
c9009328
L
172432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17244
17245 * sysdeps/unix/sysv/linux/Makefile: Include
17246 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17247 (sysdep_routines): Remove sysctl.
c9009328
L
17248 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17249 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17250 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17252 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17253
73338355
AJ
172542012-05-22 Andreas Jaeger <aj@suse.de>
17255
17256 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17257 that pseudo_end is just ret and the stack pointer is correct also
17258 for static library in error case.
17259
d44638b0
PP
172602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17261
17262 [BZ #14122]
17263 * nss/nsswitch.c (defconfig_entries): New variable.
17264 (__nss_database_lookup): Don't leak defconfig entries.
17265 (nss_parse_service_list): Don't leak on error paths.
17266 (free_database_entries): New function.
17267 (free_defconfig): New function.
17268 (free_mem): Move common code to free_database_entries.
17269
31a39bd8
L
172702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17271
da0331a8
L
17272 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17273 Add arch_prctl.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17275
31a39bd8
L
17276 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17277 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17279 New macro.
17280 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17281 (INTERNAL_SYSCALL_TYPES): Likewise.
17282 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17283 (LOAD_REGS_TYPES_[1-6]): Likewise.
17284 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17285 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17286
45470df3
AZ
172872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17288
17289 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17290 copysignl for GLIBC_2_0.
17291 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17292 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17294 logbl for GLIBC_2_0.
17295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17296 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17297
98a61bcb
L
172982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17299
a4f6e481
L
17300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17301 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17302
f63d5db6
L
17303 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17304 Use "neg %eax".
17305
98a61bcb
L
17306 * time/mktime.c: Update copyright years.
17307
95770f14
PE
173082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17309
6226efbd
PE
17310 mktime: merge comment-quoting-style change from gnulib
17311 * time/mktime.c: Quote 'like this' in comments.
17312 The GNU coding standards suggest that we no longer quote `like this',
17313 as "`" and "'" are typically rendered asymmetrically nowadays.
17314 The typical gnulib style is to quote 'like this' when quoting
17315 code, and "like this" when quoting English.
17316
b99e4f78
PE
17317 * time/mktime.c (compile-command): Add "-I.".
17318
643e01e6
PE
17319 mktime: merge mktime-internal.h change from gnulib
17320 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17321
2554247d
PE
17322 mktime: merge time_r change from gnulib
17323 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17324
826dd0ab
PE
17325 mktime: merge DEBUG change from gnulib
17326 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17327 case system <time.h> has a #define.
17328
bd83aabe
PE
17329 mktime: merge <sys/types.h> change from gnulib
17330 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17331 since <time.t> is now guaranteed to define time_t.
17332
95770f14
PE
17333 mktime: merge HAVE_CONFIG_H change from gnulib
17334 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17335
5e1a27a9
L
173362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17337
0e44a77e
L
17338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17339 Use "neg %eax".
17340
5e1a27a9
L
17341 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17342 __rlim_t cast.
17343 (struct rusage): Use anonymous union to pad each field to
17344 __syscall_slong_t.
17345
46259bec
DM
173462012-05-21 David S. Miller <davem@davemloft.net>
17347
17348 * Makefules (o-iterator): Remove .s cases.
17349 (compile-command.s): Delete.
17350 (COMPILE.s): Delete.
17351 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17352
59f0c22e
JM
173532012-05-21 Joseph Myers <joseph@codesourcery.com>
17354
17355 * configure.in (libc_cv_predef_stack_protector): Only consider
17356 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17357 * configure: Regenerated.
17358
20c07380
L
173592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17360
bbb3154b
L
17361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17362 New macro. Use R*LP on int and pointer.
17363 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17364 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17365 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17366 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17367
20c07380
L
17368 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17369 [__WORDSIZE_TIME64_COMPAT32] instead of
17370 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17371 (struct utmp): Likewise.
17372 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17373 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17374 Renamed to ...
17375 (__WORDSIZE_TIME64_COMPAT32): This.
17376 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17377 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17378 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17379 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17380 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17381 (__WORDSIZE_TIME64_COMPAT32): New macro.
17382
d8d1017e
AJ
173832012-05-21 Andreas Jaeger <aj@suse.de>
17384
17385 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17386 only if [SHARED]. Add prototype for __wcschr_ia32.
17387
6c7fb145
RM
173882012-05-21 Roland McGrath <roland@hack.frob.com>
17389
17390 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17391 of %rbp unmolested in the jmp_buf while mangling the low bits.
17392 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17393 unmolested high bits of %rbp while demangling the low bits.
17394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17395
66274218
AJ
173962012-05-21 Andreas Jaeger <aj@suse.de>
17397
07c58f8f
AJ
17398 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17399 * sunrpc/svc_simple.c: Use it for registerrpc.
17400 * sunrpc/xcrypt.c: Use it for passwd2des.
17401
66274218
AJ
17402 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17403
61f65140
L
174042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17407 Don't define if [__SYSCALL_WORDSIZE != 32].
17408 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17409 New macro.
17410
5fefb436
AJ
174112012-05-21 Bruno Haible <bruno@clisp.org>
17412 Andreas Jaeger <aj@suse.de>
17413
17414 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17415 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17416 inptr and inend for must_buffer_ch.
17417 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17418 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17419 * stdio-common/Makefile (tests): Remove bug15.
17420 (bug15-ENV): Remove macro.
17421 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17422 anymore.
17423
d8e272ab
AJ
174242012-05-19 Andreas Jaeger <aj@suse.de>
17425 Roland McGrath <roland@hack.frob.com>
17426
17427 * manual/contrib.texi: Completely rewritten. It contains now an
17428 alphabetical list of contributors and their contributions.
17429
4a56a162
RH
174302012-05-21 Richard Henderson <rth@twiddle.net>
17431
17432 * misc/getauxval.c (__getauxval): Use unsigned long int.
17433 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17434 (getauxval): Use unsigned long int.
17435
d024d23c
L
174362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17437
17438 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17439
cbc00a03
RM
174402012-05-21 Roland McGrath <roland@hack.frob.com>
17441
17442 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17443 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17444 __alignof__ (long double).
17445
478143fa
AZ
174462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17447
17448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17449
c7683a6d
RH
174502012-05-20 Richard Henderson <rth@twiddle.net>
17451
17452 * misc/getauxval.c: New file.
17453 * misc/sys/auxv.h: New file.
17454 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17455 (routines): Add getauxval.
17456 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17457 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17458 * elf/dl-sysdep.c (_dl_auxv): Remove.
17459 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17460 * elf/dl-support.c (_dl_auxv): New variable.
17461 (_dl_aux_init): Initialize it.
17462 * manual/startup.texi (Auxiliary Vector): New node.
17463 * sysdeps/generic/bits/hwcap.h: New file.
17464 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17465 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17466 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17467 * sysdeps/sparc/sysdep.h: ... here. Include it.
17468 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17469 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17471 Update.
c7683a6d
RH
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17480
a6f1845d
AZ
174812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17482
17483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17484
cbcbe830
DM
174852012-05-19 David S. Miller <davem@davemloft.net>
17486
17487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17488
e0b16cc2
JM
174892012-05-19 Joseph Myers <joseph@codesourcery.com>
17490
17491 [BZ #14123]
17492 * math/s_ccosh.c: Include <float.h>
17493 (__ccosh): Avoid internal overflow calculating sinh and cosh
17494 values before multiplying by sin and cos values.
17495 * math/s_ccoshf.c: Likewise.
17496 * math/s_ccoshl.c: Likewise.
17497 * math/s_csin.c: Likewise.
17498 * math/s_csinf.c: Likewise.
17499 * math/s_csinl.c: Likewise.
17500 * math/s_csinh.c: Likewise.
17501 * math/s_csinhf.c: Likewise.
17502 * math/s_csinhl.c: Likewise.
17503 * math/libm-test.inc (ccos_test): Add more tests.
17504 (ccosh_test): Likewise.
17505 (csin_test): Likewise.
17506 (csinh_test): Likewise.
17507 * sysdeps/i386/fpu/libm-test-ulps: Update.
17508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17509
6ad13e08
L
175102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17511
f66f0ce8
L
17512 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17513 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17514
6ad13e08
L
17515 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17516
b1d072a7
JM
175172012-05-19 Joseph Myers <joseph@codesourcery.com>
17518
17519 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17520 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17521 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17522 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17523 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17524 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17525 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17526 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17527 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17528 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17529 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17530 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17531 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17532 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17533 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17534 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17535 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17536 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17537 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17538 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17539 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17540 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17541 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17542 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17543 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17544 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17545 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17546 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17547 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17548 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17549 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17550
9eae47cb
AJ
175512012-05-18 Andreas Jaeger <aj@suse.de>
17552
17553 * csu/.gitignore: Delete.
17554
bb07f69f
L
175552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17556
17557 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17558 (timex): Use __syscall_slong_t.
17559
e6bdb741
AJ
175602012-05-18 Andreas Jaeger <aj@suse.de>
17561 Carlos O'Donell <carlos_odonell@mentor.com>
17562
17563 * manual/install.texi (Configuring and compiling): Update
17564 description about files modified in the source directory.
d6c33fda 17565 * INSTALL: Regenerated.
e6bdb741 17566
1b74487e
L
175672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17568
17569 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17570 value. Use "or" to set return value to -1.
17571 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17572 negate return value.
17573
a88b64b9
TMQMF
175742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17575
17576 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17577 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17578 failure if the compiler has Graphite support disabled.
17579 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17580 Likewise.
17581 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17582 CFLAGS-memmove.c): Likewise.
17583 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17584 Likewise.
17585
3707636e
L
175862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17587
610b8622
L
17588 * sysdeps/x86_64/x32/_itoa.h: New file.
17589
7cd195df
L
17590 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17591 getdents system call only if kernel and user dirents have the
17592 same d_ino and d_off.
17593
94b07d20
L
17594 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17595 LLONG_MAX != LONG_MAX.
17596 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17597 (_fitoa_word): Likewise.
17598
18298070
L
17599 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17600 years.
17601 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17602 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17604
553c7ea4
L
17605 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17606 include <bits/wordsize.h>. Check __x86_64__ instead of
17607 __WORDSIZE.
17608 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17609 if __x86_64__ is defined. Use anonymous union on fpstate.
17610
3707636e
L
17611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17612 anonymous union.
17613
b53ef01a
AS
176142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17615
37fb1dc0
AS
17616 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17617 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17618 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17619 Refer to _rtld_local_ro instead of _rtld_global_ro.
17620 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17621 Likewise.
17622 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17623 Likewise.
17624 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17625 Likewise.
17626 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17627 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17628 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17629
b53ef01a
AS
17630 * sysdeps/powerpc/powerpc32/dl-machine.c
17631 (__elf_machine_runtime_setup) [PROF]: Don't reference
17632 _dl_prof_resolve.
17633
7a185db2
AJ
176342012-05-18 Andreas Jaeger <aj@suse.de>
17635
17636 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17637 function only available for GCCs before 3.4 since GCC 3.4
17638 introduced a builtin.
17639 (lrint): Likewise.
17640 (llrintf): Likewise.
17641 (llrint): Likewise.
17642 (fmaxf): Likewise.
17643 (fmax): Likewise.
17644 (fminf): Likewise.
17645 (fmin): Likewise.
17646 (rint): Likewise.
17647 (rintf): Likewise.
17648 (nearbyint): Likewise.
17649 (nearbyintf): Likewise.
17650 (ceil): Likewise.
17651 (ceilf): Likewise.
17652 (floor): Likewise.
17653 (floorf): Likewise.
17654
3e5aef87
L
176552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17656
428bd707
L
17657 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17658 on both fields and cast pointer to __syscall_ulong_t.
17659
3e5aef87
L
17660 * bits/types.h (__fsword_t): New type.
17661 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17662 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17664 (__FSWORD_T_TYPE): Likewise.
17665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17666 (__FSWORD_T_TYPE): Likewise.
17667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17668 (__FSWORD_T_TYPE): Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17670 (__FSWORD_T_TYPE): Likewise.
17671 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17672 __SWORD_TYPE with __fsword_t.
17673 (statfs64): Likewise.
17674
1ba7c3dc
DM
176752012-05-17 David S. Miller <davem@davemloft.net>
17676
17677 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17678
59910343
AJ
176792012-05-17 Andreas Jaeger <aj@suse.de>
17680
17681 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17682 warning.
17683
2e4c1e9e
L
176842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17687
de7f5ce7
AJ
176882012-05-17 Andreas Jaeger <aj@suse.de>
17689
17690 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17691 when it is used.
17692
286abc3d
CM
176932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17694
17695 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17696
477cc68e
L
176972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17698
17699 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17700 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17701
1a0994f5
CD
177022012-05-17 Andreas Jaeger <aj@suse.de>
17703 Carlos O'Donell <carlos_odonell@mentor.com>
17704
17705 [BZ #14059]
17706 * sysdeps/x86_64/multiarch/init-arch.h
17707 (bit_YMM_Usable): Rename to...
17708 (bit_AVX_Usable): ... this.
17709 (bit_FMA4_Usable): New macro.
17710 (bit_XMM_state): New macro.
17711 (bit_YMM_state): New macro.
17712 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17713 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17714 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17715 (CPUID_OSXSAVE): New macro.
17716 (CPUID_AVX): New macro.
17717 (CPUID_FMA4): New macro.
17718 (index_YMM_Usable): Rename to...
17719 (index_AVX_Usable): ... this.
17720 (HAS_AVX): Use HAS_ARCH_FEATURE.
17721 (HAS_FMA4): Likewise.
17722 (HAS_YMM_USABLE): Remove.
17723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17724 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17725 are present.
17726 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17727 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17728 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17729 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17730 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17731
0af797de
CM
177322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17733
17734 * math/libm-test.c: Support platforms without multiple rounding modes.
17735 * math/bug-nextafter.c: Support platforms without FP exceptions.
17736 * math/bug-nexttoward.c: Likewise.
17737 * math/test-fenv.c: Likewise.
17738 * math/test-misc.c: Likewise.
17739 * stdlib/bug-getcontext.c: Likewise.
17740
e39745ff
AJ
177412012-05-17 Andreas Jaeger <aj@suse.de>
17742
17743 * manual/examples/search.c (critter_cmp): Change signature to
17744 avoid warnings.
17745 * manual/string.texi (Collation Functions): Likewise.
17746
48970aba
L
177472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17748
17749 * bits/types.h: Fold copyright years.
17750 * bits/typesizes.h: Likewise.
17751 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17755 * time/time.h: Likewise.
17756
bedee953
PP
177572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17758
17759 [BZ #208]
17760 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17761 in instead of returning them. Return void.
17762 (__libc_mallinfo): Accumulate over all arenas.
17763 (__malloc_stats): Adjust for change in int_mallinfo interface.
17764
61653dfb
RM
177652012-05-16 Roland McGrath <roland@hack.frob.com>
17766
30b99d79
RM
17767 [BZ #10375]
17768 * configure.in (NM): Add AC_CHECK_TOOL for it.
17769 (libc_extra_cflags): New substituted variable.
17770 Check for -fstack-protector being used implicitly.
17771 * configure: Regenerated.
17772 * config.make.in (config-extra-cflags): New variable,
17773 gets @libc_extra_cflags@.
17774 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17775
61653dfb
RM
17776 [BZ #10375]
17777 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17778 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17779 * configure: Regenerated.
17780 * config.make.in (CPPUNDEFS): New substituted variable.
17781 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17782 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17783 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17784
661768bb
L
177852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17786
17787 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17788 (mq_attr): Use __syscall_slong_t.
17789
d4261567
L
177902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17791
17792 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17793 Check __x86_64__ instead of __WORDSIZE.
17794 (_STAT_VER_LINUX): Likewise.
17795 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17796 __syscall_ulong_t and __syscall_slong_t.
17797 (stat64): Likewise.
17798
cf3ff365
L
177992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17800
17801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17802
76cf3e4d
L
178032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17804
17805 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17806
a637753a
L
178072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17810 __syscall_ulong_t.
17811
d5e05119
L
17812 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17813 include <bits/wordsize.h>. Check __x86_64__ instead of
17814 __WORDSIZE.
17815 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17816 defined.
17817 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17818
f62ee380
L
17819 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17820 include <bits/wordsize.h>. Check __x86_64__ instead of
17821 __WORDSIZE.
17822 (user_regs_struct): Use "__extension__ unsigned long long"
17823 instead of "unsigned long" if __x86_64__ is defined.
17824 (user): Likewise. Pad after pointer field if __ILP32__ is
17825 defined.
17826
4e124ced
JM
178272012-05-16 Joseph Myers <joseph@codesourcery.com>
17828
6a3951a0
JM
17829 * configure.in (makeinfo): Require version 4.5 or later. Allow
17830 versions 5 to 9.
17831 * configure: Regenerated.
17832 * manual/install.texi (texinfo): Increase version requirement to
17833 4.5 or later.
17834 * INSTALL: Regenerated.
17835
4e124ced
JM
17836 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17837
953ca31a
L
178382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17839
17840 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17841
617aca05
L
17842 * sysdeps/x86_64/x32/ffs.c: New file.
17843
5762f7ae
L
17844 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17845 __syscall_ulong_t.
17846 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17847 defined. Use __syscall_ulong_t.
17848 (shminfo): Use __syscall_ulong_t.
17849 (shm_info): Likewise.
17850
a26b6856
L
17851 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17852 __syscall_ulong_t.
17853
cb2b9ef7
L
17854 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17855 <bits/wordsize.h>.
17856 (msgqnum_t): Use __syscall_ulong_t.
17857 (msglen_t): Likewise.
17858 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17859 __syscall_ulong_t.
17860
34683bb0
L
17861 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17862 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17863
84a68786
L
17864 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17865
48baa5f1
L
17866 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17867 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17868
180be88b
L
17869 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17870 __syscall_slong_t.
17871
5e90c8ad
L
17872 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17873 include <bits/wordsize.h>. Check __x86_64__ instead of
17874 __WORDSIZE.
17875
23dfb58b
L
17876 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17877 "unsigned long long int" if __x86_64__ is defined.
17878 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17879
ce5d54b0
L
17880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17881 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17882 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17883
13dc9eac
L
17884 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17885 <stdint.h>.
17886 (GET_PC): Cast to uintptr_t first.
17887 (GET_FRAME): Likewise.
17888 (GET_STACK): Likewise.
17889
a7895d15
L
17890 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17891 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17892 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17893 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17896 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17898 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17900 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17901 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17902 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17903 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17904 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17909 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17910 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17913 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17914 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17917 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17919
656416c9
AS
179202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17921
5bd66283
AS
17922 * Makerules (+depfiles): Also collect depfiles from .oS in
17923 $(extra-objs).
17924 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17925 .oS, $(libnldbl-routines)).
17926
656416c9
AS
17927 * Makerules (native-compile-mkdep-flags): Define.
17928 * sunrpc/Makefile (extra-objs): Add $(addprefix
17929 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17930 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17931 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17932 calling $(make-target-directory).
17933
a46f2169
L
179342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17935
17936 * bits/types.h (__snseconds_t): Removed.
17937 * time/time.h (struct timespec): Replace __snseconds_t with
17938 __syscall_slong_t.
17939 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17940 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17941 Likewise.
17942 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17943 (__SNSECONDS_T_TYPE): Likewise.
17944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17945 (__SNSECONDS_T_TYPE): Likewise.
17946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17947 (__SNSECONDS_T_TYPE): Likewise.
17948
6af6528b
L
179492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17950
17951 * sysdeps/mach/hurd/bits/typesizes.h
17952 (__SYSCALL_SLONG_TYPE): New macro.
17953 (__SYSCALL_ULONG_TYPE): Likewise.
17954
de986b56
L
179552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17956
17957 * bits/types.h (__syscall_slong_t): New type.
17958 (__syscall_ulong_t): Likewise.
17959
17960 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17961 (__SYSCALL_ULONG_TYPE): Likewise.
17962 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17963 (__SYSCALL_SLONG_TYPE): Likewise.
17964 (__SYSCALL_ULONG_TYPE): Likewise.
17965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17966 (__SYSCALL_SLONG_TYPE): Likewise.
17967 (__SYSCALL_ULONG_TYPE): Likewise.
17968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17969 (__SYSCALL_SLONG_TYPE): Likewise.
17970 (__SYSCALL_ULONG_TYPE): Likewise.
17971
85736dc7
L
179722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17973
17974 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17975 Add sigaltstack-offsets.sym.
17976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17977 <sigaltstack-offsets.h>.
17978 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17979 longjmp_msg pointer.
17980 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17981 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17982 signal stack.
17983 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17984
cc03b296
JM
179852012-05-15 Joseph Myers <joseph@codesourcery.com>
17986
a9538892
JM
17987 * elf/stackguard-macros.h: Remove file.
17988 * sysdeps/generic/stackguard-macros.h: New file.
17989 * sysdeps/i386/stackguard-macros.h: Likewise.
17990 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17991 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17992 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17993 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17994 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17995 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17996 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17997 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17998 <elf/stackguard-macros.h>.
17999
cc03b296
JM
18000 [BZ #14109]
18001 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18002 __aligned__ in attribute.
18003 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18004 (gregset_t): Likewise.
18005
93171016
L
180062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18007
18008 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18009 * sysdeps/x86_64/64/Implies-after: Here. New file.
18010 * sysdeps/x86_64/x32/Implies-after: New file.
18011
d86813a0
L
180122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18013
18014 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18015 and access return value for _dl_profile_fixup. Use R10_LP to
18016 load frame size.
18017
2953ec75
L
180182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18021
3b550e9e
L
180222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18023
18024 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18025 * sysdeps/x86_64/x32/sysdep.h: New file.
18026
eda41706
L
180272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18028
18029 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18030 * sysdeps/x86_64/setjmp.S: Likewise.
18031
9ea01d93
AZ
180322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18033
18034 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18035 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18036 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18037 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18038 remove unused global constant.
18039
02a91938
CM
180402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18041
18042 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18043 include of <not-cancel.h>.
18044
6540185f
RM
180452012-05-15 Roland McGrath <roland@hack.frob.com>
18046
18047 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18048
509072a0
AJ
180492012-05-15 Jeff Law <law@redhat.com>
18050 Andreas Jaeger <aj@suse.de>
18051
18052 [BZ #13594]
18053 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18054 out from...
18055 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18056 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18057 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18058 code changing __hst_map_handle.map.
18059
ba75122d
RM
180602012-05-15 Roland McGrath <roland@hack.frob.com>
18061
18062 * configure.in (sysnames): Look for Implies-before and Implies-after
18063 files.
18064 * configure: Regenerated.
18065
890d8bd8
L
180662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18069 8-byte data alignment with LP_SIZE alignment.
18070
f6ee6623
L
180712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18074 into R10_LP.
18075
ea2626f6
L
180762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18077
18078 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18079
085f715e
L
180802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18081
18082 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18083 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18085 Likewise.
18086 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18087
be8498fc
L
180882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18089
18090 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18091 (stackinfo_sub_sp): Likewise.
18092
70bc83b9
L
180932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18094
18095 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18096 RAX_LP.
18097
9bc0b730
L
180982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18099
18100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18101 into R*_LP.
18102
6d2850e7
L
181032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18104
18105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18106 sizes into R*_LP.
18107
3cb84561
L
181082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18111
54e2ed81
L
181122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18113
18114 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18115 into R11_LP and load __x86_64_shared_cache_size_half into
18116 R8_LP.
18117
8a17f349
L
181182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18121 R8_LP.
18122
777b1eea
AZ
181232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18124
18125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18126 logb for POWER7.
18127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18128 logbf for POWER7.
18129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18130 logbl for POWER7.
18131 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18132 powerpc32/power7/fpu/s_logb.c via #include.
18133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18134 powerpc32/power7/fpu/s_logbf.c via #include.
18135 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18136 powerpc32/power7/fpu/s_logbl.c via #include.
18137
d20d4ac2
JM
181382012-05-15 Joseph Myers <joseph@codesourcery.com>
18139
18140 * README.libm: Remove file.
18141
6cdef1ab
L
181422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18143
18144 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18145 count for x32. Use R*_LP and omit operand-size suffix.
18146
0b254d8f
L
181472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18150 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18151 * sysdeps/x86_64/x32/shlib-versions: New file.
18152
ceb809dc
RM
181532012-05-14 Roland McGrath <roland@hack.frob.com>
18154
18155 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18156 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18157 Use _dl_fatal_printf instead.
18158
37f1abd4
JM
181592012-05-14 Joseph Myers <joseph@codesourcery.com>
18160
18161 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18162 set if not set by the user. Do not allow for being unset.
18163 * sysdeps/unix/sysv/linux/configure: Regenerated.
18164
11de3a33
L
181652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18166
18167 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18168 the `q' suffix from lea and replace .quad with ASM_ADDR.
18169
e02f153a
L
181702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18171
18172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18173 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18174 instead of $17.
18175 (PTR_DEMANGLE): Likewise.
18176
520ae0fd
L
181772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18178
18179 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18180 (LP_OP): Likewise.
18181 (ASM_ADDR): Likewise.
18182 (RAX_LP): Likewise.
18183 (RBP_LP): Likewise.
18184 (RBX_LP): Likewise.
18185 (RCX_LP): Likewise.
18186 (RDI_LP): Likewise.
18187 (RSI_LP): Likewise.
18188 (RSP_LP): Likewise.
18189 (R8_LP): Likewise.
18190 (R9_LP): Likewise.
18191 (R10_LP): Likewise.
18192 (R10_LP): Likewise.
18193 (R11_LP): Likewise.
18194 (R12_LP): Likewise.
18195 (R13_LP): Likewise.
18196 (R14_LP): Likewise.
18197 (R15_LP): Likewise.
18198
b985be81
L
181992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18200
18201 * sysdeps/x86_64/x32/dl-machine.h: New file.
18202
6a4888ff
AJ
182032012-05-14 Andreas Jaeger <aj@suse.de>
18204
18205 * manual/Makefile (subdir): Remove export of subdir.
18206 (all): Remove target.
18207 (.PHONY): Remove all from list.
18208 (mkinstalldirs): Remove.
18209 (.PHONY): Remove installdirs from list.
18210 ($(inst_infodir)/libc.info): Use make-target-directory.
18211 (installdirs): Remove.
18212 (subdir_%): Remove.
18213 (glibc-targets): Remove.
18214 (lib): Remove.
18215 (stubs): Remove.
18216 ($(objpfx)stubs ../po/manual.pot): Remove.
18217 ($(objpfx)stamp%): Remove.
18218 (make-target-directory): Remove.
18219 (subdir_install): Remove.
18220 (routines): Remove.
18221 (aux): Remove.
18222 (sources): Remove.
18223 (objects): Remove.
18224 (headers): Remove.
18225
18226 [BZ #13750]
18227 * manual/.gitignore: Remove, it's not needed anymore.
18228 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18229 all files in it.
18230 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18231 directory.
18232 (texis): Renamed to $(objpfx)texis.
18233 (texis-path): New, contains path to generated files.
18234 (chapters.%): Use texis-path for complete path, add extra argument
18235 libc-texinfo.sh.
18236 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18237 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18238 (summary,texi, stamp-summary): Use complete path of
18239 files. Generate files in build dir.
18240 (dir-add.texi): Build in build dir.
18241 (libm-err.texi,stamp-libm-err): Likewise.
18242 (version.texi, stamp-version): Likewise.
18243 (.%c.texi): Likewise.
18244 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18245 (mostlyclean): Remove target.
18246 (realclean): Remove target.
18247 (generated): Add new variable with contents from mostlyclean and
18248 realclean, remove entries duplicated in common-mostlyclean, add
18249 stamp-libm-err and stamp-version.
18250 (generated-dirs): Add libc directory.
18251 ($(inst_infodir)/libc.info): Install files from build dir.
18252
18253 * manual/install.texi (Configuring and compiling): Adjust since
18254 the info files are not part of the tar ball anymore.
18255
7ac77294
AJ
182562012-05-14 Andreas Jaeger <aj@suse.de>
18257
18258 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18259 variable.
18260
ffb7875d
JM
182612012-05-14 Joseph Myers <joseph@codesourcery.com>
18262
18263 [BZ #13717]
18264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18265 to 2.2.0 where earlier.
18266 * sysdeps/unix/sysv/linux/configure: Regenerated.
18267 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18268 Remove conditional code.
18269 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18270 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18271 Remove conditional code.
18272 [!__NR_lchown]: Likewise.
18273 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18274 [__NR_lchown]: Likewise.
18275 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18276 comment referencing __ASSUME_LCHOWN_SYSCALL.
18277 * sysdeps/unix/sysv/linux/i386/sigaction.c
18278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18280 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18281 Remove conditional code.
18282 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18283 (__protocol_available): Remove #if 0 code.
18284 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18285 conditional code.
18286 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/kernel-features.h
18288 (__ASSUME_GETCWD_SYSCALL): Don't define.
18289 (__ASSUME_REALTIME_SIGNALS): Likewise.
18290 (__ASSUME_PREAD_SYSCALL): Likewise.
18291 (__ASSUME_PWRITE_SYSCALL): Likewise.
18292 (__ASSUME_POLL_SYSCALL): Likewise.
18293 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18294 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18295 non-SPARC.
18296 (__ASSUME_SIOCGIFNAME): Don't define.
18297 (__ASSUME_MSG_NOSIGNAL): Likewise.
18298 (__ASSUME_SENDFILE): Define unconditionally.
18299 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18300 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18301 conditional code.
18302 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18303 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18304 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18305 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18306 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18307 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18308 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18310 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18311 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18313 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18316 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18319 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18322 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18325 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18333 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18334 Remove conditional code.
18335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18336 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18337 Remove conditional code.
18338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18339 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18340 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18341 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18342 Remove conditional code.
18343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18344 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18345 Remove conditional code.
18346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18347 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18348 Remove conditional code.
18349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18350 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18351 Remove conditional code.
18352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18353 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18354 Remove conditional code.
18355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18356 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18359 * sysdeps/unix/sysv/linux/sigaction.c
18360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18362 * sysdeps/unix/sysv/linux/sigpending.c
18363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18365 * sysdeps/unix/sysv/linux/sigprocmask.c
18366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18368 * sysdeps/unix/sysv/linux/sigsuspend.c
18369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18371 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18372 (__libc_missing_rt_sigs): Remove.
18373 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18374 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18375 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18376 Remove conditional code.
18377 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18378 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18379 return 1.
18380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18381 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18382 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18383 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18384
1bfb7291
AJ
183852012-05-14 Andreas Jaeger <aj@suse.de>
18386
caae5a81
AJ
18387 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18388 it's not used in glibc.
18389 (__coshm1): Likewise.
18390 (__acosh1p): Likewise.
18391 (__sgn): Likewise.
18392
1bfb7291
AJ
18393 * manual/string.texi (Copying and Concatenation): Add missing
18394 variable in concat example.
18395 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18396
c044d724
L
183972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18398
144c5467 18399 [BZ #14103]
c044d724
L
18400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18401 __builtin_clzl with __builtin_clzll.
18402
2523c62b
L
184032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18404
18405 [BZ #14104]
18406 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18407 libc_freeres_ptr.
18408
d7bb4c42
LD
184092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18410
18411 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18412 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18413 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18414 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18415
9dc4e1fb
MF
184162012-05-14 Mike Frysinger <vapier@gentoo.org>
18417
18418 * NEWS: Update ia64 info.
18419
c7df0112
AS
184202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18421
18422 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18423 used as bcopy.
18424
dc70356c
TS
184252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18426
18427 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18428 * sysdeps/unix/syscalls.list (dup3): Likewise.
18429 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18430 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18431
9fb1a21f
L
184322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18433
18434 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18435 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18436
4822a2a5
L
184372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18438
18439 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18440 thread pointer.
18441 (TLS_IE): Use mov/add instead of movq/addq to load thread
18442 pointer.
18443 (TLS_GD_PREFIX): New.
18444 (TLS_GD): Use it.
18445
842b81d6
DM
184462012-05-11 David S. Miller <davem@davemloft.net>
18447
18448 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18449 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18450 (_FPU_SETCW): Likewise.
18451
1cf463cd
L
184522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18453
18454 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18455 is 32-byte aligned.
18456
60cc4a18
AS
184572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18458
18459 [BZ #11837]
18460 * iconvdata/gb18030.c: Update tables.
18461 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18462 characters specially.
18463 (BODY for TO_LOOP): Add encoding of missing ranges.
18464
febb44a4
TS
184652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18466
18467 [BZ #13673]
18468 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18469 * sysdeps/mach/hurd/dup3.c: Likewise.
18470 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18471 * sysdeps/powerpc/memmove.c:: Likewise.
18472
0a10fb9e
L
184732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18474
18475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18476 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18477
df8a552f
L
184782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18479
18480 * elf/elf.h (R_X86_64_RELATIVE64): New.
18481 (R_X86_64_NUM): Updated.
18482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18483 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18484 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18485 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18486 tst-quad1pie tst-quad2pie
18487 (modules-names): Add tst-quadmod1 tst-quadmod2.
18488 ($(objpfx)tst-quad1): New dependency.
18489 ($(objpfx)tst-quad2): Likewise.
18490 ($(objpfx)tst-quad1pie): Likewise.
18491 ($(objpfx)tst-quad2pie): Likewise.
18492 * sysdeps/x86_64/tst-quad1.c: New file.
18493 * sysdeps/x86_64/tst-quad1pie.c: New file.
18494 * sysdeps/x86_64/tst-quad2.c: Likewise.
18495 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18496 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18497 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18498 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18499 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18500
f34d6f84
ST
185012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18502
f42d41d1
ST
18503 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18504 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18505 * streams/stropts.h (t_scalar_t): Define type.
18506
3c3571fc
ST
18507 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18508 (_PATH_PRESERVE): Set to "/var/lib".
18509 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18510
61f06bd3
ST
18511 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18512 instead of int.
18513
918d4d71
ST
18514 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18515 if __dir_mkfile succeeded.
18516
f34d6f84
ST
18517 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18518 checking for _hurd_dtablesize. Unlock it right after having
18519 finished _hurd_dtable allocation.
18520
10589b4a
TS
185212012-05-10 Thomas Schwinge <thomas@schwinge.name>
18522
674cdbc7
TS
18523 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18524 * sysdeps/mach/hurd/configure: Regenerated.
18525 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18526 special-casing to...
18527 * sysdeps/gnu/configure.in: ... this new file.
18528 * sysdeps/unix/sysv/linux/configure: Regenerated.
18529 * sysdeps/gnu/configure: New generated file.
18530
8e41b99f
TS
18531 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18532 for Linux: use nsec instead of usec, as well as:
18533 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18534 members of type struct timespec.
18535 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18536 New macros.
18537 (struct stat64): Likewise.
18538 (_STATBUF_ST_NSEC): New macro.
18539 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18540
10589b4a
TS
18541 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18542 __strtoul_internal rather than strtoul.
18543
63643c85
PT
185442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18545
18546 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18547 and reject them.
18548
3faebe6a
ST
185492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18550
18551 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18552 which preserves existing values.
18553 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18554
c6474b07
PT
185552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18556
18557 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18558 TIMEOUT values. Return EINVAL for NFDS values either negative or
18559 greater than FD_SETSIZE.
18560
1043890b
ST
185612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18562
18563 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18564 allocated, call __vm_protect to finish enabling the existing space, and
18565 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18566 allocate the remainder.
18567
37ed8b9b
PT
185682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18569
18570 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18571 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18572
db653660
ST
185732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18574
37ed8b9b
PT
18575 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18576 sysdeps/mach/hurd/readlink.c.
b29d4053 18577
db653660
ST
18578 * posix/tst-sysconf.c (posix_options): Only use
18579 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18580 _POSIX_SYNCHRONIZED_IO when they are defined
18581 * sysdeps/mach/hurd/bits/posix_opt.h:
18582 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18583 (_XOPEN_REALTIME): Undefine macro.
18584 (_XOPEN_REALTIME_THREADS): Undefine macro.
18585 (_XOPEN_SHM): Undefine macro.
18586 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18587 macro to -1.
18588 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18589 macro to -1.
18590 (_POSIX_ASYNC_IO): Undefine macro.
18591 (_POSIX_PRIORITIZED_IO): Undefine macro.
18592 (_POSIX_SPIN_LOCKS): Define macro to -1.
18593
ee16e894
ST
18594 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18595 SA_NODEFER, SA_RESETHAND.
18596 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18597 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18598 F_DUPFD_CLOEXEC.
18599
6103ae3b
TS
186002012-05-10 Thomas Schwinge <thomas@schwinge.name>
18601
18602 * elf/Makefile (pldd-modules): Define unconditionally.
18603
80b4e5f3
TS
186042012-05-10 Thomas Schwinge <thomas@schwinge.name>
18605
18606 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18607
edadcbd6
ST
186082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18609
18610 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18611 Return ENOENT when name is empty.
18612 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18613
80694780
TS
186142012-05-10 Thomas Schwinge <thomas@schwinge.name>
18615
1792c087
TS
18616 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18617
80694780
TS
18618 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18619
6b645f0d
ST
186202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18621
80694780
TS
18622 Fix mlock in all cases except non-readable pages.
18623 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18624 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18625
6b645f0d
ST
18626 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18627 (__mkdir): When path is `/', just fail with EEXIST.
18628 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18629
e468f8a3
TS
186302012-05-10 Thomas Schwinge <thomas@schwinge.name>
18631
18632 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18633 <sys/uio.h> (for writev).
18634 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18635 and <sys/param.h> (for MIN).
18636
a4186cff
PT
186372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18638
18639 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18640 REQUESTED_TIME. Properly set the remaining time and return EINTR
18641 if interrupted.
18642
510bbf14
TS
186432012-05-10 Thomas Schwinge <thomas@schwinge.name>
18644
18645 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18646 Depend on against $(link-rpcuserlibs).
18647
5d5722e8
ST
186482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18649
a4186cff
PT
18650 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18651 (__libc_stack_end): Do not use attribute_relro.
18652 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18653 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18654 to libthread-provided value.
a4186cff
PT
18655 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18656 attribute_relro.
5d5722e8 18657
37233df9
TS
186582012-05-10 Thomas Schwinge <thomas@schwinge.name>
18659
be971a2b
TS
18660 [BZ #3748]
18661 * bits/libc-lock.h (__libc_once_get): New macro.
18662 * sysdeps/mach/bits/libc-lock.h: Likewise.
18663 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18665 instead of using implementation details.
18666
37233df9
TS
18667 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18668 * libio/freopen.c: Likewise.
18669 * libio/freopen64.c: Likewise.
18670 * misc/syslog.c: Likewise.
18671 * nscd/connections.c: Likewise.
18672 * nscd/netgroupcache.c: Likewise.
18673 * sysdeps/posix/getcwd.c: Likewise.
18674
38de94a5
RM
186752012-05-10 Roland McGrath <roland@hack.frob.com>
18676
18677 * math/w_ilogbf.c: Add #include <limits.h>.
18678
67530489
ST
186792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18680
a4186cff 18681 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18682 path instead of returning without unlocking.
18683
67530489
ST
18684 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18685 immediate-write ioctls.
18686 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18687
5aa3a74a
TS
186882012-05-10 Thomas Schwinge <thomas@schwinge.name>
18689
18bad2ae
TS
18690 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18691 __builtin_frame_address instead of making assumptions about the
18692 location of the return address relative to DATA. Force early load of
18693 the return address.
18694 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18695 __builtin_frame_address.
18696
5aa3a74a
TS
18697 dup3 for GNU Hurd.
18698 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18699 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18700 implement dup3 and do some further code clean-ups.
18701 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18702 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18703
ecd0de9a
ST
187042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18705
cd9fa985
ST
18706 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18707
a4186cff
PT
18708 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18709 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18710 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18711 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18712 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18713 d->port.lock.
802ca5a5 18714
a4186cff
PT
18715 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18716 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18717 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18718
bcf55240
TS
187192012-05-10 Thomas Schwinge <thomas@schwinge.name>
18720
6960eb42
TS
18721 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18722 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18723 definitions.
18724
eb43375f
TS
18725 accept4 for GNU Hurd.
18726 * include/sys/socket.h (__libc_accept4): New prototype.
18727 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18728 to implement __libc_accept4.
18729 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18730 __libc_accept4.
18731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18732
bcf55240
TS
18733 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18734 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18735 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18736 signal-defines.sym.
18737
6178c55b
ST
187382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18739
a4186cff 18740 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18741
6f080c2f
TS
187422012-05-10 Thomas Schwinge <thomas@schwinge.name>
18743
18744 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18745 assertion on O_CLOEXEC flag.
18746 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18747 * hurd/intern-fd.c: Likewise.
18748 * hurd/port2fd.c: Likewise.
18749
bcfe3a54
ST
187502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18751
18752 [BZ #3906]
18753 * bits/in.h (IPV6_PKTINFO): Define new macro.
18754 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18755
89c9aa49
AZ
187562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18757
18758 [BZ #13954]
18759 [BZ #13955]
18760 [BZ #13956]
18761 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18763 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18764 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18766 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18767 * math/libm-test.inc (logb_test) : Additional logb tests.
18768
021db4be
AJ
187692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18770 Andreas Jaeger <aj@suse.de>
18771
18772 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18773 * configure: Regenerated.
18774 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18775 * config.make.in (link-obsolete-rpc): New substituted variable.
18776 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18777 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18778 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18779 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18780 so that libc.a contains the symbols.
18781 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18782 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18783 * sunrpc/auth_none.c: Likewise.
18784 * sunrpc/auth_unix.c: Likewise.
18785 * sunrpc/authdes_prot.c: Likewise.
18786 * sunrpc/authuxprot.c: Likewise.
18787 * sunrpc/clnt_gen.c: Likewise.
18788 * sunrpc/clnt_perr.c: Likewise.
18789 * sunrpc/clnt_raw.c: Likewise.
18790 * sunrpc/clnt_simp.c: Likewise.
18791 * sunrpc/clnt_tcp.c: Likewise.
18792 * sunrpc/clnt_udp.c: Likewise.
18793 * sunrpc/clnt_unix.c: Likewise.
18794 * sunrpc/des_crypt.c: Likewise.
18795 * sunrpc/des_soft.c: Likewise.
18796 * sunrpc/get_myaddr.c: Likewise.
18797 * sunrpc/key_call.c: Likewise.
18798 * sunrpc/key_prot.c: Likewise.
18799 * sunrpc/netname.c: Likewise.
18800 * sunrpc/pm_getmaps.c: Likewise.
18801 * sunrpc/pm_getport.c: Likewise.
18802 * sunrpc/pmap_clnt.c: Likewise.
18803 * sunrpc/pmap_prot.c: Likewise.
18804 * sunrpc/pmap_prot2.c: Likewise.
18805 * sunrpc/pmap_rmt.c: Likewise.
18806 * sunrpc/publickey.c: Likewise.
18807 * sunrpc/rpc_cmsg.c: Likewise.
18808 * sunrpc/rpc_common.c: Likewise.
18809 * sunrpc/rpc_dtable.c: Likewise.
18810 * sunrpc/rpc_prot.c: Likewise.
18811 * sunrpc/rpc_thread.c: Likewise.
18812 * sunrpc/rtime.c: Likewise.
18813 * sunrpc/svc.c: Likewise.
18814 * sunrpc/svc_auth.c: Likewise.
18815 * sunrpc/svc_raw.c: Likewise.
18816 * sunrpc/svc_run.c: Likewise.
18817 * sunrpc/svc_tcp.c: Likewise.
18818 * sunrpc/svc_udp.c: Likewise.
18819 * sunrpc/svc_unix.c: Likewise.
18820 * sunrpc/svcauth_des.c: Likewise.
18821 * sunrpc/xcrypt.c: Likewise.
18822 * sunrpc/xdr.c: Likewise.
18823 * sunrpc/xdr_array.c: Likewise.
18824 * sunrpc/xdr_float.c: Likewise.
18825 * sunrpc/xdr_intXX_t.c: Likewise.
18826 * sunrpc/xdr_mem.c: Likewise.
18827 * sunrpc/xdr_rec.c: Likewise.
18828 * sunrpc/xdr_ref.c: Likewise.
18829 * sunrpc/xdr_sizeof.c: Likewise.
18830 * sunrpc/xdr_stdio.c: Likewise.
18831
b5c086a2
RM
188322012-05-10 Roland McGrath <roland@hack.frob.com>
18833
18834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18835 change. Update copyright years.
18836
6d74dd09
JM
188372012-05-10 Joseph Myers <joseph@codesourcery.com>
18838
18839 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18840
28e72501
MK
188412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18842 Joseph Myers <joseph@codesourcery.com>
18843 Paul Pluzhnikov <ppluzhnikov@google.com>
18844
18845 [BZ #14012]
18846 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18847 requiring rpcgen.
18848 [cross-compiling] (extra-libs): Likewise.
18849 [cross-compiling] (extra-libs-others): Likewise.
18850 [cross-compiling] (librpcsvc-routines): Likewise.
18851 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18852 [cross-compiling] (omit-deps): Likewise.
18853 (sunrpc-CPPFLAGS): New variable.
18854 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18855 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18856 (cross-rpcgen-objs): New variable.
18857 (extra-objs): Append $(cross-rpcgen-objs).
18858 ($(cross-rpcgen-objs)): New rule.
18859 ($(objpfx)cross-rpcgen): Likewise.
18860 (rpcgen-cmd): Define to use $(built-program-file). Expand
18861 comment.
18862 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18863 ($(objpfx)x%.stmp): Likewise.
18864 * sunrpc/proto.h [IS_IN_build] (_): Define.
18865 [IS_IN_build] (_libc_intl_domainname): Likewise.
18866
c8c59454
L
188672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18868
18869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18870 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18871 and R_X86_64_TPOFF64.
18872
6f27cd16
JM
188732012-05-10 Joseph Myers <joseph@codesourcery.com>
18874
18875 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18876 sysdeps/unix/sysv/syscalls.list.
18877 (stime): Likewise.
18878 (utime): Likewise.
18879 * sysdeps/unix/sysv/syscalls.list: Remove file.
18880
02467e1c
PE
188812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18882
18883 [BZ #3440]
18884 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18885 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18886 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18887 (__LC_IDENTIFICATION): Make these macros useful in #if
18888 expressions, as required by C99.
18889
da392631
AS
188902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18891
18892 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18893 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18894 after this.
18895
8115f29b
L
188962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18897
18898 * stdlib/longlong.h: Updated from GCC.
18899
bdd74070
AJ
189002012-05-09 Andreas Jaeger <aj@suse.de>
18901
edfe0dbe
AJ
18902 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18903 default is first entry.
18904 (run_mode): Set type.
18905 (main): Remove informal message about syslog.
18906 (options): Fix typo.
18907
bcfe3a54
ST
18908 [BZ #14053]
18909 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18910 to asm.
bcfe3a54
ST
18911 (lrint): Likewise.
18912 (llrintf): Likewise.
18913 (llrint): Likewise.
18914 (rint): Likewise.
18915 (rintf): Likewise.
18916 (nearbyint): Likewise.
18917 (nearbyintf): Likewise.
bdd74070 18918
91d8d69e
AJ
189192012-05-09 Andreas Jaeger <aj@suse.de>
18920 Pedro Alves <palves@redhat.com>
18921
18922 * nscd/nscd.c (run_mode): Use enum.
18923 (main): Cleanup coding style issue.
18924
bb90b80b
AJ
189252012-05-09 Alexandre Oliva <aoliva@redhat.com>
18926 Andreas Jaeger <aj@suse.de>
18927
bcfe3a54
ST
18928 * nscd/nscd.c (go_background): Replaced with...
18929 (run_mode): ... this.
bb90b80b 18930 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18931 (options): Add -F --foreground.
18932 (main): Implement it.
18933 (parse_opt): Parse it.
bb90b80b 18934
1a4b75a1
AJ
189352012-05-09 Andreas Jaeger <aj@suse.de>
18936
18937 [BZ #14083]
18938 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18939 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18940 -Wconversion warning.
18941 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18942 Likewise.
18943
b1cc2472
JM
189442012-05-09 Joseph Myers <joseph@codesourcery.com>
18945
18946 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18947 == 0.
18948 (LC_ALL): Use macro-int-constant.
18949 (LC_COLLATE): Likewise.
18950 (LC_CTYPE): Likewise.
18951 (LC_MESSAGES): Likewise.
18952 (LC_MONETARY): Likewise.
18953 (LC_NUMERIC): Likewise.
18954 (LC_TIME): Likewise.
18955 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18956 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18958 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18959 Specify type.
18960 [C99-based standards] (float_t): Expect type.
18961 [C99-based standards] (double_t): Expect type.
18962 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18963 type.
18964 [C99-based standards] (HUGE_VALL): Likewise.
18965 [C99-based standards] (INFINITY): Likewise.
18966 [C99-based standards] (NAN): Likewise.
18967 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18968 [C99-based standards] (FP_NAN): Likewise.
18969 [C99-based standards] (FP_NORMAL): Likewise.
18970 [C99-based standards] (FP_SUBNORMAL): Likewise.
18971 [C99-based standards] (FP_ZERO): Likewise.
18972 [C99-based standards] (FP_FAST_FMA): Use
18973 optional-macro-int-constant. Specify type. Require == 1.
18974 [C99-based standards] (FP_FAST_FMAF): Likewise.
18975 [C99-based standards] (FP_FAST_FMAL): Likewise.
18976 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18977 [C99-based standards] (FP_ILOGBNAN): Likewise.
18978 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18979 Specify type.
18980 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18981 [C99-based standards] (math_errhandling): Specify type.
18982 [ISO99 || ISO11] (signgam): Do not allow.
18983 [non-C99-based standards] (copysignf): Do not allow.
18984 [non-C99-based standards] (exp2f): Likewise.
18985 [non-C99-based standards] (log2f): Likewise.
18986 [non-C99-based standards] (modff): Allow.
18987 [non-C99-based standards] (erff): Do not allow.
18988 [non-C99-based standards] (erfcf): Likewise.
18989 [non-C99-based standards] (gammaf): Likewise.
18990 [non-C99-based standards] (hypotf): Likewise.
18991 [non-C99-based standards] (j0f): Likewise.
18992 [non-C99-based standards] (j1f): Likewise.
18993 [non-C99-based standards] (jnf): Likewise.
18994 [non-C99-based standards] (lgammaf): Likewise.
18995 [non-C99-based standards] (tgammaf): Likewise.
18996 [non-C99-based standards] (y0f): Likewise.
18997 [non-C99-based standards] (y1f): Likewise.
18998 [non-C99-based standards] (ynf): Likewise.
18999 [non-C99-based standards] (isnanf): Likewise.
19000 [non-C99-based standards] (acoshf): Likewise.
19001 [non-C99-based standards] (asinhf): Likewise.
19002 [non-C99-based standards] (atanhf): Likewise.
19003 [non-C99-based standards] (cbrtf): Likewise.
19004 [non-C99-based standards] (expm1f): Likewise.
19005 [non-C99-based standards] (ilogbf): Likewise.
19006 [non-C99-based standards] (log1pf): Likewise.
19007 [non-C99-based standards] (logbf): Likewise.
19008 [non-C99-based standards] (nextafterf): Likewise.
19009 [non-C99-based standards] (remainderf): Likewise.
19010 [non-C99-based standards] (rintf): Likewise.
19011 [non-C99-based standards] (scalbf): Likewise.
19012 [non-C99-based standards] (copysignl): Likewise.
19013 [non-C99-based standards] (exp2l): Likewise.
19014 [non-C99-based standards] (log2l): Likewise.
19015 [non-C99-based standards] (modfl): Allow.
19016 [non-C99-based standards] (erfl): Do not allow.
19017 [non-C99-based standards] (erfcl): Likewise.
19018 [non-C99-based standards] (gammal): Likewise.
19019 [non-C99-based standards] (hypotl): Likewise.
19020 [non-C99-based standards] (j0l): Likewise.
19021 [non-C99-based standards] (j1l): Likewise.
19022 [non-C99-based standards] (jnl): Likewise.
19023 [non-C99-based standards] (lgammal): Likewise.
19024 [non-C99-based standards] (tgammal): Likewise.
19025 [non-C99-based standards] (y0l): Likewise.
19026 [non-C99-based standards] (y1l): Likewise.
19027 [non-C99-based standards] (ynl): Likewise.
19028 [non-C99-based standards] (isnanl): Likewise.
19029 [non-C99-based standards] (acoshl): Likewise.
19030 [non-C99-based standards] (asinhl): Likewise.
19031 [non-C99-based standards] (atanhl): Likewise.
19032 [non-C99-based standards] (cbrtl): Likewise.
19033 [non-C99-based standards] (expm1l): Likewise.
19034 [non-C99-based standards] (ilogbl): Likewise.
19035 [non-C99-based standards] (log1pl): Likewise.
19036 [non-C99-based standards] (logbl): Likewise.
19037 [non-C99-based standards] (nextafterl): Likewise.
19038 [non-C99-based standards] (remainderl): Likewise.
19039 [non-C99-based standards] (rintl): Likewise.
19040 [non-C99-based standards] (scalbl): Likewise.
19041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19042 [non-C99-based standards] (FP_*): Do not allow.
19043 [C99-based standards] (FP_*): Change to
19044 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19045 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19046 allow.
19047 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19048 (SIG_ERR): Likewise.
19049 [X/Open-based standards] (SIG_HOLD): Likewise.
19050 (SIG_IGN): Likewise.
19051 (SIGABRT): Use macro-int-constant. Specify type. Require
19052 positive value.
19053 (SIGFPE): Likewise.
19054 (SIGILL): Likewise.
19055 (SIGINT): Likewise.
19056 (SIGSEGV): Likewise.
19057 (SIGTER): Likewise.
19058 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19059 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19060 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19061 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19062 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19063 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19064 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19065 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19066 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19067 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19068 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19069 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19070 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19071 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19072 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19073 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19074 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19075 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19076 [X/Open-based standards] (SIGTRAP): Likewise.
19077 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19078 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19079 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19080 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19081 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19082 allow.
19083
b9f1922d
IW
190842012-05-08 Ian Wienand <ianw@vmware.com>
19085
19086 [BZ #14080]
19087 * time/tzset.c (__tzset_parse_tz): Update default rules for
19088 daylight time changes in the Energy Policy Act of 2005.
19089
1db86e88
AJ
190902012-05-09 Andreas Jaeger <aj@suse.de>
19091
19092 [BZ #13983]
19093 * elf/ldconfig.c (parse_conf): Change string to make clear that
19094 ldconfig only issued a warning if ld.so.conf does not exist.
19095
dee4a4e3
DM
190962012-05-08 David S. Miller <davem@davemloft.net>
19097
ee0db190
DM
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19099 movxtod instead of popping the value on the stack.
19100
dee4a4e3
DM
19101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19102
6a43ec98
CD
191032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19104
19105 * config.h.in: Add HAVE_ARM_PCS_VFP.
19106
05c2c961
RMG
191072012-05-08 Roland Mc Grath <roland@hack.frob.com>
19108
bcfe3a54
ST
19109 [BZ #13979]
19110 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19111 checking but the checks are disabled for any reason.
05c2c961 19112
4b30f61a
L
191132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19116 and ELF64_R_TYPE with ELFW(R_TYPE).
19117
eee2bc67
JM
191182012-05-08 Joseph Myers <joseph@codesourcery.com>
19119
7ea5391a
JM
19120 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19121 (ulimit): Likewise.
19122
eee2bc67
JM
19123 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19124 (settimeofday): Likewise.
19125
abb66a67
MF
191262012-05-08 Mike Frysinger <vapier@gentoo.org>
19127
19128 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19129 a struct th_u2 inside the union, and move tu_block/tu_code into
19130 a new th_u3 union of tu_block/tu_code inside of that. Move
19131 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19132 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19133 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19134 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19135 (th_stuff): Change to th_u1.tu_stuff.
19136 (th_data): Define.
19137 (th_msg): Change to th_u1.th_u2.tu_data.
19138
7f18b530
DM
191392012-05-07 David S. Miller <davem@davemloft.net>
19140
05760585
DM
19141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19142
7f18b530
DM
19143 [BZ #14074]
19144 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19145 (SETUP_PIC_REG): Use it.
19146 (SETUP_PIC_REG_LEAF): Use it.
19147
495fd99f
JM
191482012-05-07 Joseph Myers <joseph@codesourcery.com>
19149
19150 [BZ #13885]
19151 [BZ #13923]
19152 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19153 USE_AS_EXPM1L.
19154 (EXPL_FINITE): Likewise.
19155 (FLDLOG): Likewise.
19156 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19157 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19158 e_expl.S.
19159 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19160 USE_AS_EXPM1L.
19161 (EXPL_FINITE): Likewise.
19162 (FLDLOG): Likewise.
19163 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19164 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19165 e_expl.S.
19166 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19167 test of -max_value argument for long double.
19168 * sysdeps/i386/fpu/libm-test-ulps: Update.
19169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19170
6693d694
DM
191712012-05-06 David S. Miller <davem@davemloft.net>
19172
19173 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19174 quad soft-float symbols whose references which are compiler
19175 generated.
19176 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19177
6c23e11c
JM
191782012-05-06 Joseph Myers <joseph@codesourcery.com>
19179
d8b82cad
JM
19180 [BZ #13884]
19181 [BZ #13914]
19182 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19183 USE_AS_EXP10L.
19184 (EXPL_FINITE): Likewise.
19185 (FLDLOG): Likewise.
19186 (c0): Likewise.
19187 (c1): Likewise.
19188 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19189 Adjust comments for base varying.
19190 (__expl_finite): Change alias to EXPL_FINITE.
19191 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19192 e_expl.S.
19193 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19194 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19196 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19197 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19198 USE_AS_EXP10L.
19199 (EXPL_FINITE): Likewise.
19200 (FLDLOG): Likewise.
19201 (c0): Likewise.
19202 (c1): Likewise.
19203 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19204 Adjust comments for base varying.
19205 (__expl_finite): Change alias to EXPL_FINITE.
19206 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19207 tests for bugs.
19208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19209
6c23e11c
JM
19210 [BZ #14064]
19211 * math/libm-test.inc (check_float_internal): Correct ulp
19212 calculation for subnormal expected results.
19213
29ba805c
AJ
192142012-05-06 Andreas Jaeger <aj@suse.de>
19215
19216 * Makeconfig (+math-flags): New, set to -frounding-math.
19217 (+cflags): Add +math-flags so that all of glibc gets compiled with
19218 it.
19219
19220 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19221
7b17aeda
JM
192222012-05-05 Joseph Myers <joseph@codesourcery.com>
19223
5779f134
JM
19224 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19225 Disable one test.
19226
41498f4d
JM
19227 [BZ #13787]
19228 [BZ #13922]
19229 [BZ #14036]
19230 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19231 (__ieee754_expl): Allow for and saturate large arguments.
19232 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19233 (u_threshold): Likewise.
19234 (__exp): Call __ieee754_exp before checking for overflow and
19235 underflow.
19236 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19237 (u_threshold): Likewise.
19238 (__expf): Call __ieee754_expf before checking for overflow and
19239 underflow.
19240 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19241 (u_threshold): Likewise.
19242 (__expl): Call __ieee754_expl before checking for overflow and
19243 underflow.
19244 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19245 (__ieee754_expl): Allow for and saturate large arguments.
19246 * math/libm-test.inc (exp_test): Add another test. Do not allow
19247 missing overflow exception on overflow.
19248 (expm1_test): Do not allow missing overflow exception on overflow.
19249
6698b8bf
JM
19250 * sysdeps/i386/fpu/e_expl.c: Move to ...
19251 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19252 rather than using inline asm.
19253 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19254 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19255 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19256
7b17aeda
JM
19257 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19258 (nice): Likewise.
19259 (poll): Likewise.
19260 (signal): Likewise.
19261 (time): Likewise.
19262 (times): Likewise.
19263
f7c85819
JM
192642012-05-04 Joseph Myers <joseph@codesourcery.com>
19265
19266 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19267 sysdeps/unix/common/syscalls.list.
19268 (fchmod): Likewise.
19269 (fchown): Likewise.
19270 (ftruncate): Likewise.
19271 (getrusage): Likewise.
19272 (gettimeofday): Likewise.
19273 (setpgid): Likewise.
19274 (setregid): Likewise.
19275 (setreuid): Likewise.
19276 (sigaction): Likewise.
19277 (truncate): Likewise.
19278 (vhangup): Likewise.
19279 * sysdeps/unix/common/syscalls.list: Remove file.
19280 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19281 * sysdeps/unix/sysv/linux/Implies: Likewise.
19282
336270d0
L
192832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19287 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19288 Moved to ...
19289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19290 Here.
19291 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19292 to ...
19293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19294 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19295 to ...
19296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19297 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19298 to ...
19299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19300 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19301 to ...
19302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19303 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19304 to ...
19305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19306 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19307 to ...
19308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19309 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19310 to ...
19311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19312 Here.
19313 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19314 to ...
19315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19316 Here.
19317 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19318 to ...
19319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19320 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19321 Moved to ...
19322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19323 Here.
19324 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19325 to ...
19326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19327
d128e450
JM
193282012-05-04 Joseph Myers <joseph@codesourcery.com>
19329
fa8ee516
JM
19330 * sysdeps/unix/common/bits/dirent.h: Remove file.
19331 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19332
d128e450
JM
19333 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19334 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19335 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19336 * sysdeps/unix/bsd/isatty.c: Likewise.
19337 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19338 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19339 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19340
ff8faaf0 193412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19342
62881be4 19343 [BZ #13563]
31dc8730
AZ
19344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19345 long double comparison inaccuracies.
19346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19348
6fef930c
AS
193492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19350
19351 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19353
8f203e6c
JM
193542012-05-04 Joseph Myers <joseph@codesourcery.com>
19355
19356 [BZ #14049]
19357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19358 nonzero digits before rounding a hex value.
19359 * stdlib/tst-strtod.c (tests): Add another test.
19360
5197d9c2
AK
193612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19362
19363 * sysdeps/s390/fpu/libm-test-ulps: Update.
19364
f0c1dedf
AJ
193652012-05-03 Andreas Jaeger <aj@suse.de>
19366
19367 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19368 does not get optimized out.
19369 (malloc_opt_barrier): New.
19370
a65ef2ae 193712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19372 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19373
2b942cb7 19374 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19375 intermediate file deletion.
2b942cb7 19376 (generated): Add .symlist files.
a65ef2ae 19377
54b71e02
JM
193782012-05-03 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #13775]
19381 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19382 Redirect under this condition.
19383 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19384 [__USE_GNU] (__dprintf_chk): Not under this condition.
19385 [__USE_GNU] (__vdprintf_chk): Likewise.
19386 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19387 under this condition.
19388 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19389 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19390 [__USE_XOPEN2K8] (vdprintf): Likewise.
19391 [__USE_GNU] (__dprintf_chk): Not under this condition.
19392 [__USE_GNU] (__vdprintf_chk): Likewise.
19393 [__USE_GNU] (dprintf): Likewise.
19394 [__USE_GNU] (vdprintf): Likewise.
19395
d3dfcc41
RM
193962012-05-03 Roland McGrath <roland@hack.frob.com>
19397
19398 * elf/Makefile (common-generated): Set this instead of generated for
19399 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19400 $(all-built-dso)-derived lists.
19401
7ac30cc5
AJ
194022012-05-03 Andreas Jaeger <aj@suse.de>
19403
0c51e550
AJ
19404 * sysdeps/i386/fpu/libm-test-ulps: Update.
19405
7ac30cc5
AJ
19406 * FAQ: Removed.
19407 * FAQ.in: Likewise.
19408 * scripts/gen-FAQ.pl: Likewise.
19409 * manual/install.texi (Installation): Point to online location of
19410 FAQ.
19411 * Makefile (files-for-dist): Remove FAQ.
19412 (FAQ): Remove.
19413
d4c2917f
AM
194142012-05-02 Allan McRae <allan@archlinux.org>
19415
19416 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19417 (LDFLAGS-reldepmod5.so): Likewise.
19418 (LDFLAGS-reldep6mod1.so): Likewise.
19419 (LDFLAGS-reldep6mod4.so): Likewise.
19420 (LDFLAGS-reldep8mod3.so): Likewise.
19421 (LDFLAGS-unload4mod1.so): Likewise.
19422 (LDFLAGS-unload4mod2.so): Likewise.
19423 (LDFLAGS-tst-initorder): Likewise.
19424 (LDFLAGS-tst-initordera2.so): Likewise.
19425 (LDFLAGS-tst-initordera3.so): Likewise.
19426 (LDFLAGS-tst-initordera4.so): Likewise.
19427 (LDFLAGS-tst-initorderb2.so): Likewise.
19428 (LDFLAGS-noload): Likewise.
19429 (LDFLAGS-next): Likewise.
19430 (LDFLAGS-order2mod1.so): Likewise.
19431 (LDFLAGS-order2mod2.so): Likewise.
19432 (LDFLAGS-tst-initorder2): Likewise.
19433 (LDFLAGS-tst-initorder2a.so): Likewise.
19434 (LDFLAGS-tst-initorder2b.so): Likewise.
19435 (LDFLAGS-tst-initorder2c.so): Likewise.
19436 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19437
d77f993f
DM
194382012-05-02 David S. Miller <davem@davemloft.net>
19439
19440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19441
171a70b4
PP
194422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19443
19444 [BZ #14055]
19445 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19446
0be196ad
AJ
194472012-05-02 Andreas Jaeger <aj@suse.de>
19448
19449 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19450 since we manipulate rounding mode.
19451 (CPPFLAGS-test-idouble.c): Likewise.
19452 (CPPFLAGS-test-ifloat.c): Likewise.
19453 (CFLAGS-test-ldouble.c): Likewise.
19454 (CFLAGS-test-double.c): Likewise.
19455 (CFLAGS-test-float.c): Likewise.
19456 (CFLAGS-test-misc.c): Likewise.
19457 (CFLAGS-test-test-fenv.c): Likewise.
19458
4f9d04aa
AZ
194592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19460
2b942cb7
RM
19461 [BZ #2550]
19462 [BZ #2570]
19463 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19464 comparisons to determine direction to adjust input.
4f9d04aa 19465
82a79e7d
RM
194662012-05-01 Roland McGrath <roland@hack.frob.com>
19467
f5a01ca9
RM
19468 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19469 output to the target.
19470
90fe4186
RM
19471 * scripts/localplt.awk: New file.
19472 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19473 (check-localplt-CFLAGS): Variable removed.
19474 ($(all-built-dso:=.jmprel)): New static pattern rule.
19475 (generated): Add those targets.
19476 (localplt-built-dso): New variable.
19477 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19478
19479 * elf/check-localplt.c: File removed.
19480
82397ed6
RM
19481 * scripts/check-execstack.awk: New file.
19482 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19483 (check-execstack-CFLAGS): Variable removed.
19484 ($(objpfx)check-execstack.h): Target removed.
19485 ($(objpfx)execstack-default): New target.
19486 (generated): Add that instead of check-execstack.h.
19487 ($(all-built-dso:=.phdr)): New static pattern rule.
19488 (generated): Add those targets.
19489 * elf/check-execstack.c: File removed.
19490
82a79e7d
RM
19491 * scripts/check-textrel.awk: New file.
19492 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19493 (check-textrel-CFLAGS): Variable removed.
19494 (all-built-dso): Use := to define.o
19495 ($(all-built-dso:=.dyn)): New static pattern rule.
19496 (generated): Add those targets.
19497 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19498 * config.make.in (READELF): New substituted variable.
19499 * elf/check-textrel.c: File removed.
19500
62fde54f 195012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19502
615605c9
JM
19503 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19504 allow.
19505 * conform/data/ctype.h-data [C99-based standards] (isblank):
19506 Expect function.
19507 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19508 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19510 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19511 Specify type. Require positive value.
19512 (EILSEQ): Likewise.
19513 (ERANGE): Likewise.
19514 [ISO || POSIX] (EILSEQ): Do not expect.
19515 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19516 Specify type. Require positive value.
19517 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19551 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19557 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19578 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19579 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19591 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19592 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19593 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19594 Require >= 2.
19595 (FLT_ROUNDS): Expect as macro, not constant.
19596 (FLT_MANT_DIG): Use macro-int-constant.
19597 (DBL_MANT_DIG): Likewise.
19598 (LDBL_MANT_DIG): Likewise.
19599 (FLT_DIG): Likewise.
19600 (DBL_DIG): Likewise.
19601 (LDBL_DIG): Likewise.
19602 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19603 (DBL_MIN_EXP): Likewise.
19604 (LDBL_MIN_EXP): Likewise.
19605 (FLT_MAX_EXP): Use macro-int-constant.
19606 (DBL_MAX_EXP): Likewise.
19607 (LDBL_MAX_EXP): Likewise.
19608 (FLT_MAX_10_EXP): Likewise.
19609 (DBL_MAX_10_EXP): Likewise.
19610 (LDBL_MAX_10_EXP): Likewise.
19611 (FLT_MAX): Use macro-constant.
19612 (DBL_MAX): Likewise.
19613 (LDBL_MAX): Likewise.
19614 (FLT_EPSILON): Use macro-constant. Give upper bound.
19615 (DBL_EPSILON): Likewise.
19616 (LDBL_EPSILON): Likewise.
19617 (FLT_MIN): Likewise.
19618 (DBL_MIN): Likewise.
19619 (LDBL_MIN): Likewise.
19620 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19621 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19622 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19623 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19624 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19625 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19626 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19627 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19628 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19629 [ISO11] (FLT_TRUE_MIN): Likewise.
19630 [ISO11] (LDBL_TRUE_MIN): Likewise.
19631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19632 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19633 (SCHAR_MIN): Use macro-int-constant. Specify type.
19634 (SCHAR_MAX): Likewise.
19635 (UCHAR_MAX): Likewise.
19636 (CHAR_MIN): Likewise.
19637 (CHAR_MAX): Likewise.
19638 (MB_LEN_MAX): Use macro-int-constant.
19639 (SHRT_MIN): Use macro-int-constant. Specify type.
19640 (SHRT_MAX): Likewise.
19641 (USHRT_MAX): Likewise.
19642 (INT_MAX): Likewise.
19643 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19644 bound negative.
19645 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19646 bound with "U".
19647 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19648 bound with "L".
19649 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19650 bound negative. Suffix upper bound with "L".
19651 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19652 bound with "UL".
19653 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19654 Specify type.
19655 [C99-based standards] (LLONG_MAX): Likewise.
19656 [C99-based standards] (ULLONG_MAX): Likewise.
19657 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19658 == 0.
19659 [ISO11] (max_align_t): Require type.
19660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19661
c9140a62
JM
19662 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19663 from $CFLAGS, without defining away __attribute__ calls.
19664 (checknamespace): Use $CFLAGS_namespace.
19665
9af0bf29
JM
19666 * conform/conformtest.pl (@keywords): Only include C99 keywords
19667 for standards based on C99 or C11.
19668
343222a2
JM
19669 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19670 Disable tests.
19671 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19672 UNIX98]: Likewise.
19673
661f8cf0
JM
19674 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19675 usability of symbols in #if.
19676
ee74b9cb
JM
19677 * conform/conformtest.pl: If macro or constant types start
19678 "promoted:", expect the symbol to be of the following type
19679 promoted by the integer promotions.
62fde54f 19680
aafc49b3
JM
19681 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19682 in one place. Also handle "macro-constant".
19683
fefdf574
JM
19684 * conform/conformtest.pl: Only accept expected macro values with
19685 "==". Parse all "macro" lines in one place.
19686 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19687
f2d922fe
JM
19688 * conform/conformtest.pl: Handle braced types on "constant" lines
19689 instead of handling "typed-constant".
19690 * conform/data/signal.h-data: Use "constant" instead of
19691 "typed-constant".
19692
d22956c9
JM
19693 * conform/conformtest.pl: Handle "optional-" at start of lines in
19694 one place rather than duplicating several cases. Handle each
19695 format of "macro" line with initial "optional-".
19696
028e2e38
JM
19697 * conform/conformtest.pl: Only accept expected constant or
19698 optional-constant values with "==". Parse all "constant" lines in
19699 one place. Parse all "optional-constant" lines in one place.
19700 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19701 * conform/data/fmtmsg.h-data: Likewise.
19702 * conform/data/netinet/in.h-data: Likewise.
19703 * conform/data/tar.h-data: Likewise.
19704 * conform/data/limits.h-data: Use "==" form on "constant" and
19705 "optional-constant" lines.
19706
1b8f2850
JM
19707 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19708 Use -std=c99 for XOPEN2K.
19709 (@knownproblems): Remove.
19710 (newtoken): Don't check %isknown.
19711
a05a144b
JM
19712 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19713 Do not expect macro.
19714 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19726 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19727 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19744 [XPG3] (acosh): Likewise.
19745 [XPG3] (asinh): Likewise.
19746 [XPG3] (atanh): Likewise.
19747 [XPG3] (cbrt): Likewise.
19748 [XPG3] (expm1): Likewise.
19749 [XPG3] (ilogb): Likewise.
19750 [XPG3] (log1p): Likewise.
19751 [XPG3] (logb): Likewise.
19752 [XPG3] (nextafter): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19755 [XPG3] (remainder): Likewise.
19756 [XPG3] (rint): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19764 [UNIX98 || XOPEN2K] (scalb): Expect.
19765 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19766 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19862 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19863 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19864 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19865 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19866 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19867 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19868 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19869 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19870 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19871 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19872 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19873 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19874 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19875 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19876 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19877 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19878 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19879 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19880 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19881 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19882 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19883 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19884 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19885 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19886 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19887 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19888 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19889 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19890 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19891 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19892 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19893 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19894 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19895 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19896 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19897 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19898 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19899 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19900 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19901 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19902
73c5ebe3
JM
19903 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19904 _XOPEN_SOURCE_EXTENDED for XPG4.
19905
39c33b6c
JM
19906 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19907
62fde54f
JM
19908 * Makeconfig (localtime): Remove variable.
19909 (inst_localtime-file): Likewise.
19910
0741d64c
AS
199112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19912
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19914 Update.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19916 Update.
19917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19918 Update.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19920 Update.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19922 Update.
19923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19924 Update.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19926 Update.
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19928 Update.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19930 Update.
19931
7cb029ee
JM
199322012-05-01 Joseph Myers <joseph@codesourcery.com>
19933
19934 [BZ #2550]
19935 [BZ #2570]
19936 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19937 comparisons to determine direction to adjust input.
19938 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19939 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19940 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19941 Likewise.
19942 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19943 Likewise.
19944 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19945 Likewise.
19946 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19947 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19948 Likewise.
19949 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19950 Likewise.
19951 * math/libm-test.inc (nexttoward_test): Add more tests.
19952
412bd966
AS
199532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19954
19955 [BZ #14040]
19956 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19957 in version GLIBC_2.1, not GLIBC_2.0.
19958 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19959 Likewise.
19960
9568c0c2
JM
199612012-04-30 Joseph Myers <joseph@codesourcery.com>
19962
adfbc8ac
JM
19963 [BZ #13942]
19964 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19965 (1 - x) * (1 + x).
19966 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19967 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19968 * math/libm-test.inc (acos_test): Add more tests.
19969 (asin_test): Likewise.
19970 * sysdeps/i386/fpu/libm-test-ulps: Update.
19971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19972
5ba3cc69
JM
19973 [BZ #14034]
19974 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19975 of square root.
19976 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19977 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19978 * math/libm-test.inc (acos_test_tonearest): New function.
19979 (acos_test_towardzero): Likewise.
19980 (acos_test_downward): Likewise.
19981 (acos_test_upward): Likewise.
19982 (asin_test_tonearest): Likewise.
19983 (asin_test_towardzero): Likewise.
19984 (asin_test_downward): Likewise.
19985 (asin_test_upward): Likewise.
19986 (main): Call the new functions.
19987 * sysdeps/i386/fpu/libm-test-ulps: Update.
19988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19989
9568c0c2
JM
19990 [BZ #13884]
19991 [BZ #13924]
19992 * math/e_exp10.c: Include <float.h>.
19993 (__ieee754_exp10): Handle underflow here rather than multiplying
19994 large negative argument by M_LN10.
19995 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19996 of __ieee754_expf.
19997 * math/e_exp10l.c: Include <float.h>.
19998 (__ieee754_exp10l): Handle underflow here rather than multiplying
19999 large negative argument by M_LN10l.
20000 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20001 spurious overflow exception on underflow.
20002
5ac3ea17
MP
200032012-04-29 Marek Polacek <polacek@redhat.com>
20004
20005 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20006 (__fortify_function): New macro.
20007 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20008 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20009 __extern_always_inline.
20010 * libio/bits/stdio2.h: Likewise.
20011 * libio/bits/stdio.h: Likewise.
20012 * string/string.h: Likewise.
20013 * string/bits/string3.h: Likewise.
20014 * include/stdio.h: Likewise.
20015 * stdlib/bits/stdlib.h: Likewise.
20016 * stdlib/stdlib.h: Likewise.
20017 * rt/bits/mqueue2.h: Likewise.
20018 * rt/mqueue.h: Likewise.
20019 * posix/bits/unistd.h: Likewise.
20020 * posix/unistd.h: Likewise.
20021 * io/bits/poll2.h: Likewise.
20022 * io/bits/fcntl2.h: Likewise.
20023 * io/fcntl.h: Likewise.
20024 * io/sys/poll.h: Likewise.
20025 * misc/bits/syslog.h: Likewise.
20026 * misc/bits/syslog-ldbl.h: Likewise.
20027 * misc/sys/syslog.h: Likewise.
20028 * socket/bits/socket2.h: Likewise.
20029 * socket/sys/socket.h: Likewise.
20030 * debug/tst-chk1.c: Likewise.
20031 * wcsmbs/bits/wchar2.h: Likewise.
20032 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20033 * wcsmbs/wchar.h: Likewise.
20034
ecf0ebfb
AJ
200352012-04-29 Andreas Jaeger <aj@suse.de>
20036
20037 * Makerules (tests): Remove enable-check-abi protection.
20038 (check-abi-warn): Remove.
20039 (check-abi-%): Remove check-abi-warn usage.
20040
20041 * configure.in: Remove check-abi configure option.
20042 * configure: Regenerated.
20043 * config.make.in (enable-check-abi): Remove.
20044
6d5c57fa
AS
200452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20046
24c5d07e 20047 [BZ #14033]
ded5180a
AS
20048 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20049 double functions to double *_finite functions.
20050
7e0d315d
AS
20051 [BZ #13941]
20052 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20053 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20054 LDBL_MIN_EXP.
20055 * stdio-common/Makefile (tests): Add tst-sprintf3.
20056 * stdio-common/tst-sprintf3.c: New file.
20057
6d5c57fa
AS
20058 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20059 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20060
0749ff8b
JM
200612012-04-28 Joseph Myers <joseph@codesourcery.com>
20062
20063 * conform/conformtest.pl: Remove duplicate typed-constant
20064 handling.
20065
8dbd5d7b
DM
200662012-04-28 David S. Miller <davem@davemloft.net>
20067
20068 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20069 (check-abi-%): Remove AWK script prerequisite and explicit
20070 abilist directory.
20071 (check-abi): Rewrite to just diff the symlist with the abilist.
20072 (config-tls, config-abi-config): Delete, no longer used.
20073 (update-abi-%): Remove AWK script and explicit abilist directory.
20074 (update-abi): Rewrite to simply compare and conditionally copy the
20075 symlist and the sysdep abilist file. Remove update-abi-config
20076 checks.
20077 * abilist/ld.abilist: Remove.
20078 * abilist/libBrokenLocale.abilist: Remove.
20079 * abilist/libanl.abilist: Remove.
20080 * abilist/libcrypt.abilist: Remove.
20081 * abilist/libdl.abilist: Remove.
20082 * abilist/librt.abilist: Remove.
20083 * abilist/libthread_db.abilist: Remove.
20084 * abilist/libutil.abilist: Remove.
20085 * scripts/extract-abilist.awk: Remove.
20086 * scripts/merge-abilist.awk: Remove.
20087 * sysdeps/generic/libcidn.abilist: New file.
20088 * sysdeps/generic/libnss_compat.abilist: New file.
20089 * sysdeps/generic/libnss_db.abilist: New file.
20090 * sysdeps/generic/libnss_dns.abilist: New file.
20091 * sysdeps/generic/libnss_files.abilist: New file.
20092 * sysdeps/generic/libnss_hesiod.abilist: New file.
20093 * sysdeps/generic/libnss_nis.abilist: New file.
20094 * sysdeps/generic/libnss_nisplus.abilist: New file.
20095 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20096 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20097 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20098 file.
20099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20100 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20101 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20102 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20103 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20105 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20106 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20107 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20108 file.
20109 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20110 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20111 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20112 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20113 file.
20114 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20115 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20116 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20117 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20118 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20119 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20120 file.
20121 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20122 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20123 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20124 file.
20125 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20127 New file.
20128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20129 New file.
20130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20131 New file.
20132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20133 New file.
20134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20135 New file.
20136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20137 New file.
20138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20139 New file.
20140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20141 New file.
20142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20143 New file.
20144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20145 New file.
20146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20147 New file.
20148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20149 New file.
20150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20151 New file.
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20153 file.
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20155 New file.
20156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20157 New file.
20158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20159 file.
20160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20161 New file.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20163 New file.
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20165 file.
20166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20167 New file.
20168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20169 New file.
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20171 New file.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20173 New file.
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20175 New file.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20177 New file.
20178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20180 file.
20181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20182 New file.
20183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20184 file.
20185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20186 file.
20187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20188 file.
20189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20190 file.
20191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20192 file.
20193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20194 New file.
20195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20196 file.
20197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20198 file.
20199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20200 New file.
20201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20202 file.
20203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20205 file.
20206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20207 New file.
20208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20209 file.
20210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20211 file.
20212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20213 file.
20214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20215 file.
20216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20217 file.
20218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20219 New file.
20220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20221 file.
20222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20223 file.
20224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20225 New file.
20226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20227 file.
20228 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20229 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20230 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20231 file.
20232 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20233 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20234 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20235 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20236 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20237 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20238 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20239 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20240 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20241 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20244 file.
20245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20246 New file.
20247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20248 file.
20249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20250 file.
20251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20252 file.
20253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20254 file.
20255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20256 file.
20257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20258 New file.
20259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20260 New file.
20261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20262 file.
20263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20264 New file.
20265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20266 file.
20267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20269 file.
20270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20271 New file.
20272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20273 file.
20274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20275 file.
20276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20277 file.
20278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20279 file.
20280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20281 file.
20282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20283 New file.
20284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20285 New file.
20286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20287 file.
20288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20289 New file.
20290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20291 file.
20292
41d73a1b
JM
202932012-04-28 Joseph Myers <joseph@codesourcery.com>
20294
20295 * conform/conformtest.pl: Fix typo in handling typed-constant from
20296 allow-header.
20297
28aeeda4
JM
202982012-04-27 Joseph Myers <joseph@codesourcery.com>
20299
adae8f5e
JM
20300 * README: Cut down references to pre-2.6 Linux kernels and
20301 Linuxthreads. Update lists of configurations in libc and ports
20302 and sort alphabetically. Say "or newer" with Linux kernel version
20303 requirements.
20304
28aeeda4
JM
20305 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20306
a462cb63
RA
203072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20308
20309 [BZ #887]
20310 * math/libm-test.inc (logb_test_downward): New test to expose
20311 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20312 rounding mode.
20313
6ad3493e
JM
203142012-04-27 Joseph Myers <joseph@codesourcery.com>
20315
20316 [BZ #14027]
20317 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20318 to be done.
20319 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20320 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20321
2ce4f015
JM
203222012-04-26 Joseph Myers <joseph@codesourcery.com>
20323
5aeb141a
JM
20324 * sysdeps/unix/i386/brk.S: Remove file.
20325 * sysdeps/unix/i386/dl-brk.S: Likewise.
20326 * sysdeps/unix/i386/pipe.S: Likewise.
20327 * sysdeps/unix/i386/sigreturn.S: Likewise.
20328 * sysdeps/unix/i386/syscall.S: Likewise.
20329 * sysdeps/unix/i386/vfork.S: Likewise.
20330 * sysdeps/unix/i386/wait.S: Likewise.
20331
7143acae
JM
20332 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20333 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20334
2ce4f015
JM
20335 * configure.in (arm*-none*): Do not allow without
20336 --enable-hacker-mode.
20337 (netbsd*): Remove case setting base_os.
20338 (386bsd*): Likewise.
20339 (freebsd*): Likewise.
20340 (bsdi*): Likewise.
20341 (osf*): Likewise.
20342 (sunos*): Likewise.
20343 (ultrix*): Likewise.
20344 (newsos*): Likewise.
20345 (dynix*): Likewise.
20346 (*bsd*): Likewise.
20347 (sysv*): Likewise.
20348 (isc*): Likewise.
20349 (esix*): Likewise.
20350 (sco*): Likewise.
20351 (minix*): Likewise.
20352 (irix4*): Likewise.
20353 (irix6*): Likewise.
20354 (solaris[2-9]*): Likewise.
20355 (none): Likewise.
20356 * configure: Regenerated.
20357
0ac229c8
AZ
203582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20359
20360 [BZ #11521]
20361 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20362 overflow or cancellation in calculating denominator.
20363 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20364 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20365 down expression to avoid unexpected rounding in newer GCCs.
20366 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20367
33f244f4
DM
203682012-04-26 David S. Miller <davem@davemloft.net>
20369
20370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20371 long-double compat symbols.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20385
cfa1f3e8
DM
203862012-04-25 David S. Miller <davem@davemloft.net>
20387
20388 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20389 HWCAP_* values only after the memory barriers have been defined.
20390 (atomic_full_barrier): Define.
20391 (atomic_read_barrier): Define.
20392 (atomic_write_barrier): Define.
20393
6e236b92
SP
203942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20395
20396 * shlib-versions: Add libgcc_s version information.
20397 * sysdeps/generic/libgcc_s.h: Remove.
20398 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20399 libgcc_s.h.
20400 * sysdeps/gnu/unwind-resume.c: Likewise.
20401 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20402
aab39a09
DM
204032012-04-25 David S. Miller <davem@davemloft.net>
20404
20405 * sysdeps/unix/sparc/brk.S: Delete.
20406 * sysdeps/unix/sparc/dl-brk.S: Delete.
20407 * sysdeps/unix/sparc/pipe.S: Delete.
20408 * sysdeps/unix/sparc/sysdep.S: Delete.
20409 * sysdeps/unix/sparc/sysdep.h: Delete.
20410 * sysdeps/unix/sparc/vfork.S: Delete.
20411 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20412 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20414 ret_ERRVAL, r0, r1, MOVE): Define.
20415 (JUMPTARGET): Remove.
20416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20417 sysdeps/unix/sparc/sysdep.h
20418 (ENTRY, END): Remove.
20419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20420
a3cc4f48
JM
204212012-04-25 Joseph Myers <joseph@codesourcery.com>
20422
2ed8cda2
JM
20423 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20424 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20425 -DIS_IN_build.
20426
35d76d59
JM
20427 * timezone/README: Update upstream location and email address for
20428 tzcode and tzdata.
20429 * timezone/zdump.c: Update from tzcode 2012b.
20430 * timezone/zic.c: Likewise.
20431
a3cc4f48
JM
20432 * configure.in (libc_cv_as_needed): Remove test.
20433 * configure: Regenerated.
20434 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20435 conditional definition.
20436 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20437 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20438 * config.make.in (have-as-needed): Remove variable.
20439
ceab42c3
SP
204402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20441 Paul Pluzhnikov <ppluzhnikov@google.com>
20442
20443 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20444 strings correctly.
20445
3ce2865f
CLT
204462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20447
20448 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20449 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20450 * sysdeps/sh/strlen.S: Likewise.
20451
f37e0d68
JM
204522012-04-24 Joseph Myers <joseph@codesourcery.com>
20453
ae186e9a
JM
20454 * sysdeps/unix/fork.S: Remove file.
20455 * sysdeps/unix/i386/fork.S: Likewise.
20456 * sysdeps/unix/sparc/fork.S: Likewise.
20457
b96914af
JM
20458 * sysdeps/unix/system.c: Remove file.
20459 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20460
f37e0d68
JM
20461 * sysdeps/unix/getegid.S: Remove file.
20462 * sysdeps/unix/geteuid.S: Likewise.
20463
87ef29ca
RM
204642012-04-24 Roland McGrath <roland@hack.frob.com>
20465
83bcd236
RM
20466 * scripts/check-localplt.awk: New file.
20467 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20468 of diff.
20469 * scripts/data/localplt-generic.data: Add a comment.
20470
87ef29ca
RM
20471 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20472 NODE when __dir_mkfile failed.
20473 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20474 Reported by Ludovic Courtès <ludo@gnu.org>.
20475
e5a6e567
AJ
204762012-04-24 Andreas Jaeger <aj@suse.de>
20477
20478 * Makerules (common-clean): Also remove gen-as-const-headers
20479 files.
20480
c1820385
JM
204812012-04-24 Joseph Myers <joseph@codesourcery.com>
20482
20483 * Makerules (native-compile): Do not change working directory for
20484 build. Use $(OUTPUT_OPTION) in command.
20485 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20486
94e02fc4
AZ
204872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20488
20489 [BZ #13886]
20490 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20491 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20492 * math/libm-test.inc (floor_test): Add more tests.
20493 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20494
3a533ca3
JM
204952012-04-24 Joseph Myers <joseph@codesourcery.com>
20496
940ab4b3
JM
20497 * sysdeps/unix/getdents.c: Remove file.
20498 * sysdeps/unix/sysv/getdents.c: Likewise.
20499 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20500
90e037bd
JM
20501 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20502 sysdeps/unix/mman/syscalls.list.
20503 (mmap): Likewise.
20504 (mprotect): Likewise.
20505 (msync): Likewise.
20506 (munmap): Likewise.
20507 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20508 * sysdeps/unix/mman/syscalls.list: Remove.
20509 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20510
3a533ca3
JM
20511 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20512 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20513 * configure: Regenerated.
20514 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20515 $(libgcc_s_suffix).
20516 * config.make.in (libgcc_s_suffix): Remove variable.
20517
1ad743de
JM
205182012-04-23 Joseph Myers <joseph@codesourcery.com>
20519
4ad451e2
JM
20520 * sysdeps/unix/sysv/gethostname.c: Move to ...
20521 * sysdeps/posix/gethostname.c: ... here.
20522
5e37ce39
JM
20523 * sysdeps/unix/execve.S: Remove file.
20524
1ad743de
JM
20525 * sysdeps/unix/_exit.S: Remove file.
20526
4e681b5b
AJ
205272012-04-23 Andreas Jaeger <aj@suse.de>
20528
20529 [BZ #13739]
20530 * manual/Makefile: Remove make dist support, there's no
20531 need for a stand-alone documentation tar ball.
20532 (TEXI2DVI): Define always, it's not in Makeconfig.
20533 (dist): Removed.
20534 (tar-it): Removed.
20535 (edition): Removed.
20536 (glibc-doc-$(edition).tar): Removed
20537 (%.Z): Removed.
20538 (%.gz): Removed.
20539 (%.uu): Removed.
20540 (ETAGS): Remove, it's in Makeconfig.
20541 (move-if-change): Remove, it's in Makeconfig.
20542
38686a03 205432012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20544
20545 [BZ #13970]
20546 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20547 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20548 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20549 (strtod_l, strtof_l, strtold_l): Remove __wur.
20550 It is not necessarily an error to ignore strtol's return value.
20551 One can reliably look at the stored endptr to decide whether
20552 the number had valid syntax.
20553
7c0616fa
AJ
205542012-04-21 Andreas Jaeger <aj@suse.de>
20555
803cb6b7 20556 [BZ #13739]
7c0616fa
AJ
20557 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20558
b0fe253f
JM
205592012-04-21 Joseph Myers <joseph@codesourcery.com>
20560
20561 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20562 * sysdeps/unix/sysv/Versions: Remove file.
20563
8280f22d
MT
205642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20565
20566 [BZ #13927]
20567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20568
75ce411f 205692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20570
20571 [BZ #7064]
20572 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20573 version from __vm86.
20574
097d59fa
JM
205752012-04-20 Joseph Myers <joseph@codesourcery.com>
20576
a90f3bcb
JM
20577 * sysdeps/unix/common/lxstat.c: Remove file.
20578 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20579
edc7ea78
JM
20580 * sysdeps/unix/sysv/Makefile: Remove file.
20581
cb78c221
JM
20582 * sysdeps/unix/sysv/direct.h: Remove file.
20583
efa6a45f
JM
20584 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20585 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20586 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20587 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20588 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20589 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20590 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20591
9c9f2d0c
JM
20592 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20593
4541c83b
JM
20594 * sysdeps/unix/xmknod.c: Remove file.
20595 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20596
f5d153a0
JM
20597 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20598
aa746595
JM
20599 * sysdeps/unix/sysv/i386/time.S: Remove file.
20600
cce5905e
JM
20601 * sysdeps/unix/fxstat.c: Remove file.
20602 * sysdeps/unix/xstat.c: Likewise.
20603 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20604
37fa3841
JM
20605 * sysdeps/unix/sysv/sigaction.c: Remove file.
20606
ff1962a3
JM
20607 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20608 (sysdep_headers): Remove variable.
20609 [termio.h not in sysdep_headers] (generated): Likewise.
20610 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20611 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20612 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20613 * sysdeps/unix/sysv/tcflow.c: Likewise.
20614 * sysdeps/unix/sysv/tcflush.c: Likewise.
20615 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20616 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20617 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20618 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20619 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20620
e7740d31
JM
20621 * sysdeps/unix/siglist.c: Remove file.
20622
ee06f18b
JM
20623 * sysdeps/unix/getppid.S: Remove file.
20624
097d59fa
JM
20625 * sysdeps/unix/mkdir.c: Remove file.
20626 * sysdeps/unix/rmdir.c: Likewise.
20627
ff3d51ec
AS
206282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20629
20630 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20631 ERR_MAX value.
20632 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20633 errlist-compat value.
20634
50f81fd7
DM
206352012-04-18 David S. Miller <davem@davemloft.net>
20636
20637 * sysdeps/generic/memcopy.h (reg_char): Delete.
20638 * debug/strcat_chk.c: Use char, not reg_char.
20639 * debug/strcpy_chk.c: Likewise.
20640 * debug/strncat_chk.c: Likewise.
20641 * debug/strncpy_chk.c: Likewise.
20642 * string/memchr.c: Likewise.
20643 * string/memrchr.c: Likewise.
20644 * string/rawmemchr.c: Likewise.
20645 * string/strcat.c: Likewise.
20646 * string/strchr.c: Likewise.
20647 * string/strchrnul.c: Likewise.
20648 * string/strcmp.c: Likewise.
20649 * string/strcpy.c: Likewise.
20650 * string/strncat.c: Likewise.
20651 * string/strncmp.c: Likewise.
20652 * string/strncpy.c: Likewise.
20653
8ff41c46
WS
206542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20655
20656 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20657 __builtin_memcopy is called when src and dest ranges are known to not
20658 overlap.
20659
6b652f46
WS
206602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20661
20662 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20663 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20664 fwd_align_merge macro call.
20665 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20666 bwd_align_merge macro call.
20667 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20668
b282631e
WS
206692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20670
20671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20672 bwd_align_merge macros.
20673 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20674 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20675 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20676
95aa737c
DM
206772012-04-18 David S. Miller <davem@davemloft.net>
20678
20679 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20680
7a99a614
AJ
206812012-04-18 Andreas Jaeger <aj@suse.de>
20682
20683 [BZ# 6794]
20684 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20685 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20686 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20687
20688 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20689 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20690 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20691
20692 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20693 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20694 Adjust for changed ldbl-128 files.
20695
20696 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20697 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20698 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20699
e5270c23
DM
207002012-04-17 David S. Miller <davem@davemloft.net>
20701
20702 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20703
fb5e92c9
AS
207042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20705
20706 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20707 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20708 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20709 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20710 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20711 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20712
76da7265
AZ
207132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20714
20715 [BZ #6794]
20716 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20717 * math/libm-test.inc: Add ilogb errno and exception tests.
20718 * math/w_ilogb.c: New file: ilogb wrapper.
20719 * math/w_ilogbf.c: New file: ilogbf wrapper.
20720 * math/w_ilogbl.c: New file: ilogbl wrapper.
20721 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20722 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20723 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20724 exception being thrown with 0.0 as argument.
20725 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20726 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20727 exception being thrown with 0.0 as argument.
20728 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20729 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20730 exception being thrown with 0.0 as argument.
20731 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20732 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20733 exception being thrown with 0.0 as argument.
20734 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20735 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20736 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20737 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20738 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20739 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20740 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20741 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20742 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20743
0396e69d
PB
207442012-04-17 Petr Baudis <pasky@ucw.cz>
20745
20746 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20747 with altivec.
20748
750b5926
MP
207492012-04-16 Marek Polacek <polacek@redhat.com>
20750
20751 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20752
751728a1
MP
207532012-04-16 Marek Polacek <polacek@redhat.com>
20754
20755 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20756 operands of fdivp instruction.
20757
34a27407
L
207582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20759
20760 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20761 * elf/tst-auditmod3b.c: Likewise.
20762 * elf/tst-auditmod4b.c: Likewise.
20763 * elf/tst-auditmod5b.c: Likewise.
20764 * elf/tst-auditmod6b.c: Likewise.
20765 * elf/tst-auditmod6c.c: Likewise.
20766 * elf/tst-auditmod7b.c: Likewise.
20767 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20768 * sysdeps/x86_64/preconfigure.in: Likewise.
20769 * sysdeps/x86_64/preconfigure: Regenerated.
20770
7e73e17d
L
207712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20772
20773 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20774 __ILP32__.
20775
c7a6ab72
AB
207762012-04-13 Antoine Balestrat <merkil33@gmail.com>
20777
20778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20779 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20780
a9e8e0e0
CL
207812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20782
20783 [BZ #13973]
20784 * locale/iso-639.def: Fix gl language name. Spotted by
20785 Yaron Shahrabani.
20786
ec98af7d
RM
207872012-04-12 Roland McGrath <roland@hack.frob.com>
20788
20789 [BZ #2074]
20790 * libio/libio.h (__io_write_fn): Update comment.
20791
247c3ede
PB
207922012-04-12 Petr Baudis <pasky@ucw.cz>
20793
20794 [BZ #2074]
20795 * stdio.texi (Hook Functions): The user provided writer function
20796 is not allowed to return -1.
20797
55939d6d
DM
207982012-04-11 David S. Miller <davem@davemloft.net>
20799
20800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20801
90020f5a
MF
208022012-04-11 Mike Frysinger <vapier@gentoo.org>
20803
20804 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20805 Add a leading slash to rtkaio.
20806
288f9098
JM
208072012-04-11 Jim Meyering <meyering@redhat.com>
20808
90020f5a
MF
20809 [BZ #11959]
20810 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20811 It is not necessarily an error to ignore fwrite's return
20812 value. One can reliably use ferror to test for errors after
20813 the fact.
288f9098 20814
4be2b570
L
208152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20816
20817 * bits/types.h (__snseconds_t): New type.
20818 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20819
20820 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20822 (__SNSECONDS_T_TYPE): Likewise.
20823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20824 (__SNSECONDS_T_TYPE): Likewise.
20825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20826 (__SNSECONDS_T_TYPE): Likewise.
20827
288f9098 208282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20829
20830 [BZ #2636]
20831 * manual/time.texi (Processor Time): Return type of times is
20832 elapsed real time since an arbitrary point in the past.
20833 (CPU Time): Move CLK_TCK from here...
20834 (Processor Time): ...to here. Correct description.
20835 * manual/conf.texi (Constants for Sysconf): Correct description of
20836 _SC_CLK_TCK.
20837
d7dd4413
DM
208382012-04-10 David S. Miller <davem@davemloft.net>
20839
20840 [BZ #13967]
20841 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20842 where the is a gap between DT_REL(A) and DT_JMPREL.
20843
b46068fc
L
208442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20845
20846 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20847 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20848 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20849
73d65cc3
SP
208502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20851
20852 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20853 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20854 (dl_main): Handle --inhibit-cache.
20855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20856 _dl_inhibit_cache.
20857 * elf/dl-load.c (_dl_map_object): Use it.
20858 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20859
bcc8d661
JM
208602012-04-09 Joseph Myers <joseph@codesourcery.com>
20861
8f9a2fae
JM
20862 [BZ #13872]
20863 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20864 (__ieee754_powl): Saturate large exponents rather than testing for
20865 overflow of y*log2(x).
20866 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20867 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20868 exceptions.
20869
bcc8d661
JM
20870 [BZ #11521]
20871 * math/s_ctan.c: Include <float.h>.
20872 (__ctan): Avoid internal overflow or cancellation in calculating
20873 denominator.
20874 * math/s_ctanf.c: Likewise.
20875 * math/s_ctanl.c: Likewise.
20876 * math/s_ctanh.c: Likewise.
20877 * math/s_ctanhf.c: Likewise.
20878 * math/s_ctanhl.c: Likewise.
20879 * math/libm-test.inc (ctan_test): Add more tests.
20880 (ctanh_test): Likewise.
20881 * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20883
823fbbb4
AJ
208842012-04-09 Andreas Jaeger <aj@suse.de>
20885
03879793
AJ
20886 [BZ #6894]
20887 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20888 is an optional BSD extension.
20889
823fbbb4
AJ
20890 [BZ #10254]
20891 * manual/stdio.texi (Opening Streams): Document additional fopen
20892 parameters.
20893
8de131cb
RM
208942012-04-09 Roland McGrath <roland@hack.frob.com>
20895
20896 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20897 %eax without telling the compiler.
20898
c0ed9d7d
CD
208992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20900
20901 [BZ # 13963]
20902 * manual/install.texi: Use sourceware.org.
20903
c483f6b4
JM
209042012-04-09 Joseph Myers <joseph@codesourcery.com>
20905
d7dd9453
JM
20906 [BZ #13873]
20907 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20908 (__ieee754_pow): Generate overflow and underflow using huge*huge
20909 and tiny*tiny rather than just returning constant infinity or zero
20910 for large exponents.
20911 * math/libm-test.inc (pow_test): Require overflow exceptions for
20912 applicable cases of large exponents.
20913
c483f6b4
JM
20914 [BZ #706]
20915 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20916 (__ieee754_pow): Use iterative multiplication algorithm only for
20917 integer exponents with absolute value below 1024. Check for odd
20918 integer exponents when using algorithm for real exponents.
20919 * math/libm-test.inc (pow_test): Add more tests.
20920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20921
d2de7579
JM
209222012-04-08 Joseph Myers <joseph@codesourcery.com>
20923
20924 [BZ #13705]
20925 * math/libm-test.inc (exp_test): Do not allow overflow exception
20926 on underflow test.
20927
f77f1232
AJ
209282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20929
20930 [BZ #13705]
20931 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20932 instead of __kernel_standard_f.
20933
3884932b
MF
209342012-04-08 Mike Frysinger <vapier@gentoo.org>
20935
20936 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20937 * sysdeps/x86_64/memset_chk.S: Likewise.
20938
54472e9c
AJ
209392012-04-08 Andreas Jaeger <aj@suse.de>
20940
6ab0fbfc
AJ
20941 [BZ #10153]
20942 * manual/startup.texi (Environment Access): Describe return value
20943 for putenv and setenv.
20944
61efba8c
AJ
20945 [BZ #6895]
20946 * manual/filesys.texi (Directory Entries): Add description for
20947 DT_LNK.
20948
95c3f29a
AJ
20949 [BZ #6890]
20950 * manual/filesys.texi (Directory Entries): Clarify that it's file
20951 system not operating system in the description of DT_UNKNOWN.
20952
54472e9c
AJ
20953 [BZ #6578]
20954 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20955
624254b1
SC
209562012-04-08 Stephen Compall <s11@member.fsf.org>
20957
20958 [BZ #6649]
20959 * manual/llio.texi (Opening and Closing Files): Add cross
20960 reference to explain mode argument.
20961
1e4920e0
MF
209622012-04-07 Mike Frysinger <vapier@gentoo.org>
20963
20964 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20965 * sysdeps/x86_64/memset_chk.S: Likewise.
20966
5ed848f3
DM
209672012-04-07 David S. Miller <davem@davemloft.net>
20968
20969 * elf/elf.h (R_SPARC_WDISP10): Define.
20970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20971 R_SPARC_SIZE32.
20972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20973 R_SPARC_SIZE64 and R_SPARC_H34.
20974
96154cd8
CD
209752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20976
20977 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20978 conditions and remove no longer applicable assertion.
20979
9904dc47
L
209802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 * bits/byteswap.h: Include <features.h>.
20983 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20984 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20985
f8887d0a
L
209862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20987
20988 * bits/byteswap.h (__bswap_16): Removed.
20989 Include <bits/byteswap-16.h> to get __bswap_16.
20990 * sysdeps/i386/bits/byteswap.h: Likewise.
20991 * sysdeps/s390/bits/byteswap.h: Likewise.
20992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20993 * bits/byteswap-16.h: New file.
20994 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20995 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20996 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20997 * string/Makefile (headers): Add bits/byteswap-16.h.
20998
62470f60
PP
209992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21000
21001 [BZ #13895]
21002 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21003 extra indirection.
21004 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21005 * nss/tst-nss-static.c: New.
21006
4dad7bab
RM
210072012-04-06 Robert Millan <rmh@gnu.org>
21008
21009 [BZ #6486]
21010 * manual/llio.texi (File Position Primitive): lseek
21011 refers to WHENCE when it really means OFFSET.
21012
e9142a17
AJ
210132012-04-06 Andreas Jaeger <aj@suse.de>
21014
2c040eff
AJ
21015 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21016 strncmp declarations.
21017
e9142a17
AJ
21018 * abilist/libc.abilist: Add __poll and __ppoll.
21019
ff9f1c5f
DM
210202012-04-05 David S. Miller <davem@davemloft.net>
21021
dcd2ae90
DM
21022 * scripts/check-local-headers.sh: Accept a host triplet in the
21023 path matched by the exclude regexp.
21024
993eb054
DM
21025 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21026 definition.
21027 * sysdeps/powerpc/powerpc32/dl-machine.h
21028 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21029 * sysdeps/s390/s390-32/dl-machine.h
21030 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21031 * sysdeps/sparc/sparc32/dl-machine.h
21032 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21033 * sysdeps/sparc/sparc64/dl-machine.h
21034 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21035
ff9f1c5f
DM
21036 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21037 lazy binding.
48e2e132 21038 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21039 undefined symbol errors.
21040
48e2e132 21041 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21042 DT_NEEDED entries.
21043
e80d6f94
MM
210442012-04-05 Michael Matz <matz@suse.de>
21045
21046 [BZ #13592]
21047 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21048
349fa79f
AJ
210492012-04-05 Andreas Jaeger <aj@suse.de>
21050
21051 [BZ #13908]
21052 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21053 comment.
21054
f402708f
KK
210552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21056
21057 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21058 which ROUND is no valid rounding mode.
21059
2ecccfc9
KK
210602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21061
21062 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21063 read again.
21064 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21065
8a53f50f
KK
210662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21067
21068 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21069 an exception using FPU order intentionally.
21070
210712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21072
21073 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21074 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21075 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21076 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21077
d653abb7
SJ
210782012-04-05 Simon Josefsson <simon@josefsson.org>
21079
21080 [BZ #12340]
21081 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21082 EINVAL when BUFLEN is too smal.
21083
c3b1bf7d
TS
210842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21085
21086 [BZ #13553]
21087 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21088 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21089
b1aa60f3
AJ
210902012-04-03 Andreas Jaeger <aj@suse.de>
21091
c3b1bf7d 21092 [BZ #13938]
67f60a26
AJ
21093 * manual/setjmp.texi (System V contexts): Fix sentence.
21094
b1aa60f3
AJ
21095 [BZ #13926]
21096 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21097 New macro for this case.
21098 [!__GNUC__] (__bswap_64): New inline function for this case.
21099 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21100 * bits/byteswap.h: Likewise.
21101 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21102 ull, guard with __GLIBC_HAVE_LONG_LONG.
21103
21104 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21105 __GLIBC_HAVE_LONG_LONG.
21106
21107 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21108 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21109
39c59c35
TMQMF
211102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21111
21112 [BZ #13691]
21113 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21114 inptr and inend, rather than using last_ch.
21115
135ffda8
DM
211162012-04-02 David S. Miller <davem@davemloft.net>
21117
21118 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21119 * stdio-common/printf-parse.h (read_int): Change return type to
21120 'int', return -1 on INT_MAX overflow.
21121 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21122 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21123 overflows INT_MAX. Check for overflow of in-format-string precision
21124 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21125 SIZE_MAX not INT_MAX for integer overflow test.
21126 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21127 skip the construct in the format string but do not record anything.
21128 * stdio-common/bug22.c: Adjust to test both width/prevision
21129 INT_MAX overflow as well as total length INT_MAX overflow. Check
21130 explicitly for proper errno values.
21131
228c019e
TS
211322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21133
302cadd3
TS
21134 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21135 CHAR_MAX.
21136 * string/test-strcmp.c [! WIDE]: Likewise.
21137 * time/tst-mktime2.c: Likewise for INT_MAX.
21138 * string/test-string.h: #include <sys/param.h> for MIN.
21139
228c019e
TS
21140 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21141 * sysdeps/i386/init-first.c (init): Likewise.
21142 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21143 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21144 * sysdeps/sh/init-first.c (init): Likewise.
21145
cfa633f5
UD
211462012-04-01 Ulrich Drepper <drepper@gmail.com>
21147
21148 * po/ru.po: Update from translation team.
d1635ef8 21149 * po/vi.po: Likewise.
cfa633f5 21150
6cd0a5ea
SP
211512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21152
21153 * resolv/nss_dns/dns-host.c: Merge copyright years.
21154
4b43400f
LD
211552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21156
21157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21158 Optimize memcpy with prefetch if
21159 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21160 src, dst pointers have unequal 16 byte alignments.
21161
48c41d04
SP
211622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21163
21164 [BZ #13928]
21165 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21166 from a CNAME entry and return the minimum ttl for the query.
21167 (gaih_getanswer_slice): Likewise.
21168
b8dc394d
JL
211692012-03-30 Jeff Law <law@redhat.com>
21170
21171 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21172 due to long keys.
21173 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21174 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21175
2f5a5ed0
JL
21176 * resolv/nss_dns/dns-host.c: Update copyright year.
21177
1d39e359
UD
211782012-03-30 Ulrich Drepper <drepper@gmail.com>
21179
c030f70c 21180 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21181 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21182
1d39e359
UD
21183 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21184 comments for sendmmsg.
21185
211862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21187
21188 [BZ #13691]
21189 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21190 with only 1 character between 0x0041 and 0x01b0.
21191 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21192 * wcsmbs/tst-mbsnrtowcs.c: New file.
21193
20fde227
DM
211942012-03-29 David S. Miller <davem@davemloft.net>
21195
21196 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21197 small copies by hand.
21198
984a4237
JL
211992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21200
21201 [BZ #13761]
21202 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21203 _nss_compat_initgroups_dyn): Fall back to malloc/free
21204 for large group memberships.
21205
18c9d62b
DM
212062012-03-28 David S. Miller <davem@davemloft.net>
21207
88d85d4f
DM
21208 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21209 that branches into memcpy.
21210 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21212 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21213 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21215 bits.
21216 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21217 implementation too.
21218 * sysdeps/sparc/mempcpy.S: New file.
21219
e5aa83e1
DM
21220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21221 the IFUNC routine in the libc case.
21222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21223
88570753
DM
21224 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21225 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21226 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21227 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21228 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21229 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21230 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21231 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21232
249d7567
DM
21233 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21234 loop to 256 bytes instead of 64 bytes and fix test signedness.
21235
18c9d62b
DM
21236 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21237 * sysdeps/sparc/sparc32/Makefile: rather than here...
21238 * sysdeps/sparc/sparc64/Makefile: and here.
21239
05f3d1f6
UD
212402012-03-28 Ulrich Drepper <drepper@gmail.com>
21241
21242 * malloc/mallocbug.c: Avoid warnings about unused variables.
21243
86ae07a8
JL
212442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21245
21246 [BZ #13760]
21247 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21248 in the right place. Discard and retry query if response is
21249 larger than input buffer size.
21250
41bf21a1
JM
212512012-03-28 Joseph Myers <joseph@codesourcery.com>
21252
d6270972
JM
21253 [BZ #369]
21254 [BZ #2678]
21255 [BZ #3866]
21256 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21257 x for large integer exponent.
21258 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21259 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21260 sign of result as needed afterwards.
21261 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21262 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21263 result for underflowing pow the same as for overflow.
21264 (__kernel_standard_l): Handle powl overflow and underflow here
21265 rather than calling __kernel_standard.
21266 * math/libm-test.inc (pow_test): Add more tests.
21267
414fca03 21268 [BZ #3868]
41bf21a1
JM
21269 [BZ #13879]
21270 [BZ #13910]
21271 [BZ #13911]
21272 [BZ #13912]
21273 [BZ #13913]
21274 [BZ #13915]
21275 [BZ #13916]
21276 [BZ #13917]
21277 [BZ #13918]
21278 [BZ #13919]
21279 [BZ #13920]
21280 [BZ #13921]
21281 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21282 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21283 (__kernel_standard_l): New function.
21284 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21285 __kernel_standard.
21286 * math/w_acosl.c (__acosl): Likewise.
21287 * math/w_asinl.c (__asinl): Likewise.
21288 * math/w_atan2l.c (__atan2l): Likewise.
21289 * math/w_atanhl.c (__atanhl): Likewise.
21290 * math/w_coshl.c (__coshl): Likewise.
21291 * math/w_exp10l.c (__exp10l): Likewise.
21292 * math/w_exp2l.c (__exp2l): Likewise.
21293 * math/w_fmodl.c (__fmodl): Likewise.
21294 * math/w_hypotl.c (__hypotl): Likewise.
21295 * math/w_j0l.c (__j0l, __y0l): Likewise.
21296 * math/w_j1l.c (__j1l, __y1l): Likewise.
21297 * math/w_jnl.c (__jnl, __ynl): Likewise.
21298 * math/w_lgammal.c (__lgammal): Likewise.
21299 * math/w_log10l.c (__log10l): Likewise.
21300 * math/w_log2l.c (__log2l): Likewise.
21301 * math/w_logl.c (__logl): Likewise.
21302 * math/w_powl.c (__powl): Likewise.
21303 * math/w_remainderl.c (__remainderl): Likewise.
21304 * math/w_scalbl.c (sysv_scalbl): Likewise.
21305 * math/w_sinhl.c (__sinhl): Likewise.
21306 * math/w_sqrtl.c (__sqrtl): Likewise.
21307 * math/w_tgammal.c (__tgammal): Likewise.
21308 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21309 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21310 * math/libm-test.inc (acos_test): Add more tests.
21311 (acosh_test): Likewise.
21312 (asin_test): Likewise.
21313 (atanh_test): Likewise.
21314 (exp_test): Likewise.
21315 (exp10_test): Likewise.
21316 (exp2_test): Likewise.
21317 (expm1_test): Likewise.
21318 (lgamma_test): Likewise.
21319 (log_test): Likewise.
21320 (log10_test): Likewise.
21321 (log1p_test): Likewise.
21322 (log2_test): Likewise.
21323 (pow_test): Do not allow some spurious overflow exceptions.
21324 (sqrt_test): Add more tests.
21325 (tgamma_test): Likewise.
21326 (y0_test): Likewise.
21327 (y1_test): Likewise.
21328 (yn_test): Likewise.
21329
dd62fda6
AB
213302012-03-27 Anton Blanchard <anton@samba.org>
21331
21332 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21333 MAP_HUGETLB.
21334 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21335 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21336 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21337
1e3cdfda
AJ
213382012-03-27 David S. Miller <davem@davemloft.net>
21339
b855ab85
DM
21340 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21341
1e3cdfda
AJ
21342 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21343 have-as-vis3 check.
21344
213452012-03-27 Andreas Jaeger <aj@suse.de>
21346
21347 * sysdeps/x86_64/elf/configure.in: Moved to ...
21348 * sysdeps/x86_64/configure.in: ... here.
21349 * sysdeps/x86_64/elf/start.S: Moved to ...
21350 * sysdeps/x86_64/start.S: ... here.
21351 * sysdeps/x86_64/elf/configure: Delete.
21352
21353 * sysdeps/x86_64/configure.in: Merge contents from
21354 sysdeps/i386/configure.in (without i686 check).
21355
21356 * sysdeps/i386/elf/Versions: Merge into ...
21357 * sysdeps/i386/Versions: ... this.
21358 * sysdeps/i386/elf/Versions: Delete file.
21359 * sysdeps/i386/elf/start.S: Moved to ...
21360 * sysdeps/i386/start.S: ...here.
21361 * sysdeps/i386/elf/configure.in: Merge into...
21362 * sysdeps/i386/configure.in: ...here.
21363 * sysdeps/i386/elf/configure.in: Delete file.
21364 * sysdeps/i386/elf/configure: Delete file.
21365
21366 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21367 * debug/backtracesyms.c: ... here.
21368 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21369 * debug/backtracesymsfd.c: ... here.
21370 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21371 * sysdeps/generic/ifunc-sel.h: ... here.
21372
21373 * sysdeps/unix/i386/start.c: Delete file.
21374 * sysdeps/unix/sparc/start.c: Delete file.
21375 * sysdeps/unix/start.c: Delete file.
21376
21377 * sysdeps/sh/elf/configure.in: Moved to ...
21378 * sysdeps/sh/configure.in: ... here.
21379 * sysdeps/sh/elf/start.S: Moved to ...
21380 * sysdeps/sh/start.S: ... here.
21381 * sysdeps/sh/elf/configure: Delete file.
21382
21383 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21384 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21385 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21386 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21387 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21388 * sysdeps/powerpc/powerpc64/start.S: here.
21389 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21390 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21391 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21392 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21393 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21394
21395 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21396 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21397 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21398 * sysdeps/powerpc/powerpc32/start.S: ... here.
21399 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21400 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21401 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21402
21403 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21404 * sysdeps/powerpc/ifunc-sel.h: ... here.
21405 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21406 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21407
21408 * sysdeps/sparc/elf/configure.in: Moved to ...
21409 * sysdeps/sparc/configure.in: ... here.
21410 * sysdeps/sparc/elf/configure: Delete file.
21411 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21412 * sysdeps/sparc/sparc32/start.S: ... here.
21413 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21414 * sysdeps/sparc/sparc64/start.S: ... here.
21415 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21416 * sysdeps/sparc/sparc32/Makefile: ... this.
21417 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21418 * sysdeps/sparc/sparc64/Makefile: ... this.
21419
21420 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21421 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21422 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21423 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21424 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21425 * sysdeps/s390/s390-32/setjmp.S: ... here.
21426 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21427 * sysdeps/s390/s390-32/configure.in: ... here.
21428 * sysdeps/s390/s390-32/elf/configure: Delete file.
21429 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21430 * sysdeps/s390/s390-32/start.S: ... here.
21431
21432 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21433 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21434 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21435 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21436 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21437 * sysdeps/s390/s390-64/setjmp.S: ... here.
21438 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21439 * sysdeps/s390/s390-64/configure.in: ... here
21440 * sysdeps/s390/s390-64/elf/configure: Delete file.
21441 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21442 * sysdeps/s390/s390-64/start.S: ... here.
21443 * sysdeps/s390/s390-64/elf/configure: Delete.
21444
21445 * configure.in: Remove support for elf directories in sysdeps.
21446
21447 * configure: Regenerated.
21448 * sysdeps/i386/configure: Regenerated.
21449 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21450 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21451 * sysdeps/s390/s390-32/configure: Regenerated.
21452 * sysdeps/s390/s390-64/configure: Regenerated.
21453 * sysdeps/sh/configure: Regenerated.
21454 * sysdeps/sparc/configure: Regenerated.
21455 * sysdeps/x86_64/configure: Regenerated.
21456
a3f61311
AS
214572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21458
c876e002
AS
21459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21460
a3f61311
AS
21461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21462 denormal result into account.
21463
ac4c54f0
RM
214642012-03-25 Roland McGrath <roland@hack.frob.com>
21465
21466 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21467 Reported by Allan McRae <allan@archlinux.org>.
21468
6a9b9c02
JL
214692012-03-23 Jeff Law <law@redhat.com>
21470
21471 * nss/getnssent.c (__nss_getent): Fix typo.
21472
4c42a0c1
DM
214732012-03-23 David S. Miller <davem@davemloft.net>
21474
21475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21476
1532c7ac
L
214772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21478
21479 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21480 to pad to uint64_t for each field.
21481 (dl_tls_index): Replace unsigned long with uint64_t.
21482
3ff42526
PP
214832012-03-23 Daniel Jacobowitz <dmj@google.com>
21484 Paul Pluzhnikov <ppluzhnikov@google.com>
21485
21486 [BZ #6528]
21487 * grp/Makefile (otherlibs): Don't set it.
21488 * inet/Makefile (otherlibs): Likewise.
21489 * login/Makefile (otherlibs): Likewise.
21490 * nscd/Makefile (otherlibs): Likewise.
21491 * posix/Makefile (otherlibs): Likewise.
21492 * pwd/Makefile (otherlibs): Likewise.
21493 * rt/Makefile (otherlibs): Likewise.
21494 * sunrpc/Makefile (otherlibs): Likewise.
21495 * nss/Makefile (otherlibs): Likewise.
21496 Add libnss_files to routines and static-only-routines.
21497 ($(objpfx)getent): Remove rule.
21498 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21499 static-only-routines.
21500
7c69cd14
JM
215012012-03-22 Joseph Myers <joseph@codesourcery.com>
21502
21503 [BZ #13892]
21504 * math/s_cexp.c: Include <float.h>.
21505 (__cexp): Handle exp result overflowing not necessarily
21506 overflowing both real and imaginary parts of result.
21507 * math/s_cexpf.c: Likewise.
21508 * math/s_cexpl.c: Likewise.
21509 * math/libm-test.inc (cexp_test): Add more tests.
21510 * sysdeps/i386/fpu/libm-test-ulps: Update.
21511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21512
81b035fe
L
215132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 * include/link.h (ELFW): New macro.
21516 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21517 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21518
1da7940c
L
215192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21520
21521 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21522 with uint64_t.
21523
b749dbb9
L
215242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21527 declaration.
21528 (struct La_x32_retval): Likewise.
21529
2ff87f3f
L
215302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21531
21532 * sysdeps/x86_64/preconfigure.in: New file.
21533 * sysdeps/x86_64/preconfigure: New generated file.
21534
c0df8e69
JM
215352012-03-22 Joseph Myers <joseph@codesourcery.com>
21536
48e44791
JM
21537 [BZ #13824]
21538 * math/e_exp2l.c: Include <float.h>.
21539 (__ieee754_exp2l): Handle overflow and underflow cases
21540 separately. Only pass fractional part of argument to
21541 __ieee754_expl.
21542 * math/libm-test.inc (exp2_test): Add more tests.
21543
c0df8e69
JM
21544 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21545 negating x to take absolute value.
21546 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21547 Likewise.
21548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21550 Likewise.
21551 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21552 computing low part if x was negated.
21553 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21554
c8e43ba7
L
215552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21558 la_x32_gnu_pltexit.
21559 (pltexit): Cast int_retval to ptrdiff_t.
21560 * elf/tst-auditmod3b.c: Likewise.
21561 * elf/tst-auditmod4b.c: Likewise.
21562 * elf/tst-auditmod5b.c: Likewise.
21563 * elf/tst-auditmod6b.c: Likewise.
21564 * elf/tst-auditmod6c.c: Likewise.
21565 * elf/tst-auditmod7b.c: Likewise.
21566
21567 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21568 and x32_gnu_pltexit.
21569
21570 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21571 __ELF_NATIVE_CLASS.
21572 (La_x32_regs): New macro.
21573 (La_x32_retval): Likewise.
21574 (la_x32_gnu_pltenter): New function prototype.
21575 (la_x32_gnu_pltexit): Likewise.
21576
7998fa78
AS
215772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21578
dcb33988
AS
21579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21580 exponent.
21581
233fc563
AS
21582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21583
7998fa78
AS
21584 * configure.in (libc_cv_cc_nofma): Check for option to disable
21585 generation of FMA instructions.
21586 * configure: Regenerate.
21587 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21588 * sysdeps/ieee754/dbl-64/Makefile: New file.
21589 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21590 Remove brandred-fma4.
21591 (CFLAGS-brandred-fma4.c): Remove.
21592 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21593 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21594 define.
21595 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21596 define.
21597
8e95c99a
L
215982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21599
21600 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21601 LLONG_MAX != LONG_MAX.
21602 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21603 (_fitoa_word): Likewise.
21604 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21605 LLONG_MAX != LONG_MAX.
21606 * stdio-common/_itowa.h: Include <_itoa.h>.
21607 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21608 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21609 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21610 only if not defined.
21611 (_ITOA_WORD_TYPE): Likewise.
21612 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21613 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21614
6f4db457
DM
216152012-03-21 David S. Miller <davem@davemloft.net>
21616
21617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21618
7785fe5a
L
216192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21620
21621 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21622 of x86_64 when setting libc_cv_slibdir, libdir and
21623 libc_cv_localedir.
21624 * sysdeps/unix/sysv/linux/configure: Regenerated.
21625
4535cd55
JM
216262012-03-21 Joseph Myers <joseph@codesourcery.com>
21627
21628 * manual/lang.texi (Old Varargs): Remove section.
21629 (How Variadic): Update menu.
21630 (va_start): Do not mention varargs.h.
21631
17228132
TS
216322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21633 Joseph Myers <joseph@codesourcery.com>
21634
21635 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21636 link test.
21637 * configure: Regenerated.
21638
8149f976
TS
216392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21640
05f3d1f6
UD
21641 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21642 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21643 conformtest.pl
8149f976 21644
1a4ac776
JM
216452012-03-21 Joseph Myers <joseph@codesourcery.com>
21646
be22ce65
JM
21647 * NOTES: Remove.
21648 * Makefile (files-for-dist): Remove NOTES.
21649 (NOTES): Remove rule.
21650 * README: Don't refer to NOTES.
21651 * manual/creature.texi: Don't include macros.texi.
21652 * manual/intro.texi (creature.texi): Remove comment referring to
21653 NOTES.
21654
40b601fb
JM
21655 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21656 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21657 * configure: Regenerated.
21658 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21659 LIBC_TRY_CC_OPTION.
21660 (libc_cv_as_i686): Likewise.
21661 (libc_cv_cc_avx): Likewise.
21662 (libc_cv_cc_sse2avx): Likewise.
21663 (libc_cv_cc_fma4): Likewise.
21664 (libc_cv_cc_novzeroupper): Likewise.
21665 * sysdeps/i386/configure: Regenerated.
21666
1a4ac776
JM
21667 [BZ #13883]
21668 * sysdeps/i386/fpu/s_cexp.S: Remove.
21669 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21670 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21671 * math/libm-test.inc (cexp_test): Add more tests.
21672 * sysdeps/i386/fpu/libm-test-ulps: Update.
21673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21674
a458e7fe
AM
216752012-03-21 Allan McRae <allan@archlinux.org>
21676
21677 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21678
0cb7efc5
JM
216792012-03-21 Joseph Myers <joseph@codesourcery.com>
21680
21681 [BZ #13871]
21682 * math/w_exp2.c: Do not include <float.h>.
21683 (o_threshold, u_threshold): Remove.
21684 (__exp2): Calculate result before checking finiteness and calling
21685 __kernel_standard.
21686 * math/w_exp2f.c: Likewise.
21687 * math/w_exp2l.c: Likewise.
21688 * math/libm-test.inc (exp2_test): Require overflow exception for
21689 1e6 input.
2460d3aa
JM
21690
21691 [BZ #3866]
21692 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21693 range of signed 64-bit integers before using fistpll. Remove
21694 checks for whether integers fit in mantissa bits.
21695 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21696 the range of signed 32-bit integers before using fistpl. Remove
21697 checks for whether integers fit in mantissa bits.
21698 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21699 (__ieee754_powl): Test for y outside the range of signed 64-bit
21700 integers before using fistpll. Reduce 64-bit values to 63-bit
21701 ones as needed.
21702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21703 divide-by-zero is raised for zero to large negative powers.
21704 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21705 (__ieee754_powl): Test for y outside the range of signed 64-bit
21706 integers before using fistpll. Reduce 64-bit values to 63-bit
21707 ones as needed.
21708 * math/libm-test.inc (pow_test): Add more tests.
21709
eb96ffb0
L
217102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21711
21712 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21713 <stdio-common/_itoa.h>.
21714 * debug/segfault.c: Likewise.
21715 * elf/dl-cache.c: Likewise.
21716 * elf/dl-minimal.c: Likewise.
21717 * elf/dl-misc.c: Likewise.
21718 * elf/dl-sysdep.c: Likewise.
21719 * elf/dl-version.c: Likewise.
21720 * elf/rtld.c: Likewise.
21721 * hurd/hurdsock.c: Likewise.
21722 * hurd/lookup-retry.c: Likewise.
21723 * malloc/malloc.c: Likewise.
21724 * malloc/mtrace.c: Likewise.
21725 * nscd/nscd_getgr_r.c: Likewise.
21726 * nscd/nscd_getpw_r.c: Likewise.
21727 * nscd/nscd_getserv_r.c: Likewise.
21728 * posix/getopt_init.c: Likewise.
21729 * posix/wordexp.c: Likewise.
21730 * stdio-common/_itoa.c: Likewise.
21731 * stdio-common/printf_fphex.c: Likewise.
21732 * stdio-common/vfprintf.c: Likewise.
21733 * string/_strerror.c: Likewise.
21734 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21735 * sysdeps/i386/i686/hp-timing.h: Likewise.
21736 * sysdeps/mach/_strerror.c: Likewise.
21737 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21738 * sysdeps/mach/hurd/sethostid.c: Likewise.
21739 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21740 * sysdeps/mach/xpg-strerror.c: Likewise.
21741 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21742 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21743 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21744 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21745 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21746 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21747 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21748 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21749 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21750 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21751 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21752 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21753 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21754 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21755 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21756 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21757 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21758 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21759 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21760 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21761 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21762
21763 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21764
21765 * stdio-common/_itoa.h: Moved to ...
21766 * sysdeps/generic/_itoa.h: Here.
21767
21768 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21769
21770 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21771 instead of "_itoa.h" and "_itowa.h".
21772 * stdio-common/vfprintf.: Likewise.
21773
d1af992d
L
217742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21775
21776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21777 <bits/wordsize.h>.
21778 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21779 (__signbit): Likwise.
21780 (llrintf): Likwise.
21781 (llrint): Likwise.
21782
114883e0
L
217832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21784
21785 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21786 __WORDSIZE != 64.
21787
c135cc1b
JM
217882012-03-20 Joseph Myers <joseph@codesourcery.com>
21789
21790 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21791 OVERFLOW_EXCEPTION_OK.
21792 * math/libm-test.inc ("Philosophy"): Update comment about
21793 exception testing.
21794 (OVERFLOW_EXCEPTION): Define.
21795 (OVERFLOW_EXCEPTION_OK): Likewise.
21796 (INVALID_EXCEPTION_OK): Renumber.
21797 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21798 (IGNORE_ZERO_INF_SIGN): Likewise.
21799 (test_exceptions): Handle FE_OVERFLOW.
21800 (exp10_test): Expect overflow exceptions.
21801 (exp2_test): Likewise.
21802 (expm1_test): Likewise.
21803 (nextafter_test): Likewise.
21804 (pow_test): Likewise.
21805 (scalbn_test): Likewise.
21806 (scalbln_test): Likewise.
21807
95443d88
L
218082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 * sysdeps/x86_64/bits/atomic.h
21811 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21812 64bit integer.
21813 (atomic_exchange_acq): Likewise.
21814 (__arch_exchange_and_add_body): Likewise.
21815 (__arch_add_body): Likewise.
21816 (atomic_add_negative): Likewise.
21817 (atomic_add_zero): Likewise.
21818
490df6c4
L
218192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21820
c2722551 21821 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21822 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21823
5e52b189
L
218242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21827 Check __x86_64__ instead of __WORDSIZE.
21828
a9879d4c
L
218292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21830
21831 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21832
5df98260
DM
218332012-03-19 David S. Miller <davem@davemloft.net>
21834
e1497744
DM
21835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21836
5df98260
DM
21837 * sysdeps/sparc/fpu/fenv_private.h: New file.
21838 * sysdeps/sparc/fpu/math_private.h: Use it.
21839 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21840 Remove.
21841 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21842 (libc_feholdexcept_setroundl): Remove.
21843 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21844 Remove.
21845 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21846 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21847
b4c35121
L
218482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21849
21850 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21851 int64_t instead of long int.
21852 (INSERT_WORDS64): Likwise.
21853
56965fd7
L
218542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21857 _Unwind_GetCFA return to _Unwind_Ptr first.
21858
83d1aec8
JM
218592012-03-19 Joseph Myers <joseph@codesourcery.com>
21860
1897ad44
JM
21861 [BZ #13629]
21862 * math/s_clog.c: Include <float.h>.
21863 (__clog): Scale large or subnormal inputs.
21864 * math/s_clogf.c: Likewise.
21865 * math/s_clogl.c: Likewise.
21866 * math/s_clog10.c: Include <float.h>.
21867 (M_LOG10_2): Define.
21868 (__clog10): Scale large or subnormal inputs.
21869 * math/s_clog10f.c: Likewise.
21870 * math/s_clog10l.c: Likewise.
21871 * math/libm-test.inc (clog_test): Add more tests.
21872 (clog10_test): Likewise.
21873 * sysdeps/i386/fpu/libm-test-ulps: Update.
21874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21875
7726d6a9
JM
21876 [BZ #11451]
21877 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21878 x and y.
21879 * math/libm-test.inc (atan2_test): Add another test.
21880
83d1aec8
JM
21881 * Makerules (common-objdir-compile): Remove.
21882 * sysdeps/unix/Makefile (config-generated): Do not add
21883 $(unix-generated) to variable.
21884 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21885 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21886 Remove rule.
21887 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21888 Likewise.
21889 [generic bits/local_lim.h] (before-compile): Do not append to
21890 variable.
21891 [generic bits/local_lim.h] (common-generated): Likewise.
21892 [generic sys/param.h] (before-compile): Do not append to variable.
21893 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21894 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21895 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21896 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21897 include.
21898 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21899 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21900 [generic sys/param.h] ($(addprefix
21901 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21902 [generic sys/param.h] (common-generated): Do not append to
21903 variable.
21904 [generic sys/param.h] (sysdep_headers): Likewise.
21905 [generic bits/errno.h] (before-compile): Do not append to
21906 variable.
21907 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21908 rule.
21909 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21910 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21911 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21912 [generic bits/errno.h] (common-generated): Do not append to
21913 variable.
21914 [generic bits/ioctls.h] (before-compile): Do not append to
21915 variable.
21916 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21917 rule.
21918 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21919 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21920 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21921 rule.
21922 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21923 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21924 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21925 [generic bits/ioctls.h] (common-generated): Do not append to
21926 variable.
21927 [generic sys/syscall.h] (syscall.h): Remove variable.
21928 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21929 rule.
21930 [generic sys/syscall.h] (before-compile): Do not append to
21931 variable.
21932 [generic sys/syscall.h] (common-generated): Likewise.
21933 * sysdeps/unix/errnos-tmpl.c: Remove file.
21934 * sysdeps/unix/errnos.awk: Likewise.
21935 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21936 * sysdeps/unix/ioctls.awk: Likewise.
21937 * sysdeps/unix/mk-local_lim.c: Likewise.
21938 * sysdeps/unix/snarf-ioctls: Likewise.
21939
4851a949
RH
219402012-03-19 Richard Henderson <rth@twiddle.net>
21941
bd37f2ee
RH
21942 * sysdeps/i386/fpu/fenv_private.h: New file.
21943 * sysdeps/i386/fpu/math_private.h: Use it.
21944 (math_opt_barrier, math_force_eval): Remove.
21945 (libc_feholdexcept_setround_53bit): Remove.
21946 (libc_feupdateenv_53bit): Remove.
21947 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21948 (math_opt_barrier, math_force_eval): Remove.
21949 (libc_feholdexcept): Remove.
21950 (libc_feholdexcept_setround): Remove.
21951 (libc_fetestexcept, libc_fesetenv): Remove.
21952 (libc_feupdateenv_test): Remove.
21953 (libc_feupdateenv, libc_feholdsetround): Remove.
21954 (libc_feresetround): Remove.
21955
d0adc922
RH
21956 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21957 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21958
0fe0f1f8
RH
21959 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21960 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21961 (libc_feupdateenv_testl): New.
21962 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21963 (libc_feupdateenv_testf): New.
21964 (libc_feupdateenv): Use libc_feupdateenv_test.
21965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21966 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21967
eb92c487
RH
21968 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21969 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21970 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21971 (libc_feresetround_noex): New.
21972 (libc_feresetround_noexf): New.
21973 (libc_feresetround_noexl): New.
21974 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21975 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21976 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21977 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21978 SET_RESTORE_ROUND.
21979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21981 (__cos): Likewise.
21982 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21983 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21984 SET_RESTORE_ROUND_NOEX.
21985 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21986 SET_RESTORE_ROUND_NOEXF.
21987 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21988 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21989 (libc_feholdsetroundf): New.
21990 (libc_feresetround, libc_feresetroundf): New.
21991
7d2e8012
RH
21992 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21993 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21994 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21995
b4dabbb4
RH
21996 * sysdeps/generic/math_private.h: Include <fenv.h>.
21997 (default_libc_feholdexcept): New.
21998 (default_libc_feholdexcept_setround): New.
21999 (default_libc_fesetenv, default_libc_feupdateenv): New.
22000 (libc_feholdexcept): Only define if undefined.
22001 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22002 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22003 (libc_feholdexcept_setroundl): Likewise.
22004 (libc_feholdexcept_setround_53bit): Likewise.
22005 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22006 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22007 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22008 (libc_feupdateenv_53bit): Likewise.
22009 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22010 (libc_feholdexcept): Convert from macro to inline function.
22011 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22012 (libc_fesetenv, libc_feupdateenv): Likewise.
22013
4851a949
RH
22014 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22015 not previously defined.
22016 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22017 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22018 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22019 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22020 * sysdeps/ieee754/flt-32/math_private.h: New file.
22021 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22022 math_private.h below SET_FLOAT_WORD.
22023 (__isnan, __isinf_ns, __finite): Remove.
22024 (__isnanf, __isinf_nsf, __finitef): Remove.
22025
e79d442e
AS
220262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22027
22028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22029
90b80344
DM
220302012-03-17 David S. Miller <davem@davemloft.net>
22031
22032 [BZ #6471]
22033 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22034 for 2.16.
22035
edc21804
DM
220362012-03-16 David S. Miller <davem@davemloft.net>
22037
77e927af
DM
22038 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22039 warnings.
22040
374976dd
DM
22041 [BZ #6471]
22042 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22043 properly.
22044 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22045 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22046 sysdep_routines when subdir is sysvipc.
22047 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22048 __getshmlba helper.
22049
edc21804
DM
22050 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22051
473c3ef3
L
220522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22053
22054 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22055 [__LP64__].
22056
eb0f39b6
L
220572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22058
22059 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22060 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22061 (__lround): Renamed to ...
22062 (__llround): This. Replace long int with long long int.
22063 Define lround functions as aliases of llround functions.
22064 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22065
6b6cd74b
L
220662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22067
22068 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22069 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22070 adresses to uintptr_t. Replace "long int" and "unsigned long
22071 int" with "greg_t" on va_arg.
22072
f1a77b01
L
220732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22074
22075 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22076 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22077
22078 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22079 Move e_machine check before EI_CLASS check. Handle x32
22080 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22081 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22082 SKIP_EM_IA_64 and include
22083 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22084
22085 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22086 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22087 (add_system_dir): New macro.
22088
22089 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22090 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22091
11b90b9f
JM
220922012-03-16 Joseph Myers <joseph@codesourcery.com>
22093
c36e1d23
JM
22094 [BZ #2551]
22095 [BZ #2552]
22096 [BZ #2553]
22097 [BZ #2554]
22098 [BZ #2562]
22099 [BZ #2563]
22100 [BZ #2565]
22101 [BZ #2566]
22102 [BZ #2576]
22103 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22104 (y0): Likewise.
22105 * math/w_j0f.c (j0f): Likewise.
22106 (y0f): Likewise.
22107 * math/w_j0l.c (__j0l): Likewise.
22108 (__y0l): Likewise.
22109 * math/w_j1.c (j1): Likewise.
22110 (y1): Likewise.
22111 * math/w_j1f.c (j1f): Likewise.
22112 (y1f): Likewise.
22113 * math/w_j1l.c (__j1l): Likewise.
22114 (__y1l): Likewise.
22115 * math/w_jn.c (jn): Likewise.
22116 (yn): Likewise.
22117 * math/w_jnf.c (jnf): Likewise.
22118 (ynf): Likewise.
22119 * math/w_jnl.c (__jnl): Likewise.
22120 (__ynl): Likewise.
22121 * math/libm-test.inc (j0_test): Add more tests.
22122 (j1_test): Likewise.
22123 (jn_test): Likewise. Add trailing semicolon to existing test.
22124 (y0_test): Likewise.
22125 (y1_test): Likewise.
22126 * sysdeps/i386/fpu/libm-test-ulps: Update.
22127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22128
11b90b9f
JM
22129 [BZ #13851]
22130 [BZ #13854]
22131 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22132 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22133 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22134 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22135 (__tanl): Set errno for infinite argument.
22136 * sysdeps/i386/fpu/mptan.c: Remove.
22137 * sysdeps/i386/fpu/s_tan.S: Likewise.
22138 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22139 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22140 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22141 * math/libm-test.inc (tan_test): Add more tests and enable more
22142 tests for double and long double.
22143 * sysdeps/i386/fpu/libm-test-ulps: Update.
22144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22145
6a1bd2a1
JK
221462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22147
22148 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22149 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22150
10a803e0
RM
221512012-03-16 Roland McGrath <roland@hack.frob.com>
22152
22153 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22154 * configure.in: Use it for both main tree and add-ons.
22155 * configure: Regenerated.
22156
f196c7f7
L
221572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22160
8848d99d
JM
221612012-03-16 Joseph Myers <joseph@codesourcery.com>
22162
96cbe7f4
JM
22163 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22164 in comment.
22165
8848d99d
JM
22166 [BZ #13851]
22167 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22168 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22172 infinite argument.
22173 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22175 != 0 for prec == 2.
22176 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22177 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22178 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22179 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22180 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22181 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22182 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22183 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22184 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22185 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22186 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22187 * math/libm-test.inc (cos_test): Add more tests and enable more
22188 tests for long double.
22189 (sin_test): Likewise.
22190 (sincos_test): Likewise.
22191 * sysdeps/i386/fpu/libm-test-ulps: Update.
22192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22193
dd7f4703
DM
221942012-03-16 David S. Miller <davem@davemloft.net>
22195
22196 * sysdeps/sparc/fpu/math_private.h: New file.
22197
006f1daa
DM
221982012-03-15 David S. Miller <davem@davemloft.net>
22199
c0c83bc8
DM
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22201 file.
e6a62e18 22202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22204 file.
e6a62e18
DM
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22211 sysdep routines.
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22213
88cb87d9
DM
22214 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22215 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22216
006f1daa 22217 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22219 sparc-ifunc.h
006f1daa 22220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22222 Likewise.
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22224 Likewise.
006f1daa
DM
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22229 Likewise.
006f1daa
DM
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22235 Likewise.
22236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22237 Likewise.
006f1daa
DM
22238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22262
11e0098e
AS
222632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22264
22265 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22266 scaling.
22267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22268
e85b09d0
AJ
222692012-03-15 Andreas Jaeger <aj@suse.de>
22270
22271 [BZ #13852]
22272 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22273 ieee754/flt-32 implementation for sin, cos and sincos.
22274 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22275 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22276 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22277 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22278 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22279 ieee754/flt-32 implementation for tan.
22280
22281 * math/libm-test.inc (cos_test): Enable some large input tests for
22282 float as well
22283 (sin_test): Likewise.
22284 (sincos_test): Likewise.
22285 (tan_test): Add tests for large input.
22286
22287 * sysdeps/i386/fpu/libm-test-ulps: Update.
22288
81c64153
AJ
222892012-03-15 Andreas Jaeger <aj@suse.de>
22290
22291 [BZ #13658]
22292 * math/libm-test.inc (cos_test): Add more test cases.
22293 (sin_test): Likewise.
22294 (sincos_test): Likewise.
22295
7bbfa5c6
AJ
222962012-03-15 Andreas Jaeger <aj@suse.de>
22297
22298 [BZ #13837]
22299 * math/libm-test.inc (cos_test): Add a test case for large input
22300 value.
22301 (sin_test): Likewise.
22302 (sincos_test): Likewise.
22303
223042012-03-15 Andreas Jaeger <aj@suse.de>,
22305 Joseph Myers <joseph@codesourcery.com>
22306
22307 [BZ #13658]
0671f479 22308 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22309 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22310 * sysdeps/i386/fpu/branred.c: Likewise.
22311 * sysdeps/i386/fpu/dosincos.c: Likewise.
22312 * sysdeps/i386/fpu/mpa.c: Likewise.
22313 * sysdeps/i386/fpu/s_cos.S: Likewise.
22314 * sysdeps/i386/fpu/s_sin.S: Likewise.
22315 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22316 * sysdeps/i386/fpu/sincos32.c: Likewise.
22317
22318 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22319 Define.
22320 (libc_feupdateenv_53bit): Define.
22321 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22322 Define.
22323 (libc_feupdateenv_53bit): Define.
22324
22325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22326 53 bit (without extend i386 double precision).
22327
22328 * math/libm-test.inc (sincos_test): Add tests for large input.
22329 (sin): Likewise.
22330 (cos): Likewise.
22331
22332 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22333
9cad04ea
AS
223342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22335
22336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22337
f7062b9a
DM
223382012-03-15 David S. Miller <davem@davemloft.net>
22339
22340 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22341 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22342 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22343 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22356 file.
f7062b9a 22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22359 file.
f7062b9a 22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22362 file.
f7062b9a 22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22365 file.
f7062b9a
DM
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22368 fmin/fmax sysdep routines.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22370
7bd951ff
DM
223712012-03-14 David S. Miller <davem@davemloft.net>
22372
559398ab
DM
22373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22378 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22379 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22402 routines.
22403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22404 file.
559398ab 22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22407 file.
559398ab 22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22410 file.
559398ab 22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22413 file.
559398ab 22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22416 file.
559398ab 22417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22419 file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22421 file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22423 file.
22424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22425 file.
22426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22427 New file.
22428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22429 file.
22430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22431 file.
559398ab 22432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22434 file.
559398ab 22435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22437 file.
559398ab 22438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22440 file.
559398ab 22441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22443 VIS3 routines.
559398ab
DM
22444
22445 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22446 New file.
22447
5a1c1e32
DM
22448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22449
eae47a36
DM
22450 * sysdeps/sparc/configure.in: New file.
22451 * sysdeps/sparc/configure: Generate.
22452 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22453 * configure: Regenerate.
22454 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22455 * config.make.in (have-as-vis3): New.
22456 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22457 available use -Av9d instead of -Av9a.
22458 * sysdeps/sparc/sparc64/Makefile: Likewise.
22459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22461 New file.
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22463 file.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22465 New file.
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22467 file.
eae47a36
DM
22468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22470 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22473
c0c83bc8
DM
22474 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22475 fzeros/fnegs to load 0x80000000 into a float register instead of
22476 using the stack.
7bd951ff
DM
22477 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22478
bd951ccb
JM
224792012-03-14 Joseph Myers <joseph@codesourcery.com>
22480
22481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22482 bits/syscall.h.
22483 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22484 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22485 ($(inst_includedir)/bits/syscall.h): Remove rule.
22486 ($(objpfx)bits/syscall.d): Include instead of
22487 $(objpfx)syscall-list.d.
22488 (generated): Change syscall-list.h and syscall-list.d to
22489 bits/syscall.h and bits/syscall.d.
22490
bb4e6db2
RM
224912012-03-14 Roland McGrath <roland@hack.frob.com>
22492
22493 [BZ #13846]
22494 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22495
aa4a2ae1
JM
224962012-03-14 Joseph Myers <joseph@codesourcery.com>
22497
e456826d
JM
22498 [BZ #13841]
22499 * math/s_csqrt.c: Include <float.h>.
22500 (__csqrt): Scale large or subnormal inputs.
22501 * math/s_csqrtf.c: Likewise.
22502 * math/s_csqrtl.c: Likewise.
22503 * math/libm-test.inc (csqrt_test): Add more tests.
22504 * sysdeps/i386/fpu/libm-test-ulps: Update.
22505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22506
aa4a2ae1
JM
22507 [BZ #13840]
22508 * math/libm-test.inc (hypot_test): Add more tests.
22509
7c10fd35
DM
225102012-03-13 David S. Miller <davem@davemloft.net>
22511
22512 [BZ #13840]
22513 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22514 double-precision for the calculation instead of scaling.
22515
f453b98b
JM
225162012-03-13 Joseph Myers <joseph@codesourcery.com>
22517
22518 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22519 manipulate bits before adding and subtracting TWO52[sx].
22520 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22522 Likewise.
22523 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22524
09a3453f
DM
225252012-03-13 David S. Miller <davem@davemloft.net>
22526
8e59da90
DM
22527 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22528 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22530 rtld-global-offsets.h
22531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22532
2a8ab7f2
DM
22533 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22534 large parameters.
22535
10f62770
DM
22536 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22537
5f0bdb18
DM
22538 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22539 'err' in the ifdef scope in which it is actually used.
22540
09a3453f
DM
22541 * nss/nss_db/db-init.c: Include string.h
22542
b4b2eb5e
DM
225432012-03-12 David S. Miller <davem@davemloft.net>
22544
98bb2f1c
DM
22545 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22546 masking out of the most significant byte of random value used.
22547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22548 Fix coding style in previous change.
22549
b4b2eb5e
DM
22550 * sysdeps/unix/sysv/linux/kernel-features.h
22551 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22552 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22553 expression.
22554 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22555 later.
22556
6e226b09
DM
225572012-03-11 David S. Miller <davem@davemloft.net>
22558
a1bcbd40
DM
22559 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22560 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22562 for 'resultvar' otherwise things get truncated on 64-bit.
22563
cb9d6174
DM
22564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22565 Fix masking out of the most significant byte of random value used.
22566
6e226b09
DM
22567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22568
058c132d
AS
225692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22570
22571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22572
2d2cd515
DM
225732012-03-09 David S. Miller <davem@davemloft.net>
22574
22575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22576 variables with appropriate CPP guards.
22577 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22578 frame pointer, not the stack pointer. Correct layout comments. Fix test
22579 on resulting framesize and the management of the outregs buffer for pltexit.
22580 Preserve floating point return values across _dl_call_pltexit call.
22581 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22582 framesize and the management of the outregs buffer for pltexit.
22583 Preserve floating point return values across _dl_call_pltexit
22584 call.
22585 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22586 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22587 (print_exit): Fix format string for return register value.
22588
9a07f9d0
JM
225892012-03-10 Joseph Myers <joseph@codesourcery.com>
22590
22591 * sunrpc/Makefile (others): Add rpcgen.
22592 ($(objpfx)rpcgen): Remove special build rule and dependency on
22593 libc.
22594 * sunrpc/rpcgen.c: New file.
22595
547b5e30
PE
225962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22597
c524201a
PE
22598 [BZ #13673]
22599 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22600 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22601 * sysdeps/i386/crti.S: Likewise.
22602 * sysdeps/i386/crtn.S: Likewise.
22603 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22604 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22605 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22606 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22607 * sysdeps/sh/crti.S: Likewise.
22608 * sysdeps/sh/crtn.S: Likewise.
22609 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22610
7b6235f2
PE
22611 [BZ #13673]
22612 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22613 with URL.
22614 * locale/programs/locfile-kw.gperf: Likewise.
22615 * locale/programs/charmap-kw.h: Regenerated.
22616 * locale/programs/locfile-kw.h: Likewise.
22617
547b5e30
PE
22618 [BZ #13673]
22619 * intl/plural.y: Replace FSF snail mail address with URL.
22620 * intl/plural.c: Regenerated.
22621
5f0a5dae
RH
226222012-03-09 Richard Henderson <rth@twiddle.net>
22623
22624 * include/math_private.h: Remove file.
22625 * math/math_private.h: Move file ...
22626 * sysdeps/generic/math_private.h: ... here.
22627
b8c03620
RH
22628 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22629 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22630 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22631
4e234f5d 22632 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22633 and <math_private.h>.
22634 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22635 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22636 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22637 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22638 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22722 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22723 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22724 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22725 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22726 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22727 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22731 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22734 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22735 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22736 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22737 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22738 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22739 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22741 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22742 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22744 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22745 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22746 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22747 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22748 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22749 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22750 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22751 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22752 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22753 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22754 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22755 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22756 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22757 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22758 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22759 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22761 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22762 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22763 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22764 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22765 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22766 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22767 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22768 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22769 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22770 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22771 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22772 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22773 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22774 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22775 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22776 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22777 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22778 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22779 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22780 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22783 * sysdeps/ieee754/k_standard.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22857 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22858 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22861 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22875 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22877 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22887 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22888 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22889 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22899 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22904 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22906 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22909 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22911 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22917 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22918 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22920 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22921 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22922 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22923 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22925 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22926 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22927 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22933 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22934 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22944 * sysdeps/ieee754/s_lib_version.c: Likewise.
22945 * sysdeps/ieee754/s_matherr.c: Likewise.
22946 * sysdeps/ieee754/s_signgam.c: Likewise.
22947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22948 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22949 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22950 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22951 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22952 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22953 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22954 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22955 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22956 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22957 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22958 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22959 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22960 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22961 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22962 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22963 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22964 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22965 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22968
1991fa03
JM
229692012-03-09 Joseph Myers <joseph@codesourcery.com>
22970
22971 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22972 * sunrpc/rpc_main.c: Likewise.
22973 * sunrpc/rpc_svcout.c: Likewise.
22974
60d6f5a6
DM
229752012-03-09 David S. Miller <davem@davemloft.net>
22976
22977 * include/math_private.h: New file.
22978
4962050e
JM
229792012-03-09 Joseph Myers <joseph@codesourcery.com>
22980
02a6f887
JM
22981 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22982 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22983 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22984 from <bits/socket_type.h>.
22985 (enum __socket_type): Don't define here.
22986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22988 bits/socket_type.h.
22989
c6e013c1
JM
22990 [BZ #13566]
22991 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22992 checking __USE_GNU.
22993
4962050e
JM
22994 * Makerules ($(inst_includedir)/%.h): New rule.
22995 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22996 (install-others): Remove variable setting.
22997 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22998
38842f45
RH
229992012-03-08 Richard Henderson <rth@twiddle.net>
23000
67bb6da6
RH
23001 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23002 from macro to inline function; merge with the
23003 !__LIBC_INTERNAL_MATH_INLINES version.
23004 (__ieee754_sqrtf): Likewise.
23005
15194b4b
RH
23006 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23007 to inline function.
23008 (__rintf, __floor, __floorf): Likewise.
23009
64e21ede
RH
23010 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23011 macro to inline function.
23012 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23013
38842f45
RH
23014 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23015 not <math/math_private.h>.
23016
c64bf5fe
DM
230172012-03-08 David S. Miller <davem@davemloft.net>
23018
23019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23020 copyright year.
23021 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23022
82d86f28
TS
230232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23024
23025 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23026 normalization.
23027 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23028 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23029
aea5d727
UD
230302012-03-08 Ulrich Drepper <drepper@gmail.com>
23031
23032 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23033 be defined individually, they must be defined as a block. Define
23034 S for printing a string instead of hidint the different by using a
23035 macro for adding the 'l'.
23036 * stdio-common/tst-fphex-wide.c: Adjust.
23037
70bca0a3
MP
230382012-03-07 Marek Polacek <polacek@redhat.com>
23039
23040 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23041
65b81130
MP
230422012-03-08 Marek Polacek <polacek@redhat.com>
23043
23044 [BZ #13806]
23045 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23046 * stdio-common/tst-fphex.c: Define a few macros to make the
23047 test reusable. Use them.
23048 * stdio-common/tst-fphex-wide.c: New file.
23049
07037eeb
JM
230502012-03-08 Joseph Myers <joseph@codesourcery.com>
23051
a7a93d50
JM
23052 [BZ #6911]
23053 * manual/macros.texi (gnusystems): New macro.
23054 (nongnusystems): Likewise.
23055 (gnulinuxhurdsystems): Likewise.
23056 (gnuhurdsystems): Likewise..
23057 (gnulinuxsystems): Likewise.
23058 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23059 variants of the GNU system, not "GNU system".
23060 * manual/conf.texi: Likewise.
23061 * manual/errno.texi: Likewise. Update example of errno macro
23062 expansion.
23063 * manual/filesys.texi: Likewise.
23064 (getumask): Document as specific to GNU/Hurd.
23065 * manual/install.texi: Likewise. Reword some references to
23066 GNU/Linux.
23067 * manual/intro.texi: Likewise.
23068 * manual/io.texi: Likewise.
23069 (File Name Portability): Detail which constraints are inapplicable
23070 to all GNU systems and which are only inapplicable to GNU/Hurd.
23071 * manual/job.texi: Likewise.
23072 * manual/llio.texi: Likewise.
23073 (O_NOCTTY): Document as present on GNU/Linux.
23074 * manual/maint.texi: Likewise.
23075 * manual/memory.texi: Likewise.
23076 * manual/pattern.texi: Likewise.
23077 * manual/pipe.texi: Likewise.
23078 * manual/process.texi: Likewise.
23079 * manual/resource.texi: Likewise.
23080 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23081 child on GNU/Hurd.
23082 * manual/setjmp.texi: Likewise.
23083 * manual/signal.texi: Likewise.
23084 * manual/startup.texi: Likewise.
23085 * manual/stdio.texi: Likewise.
23086 * manual/terminal.texi: Likewise.
23087 (ONLCR): Document as POSIX.
23088 (OXTABS): Document availability on GNU/Linux as XTABS.
23089 (ONOEOT): Document availability separately from other bits.
23090 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23091 * manual/time.texi: Likewise.
23092 * manual/users.texi: Likewise.
23093 * INSTALL: Regenerated.
23094 * sysdeps/gnu/errlist.c: Regenerated.
23095
07037eeb
JM
23096 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23097 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23098 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23099 puts.
23100 * configure: Regenerated.
23101
d1d3431a
JM
231022012-03-07 Joseph Myers <joseph@codesourcery.com>
23103
af6a1e37
JM
23104 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23105 default includes instead of AC_HEADER_CHECK.
23106 * sysdeps/i386/configure: Regenerated.
23107
d1d3431a
JM
23108 [BZ #10716]
23109 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23110 * math/s_cacoshf.c (__cacoshf): Likewise.
23111 * math/s_cacoshl.c (__cacoshl): Likewise.
23112 * math/s_casinh.c (__casinh): Set signs of result from argument.
23113 * math/s_casinhf.c (__casinhf): Likewise.
23114 * math/s_casinhl.c (__casinhl): Likewise.
23115 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23116 (casinh_test): Add more tests.
23117 * sysdeps/i386/fpu/libm-test-ulps: Update.
23118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23119
482ff4da
UD
231202012-03-07 Ulrich Drepper <drepper@gmail.com>
23121
872fda05
UD
23122 * po/zh_TW.po: Update from translation team.
23123
a4300c7a
UD
23124 * login/Makefile (distribute): Remove variable.
23125 * catgets/Makefile: Likewise.
23126 * mach/Makefile: Likewise.
23127 * malloc/Makefile: Likewise.
23128 * misc/Makefile: Likewise.
23129 * iconv/Makefile: Likewise.
23130 * nscd/Makefile: Likewise.
23131 * hurd/Makefile: Likewise.
23132 * manual/Makefile: Likewise.
23133 * locale/Makefile: Likewise.
23134 * intl/Makefile: Likewise.
23135 * conform/Makefile: Likewise.
23136 * nss/Makefile: Likewise.
23137 * time/Makefile: Likewise.
23138 * soft-fp/Makefile: Likewise.
23139 * dirent/Makefile: Likewise.
23140 * gmon/Makefile: Likewise.
23141 * po/Makefile: Likewise.
23142 * rt/Makefile: Likewise.
23143 * socket/Makefile: Likewise.
23144 * math/Makefile: Likewise.
23145 * signal/Makefile: Likewise.
23146 * debug/Makefile: Likewise.
23147 * elf/Makefile: Likewise.
23148 * timezone/Makefile: Likewise.
23149 * stdlib/Makefile: Likewise.
23150 * iconvdata/Makefile: Likewise.
23151 * sunrpc/Makefile: Likewise.
23152 * io/Makefile: Likewise.
23153 * argp/Makefile: Likewise.
23154 * inet/Makefile: Likewise.
23155 * hesiod/Makefile: Likewise.
23156 * grp/Makefile: Likewise.
23157 * csu/Makefile: Likewise.
23158 * wctype/Makefile: Likewise.
23159 * crypt/Makefile: Likewise.
23160 * libio/Makefile: Likewise.
23161 * string/Makefile: Likewise.
23162 * nis/Makefile: Likewise.
23163 * resolv/Makefile: Likewise.
23164 * stdio-common/Makefile: Likewise.
23165 * wcsmbs/Makefile: Likewise.
23166 * dlfcn/Makefile: Likewise.
23167 * posix/Makefile: Likewise.
23168
3b7c4e74 23169 [BZ #6959]
482ff4da
UD
23170 * timezone/Makefile: Don't install timezone files, just the programs
23171 and scripts.
23172
f72ed77d
UD
231732012-03-06 Ulrich Drepper <drepper@gmail.com>
23174
a000466f
UD
23175 * nss/databases.def: Add missing gshadow entry.
23176
f72ed77d
UD
23177 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23178
a53b7a4e
MP
231792012-03-06 Marek Polacek <polacek@redhat.com>
23180
23181 [BZ #13726]
23182 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23183 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23184 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23185 * stdio-common/tst-long-dbl-fphex.c: New file.
23186
e9258400
DM
231872012-03-06 David S. Miller <davem@davemloft.net>
23188
23189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23190 (set_obp_int): New function.
23191 (get_obp_int): New function.
23192 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23194 Avoid unused variable warnings on 'val' and use builtin_expect.
23195 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23196 __builtin_expect.
e9258400
DM
23197 (INLINE_CLONE_SYSCALL): Likewise.
23198
3bd2c723
DM
231992012-03-05 David S. Miller <davem@davemloft.net>
23200
23201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23202
bbb78d03
AS
232032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23204
884c5db4
AS
23205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23206
bbb78d03
AS
23207 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23208 only for |x| >= 40.
23209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23210
1c9f702a 232112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23212
23213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23214 Replace gettimeofday with __vdso_gettimeofday.
23215
7be16f82
RM
23216 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23217 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23218 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23219
23220 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23221 time with __vdso_time.
23222
ed58a00f
JM
232232012-03-05 Joseph Myers <joseph@codesourcery.com>
23224
23225 * manual/lang.texi (size_t): Note types to which size_t may be
23226 equivalent with the GNU C Library, but do not describe when
23227 differences between them are significant.
23228
30ee4ced
AJ
232292012-03-05 Andreas Jaeger <aj@suse.de>
23230
23231 * sysdeps/i386/fpu/libm-test-ulps: Update.
23232
b7cd39e8
JM
232332012-03-05 Joseph Myers <joseph@codesourcery.com>
23234
23235 [BZ #3976]
23236 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23237 (__ieee754_pow): Save and restore rounding mode and use
23238 round-to-nearest for main computations.
23239 * math/libm-test.inc (pow_test_tonearest): New function.
23240 (pow_test_towardzero): Likewise.
23241 (pow_test_downward): Likewise.
23242 (pow_test_upward): Likewise.
23243 (main): Call the new functions.
23244 * sysdeps/i386/fpu/libm-test-ulps: Update.
23245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23246
23247 [BZ #3976]
23248 * math/libm-test.inc (cosh_test_tonearest): New function.
23249 (cosh_test_towardzero): Likewise.
23250 (cosh_test_downward): Likewise.
23251 (cosh_test_upward): Likewise.
23252 (sinh_test_tonearest): Likewise.
23253 (sinh_test_towardzero): Likewise.
23254 (sinh_test_downward): Likewise.
23255 (sinh_test_upward): Likewise.
23256 (main): Call the new functions.
23257 * sysdeps/i386/fpu/libm-test-ulps: Update.
23258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23259
6c6a98c9
TV
232602012-03-05 Tom de Vries <tom@codesourcery.com>
23261
23262 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23263 default stack guard is set in last bytes.
23264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23265
21bb2d2e 232662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23267
21bb2d2e 23268 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23269
21bb2d2e
AJ
23270 [BZ #13656]
23271 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23272 possibly allocate from heap instead of stack.
23273 * stdio-common/bug-vfprintf-nargs.c: New file.
23274 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23275
c6922934
AS
232762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23277
23278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23279
bc957d53
MP
232802012-03-03 Marek Polacek <polacek@redhat.com>
23281
23282 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23283 * math/math_private.h: Likewise.
23284 * stdlib/tst-strtod.c: Likewise.
23285 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23286 * sysdeps/x86_64/bits/atomic.h: Likewise.
23287
6358490d
DM
232882012-03-02 David S. Miller <davem@davemloft.net>
23289
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23294 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23295 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23296 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23297 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23298
01ae168d
RM
232992012-03-02 Roland McGrath <roland@hack.frob.com>
23300
d9a17c07
RM
23301 [BZ #13792]
23302 * manual/examples/README: New file, says the example source files
23303 can be used under GPL>=2.
23304 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23305 line containing just "*/".
23306 * manual/examples/add.c: Add copyright header (GPL>=2).
23307 * manual/examples/argp-ex1.c: Likewise.
23308 * manual/examples/argp-ex2.c: Likewise.
23309 * manual/examples/argp-ex3.c: Likewise.
23310 * manual/examples/argp-ex4.c: Likewise.
23311 * manual/examples/atexit.c: Likewise.
23312 * manual/examples/db.c: Likewise.
23313 * manual/examples/dir.c: Likewise.
23314 * manual/examples/dir2.c: Likewise.
23315 * manual/examples/execinfo.c: Likewise.
23316 * manual/examples/filecli.c: Likewise.
23317 * manual/examples/filesrv.c: Likewise.
23318 * manual/examples/fmtmsgexpl.c: Likewise.
23319 * manual/examples/genpass.c: Likewise.
23320 * manual/examples/inetcli.c: Likewise.
23321 * manual/examples/inetsrv.c: Likewise.
23322 * manual/examples/isockad.c: Likewise.
23323 * manual/examples/longopt.c: Likewise.
23324 * manual/examples/memopen.c: Likewise.
23325 * manual/examples/memstrm.c: Likewise.
23326 * manual/examples/mkfsock.c: Likewise.
23327 * manual/examples/mkisock.c: Likewise.
23328 * manual/examples/mygetpass.c: Likewise.
23329 * manual/examples/pipe.c: Likewise.
23330 * manual/examples/popen.c: Likewise.
23331 * manual/examples/rprintf.c: Likewise.
23332 * manual/examples/search.c: Likewise.
23333 * manual/examples/select.c: Likewise.
23334 * manual/examples/setjmp.c: Likewise.
23335 * manual/examples/sigh1.c: Likewise.
23336 * manual/examples/sigusr.c: Likewise.
23337 * manual/examples/stpcpy.c: Likewise.
23338 * manual/examples/strdupa.c: Likewise.
23339 * manual/examples/strftim.c: Likewise.
23340 * manual/examples/strncat.c: Likewise.
23341 * manual/examples/subopt.c: Likewise.
23342 * manual/examples/swapcontext.c: Likewise.
23343 * manual/examples/termios.c: Likewise.
23344 * manual/examples/testopt.c: Likewise.
23345 * manual/examples/testpass.c: Likewise.
23346 * manual/examples/timeval_subtract.c: Likewise.
23347
01ae168d
RM
23348 [BZ #13792]
23349 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23350 function to ...
23351 * manual/timeval_subtract.c.texi: ... here, new file.
23352
49efa33d
DM
233532012-03-02 David S. Miller <davem@davemloft.net>
23354
23355 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23356
28afd92d
JM
233572012-03-02 Joseph Myers <joseph@codesourcery.com>
23358
804360ed
JM
23359 [BZ #3976]
23360 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23361 (__sin): Save and restore rounding mode and use round-to-nearest
23362 for all computations.
23363 (__cos): Save and restore rounding mode and use round-to-nearest
23364 for all computations.
23365 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23366 <fenv.h>.
23367 (tan): Save and restore rounding mode and use round-to-nearest for
23368 all computations.
23369 * math/libm-test.inc (cos_test_tonearest): New function.
23370 (cos_test_towardzero): Likewise.
23371 (cos_test_downward): Likewise.
23372 (cos_test_upward): Likewise.
23373 (sin_test_tonearest): Likewise.
23374 (sin_test_towardzero): Likewise.
23375 (sin_test_downward): Likewise.
23376 (sin_test_upward): Likewise.
23377 (tan_test_tonearest): Likewise.
23378 (tan_test_towardzero): Likewise.
23379 (tan_test_downward): Likewise.
23380 (tan_test_upward): Likewise.
23381 (main): Call the new functions.
23382 * sysdeps/i386/fpu/libm-test-ulps: Update.
23383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23384
a6d06d7b
JM
23385 [BZ #10135]
23386 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23387 small n, then large n, before computing and testing k+n.
23388 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23390 Likewise.
23391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23392 Likewise.
23393 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23394 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23395 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23396 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23399 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23401 * math/libm-test.inc (scalbn_test): Add more tests.
23402 (scalbln_test): Likewise.
23403
07e12bb3
JM
23404 * manual/filesys.texi (mode_t): Describe constraints on size and
23405 signedness, not exact equivalence to a particular type.
23406 (ino_t): Likewise.
23407 (ino64_t): Likewise.
23408 (dev_t): Likewise.
23409 (nlink_t): Likewise.
23410 (blkcnt_t): Likewise.
23411 (blkcnt64_t): Likewise.
23412 * manual/llio.texi (off_t): Likewise.
23413
28afd92d
JM
23414 [BZ #3976]
23415 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23416 (__ieee754_exp): Save and restore rounding mode and use
23417 round-to-nearest for all computations.
23418 * math/libm-test.inc (exp_test_tonearest): New function.
23419 (exp_test_towardzero): Likewise.
23420 (exp_test_downward): Likewise.
23421 (exp_test_upward): Likewise.
23422 (main): Call the new functions.
23423 * sysdeps/i386/fpu/libm-test-ulps: Update.
23424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23425
b1eeb65d
CD
234262012-03-01 Chris Demetriou <cgd@google.com>
23427
23428 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23429 have predictable order.
23430
53362a4b
DM
234312012-03-01 David S. Miller <davem@davemloft.net>
23432
3c969083
DM
23433 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23434
759707de
DM
23435 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23436 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23437 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23438 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23439
dfdb8ff2
DM
23440 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23441 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23442 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23444 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23445 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23446 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23447 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23448 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23449
ead89f96
DM
23450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23451
7f66bd07
DM
23452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23453 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23454 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23455
53362a4b
DM
23456 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23457 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23458 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23459 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23460 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23463 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23464 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23465 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23466 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23467 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23469 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23470 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23472 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23473 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23474 * sysdeps/sparc/elf/configure: Regenerated.
23475
7b1902cb
JM
234762012-03-01 Joseph Myers <joseph@codesourcery.com>
23477
bec039bc
JM
23478 * configure.in (AS, LD): Require binutils 2.20 or later.
23479 * configure: Regenerated.
23480 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23481 as required minimum version.
23482 * INSTALL: Regenerated.
23483
7b1902cb
JM
23484 [BZ #2541]
23485 [BZ #4108]
23486 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23487 before squaring exponent.
23488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23489 bottom long double and 27 bits of top long double before squaring
23490 exponent.
23491 * math/libm-test.inc (erfc_test): Add more tests.
23492 * sysdeps/i386/fpu/libm-test-ulps: Update.
23493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23495
f775c276
KT
234962012-03-01 Kai Tietz <ktietz@redhat.com>
23497
23498 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23499 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23500 containing bit-fields.
23501 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23502 * soft-fp/single.h (_FP_UNION_S): Likewise.
23503 * soft-fp/double.h (_FP_UNION_D): Likewise.
23504
5b8a4d4a
JM
235052012-02-29 Joseph Myers <joseph@codesourcery.com>
23506
0bab47b6
JM
23507 [BZ #13786]
23508 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23509 not include ../strcmp.S.
23510 [USE_AS_STRNCASECMP_L]: Likewise.
23511 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23512 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23513 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23514 (__strncasecmp_l_ia32): Define as alias to
23515 __strncasecmp_l_nonascii.
23516
0fcad3e2
JM
23517 [BZ #5794]
23518 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23519 * sysdeps/i386/fpu/libm-test-ulps: Update.
23520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23521
5b8a4d4a
JM
23522 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524
8fdceb2e
JL
235252012-02-29 Jeff Law <law@redhat.com>
23526
23527 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23528 out of bounds read.
23529
1f393a11
MP
235302012-02-29 Marek Polacek <polacek@redhat.com>
23531
23532 [BZ #13706]
23533 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23534 * elf/Makefile: Add rules to run tst-unused-dep.out.
23535
8847f037
DM
235362012-02-28 David S. Miller <davem@davemloft.net>
23537
23538 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23539 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23540 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23541 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23542 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23543 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23544
169d7f11
JM
235452012-02-29 Joseph Myers <joseph@codesourcery.com>
23546
23547 * math/libm-test.inc (llround_test): Move one test from
23548 lround_test. Use TEST_f_L in moved test.
23549 (lround_test): Move misplaced test to llround_test. Add testcase
23550 from bug 2561.
23551
39adf059
UD
235522012-02-28 Ulrich Drepper <drepper@gmail.com>
23553
23554 * sysdeps/x86_64/fpu/e_expf.S: New file.
23555 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23556
71b5d1c5
SB
235572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23558
23559 [BZ #13637]
23560 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23561 of remain_len that may cause incomplete multi-byte character and
23562 false match.
23563 * posix/bug-regex33.c: New file.
23564 * posix/Makefile (tests): Add bug-regex33.
23565
1f77f049
JM
235662012-02-28 Joseph Myers <joseph@codesourcery.com>
23567
23568 * manual/macros.texi: New file.
23569 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23570 * manual/libc.texinfo: Include macros.texi.
23571 * manual/creatute.texi: Likewise.
23572 * manual/install.texi: Likewise.
23573 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23574 @glibcadj{} in references to the GNU C Library.
23575 * manual/charset.texi: Likewise.
23576 * manual/conf.texi: Likewise.
23577 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23578 when not using those macros.
23579 * manual/creature.texi: Likewise.
23580 * manual/crypt.texi: Likewise.
23581 * manual/errno.texi: Likewise.
23582 * manual/filesys.texi: Likewise.
23583 * manual/header.texi: Likewise.
23584 * manual/install.texi: Likewise.
23585 * manual/intro.texi: Likewise.
23586 * manual/io.texi: Likewise.
23587 * manual/job.texi: Likewise.
23588 * manual/lang.texi: Likewise.
23589 * manual/libc.texiinfo: Likewise.
23590 * manual/llio.texi: Likewise.
23591 * manual/locale.texi: Likewise.
23592 * manual/maint.texi: Likewise.
23593 * manual/math.texi: Likewise.
23594 * manual/memory.texi: Likewise.
23595 * manual/message.texi: Likewise.
23596 * manual/nss.texi: Likewise.
23597 * manual/pattern.texi: Likewise.
23598 * manual/process.texi: Likewise.
23599 * manual/resource.texi: Likewise.
23600 * manual/search.texi: Likewise.
23601 * manual/setjmp.texi: Likewise.
23602 * manual/signal.texi: Likewise.
23603 * manual/socket.texi: Likewise.
23604 * manual/startup.texi: Likewise.
23605 * manual/stdio.texi: Likewise.
23606 * manual/string.texi: Likewise.
23607 * manual/sysinfo.texi: Likewise.
23608 * manual/syslog.texi: Likewise.
23609 * manual/terminal.texi: Likewise.
23610 * manual/time.texi: Likewise.
23611 * manual/users.texi: Likewise.
23612 * INSTALL: Regenerated.
23613 * NOTES: Regenerated.
d40c5d54 23614 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23615
450bf206
AS
236162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23617
23618 * include/dirent.h: Include <dirstream.h> before
23619 <dirent/dirent.h>.
23620
741a235b
DM
236212012-02-28 David S. Miller <davem@davemloft.net>
23622
23623 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23624 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23625 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23626 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23627
d6b5aa58
DM
236282012-02-27 David S. Miller <davem@davemloft.net>
23629
1aff59a3
DM
23630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23634
d6b5aa58
DM
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23636 frame pointer instead of stack pointer relative arg slot.
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23638 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23639 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23640
433f48bf
CD
236412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23642
23643 [BZ #3992]
23644 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23645
d674b76d
DM
236462012-02-27 David S. Miller <davem@davemloft.net>
23647
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23654 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23655 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23656
0e7727f7
JM
236572012-02-27 Joseph Myers <joseph@codesourcery.com>
23658
23659 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23660 later. Allow versions 5-9.
43be4ca2 23661 * configure: Regenerated.
0e7727f7
JM
23662 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23663 required minimum version and 4.6 as recommended version. Do not
23664 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23665 * INSTALL: Regenerated.
0e7727f7 23666
a78bc654
DM
236672012-02-27 David S. Miller <davem@davemloft.net>
23668
428d5830
DM
23669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23673 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23674 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23675 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23676 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23677
a78bc654
DM
23678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23679 manipulate bits before adding and subtracting TWO112[sx].
23680 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23681
4579f81c
RM
236822012-02-27 Roland McGrath <roland@hack.frob.com>
23683
36c8acb4
RM
23684 [BZ #13775]
23685 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23686 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23687 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23688 being in POSIX, because they are in 1003.1-2008.
23689
84ad622b
RM
23690 * rt/tst-aio.c: Include <fcntl.h>.
23691 * rt/tst-aio7.c: Likewise.
23692 * rt/tst-aio64.c: Likewise.
23693
4579f81c
RM
23694 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23695
abd923db
JM
236962012-02-27 Joseph Myers <joseph@codesourcery.com>
23697
23698 * manual/install.texi (--with-headers): Describe headers as
23699 interface headers, not private headers.
23700 (Specific advice for GNU/Linux systems): Describe use of headers
23701 from "make headers_install", not private headers from older
23702 kernels.
43be4ca2 23703 * INSTALL: Regenerated.
abd923db
JM
23704 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23705 Change to 2.6.19.
23706 * sysdeps/unix/sysv/linux/configure: Regenerated.
23707
6664049b
JM
23708 * manual/llio.texi (fclean): Remove documentation.
23709
bb8b6697
JM
23710 * manual/Makefile (libc-texi-generated): New variable. Include
23711 version.texi.
23712 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23713 $(libc-texi-generated), not duplicated list of files.
23714 (version.texi, stamp-version): New rules.
23715 (realclean): Remove $(libc-texi-generated), not individual files
23716 from that list. Do not remove dir-add.texinfo.
23717 * manual/libc.texinfo: Comment out uses of edition numbers and
23718 references to printed manual. Remove last-updated dates.
23719 (EDITION): Comment out.
23720 (ISBN): Likewise.
23721 (VERSION, UPDATED): Remove.
23722 (version.texi): Include.
23723
12e5c3b9
AS
237242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23725
23726 * sysdeps/posix/spawni.c: Include <signal.h>.
23727 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23728 * sysdeps/pthread/aio_fsync.c: Likewise.
23729
4efeffc1 237302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23731
ba63ba08
UD
23732 * conform/Makefile (tests): Run only when not cross-compiling and
23733 when fast-check is not defined.
23734
d94a4670
UD
23735 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23736 * conform/data/limits.h-data: Fixes for POSIX2008.
23737 * conform/run-conformtest.sh: Run all tests.
23738 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23739 headers.
23740 * include/bits/dlfcn.h: Likewise.
23741 * include/langinfo.h: Likewise.
23742 * include/monetary.h: Likewise.
23743 * include/sys/poll.h: Likewise.
23744
23745 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23746 for __USE_GNU.
23747 * posix/spawn.h: Define __need_sigset_t.
23748 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23749 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23750 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23751 to get sigevent_t only.
23752 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23753 only for __USE_GNU.
23754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23755 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23756 process_vm_writev only for __USE_GNU.
23757 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23758
23759 * conform/Makefile: For now ignore errors from run-conformtest.
23760 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23761 POSIX to avoid namespace pollution. Don't prepend headers.
23762 * conform/data/aio.h-data: Fixes for POSIX testing.
23763 * conform/data/fcntl.h-data: Likewise.
23764 * conform/data/glob.h-data: Likewise.
23765 * conform/data/grp.h-data: Likewise.
23766 * conform/data/pthread.h-data: Likewise.
23767 * conform/data/pwd.h-data: Likewise.
23768 * conform/data/signal.h-data: Likewise.
23769 * conform/data/spawn.h-data: Likewise.
23770 * conform/data/stdio.h-data: Likewise.
23771 * conform/data/stdlib.h-data: Likewise.
23772 * conform/data/stropts.h-data: Likewise.
23773 * conform/data/sys/mman.h-data: Likewise.
23774 * conform/data/sys/stat.h-data: Likewise.
23775 * conform/data/sys/types.h-data: Likewise.
23776 * conform/data/sys/wait.h-data: Likewise.
23777 * conform/data/time.h-data: Likewise.
23778 * conform/data/unistd.h-data: Likewise.
23779 * conform/data/utime.h-data: Likewise.
23780
23781 * io/sys/stat.h: fchmod was always in POSIX.
23782 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23783 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23784 * rt/aio.h: Define __need_timespec before including <time.h>.
23785 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23786 struct. Add forward declaration of pthread_attr_t and use it in
23787 sigevent.
23788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23789 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23790 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23791 always remove CLK_TCK definition.
23792
c20105c3
AS
237932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23794
23795 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23796
7a270350
UD
237972012-02-25 Ulrich Drepper <drepper@gmail.com>
23798
31341567
UD
23799 * conform/run-conformtest.sh: New file.
23800 * conform/Makefile: Run run-conformtest for tests.
23801 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23802 support.
23803
23804 * conform/data/uchar.h-data: New file.
23805 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23806 * conform/data/arpa/inet.h-data: Likewise.
23807 * conform/data/assert.h-data: Likewise.
23808 * conform/data/complex.h-data: Likewise.
23809 * conform/data/cpio.h-data: Likewise.
23810 * conform/data/ctype.h-data: Likewise.
23811 * conform/data/dirent.h-data: Likewise.
23812 * conform/data/dlfcn.h-data: Likewise.
23813 * conform/data/errno.h-data: Likewise.
23814 * conform/data/fcntl.h-data: Likewise.
23815 * conform/data/float.h-data: Likewise.
23816 * conform/data/fmtmsg.h-data: Likewise.
23817 * conform/data/fnmatch.h-data: Likewise.
23818 * conform/data/ftw.h-data: Likewise.
23819 * conform/data/glob.h-data: Likewise.
23820 * conform/data/grp.h-data: Likewise.
23821 * conform/data/iconv.h-data: Likewise.
23822 * conform/data/inttypes.h-data: Likewise.
23823 * conform/data/langinfo.h-data: Likewise.
23824 * conform/data/libgen.h-data: Likewise.
23825 * conform/data/limits.h-data: Likewise.
23826 * conform/data/locale.h-data: Likewise.
23827 * conform/data/math.h-data: Likewise.
23828 * conform/data/monetary.h-data: Likewise.
23829 * conform/data/mqueue.h-data: Likewise.
23830 * conform/data/ndbm.h-data: Likewise.
23831 * conform/data/net/if.h-data: Likewise.
23832 * conform/data/netdb.h-data: Likewise.
23833 * conform/data/netinet/in.h-data: Likewise.
23834 * conform/data/nl_types.h-data: Likewise.
23835 * conform/data/poll.h-data: Likewise.
23836 * conform/data/pthread.h-data: Likewise.
23837 * conform/data/pwd.h-data: Likewise.
23838 * conform/data/regex.h-data: Likewise.
23839 * conform/data/sched.h-data: Likewise.
23840 * conform/data/search.h-data: Likewise.
23841 * conform/data/semaphore.h-data: Likewise.
23842 * conform/data/setjmp.h-data: Likewise.
23843 * conform/data/signal.h-data: Likewise.
23844 * conform/data/spawn.h-data: Likewise.
23845 * conform/data/stdarg.h-data: Likewise.
23846 * conform/data/stdio.h-data: Likewise.
23847 * conform/data/stdlib.h-data: Likewise.
23848 * conform/data/string.h-data: Likewise.
23849 * conform/data/strings.h-data: Likewise.
23850 * conform/data/stropts.h-data: Likewise.
23851 * conform/data/sys/ipc.h-data: Likewise.
23852 * conform/data/sys/mman.h-data: Likewise.
23853 * conform/data/sys/msg.h-data: Likewise.
23854 * conform/data/sys/resource.h-data: Likewise.
23855 * conform/data/sys/select.h-data: Likewise.
23856 * conform/data/sys/sem.h-data: Likewise.
23857 * conform/data/sys/shm.h-data: Likewise.
23858 * conform/data/sys/socket.h-data: Likewise.
23859 * conform/data/sys/stat.h-data: Likewise.
23860 * conform/data/sys/statvfs.h-data: Likewise.
23861 * conform/data/sys/time.h-data: Likewise.
23862 * conform/data/sys/timeb.h-data: Likewise.
23863 * conform/data/sys/times.h-data: Likewise.
23864 * conform/data/sys/types.h-data: Likewise.
23865 * conform/data/sys/uio.h-data: Likewise.
23866 * conform/data/sys/un.h-data: Likewise.
23867 * conform/data/sys/utsname.h-data: Likewise.
23868 * conform/data/sys/wait.h-data: Likewise.
23869 * conform/data/syslog.h-data: Likewise.
23870 * conform/data/tar.h-data: Likewise.
23871 * conform/data/termios.h-data: Likewise.
23872 * conform/data/utime.h-data: Likewise.
23873 * conform/data/utmpx.h-data: Likewise.
23874 * conform/data/varargs.h-data: Likewise.
23875 * conform/data/wchar.h-data: Likewise.
23876 * conform/data/wctype.h-data: Likewise.
23877 * conform/data/wordexp.h-data: Likewise.
23878
23879 * include/stropts.h: New file.
23880 * include/uchar.h: New file.
23881 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23882 * include/assert.h: Likewise.
23883 * include/ctype.h: Likewise.
23884 * include/dirent.h: Likewise.
23885 * include/dlfcn.h: Likewise.
23886 * include/fcntl.h: Likewise.
23887 * include/fnmatch.h: Likewise.
23888 * include/glob.h: Likewise.
23889 * include/grp.h: Likewise.
23890 * include/libio.h: Likewise.
23891 * include/locale.h: Likewise.
23892 * include/math.h: Likewise.
23893 * include/net/if.h: Likewise.
23894 * include/netdb.h: Likewise.
23895 * include/netinet/in.h: Likewise.
23896 * include/pthread.h: Likewise.
23897 * include/pwd.h: Likewise.
23898 * include/regex.h: Likewise.
23899 * include/sched.h: Likewise.
23900 * include/search.h: Likewise.
23901 * include/setjmp.h: Likewise.
23902 * include/signal.h: Likewise.
23903 * include/stdio.h: Likewise.
23904 * include/stdlib.h: Likewise.
23905 * include/string.h: Likewise.
23906 * include/sys/cdefs.h: Likewise.
23907 * include/sys/mman.h: Likewise.
23908 * include/sys/msg.h: Likewise.
23909 * include/sys/resource.h: Likewise.
23910 * include/sys/select.h: Likewise.
23911 * include/sys/socket.h: Likewise.
23912 * include/sys/stat.h: Likewise.
23913 * include/sys/statvfs.h: Likewise.
23914 * include/sys/time.h: Likewise.
23915 * include/sys/times.h: Likewise.
23916 * include/sys/uio.h: Likewise.
23917 * include/sys/utsname.h: Likewise.
23918 * include/sys/wait.h: Likewise.
23919 * include/termios.h: Likewise.
23920 * include/time.h: Likewise.
23921 * include/ulimit.h: Likewise.
23922 * include/unistd.h: Likewise.
23923 * include/utime.h: Likewise.
23924 * include/wchar.h: Likewise.
23925 * include/wctype.h: Likewise.
23926 * include/wordexp.h: Likewise.
23927
23928 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23929
7a270350
UD
23930 * time/time.h: TIME_UTC must be a macro.
23931 Make timespec_get available for ISO C11 only as well.
23932
7724defc
UD
239332012-02-24 Ulrich Drepper <drepper@gmail.com>
23934
23935 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23936 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23937
6b1d1d46
JM
239382012-02-24 Joseph Myers <joseph@codesourcery.com>
23939
23940 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23941
0f8bbd69
JM
239422012-02-24 Joseph Myers <joseph@codesourcery.com>
23943
23944 * manual/texinfo.tex: Update to version 2012-01-19.16.
23945
66ab80bc
JM
239462012-02-24 Joseph Myers <joseph@codesourcery.com>
23947
23948 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23949
74981cc5
RM
239502012-02-24 Roland McGrath <roland@hack.frob.com>
23951
ee968201
RM
23952 [BZ #13738]
23953 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23954 * manual/fdl-1.3.texi: New file.
23955 * manual/fdl-1.1.texi: File removed.
23956
74981cc5
RM
23957 [BZ #13738]
23958 * manual/libc.texinfo (FDL_VERSION): New @set.
23959 Use it for mention of FDL in cover text.
23960 (Documentation License): Use it in @include file name.
23961
7bb764bc
JM
239622012-02-22 Joseph Myers <joseph@codesourcery.com>
23963 Roland McGrath <roland@hack.frob.com>
23964
23965 [BZ #5461]
23966 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23967 not LONG_LONG_MAX and LONG_LONG_MIN.
23968 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23969 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23970 name.
23971 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23972
6cbeae47
JM
239732012-02-22 Joseph Myers <joseph@codesourcery.com>
23974
23975 [BZ #2547]
23976 [BZ #11365]
23977 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23978 manipulate bits before adding and subtracting TWO23[sx].
23979 * math/libm-test.inc (nearbyint_test): Add more tests.
23980
fe45ce09
JM
239812012-02-22 Joseph Myers <joseph@codesourcery.com>
23982
23983 [BZ #2548]
23984 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23985 bits before adding and subtracting TWO23[sx].
23986 * math/libm-test.inc (rint_test): Add more tests.
23987 (rint_test_tonearest): Likewise.
23988 (rint_test_towardzero): Likewise.
23989 (rint_test_downward): Likewise.
23990 (rint_test_upward: Likewise.
23991
ff3b3d82
JM
239922012-02-22 Joseph Myers <joseph@codesourcery.com>
23993
23994 [BZ #10110]
23995 * include/stdc-predef.h: New file. Extracted from features.h.
23996 * include/features.h: Include stdc-predef.h.
23997 * Makefile (headers): Add stdc-predef.h.
23998 * CONFORMANCE (Compiler limitations): Update.
23999
ef0aab35
JM
240002012-02-22 Joseph Myers <joseph@codesourcery.com>
24001
24002 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24003
58639409
DM
240042012-02-21 David S. Miller <davem@davemloft.net>
24005
24006 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24007 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24008
c0e70b25
DM
240092012-02-20 David S. Miller <davem@davemloft.net>
24010
24011 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24012 using a normal save/restore sequence, rather than allocating a
24013 dummy stack frame just to store a frame pointer and restore.
24014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24015
fb06851d
JM
240162012-02-21 Joseph Myers <joseph@codesourcery.com>
24017
24018 * manual/install.texi: Fix stray word in line-wrapped comment.
24019
7a8b71c3
DM
240202012-02-20 David S. Miller <davem@davemloft.net>
24021
d510c123
DM
24022 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24023 both binutils and gcc support GOTDATA.
24024
0722d7c2
DM
24025 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24026 "rd %pc" in the PIC register setup sequences.
24027
3d2b3019
DM
24028 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24029 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24030 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24031 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24032 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24034 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24035 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24037 (SYSCALL_ERROR_HANDLER): Likewise.
24038 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24039 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24041 (SYSCALL_ERROR_HANDLER): Likewise.
24042
c80098a9
DM
24043 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24044 (HAVE_GCC_GOTDATA): New.
24045 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24046 relocation support in both binutils and gcc.
24047 * sysdeps/sparc/elf/configure: Regenerate.
24048
3a2545a0
DM
24049 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24050 * sysdeps/sparc/sparc32/elf/configure: Delete.
24051 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24052 * sysdeps/sparc/sparc64/elf/configure: Delete.
24053 * sysdeps/sparc/elf/configure.in: New file.
24054 * sysdeps/sparc/elf/configure: Generate.
24055
7a8b71c3
DM
24056 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24057 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24058 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24059 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24060 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24061
f1e86fca
JM
240622012-02-21 Joseph Myers <joseph@codesourcery.com>
24063
24064 * manual/install.texi: Do not mention specific glibc version
24065 numbers.
24066 * manual/libc.texinfo (VERSION, UPDATED): Update.
24067 (@copying): Use @copyright{} and range of years.
24068
0e7dfaef
JM
240692012-02-21 Joseph Myers <joseph@codesourcery.com>
24070
24071 [BZ #13695]
24072 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24073 [crti.S not in sysdirs] (generated): Do not append.
24074 [crti.S not in sysdirs] (omit-deps): Likewise.
24075 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24076 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24077 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24078 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24079 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24080 Likewise.
24081 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24082 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24083 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24084 * csu/defs.awk: Remove file.
24085 * sysdeps/generic/initfini.c: Likewise.
24086 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24087 variable.
24088 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24089 Likewise.
24090
599af3ca
JM
240912012-02-20 Joseph Myers <joseph@codesourcery.com>
24092
24093 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24094 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24095 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24096 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24097 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24098 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24099 <bits/epoll.h>.
24100 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24101 (__EPOLL_PACKED): Define to empty if not defined by
24102 <bits/epoll.h>.
24103 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24105 bits/epoll.h.
24106
0e499750
JM
241072012-02-20 Joseph Myers <joseph@codesourcery.com>
24108
24109 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24110 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24111 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24112 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24113 <bits/timerfd.h>.
24114 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24116 bits/timerfd.h.
24117
5ad91f6e
JM
241182012-02-20 Joseph Myers <joseph@codesourcery.com>
24119
24120 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24121 in C locale.
24122 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24123 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24124 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24126
06b99b02
AJ
241272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24128
24129 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24130 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24131
7638c0fd
AS
241322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24133
24134 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24135 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24136 defined.
24137 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24138 Likewise.
24139 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24140 entry for 2.16.
24141
92221550
AJ
241422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24143
24144 * math/w_acos.c: Use non-signaling floating-point comparisons.
24145 * math/w_acosf.c: Likewise.
24146 * math/w_acosh.c: Likewise.
24147 * math/w_acoshf.c: Likewise.
24148 * math/w_acoshl.c: Likewise.
24149 * math/w_acosl.c: Likewise.
24150 * math/w_asin.c: Likewise.
24151 * math/w_asinf.c: Likewise.
24152 * math/w_asinl.c: Likewise.
24153 * math/w_atanh.c: Likewise.
24154 * math/w_atanhf.c: Likewise.
24155 * math/w_atanhl.c: Likewise.
24156 * math/w_exp2.c: Likewise.
24157 * math/w_exp2f.c: Likewise.
24158 * math/w_exp2l.c: Likewise.
24159 * math/w_j0.c: Likewise.
24160 * math/w_j0f.c: Likewise.
24161 * math/w_j0l.c: Likewise.
24162 * math/w_j1.c: Likewise.
24163 * math/w_j1f.c: Likewise.
24164 * math/w_j1l.c: Likewise.
24165 * math/w_jn.c: Likewise.
24166 * math/w_jnf.c: Likewise.
24167 * math/w_log.c: Likewise.
24168 * math/w_log10.c: Likewise.
24169 * math/w_log10f.c: Likewise.
24170 * math/w_log10l.c: Likewise.
24171 * math/w_log2.c: Likewise.
24172 * math/w_log2f.c: Likewise.
24173 * math/w_log2l.c: Likewise.
24174 * math/w_logf.c: Likewise.
24175 * math/w_logl.c: Likewise.
24176 * math/w_sqrt.c: Likewise.
24177 * math/w_sqrtf.c: Likewise.
24178 * math/w_sqrtl.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24183 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24184
ebaf36eb
JM
241852012-02-19 Joseph Myers <joseph@codesourcery.com>
24186
24187 [BZ #9739]
24188 * manual/string.texi (strnlen): Use correct parameter name in
24189 equivalent expression.
24190
71c254a6
JM
241912012-02-19 Joseph Myers <joseph@codesourcery.com>
24192
24193 [BZ #11174]
24194 * manual/users.texi (seteuid): Consistently use neweuid for
24195 argument name.
24196
16d2c631
JM
241972012-02-19 Joseph Myers <joseph@codesourcery.com>
24198
24199 [BZ #13704]
24200 * manual/nss.texi (Services in the NSS configuration): Correct
24201 list of services in example configuration file.
24202
cd837b09
NB
242032012-02-19 Nick Bowler <nbowler@draconx.ca>
24204
24205 [BZ #11322]
24206 * manual/arith.texi: Remove statements about negative zero
24207 behaving identically to zero.
24208
02c4bbad
JM
242092012-02-18 Joseph Myers <joseph@codesourcery.com>
24210
24211 [BZ #5993]
24212 * manual/install.texi: Do not document upgrading from libc5.
24213
366842e7
JM
242142012-02-18 Joseph Myers <joseph@codesourcery.com>
24215
24216 [BZ #4596]
24217 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24218
dd54084d
DM
242192012-02-18 David S. Miller <davem@davemloft.net>
24220
24221 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24222 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24223 %o7 across the call.
24224 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24225 instead.
24226 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24227 SETUP_PIC_REG_LEAF.
24228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24229 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24230 * sysdeps/sparc/crtn.S: Likewise.
24231
2bcc53a3
UD
242322012-02-17 Ulrich Drepper <drepper@gmail.com>
24233
24234 * aout/Makefile: Remove.
24235
09c093b5
RK
242362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24237
24238 [BZ #13058]
24239 * manual/examples/argp-ex1.c (main): Format definition in GNU
24240 style.
24241 * manual/examples/argp-ex2.c (main): Likewise.
24242 * manual/examples/argp-ex3.c (main): Likewise.
24243 * manual/examples/argp-ex4.c (main): Likewise.
24244 * manual/examples/longopt.c (main): Use new-style prototype
24245 definition.
24246 * manual/examples/strncat.c (main): Specify return type and use
24247 (void) for arguments.
24248 * manual/examples/subopt.c (main): Use char **argv argument.
24249
2ee633a2
JM
242502012-02-17 Joseph Myers <joseph@codesourcery.com>
24251
24252 [BZ #5077]
24253 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24254 rounding modes.
24255
0520adde
FB
242562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24257
24258 [BZ #6907]
24259 * manual/string.texi (strchr): Change when strchrnul is
24260 recommended.
24261
3f4081cd
DGM
242622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24263
24264 [BZ #174]
24265 * manual/locale.texi (setlocale): Document LOCPATH.
24266
d1b10e78
JM
242672012-02-17 Joseph Myers <joseph@codesourcery.com>
24268
24269 [BZ #10210]
24270 * manual/process.texi (execle): Move @dots{} before last argument.
24271
79c6869c
PB
242722012-02-17 Paul Bolle <pebolle@tiscali.nl>
24273
24274 [BZ #12047]
24275 * manual/charset.texi (Generic Charset Conversion): Fix typo
24276 (LC_TYPE -> LC_CTYPE).
24277
cc6e48bc
NB
242782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24279
24280 [BZ #5805]
24281 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24282 (scalbnf): Likewise.
24283 (scalbnl): Likewise.
24284 (scalbln): Likewise.
24285 (scalblnf): Likewise.
24286 (scalblnl): Likewise.
24287 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24288 (vwarnx): Likewise.
24289 (verr): Likewise.
24290 (verrx): Likewise.
24291 * manual/filesys.texi (telldir): Use braces around return type.
24292 * manual/llio.texi (mmap): Add space after comma.
24293 (mmap64): Likewise.
24294 * manual/math.texi (jn): Use @var{} on parameter names.
24295 (jnf): Likewise.
24296 (jnl): Likewise.
24297 (yn): Likewise.
24298 (ynf): Likewise.
24299 (ynl): Likewise.
24300 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24301 line.
24302 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24303 "...".
24304 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24305 (sched_get_priority_max): Likewise.
24306 * manual/signal.texi (sigvec): Add space after comma.
24307 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24308 names.
24309 (if_indextoname): Likewise.
24310 (if_freenameindex): Likewise.
24311 (sendto): Use ',' instead of '.' in prototype.
24312 * manual/startup.texi (syscall): Use @dots{} instead of literal
24313 "...".
24314 * manual/stdio.texi (__fpending): Separate initial words of
24315 paragraph from @deftypefun line.
24316 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24317 "...".
24318 (vsyslog): Use @var{} on parameter names.
24319 * manual/terminal.texi (stty): Use @var{} on parameter names.
24320 * manual/users.texi (getutmp): Use @var{} on parameter names.
24321 (getutmpx): Likewise.
24322
5b23062f
JM
243232012-02-17 Joseph Myers <joseph@codesourcery.com>
24324
24325 [BZ #6884]
24326 * manual/stdio.texi (fopen): Fix typos in description of
24327 ",ccs=STRING".
24328
8dee4833
AJ
243292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24330
24331 [BZ #4026]
24332 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24333 get clock_id definition.
24334
9078ce93
TS
243352012-02-17 Thomas Schwinge <thomas@schwinge.name>
24336
24337 [BZ #4822]
24338 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24339 (madvise): Cast every argument to void on its own.
24340
3835c55f
JM
243412012-02-17 Joseph Myers <joseph@codesourcery.com>
24342
24343 [BZ #9902]
24344 * manual/startup.texi (Exit Status): Fix typo.
24345
35c47e37
JM
243462012-02-17 Joseph Myers <joseph@codesourcery.com>
24347
24348 [BZ #10140]
24349 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24350 * manual/examples/argp-ex2.c: Likewise.
24351 * manual/examples/argp-ex3.c: Likewise.
24352
e3b69ca7
RH
243532012-02-16 Richard Henderson <rth@redhat.com>
24354
24355 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24356 * sysdeps/s390/s390-32/initfini.c: Remove.
24357 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24358 * sysdeps/s390/s390-64/initfini.c: Remove.
24359
df83af67
KK
243602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24361
24362 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24363 compiler output for sysdeps/generic/initfini.c.
24364 * sysdeps/sh/elf/initfini.c: Remove file.
24365
f63f3380
DM
243662012-02-16 David S. Miller <davem@davemloft.net>
24367
fb59b3a4
DM
24368 [BZ #11494]
24369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24370
f63f3380
DM
24371 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24372 * sysdeps/sparc/crti.S: New file.
24373 * sysdeps/sparc/crtn.S: New file.
24374 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24375 * sysdeps/sparc/sparc64/Makefile: Likewise.
24376
df6a4a4a
MF
243772012-02-15 Mike Frysinger <vapier@gentoo.org>
24378
6dd8f3dc 24379 [BZ #3335]
df6a4a4a
MF
24380 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24381
1cac7236
RM
243822012-02-15 Roland McGrath <roland@hack.frob.com>
24383
d2c736f8
RM
24384 [BZ #4822]
24385 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24386
1cac7236
RM
24387 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24388 (write, read, close): Likewise.
24389 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24390
8e475601
JM
243912012-02-15 Joseph Myers <joseph@codesourcery.com>
24392
24393 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24394 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24395 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24396 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24397 <bits/signalfd.h>.
24398 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24400 bits/signalfd.h.
24401
ed656b40
MP
244022012-02-14 Marek Polacek <polacek@redhat.com>
24403
24404 * sysdeps/x86_64/crti.S: New file.
24405 * sysdeps/x86_64/crtn.S: New file.
24406 * sysdeps/x86_64/elf/initfini.c: Remove file.
24407
2a979d3a
JM
244082012-02-13 Joseph Myers <joseph@codesourcery.com>
24409
24410 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24411 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24412 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24413 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24414 <bits/inotify.h>.
24415 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24417 bits/inotify.h.
24418
2a418ac3
JM
244192012-02-13 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24422 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24423 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24424 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24425 <bits/eventfd.h>.
24426 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24428 bits/eventfd.h.
24429
fb779be7
TS
244302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24431
e19e83c5
RM
24432 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24433 __feraiseexcept instead of feraiseexcept.
7c35ffed 24434
fb779be7
TS
24435 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24436 nanosleep invocations.
24437 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24438 strings, and add error checking for a nanosleep invocations.
24439
59ba27a6
PE
244402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24441
24442 Replace FSF snail mail address with URLs, as per GNU coding standards.
24443 Most of the snail mail addresses were wrong anyway, and omitting
24444 them makes the source code easier to maintain. Almost all of the
24445 changes are to license notices and to locale LC_IDENTIFICATION
24446 addresses, except for this one:
24447 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24448 not its snail mail address.
24449
57b957eb
RH
244502012-02-09 Richard Henderson <rth@twiddle.net>
24451
af850b1c
RH
24452 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24453 of kernel-features.h.
24454
57b957eb
RH
24455 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24456
6b73181a
MP
244572012-02-08 Marek Polacek <polacek@redhat.com>
24458
24459 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24460 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24461 * sysdeps/gnu/_G_config.h: Likewise.
24462 * sysdeps/generic/_G_config.h: Likewise.
24463
26ecc33a
AS
244642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24465
6c6dbc63
AS
24466 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24467 tests.
24468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24469
e216c012
AS
24470 * sysdeps/powerpc/powerpc32/crti.S: New file.
24471 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24472 * sysdeps/powerpc/powerpc64/crti.S: New file.
24473 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24474
26ecc33a
AS
24475 * Makeconfig (have-initfini): Don't set.
24476 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24477 * configure.in (nopic_initfini): Don't substitute.
24478 * config.h.in (HAVE_INITFINI): Don't #undef.
24479 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24480 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24481
3add8e13
JM
244822012-02-08 Joseph Myers <joseph@codesourcery.com>
24483
24484 Support crti.S and crtn.S provided directly by architectures.
24485 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24486 [crti.S in sysdirs] (omit-deps): Likewise.
24487 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24488 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24489 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24490 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24491 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24492 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24493 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24494 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24495 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24496 compiler output for sysdeps/generic/initfini.c.
24497 * sysdeps/i386/elf/Makefile: Remove file.
24498 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24499
a22f12b4
MP
245002012-02-07 Marek Polacek <polacek@redhat.com>
24501
24502 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24503 * sysdeps/gnu/_G_config.h: Likewise.
24504 * sysdeps/mach/hurd/_G_config.h: Likewise.
24505
148cf100
MP
245062012-02-07 Marek Polacek <polacek@redhat.com>
24507
24508 * math/Makefile (tests): Add tst-CMPLX2.
24509 * math/tst-CMPLX2.c: New file.
24510
cfdc0dd7
AS
245112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24512
84ba42c4
AS
24513 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24514
cfdc0dd7
AS
24515 * math/libm-test.inc (jn_test): Add missing L suffix.
24516
622c86f4
MP
245172012-02-06 Marek Polacek <polacek@redhat.com>
24518
24519 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24520 * sysdeps/i386/fpu/e_powf.S: Likewise.
24521 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24522 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24524 * sysdeps/i386/fpu/e_pow.S: Likewise.
24525 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24527 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24528 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24529 * sysdeps/i386/fpu/e_log2.S: Likewise.
24530 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24531 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24532 * sysdeps/i386/fpu/e_powl.S: Likewise.
24533 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24534 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24535 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24536 * sysdeps/i386/fpu/e_logl.S: Likewise.
24537 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24538 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24539 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24540 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24541 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24542 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24543 * sysdeps/i386/fpu/e_log.S: Likewise.
24544 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24545 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24546 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24547 * sysdeps/i386/fpu/e_logf.S: Likewise.
24548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24549 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24550 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24551 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24552 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24553 * sysdeps/i386/fpu/e_log10.S: Likewise.
24554 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24555 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24556 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24557 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24559 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24560 * sysdeps/i386/asm-syntax.h: Likewise.
24561 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24562 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24563 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24564 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24565 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24566 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24567 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24568 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24569 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24570 * sysdeps/powerpc/sysdep.h: Likewise.
24571 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24572 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24573
d4a54ac6
JM
245742012-02-06 Joseph Myers <joseph@codesourcery.com>
24575
24576 [BZ #411]
24577 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24578
314054ea
JM
245792012-02-06 Joseph Myers <joseph@codesourcery.com>
24580
24581 * sysdeps/i386/sysdep.h: Include <features.h>.
24582 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24583 version.
24584
d8e0ca50
JM
245852012-02-05 Joseph Myers <joseph@codesourcery.com>
24586
24587 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24588 Define.
24589 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24590 LOAD_PIC_REG_STR.
24591
b1da7dd9
JM
245922012-02-03 Joseph Myers <joseph@codesourcery.com>
24593
24594 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24595 (SETUP_PIC_REG): Use GET_PC_THUNK.
24596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24597 macro.
24598
9a1d9254
JM
245992012-02-03 Joseph Myers <joseph@codesourcery.com>
24600
24601 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24602 for non-PIC compilation.
24603 (SETUP_PIC_REG): Add .p2align directive.
24604 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24605 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24606 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24607 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24608 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24609 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24610 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24611 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24612 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24613 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24614 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24615 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24616 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24617 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24618 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24619 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24620 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24621 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24622 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24623 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24624 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24625 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24626 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24627 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24630 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24631 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24632 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24633 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24634 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24635 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24636 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24637 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24638 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24639 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24640 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24641 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24642 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24643 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24644 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24645
65dc3b75
JM
246462012-02-03 Joseph Myers <joseph@codesourcery.com>
24647
24648 * math/tst-CMPLX.c: Include <stdio.h>.
24649
d55bf177
JM
246502012-01-31 Joseph Myers <joseph@codesourcery.com>
24651
24652 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24653 float.
24654 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24655 * sysdeps/sparc/bits/mathdef.h: Likewise.
24656
69db4f8f
MP
246572012-01-31 Marek Polacek <polacek@redhat.com>
24658
24659 * libio/libio.h: Don't define _PARAMS.
24660 * locale/programs/config.h: Don't define PARAMS.
24661 * stdlib/strtol_l.c: Likewise.
24662 (__strtol_l): Remove PARAMS from the prototype.
24663
41b81892
UD
246642012-01-31 Ulrich Drepper <drepper@gmail.com>
24665
3b49edc0
UD
24666 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24667 names. Just use the correct names. Remove unnecessary wrapper
24668 functions.
24669 * malloc/arena.c: Likewise.
24670 * malloc/hooks.c: Likewise.
24671
41b81892
UD
24672 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24673 ARENA_TEST says not to. Simplify test for creation of a new arena.
24674 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24675
27a25b6e
UD
246762012-01-30 Ulrich Drepper <drepper@gmail.com>
24677
24678 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24679 into tail calls.
24680 (update_get_addr): New function.
24681 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24682 GET_ADDR_MODULE parameter.
24683
c8a89e7d
JM
246842012-01-30 Joseph Myers <joseph@codesourcery.com>
24685
24686 * crypt/cert.c: Remove __STDC__ conditionals.
24687 * crypt/crypt-entry.c: Likewise.
24688 * crypt/crypt_util.c: Likewise.
24689 * libio/filedoalloc.c: Likewise.
24690 * libio/fileops.c: Likewise.
24691 * libio/genops.c: Likewise.
24692 * libio/iofclose.c: Likewise.
24693 * libio/iofdopen.c: Likewise.
24694 * libio/iofopen.c: Likewise.
24695 * libio/iofopen64.c: Likewise.
24696 * libio/iogetdelim.c: Likewise.
24697 * libio/iopopen.c: Likewise.
24698 * libio/obprintf.c: Likewise.
24699 * libio/oldfileops.c: Likewise.
24700 * libio/oldiofclose.c: Likewise.
24701 * libio/oldiofdopen.c: Likewise.
24702 * libio/oldiofopen.c: Likewise.
24703 * libio/oldiopopen.c: Likewise.
24704 * libio/wfiledoalloc.c: Likewise.
24705 * libio/wgenops.c: Likewise.
24706 * locale/programs/xmalloc.c: Likewise.
24707 * misc/syslog.c: Likewise.
24708 * stdio-common/xbug.c: Likewise.
24709 * string/memchr.c: Likewise.
24710 * string/memcmp.c: Likewise.
24711 * string/memrchr.c: Likewise.
24712 * string/rawmemchr.c: Likewise.
24713 * sysdeps/posix/getcwd.c: Likewise.
24714 * time/strftime_l.c: Likewise.
24715
3b100462
JM
247162012-01-30 Joseph Myers <joseph@codesourcery.com>
24717
24718 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24719 * config.make.in (config-cflags-sse2avx): Define.
24720 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24721 Fix typo.
24722
607998af
CM
247232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24724
24725 * scripts/config.guess: Update from upstream config git repository.
24726 * scripts/config.sub: Likewise.
24727
3601428f
CM
247282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24729
3ac8b282
CM
24730 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24731 (EM_NUM): Update.
24732 (R_TILEPRO_*, R_TILEGX_*): New macros.
24733
e034841e
CM
24734 * scripts/firstversions.awk: Fix bug in version range handling.
24735
540d7568
CM
24736 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24737
3601428f
CM
24738 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24739
463de862
CM
24740 * include/sys/epoll.h: New file.
24741 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24742 libc_hidden_def.
24743
73139a76
UD
247442012-01-28 Ulrich Drepper <drepper@gmail.com>
24745
96bc5b45
UD
24746 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24747 Avoid unnecessary __WORDSIZE == 64 test.
24748 (fmaxf): Use VEX format if possible.
24749 (fmax): Likewise.
24750 (fminf): Likewise.
24751 (fmin): Likewise.
24752
56f6f6a2
UD
24753 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24754 * math/math_private.h: Remove libc_fegetround* and
24755 libc_fesetround*.
24756 * sysdeps/i386/configure.in: Check for -msse2avx.
24757 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24758 also if SSE2AVX is defined.
24759 Remove libc_fegetround* and libc_fesetround*.
24760 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24761 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24763 of HAS_YMM_USABLE.
24764 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24765 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24767 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24768 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24769
73139a76
UD
24770 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24771
d73f93a4
AZ
247722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24773
24774 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24775 size is not set.
24776 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24777
6ee65ed6
UD
247782012-01-27 Ulrich Drepper <drepper@gmail.com>
24779
24780 [BZ #13618]
24781 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24782 relocation.
24783 * Makeconfig (libm): Define.
24784 * elf/Makefile: Add rules to build and run tst-relsort1.
24785 * elf/tst-relsort1.c: New file.
24786 * elf/tst-relsort1mod1.c: New file.
24787 * elf/tst-relsort1mod2.c: New file.
24788
8db21882
JM
247892012-01-27 Joseph Myers <joseph@codesourcery.com>
24790
24791 * math/s_ldexp.c: Remove __STDC__ conditionals.
24792 * math/s_ldexpf.c: Likewise.
24793 * math/s_ldexpl.c: Likewise.
24794 * math/s_nextafter.c: Likewise.
24795 * math/s_nexttowardf.c: Likewise.
24796 * math/s_significand.c: Likewise.
24797 * math/s_significandf.c: Likewise.
24798 * math/s_significandl.c: Likewise.
24799 * math/w_jnl.c: Likewise.
24800 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24801 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24802 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24803 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24804 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24806 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24807 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24808 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24809 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24810 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24813 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24814 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24815 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24816 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24819 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24820 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24821 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24822 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24823 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24824 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24825 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24826 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24827 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24828 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24829 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24831 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24832 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24833 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24834 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24835 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24836 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24837 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24838 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24839 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24840 * sysdeps/ieee754/k_standard.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24860 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24875 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24876 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24880 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24884 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24885 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24887 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24888 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24898 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24899 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24900 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24901 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24902 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24903 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24905 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24906 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24907 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24908 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24910 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24912 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24915 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24916 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24920 * sysdeps/ieee754/s_matherr.c: Likewise.
24921 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24922 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24925
965a54a4
JM
249262012-01-26 Joseph Myers <joseph@codesourcery.com>
24927
24928 * crypt/md5.h: Remove __STDC__ conditionals.
24929 * libio/libioP.h: Likewise.
24930 * locale/programs/config.h: Likewise.
24931 * sysdeps/generic/sysdep.h: Likewise.
24932 * sysdeps/i386/asm-syntax.h: Likewise.
24933 * sysdeps/s390/asm-syntax.h: Likewise.
24934 * sysdeps/unix/sysdep.h: Likewise.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24937
7071ad79
JM
249382012-01-26 Joseph Myers <joseph@codesourcery.com>
24939
24940 * libio/libio.h: Remove __STDC__ conditionals.
24941 * malloc/obstack.h: Likewise.
24942 * math/complex.h: Likewise.
24943 * math/math.h: Likewise.
24944 * sysdeps/generic/_G_config.h: Likewise.
24945 * sysdeps/gnu/_G_config.h: Likewise.
24946 * sysdeps/mach/hurd/_G_config.h: Likewise.
24947 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24948 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24949 * sysdeps/sparc/bits/mathdef.h: Likewise.
24950
afc5ed09
UD
249512012-01-26 Ulrich Drepper <drepper@gmail.com>
24952
24953 [BZ #13583]
24954 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24955 Clean up HAS_* macros.
afc5ed09 24956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24957 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24958 possible.
24959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24960 HAS_AVX.
24961 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24962 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24965 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24966
bdb6de1d
JM
249672012-01-25 Joseph Myers <joseph@codesourcery.com>
24968
24969 * elf/tst-unique3.cc (gets): Remove declaration.
24970 * elf/tst-unique3lib.cc (gets): Likewise.
24971 * elf/tst-unique3lib2.cc (gets): Likewise.
24972 * elf/tst-unique4.cc (gets): Likewise.
24973
b15549e6
UD
249742012-01-24 Ulrich Drepper <drepper@gmail.com>
24975
24976 * include/stdio.h: Add C++ protection. Add gets declarations and
24977 definitions.
24978 * debug/tst-chk1.c: Don't declare gets here.
24979 * stdio-common/tst-gets.c: Likewise.
24980
a037381f
JM
249812012-01-24 Joseph Myers <joseph@codesourcery.com>
24982
24983 * posix/glob: Remove directory.
24984
f1d4aa75
JM
249852012-01-24 Joseph Myers <joseph@codesourcery.com>
24986
24987 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24988
81c0c964
PT
249892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24990
24991 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24992 of the non-standard EPFNOSUPPORT.
24993
0ea698ae
ST
249942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24995
24996 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24997 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24998 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24999
d220b117
UD
250002012-01-21 Ulrich Drepper <drepper@gmail.com>
25001
25002 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25003
3e1aa84e
UD
250042012-01-20 Ulrich Drepper <drepper@gmail.com>
25005
25006 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25007 transient errors.
25008 * nscd/grpcache.c (cache_addgr): Likewise.
25009 * nscd/hstcache.c (cache_addhst): Likewise.
25010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25011 * nscd/pwdcache.c (cache_addpw): Likewise.
25012 * nscd/servicescache.c (cache_addserv): Likewise.
25013
400aa020
UD
250142012-01-16 Ulrich Drepper <drepper@gmail.com>
25015
d77e7869
UD
25016 * malloc/malloc.c: Various cleanups.
25017 * malloc/hooks.c: Likewise.
25018
400aa020
UD
25019 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25020 * stdlib/bug-fmtmsg1.c: New file.
25021
25022 * stdlib/fmtmsg.c (init): Add missing unlock.
25023 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25024
e0a309cf
MP
250252012-01-12 Marek Polacek <polacek@redhat.com>
25026
25027 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25028 and _GNU_SOURCE.
25029
929d11c7
WS
250302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25031
25032 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25033 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25034 macro to ensure uniqueness of label name.
25035 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25036 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25037
41d0e869
UD
250382012-01-11 Ulrich Drepper <drepper@gmail.com>
25039
0cc5ed3b
UD
25040 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25041
41d0e869
UD
25042 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25043 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25044 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25046
a47a831a
UD
250472012-01-10 Ulrich Drepper <drepper@gmail.com>
25048
daa891c0
UD
25049 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25050
25051 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25052 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25053 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25054
e58ef0f2
UD
25055 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25056
a47a831a 25057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25058 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25059 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25061
25062 * math/bits/math-finite.h: Add ldexp support.
25063
a0bfc9c7
MP
250642012-01-10 Marek Polacek <polacek@redhat.com>
25065
25066 * locale/programs/localedef.h (show_archive_content): Add noreturn
25067 attribute.
25068
d6e97a1d
UD
250692012-01-09 Ulrich Drepper <drepper@gmail.com>
25070
25071 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25072
d5835c26
UD
250732012-01-08 Ulrich Drepper <drepper@gmail.com>
25074
e5f484c6
UD
25075 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25076
d5835c26
UD
25077 * io/Makefile (headers): Add bits/poll2.h.
25078
d1f741e9
WS
250792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25080
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25082 typo #include statement.
25083
ec09c1c4
UD
250842012-01-08 Ulrich Drepper <drepper@gmail.com>
25085
25086 * include/sys/cdefs.h: Define __attribute_alloc_size.
25087 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25088 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25089 * elf/pldd.c: Likewise.
25090 * iconv/iconv_charmap.c: Likewise.
25091 * iconv/iconvconfig.c: Likewise.
25092 * iconv/strtab.c: Likewise.
25093 * locale/programs/locale.c: Likewise.
25094 * locale/programs/localedef.h: Likewise.
25095 * locale/programs/simple-hash.c: Likewise.
25096 * nscd/nscd.h: Likewise.
25097 * nss/makedb.c: Likewise.
25098 * sysdeps/generic/ldconfig.h: Likewise.
25099 * locale/programs/localedef.c: Remove xmalloc prototype.
25100 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25101
20b38e03
PP
251022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25103
25104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25105 appropriate.
25106
a0da5fe1
UD
251072012-01-08 Ulrich Drepper <drepper@gmail.com>
25108
1d5a644a 25109 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25110 * math/tst-CMPLX.c: New file.
1d5a644a 25111
8784a6db
UD
25112 * math/complex.h (CMPLXL): Fix typo.
25113
d9a216c0
UD
25114 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25115 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25116 GLIBC_2.16.
25117 * debug/tst-chk1.c: Add poll and ppoll tests.
25118 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25119 * include/sys/poll.h: Add hidden proto for ppoll.
25120 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25121 * sysdeps/mach/hurd/ppoll.c: Likewise.
25122 * io/ppoll.c: Likewise.
25123 * debug/poll_chk.c: New file.
25124 * debug/ppoll_chk.c: New file.
25125 * include/bits/poll2.h: New file.
25126 * io/bits/poll2.h: New file.
25127
ac097f5c
UD
25128 [BZ #1350]
25129 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25130
2119dcfa
UD
25131 * configure.in: static is always set to yes. Remove.
25132 * config.make.in: Don't set build-static.
25133 * Makeconfig: Remove use of build-static.
25134 * dlfcn/Makefile: Likewise.
25135 * elf/Makefile: Likewise.
25136 * math/Makefile: Likewise.
25137 * misc/Makefile: Likewise.
25138 * nptl/Makefile: Likewise.
25139 * sysdeps/mach/hurd/Makefile: Likewise.
25140
121766a9
UD
25141 * configure.in: PWD_P is not used anymore.
25142 * config.make.in: Remove PWD_P entry.
25143
51a1d39c 25144 * configure.in: Remove last remnants of RANLIB.
8720d066 25145 No need to check for signed size_t anymore.
215f4bdc
UD
25146 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25147 and IA-64.
3857022a 25148 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25149 * aclocal.m4: Likewise.
25150
d3ed7225
UD
25151 * wcsmbs/mbrtoc16.c: Implement using towc function.
25152 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25153 * wcsmbs/wcsmbsload.c: Likewise.
25154 * iconv/gconv_simple.c: Likewise.
25155 * iconv/gconv_int.h: Likewise.
25156 * iconv/gconv_builtin.h: Likewise.
25157 * iconv/iconv_prog.c: Remove CHAR16 handling.
25158
25159 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25160
25161 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25162
a0da5fe1
UD
25163 * configure.in: Remove --with-elf and --enable-bounded options.
25164 Dont set base_machine for ia64. More non-ELF conditions removed.
25165 Remove testing and setting of leading underscore information.
25166 * config.make.in (build-bounded): Set to no.
25167 * config.h.in: Remove NO_UNDERSCORES entry.
25168 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25169 them.
25170 * csu/start.c: Remove !NO_UNDERSCORE code.
25171 * locale/localeinfo.h: Likewise.
25172 * sysdeps/generic/machine-gmon.h: Likewise.
25173 * sysdeps/generic/sysdep.h: Likewise.
25174 * sysdeps/i386/sysdep.h: Likewise.
25175 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25176 * sysdeps/mach/sysdep.h: Likewise.
25177 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25179 * sysdeps/sh/sysdep.h: Likewise.
25180 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25181 * sysdeps/unix/i386/sysdep.S: Likewise.
25182 * sysdeps/unix/sparc/start.c: Likewise.
25183 * sysdeps/unix/sparc/sysdep.S: Likewise.
25184 * sysdeps/unix/sparc/sysdep.h: Likewise.
25185 * sysdeps/unix/start.c: Likewise.
25186 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25187 * sysdeps/x86_64/sysdep.h: Likewise.
25188
df78418a
UD
251892012-01-07 Ulrich Drepper <drepper@gmail.com>
25190
a784e502
UD
25191 [BZ #13553]
25192 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25193 for non-gcc.
25194 * argp/argp-fmtstream.h: Use const instead __const.
25195 * argp/argp.h: Likewise.
25196 * assert/assert.h: Likewise.
25197 * bits/fenv.h: Likewise.
25198 * bits/sched.h: Likewise.
25199 * bits/sigset.h: Likewise.
25200 * bits/sigthread.h: Likewise.
25201 * catgets/nl_types.h: Likewise.
25202 * conform/data/pthread.h-data: Likewise.
25203 * crypt/crypt-private.h: Likewise.
25204 * crypt/crypt.h: Likewise.
25205 * crypt/crypt_util.c: Likewise.
25206 * ctype/ctype.h: Likewise.
25207 * debug/execinfo.h: Likewise.
25208 * debug/mbsnrtowcs_chk.c: Likewise.
25209 * debug/mbsrtowcs_chk.c: Likewise.
25210 * debug/wcsnrtombs_chk.c: Likewise.
25211 * debug/wcsrtombs_chk.c: Likewise.
25212 * debug/wcstombs_chk.c: Likewise.
25213 * dirent/dirent.h: Likewise.
25214 * dlfcn/dlfcn.h: Likewise.
25215 * elf/neededtest4.c: Likewise.
25216 * grp/grp.h: Likewise.
25217 * gshadow/gshadow.h: Likewise.
25218 * iconv/gconv.h: Likewise.
25219 * iconv/gconv_int.h: Likewise.
25220 * iconv/gconv_simple.c: Likewise.
25221 * iconv/iconv.h: Likewise.
25222 * iconv/loop.c: Likewise.
25223 * iconv/skeleton.c: Likewise.
25224 * include/aio.h: Likewise.
25225 * include/aliases.h: Likewise.
25226 * include/argz.h: Likewise.
25227 * include/arpa/inet.h: Likewise.
25228 * include/assert.h: Likewise.
25229 * include/dirent.h: Likewise.
25230 * include/dlfcn.h: Likewise.
25231 * include/execinfo.h: Likewise.
25232 * include/fcntl.h: Likewise.
25233 * include/fenv.h: Likewise.
25234 * include/glob.h: Likewise.
25235 * include/grp.h: Likewise.
25236 * include/libintl.h: Likewise.
25237 * include/mntent.h: Likewise.
25238 * include/netdb.h: Likewise.
25239 * include/pwd.h: Likewise.
25240 * include/rpc/netdb.h: Likewise.
25241 * include/sched.h: Likewise.
25242 * include/search.h: Likewise.
25243 * include/shadow.h: Likewise.
25244 * include/signal.h: Likewise.
25245 * include/stdio.h: Likewise.
25246 * include/stdlib.h: Likewise.
25247 * include/string.h: Likewise.
25248 * include/sys/socket.h: Likewise.
25249 * include/sys/stat.h: Likewise.
25250 * include/sys/statfs.h: Likewise.
25251 * include/sys/statvfs.h: Likewise.
25252 * include/sys/syslog.h: Likewise.
25253 * include/sys/time.h: Likewise.
25254 * include/sys/uio.h: Likewise.
25255 * include/time.h: Likewise.
25256 * include/unistd.h: Likewise.
25257 * include/utmp.h: Likewise.
25258 * include/wchar.h: Likewise.
25259 * include/wctype.h: Likewise.
25260 * inet/aliases.h: Likewise.
25261 * inet/arpa/inet.h: Likewise.
25262 * inet/netinet/ether.h: Likewise.
25263 * inet/netinet/in.h: Likewise.
25264 * intl/libintl.h: Likewise.
25265 * io/bits/fcntl2.h: Likewise.
25266 * io/fcntl.h: Likewise.
25267 * io/ftw.h: Likewise.
25268 * io/sys/poll.h: Likewise.
25269 * io/sys/stat.h: Likewise.
25270 * io/sys/statfs.h: Likewise.
25271 * io/sys/statvfs.h: Likewise.
25272 * io/utime.h: Likewise.
25273 * libio/bits/stdio.h: Likewise.
25274 * libio/bits/stdio2.h: Likewise.
25275 * libio/libio.h: Likewise.
25276 * libio/libioP.h: Likewise.
25277 * libio/stdio.h: Likewise.
25278 * locale/lc-ctype.c: Likewise.
25279 * locale/locale.h: Likewise.
25280 * login/utmp.h: Likewise.
25281 * malloc/arena.c: Likewise.
25282 * malloc/malloc.c: Likewise.
25283 * malloc/malloc.h: Likewise.
25284 * malloc/mcheck.c: Likewise.
25285 * malloc/mtrace.c: Likewise.
25286 * math/bits/mathcalls.h: Likewise.
25287 * math/fenv.h: Likewise.
25288 * math/math_private.h: Likewise.
25289 * misc/bits/error.h: Likewise.
25290 * misc/bits/syslog.h: Likewise.
25291 * misc/err.h: Likewise.
25292 * misc/error.h: Likewise.
25293 * misc/fstab.h: Likewise.
25294 * misc/mntent.h: Likewise.
25295 * misc/regexp.h: Likewise.
25296 * misc/search.h: Likewise.
25297 * misc/sgtty.h: Likewise.
25298 * misc/sys/mman.h: Likewise.
25299 * misc/sys/syslog.h: Likewise.
25300 * misc/sys/uio.h: Likewise.
25301 * misc/sys/xattr.h: Likewise.
25302 * misc/ttyent.h: Likewise.
25303 * nis/rpcsvc/ypclnt.h: Likewise.
25304 * nss/nss.h: Likewise.
25305 * posix/bits/unistd.h: Likewise.
25306 * posix/fnmatch.h: Likewise.
25307 * posix/glob.h: Likewise.
25308 * posix/sched.h: Likewise.
25309 * posix/spawn.h: Likewise.
25310 * posix/sys/wait.h: Likewise.
25311 * posix/unistd.h: Likewise.
25312 * posix/wordexp.h: Likewise.
25313 * pwd/pwd.h: Likewise.
25314 * resolv/netdb.h: Likewise.
25315 * resource/sys/resource.h: Likewise.
25316 * rt/aio.h: Likewise.
25317 * rt/bits/mqueue2.h: Likewise.
25318 * rt/mqueue.h: Likewise.
25319 * shadow/shadow.h: Likewise.
25320 * signal/signal.h: Likewise.
25321 * socket/send.c: Likewise.
25322 * socket/sendto.c: Likewise.
25323 * socket/sys/socket.h: Likewise.
25324 * stdio-common/printf.h: Likewise.
25325 * stdlib/bits/stdlib.h: Likewise.
25326 * stdlib/fmtmsg.h: Likewise.
25327 * stdlib/monetary.h: Likewise.
25328 * stdlib/stdlib.h: Likewise.
25329 * stdlib/ucontext.h: Likewise.
25330 * streams/stropts.h: Likewise.
25331 * string/argz.h: Likewise.
25332 * string/bits/string2.h: Likewise.
25333 * string/string.h: Likewise.
25334 * string/strings.h: Likewise.
25335 * sunrpc/rpc/auth.h: Likewise.
25336 * sunrpc/rpc/auth_des.h: Likewise.
25337 * sunrpc/rpc/clnt.h: Likewise.
25338 * sunrpc/rpc/netdb.h: Likewise.
25339 * sunrpc/rpc/pmap_clnt.h: Likewise.
25340 * sunrpc/rpc/xdr.h: Likewise.
25341 * sysdeps/generic/inttypes.h: Likewise.
25342 * sysdeps/generic/net/if.h: Likewise.
25343 * sysdeps/generic/sys/swap.h: Likewise.
25344 * sysdeps/gnu/net/if.h: Likewise.
25345 * sysdeps/gnu/utmpx.h: Likewise.
25346 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25347 * sysdeps/i386/i486/bits/string.h: Likewise.
25348 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25349 * sysdeps/s390/bits/string.h: Likewise.
25350 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25351 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25352 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25353 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25354 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25355 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25356 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25357 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25358 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25359 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25360 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25361 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25362 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25363 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25364 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25365 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25366 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25368 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25372 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25373 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25374 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25375 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25376 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25378 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25379 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25380 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25381 * sysvipc/sys/ipc.h: Likewise.
25382 * sysvipc/sys/msg.h: Likewise.
25383 * sysvipc/sys/sem.h: Likewise.
25384 * sysvipc/sys/shm.h: Likewise.
25385 * termios/termios.h: Likewise.
25386 * time/sys/time.h: Likewise.
25387 * time/time.h: Likewise.
25388 * wcsmbs/bits/wchar2.h: Likewise.
25389 * wcsmbs/uchar.h: Likewise.
25390 * wcsmbs/wchar.h: Likewise.
25391 * wctype/wctype.h: Likewise.
25392
0269750c
UD
25393 [BZ #13551]
25394 * Makeconfig: Remove all but ELF support including AIX support.
25395 * Makerules: Likewise.
25396 * config.h.in: Likewise.
25397 * config.make.in: Likewise.
25398 * configure: Likewise.
25399 * configure.in: Likewise.
25400 * csu/Makefile: Likewise.
25401 * csu/version.c: Likewise.
25402 * debug/Makefile: Likewise.
25403 * dlfcn/Makefile: Likewise.
25404 * elf/Makefile: Likewise.
25405 * extra-lib.mk: Likewise.
25406 * iconv/Makefile: Likewise.
25407 * include/libc-symbols.h: Likewise.
25408 * include/shlib-compat.h: Likewise.
25409 * resolv/Makefile: Likewise.
25410 * resolv/res_libc.c: Likewise.
25411 * rt/Makefile: Likewise.
25412 * sysdeps/i386/asm-syntax.h: Likewise.
25413 * sysdeps/i386/sysdep.h: Likewise.
25414 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25415 * sysdeps/mach/sysdep.h: Likewise.
25416 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25417 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25418 * sysdeps/s390/asm-syntax.h: Likewise.
25419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25421 * sysdeps/sh/sysdep.h: Likewise.
25422 * sysdeps/unix/sparc/sysdep.h: Likewise.
25423 * sysdeps/wordsize-32/divdi3.c: Likewise.
25424 * sysdeps/x86_64/sysdep.h: Likewise.
25425
00bbd29b
UD
25426 * argp/Versions: Remove _argp_unlock_xxx.
25427
25428 [BZ #13559]
25429 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25430 * abilist/libBrokenLocale.abilist: Likewise.
25431 * abilist/libanl.abilist: Likewise.
25432 * abilist/libc.abilist: Likewise.
25433 * abilist/libcrypt.abilist: Likewise.
25434 * abilist/libdl.abilist: Likewise.
25435 * abilist/libm.abilist: Likewise.
25436 * abilist/libnsl.abilist: Likewise.
25437 * abilist/libpthread.abilist: Likewise.
25438 * abilist/libresolv.abilist: Likewise.
25439 * abilist/librt.abilist: Likewise.
25440 * abilist/libthread_db.abilist: Likewise.
25441 * abilist/libutil.abilist: Likewise.
25442 * abilist/libnss_db.abilist: New file.
25443
25444 * scripts/abilist.awk: Add support for indirect functions.
25445
a2693a0e
UD
25446 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25447
3f05895f
UD
25448 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25449
ecb6fb48
UD
25450 * shlib-versions: Remove entries for ports architectures.
25451
664f8cb9
UD
25452 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25453 files in ports.
25454 * elf/stackguard-macros.h: Remove support for IA-64.
25455 * elf/tst-auditmod1.c: Likewise.
25456 * sysdeps/generic/ldsodefs.h: Likewise.
25457
7ae81d88
UD
25458 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25459 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25460 configure files.
25461
bdeba135
UD
25462 [BZ #13552]
25463 * configure.in: Remove --enable-omitfp support.
25464 * FAQ.in: Adjust.
25465 * config.make.in: Likewise.
25466 * Makeconfig: Likewise.
25467 * manual/install.texi: Likewise.
25468
d75a0a62
UD
25469 In case anyone cares, the IA-64 architecture could move to ports.
25470 * sysdeps/ia64/*: Removed.
25471 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25472 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25473
dcc9756b
UD
25474 [BZ #13555]
25475 * configure.in: Remove entries for unsupported architectures.
25476
d3761ebc 25477 [BZ #13533]
9954432e
UD
25478 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25479 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25480 routines.
25481 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25482 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25483 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25484 fall back to using wcrtomb.
25485 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25486 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25487 renaming.
25488 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25489 * wcsmbs/tst-c16c32-1.c: New file.
25490
25491 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25492 local variable.
25493
c3a87236
UD
25494 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25495
28926a1b
UD
25496 * elf/tst-unique3.cc: Add explicit declaration of gets.
25497 * elf/tst-unique3lib.cc: Likewise.
25498 * elf/tst-unique3lib2.cc: Likewise.
25499 * elf/tst-unique4.cc: Likewise.
25500
df78418a
UD
25501 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25502
8ecd6b2a
JM
255032012-01-06 Joseph Myers <joseph@codesourcery.com>
25504
25505 [BZ #13566]
25506 * assert/assert.h (static_assert): Don't define for C++.
25507 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25508 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25509
9f115170
UD
255102012-01-03 Ulrich Drepper <drepper@gmail.com>
25511
5e0d0300
UD
25512 * iconv/loop.c (single loop): Fix assertion in storing of
25513 remaining bytes.
25514
9f115170
UD
25515 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25516
81fb02b0
UD
255172012-01-01 Ulrich Drepper <drepper@gmail.com>
25518
25519 * posix/getconf.c: Update copyright year.
25520 * nss/getent.c: Likewise.
a316c1f6 25521 * nss/makedb.c: Likewise.
81fb02b0
UD
25522 * iconv/iconvconfig.c: Likewise.
25523 * iconv/iconv_prog.c: Likewise.
25524 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25525 * elf/pldd.c: Likewise.
25526 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25527 * catgets/gencat.c: Likewise.
25528 * csu/version.c: Likewise.
25529 * elf/ldd.bash.in: Likewise.
25530 * elf/sprof.c (print_version): Likewise.
25531 * locale/programs/locale.c: Likewise.
25532 * locale/programs/localedef.c: Likewise.
a316c1f6 25533 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25534 * nscd/nscd.c (print_version): Likewise.
25535 * debug/xtrace.sh: Likewise.
25536 * malloc/memusage.sh: Likewise.
25537 * malloc/mtrace.pl: Likewise.
25538 * debug/catchsegv.sh: Likewise.
25539
2ba92745
JJ
255402011-12-30 Jakub Jelinek <jakub@redhat.com>
25541
25542 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25543 pure attribute.
25544
dadebdae
UD
255452011-12-24 Ulrich Drepper <drepper@gmail.com>
25546
d3761ebc 25547 [BZ #13533]
db6af3eb
UD
25548 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25549 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25550 transformations.
25551 * iconv/gconv_int.h: Likewise.
25552 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25553 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25554 from libc for GLIBC_2.16.
25555 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25556 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25557 * wcsmbs/uchar.h: Really define mbstate_t.
25558 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25559 * wcsmbs/c16rtomb.c: New file.
25560 * wcsmbs/mbrtoc16.c: New file.
25561 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25562 for C/POSIX locale.
25563 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25564 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25565
dadebdae
UD
25566 * wcsmbs/wchar.h: Add missing __restrict.
25567
67371b56
UD
255682011-12-23 Ulrich Drepper <drepper@gmail.com>
25569
74033a25
UD
25570 [BZ #13532]
25571 * time/Makefile (routines): Add timespec_get.
25572 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25573 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25574 timespec for ISO C11.
25575 * time/timespec_get.c: New file.
25576 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25577 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25578
380d7e87
UD
25579 [BZ #13531]
25580 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25581 * stdlib/stdlib.h: Declare aligned_alloc.
25582 * Versions.def: Add GLIBC_2.16 for libc.
25583 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25584
4e9e7a35
UD
25585 [BZ 13527]
25586 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25587 ISO C11.
25588
380d7e87 25589 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25590 code.
25591
03a71829
UD
25592 [BZ #13528]
25593 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25594
839e283e
UD
25595 [BZ #13529]
25596 * assert/assert.h (static_assert): Define.
25597
ce5294e2 25598 * version.h: Update for 2.16 development version.
90fa7312 25599
8d44e150 25600 [BZ #13526]
d7809905
UD
25601 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25602 _ISOC11_SOURCE.
25603
c0da14cd
UD
25604 * version.h (RELEASE): Bump for 2.15 release.
25605 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25606
530a3249
MP
25607 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25608 Patch by Marek Polacek <mpolacek@redhat.com>.
25609
67371b56
UD
25610 * bits/byteswap.h: Protect long long constants with __extension__.
25611 * sysdeps/i386/bits/byteswap.h: Likewise.
25612 * sysdeps/ia64/bits/byteswap.h: Likewise.
25613 * sysdeps/s390/bits/byteswap.h: Likewise.
25614 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25615
15db4de1
LD
256162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25617
25618 [BZ #13540]
bbe315ea
LD
25619 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25620 destination buffer.
15db4de1
LD
25621 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25622
2b2596b1
MP
256232011-12-23 Marek Polacek <polacek@redhat.com>
25624
25625 * elf/dl-addr.c (determine_info): Add inline keyword.
25626 * elf/tst-auditmod4b.c (check_avx): Likewise.
25627 * elf/tst-auditmod6b.c (check_avx): Likewise.
25628 * elf/tst-auditmod6c.c (check_avx): Likewise.
25629 * elf/tst-auditmod7b.c (check_avx): Likewise.
25630
70c6c246
UD
256312011-12-23 Ulrich Drepper <drepper@gmail.com>
25632
25633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25634 !__SSE_MATH__.
25635
c044cf14
LD
256362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25637
15db4de1 25638 [BZ #13540]
c044cf14
LD
25639 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25640 processing for last bytes.
25641
6b13d9d9
BH
256422011-08-06 Bruno Haible <bruno@clisp.org>
25643
d455f537
BH
25644 [BZ #13061]
25645 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25646 U+0385, not to U+1FEE.
25647
6b13d9d9
BH
25648 [BZ #13062]
25649 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25650 entry for U+00A5 U+0301.
25651
db910efd
UD
256522011-12-22 Ulrich Drepper <drepper@gmail.com>
25653
27deeafc
UD
25654 [BZ #13166]
25655 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25656 buffer for the output is too small.
25657
aed9d171
UD
25658 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25659 optimization.
25660
db910efd
UD
25661 [BZ #13185]
25662 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25663 SSE flags if possible.
25664
2bd779ae
LD
256652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25666
e7f9dac3 25667 [BZ #13540]
2bd779ae
LD
25668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25669 processing for last bytes.
25670
154bfc16
JM
256712011-12-22 Joseph Myers <joseph@codesourcery.com>
25672
25673 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25674 (syscall-list-default-options, syscall-list-default-condition)
25675 (syscall-list-includes): Define.
25676 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25677 list of ABIs and options and #if conditions for each ABI. Do not
25678 handle common syscalls between ABIs specially.
25679 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25680 Remove.
25681 (syscall-list-variants, syscall-list-32bit-options)
25682 (syscall-list-32bit-condition, syscall-list-64bit-options)
25683 (syscall-list-64bit-condition): Define.
25684 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25685 (syscall-list-variants, syscall-list-32bit-options)
25686 (syscall-list-32bit-condition, syscall-list-64bit-options)
25687 (syscall-list-64bit-condition): Define.
25688 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25689 Remove.
25690 (syscall-list-variants, syscall-list-32bit-options)
25691 (syscall-list-32bit-condition, syscall-list-64bit-options)
25692 (syscall-list-64bit-condition): Define.
25693 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25694 Remove.
25695 (syscall-list-variants, syscall-list-32bit-options)
25696 (syscall-list-32bit-condition, syscall-list-64bit-options)
25697 (syscall-list-64bit-condition): Define.
25698
21eaf3a5
UD
256992011-12-22 Ulrich Drepper <drepper@gmail.com>
25700
16c6f992
UD
25701 * locale/iso-639.def: Add brx entry.
25702
41043168
UD
25703 [BZ #13328]
25704 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25705 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25706
21eaf3a5
UD
25707 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25708 __feraiseexcept_renamed.
25709
e3a851a2
UD
257102011-12-21 Ulrich Drepper <drepper@gmail.com>
25711
4920765e
UD
25712 [BZ #13538]
25713 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25714 EPOLLET with unsigned values.
25715 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25716 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25717
e3a851a2
UD
25718 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25719 to large cancellation.
25720 * math/s_cacoshf.c: Likewise.
25721 * math/s_cacoshl.c: Likewise.
25722
b27e24b8
RK
257232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25724
25725 [BZ #13305]
aebefeee 25726 [BZ #12786]
b27e24b8
RK
25727 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25728 * math/s_cacoshf.c: Likewise.
25729 * math/s_cacoshl.c: Likewise.
25730
ee190f67
UD
257312011-12-21 Ulrich Drepper <drepper@gmail.com>
25732
25733 [BZ #13439]
25734 * iconv/gconv.h: Define __GCONV_SWAP.
25735 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25736 * iconvdata/utf-16.c: Likewise.
25737 * iconvdata/utf-32.c: Likewise.
25738
707f25df
AS
257392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25740
25741 [BZ #13524]
25742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25743 numerator after shifting it by one limb.
25744
d2daaa1e
RÁE
257452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25746
25747 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25748 under [__USE_EXTERN_INLINES].
25749
a4647e72
UD
257502011-12-17 Ulrich Drepper <drepper@gmail.com>
25751
25752 [BZ #13446]
25753 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25754
f0b264f1
AZ
257552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25756
25757 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25758 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25759 optimized code.
25760 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25761 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25762 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25763 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25764 for strncasecmp/strncasecmp_l compilation.
25765 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25766 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25767
8ef4f244
MP
257682011-12-08 Marek Polacek <mpolacek@redhat.com>
25769
25770 [BZ #13484]
25771 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25772 of __asm__.
25773
97ac2654
UD
257742011-12-17 Ulrich Drepper <drepper@gmail.com>
25775
25776 [BZ #13506]
25777 * time/tzfile.c (__tzfile_read): Check values from file header.
25778
91d2a845
WS
257792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25780
25781 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25782 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25783 * powerpc/powerpc32/dl-start.S: Likewise.
25784 * powerpc/powerpc32/elf/start.S: Likewise.
25785 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25786 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25787 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25788 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25789 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25790 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25791 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25792 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25793 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25794 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25795 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25796 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25797 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25798 * powerpc/powerpc32/memset.S: Likewise.
25799 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25800 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25801 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25802 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25803 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25804 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25805 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25806 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25807 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25808 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25809 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25810 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25811 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25812
a1267ba1
AZ
258132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25814
25815 * math/libm-test.inc: Added more nearbyint tests.
25816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25817 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25819 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25820
ad8ac1bd
RL
258212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25822
25823 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25824 FD_CLOEXEC.
25825
1d3e4b61
UD
258262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25827
25828 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25829 Add wcscpy-ssse3 wcscpy-c.
25830 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25831 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25832 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25833 * sysdeps/x86_64/wcschr.S: New file.
25834 * sysdeps/x86_64/wcsrchr.S: New file.
25835 * string/test-strcmp.c: Remove checking of wcscmp function for
25836 wrong alignments.
25837 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25838 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25839 wcsrchr-sse2 wcsrchr-c.
25840 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25841 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25842 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25843 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25844 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25845 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25846 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25847 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25848 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25849 * wcsmbc/wcschr.c (WCSCHR): New macro.
25850
5b330a2d
UD
258512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25852
25853 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25854 * wcsmbs/test-wcsrchr.c: New file.
25855 * string/test-strrchr.c: Add wcsrchr support.
25856 (WIDE): New macro.
25857 * wcsmbs/test-wcscpy.c: New file.
25858 * string/test-strcpy.c: Add wcscpy support.
25859 (WIDE): New macro.
26428b7c 25860
f039c043
UD
258612011-12-10 Ulrich Drepper <drepper@gmail.com>
25862
25863 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25864 the inner loop.
25865
850fb039
AS
258662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25867
25868 [BZ #13472]
25869 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25870
4efbd5cb
UD
258712011-12-04 Ulrich Drepper <drepper@gmail.com>
25872
52ff5dd0 25873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25874 Minor optimizations.
52ff5dd0 25875
4efbd5cb
UD
25876 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25877 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25878 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25879
8a426e12
UD
258802011-12-03 Ulrich Drepper <drepper@gmail.com>
25881
aff2453d
UD
25882 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25883 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25884 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25885 for gcc to avoid warnings.
25886 * inet/Makefile (tests): Add tst-checks.
25887 * inet/tst-checks.c: New file.
25888
25889 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25890 warning.
25891
25892 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25893 __wmemcmp_sse2.
25894
25895 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25896 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25897
8a426e12
UD
25898 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25899
9bea3473
UD
259002011-12-02 Ulrich Drepper <drepper@gmail.com>
25901
3a965496
UD
25902 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25903 problem.
25904
9bea3473
UD
25905 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25906
f101631b
UD
259072011-11-29 Joseph Myers <joseph@codesourcery.com>
25908
25909 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25910 conditional on GCC version.
25911 (__arch_compare_and_exchange_val_8_acq)
25912 (__arch_compare_and_exchange_val_16_acq)
25913 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25914 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25915 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25916
a98275aa
UD
259172011-12-02 Joseph Myers <joseph@codesourcery.com>
25918
25919 * sysdeps/sh/backtrace.c: New file.
25920
d4cc29a2
AS
259212011-12-02 Andreas Schwab <schwab@redhat.com>
25922
25923 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25924 parenthesis.
25925
6257af2d
AS
259262011-12-01 Andreas Schwab <schwab@redhat.com>
25927
25928 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25929 falling back to utime.
25930
b5f44c1a
AS
259312011-11-30 Andreas Schwab <schwab@redhat.com>
25932
25933 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25934 expectations for float.
25935
f3a6cc0a
AS
259362011-11-29 Andreas Schwab <schwab@redhat.com>
25937
25938 * locale/weight.h (findidx): Add parameter len.
25939 * locale/weightwc.h (findidx): Likewise.
25940 * posix/fnmatch_loop.c (FCT): Adjust caller.
25941 * posix/regcomp.c (build_equiv_class): Likewise.
25942 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25943 * posix/regexec.c (check_node_accept_bytes): Likewise.
25944 * string/strcoll_l.c (STRCOLL): Likewise.
25945 * string/strxfrm_l.c (STRXFRM): Likewise.
25946
9d65ea3a
UD
259472011-11-17 Ulrich Drepper <drepper@gmail.com>
25948
25949 * Makefile.in: Remove CVSOPT handling.
25950 * configure.in: Remove use of AC_REVISION.
25951 * iconvdata/Makefile (distribute): No need to filter out CVS.
25952 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25953 handling.
25954
5583a086
AS
259552011-11-16 Andreas Schwab <schwab@redhat.com>
25956
25957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25958 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25959 [USE_AS_STRNCASECMP_L]: Likewise.
25960 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25961 NO_TLS_DIRECT_SEG_REFS.
25962 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25963 Fix argument offsets for non-PIC.
25964 [USE_AS_STRNCASECMP_L]: Likewise.
25965 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25966 NO_TLS_DIRECT_SEG_REFS.
25967
d62a8200
UD
259682011-11-15 Ulrich Drepper <drepper@gmail.com>
25969
9d65ea3a 25970 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25971 O_CLOEXEC.
25972 * locale/loadlocale.c (_nl_load_locale): Likewise.
25973
09f93bd3
AS
259742011-11-15 Andreas Schwab <schwab@redhat.com>
25975
446514f9
AS
25976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25977 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25979 (SYSCALL_GETTIME): Set errno on error.
25980
09f93bd3
AS
25981 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25982 count references to noai6ai_cached.
25983
312be3f9
UD
259842011-11-15 Ulrich Drepper <drepper@gmail.com>
25985
25986 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25987
25988 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25989 FD_CLOEXEC for /proc/self/maps.
25990
25991 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25992 FD_CLOEXEC for /proc/meminfo.
25993
25994 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25995 gai.conf.
25996
25997 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25998 FD_CLOEXEC for given file.
25999
26000 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26001
26002 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26003 FD_CLOEXEC for /etc/hosts.
26004 (_gethtent): Likewise.
26005
26006 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26007
26008 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26009 cancellation and set FD_CLOEXEC for /etc/netgroup.
26010
26011 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26012 reading /etc/publickey.
26013
26014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26015 allow cancellation when reading /etc/group.
26016
26017 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26018 cancellation.
26019 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26020
26021 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26022 when using data file.
26023
26024 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26025
26026 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26027 (write_nis_obj): Use "c" and "e" in fopen.
26028
26029 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26030
26031 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26032
26033 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26034
26035 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26036
26037 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26038 locale.alias.
26039
26040 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26041
26042 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26043
26044 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26045
26046 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26047 file parsing and set FD_CLOEXEC.
26048
82af0fa8
UD
260492011-11-14 Ulrich Drepper <drepper@gmail.com>
26050
26051 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26052
a5fb313c
AS
260532011-11-14 Andreas Schwab <schwab@redhat.com>
26054
26055 * malloc/arena.c (arena_get2): Don't call reused_arena when
26056 _int_new_arena failed.
26057
6abf3465
UD
260582011-11-14 Ulrich Drepper <drepper@gmail.com>
26059
26060 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26061 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26062 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26063 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26064 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26065 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26066 to compile strcasecmp and strncasecmp.
26067 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26068 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26069
26070 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26071
76e3966e
UD
260722011-11-13 Ulrich Drepper <drepper@gmail.com>
26073
26074 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26075 locale-defines.sym to gen-as-const-headers.
26076 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26077 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26079 to compile strcasecmp and strncasecmp.
26080 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26081 strcasecmp_l and strncasecmp_l.
26082 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26083 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26084 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26085 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26086 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26087 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26088 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26089 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26090 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26091 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26092 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26093
ab26144e
UD
260942011-11-12 Ulrich Drepper <drepper@gmail.com>
26095
7edb22ef
UD
26096 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26097 result of SYSDEP_GETTIME_CPU to retval.
26098 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26099 parameter list to macro. Remove trailing semicolon. Adjust users.
26100
9694fc44
UD
26101 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26102 variable.
26103
8ad89ef8
UD
26104 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26105 mantissa words.
26106 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26107
0c822ef9
UD
26108 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26109 from unused variable.
26110
874e0564
UD
26111 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26112 DWARF definitions.
26113 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26114 for assembling.
26115
3a2edc79
UD
26116 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26117 over namespaces.
26118
f3c2577f
UD
26119 * sunrpc/rpc_prot.c (rejected): Fix case value.
26120
294ce126
UD
26121 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26122 unsigned long long int to avoid warnings in shift.
26123
5e2b63c6
UD
26124 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26125 of use of trans.
26126 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26127 variable tmp.
26128
e7f4b08e
UD
26129 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26130 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26131 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26132
ab26144e
UD
26133 * nis/nis_table.c (nis_list): Use variable of correct type for
26134 result of __follow_path call.
26135
8a6d5255
AZ
261362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26137
26138 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26139 of math functions ceil, trunc, floor, round, and sqrt, when
26140 avaliable on the platform.
26141 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26142 name clash.
26143 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26144 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26145 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26146
aaddc98c
MP
261472011-10-30 Marek Polacek <mpolacek@redhat.com>
26148
26149 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26151
95b7042b
RM
261522011-11-11 Roland McGrath <roland@hack.frob.com>
26153
26154 * include/unistd.h: Fix __readlink return type.
26155 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26156
57769839
UD
261572011-11-11 Ulrich Drepper <drepper@gmail.com>
26158
26159 * stdlib/ucontext.h: Undo last change for makecontext.
26160
edc5984d
AS
261612011-11-11 Andreas Schwab <schwab@redhat.com>
26162
98591e58
AS
26163 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26164
edc5984d
AS
26165 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26166 * setjmp/setjmp.h: Mark functions as non-leaf.
26167 * setjmp/bits/setjmp2.h: Likewise.
26168 * stdlib/ucontext.h: Likewise.
26169
77cdc054
AS
261702011-11-10 Andreas Schwab <schwab@redhat.com>
26171
26172 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26173 (reused_arena): Don't check arena limit.
26174 (arena_get2): Atomically check arena limit.
26175
fe72eebd
UD
261762011-11-08 Ulrich Drepper <drepper@gmail.com>
26177
5f078c32
UD
26178 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26179 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26180
fe72eebd
UD
26181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26182 instructions.
26183
ae1bc2fa
AS
261842011-11-07 Andreas Schwab <schwab@redhat.com>
26185
7583a88d
AS
26186 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26187 handler when locking.
26188
ae1bc2fa
AS
26189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26190 Fix size of allocated buffer.
26191
10fb0bfa
AS
261922011-11-04 Andreas Schwab <schwab@redhat.com>
26193
998832a4
AS
26194 [BZ #10103]
26195 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26196 declarations for long double functions.
26197 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26198
10fb0bfa
AS
26199 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26200
3d7ba52b
AS
262012011-11-03 Andreas Schwab <schwab@redhat.com>
26202
a9ae54a1
AS
26203 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26204 installed.
26205
3d7ba52b
AS
26206 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26207 is disabled.
26208
bc8db248
ST
262092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26210
26211 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26212
45b96dd6
AS
262132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26214
647776f6
AS
26215 * include/alloca.h (stackinfo_alloca_round): Define.
26216 (extend_alloca): Use it.
26217 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26218 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26219 here.
26220
d91a8b93
AS
26221 * scripts/check-local-headers.sh: Ignore libaudit.h.
26222
45b96dd6
AS
26223 * nscd/Makefile (extra-objs): Make recursively expanded.
26224
432d41ce
UD
262252011-11-01 Ulrich Drepper <drepper@gmail.com>
26226
34372fc6
UD
26227 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26228 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26229
fadb59f8
UD
26230 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26231 * posix/tst-rfc3484-2.c: Likewise.
26232 * posix/tst-rfc3484-3.c: Likewise.
26233
78239589
UD
26234 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26235 process_vm_writev.
26236 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26237 process_vm_writev.
26238 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26239 process_vm_writev from libc using GLIBC_2.15 version.
26240
432d41ce
UD
26241 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26242
02f9c6cf
PP
262432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26244
26245 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26246 stack usage.
26247
3a2c0242
UD
262482011-10-31 Ulrich Drepper <drepper@gmail.com>
26249
f4ec4833
UD
26250 [BZ #13367]
26251 * nss/getent.c (initgroups_keys): Show error message in case no group
26252 names are given.
26253
3a2c0242
UD
26254 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26255 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26256 __bump_nl_timestamp.
26257 * nscd/connections (nscd_init): When host database is served open
26258 netlink socket and request notification about configuration changes.
26259 (main_loop_poll): Track netlink file descriptor and bump timestamp
26260 in case data becomes available.
26261 (main_loop_epoll): Likewise.
26262 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26263 (database_pers_head): Add extra_data fileds.
26264 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26265 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26266 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26267 Adjust caller.
26268 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26269 in6ai data, call __free_in6ai.
26270 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26271 Add -DHAVE_NETLINK.
26272 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26273 interface information. Reuse previous data if netlink timestamp
26274 is not changed.
26275 (__bump_nl_timestamp): New function.
26276 (__free_in6ai): New function.
26277
636064eb
UD
262782011-10-30 Ulrich Drepper <drepper@gmail.com>
26279
26280 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26281 close_not_cancel_no_status here.
26282 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26283
9beb2334
UD
262842011-10-29 Ulrich Drepper <drepper@gmail.com>
26285
6ef76f3b
UD
26286 [BZ #13276]
26287 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26288 return value.
26289
0ffc4f3e 26290 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26291 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26292 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26293
cb95113e
UD
262942011-07-03 Andreas Jaeger <aj@suse.de>
26295
26296 [BZ #10709]
26297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26298 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26299 * math/libm-test.inc (sin_test): Add test case.
26300
a1b560ff
UD
263012011-10-29 Ulrich Drepper <drepper@gmail.com>
26302
c9aaface
UD
26303 [BZ #13337]
26304 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26305 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26306
d272e7f1
UD
26307 * elf/chroot_canon.c (chroot_canon): Cleanups.
26308
1bc33071
UD
26309 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26310
1760874d
TJ
26311 [BZ #13335]
26312 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26313 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26314
51d91b18
UD
26315 * string/test-strchr.c: Make usable for strchrnul testing.
26316 * string/test-strchrnul.c: New file.
26317 * string/Makefile (strop-tests): Add strchrnul.
26318
a1b560ff 26319 * po/it.po: Update from translation team.
b611fb81 26320 * po/es.po: Likewise.
a1b560ff 26321
a5b81e1f
UD
263222011-10-28 Ulrich Drepper <drepper@gmail.com>
26323
fd52bc6d
UD
26324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26325 the three constants needed as parameters. Drop the others.
26326 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26327 __m128i_strloadu_tolower.
52e4b9eb
UD
26328 Create and initialize variable zero and use it in all the places
26329 where _mm_setzero_si128 was used.
fd52bc6d 26330
a5b81e1f
UD
26331 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26332 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26333 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26334 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26335 anymore.
26336 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26337 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26338 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26339 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26340 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26341 __mpranred, __mptan.
26342 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26343 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26344 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26345 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26346 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26347 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26349 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26350 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26351
b4343346
AS
263522011-10-28 Andreas Schwab <schwab@redhat.com>
26353
0c92d8a8
AS
26354 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26355 redefine if SHARED.
26356 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26357
b4343346
AS
26358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26359 wide char related routines to wcsmbs subdir.
26360
3871f58f
AS
263612011-10-27 Andreas Schwab <schwab@redhat.com>
26362
26363 [BZ #13344]
26364 * misc/sys/cdefs.h (__THROWNL): Define.
26365 * posix/unistd.h: Use __THREADNL instead of __THREAD
26366 for memory synchronization functions.
26367
94d44d9f
RM
263682011-10-26 Roland McGrath <roland@hack.frob.com>
26369
21b64b15 26370 [BZ #13349]
94d44d9f
RM
26371 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26372 doesn't exist.
26373 * manual/stdio.texi (Obstack Streams): Node removed.
26374
f6ce9294
AS
263752011-10-26 Andreas Schwab <schwab@redhat.com>
26376
80479147
AS
26377 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26378 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26380
f6ce9294
AS
26381 * math/math_private.h (math_force_eval): Allow non-addressable
26382 arguments.
26383 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26384
618280a1
UD
263852011-10-25 Ulrich Drepper <drepper@gmail.com>
26386
e0016b11
UD
26387 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26388 file is not needed.
26389
26390 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26391 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26392 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26393 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26394 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26395 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26396 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26397 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26398 Add AVX variants.
26399 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26400 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26401 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26402 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26403 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26404 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26405 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26406 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26407 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26408 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26409 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26410 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26411 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26412 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26413 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26414 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26415 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26417 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26418
26419 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26420 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26421
618280a1
UD
26422 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26423 place. Use VEX encoding when compiling for AVX.
26424
37822576
AS
264252011-10-25 Andreas Schwab <schwab@redhat.com>
26426
1f1e1947
AS
26427 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26428 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26429
37822576
AS
26430 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26431
31ea014d
UD
264322011-10-25 Ulrich Drepper <drepper@gmail.com>
26433
d7826aa1 26434 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26435 useless if() expression.
d7826aa1
UD
26436 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26445 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26446 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26447 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26448 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26449 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26450 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26451 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26452 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26454 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26455
31ea014d
UD
26456 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26457
16437fec
AS
264582011-10-25 Andreas Schwab <schwab@redhat.com>
26459
26460 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26461 condition.
26462 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26463
31d3cc00
UD
264642011-10-25 Ulrich Drepper <drepper@gmail.com>
26465
26466 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26467 .text section. Avoid duplicate constants.
26468 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26470 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26477 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26478 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26479 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26480 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26481 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26482 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26483 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26485 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26492 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26493 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26494 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26495 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26496 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26497 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26498 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26499 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26500 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26501 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26502 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26503 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26504 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26505 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26506 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26507 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26508 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26509 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26510 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26511 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26512 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26513
58985aa9
UD
265142011-10-24 Ulrich Drepper <drepper@gmail.com>
26515
202c9deb
UD
26516 * sysdeps/x86_64/dla.h: Move to ...
26517 * sysdeps/x86_64/fpu/dla.h: ...here.
26518 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26519 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26520
af968f62
UD
26521 * config.make.in: Add have-mfma4 entry.
26522 * configure.in: Substitute libc_cv_cc_fma4.
26523 * math/Makefile (dbl-only-routines): Add sincostab.
26524 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26525 Use __sincostab not sincos.
26526 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26527 name is a macro.
26528 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26532 using __copysign.
26533 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26534 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26535 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26536 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26537 and __inv.
26538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26539 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26540 __copysign.
26541 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26542 define aliases when function name is a macro.
26543 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26544 sysdeps/ieee754/dbl-64/sincos.tbl.
26545 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26546 fma4-enabled routines.
26547 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26548 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26549 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26550 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26551 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26552 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26553 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26554 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26555 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26556 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26557 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26558 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26559 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26560 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26561 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26562 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26563 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26564 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26565 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26566 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26567 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26568 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26570 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26571 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26572 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26574 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26575 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26576 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26577
58985aa9
UD
26578 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26579 rename.
26580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26588
a201fbcf
AS
265892011-10-24 Andreas Schwab <schwab@redhat.com>
26590
26591 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26592
fc2ee42a
LD
265932011-10-23 Ulrich Drepper <drepper@gmail.com>
26594
bb3129bd
UD
26595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26596
0275fff8
UD
26597 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26598 prediction.
26599 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26600
2fa2ae85
UD
26601 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26602 Remove unused variable magic_bits.
26603 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26604
fc2ee42a
LD
26605 * string/strnlen.c: Define and use STRNLEN macro.
26606 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26607 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26609 * wcsmbs/wcslen.c: Define and use WCSLEN.
26610 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26611 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26612 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26613 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26614 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26615 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26616 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26617
ce7dd29f
LD
266182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26619
26620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26621 strnlen-sse2-no-bsf.
26622 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26624 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26625 Add strnlen support.
26626 (USE_AS_STRNLEN): New macro.
26627 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26628 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26629 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26630 * sysdeps/x86_64/wcslen.S: New file.
26631
979c70a3
MZ
266322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26633
26634 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26635 XMM-moves are used for copying on small sizes.
26636
2d09f82f
LD
266372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26638
26639 * wcsmbs/Makefile (strop-tests): Add wcschr.
26640 * wcsmbs/test-wcschr.c: New file.
26641 * string/test-strchr.c: Update.
26642 Add wcschr support.
26643 (WIDE): New macro.
26644
619fccca
LD
266452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26646
2d09f82f 26647 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26648 * wcsmbs/test-wcslen.c: New file.
26649 * string/test-strlen.c: Update.
26650 Add wcslen support.
26651 (WIDE): New macro.
26652
09f699ea
UD
266532011-10-23 Ulrich Drepper <drepper@gmail.com>
26654
26655 * po/it.po: Update from translation team.
26656
95584d3b
LD
266572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26658
26659 * sysdeps/x86_64/wcscmp.S: Update.
26660 Fix wrong comparison semantics.
26661 wcscmp shall use signed comparison not unsigned.
26662 Don't use substraction to avoid overflow bug.
26663 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26664 * wcsmbc/wcscmp.c: Likewise.
26665 * string/test-strcmp.c: Likewise.
26666 Add new tests to check cases with negative values.
26667
c8b3296b
UD
266682011-10-23 Ulrich Drepper <drepper@gmail.com>
26669
26670 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26671 * sysdeps/x86_64/dla.h: ...here. New file.
26672 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26681
246ad57a
AS
266822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26683
26684 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26685 __ynl_finite aliases.
26686
a1a87169
UD
266872011-10-22 Ulrich Drepper <drepper@gmail.com>
26688
0d355eb7
UD
26689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26690
a1a87169
UD
26691 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26692 define DLA_FMA.
26693 [DLA_FMA] (EMULV): Use DLA_FMA.
26694 [DLA_FMA] (MUL12): Use EMULV.
26695 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26696 that are not needed.
26697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26704
ee2aafe0
AS
267052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26706
26707 * math/s_nan.c: Undef __nan.
26708 * math/s_nanf.c: Undef __nanf.
26709 * math/s_nanl.c: Undef __nanl.
26710 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26711 "math_private.h".
26712
bc62c2fb
UD
267132011-10-22 Ulrich Drepper <drepper@gmail.com>
26714
77425c63
UD
26715 * math/s_catan.c: Add branch predictions.
26716 * math/s_catanf.c: Likewise.
26717 * math/s_catanh.c: Likewise.
26718 * math/s_catanhf.c: Likewise.
26719 * math/s_catanhl.c: Likewise.
26720 * math/s_catanl.c: Likewise.
26721 * math/s_cexp.c: Likewise.
26722 * math/s_cexpf.c: Likewise.
26723 * math/s_cexpl.c: Likewise.
26724 * math/s_clog.c: Likewise.
26725 * math/s_clog10.c: Likewise.
26726 * math/s_clog10f.c: Likewise.
26727 * math/s_clog10l.c: Likewise.
26728 * math/s_clogf.c: Likewise.
26729 * math/s_clogl.c: Likewise.
26730 * math/s_csqrt.c: Likewise.
26731 * math/s_csqrtf.c: Likewise.
26732 * math/s_csqrtl.c: Likewise.
26733 * math/s_ctanf.c: Likewise.
26734 * math/s_ctanh.c: Likewise.
26735 * math/s_ctanhf.c: Likewise.
26736 * math/s_ctanhl.c: Likewise.
26737 * math/s_ctanl.c: Likewise.
26738
bc62c2fb
UD
26739 * math/math_private.h: Define __nan, __nanf, __nanl.
26740 * math/s_cacosh.c: Include <math_private.h>.
26741 * math/s_cacoshl.c: Likewise.
26742 * math/s_casinh.c: Likewise.
26743 * math/s_casinhf.c: Likewise.
26744 * math/s_casinhl.c: Likewise.
26745 * math/s_ccos.c: Rely entire on ccosh.
26746 * math/s_ccosf.c: Rely entire on ccoshf.
26747 * math/s_ccosl.c: Rely entirely on ccoshl.
26748 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26749 Remove tests for FE_INVALID.
26750 * math/s_ccoshf.c: Likewise.
26751 * math/s_ccoshl.c: Likewise.
26752 * math/s_csin.c: Likewise.
26753 * math/s_csinf.c: Likewise.
26754 * math/s_csinh.c Likewise.
26755 * math/s_csinhf.c: Likewise.
26756 * math/s_csinhl.c: Likewise.
26757 * math/s_csinl.c: Likewise.
26758 * math/s_ctan.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26760 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26761 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26762
8ec250a4
UD
267632011-10-21 Ulrich Drepper <drepper@gmail.com>
26764
c196fed8
UD
26765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26766 compilation problems.
26767
8ec250a4
UD
26768 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26769 __builtin_expect.
26770
8d4f46c6
UD
267712011-10-20 Ulrich Drepper <drepper@gmail.com>
26772
ed72b654
UD
26773 * sysdeps/i386/configure.in: Test for -mfma4 option.
26774 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26775 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26776 COMMON_CPUID_INDEX_80000001.
26777 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26778 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26779 use it if FMA3 is not supported.
26780 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26781
8d4f46c6
UD
26782 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26783 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26784
d45c60c2
AS
267852011-10-20 Andreas Schwab <schwab@redhat.com>
26786
26787 [BZ #12892]
26788 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26789 it would create a cycle with a link time dependency.
26790
d9a4d2ab
UD
267912011-10-19 Ulrich Drepper <drepper@gmail.com>
26792
855d1560
UD
26793 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26794 instruction.
26795 * string/Makefile (strop-tests): Add rawmemchr.
26796 * string/test-rawmemchr.c: New file.
26797
d9a4d2ab
UD
26798 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26800 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26801 when compiling str{,n}casecmp and when AVX is available. Hook up
26802 new optimized code in initializers.
26803
8f3b1ffe
AS
268042011-10-19 Andreas Schwab <schwab@redhat.com>
26805
26806 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26807 __feraiseexcept instead of feraiseexcept.
26808
d38f1dba
UD
268092011-10-18 Ulrich Drepper <drepper@gmail.com>
26810
d9a8d0ab
UD
26811 * math/math_private.h: Define defaults for libc_fetestexcept and
26812 libc_feupdateenv.
26813 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26814 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26815 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26816 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26817 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26818 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26819 libc_fetestexcept and libc_feupdateenv.
26820
4855e3dd
UD
26821 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26822 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26823 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26824 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26825 libc_feholdexcept_setround.
26826
581d30e3
UD
26827 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26828 Add s_nearbyint-c and s_nearbyintf-c.
26829 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26830 nearbyintf inlines.
26831 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26832 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26833 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26834 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26835
d38f1dba
UD
26836 * math/math_private.h: Define defaults for libc_fegetround,
26837 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26838 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26839 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26840 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26841 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26842 standard functions.
26843 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26844 Remove comments and hacks for old compiler versions.
26845 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26846 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26847 libc_feholdexceptl.
26848
caa6c9d8
AS
268492011-10-18 Andreas Schwab <schwab@redhat.com>
26850
26851 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26852 (__feraiseexcept_renamed): Add __NTH.
26853 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26854 namespace violations.
26855
97c066e6
UD
268562011-10-17 Ulrich Drepper <drepper@gmail.com>
26857
99ce7b04
UD
26858 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26859
1004d182
UD
26860 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26861
228a984d
UD
26862 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26863 recently added interfaces.
26864 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26865
c8553a6a
UD
26866 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26867 about macro parameter expansion.
26868
ed22dcf6
UD
26869 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26870 __NO_MATH_INLINES is defined. Cleanups.
26871
26872 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26873 and __floorf is target has SSE4.1.
26874 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26875 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26876 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26877 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26878
b171c137
UD
26879 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26880 name.
26881 (floorf): Likewise.
26882
97c066e6
UD
26883 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26884
629f62ef
AS
268852011-10-17 Andreas Schwab <schwab@redhat.com>
26886
49a43d80
AS
26887 * misc/sys/cdefs.h: Fix last change.
26888
629f62ef
AS
26889 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26890 database lookup.
26891
e453f6cd
UD
268922011-10-16 Ulrich Drepper <drepper@gmail.com>
26893
aa78043a
UD
26894 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26895
ad0f5cad
UD
26896 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26897 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26898 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26899 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26901 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26902 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26903 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26904 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26905 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26906 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26907 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26908 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26909 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26910 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26911 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26912 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26913 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26914 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26915 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26916 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26917 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26918
26919 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26920 ceil, ceilf, floor, floorf.
26921
26922 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26923 Perform IRELATIVE relocations last.
26924
e453f6cd
UD
26925 * elf/do-rel.h: Add another parameter nrelative, replacing the
26926 local variable with the same name. Change name of the function
26927 to end in Rel or Rela (uppercase).
26928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26929 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26930 elf_dynamic_do_##reloc function.
26931
fd5bdc09
UD
269322011-10-15 Ulrich Drepper <drepper@gmail.com>
26933
79b195b5
UD
26934 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26935 is sufficient, at least on modern CPUs.
26936
d4a28569
UD
26937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26938
b61099b5
UD
26939 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26940 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26941
bcf01e6d
UD
26942 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26943 __expl_finite.
26944 * math/bits/math-finite.h: Add entries for exp.
26945 * math/e_expl.c: Add __*_finite alias.
26946 * sysdeps/i386/fpu/e_exp.S: Likewise.
26947 * sysdeps/i386/fpu/e_expf.S: Likewise.
26948 * sysdeps/i386/fpu/e_expl.c: Likewise.
26949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26950 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26953 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26954 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26955 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26956
ba1a0d59
UD
26957 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26958 is sufficient, at least on modern CPUs.
26959
fd5bdc09
UD
26960 * ctype/ctype-info.c (__ctype_init): Define.
26961 * include/ctype.h (__ctype_init): Declare.
26962 (__ctype_b_loc): The variable is always initialized.
26963 (__ctype_toupper_loc): Likewise.
26964 (__ctype_tolower_loc): Likewise.
26965 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26966 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26967
7872cfb0
AS
269682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26969
b468825a
AS
26970 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26971
7872cfb0
AS
26972 * configure.in: Also look in $cxxmachine/include for C++ system
26973 headers.
26974
be13f7bf
LD
269752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26976
26977 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26978 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26979 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26980 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26981 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26982 (USE_AS_WMEMCMP): New macro.
26983 Fixing indents.
26984 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26985 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26986 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26987 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26989 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26990 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26992 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26993 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26994 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26995 (USE_AS_WMEMCMP): New macro.
26996 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26997 * sysdeps/string/test-memcmp.c: Update.
26998 Fix simple_wmemcmp.
26999 Add new tests.
27000 * wcsmbs/wmemcmp.c: Update.
27001 (WMEMCMP): New macro.
27002 Fix overflow bug.
27003
556a2007
AJ
270042011-10-12 Andreas Jaeger <aj@suse.de>
27005
27006 [BZ #13268]
27007 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27008
538faaa7
UD
270092011-10-15 Ulrich Drepper <drepper@gmail.com>
27010
ab6737ff
UD
27011 * libio/iofwide.c (do_length): Avoid warning.
27012
538faaa7
UD
27013 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27014
396a21b1
UD
270152011-10-14 Ulrich Drepper <drepper@gmail.com>
27016
cdf2901f
UD
27017 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27018
38ad40ce
UD
27019 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27020 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27021 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27022 * sysdeps/i386/i686/fpu/e_log.S: New file.
27023 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27024 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27025
396a21b1
UD
27026 * ctype/ctype.h: Add support for inlined isXXX functions when
27027 compiling C++ code.
27028
6b1f68c9
AS
270292011-10-14 Andreas Schwab <schwab@redhat.com>
27030
349290c0
AS
27031 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27032
6b1f68c9
AS
27033 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27034
f2282d42
RM
270352011-10-13 Roland McGrath <roland@hack.frob.com>
27036
27037 [BZ #13291]
27038 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27039
5298ffa8
AS
270402011-10-13 Andreas Schwab <schwab@redhat.com>
27041
714fad23
AS
27042 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27043 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27044 feraiseexcept.
27045
81dcc7fb
AS
27046 * sysdeps/x86_64/memrchr.S: Check for zero size.
27047
5298ffa8
AS
27048 * string/stratcliff.c: Add memrchr tests.
27049
951fbcec
LD
270502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27051
27052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27053 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27054 rawmemchr-sse2 rawmemchr-sse2-bsf.
27055 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27056 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27057 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27058 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27059 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27060 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27061 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27062 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27063 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27064 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27065 * string/memrchr.c (MEMRCHR): New macro.
27066
0ac5ae23
UD
270672011-10-12 Ulrich Drepper <drepper@gmail.com>
27068
27069 Add integration with gcc's -ffinite-math-only and optimize wrapper
27070 functions in libm.
27071 * Versions.def: Define GLIBC_2.15 version for libm.
27072 * math/Makefile (headers): Add bits/math-finite.h.
27073 * math/bits/math-finite.h: New file.
27074 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27075 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27076 * math/e_acoshl.c: Add __*_finite alias.
27077 * math/e_acosl.c: Likewise.
27078 * math/e_asinl.c: Likewise.
27079 * math/e_atan2l.c: Likewise.
27080 * math/e_atanhl.c: Likewise.
27081 * math/e_coshl.c: Likewise.
27082 * math/e_exp10.c: Likewise.
27083 * math/e_exp10f.c: Likewise.
27084 * math/e_exp10l.c: Likewise.
27085 * math/e_exp2l.c: Likewise.
27086 * math/e_fmodl.c: Likewise.
27087 * math/e_gammal_r.c: Likewise.
27088 * math/e_hypotl.c: Likewise.
27089 * math/e_j0l.c: Likewise.
27090 * math/e_j1l.c: Likewise.
27091 * math/e_jnl.c: Likewise.
27092 * math/e_lgammal_r.c: Likewise.
27093 * math/e_log10l.c: Likewise.
27094 * math/e_log2l.c: Likewise.
27095 * math/e_logl.c: Likewise.
27096 * math/e_powl.c: Likewise.
27097 * math/e_sinhl.c: Likewise.
27098 * math/e_sqrtl.c: Likewise.
27099 * math/e_scalb.c: Completely rewritten and optimized.
27100 * math/e_scalbf.c: Likewise.
27101 * math/e_scalbl.c: Likewise.
27102 * math/w_acos.c: Likewise.
27103 * math/w_acosf.c: Likewise.
27104 * math/w_acosl.c: Likewise.
27105 * math/w_acosh.c: Likewise.
27106 * math/w_acoshf.c: Likewise.
27107 * math/w_acoshl.c: Likewise.
27108 * math/w_asin.c: Likewise.
27109 * math/w_asinf.c: Likewise.
27110 * math/w_asinl.c: Likewise.
27111 * math/w_atan2.c: Likewise.
27112 * math/w_atan2f.c: Likewise.
27113 * math/w_atan2l.c: Likewise.
27114 * math/w_atanh.c: Likewise.
27115 * math/w_atanhf.c: Likewise.
27116 * math/w_atanhl.c: Likewise.
27117 * math/w_exp10.c: Likewise.
27118 * math/w_exp10f.c: Likewise.
27119 * math/w_exp10l.c: Likewise.
27120 * math/w_fmod.c: Likewise.
27121 * math/w_fmodf.c: Likewise.
27122 * math/w_fmodl.c: Likewise.
27123 * math/w_j0.c: Likewise.
27124 * math/w_j0f.c: Likewise.
27125 * math/w_j0l.c: Likewise.
27126 * math/w_j1.c: Likewise.
27127 * math/w_j1f.c: Likewise.
27128 * math/w_j1l.c: Likewise.
27129 * math/w_jn.c: Likewise.
27130 * math/w_jnf.c: Likewise.
27131 * math/w_log.c: Likewise.
27132 * math/w_logf.c: Likewise.
27133 * math/w_logl.c: Likewise.
27134 * math/w_log10.c: Likewise.
27135 * math/w_log10f.c: Likewise.
27136 * math/w_log10l.c: Likewise.
27137 * math/w_log2.c: Likewise.
27138 * math/w_log2f.c: Likewise.
27139 * math/w_log2l.c: Likewise.
27140 * math/w_pow.c: Likewise.
27141 * math/w_powf.c: Likewise.
27142 * math/w_powl.c: Likewise.
27143 * math/w_remainder.c: Likewise.
27144 * math/w_remainderf.c: Likewise.
27145 * math/w_remainderl.c: Likewise.
27146 * math/w_scalb.c: Likewise.
27147 * math/w_scalbf.c: Likewise.
27148 * math/w_scalbl.c: Likewise.
27149 * math/w_sqrt.c: Likewise.
27150 * math/w_sqrtf.c: Likewise.
27151 * math/w_sqrtl.c: Likewise.
27152 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27153 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27154 used.
27155 * math/math_private.h: Declare __kernel_standard_f.
27156 * math/w_cosh.c: Remove cruft and optimize a bit.
27157 * math/w_coshf.c: Likewise.
27158 * math/w_coshl.c: Likewise.
27159 * math/w_exp2.c: Likewise.
27160 * math/w_exp2f.c: Likewise.
27161 * math/w_exp2l.c: Likewise.
27162 * math/w_hypot.c: Likewise.
27163 * math/w_hypotf.c: Likewise.
27164 * math/w_hypotl.c: Likewise.
27165 * math/w_lgamma.c: Likewise.
27166 * math/w_lgamma_r.c: Likewise.
27167 * math/w_lgammaf.c: Likewise.
27168 * math/w_lgammaf_r.c: Likewise.
27169 * math/w_lgammal.c: Likewise.
27170 * math/w_lgammal_r.c: Likewise.
27171 * math/w_sinh.c: Likewise.
27172 * math/w_sinhf.c: Likewise.
27173 * math/w_sinhl.c: Likewise.
27174 * math/w_tgamma.c: Likewise.
27175 * math/w_tgammaf.c: Likewise.
27176 * math/w_tgammal.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27178 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27179 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27180 Minor optimizations. Pretty printing. Remove cruft.
27181 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27182 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27183 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27184 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27185 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27186 * sysdeps/i386/fpu/e_asin.S: Likewise.
27187 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27188 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27189 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27190 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27191 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27192 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27193 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27194 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27195 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27196 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27197 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27198 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27199 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27200 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27201 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27202 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27203 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27204 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27205 * sysdeps/i386/fpu/e_log.S: Likewise.
27206 * sysdeps/i386/fpu/e_log10.S: Likewise.
27207 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27208 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27209 * sysdeps/i386/fpu/e_log2.S: Likewise.
27210 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27211 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27212 * sysdeps/i386/fpu/e_logf.S: Likewise.
27213 * sysdeps/i386/fpu/e_logl.S: Likewise.
27214 * sysdeps/i386/fpu/e_pow.S: Likewise.
27215 * sysdeps/i386/fpu/e_powf.S: Likewise.
27216 * sysdeps/i386/fpu/e_powl.S: Likewise.
27217 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27218 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27219 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27220 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27221 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27222 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27223 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27224 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27225 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27247 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27248 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27249 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27250 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27251 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27252 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27253 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27254 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27255 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27256 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27257 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27260 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27261 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27262 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27263 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27264 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27265 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27266 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27267 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27291 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27295 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27296 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27297 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27303 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27306 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27309 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27311 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27312 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27314 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27316 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27317 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27318 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27319 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27320 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27321 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27322 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27323 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27324 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27325 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27326 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27327 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27328 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27329 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27330 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27331 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27332 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27333 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27334 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27335 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27336 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27337 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27338 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27339 (__isnanf): Likewise.
27340 (__isinf_ns): Likewise.
27341 (__isinf_nsf): Likewise.
27342 (__finite): Likewise.
27343 (__finitef): Likewise.
27344 (__ieee754_sqrt): Define as macro.
27345 (__ieee754_sqrtf): Define as macro.
27346 (__ieee754_sqrtl): Define as macro.
27347 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27348 inlined copy.
27349 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27350 __FINITE_MATH_ONLY__ consistent.
27351 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27352
12cc2fcd
AS
273532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27354
a843a204
AS
27355 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27356 of rawmemchr.
27357
12cc2fcd
AS
27358 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27359
c853acd5
UD
273602011-10-09 Ulrich Drepper <drepper@gmail.com>
27361
27362 * po/ja.po: Update from translation team.
27363
c658d255
RM
273642011-10-08 Roland McGrath <roland@hack.frob.com>
27365
110946e4
RM
27366 * locale/programs/locarchive.c (prepare_address_space): New function.
27367 (create_archive, enlarge_archive, open_archive): Use it.
27368
50604220
RM
27369 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27370 inside [SHARED], where it is used.
27371
c658d255
RM
27372 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27373
27374 * nss/getent.c (netgroup_keys): Remove unused variable.
27375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27376
6a621eb7
UD
273772011-10-08 Ulrich Drepper <drepper@gmail.com>
27378
7edb55ce
UD
27379 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27382 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27383 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27384 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27385 * math/Makefile (libm-calls): Add s_isinf_ns.
27386 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27387 * math/multc3.c: Likewise.
27388 * math/s_casin.c: Likewise.
27389 * math/s_casinf.c: Likewise.
27390 * math/s_casinl.c: Likewise.
27391 * math/s_ccos.c: Likewise.
27392 * math/s_ccosf.c: Likewise.
27393 * math/s_ccosl.c: Likewise.
27394 * math/s_ctan.c: Likewise.
27395 * math/s_ctanf.c: Likewise.
27396 * math/s_ctanh.c: Likewise.
27397 * math/s_ctanhf.c: Likewise.
27398 * math/s_ctanhl.c: Likewise.
27399 * math/s_ctanl.c: Likewise.
27400 * math/w_fmod.c: Likewise.
27401 * math/w_fmodf.c: Likewise.
27402 * math/w_fmodl.c: Likewise.
27403 * math/w_remainder.c: Likewise.
27404 * math/w_remainderf.c: Likewise.
27405 * math/w_remainderl.c: Likewise.
27406 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27407 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27410 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27411 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27412 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27413 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27414
187da0ae
UD
27415 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27416 of the number.
27417 * stdio-common/printf_fphex.c: Likewise.
27418 * stdio-common/printf_size.c: Likewise.
27419
9277c064
UD
27420 * math/e_exp10.c: Include math_private.h using <...> not "...".
27421 * math/e_exp10f.c: Likewise.
27422 * math/e_exp10l.c: Likewise.
27423 * math/e_exp2l.c: Likewise.
27424 * math/e_j0l.c: Likewise.
27425 * math/e_j1l.c: Likewise.
27426 * math/e_jnl.c: Likewise.
27427 * math/e_lgammal_r.c: Likewise.
27428 * math/e_rem_pio2l.c: Likewise.
27429 * math/e_scalb.c: Likewise.
27430 * math/e_scalbf.c: Likewise.
27431 * math/e_scalbl.c: Likewise.
27432 * math/k_cosl.c: Likewise.
27433 * math/k_sinl.c: Likewise.
27434 * math/k_tanl.c: Likewise.
27435 * math/s_cacoshf.c: Likewise.
27436 * math/s_catan.c: Likewise.
27437 * math/s_catanf.c: Likewise.
27438 * math/s_catanh.c: Likewise.
27439 * math/s_catanhf.c: Likewise.
27440 * math/s_catanhl.c: Likewise.
27441 * math/s_catanl.c: Likewise.
27442 * math/s_ccosh.c: Likewise.
27443 * math/s_ccoshf.c: Likewise.
27444 * math/s_ccoshl.c: Likewise.
27445 * math/s_cexp.c: Likewise.
27446 * math/s_cexpf.c: Likewise.
27447 * math/s_cexpl.c: Likewise.
27448 * math/s_clog.c: Likewise.
27449 * math/s_clog10.c: Likewise.
27450 * math/s_clog10f.c: Likewise.
27451 * math/s_clog10l.c: Likewise.
27452 * math/s_clogf.c: Likewise.
27453 * math/s_clogl.c: Likewise.
27454 * math/s_csin.c: Likewise.
27455 * math/s_csinf.c: Likewise.
27456 * math/s_csinh.c: Likewise.
27457 * math/s_csinhf.c: Likewise.
27458 * math/s_csinhl.c: Likewise.
27459 * math/s_csinl.c: Likewise.
27460 * math/s_csqrt.c: Likewise.
27461 * math/s_csqrtf.c: Likewise.
27462 * math/s_csqrtl.c: Likewise.
27463 * math/s_ctan.c: Likewise.
27464 * math/s_ctanf.c: Likewise.
27465 * math/s_ctanh.c: Likewise.
27466 * math/s_ctanhf.c: Likewise.
27467 * math/s_ctanhl.c: Likewise.
27468 * math/s_ctanl.c: Likewise.
27469 * math/s_ldexp.c: Likewise.
27470 * math/s_ldexpf.c: Likewise.
27471 * math/s_ldexpl.c: Likewise.
27472 * math/s_significand.c: Likewise.
27473 * math/s_significandf.c: Likewise.
27474 * math/s_significandl.c: Likewise.
27475 * math/w_acos.c: Likewise.
27476 * math/w_acosf.c: Likewise.
27477 * math/w_acosh.c: Likewise.
27478 * math/w_acoshf.c: Likewise.
27479 * math/w_acoshl.c: Likewise.
27480 * math/w_acosl.c: Likewise.
27481 * math/w_asin.c: Likewise.
27482 * math/w_asinf.c: Likewise.
27483 * math/w_asinl.c: Likewise.
27484 * math/w_atan2.c: Likewise.
27485 * math/w_atan2f.c: Likewise.
27486 * math/w_atan2l.c: Likewise.
27487 * math/w_atanh.c: Likewise.
27488 * math/w_atanhf.c: Likewise.
27489 * math/w_atanhl.c: Likewise.
27490 * math/w_cosh.c: Likewise.
27491 * math/w_coshf.c: Likewise.
27492 * math/w_coshl.c: Likewise.
27493 * math/w_dremf.c: Likewise.
27494 * math/w_exp10.c: Likewise.
27495 * math/w_exp10f.c: Likewise.
27496 * math/w_exp10l.c: Likewise.
27497 * math/w_exp2.c: Likewise.
27498 * math/w_exp2f.c: Likewise.
27499 * math/w_fmod.c: Likewise.
27500 * math/w_fmodf.c: Likewise.
27501 * math/w_fmodl.c: Likewise.
27502 * math/w_hypot.c: Likewise.
27503 * math/w_hypotf.c: Likewise.
27504 * math/w_hypotl.c: Likewise.
27505 * math/w_j0.c: Likewise.
27506 * math/w_j0f.c: Likewise.
27507 * math/w_j0l.c: Likewise.
27508 * math/w_j1.c: Likewise.
27509 * math/w_j1f.c: Likewise.
27510 * math/w_j1l.c: Likewise.
27511 * math/w_jn.c: Likewise.
27512 * math/w_jnf.c: Likewise.
27513 * math/w_jnl.c: Likewise.
27514 * math/w_lgamma.c: Likewise.
27515 * math/w_lgamma_r.c: Likewise.
27516 * math/w_lgammaf.c: Likewise.
27517 * math/w_lgammaf_r.c: Likewise.
27518 * math/w_lgammal.c: Likewise.
27519 * math/w_lgammal_r.c: Likewise.
27520 * math/w_log.c: Likewise.
27521 * math/w_log10.c: Likewise.
27522 * math/w_log10f.c: Likewise.
27523 * math/w_log10l.c: Likewise.
27524 * math/w_log2.c: Likewise.
27525 * math/w_log2f.c: Likewise.
27526 * math/w_log2l.c: Likewise.
27527 * math/w_logf.c: Likewise.
27528 * math/w_logl.c: Likewise.
27529 * math/w_pow.c: Likewise.
27530 * math/w_powf.c: Likewise.
27531 * math/w_powl.c: Likewise.
27532 * math/w_remainder.c: Likewise.
27533 * math/w_remainderf.c: Likewise.
27534 * math/w_remainderl.c: Likewise.
27535 * math/w_scalb.c: Likewise.
27536 * math/w_scalbf.c: Likewise.
27537 * math/w_scalbl.c: Likewise.
27538 * math/w_sinh.c: Likewise.
27539 * math/w_sinhf.c: Likewise.
27540 * math/w_sinhl.c: Likewise.
27541 * math/w_sqrt.c: Likewise.
27542 * math/w_sqrtf.c: Likewise.
27543 * math/w_sqrtl.c: Likewise.
27544 * math/w_tgamma.c: Likewise.
27545 * math/w_tgammaf.c: Likewise.
27546 * math/w_tgammal.c: Likewise.
27547
6a621eb7
UD
27548 * po/ja.po: Update from translation team.
27549
bf582445
AJ
275502011-09-29 Andreas Jaeger <aj@suse.de>
27551
f9efbf3a
AJ
27552 [BZ #13179]
27553 * sunrpc/netname.c (netname2host): Fix logic.
27554
bf582445
AJ
27555 [BZ #6779]
27556 [BZ #6783]
27557 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27558 correctly.
27559 * math/w_remainder.c (__remainder): Likewise.
27560 * math/w_remainderf.c (__remainderf): Likewise.
27561 * math/libm-test.inc (remainder_test): Add test cases.
27562
48693bea
AK
275632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27564
27565 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27566 sdiv_qrnnd.
27567
42622229
LD
275682011-10-07 Ulrich Drepper <drepper@gmail.com>
27569
27570 * string/test-memcmp.c: Avoid unncessary #defines.
27571 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27572
093ecf92
LD
275732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27574
27575 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27576 Use new sse2 version for core i3 - i7 as it's faster
27577 than sse42 version.
27578 (bit_Prefer_PMINUB_for_stringop): New.
27579 * sysdeps/x86_64/rawmemchr.S: Update.
27580 Replace with faster SSE2 version.
27581 * sysdeps/x86_64/memrchr.S: New file.
27582 * sysdeps/x86_64/memchr.S: Update.
27583 Replace with faster SSE2 version.
27584
fde56e5c
MP
275852011-09-12 Marek Polacek <mpolacek@redhat.com>
27586
27587 * elf/dl-load.c (lose): Add cast to avoid warning.
27588
21fd49a9
UD
275892011-10-07 Ulrich Drepper <drepper@gmail.com>
27590
5a06e643
UD
27591 * po/ca.po: Update from translation team.
27592
684ae515
UD
27593 * inet/getnetgrent_r.c: Hook up nscd.
27594 * nscd/Makefile (routines): Add nscd_netgroup.
27595 (nscd-modules): Add netgroupcache.
27596 (CFLAGS-netgroupcache.c): Define.
27597 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27598 (cache_search): Add const to second parameter.
27599 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27600 INNETGR.
27601 (dbs): Add netgrdb entry.
27602 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27603 (verify_persistent_db): Handle netgrdb.
27604 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27605 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27606 GETFDNETGR.
27607 (netgroup_response_header): Define.
27608 (innetgroup_response_header): Define.
27609 (datahead): Add netgroup_response_header and innetgroup_response_header
27610 elements.
27611 * nscd/nscd.conf: Add entries for netgroup cache.
27612 * nscd/nscd.h (dbtype): Add netgrdb.
27613 (_PATH_NSCD_NETGROUP_DB): Define.
27614 (netgroup_iov_disabled): Declare.
27615 (xmalloc, xcalloc, xrealloc): Move declarations here.
27616 (cache_search): Adjust prototype.
27617 Add netgroup-related prototypes.
27618 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27619 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27620 (__nscd_innetgr): Declare.
27621 * nscd/selinux.c (perms): Use access_vector_t as element type and
27622 add netgroup-related initializers.
27623 * nscd/netgroupcache.c: New file.
27624 * nscd/nscd_netgroup.c: New file.
27625 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27626 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27627 For four parameters use innetgr.
27628 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27629 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27630 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27631 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27632
21fd49a9
UD
27633 * nscd/connections.c (register_traced_file): Don't register file
27634 for disabled databases.
27635
054c0457
UD
276362011-10-06 Ulrich Drepper <drepper@gmail.com>
27637
32b63198
UD
27638 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27639
054c0457
UD
27640 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27641 from tree and freeing node.
27642
64031225
JO
276432011-09-25 Jiri Olsa <jolsa@redhat.com>
27644
27645 * nss/nsswitch.c (__nss_database_lookup): Handle
27646 nss_parse_service_list out of memory case.
27647
0490345c
JO
276482011-09-15 Jiri Olsa <jolsa@redhat.com>
27649
27650 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27651 out of memory case.
27652
3a62d00d
AS
276532011-10-04 Andreas Schwab <schwab@redhat.com>
27654
27655 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27656 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27657 pass it down.
27658 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27659 elf_machine_rela, elf_machine_lazy_rel.
27660 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27661 (ELF_DYNAMIC_DO_REL): Likewise.
27662 (ELF_DYNAMIC_DO_RELA): Likewise.
27663 (ELF_DYNAMIC_RELOCATE): Likewise.
27664 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27665 to ELF_DYNAMIC_DO_REL.
27666 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27667 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27668 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27669 elf_machine_rela.
27670 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27671 skip_ifunc, don't call ifunc function if non-zero.
27672 (elf_machine_rela): Likewise.
27673 (elf_machine_lazy_rel): Likewise.
27674 (elf_machine_lazy_rela): Likewise.
27675 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27676 (elf_machine_lazy_rel): Likewise.
27677 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27678 Likewise.
27679 (elf_machine_lazy_rel): Likewise.
27680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27681 Likewise.
27682 (elf_machine_lazy_rel): Likewise.
27683 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27684 (elf_machine_lazy_rel): Likewise.
27685 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27686 (elf_machine_lazy_rel): Likewise.
27687 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27688 (elf_machine_lazy_rel): Likewise.
27689 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27690 (elf_machine_lazy_rel): Likewise.
27691 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27692 (elf_machine_lazy_rel): Likewise.
27693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27694 (elf_machine_lazy_rel): Likewise.
27695
68577918
UD
276962011-09-28 Ulrich Drepper <drepper@gmail.com>
27697
27698 * nss/nss_files/files-init.c (_nss_files_init): Use static
27699 initialization for all the *_traced_file variables.
27700
68822d74
AS
277012011-09-28 Andreas Schwab <schwab@redhat.com>
27702
27703 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27704
2056100b
RM
277052011-09-27 Roland McGrath <roland@hack.frob.com>
27706
27707 [BZ #13226]
27708 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27709
32c76b63
AS
277102011-09-27 Andreas Schwab <schwab@redhat.com>
27711
27712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27713 Reread the line before reparsing it.
27714
bf972c9d
AS
277152011-09-26 Andreas Schwab <schwab@redhat.com>
27716
27717 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27718
e057a1b5
JM
277192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27720 Maxim Kuvyrkov <maxim@codesourcery.com>
27721 Joseph Myers <joseph@codesourcery.com>
27722
27723 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27724 if needed for __stack_chk_guard.
27725
bc7e1c36
RM
277262011-09-19 Roland McGrath <roland@hack.frob.com>
27727
ecb1482f
RM
27728 * sysdeps/posix/spawni.c (script_execute): Always define it.
27729 It will be optimized away if unused.
27730 (maybe_script_execute): New function.
27731 (__spawni): Call it.
27732
bc7e1c36
RM
27733 * Makerules: Don't include tls.make.
27734 (config-tls): Always set to thread.
27735 * tls.make.c: File removed.
27736
1c3b002b
MF
277372011-09-19 Mike Frysinger <vapier@gentoo.org>
27738
27739 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27740 * config.make.in (CPPFLAGS-config): New substituted variable.
27741
2840865d
UD
277422011-09-15 Ulrich Drepper <drepper@gmail.com>
27743
88738eb6
UD
27744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27745
cbf645a6 27746 [BZ #13192]
2840865d
UD
27747 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27748 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27749
b402e91a
RM
277502011-09-15 Roland McGrath <roland@hack.frob.com>
27751
27752 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27753 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27755 (CALL_FAIL): Likewise.
27756 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27757 (CALL_FAIL): Macro removed.
27758 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27759
4c1a1f71
UD
277602011-09-15 Ulrich Drepper <drepper@gmail.com>
27761
27762 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27763 for __FINITE_MATH_ONLY__ == 1.
27764
edc121be
AS
277652011-09-15 Andreas Schwab <schwab@redhat.com>
27766
27767 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27768 __ieee754_sqrt instead of sqrt.
27769 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27770 __ieee754_sqrtf instead of sqrtf.
27771 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27772 __floorf instead of floorf.
27773 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27774 __floorf, __truncf instead of floorf, truncf.
27775
cd205654
UD
277762011-09-14 Ulrich Drepper <drepper@gmail.com>
27777
ee4d0315
UD
27778 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27779
cd205654
UD
27780 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27781 __extern_always_inline.
27782 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27783 32-bit.
27784
48b67d71
AS
277852011-09-14 Andreas Schwab <schwab@redhat.com>
27786
27787 * elf/rtld.c (dl_main): Also relocate in dependency order when
27788 doing symbol dependency testing.
27789
1ae12c75
AS
277902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27791
27792 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27793 Always define `refsym'.
27794
995a80df
AS
277952011-09-13 Andreas Schwab <schwab@redhat.com>
27796
e529793b
AS
27797 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27798 (__FD_ELT): Renamed from __FDELT.
27799 * misc/bits/select2.h (__FD_ELT): Likewise.
27800 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27801 __FD_MASK instead of __FDELT, __FDMASK.
27802 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27803 Likewise.
27804 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27805 Likewise.
27806
52d4fef8
AS
27807 * elf/Makefile (gen-ldd): Fix pattern.
27808
995a80df
AS
27809 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27810 (init_tls): Likewise.
27811
8682f8b0
UD
278122011-09-12 Ulrich Drepper <drepper@gmail.com>
27813
27814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27815
de82006d
AS
278162011-09-12 Andreas Schwab <schwab@redhat.com>
27817
a7c8e6a1
AS
27818 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27819 `struct cmsghdr *' instead of `void *'.
27820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27821 Likewise.
27822
0f31fe77
AS
278232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27824
27825 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27826 if non-absolute.
27827 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27828 ldd_rewrite_script.
0f31fe77 27829
32b4c839
UD
278302011-09-11 Ulrich Drepper <drepper@gmail.com>
27831
83cd1420
UD
27832 * configure.in: Remove --with-tls option.
27833 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27834 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27835 out in case it is missing.
27836 * sysdeps/ia64/elf/configure.in: Likewise.
27837 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27838 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27839 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27840 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27841 * sysdeps/sh/elf/configure.in: Likewise.
27842 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27843 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27844 * sysdeps/x86_64/elf/configure.in: Likewise.
27845 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27846 * sysdeps/mach/hurd/tls.h: Likewise.
27847
633f745d
UD
27848 [BZ #13067]
27849 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27850
f318beb8
UD
27851 [BZ #13090]
27852 * configure.in: Fix use of AC_INIT.
27853
32b4c839
UD
27854 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27855
3ce1f295
UD
278562011-09-10 Ulrich Drepper <drepper@gmail.com>
27857
bb016596
UD
27858 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27859 __set_errno.
8e58439c
UD
27860 * malloc/hooks.c: Likewise.
27861
aebae053 27862 [BZ #11929]
02d46fc4
UD
27863 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27864 variables statically.
27865 (narenas): Initialize.
27866 (list_lock): Initialize.
bb016596
UD
27867 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27868 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27869 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27870 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27871 Add initializers to main_arena and mp_.
27872 (malloc_state): Remove pagesize member. Change all users to use
27873 GLRO(dl_pagesize).
27874
27875 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27876 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27877 is always initialized.
27878
22a89187
UD
27879 * malloc/malloc.c: Removed unused configurations and dead code.
27880 * malloc/arena.c: Likewise.
27881 * malloc/hooks.c: Likewise.
02d46fc4 27882 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27883
d063d164
UD
27884 * include/tls.h: Removed. USE___THREAD must always be defined.
27885 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27886 * elf/dl-libc.c: Likewise.
27887 * elf/dl-tsd.c: Likewise.
27888 * include/errno.h: Likewise.
27889 * include/netdb.h: Likewise.
27890 * include/resolv.h: Likewise.
27891 * inet/herrno-loc.c: Likewise.
27892 * inet/herrno.c: Likewise.
27893 * malloc/arena.c: Likewise.
27894 * malloc/hooks.c: Likewise.
27895 * malloc/malloc.c: Likewise.
27896 * resolv/res-state.c: Likewise.
27897 * resolv/res_libc.c: Likewise.
27898 * sysdeps/i386/dl-machine.h: Likewise.
27899 * sysdeps/ia64/dl-machine.h: Likewise.
27900 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27901 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27902 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27903 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27904 * sysdeps/sh/dl-machine.h: Likewise.
27905 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27906 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27907 * sysdeps/unix/i386/sysdep.S: Likewise.
27908 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27909 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27910 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27914 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27918 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27919 * sysdeps/x86_64/dl-machine.h: Likewise.
27920 * tls.make.c: Likewise.
27921
3ce1f295
UD
27922 * configure.in: Remove --with-__thread option. Make tests for
27923 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27924 tls_model attribute fail if no support is available. Remove
27925 USE_IN_LIBIO.
27926 * Makeconfig: Adjust for dropped configure option. All features are
27927 now mandatory.
27928 * Makerules: Likewise.
27929 * Versions.def: Likewise.
27930 * argp/argp-fmtstream.c: Likewise.
27931 * argp/argp-fmtstream.h: Likewise.
27932 * argp/argp-help.c: Likewise.
27933 * assert/assert.c: Likewise.
27934 * config.h.in: Likewise.
27935 * config.make.in: Likewise.
27936 * configure: Likewise.
27937 * configure.in: Likewise.
27938 * csu/Versions: Likewise.
27939 * csu/init.c: Likewise.
27940 * elf/tst-audit2.c: Likewise.
27941 * elf/tst-tls10.c: Likewise.
27942 * elf/tst-tls10.h: Likewise.
27943 * elf/tst-tls11.c: Likewise.
27944 * elf/tst-tls12.c: Likewise.
27945 * elf/tst-tls14.c: Likewise.
27946 * elf/tst-tlsmod11.c: Likewise.
27947 * elf/tst-tlsmod12.c: Likewise.
27948 * elf/tst-tlsmod13.c: Likewise.
27949 * elf/tst-tlsmod13a.c: Likewise.
27950 * elf/tst-tlsmod14a.c: Likewise.
27951 * elf/tst-tlsmod15b.c: Likewise.
27952 * elf/tst-tlsmod16a.c: Likewise.
27953 * elf/tst-tlsmod16b.c: Likewise.
27954 * elf/tst-tlsmod7.c: Likewise.
27955 * elf/tst-tlsmod8.c: Likewise.
27956 * elf/tst-tlsmod9.c: Likewise.
27957 * gmon/gmon.c: Likewise.
27958 * grp/fgetgrent_r.c: Likewise.
27959 * grp/putgrent.c: Likewise.
27960 * hurd/fopenport.c: Likewise.
27961 * include/libc-symbols.h: Likewise.
27962 * include/tls.h: Likewise.
27963 * intl/gettextP.h: Likewise.
27964 * intl/loadinfo.h: Likewise.
27965 * locale/global-locale.c: Likewise.
27966 * locale/localeinfo.h: Likewise.
27967 * mach/devstream.c: Likewise.
27968 * malloc/arena.c: Likewise.
27969 * malloc/set-freeres.c: Likewise.
27970 * misc/err.c: Likewise.
27971 * misc/getttyent.c: Likewise.
27972 * misc/mntent_r.c: Likewise.
27973 * posix/getopt.c: Likewise.
27974 * posix/wordexp.c: Likewise.
27975 * pwd/fgetpwent_r.c: Likewise.
27976 * resolv/Versions: Likewise.
27977 * resolv/res_hconf.c: Likewise.
27978 * shadow/fgetspent_r.c: Likewise.
27979 * shadow/putspent.c: Likewise.
27980 * stdio-common/printf_fphex.c: Likewise.
27981 * stdio-common/tmpfile.c: Likewise.
27982 * stdlib/abort.c: Likewise.
27983 * stdlib/fmtmsg.c: Likewise.
27984 * sunrpc/auth_unix.c: Likewise.
27985 * sunrpc/clnt_perr.c: Likewise.
27986 * sunrpc/clnt_tcp.c: Likewise.
27987 * sunrpc/clnt_udp.c: Likewise.
27988 * sunrpc/clnt_unix.c: Likewise.
27989 * sunrpc/openchild.c: Likewise.
27990 * sunrpc/svc_simple.c: Likewise.
27991 * sunrpc/svc_tcp.c: Likewise.
27992 * sunrpc/svc_udp.c: Likewise.
27993 * sunrpc/svc_unix.c: Likewise.
27994 * sunrpc/xdr.c: Likewise.
27995 * sunrpc/xdr_array.c: Likewise.
27996 * sunrpc/xdr_rec.c: Likewise.
27997 * sunrpc/xdr_ref.c: Likewise.
27998 * sunrpc/xdr_stdio.c: Likewise.
27999
1248c1c4
PB
280002011-09-09 Ulrich Drepper <drepper@gmail.com>
28001
28002 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28003
280042011-07-03 Andreas Jaeger <aj@suse.de>
28005
28006 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28007 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28008 regenerate with gen-libm-tests.pl.
28009
280102010-05-12 Petr Baudis <pasky@suse.cz>
28011
28012 [BZ #11589]
28013 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28014 around j0() zero points by switching to j1().
28015 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28019
f22e1074
UD
280202011-09-09 Ulrich Drepper <drepper@gmail.com>
28021
f19009c1
UD
28022 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28023 instead of 0.
28024 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28025 instead of 0.
f19009c1
UD
28026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28027 Patch in part by Pavel Roskin <proski@gnu.org>.
28028
3f8cc204
UD
28029 [BZ #13138]
28030 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28031 realloc.
28032 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28033 Free memory block if necessary.
28034
f22e1074
UD
28035 [BZ #12847]
28036 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28037 be NULL. Don't lock in this case.
28038
0a2349f9
RM
280392011-09-09 Roland McGrath <roland@hack.frob.com>
28040
28041 * elf/elf.h (ELFOSABI_GNU): New macro.
28042 (ELFOSABI_LINUX): Define to that.
28043
f3cdd467
DZ
280442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28045
28046 * string/strncat.c (strncat): Undef the symbol in case it has been
28047 defined in bits/string.h.
28048
74718d13
UD
280492011-09-09 Ulrich Drepper <drepper@gmail.com>
28050
633e9e0f
UD
28051 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28052
0a2349f9 28053 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28054 link map.
28055
f9924780
AJ
280562011-08-17 Andreas Jaeger <aj@suse.de>
28057
28058 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28059
7f5517aa
PP
280602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28061 Ian Lance Taylor <iant@google.com>
28062
28063 * math/libm-test.inc (lround_test): New testcase.
28064 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28065
762011fe
UD
280662011-09-08 Ulrich Drepper <drepper@gmail.com>
28067
92963737
UD
28068 * Makefile: Remove support for automatic cvs check-ins.
28069 * Makerules: Likewise.
28070 * config.make.in: Likewise.
28071 * configure.in: Likewise.
28072 * intl/Makefile: Likewise.
28073 * locale/Makefile: Likewise.
28074 * po/Makefile: Likewise.
28075 * posix/Makefile: Likewise.
28076 * sysdeps/gnu/Makefile: Likewise.
28077 * sysdeps/mach/hurd/Makefile: Likewise.
28078 * sysdeps/sparc/sparc32/Makefile: Likewise.
28079
b0727fd8
JS
28080 [BZ #13118]
28081 * posix/Makefile (bug-regex32-ENV): Define.
28082 Patch by John Stanley <jpsinthemix@verizon.net>.
28083
a0f33f99
UD
28084 * misc/Makefile (headers): Add bits/select2.h.
28085 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28086 * misc/bits/select2.h: New file.
28087 * include/bits/select2.h: New file.
28088 * debug/Makefile (routines): Add fdelt_chk.
28089 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28090 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28091 FD_ISSET.
28092 * debug/fdelt_chk.c: New file.
28093
762011fe
UD
28094 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28095 * wcsmbs/test-wmemcmp.c: Likewise.
28096 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28097 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28098
280992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28100
28101 * string/Makefile (strop-tests): Add memcmp.
28102 * string/test-wmemcmp.c: New file.
28103 * string/test-memcmp.c: Add wmemcmp support.
28104
7f513ec8
RM
281052011-09-08 Roland McGrath <roland@hack.frob.com>
28106
0442afb4
RM
28107 [BZ #13153]
28108 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28109 2011-07-19 change.
28110
7f513ec8
RM
28111 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28112 garbage value in a __mach_port_mod_refs call in the cases of the
28113 task-self and thread-self ports.
28114
a12b2239
ST
281152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28116
28117 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28118
610f9ab4
AS
281192011-09-08 Andreas Schwab <schwab@redhat.com>
28120
7f513ec8 28121 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28122
48882a1a
LD
281232011-09-07 Ulrich Drepper <drepper@gmail.com>
28124
b49865be
UD
28125 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28126
fdc86bc9
UD
28127 * elf/dl-libc.c (dlerror_run): Pass back error code from
28128 dl_catch_error.
28129
c966526a
UD
28130 [BZ #13123]
28131 * elf/dl-load.c (lose): Free l_origin if it is valid.
28132
48882a1a
LD
28133 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28134 names.
28135 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28136 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28137 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28138 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28139 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28140 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28141
77a2a8b4
AZ
281422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28143
28144 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28145 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28146 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28147 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28148 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28149 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28150 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28151 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28152 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28153 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28154
24f579d8
AM
281552011-08-15 Alan Modra <amodra@gmail.com>
28156
28157 [BZ #13092]
28158 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28159 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28160 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28161 ppc_mcount to static-only-routines.
28162 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28163 __mcount_internal.
28164 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28165 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28166
3d4837df
UD
281672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28168
28169 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28170 for finite and infinity parameters.
28171
22700377
WS
281722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28173
28174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28175 and add nop instructions for throughput optimization.
28176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28177
5025581e
WS
281782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28179
28180 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28181 aligned copy for power7 with vector-scalar instructions.
28182 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28183
08a300c9
L
281842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28187 AVX check.
28188
59178ef9
AS
281892011-09-07 Andreas Schwab <schwab@redhat.com>
28190
28191 [BZ #13144]
28192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28193 last change.
28194
e38ba7ab
UD
281952011-09-07 Ulrich Drepper <drepper@gmail.com>
28196
28197 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28198 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28199 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28200 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28201 clock_gettime.
28202
d53a73ac
UD
282032011-09-06 Ulrich Drepper <drepper@gmail.com>
28204
fc8bffcc
UD
28205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28206 Forgot to demangle the pointer.
28207
ceaa0c5d
UD
28208 * sysdeps/i386/sysdep.h: Define atom_text_section.
28209 * sysdeps/x86_64/sysdep.h: Likewise.
28210 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28211 section with atom_text_section.
28212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28213 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28214 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28215 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28216 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28217
a77d3c17
UD
28218 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28220 already be defined. Change to take two parameters and don't assign
28221 result to variable. Adjust all users.
28222 Define INTERNAL_GETTIME if not already defined.
28223 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28224 call.
28225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28226 HAVE_CLOCK_GETTIME_VSYSCALL.
28227 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28228
d53a73ac
UD
28229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28230 gettimeofday vsyscall, just use time.
28231
a8f84144
AS
282322011-09-06 Andreas Schwab <schwab@redhat.com>
28233
28234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28235 <errno.h>.
28236
ef606249
UD
282372011-09-06 Ulrich Drepper <drepper@gmail.com>
28238
28239 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28240 syscall on x86-64.
28241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28242 syscall.
28243 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28244 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28245 syscall if possible.
28246
6585cb60
UD
282472011-09-05 Ulrich Drepper <drepper@gmail.com>
28248
28249 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28250 e_ident. Don't pass to find_mapsXX.
28251 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28252
a5f524e4
LD
282532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28254
28255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28256 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28257 * sysdeps/x86_64/multiarch/strchr.S: Update.
28258 Check bit_slow_BSF bit.
28259 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28260 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28261 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28262
554881ef
UD
282632011-09-05 Ulrich Drepper <drepper@gmail.com>
28264
d96de963
UD
28265 [BZ #13134]
28266 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28267 before glibc 2.15.
28268 (tryshell): Define.
28269 (__spawni): Change last parameter to be flag. Test
28270 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28271 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28272 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28273 * posix/spawni.c: Likewise.
28274 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28275 * posix/spawnp.c: Likewise. Change normal version to use
28276 SPAWN_XFLAGS_USE_PATH.
28277 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28278 SPAWN_XFLAGS_TRY_SHELL.
28279
d48e5868
UD
28280 [BZ #13150]
28281 * posix/glob.h: Remove gcc 1.x support.
28282
554881ef
UD
28283 [BZ #13068]
28284 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28285
693fb948
LD
282862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28287
28288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28289 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28290 strrchr-sse2-bsf
28291 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28292 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28293 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28294 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28295 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28296 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28297
1b48c537
UD
282982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28299
49d42c37
UD
28300 * sysdeps/x86_64/wcscmp.S: New file.
28301
1b48c537
UD
28302 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28303 wcscmp-c wcscmp-sse2
28304 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28305 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28306 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28307 * wcsmbs/wcscmp.c: Allow renaming.
28308
15c95c5d
DM
283092011-09-05 David S. Miller <davem@davemloft.net>
28310
28311 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28312 stack slot, rather than the struct return pointer slot.
28313 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28314 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28316 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28317
2f0ad8f3
UD
283182011-09-05 Ulrich Drepper <drepper@gmail.com>
28319
d88ae418
UD
28320 * po/ja.po: Update from translation team.
28321
2f0ad8f3
UD
28322 [BZ #13144]
28323 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28324 kernel in 64-bit binaries.
28325
5f4318d1
DM
283262011-09-01 David S. Miller <davem@davemloft.net>
28327
28328 * elf/elf.h (HWCAP_SPARC_*): Move to..
28329 * sysdeps/sparc/sysdep.h: this new file and add new values.
28330 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28331 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28332 _DL_HWCAP_COUNT to 24.
28333 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28334 entries.
28335 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28336 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28337 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28338 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28339 instead of magic constants.
28340 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28341
3ba57516
DM
283422011-08-31 David S. Miller <davem@davemloft.net>
28343
28344 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28346 Reimplement to do errno handling inline.
28347 (SYSCALL_ERROR_HANDLER): New macro.
28348 (__SYSCALL_STRING): Do not do errno handling in asm.
28349 (__CLONE_SYSCALL_STRING): Delete.
28350 (__INTERNAL_SYSCALL_STRING): Delete.
28351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28352 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28353 (PSEUDO): Reimplement to do errno handling inline.
28354 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28355 (SYSCALL_ERROR_HANDLER): New macro.
28356 (__SYSCALL_STRING): Do not do errno handling in asm.
28357 (__CLONE_SYSCALL_STRING): Delete.
28358 (__INTERNAL_SYSCALL_STRING): Delete.
28359 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28360 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28361 i386.
28362 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28363 (inline_syscall*): Add 'err' argument.
28364 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28365 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28366 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28367 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28368
28369 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28370 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28371
2bc17433
AS
283722011-08-30 Andreas Schwab <schwab@redhat.com>
28373
28374 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28375
fbeb5f4d
JO
283762011-08-29 Jiri Olsa <jolsa@redhat.com>
28377
28378 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28379 directive.
28380
ad69cc26
DM
283812011-08-24 David S. Miller <davem@davemloft.net>
28382
28383 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28384
39dd69df
AS
283852011-08-24 Andreas Schwab <schwab@redhat.com>
28386
28387 * elf/Makefile: Add rules to build and run unload8 test.
28388 * elf/unload8.c: New file.
28389 * elf/unload8mod1.c: New file.
28390 * elf/unload8mod1x.c: New file.
28391 * elf/unload8mod2.c: New file.
28392 * elf/unload8mod3.c: New file.
28393
28394 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28395 it wasn't used.
28396
2c0b250a
DM
283972011-08-23 David S. Miller <davem@davemloft.net>
28398
28399 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28400 subtract stack bias.
28401 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28402 %sp not %fp in calculations.
28403 (_JMPBUF_UNWINDS_ADJ): Likewise.
28404
22044b48
DM
28405 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28406 (aio_suspend): Call it to force an exception region around the
28407 AIO_MISC_WAIT() invocation.
28408
2cae4995
AS
284092011-08-23 Andreas Schwab <schwab@redhat.com>
28410
28411 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28412 backslash.
28413
873a772e
AJ
284142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28415
28416 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28417 protection macro.
28418 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28419 and <dl-machine.h>.
28420 (Elf64_FuncDesc): Remove.
28421
25ad0df1
DM
284222011-08-22 David S. Miller <davem@davemloft.net>
28423
28424 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28425 sigaltstack check, add missing cfi directives.
28426 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28427 missing cfi directives, and sigaltstack handling.
28428
e888bcbe
AS
284292011-08-16 Andreas Schwab <schwab@redhat.com>
28430
28431 [BZ #11724]
28432 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28433 object is seen twice.
28434 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28435
28436 * elf/Makefile (distribute): Add tst-initorder2.c.
28437 (tests): Add tst-initorder2.
28438 (modules-names): Add tst-initorder2a tst-initorder2b
28439 tst-initorder2c tst-initorder2d. Add rules to build them.
28440 ($(objpfx)tst-initorder2.out): New rule.
28441 * elf/tst-initorder2.c: New file.
28442 * elf/tst-initorder2.exp: New file.
28443
87162f46
AS
284442011-08-22 Andreas Schwab <schwab@redhat.com>
28445
70538b7f
AS
28446 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28447
f55ffe58
AS
28448 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28449 dependencies back to end of function.
28450
87162f46
AS
28451 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28452 $(elfobjdir)/ld.so.
28453
91b392a4
UD
284542011-08-21 Ulrich Drepper <drepper@gmail.com>
28455
28456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28457 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28459 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28460 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28461 of __vdso_gettimeofday.
28462 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28463 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28464 attribute_hidden.
28465 (_libc_vdso_platform_setup): Remove initialization of
28466 __vdso_gettimeofday and __vdso_time.
28467
5c43483f
UD
284682011-08-20 Ulrich Drepper <drepper@gmail.com>
28469
775a77e7
UD
28470 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28471 and fgetc_unlocked.
28472 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28473 getc_unlocked.
89f447ed 28474
49c74ba9
UD
28475 * elf/dl-open.c (add_to_global): Report additions to the global scope
28476 for LD_DEBUG=scopes.
28477 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28478 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28479
5c43483f
UD
28480 [BZ #13114]
28481 * stdio-common/Makefile (tests): Add bug24.
28482 * stdio-common/bug24.c: New file.
28483
a101b025
AJ
284842011-08-19 Andreas Jaeger <aj@suse.de>
28485
28486 [BZ #13114]
28487 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28488 non-existant file when using close-on-exec mode.
28489
c88f1766
UD
284902011-08-20 Ulrich Drepper <drepper@gmail.com>
28491
0276a718
UD
28492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28493 the very first instruction.
28494
c88f1766
UD
28495 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28496 the CFI state in the end.
28497 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28498 inclusion of dl-trampoline.h.
28499 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28500
51ccffa0
AS
285012011-08-19 Andreas Schwab <schwab@redhat.com>
28502
94d7165f
AS
28503 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28504 expectations for long double.
28505
51ccffa0
AS
28506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28507 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28508
fd708658 285092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28510
28511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28512 artificual limit depends upon the system page size.
28513
44f0a71e
UD
285142011-08-17 Ulrich Drepper <drepper@gmail.com>
28515
28516 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28517 * resolv/Makefile: Define CFLAGS-libresolv.
28518
8de79a24
AS
285192011-08-17 Andreas Schwab <schwab@redhat.com>
28520
28521 * nss/makedb.c (compute_tables): Make variables used in nested
28522 function static.
28523
27724598
UD
285242011-08-17 Ulrich Drepper <drepper@gmail.com>
28525
c5305d88
UD
28526 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28527 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28528 if buffer was too small.
28529
27724598
UD
28530 * elf/pldd.c (main): Attach to all threads in the process.
28531 Rewrite /proc handling to use *at functions.
28532
076fe015
UD
285332011-08-16 Ulrich Drepper <drepper@gmail.com>
28534
174baab3
UD
28535 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28536 specifies first scope to show.
28537 (dl_open_worker): Update callers. Move printing scope of new
28538 object to before the relocation.
44f0a71e 28539 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28540 * sysdeps/generic/ldsodefs.h: Update declaration.
28541
076fe015
UD
28542 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28543 string for the scope number.
28544
a60df2c3
UD
285452011-08-14 Ulrich Drepper <drepper@gmail.com>
28546
28547 * nscd/servicescache.c (cache_addserv): Make sure written is always
28548 initialized.
28549
5e4287d1
RM
285502011-08-14 Roland McGrath <roland@hack.frob.com>
28551
85ae0589
RM
28552 * sysdeps/i386/i486/bits/atomic.h
28553 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28554 statement expression, so as to suppress "set but not used" warning.
28555 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28556
69f63097
RM
28557 * string/strncat.c (STRNCAT): Use prototype definition.
28558
675456ef
RM
28559 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28560 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28561 -Iprograms here.
28562 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28563 (localedef-modules): Add localedef.
28564 (locale-modules): Add locale.
28565
5e4287d1
RM
28566 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28567 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28568 to avoid a warning.
28569
9c96ff23
DM
285702011-08-14 David S. Miller <davem@davemloft.net>
28571
28572 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28573 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28574
f9ddf089
UD
285752011-08-13 Ulrich Drepper <drepper@gmail.com>
28576
44f0a71e 28577 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28578 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28579 * elf/rtld.c (dl_main): Set l_name of vDSO.
28580 Call _dl_show_scope when DL_DEBUG_SCOPES.
28581 (process_dl_debug): Recognize scopes flag and also set it for all.
28582 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28583 Declare _dl_show_scope.
28584
1dc27704
UD
28585 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28586 (do_dlopen): Pass caller_dlopen to dl_open.
28587 (__libc_dlopen_mode): Initialize caller_dlopen.
28588
f9ddf089
UD
28589 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28590 of libc. Make tolower call locale-independent. Optimize a bit by
28591 using isdigit instead of isalnum.
28592 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28593
9ac533d3
UD
285942011-08-12 Ulrich Drepper <drepper@gmail.com>
28595
28596 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28597 was a dependency or dynamically loaded.
28598
89edf2e9
UD
285992011-08-11 Ulrich Drepper <drepper@gmail.com>
28600
8e999d29
UD
28601 * intl/l10nflist.c: Allow architecture-specific pop function.
28602 * sysdeps/x86_64/l10nflist.c: New file.
28603
89edf2e9
UD
28604 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28605 classification.
28606
14d96785
AS
286072011-08-10 Andreas Schwab <schwab@redhat.com>
28608
28609 * include/dirent.h: Add libc_hidden_proto for scandirat and
28610 scandirat64. Don't declare __scandirat64.
28611 * dirent/scandirat.c: Add libc_hidden_def.
28612 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28613 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28614
6761ac04
DM
286152011-08-10 David S. Miller <davem@davemloft.net>
28616
28617 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28618 enum.
28619 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28621 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28622
c55fbd1e
UD
286232011-08-09 Ulrich Drepper <drepper@gmail.com>
28624
28625 * Versions.def [libc]: Add GLIBC_2.15.
28626 * dirent/Makefile (routines): Add scandirat and scandirat64.
28627 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28628 GLIBC_2.15.
28629 * dirent/dirent.h: Declare scandirat and scandirat64.
28630 * dirent/scandirat.c: New file.
28631 * dirent/scandirat64.c: New file.
28632 * sysdeps/wordsize-64/scandirat.c: New file.
28633 * sysdeps/wordsize-64/scandirat64.c: New file.
28634 * dirent/opendir.c: Define opendirat.
28635 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28636 using scandirat.
28637 * dirent/scandir64.c: Adjust for scandir.c change.
28638 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28639 __scandirat64, and __scandir_cancel_handler.
28640 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28641 additional parameter and use openat instead of open (outside of ld.so).
28642 Add new __opendir as wrapper around __opendirat.
28643 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28644 here without requiring old scandirat implementation.
28645
879165f2
UD
286462011-08-08 Ulrich Drepper <drepper@gmail.com>
28647
28648 * dirent/scandir.c (cancel_handler): Renamed to
28649 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28650 defined. Adjust users.
28651 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28652 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28653
cb7e923b
UD
286542011-08-04 Ulrich Drepper <drepper@gmail.com>
28655
16292edd
UD
28656 * string/test-string.h (IMPL): Use __STRING to expand name and then
28657 stringify it.
28658
cb7e923b
UD
28659 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28660 of cleanups.
28661
cff82933
LD
286622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28663
28664 * string/Makefile: Update.
28665 (strop-tests): Append strncat.
28666 * string/test-wcscmp.c: New file.
28667 New comprehensive test for wcscmp.
28668 * string/test-strcmp.c: Update.
28669 (WIDE): New define.
28670
9be9bfcc
AS
286712011-07-22 Andreas Schwab <schwab@redhat.com>
28672
28673 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28674 line.
28675
2e96f1c7
AS
286762011-07-26 Andreas Schwab <schwab@redhat.com>
28677
28678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28679 encoding to ACE if AI_IDN.
28680
85188888
JJ
286812011-08-01 Jakub Jelinek <jakub@redhat.com>
28682
28683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28684 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28685
5fa16e9b
LD
286862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28687
28688 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28689 Fix overflow bug in strncat.
28690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28691
28692 * string/test-strncat.c: Update.
28693 Add new tests for checking overflow bugs.
28694
286952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28696
28697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28698 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28699 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28700 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28702 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28703 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28704 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28705 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28706
28707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28708 (USE_AS_STRCAT): Define.
28709 Add strcat and strncat support.
28710 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28711
8c1a459f
AS
287122011-07-25 Andreas Schwab <schwab@redhat.com>
28713
28714 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28715 __n bigger than INT_MAX+1.
28716 (__strncmp_g): Likewise.
28717
bba33c28
UD
287182011-07-23 Ulrich Drepper <drepper@gmail.com>
28719
798be72d
UD
28720 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28721 * libio/stido.h: Likewise.
28722
8accd4dc
UD
28723 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28724 (AF_NFC): Define.
28725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28726 (AF_NFC): Define.
28727
cbff0d96
UD
28728 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28729 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28731 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28733
9191c04a
UD
28734 [BZ #13021]
28735 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28736 installed.
28737
bba33c28
UD
28738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28739 typo.
28740 (_dl_x86_64_save_sse): Likewise.
28741
90f139dd
UD
287422011-07-22 Ulrich Drepper <drepper@gmail.com>
28743
1aae088a
UD
28744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28745 OSXSAVE.
28746 (_dl_x86_64_save_sse): Likewise.
28747
8e2045f5
UD
28748 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28749
90f139dd
UD
28750 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28751
1d002f25
AS
287522011-07-21 Andreas Schwab <schwab@redhat.com>
28753
28754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28755 change.
28756 (_dl_x86_64_save_sse): Use correct AVX check.
28757
21137f89
UD
287582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28759
28760 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28761 bug in strncpy/strncat.
28762 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28763
a65c0b7a
UD
287642011-07-21 Ulrich Drepper <drepper@gmail.com>
28765
28766 * string/tester.c (test_strcat): Add tests for different alignments
28767 of source and destination.
28768 (test_strncat): Likewise.
28769
6986b98a
UD
287702011-07-20 Ulrich Drepper <drepper@gmail.com>
28771
90bb2039
UD
28772 [BZ #12852]
28773 * posix/glob.c (glob): Check passed in values before using them in
28774 expressions to avoid some overflows.
28775 (glob_in_dir): Likewise.
28776
5644ef54
UD
28777 [BZ #13007]
28778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28779 check for AVX enablement so that we don't crash with old kernels and
28780 new hardware.
28781 * elf/tst-audit4.c: Add same checks here.
28782 * elf/tst-audit6.c: Likewise.
28783
28784 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28785
bfc9dc9b
AS
287862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28787
28788 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28789
702e64bb
UD
287902011-07-20 Ulrich Drepper <drepper@gmail.com>
28791
28792 * po/cs.po: Update from translation team.
28793 * po/bg.po: Likewise.
28794
295e904f
MP
287952011-07-12 Marek Polacek <mpolacek@redhat.com>
28796
28797 * misc/sys/cdefs.h: Add support for const attribute.
28798 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28799 to gnu_dev_{major,minor,makedev} functions.
28800
3ff94596
MP
288012011-07-20 Marek Polacek <mpolacek@redhat.com>
28802
28803 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28804
28b59fca
AS
288052011-07-20 Andreas Schwab <schwab@redhat.com>
28806
28807 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28808 strlen results.
28809
19df733e
AK
288102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28811
28812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28813 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28814 register in order to avoid conflicts with the soft frame pointer
28815 being held in r11 when necessary.
28816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28817 (INTERNAL_VSYSCALL_NCS): Likewise.
28818
c8835729
MP
288192011-07-14 Marek Polacek <mpolacek@redhat.com>
28820
28821 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28822 * elf/dl-fini.c (_dl_fini): Adjust caller.
28823 * elf/dl-close.c (_dl_close_worker): Likewise.
28824 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28825
b902330c
MP
288262011-07-15 Marek Polacek <mpolacek@redhat.com>
28827
8991e135
MP
28828 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28829 "aux_cache->nlibs < 0".
28830
b902330c
MP
28831 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28832 in the reload-count case.
28833
99710781
LD
288342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28835
28836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28837 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28838 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28839 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28840 * sysdeps/x86_64/multiarch/strcat.S: New file.
28841 * sysdeps/x86_64/multiarch/strncat.S: New file.
28842 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28843 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28844 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28845 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28847 (USE_AS_STRCAT): Define.
28848 Add strcat and strncat support.
28849 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28851 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28852 * string/strncat.c: Update.
28853 (USE_AS_STRNCAT): Define.
28854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28855 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28856 and i7.
28857 * sysdeps/x86_64/multiarch/init-arch.h
28858 (bit_Prefer_PMINUB_for_stringop): New.
28859 (index_Prefer_PMINUB_for_stringop): Likewise.
28860 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28861 bit_Prefer_PMINUB_for_stringop.
28862
7dc6bd90
UD
288632011-07-19 Ulrich Drepper <drepper@gmail.com>
28864
28865 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28866 buffer64.
28867 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28868 of casting of buffer.
28869 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28870 buffer32 and buffer64.
28871 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28872 writes instead of casting of buffer.
28873 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28874 buffer32.
28875 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28876 casting of buffer.
28877
e0e72284
AS
288782011-07-19 Andreas Schwab <schwab@redhat.com>
28879
28880 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28881
feb1eb0b
UD
288822011-07-19 Ulrich Drepper <drepper@gmail.com>
28883
28884 * nscd/nscd.c (termination_handler): Don't do anything for a database
28885 if it has not yet been initialized.
28886
298711ff
UD
288872011-07-18 Ulrich Drepper <drepper@gmail.com>
28888
28889 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28890
288912011-07-15 Marek Polacek <mpolacek@redhat.com>
28892
28893 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28894
f9d68389
UD
288952011-07-18 Ulrich Drepper <drepper@gmail.com>
28896
28897 * po/nl.po: Update from translation team.
28898 * po/sv.po: Likewise.
28899
db290cf5
RM
289002011-07-16 Roland McGrath <roland@hack.frob.com>
28901
28902 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28903 now disallowed by GCC.
5c550700 28904
fd5e21c7
RM
28905 * configure.in (use-default-link): Default to yes if a test -shared
28906 link meets our qualifications.
28907 * configure: Regenerated.
28908
5c550700
RM
28909 * config.make.in (output-format): New variable.
28910 * configure.in: Check for ld --print-output-format support.
28911 * configure: Regenerated.
28912 * Makerules ($(common-objpfx)format.lds)
28913 [$(output-format) != unknown]: Just use $(output-format),
28914 instead of the linker-script munging.
28915
9fa2c032
RM
289162011-07-14 Roland McGrath <roland@hack.frob.com>
28917
a6928d51
RM
28918 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28919 of $(common-objpfx)shlib.lds.
28920 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28921
661607b3
RM
28922 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28923 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28924
9fa2c032
RM
28925 * configure.in (-z relro check): Adjust test code to add a large
28926 writable data section after it.
28927 * configure: Regenerated.
28928
defe9061
RM
289292011-07-11 Roland McGrath <roland@hack.frob.com>
28930
28931 * configure.in (-z relro check): Fix test code to make the variable
28932 truly const.
28933 * configure: Regenerated.
28934
319b9ad4
UD
289352011-07-11 Ulrich Drepper <drepper@gmail.com>
28936
28937 * nscd/nscd.h (struct traced_file): Define.
28938 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28939 elements. Add traced_files.
28940 (inotify_fd): Declare.
28941 (register_traced_file): Declare.
28942 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28943 (inotify_fd): Export.
28944 (resolv_conf_descr): Remove.
28945 (nscd_init): Move inotify descriptor creation to main.
28946 Don't register files for notification here.
28947 (register_traced_file): New function.
28948 (invalidate_cache): Don't use reset_res to determine whether to call
28949 res_init, go through the list of registered files.
28950 (main_loop_poll): The inotify descriptors are now stored in the
28951 structures for the traced files.
28952 (main_loop_epoll): Likewise
28953 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28954 to __nss_disable_nscd.
28955 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28956 for a database anymore. Check the records for all the registered
28957 files instead.
28958 * nss/Makefile (libnss_files-routines): Add files-init.
28959 (libnss_db-routines): Add db-init.
28960 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28961 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28962 * nss/nss_db/db-init.c: New file.
28963 * nss/nss_files/files-init.c: New file.
28964 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28965 __nss_lookup_function.
28966 (__nss_lookup_function): Call nss_load_library.
28967 (nss_load_all_libraries): New function.
28968 (__nss_disable_nscd): Take parameter with callback function for files
28969 to register. Set is_nscd. Load all the DSOs for the NSS modules
28970 used for the cached services.
28971 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28973 options for features to all the files in nscd.
28974
28975 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28976
23bee3e8
RM
289772011-07-10 Roland McGrath <roland@hack.frob.com>
28978
28979 * csu/elf-init.c (__libc_csu_init): Comment typo.
28980
46a5b7f0
UD
289812011-07-09 Ulrich Drepper <drepper@gmail.com>
28982
28983 * po/pl.po: Update from translation team.
28984 * po/ja.po: Likewise.
28985 * po/ru.po: Likewise.
28986 * po/ko.po: Likewise.
28987 * po/fr.po: Likewise.
28988
d30cf5bb
RM
289892011-07-09 Roland McGrath <roland@hack.frob.com>
28990
113ddea4
RM
28991 * configure.in (.ctors/.dtors header and trailer check):
28992 Use an empirical test on a built program.
28993 * configure: Regenerated.
28994
574920b4
RM
28995 * configure.in (-z relro check): Use an empirical test on a built DSO.
28996 Detect, but do not require, on ia64.
28997 * configure: Regenerated.
28998
d30cf5bb
RM
28999 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29000 Update tests that use readelf to use $READELF instead.
29001 * configure: Regenerated.
29002
8538fdb3
UD
290032011-07-08 Ulrich Drepper <drepper@gmail.com>
29004
29005 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29006 if the result is not used.
29007
04d08991
AJ
290082011-07-05 Andreas Jaeger <aj@suse.de>
29009
29010 [BZ#9696]
29011 * stdlib/tst-strtod.c: Add testcase.
29012
de283087
AD
290132011-07-07 Ulrich Drepper <drepper@gmail.com>
29014
4e5f31c8 29015 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29016 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29017 The latter has a higher limit. Take additional parameter to pass to
29018 the new function.
29019 (__pathconf): Pass file to __statfs_link_max.
29020 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29021 __statfs_link_max.
29022 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29023 __statfs_link_max.
29024
de283087
AD
29025 [BZ #12868]
29026 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29027 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29028 Handle Lustre.
29029 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29030 (__statfs_filesize_max): Likewise.
29031 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29032
c75fa153
AJ
290332011-07-05 Andreas Jaeger <aj@suse.de>
29034
29035 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29036
1a544854
UD
290372011-07-06 Marek Polacek <mpolacek@redhat.com>
29038
29039 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29040 `status' variable.
29041 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29042 Likewise.
29043
6f0eec67
UD
290442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29045
29046 * Makefile (strop-tests): Add strncat.
29047 * string/test-strncat.c: New file.
29048
aae30307
UD
290492011-06-30 Marek Polacek <mpolacek@redhat.com>
29050
29051 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29052
c0cfb5eb
UD
290532011-06-21 Andreas Jaeger <aj@suse.de>
29054
29055 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29056 Copy rule from iconvdata/Makefile.
29057
01636b21
UD
290582011-07-06 Ulrich Drepper <drepper@gmail.com>
29059
29060 [BZ #12922]
29061 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29062 but no long options are defined, just return 'W'.
29063
9895c8bc
UD
290642011-06-22 Marek Polacek <mpolacek@redhat.com>
29065
29066 [BZ #9696]
29067 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29068
5d4cf042
UD
290692011-07-06 Ulrich Drepper <drepper@gmail.com>
29070
29071 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29072 netgroups to read.
960e5535 29073 (innetgr): Likewise.
5d4cf042 29074
751eb97e
RM
290752011-07-05 Roland McGrath <roland@hack.frob.com>
29076
29077 * config.make.in (install_root): Default to $(DESTDIR).
29078
f15f1e45
UD
290792011-07-05 Ulrich Drepper <drepper@gmail.com>
29080
29081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29082
4e34ac6a
RM
290832011-07-02 Roland McGrath <roland@hack.frob.com>
29084
5e9b6af4
RM
29085 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29086
84f9ea0f
RM
29087 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29088 containing directory rather than embedding absolute directory names.
29089
ea5ee9f7
RM
29090 * scripts/check-local-headers.sh: Rewritten using awk.
29091 Match by word, not by line. Print error messages for matches.
29092 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29093
1b74661a
RM
29094 * Makerules [shlib-lds-flags empty]:
29095 ($(common-objpfx)libc_pic.opts): New target.
29096 ($(common-objpfx)libc_pic.os.clean): New target.
29097 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29098
29099 * config.make.in (OBJCOPY): New variable.
29100 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29101 * configure: Regenerated.
29102
f781ef40
RM
29103 * config.make.in (use-default-link): New variable.
29104 * configure.in (use_default_link): Grok --with-default-link to set it.
29105 * configure: Regenerated.
29106 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29107 (shlib-lds, shlib-lds-flags): Define to empty.
29108
2d4fa81e
RM
29109 * Makerules (shlib-lds): New variable.
29110 (shlib-lds-flags): New variable.
29111 (build-shlib, build-moduile, build-module-asneeded): Use it.
29112 ($(common-objpfx)libc.so): Use $(shlib-lds).
29113 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29114 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29115
31fffa6b
RM
29116 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29117 DT_FLAGS/DT_FLAGS_1 with zero flags.
29118
4e34ac6a
RM
29119 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29120 linker script munging.
29121
fcfc776b
UD
291222011-07-02 Ulrich Drepper <drepper@gmail.com>
29123
29124 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29125 as 128-bit value.
29126 * crypt/sha512.c (sha512_process_block): Perform total addition using
29127 128-bit if possible.
29128 (__sha512_finish_ctx): Likewise.
29129 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29130 as 64-bit value.
29131 * crypt/sha256.c (SWAP64): Define.
29132 (sha256_process_block): Perform total addition using 64-bit if
29133 possible.
29134 (__sha256_finish_ctx): Likewise.
29135
99231d9a
UD
291362011-07-01 Ulrich Drepper <drepper@gmail.com>
29137
29138 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29140 * nscd/hstcache.c (cache_addhst): Likewise.
29141 * nscd/grpcache.c (cache_addgr): Likewise.
29142 * nscd/aicache.c (addhstaiX): Likewise
29143 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29144
445b4a53
TK
291452011-07-01 Thorsten Kukuk <kukuk@suse.de>
29146
29147 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29148 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29149 * nscd/hstcache.c (cache_addhst): Likewise.
29150 * nscd/grpcache.c (cache_addgr): Likewise.
29151 * nscd/aicache.c (addhstaiX): Likewise
29152
6d4d8e8e
AS
291532011-07-01 Andreas Schwab <schwab@redhat.com>
29154
29155 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29156 domain only when needed.
29157
89f654c5
AS
291582011-06-30 Andreas Schwab <schwab@redhat.com>
29159
29160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29161 is always restored.
29162
cf3b23ff
UD
291632011-06-29 Ulrich Drepper <drepper@gmail.com>
29164
29165 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29166 are re-adding the entry.
29167 * nscd/servicescache.c (cache_addserv): Likewise.
29168
751626f9
AJ
291692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29170
29171 * sysdeps/generic/dl-irel.h: fix protection against multiple
29172 inclusions.
29173 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29174
9113ea1f
UD
291752011-06-28 Ulrich Drepper <drepper@gmail.com>
29176
5c0b8d90
UD
29177 [BZ #12935]
29178 * malloc/memusage.sh: Fix quoting in message.
29179 * debug/xtrace.sh: Likewise.
29180
9113ea1f
UD
29181 * configure.in: Remove support for --experimental-malloc option, make
29182 it the default.
29183 * config.make.in: Likewise.
29184 * malloc/Makefile: Likewise.
29185
a4172181
AS
291862011-06-27 Andreas Schwab <schwab@redhat.com>
29187
29188 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29189 two-byte characters.
29190
78a7eee7
RM
291912011-06-27 Roland McGrath <roland@hack.frob.com>
29192
62bede13
RM
29193 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29194 AC_CACHE_CHECK invocation.
29195 * configure: Regenerated.
29196
78a7eee7
RM
29197 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29198
5ce33a62
UD
291992011-06-27 Ulrich Drepper <drepper@gmail.com>
29200
034807a9
UD
29201 [BZ #12350]
29202 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29203 bit from old_res_options.
29204
4902da17
UD
29205 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29206
5ce33a62
UD
29207 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29208 value type for setfct.
29209
c2344f56
L
292102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29213 __gettimeofday instead of gettimeofday.
29214
68468076
UD
292152011-06-26 Ulrich Drepper <drepper@gmail.com>
29216
29217 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29218
acb0d739
L
292192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29222
29223 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29224 info.
29225
8912479f
L
292262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29227
29228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29229 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29230 strcpy-sse2-unaligned strncpy-sse2-unaligned
29231 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29232 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29233 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29234 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29235 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29236 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29238 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29239 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29240 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29241 (STRCPY): Support SSE2 and SSSE3 versions.
29242
d5495a11
UD
292432011-06-24 Ulrich Drepper <drepper@gmail.com>
29244
29245 [BZ #12874]
29246 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29247 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29248 kernels which artificially limit size of requests.
29249
0b1cbaae
L
292502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29251
29252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29253 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29254 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29255 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29256 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29257 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29258 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29259 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29260 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29262 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29263 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29264 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29265 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29266 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29268 Enable unaligned load optimization for Intel Core i3, i5 and i7
29269 processors.
29270 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29271 Define.
29272 (index_Fast_Unaligned_Load): Define.
29273 (HAS_FAST_UNALIGNED_LOAD): Define.
29274
07f494a0
MP
292752011-06-23 Marek Polacek <mpolacek@redhat.com>
29276
29277 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29278
fa3fc0fe
UD
292792011-06-22 Ulrich Drepper <drepper@gmail.com>
29280
29281 [BZ #12907]
29282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29283 until it is clear that the information is realy needed.
29284 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29285
e12df166
AS
292862011-06-22 Andreas Schwab <schwab@redhat.com>
29287
29288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29289
852eb34d
UD
292902011-06-22 Ulrich Drepper <drepper@gmail.com>
29291
84e2a551
UD
29292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29293 /sys/devices/system/cpu/online if it is usable.
29294
852eb34d
UD
29295 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29296 reading the information from the /proc filesystem to once a second.
29297
6e502e19
UD
292982011-06-21 Andreas Jaeger <aj@suse.de>
29299
29300 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29301 NULL after inclusion of kernel headers.
29302
75d39ff2
UD
293032011-06-21 Ulrich Drepper <drepper@gmail.com>
29304
51f9aa6a
UD
29305 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29306 calls to internal_setent.
29307
c0244a9d
UD
29308 [BZ #12885]
29309 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29310 addresses using gethostbyname4_r ignore IPv4 addresses.
29311
c5e3c2ae
UD
29312 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29313 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29314
75d39ff2
UD
29315 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29316
42675c6f
DM
293172011-06-20 David S. Miller <davem@davemloft.net>
29318
29319 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29320 inclusions.
29321 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29322
29323 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29324 (elf_irel): Use it.
29325 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29326 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29327 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29328 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29329 * sysdeps/x86_64/dl-irel.h: Likewise.
29330
29331 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29332 * elf/dl-sym.c: Likewise.
29333
57912a71
UD
293342011-06-15 Ulrich Drepper <drepper@gmail.com>
29335
29336 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29337 need to dereference resplen2.
29338
ee22793d
AS
293392011-06-14 Andreas Schwab <schwab@redhat.com>
29340
29341 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29342
a9e836b0
UD
293432011-06-15 Ulrich Drepper <drepper@gmail.com>
29344
77fb9117
UD
29345 * Makeconfig: Define vardbdir and inst_vardbdir.
29346 * nss/Makefile: Add rules to install db-Makefile.
29347
40c1b22c
UD
29348 * nss/nss_db/db-XXX.c: Cleanup.
29349
9f2da732
UD
29350 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29351 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29352 GLIBC_PRIVATE.
29353 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29354 * nss/makedb.c: Implement -g option to specify that value strings
29355 are generated and should not be added to table iterated over for
29356 get*ent calls.
29357 * nss/nss_db/db-initgroups.c: New file.
29358
82e9a1f7
UD
29359 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29360 interface.
29361
c41af17e
UD
29362 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29363 (internal_getgrouplist): Adjust to name change.
29364 Update use_initgroups_entry if this is not the first call.
29365 * nss/databases.def: Add initgroups entry.
29366
a9e836b0
UD
29367 * nss/makedb.c (compute_tables): Check result of multiple hash table
29368 sizes to minimize maximum chain length.
29369
2666d441
UD
293702011-06-14 Ulrich Drepper <drepper@gmail.com>
29371
29372 * Versions.def: Add entry for libnss_db.
29373 * shlib-versions: Likewise.
29374 * nss/Makefile: Add rules to build libnss_db.
29375 * nss/Versions: Add libnss_db information. Organize libnss_files
29376 entries better.
29377 * nss/db-Makefile: Add gshadow support. Change rules for the new
29378 makedb progra. Some minor improvements to generate smaller files.
29379 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29380 here from...
29381 * nss/makedb.c: ...here.
29382 Improve database format to be smaller and require less memory at
29383 runtime.
29384 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29385 db anymore.
29386 * nss/nss_db/db-netgrp.c: Likewise.
29387 * nss/nss_db/db-open.c: Likewise.
29388 * nss/nss_files/flies-XXX.x: Adjust comments.
29389 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29390 * nss/nss_files/files-grp.c: Likewise.
29391 * nss/nss_files/files-hosts.c: Likewise.
29392 * nss/nss_files/files-network.c: Likewise.
29393 * nss/nss_files/files-proto.c: Likewise.
29394 * nss/nss_files/files-pwd.c: Likewise.
29395 * nss/nss_files/files-rpc.c: Likewise.
29396 * nss/nss_files/files-service.c: Likewise.
29397 * nss/nss_files/files-sgrp.c: Likewise.
29398 * nss/nss_files/files-spwd.c: Likewise.
29399 * nss/nss_db/db-alias.c: Removed.
29400 * nss/nss_db/dummy-db.h: Removed.
29401
9ee76b5a
UD
294022011-06-02 Ulrich Drepper <drepper@gmail.com>
29403
29404 * nss/makedb.c: Rewritten to not use database library.
29405 * nss/Makefile: Update to build new makedb program.
29406
c71ca1f8
AJ
294072011-06-14 Andreas Jaeger <aj@suse.de>
29408
29409 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29410 memset declaration.
29411
3154bfb8
UD
294122011-06-10 Andreas Schwab <schwab@redhat.com>
29413
29414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29415 tmpbuf.
29416
b350afab
RM
294172011-06-10 Roland McGrath <roland@hack.frob.com>
29418
decd4e50
RM
29419 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29420 * elf/Makefile ($(objpfx)ld.so): Likewise.
29421
5615eaf2
RM
29422 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29423 Don't list ld.so twice in dependencies.
29424
29425 * posix/bug-regex31.c: Include <stdlib.h>.
29426
29427 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29428
29429 * nis/nss_compat/compat-spwd.c
29430 (getspent_next_nss_netgr): Remove unused variable.
29431 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29432
29433 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29434 nonmembers" output to use the right array.
29435
29436 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29437
29438 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29439
29440 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29441 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29442 * catgets/gencat.c (read_input_file): Likewise.
29443 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29444
29445 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29446 variable definition inside #if's controlling its use.
29447
29448 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29449
29450 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29451
29452 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29453
29454 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29455 unreachable code.
29456
29457 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29458
b68e08db
RM
29459 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29460 * configure: Regenerated.
29461
b350afab
RM
29462 * Makerules: Revert last change.
29463 * elf/Makefile: Likewise.
29464
28368601
RM
294652011-06-09 Roland McGrath <roland@hack.frob.com>
29466
29467 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29468 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29469 (reloc-link): Likewise.
29470
11988f8f
UD
294712011-06-09 Ulrich Drepper <drepper@gmail.com>
29472
29473 * elf/Makefile: Add rules to build pldd.
29474 * elf/pldd.c: New file.
29475 * elf/pldd-xx.c: New file.
29476
e80fab37
UD
294772011-06-07 Ulrich Drepper <drepper@gmail.com>
29478
29479 * version.h: Update for 2.15 development version.
29480
9b849836
DM
294812011-06-07 David S. Miller <davem@davemloft.net>
29482
29483 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29484 ifuncs.
29485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29486 elf_machine_lazy_rel): Likewise.
29487 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29489 elf_machine_lazy_rel): Likewise.
29490 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29491 dl_hwcap via passed in argument.
29492 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29493 Likewise.
29494
5a31b283
AK
294952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29496
29497 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29498
069e52f8
RM
294992011-06-06 Roland McGrath <roland@hack.frob.com>
29500
29501 [BZ #12849]
29502 * manual/fdl-1.1.texi: New file, verbatim from:
29503 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29504 * manual/lgpl-2.1.texi: New file, verbatim from:
29505 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29506 * manual/Makefile (licenses): New variable, list those new file names.
29507 (texis): Use it.
29508 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29509
29510 * manual/fdl.texi: File removed.
29511 * manual/lesser.texi: File removed.
29512 * manual/libc.texinfo (Copying, Documentation License):
29513 Use new @include file names, put @appendix directive before @include.
29514
f16846a5
JJ
295152011-06-04 Jakub Jelinek <jakub@redhat.com>
29516
29517 [BZ #12841]
29518 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29519 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29520 (mq_open): Add __NTH.
29521
3d29045b
L
295222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29523
29524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29525 Assume Intel Core i3/i5/i7 processor if AVX is available.
29526
8c297311
UD
295272011-05-31 Ulrich Drepper <drepper@gmail.com>
29528
29529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29530 typo.
29531
c8fc0c91
UD
295322011-05-31 Andreas Schwab <schwab@redhat.com>
29533
29534 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29535 memory. Use alloca_account. Fix memory leak when retrying.
29536
5b27a807
UD
295372011-05-31 Ulrich Drepper <drepper@gmail.com>
29538
356f8bc6
UD
29539 * version.h (RELEASE): Bump for 2.14 release.
29540 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29541
5b27a807
UD
29542 * config.make.in (RANLIB): Remove entry.
29543
01f16ab0
UD
295442011-05-30 Ulrich Drepper <drepper@gmail.com>
29545
41fce8bd
UD
29546 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29547 (libc.pot): Work around missing support for .ksh extension in xgettext.
29548
4769ae77
UD
29549 [BZ #12684]
29550 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29551 if both request failed.
29552 (send_dg): In case of server errors clear resplen or *resplen2.
29553
6b1e7d19
UD
29554 [BZ #12454]
29555 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29556 when there are multiple maps.
29557 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29558 (_dl_fini): Remove test here.
29559
01f16ab0
UD
29560 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29561
b1ebd700
UD
295622011-05-29 Ulrich Drepper <drepper@gmail.com>
29563
7ae22829
UD
29564 [BZ #12350]
29565 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29566 bit from old_res_options.
29567 (gaih_inet): Likewise.
29568
553149f6 29569 [BZ #11099]
18a84741 29570 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29571 as signed.
29572
652ffab1
UD
29573 * resolv/res_init.c (res_setoptions): Make the code more compact.
29574
16985fd0
UD
29575 [BZ #11558]
29576 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29577 set RES_USEVC.
29578
0464f746
UD
29579 [BZ #11634]
29580 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29581
7d17596c
UD
29582 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29583
cf6bbbd7
UD
29584 [BZ #11781]
29585 * malloc/malloc.h: Declare malloc hook variables as volatile.
29586
13f1ab36
UD
29587 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29588 in last patch.
29589
b1ebd700
UD
29590 [BZ #11799]
29591 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29592 raise in the comment.
80e2212d
UD
29593 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29595 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29596
ce67228d
UD
295972011-05-28 Ulrich Drepper <drepper@gmail.com>
29598
8887a920
UD
29599 [BZ #12811]
29600 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29601 grow the buffers more if it already has to be sufficient.
29602 (build_wcs_upper_buffer): Likewise.
29603 * posix/regexec.c (check_matching): Likewise.
29604 (clean_state_log_if_needed): Likewise.
29605 (extend_buffers): Don't enlarge buffers beyond size of the input
29606 buffer.
29607 Patches mostly by Emil Wojak <emil@wojak.eu>.
29608 * posix/bug-regex32.c: New file.
29609 * posix/Makefile (tests): Add bug-regex32.
29610
4f031072
UD
29611 * locale/findlocale.c (_nl_find_locale): Return right away if
29612 _nl_explode_name failed.
29613 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29614
d0478f0c
UD
29615 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29616
de81b246
UD
29617 * debug/xtrace.sh: Unify messages.
29618 * malloc/memusage.sh: Likewise.
29619
c738465a
UD
29620 [BZ #12813]
29621 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29622 time symbol from vDSO. Substitute with vsyscall if not available.
29623 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29624 __vdso_time.
29625
f1f929d7
UD
29626 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29627 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29628 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29629 Add sendmmsg and internal_sendmmsg.
29630 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29631 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29632 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29633
ce67228d
UD
29634 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29635 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29636 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29637
e57420c6
UD
296382011-05-27 Ulrich Drepper <drepper@gmail.com>
29639
a8509ca5
UD
29640 [BZ #12813]
29641 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29642 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29643 available.
29644 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29645 __vdso_getcpu.
29646
e57420c6
UD
29647 [BZ #12814]
29648 * iconvdata/Makefile (tests): Add bug-iconv9.
29649 * iconvdata/bug-iconv9.c: New file.
29650
4d07db15
AS
296512011-05-27 Andreas Schwab <schwab@redhat.com>
29652
29653 [BZ #12814]
29654 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29655
ea486f69
JJ
296562011-05-25 Jakub Jelinek <jakub@redhat.com>
29657
29658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29659 (struct user_regs_struct): Change intcs field back to cs.
29660
6f038433
UD
296612011-05-25 Ulrich Drepper <drepper@gmail.com>
29662
29663 * po/ja.po: Update from translation team.
29664
67f86a25
UD
296652011-05-23 Ulrich Drepper <drepper@gmail.com>
29666
29667 [BZ #12795]
29668 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29669 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29670
def7fbd6
AS
296712011-05-20 Andreas Schwab <schwab@redhat.com>
29672
29673 * stdlib/longlong.h: Update from GCC.
29674
f50ef8f1
AS
296752011-05-23 Andreas Schwab <schwab@redhat.com>
29676
29677 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29678 parameter name.
29679 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29680 Add parameter name.
29681 (__sysconf): Pass it down.
29682
de7ce8f1
UD
296832011-05-22 Ulrich Drepper <drepper@gmail.com>
29684
f2962a71
UD
29685 [BZ #12671]
29686 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29687 some situations.
29688 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29689 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29690 add in in __libc_use_alloca calls. Adjust callers.
29691 (glob): Use malloc in some situations.
29692
de7ce8f1
UD
29693 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29694 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29695 pltexit.
29696
aec84f53
UD
296972011-05-21 Ulrich Drepper <drepper@gmail.com>
29698
05bb4a68
UD
29699 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29700 and CLOCK_BOOTTIME_ALARM.
29701
7ea72f99
UD
29702 [BZ #12782]
29703 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29704 is returned.
29705
7e4afad5
UD
29706 * string/_strerror.c (__strerror_r): Print negative errors as signed
29707 numbers.
29708
8e211fec
UD
29709 [BZ #12777]
29710 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29711 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29712 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29713
f7d82dc9
UD
29714 * configure.in: Fix typo in redirection and correct removal of test
29715 files in two cases.
29716
cc9e536d
UD
29717 [BZ #12788]
29718 * locale/setlocale.c (new_composite_name): Fix test to check for
29719 identical name of all categories.
29720
aec84f53
UD
29721 [BZ #12792]
29722 * libio/filedoalloc.c (local_isatty): New function.
29723 (_IO_file_doallocate): Use local_isatty.
29724 * stdio-common/perror.c (perror): In case a new stream is used
29725 forward the stream error.
29726 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29727 error flag.
29728
78e64fdc
RT
297292011-05-20 Ulrich Drepper <drepper@gmail.com>
29730
34a9094f
UD
29731 [BZ #11869]
29732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29733 alloca.
29734 * include/alloca.h (extend_alloca_account): Define.
29735
78e64fdc
RT
29736 [BZ #11857]
29737 * posix/regex.h: Fix comments with documentation of user-accessible
29738 fields after compilation and describe correct free'ing of pattern
29739 after re_compile_pattern.
29740 Patch by Reuben Thomas <rrt@sc3d.org>.
29741
457bddfc
RA
297422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29743
29744 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29745 and -mno-altivec to prevent the compiler from using Altivec and/or
29746 VSX instructions when the corresponding registers are not available.
29747
a4527b51
AS
297482011-05-19 Andreas Schwab <schwab@redhat.com>
29749
29750 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29751
ed690b2f
UD
297522011-05-19 Ulrich Drepper <drepper@gmail.com>
29753
29754 * libio/freopen.c (freopen): Use __dup2, not dup2.
29755 * libio/freopen64.c (freopen64): Likewise.
29756
8db73634
L
297572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29758
29759 [BZ #12775]
29760 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29761 * math/Makefile (tests): Add test-powl.
29762 (CFLAGS-test-powl.c): Define.
29763 * math/test-powl.c: New file.
29764
0a197a9d
L
297652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29766
29767 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29768
ee30c380
UD
297692011-05-17 Ulrich Drepper <drepper@gmail.com>
29770
29771 [BZ #11837]
29772 * iconvdata/gb18030.c: Update to GB18020-2005.
29773
6ce75379
UD
297742011-05-16 Ulrich Drepper <drepper@gmail.com>
29775
a4b89fd8
AR
29776 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29777 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29778 Patch by Aharon Robbins <arnold@skeeve.com>.
29779
ea389b12
UD
29780 [BZ #11892]
29781 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29782 on the stack.
29783
68a3f91f
UD
29784 [BZ #11895]
29785 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29786 through underflows.
29787
15cc7dd1
UD
29788 [BZ #12766]
29789 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29790 point to strings before performing equality test for error_one_per_line
29791 mode.
29792
f3799213
UD
29793 [BZ #11697]
29794 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29795
d79a9c94
UD
29796 [BZ #11820]
29797 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29798 (struct user_fpregs_struct): Avoid __uint*_t types.
29799
56e5eb46
UD
29800 [BZ #6420]
29801 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29802 symbol info. Use it instead of calling _dl_addr locally.
29803 (lock_and_info): New function.
29804 (tr_freehook): Call lock_and_info and pass symbol info as additional
29805 parameter to tr_where.
29806 (tr_mallochook): Likewise.
29807 (tr_reallochook): Likewise.
29808 (tr_memalignhook): Likewise.
29809
6ce75379
UD
29810 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29811 used and couldn't be at all thread-safe.
29812
f8a3b5bf
UD
298132011-05-15 Ulrich Drepper <drepper@gmail.com>
29814
94b7cc37
UD
29815 * libio/freopen.c (freopen): Don't close old file descriptor
29816 before the new one is opened. Instead dup the new file descriptor
29817 to the old one after the new stream is created.
29818 * libio/freopen64.c (freopen64): Likewise.
29819 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29820 * libio/fileops.c (_IO_new_file_close_it): Handle new
29821 _IO_FLAGS2_NOCLOSE flag.
29822 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29823 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29824 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29825 _IO_FLAGS2_NOCLOSE flag.
29826 * include/unistd.h: Add hidden_proto for dup3.
29827 Define __have_dup3.
29828 * io/dup3.c: Define hidden symbol.
29829 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29830
bd25564e
UD
29831 [BZ #7101]
29832 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29833 when an incomplete long option is used.
29834 * posix/tst-getopt_long1.c: New file.
29835 * posix/Makefile (tests): Add tst-getopt_long1.
29836
c84cfef4
UD
29837 [BZ #10138]
29838 * scripts/config.guess: Update from autoconf-2.68.
29839 * scripts/config.sub: Likewise.
29840
3b85df27
UD
29841 [BZ #10157]
29842 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29843 tests into ...
29844 (has_cpuclock): ...this. New function.
29845 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29846 macro here based on has_cpuclock code.
29847
15a856b1
UD
29848 [BZ #10149]
29849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29850 First byte (not low byte) is now always NUL.
29851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29852
05f399e6
UD
29853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29854 Use non-cancelable interfaces.
29855
10a52685 29856 [BZ #9809]
94ecc67d
UD
29857 * locale/iso-639.def: Add entry for Sorani.
29858
f8a3b5bf
UD
29859 [BZ #11901]
29860 * include/stdlib.h: Move include protection to the right place.
29861 Define abort_msg_s. Declare __abort_msg with it.
29862 * stdlib/abort.c (__abort_msg): Adjust type.
29863 * assert/assert.c (__assert_fail_base): New function. Majority
29864 of code from __assert_fail. Allocate memory for __abort_msg with
29865 mmap.
29866 (__assert_fail): Now call __assert_fail_base.
29867 * assert/assert-perr.c: Remove bulk of implementation. Use
29868 __assert_fail_base.
29869 * include/assert.hL Declare __assert_fail_base.
29870 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29871 mmap.
29872 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29873
1af4e298
UD
298742011-05-14 Ulrich Drepper <drepper@gmail.com>
29875
f8a3b5bf 29876 [BZ #11952]
d26dfc60
MG
29877 [BZ #12453]
29878 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29879 until all modules are registered in the DTV.
29880 * elf/Makefile: Add rules to build and run tst-tls19.
29881 * elf/tst-tls19.c: New file.
29882 * elf/tst-tls19mod1.c: New file.
29883 * elf/tst-tls19mod2.c: New file.
29884 * elf/tst-tls19mod3.c: New file.
29885 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29886
2fc54d6f
UD
29887 [BZ #12083]
29888 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29889 correctly.
29890
98d76b46
UD
29891 [BZ #12601]
29892 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29893 two-byte sequence errors.
29894 * iconvdata/Makefile (tests): Add bug-iconv8.
29895 * iconvdata/bug-iconv8.c: New file.
29896
da3c19ef
UD
29897 [BZ #12626]
29898 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29899 buf2 definition.
29900
ca408c15
UD
29901 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29902
d6f67f7d
UD
29903 [BZ #12432]
29904 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29905 (dummy_getcfa): New function.
29906 (init): Get _Unwind_GetCFA address, use dummy if not found.
29907 (backtrace_helper): In recursion check, also check whether CFA changes.
29908 (__backtrace): Completely initialize arg.
29909
1af4e298 29910 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29911 storing incomplete byte sequence in state object. Avoid testing for
29912 guaranteed too small input if we know there is enough data available.
1af4e298 29913
da62f81b
AS
299142011-05-11 Andreas Schwab <schwab@redhat.com>
29915
29916 * Makeconfig (+link-pie): Indent.
29917 * Rules (binaries-pie): Define if $(have-fpie) and
29918 $(build-shared).
29919 (binaries-shared): Also filter out $(binaries-pie).
29920 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29921 * nscd/Makefile (others-pie): Add nscd.
29922 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29923 ($(objpfx)nscd): Remove command override.
29924 * login/Makefile (others-pie): Add pt_chown.
29925 ($(objpfx)pt_chown): Remove command override.
29926 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29927 remove command overrides.
29928
fcabc0f8
UD
299292011-05-13 Ulrich Drepper <drepper@gmail.com>
29930
20030ae6
UD
29931 * libio/tst_putwc.c: Fix error messages.
29932
fcabc0f8
UD
29933 [BZ #12724]
29934 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29935 currently writing and seek to current position when not.
29936 * libio/Makefile (tests): Add bug-fclose1.
29937 * libio/bug-fclose1.c: New file.
29938
320a5dc0
PB
299392011-05-12 Ulrich Drepper <drepper@gmail.com>
29940
29941 [BZ #12511]
29942 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29943 don't set DF_1_NODELETE here.
29944 (do_lookup_x): When entering new entry test for copy relocation
29945 and if necessary set DF_1_NODELETE flag.
29946 * elf/tst-unique4.cc: New file.
29947 * elf/tst-unique4.h: New file.
29948 * elf/tst-unique4lib.cc: New file.
29949 * elf/Makefile: Add rules to build and run tst-unique4.
29950 Patch by Piotr Bury <pbury@goahead.com>.
29951
22836f52
UD
299522011-05-11 Ulrich Drepper <drepper@gmail.com>
29953
f574184a
UD
29954 [BZ #12052]
29955 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29956
e1fb097f
UD
29957 [BZ #12625]
29958 * misc/mntent_r.c (addmntent): Flush the stream after the output
29959
22836f52
UD
29960 [BZ #12393]
29961 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29962 (is_trusted_path_normalize): Skip initial colon. Append slash
29963 to empty buffer. Duplicate is_trusted_path code but allow
29964 constructed patch to be prefix.
29965 (is_dst): Allow $ORIGIN followed by /.
29966 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29967 Correct testing of result of is_trusted_path_normalize
29968 (decompose_rpath): Fix warning.
29969
7b3b0b2a
UD
299702011-05-10 Ulrich Drepper <drepper@gmail.com>
29971
29972 [BZ #11257]
29973 * grp/initgroups.c (internal_getgrouplist): When we found the service
29974 list through the initgroups entry in nsswitch.conf do not always
29975 continue on a successful lookup. Don't always use the
eac80ce2 29976 __nss_group_database value if it is set.
7b3b0b2a
UD
29977 * nss/nsswitch.conf (initgroups): Change action for successful db
29978 lookup to continue for compatibility.
29979
2a81eaa5
UD
299802011-05-09 Ulrich Drepper <drepper@gmail.com>
29981
be97a69e
UD
29982 [BZ #11532]
29983 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29984 and CP774 modules.
29985 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29986 and CP774 modules.
29987 * iconvdata/tst-tables.sh: Likewise.
29988 * iconvdata/cp770.c: New file.
29989 * iconvdata/cp771.c: New file.
29990 * iconvdata/cp772.c: New file.
29991 * iconvdata/cp773.c: New file.
29992 * iconvdata/cp774.c: New file.
29993 * iconvdata/testdata/CP770: New file.
29994 * iconvdata/testdata/CP770..UTF8: New file.
29995 * iconvdata/testdata/CP771: New file.
29996 * iconvdata/testdata/CP771..UTF8: New file.
29997 * iconvdata/testdata/CP772: New file.
29998 * iconvdata/testdata/CP772..UTF8: New file.
29999 * iconvdata/testdata/CP773: New file.
30000 * iconvdata/testdata/CP773..UTF8: New file.
30001 * iconvdata/testdata/CP774: New file.
30002 * iconvdata/testdata/CP774..UTF8: New file.
30003
30004 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30005 END CHARMAP line.
30006 * iconvdata/gen-8bit-gap.sh: Likewise.
30007 * iconvdata/gen-8bit.sh: Likewise.
30008
c1e9e399
UD
30009 * locale/iso-639.def: Add ary entry.
30010
24c55fb3 30011 [BZ #11258]
96b4b1b0
UD
30012 * locale/C-translit.h.in: Add U20A1 transliteration.
30013
bdc2f971
KB
30014 [BZ #12178]
30015 * locale/iso-639.def: Add wae entry.
30016 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30017
2952b117
UD
30018 [BZ #12545]
30019 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30020 for n.
30021
2a81eaa5
UD
30022 [BZ #12711]
30023 * locale/C-translit.h.in: Add entry for U20B9.
30024 Patch by pravin.d.s@gmail.com.
30025
28377d1b
UD
300262011-05-08 Ulrich Drepper <drepper@gmail.com>
30027
7fb90fb8
UD
30028 [BZ #12713]
30029 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30030 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30031 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30032 in rtld. Use *stat64.
7fb90fb8 30033 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30034 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30035 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30036 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30037 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30038 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30039 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30040 __fstatat64 macros.
7fb90fb8
UD
30041 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30042 * dirent/rewinddir.c: Add libc_hidden_def.
30043 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30044 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30045
28377d1b
UD
30046 * include/dirent.h (__alloc_dir): Add flags parameter.
30047 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30048 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30049 __alloc_dir.
30050 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30051 from fdopendir if O_CLOEXEC is already set.
30052
66bdbaa4
AM
300532011-03-15 Alan Modra <amodra@gmail.com>
30054
30055 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30056 l_tls_firstbyte_offset non-zero. Save padding offset in
30057 l_tls_firstbyte_offset for later use.
30058 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30059 freeing static tls block.
30060
95721191
JN
300612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30062
30063 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30064 where #ifdef was intended. The intent is to prevent ARG_MAX from
30065 being defined by the kernel headers.
30066
f87dfb1f
UD
300672011-05-07 Ulrich Drepper <drepper@gmail.com>
30068
30069 [BZ #12734]
30070 * resolv/resolv.h: Define RES_NOTLDQUERY.
30071 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30072 no-tld-query and set RES_NOTLDQUERY.
30073 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30074 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30075 modern BIND to search name as TLD unless forbidden.
30076
47c3cd7a
UD
300772011-05-07 Petr Baudis <pasky@suse.cz>
30078 Ulrich Drepper <drepper@gmail.com>
30079
30080 [BZ #12393]
30081 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30082 (is_trusted_path): ...to here.
c1e9ea35 30083 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30084 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30085 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30086
8a35c912
PP
300872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30088
30089 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30090 __BEGIN/__END_DECLS.
30091
acd41f47
UD
300922011-05-06 Ulrich Drepper <drepper@gmail.com>
30093
30094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30095 NSS_STATUS_NOTFOUND if no record was found.
30096
597df647
AS
300972011-05-05 Andreas Schwab <schwab@redhat.com>
30098
30099 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30100 (headers-not-in-tirpc): Remove rpc/netdb.h
30101 * resolv/netdb.h: Revert last change.
30102
b9af1301
PP
301032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30104
30105 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30106 circular dependency between libgcc.a and libc.a.
30107
4e34d5f5
AS
301082011-05-05 Andreas Schwab <schwab@redhat.com>
30109
30110 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30111 * nis/Makefile: Don't install rpcsvc/*.
30112 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30113 instead of <rpc/types.h>.
30114 (MAXHOSTNAMELEN): Define.
30115
00ee369c
AS
301162011-05-03 Andreas Schwab <schwab@redhat.com>
30117
30118 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30119
0b592a30
MB
301202011-04-28 Maciej Babinski <mbabinski@google.com>
30121
30122 [BZ #12714]
30123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30124 gethostbyname4_r when IPv6 results are possible.
30125
6e04cbbe
UD
301262011-05-02 Ulrich Drepper <drepper@gmail.com>
30127
30128 [BZ #12723]
30129 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30130 _PC_PIPE_BUF handling.
30131
e4ecafe0
BH
301322011-04-30 Bruno Haible <bruno@clisp.org>
30133
30134 [BZ #12717]
30135 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30136 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30137 to 'int'.
30138 * inet/getnameinfo.c (getnameinfo): Likewise.
30139
125ee683
UD
301402011-04-29 Ulrich Drepper <drepper@gmail.com>
30141
30142 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30143 to groups setting in database lookup.
30144 * nss/nsswitch.conf: Add initgroups entry.
30145
b722481a
EB
301462011-04-22 Ulrich Drepper <drepper@gmail.com>
30147
30148 [BZ #12685]
30149 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30150 mode string.
30151 Patch by Eric Blake <eblake@redhat.com>.
30152
4df46dbd
L
301532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30154
30155 * sunrpc/Makefile (need-export-routines): Add svc_run.
30156 (routines): Remove svc_run.
30157 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30158 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30159 * sunrpc/svc_run.c (svc_run): Likewise.
30160 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30161
e84142d2
UD
301622011-04-21 Ulrich Drepper <drepper@gmail.com>
30163
30164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30165 problem in reallocation in last patch.
30166
877175d8
UD
301672011-04-20 Ulrich Drepper <drepper@gmail.com>
30168
30169 * sunrpc/Makefile: Move inclusion of Rules.
30170
ab8eed78
UD
301712011-04-19 Ulrich Drepper <drepper@gmail.com>
30172
30173 * nss/nss_files/files-initgroups.c: New file.
30174 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30175 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30176 _nss_files_initgroups_dyn.
30177
e3d8f584
RS
301782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30179
30180 * elf/elf.h (R_ARM_IRELATIVE): Define.
30181
af190f45
UD
301822011-04-19 Ulrich Drepper <drepper@gmail.com>
30183
30184 * po/ru.po: Update from translation team.
30185
53cf59ef
UD
301862011-04-17 Ulrich Drepper <drepper@gmail.com>
30187
30188 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30189 dependencies.
30190
4c559bcd
MF
301912011-02-06 Mike Frysinger <vapier@gentoo.org>
30192
30193 [BZ #12653]
30194 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30195 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30198 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30199
4420675c
AS
302002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30201
30202 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30203 differing bytes.
30204 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30207
75ea32ab
UD
302082011-04-17 Ulrich Drepper <drepper@gmail.com>
30209
30210 [BZ #12420]
30211 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30212 storing it.
30213 * stdlib/bug-getcontext.c: New file.
30214 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30215
27390476
AK
302162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30217
30218 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30219 instructions into .machine "z9-109".
30220 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30221 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30222
10442705
AK
302232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30224
30225 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30226 between environment variables and auxiliary vector.
30227
7b57bfe5
UD
302282011-04-16 Ulrich Drepper <drepper@gmail.com>
30229
30230 * Makefile: Add rules to build linkobj/libc.so.
30231 * include/libc-symbols.h: Define libc_hidden_nolink.
30232 * include/rpc/auth.h: Mark functions which are to be hidden.
30233 * include/rpc/auth_des.h: Likewise.
30234 * include/rpc/auth_unix.h: Likewise.
30235 * include/rpc/clnt.h: Likewise.
30236 * include/rpc/des_crypt.h: Likewise.
30237 * include/rpc/key_prot.h: Likewise.
30238 * include/rpc/pmap_clnt.h: Likewise.
30239 * include/rpc/pmap_prot.h: Likewise.
30240 * include/rpc/pmap_rmt.h: Likewise.
30241 * include/rpc/rpc_msg.h: Likewise.
30242 * include/rpc/svc.h: Likewise.
30243 * include/rpc/svc_auth.h: Likewise.
30244 * include/rpc/xdr.h: Likewise.
30245 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30246 * nss/Makefile: Likewise.
30247 * sunrpc/Makefile: Don't install headers. Build library with normal
30248 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30249 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30250 for the compat linking library. Remove use of INTDEF/INTUSE.
30251 * sunrpc/auth_none.c: Likewise.
30252 * sunrpc/auth_unix.c: Likewise.
30253 * sunrpc/authdes_prot.c: Likewise.
30254 * sunrpc/authuxprot.c: Likewise.
30255 * sunrpc/clnt_gen.c: Likewise.
30256 * sunrpc/clnt_perr.c: Likewise.
30257 * sunrpc/clnt_raw.c: Likewise.
30258 * sunrpc/clnt_simp.c: Likewise.
30259 * sunrpc/clnt_tcp.c: Likewise.
30260 * sunrpc/clnt_udp.c: Likewise.
30261 * sunrpc/clnt_unix.c: Likewise.
30262 * sunrpc/des_crypt.c: Likewise.
30263 * sunrpc/des_soft.c: Likewise.
30264 * sunrpc/get_myaddr.c: Likewise.
30265 * sunrpc/key_call.c: Likewise.
30266 * sunrpc/key_prot.c: Likewise.
30267 * sunrpc/netname.c: Likewise.
30268 * sunrpc/pm_getmaps.c: Likewise.
30269 * sunrpc/pm_getport.c: Likewise.
30270 * sunrpc/pmap_clnt.c: Likewise.
30271 * sunrpc/pmap_prot.c: Likewise.
30272 * sunrpc/pmap_prot2.c: Likewise.
30273 * sunrpc/pmap_rmt.c: Likewise.
30274 * sunrpc/publickey.c: Likewise.
30275 * sunrpc/rpc_cmsg.c: Likewise.
30276 * sunrpc/rpc_common.c: Likewise.
30277 * sunrpc/rpc_dtable.c: Likewise.
30278 * sunrpc/rpc_prot.c: Likewise.
30279 * sunrpc/rpc_thread.c: Likewise.
30280 * sunrpc/rtime.c: Likewise.
30281 * sunrpc/svc.c: Likewise.
30282 * sunrpc/svc_auth.c: Likewise.
30283 * sunrpc/svc_authux.c: Likewise.
30284 * sunrpc/svc_raw.c: Likewise.
30285 * sunrpc/svc_run.c: Likewise.
30286 * sunrpc/svc_simple.c: Likewise.
30287 * sunrpc/svc_tcp.c: Likewise.
30288 * sunrpc/svc_udp.c: Likewise.
30289 * sunrpc/svc_unix.c: Likewise.
30290 * sunrpc/svcauth_des.c: Likewise.
30291 * sunrpc/xcrypt.c: Likewise.
30292 * sunrpc/xdr.c: Likewise.
30293 * sunrpc/xdr_array.c: Likewise.
30294 * sunrpc/xdr_float.c: Likewise.
30295 * sunrpc/xdr_intXX_t.c: Likewise.
30296 * sunrpc/xdr_mem.c: Likewise.
30297 * sunrpc/xdr_rec.c: Likewise.
30298 * sunrpc/xdr_ref.c: Likewise.
30299 * sunrpc/xdr_sizeof.c: Likewise.
30300 * sunrpc/xdr_stdio.c: Likewise.
30301
e6c61494
UD
303022011-04-10 Ulrich Drepper <drepper@gmail.com>
30303
30304 [BZ #12650]
30305 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30306 * sysdeps/ia64/dl-tls.h: Likewise.
30307 * sysdeps/powerpc/dl-tls.h: Likewise.
30308 * sysdeps/s390/dl-tls.h: Likewise.
30309 * sysdeps/sh/dl-tls.h: Likewise.
30310 * sysdeps/sparc/dl-tls.h: Likewise.
30311 * sysdeps/x86_64/dl-tls.h: Likewise.
30312 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30313
34fe483e
AS
303142011-03-14 Andreas Schwab <schwab@redhat.com>
30315
30316 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30317 rpath element also skip the following colon.
30318 (expand_dynamic_string_token): Add is_path parameter and pass
30319 down to DL_DST_REQUIRED and _dl_dst_substitute.
30320 (decompose_rpath): Call expand_dynamic_string_token with
30321 non-zero is_path. Ignore empty rpaths.
30322 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30323 with zero is_path.
30324
f12a32e6
AS
303252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30326
30327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30328 Make cancelable.
30329
38a7d692
UD
303302011-04-09 Ulrich Drepper <drepper@gmail.com>
30331
30332 [BZ #12655]
30333 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30334 Patch by Filipe David Manana <fdmanana@apache.org>.
30335
e451d22b
AS
303362011-04-07 Andreas Schwab <schwab@redhat.com>
30337
30338 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30339 Maintain aligned stack.
30340 (CHECK_RSP): Remove unused macro.
30341
dedc7c7b
UD
303422011-04-03 Ulrich Drepper <drepper@gmail.com>
30343
30344 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30345 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30346
94521213
UD
303472011-04-02 Ulrich Drepper <drepper@gmail.com>
30348
30349 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30350
8cb700c0 30351 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30352
0354e355
L
303532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30354
30355 [BZ #12518]
30356 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30357 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30358 * sysdeps/x86_64/memmove.c: New file.
30359 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30360 (memcpy): Renamed to ...
30361 (__new_memcpy): This.
30362 (memcpy): Provide GLIBC_2_14 memcpy.
30363 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30364 (memcpy): Provide GLIBC_2_2_5 memcpy.
30365
8593482f
UD
303662011-04-01 Ulrich Drepper <drepper@gmail.com>
30367
30368 [BZ #12631]
30369 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30370
81a5726b
AS
303712011-03-30 Andreas Schwab <schwab@redhat.com>
30372
30373 * misc/syncfs.c: New file.
30374 * misc/Makefile (routines): Add syncfs.
30375 * posix/unistd.h: Declare syncfs.
30376 * sysdeps/unix/syscalls.list: Add syncfs.
30377
00e5419f
AS
303782011-04-01 Andreas Schwab <schwab@redhat.com>
30379
30380 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30381 open_by_handle_at.
30382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30383 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30387 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30389
748876bf
UD
303902011-04-01 Ulrich Drepper <drepper@gmail.com>
30391
658e451d
UD
30392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30394 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30395 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30396 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30399
748876bf
UD
30400 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30401 sync_file_range.c with -fexceptions.
30402 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30403 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30404 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30405 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30406 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30407 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30409 sync_file_range as cancellation point
30410 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30411 now a wrapper around __call_sync_file_range with cancellation handling.
30412 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30413 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30414 function name to __call_sync_file_range.
30415 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30416 Add call_sync_file_range.
748876bf 30417
6e63d5e1
AS
304182011-04-01 Andreas Schwab <schwab@redhat.com>
30419
30420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30421 bits/timex.h.
6e63d5e1 30422
46998f74
UD
304232011-04-01 Ulrich Drepper <drepper@gmail.com>
30424
4c1423ed
UD
30425 * iconv/iconv.h: Fix typo in comment.
30426 * io/fcntl.h: Likewise.
30427 * libio/stdio.h: Likewise.
30428 * posix/spawn.h: Likewise.
30429 * posix/unistd.h: Likewise.
30430 * stdlib/stdlib.h: Likewise.
30431 * time/time.h: Likewise.
30432 * wcsmbs/wchar.h: Likewise.
30433
158648c0
UD
30434 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30435 open_by_handle): Add.
30436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30437 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30438 Augment a few comments.
30439 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30440 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30441 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30444 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30445 open_by_handle.
30446
46998f74
UD
30447 * io/fcntl.h (AT_EMPTY_PATH): Define.
30448
83fe108b
UD
304492011-03-30 Ulrich Drepper <drepper@gmail.com>
30450
30451 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30452 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30453 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30454 to...
30455 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30456 * Versions.def: Add GLIBC_2.14.
30457 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30458 Export.
83fe108b 30459
bb242059
UD
304602011-03-22 Ulrich Drepper <drepper@gmail.com>
30461
30462 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30463 round counter.
30464 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30465
c97a1282
L
304662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 [BZ #12597]
30469 * string/test-strncmp.c (do_page_test): New function.
30470 (check2): Likewise.
30471 (test_main): Call check2.
30472 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30473
2a115601
UD
304742011-03-20 Ulrich Drepper <drepper@gmail.com>
30475
30476 [BZ #12587]
30477 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30478 Handle cache information in CPU leaf 4.
30479 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30480
8126d904
UD
304812011-03-18 Ulrich Drepper <drepper@gmail.com>
30482
042c49c6 30483 [BZ #12583]
8126d904
UD
30484 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30485 character representation.
30486 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30487
ccfe366e
RA
304882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30489
30490 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30491 END(__isnan) to END(__isnanf) to match function entry point/label
30492 EALIGN(__isnanf,...).
30493
c6e13027
JJ
304942011-03-10 Jakub Jelinek <jakub@redhat.com>
30495
30496 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30497
33f85a3f
UD
304982011-03-10 Ulrich Drepper <drepper@gmail.com>
30499
028478fa
UD
30500 [BZ #12510]
30501 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30502 copy from the symbol referenced in the relocation to initialize the
30503 used variable.
30504 Patch by Piotr Bury <pbury@goahead.com>.
30505 * elf/Makefile: Add rules to build and tst-unique3.
30506 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30507 * elf/tst-unique3.cc: New file.
30508 * elf/tst-unique3.h: New file.
30509 * elf/tst-unique3lib.cc: New file.
30510 * elf/tst-unique3lib2.cc: New file.
30511
33f85a3f
UD
30512 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30513
03592fc7
MF
305142011-03-10 Mike Frysinger <vapier@gentoo.org>
30515
30516 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30517 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30518 to _start.
03592fc7 30519
6a5ee102
UD
305202011-03-06 Ulrich Drepper <drepper@gmail.com>
30521
30522 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30523 to-be-loaded object along a path to loader is ld.so.
30524
7e4ba49c
HJ
305252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30526 Ulrich Drepper <drepper@gmail.com>
30527
30528 * sysdeps/x86_64/memset.S: After aligning destination, code
30529 branches to different locations depending on the value of
30530 misalignment, when multiarch is enabled. Fix this.
30531
305322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30533
30534 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30535 Set _x86_64_preferred_memory_instruction for AMD processsors.
30536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30537 Set bit_Prefer_SSE_for_memop for AMD processors.
30538
13a804de
UD
305392011-03-04 Ulrich Drepper <drepper@gmail.com>
30540
30541 * libio/fmemopen.c (fmemopen): Optimize a bit.
30542
9d25c392
AS
305432011-03-03 Andreas Schwab <schwab@redhat.com>
30544
30545 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30546
a5543c6a
RM
305472011-03-03 Roland McGrath <roland@redhat.com>
30548
30549 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30550
012d35f7
DM
305512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30552
7e4ba49c 30553 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30554 __bzero_ultra1 instead of __memset_ultra1.
30555
4bff6e01
AS
305562011-02-23 Andreas Schwab <schwab@redhat.com>
30557 Ulrich Drepper <drepper@gmail.com>
30558
30559 [BZ #12509]
30560 * include/link.h (struct link_map): Add l_orig_initfini.
30561 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30562 returning unsuccessfully.
30563 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30564 close of a file loaded at startup, restore the original l_initfini
30565 list.
30566 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30567 list, store the pointer.
30568 * elf/Makefile ($(objpfx)noload-mem): New rule.
30569 (noload-ENV): Define.
30570 (tests): Add $(objpfx)noload-mem.
30571 * elf/noload.c: Include <memcheck.h>.
30572 (main): Call mtrace. Close all opened handles.
30573
f2092faf
AS
305742011-02-17 Andreas Schwab <schwab@redhat.com>
30575
30576 [BZ #12454]
30577 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30578 dependencies are missing.
30579
6c8a2e88
ST
305802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30581
f2092faf 30582 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30583 Hurd needs munmap.
30584 * sysdeps/mach/hurd/ifreq.h: New file.
30585
84a42118
PB
305862011-01-27 Petr Baudis <pasky@suse.cz>
30587 Ulrich Drepper <drepper@gmail.com>
30588
071f805e 30589 [BZ 12445]#
84a42118
PB
30590 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30591 to extend_alloca().
30592 * stdio-common/bug23.c: New file.
30593 * stdio-common/Makefile (tests): Add bug23.
30594
e23fe25b
AS
305952010-09-28 Andreas Schwab <schwab@redhat.com>
30596 Ulrich Drepper <drepper@gmail.com>
30597
30598 [BZ #12489]
30599 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30600 before performing relro protection. At old place add assertion
30601 to make sure nothing changed.
30602
d3f02e10
NS
306032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30604 Glauber de Oliveira Costa <glommer@gmail.com>
30605
30606 * elf/elf.h: Add new ARM TLS relocs.
30607
d55fd7a5
RA
306082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30609
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30611 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30612 cast from r3.
30613 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30614 'tests' variable.
30615 * sysdeps/wordsize-64/tst-writev.c: New file.
30616
2206397e
RA
306172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30618
30619 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30620 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30621 insns in _dl_start to prevent a TOC reference before relocs are
30622 resolved.
30623
e9433893
UD
306242011-02-15 Ulrich Drepper <drepper@gmail.com>
30625
30626 [BZ #12469]
30627 * Makeconfig: Remove RANLIB definition.
30628 * Makerules: Don't use RANLIB.
30629 * aclocal.m4: Remove ranlib test.
30630 * configure.in: No need to check for ranlib.
30631 * elf/rtld-Rules: Don't use RANLIB.
30632
f75286c6
ST
306332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30634
8e31c82d
ST
30635 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30636 protection macro.
30637 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30638 inclusion protection macro.
30639
f75286c6
ST
30640 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30641 SIGRTMIN and SIGRTMAX and print information in that case only when
30642 SIGRTMIN is defined.
30643
c1d0e639
JJ
306442011-02-11 Jakub Jelinek <jakub@redhat.com>
30645
30646 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30647 arginfo fn returning -1.
30648
30649 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30650 and thousands string is zero terminated.
30651
edf9294e
AS
306522011-02-03 Andreas Schwab <schwab@redhat.com>
30653
30654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30655 sysdeps/unix/sysv/linux/bits/socket.h.
30656
2b7e92df
ST
306572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30658
edf9294e
AS
30659 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30660 (__CPU_COUNT): Remove old macros.
30661 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30662 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30663 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30664 (__sched_cpualloc, __sched_cpufree): Add declarations.
30665
a4c7ea7b
UD
306662011-02-05 Ulrich Drepper <drepper@gmail.com>
30667
30668 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30669 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30670 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30671 (readdhstai): Return value of addhstaiX call.
30672 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30673 (addgrbyX): Return value returned by cache_addgr.
30674 (readdgrbyname): Return value returned by addgrbyX.
30675 (readdgrbygid): Likewise.
30676 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30677 (addpwbyX): Return value returned by cache_addpw.
30678 (readdpwbyname): Return value returned by addhstbyX.
30679 (readdpwbyuid): Likewise.
30680 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30681 (addservbyX): Return value returned by cache_addserv.
30682 (readdservbyname): Return value returned by addservbyX:
30683 (readdservbyport): Likewise.
30684 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30685 (addhstbyX): Return value returned by cache_addhst.
30686 (readdhstbyname): Return value returned by addhstbyX.
30687 (readdhstbyaddr): Likewise.
30688 (readdhstbynamev6): Likewise.
30689 (readdhstbyaddrv6): Likewise.
30690 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30691 (readdinitgroups): Return value returned by addinitgroupsX.
30692 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30693 (prune_cache): Keep track of timeout value of re-added entries.
30694 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30695 * nscd/nscd.h: Adjust prototypes of readd* functions.
30696
a0bf67cc
RM
306972011-02-04 Roland McGrath <roland@redhat.com>
30698
30699 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30700 (nis_stats): Likewise.
30701 * nis/nis_modify.c (nis_modify): Likewise.
30702 * nis/nis_remove.c (nis_remove): Likewise.
30703 * nis/nis_add.c (nis_add): Likewise.
30704
30705 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30706
30707 * posix/fnmatch_loop.c: Add some consts.
30708
30709 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30710
435b95eb
L
307112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30712
30713 [BZ #12460]
30714 * config.make.in (config-cflags-novzeroupper): Define.
30715 * configure.in: Substitute libc_cv_cc_novzeroupper.
30716 * elf/Makefile (AVX-CFLAGS): Define.
30717 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30718 (CFLAGS-tst-auditmod4a.c): Likewise.
30719 (CFLAGS-tst-auditmod4b.c): Likewise.
30720 (CFLAGS-tst-auditmod6b.c): Likewise.
30721 (CFLAGS-tst-auditmod6c.c): Likewise.
30722 (CFLAGS-tst-auditmod7b.c): Likewise.
30723 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30724
8517b15e
UD
307252011-02-02 Ulrich Drepper <drepper@gmail.com>
30726
30727 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30728 function to the callback.
30729 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30730
10a656fe
AS
307312011-02-02 Andreas Schwab <schwab@redhat.com>
30732
30733 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30734 of errno.
30735
968dad0a
UD
307362011-01-19 Ulrich Drepper <drepper@gmail.com>
30737
9f94d2ea 30738 [BZ #11724]
968dad0a
UD
30739 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30740 of constructors.
30741 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30742 of destructors.
30743 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30744
30745 [BZ #11724]
30746 * elf/Makefile: Add rules to build and run new test.
30747 * elf/tst-initorder.c: New file.
30748 * elf/tst-initorder.exp: New file.
30749 * elf/tst-initordera1.c: New file.
30750 * elf/tst-initordera2.c: New file.
30751 * elf/tst-initordera3.c: New file.
30752 * elf/tst-initordera4.c: New file.
30753 * elf/tst-initorderb1.c: New file.
30754 * elf/tst-initorderb2.c: New file.
30755 * elf/tst-order-a1.c: New file.
30756 * elf/tst-order-a2.c: New file.
30757 * elf/tst-order-a3.c: New file.
30758 * elf/tst-order-a4.c: New file.
30759 * elf/tst-order-b1.c: New file.
30760 * elf/tst-order-b2.c: New file.
30761 * elf/tst-order-main.c: New file.
30762 New test case by George Gensure <werkt0@gmail.com>.
30763
86e92359
UD
307642010-10-01 Andreas Schwab <schwab@redhat.com>
30765
30766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30767 decoding ACE if AI_CANONIDN.
30768
5d5732b0
UD
307692011-01-18 Ulrich Drepper <drepper@gmail.com>
30770
30771 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30772
a77e8cbc
UD
307732011-01-17 Ulrich Drepper <drepper@gmail.com>
30774
6392473f
UD
30775 * version.h (RELEASE): Bump for 2.13 release.
30776 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30777
620a0529
UD
30778 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30779
18ba70a5
UD
30780 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30781 MADV_NOHUGEPAGE.
32465c3e
UD
30782 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30783 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30784 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30785 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30786 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30787 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30788
c0dafcf1
UD
30789 * posix/getconf.c: Update copyright year.
30790 * catgets/gencat.c: Likewise.
30791 * csu/version.c: Likewise.
30792 * debug/catchsegv.sh: Likewise.
30793 * debug/xtrace.sh: Likewise.
30794 * elf/ldconfig.c: Likewise.
30795 * elf/ldd.bash.in: Likewise.
30796 * elf/sprof.c (print_version): Likewise.
30797 * iconv/iconv_prog.c: Likewise.
30798 * iconv/iconvconfig.c: Likewise.
30799 * locale/programs/locale.c: Likewise.
30800 * locale/programs/localedef.c: Likewise.
30801 * malloc/memusage.sh: Likewise.
30802 * malloc/mtrace.pl: Likewise.
30803 * nscd/nscd.c (print_version): Likewise.
30804 * nss/getent.c: Likewise.
30805
a77e8cbc
UD
30806 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30807 PF_CAIF, and PF_ALG.
30808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30809
77e8bddf
AS
308102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30811
1f20b93a
AS
30812 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30813 (modules-names): Use them.
30814 (ifunc-test-modules, ifunc-pie-tests): Define.
30815 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30816 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30817 (test-extras): Likewise.
30818 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30819 $(compile-command.c).
30820 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30821 (all-built-dso): Define.
30822 (check-textrel.out, check-execstack.out): Depend on it.
30823
77e8bddf
AS
30824 * configure.in: Don't override --enable-multi-arch.
30825
bc425b33
UD
308262011-01-15 Ulrich Drepper <drepper@gmail.com>
30827
30828 [BZ #6812]
30829 * nscd/hstcache.c (tryagain): Define.
30830 (cache_addhst): Return tryagain not notfound for temporary errors.
30831 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30832 failed.
30833
794c3ad3
UD
308342011-01-14 Ulrich Drepper <drepper@gmail.com>
30835
70181fdd
UD
30836 [BZ #10563]
30837 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30838 to make the syscall.
30839 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30840
794c3ad3
UD
30841 [BZ #12378]
30842 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30843 and fall back to matching as normal character if the string ends before
30844 the matching ']' is found. This is what POSIX requires.
30845 * posix/testfnm.c: Adjust test result.
30846 * posix/globtest.sh: Adjust test result. Add new test.
30847 * posix/tst-fnmatch.input: Likewise.
30848 * posix/tst-fnmatch2.c: Add new test.
30849
68dc9497
AS
308502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30851
30852 * elf/Makefile (check-execstack): Revert last change. Depend on
30853 check-execstack.h.
30854 (check-execstack.h): New target.
30855 (generated): Add check-execstack.h.
30856 * elf/check-execstack.c: Include "check-execstack.h".
30857 (main): Revert last change.
30858 (handle_file): Return zero if GNU_STACK is absent and
30859 DEFAULT_STACK_PERMS doesn't include PF_X.
30860
451f001b
UD
308612011-01-13 Ulrich Drepper <drepper@gmail.com>
30862
cfa28e56
UD
30863 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30864 in child fails because the descriptor is already closed.
8cf8ce17
UD
30865 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30866 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30867 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30868
1086d70d
UD
30869 [BZ #12397]
30870 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30871 syscall.
30872
451f001b
UD
30873 [BZ #10484]
30874 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30875 temporary buffer used to handle multi lookups locally.
a85b5cb4 30876 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30877
08769175
UD
308782011-01-12 Ulrich Drepper <drepper@gmail.com>
30879
30880 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30881 loader is ld.so.
30882
5e49c52e
UD
308832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30884
30885 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30886 alignment for SSE2.
30887
60522a5f
UD
308882011-01-12 Ulrich Drepper <drepper@gmail.com>
30889
30890 [BZ #12394]
30891 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30892 characters. When rounding increased number of integer digits recompute
30893 number of groups.
30894 * stdio-common/tst-grouping.c: New file.
30895 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30896
f257bbd7
UD
308972011-01-09 Ulrich Drepper <drepper@gmail.com>
30898
30899 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30900 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30901
30902 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30903 void.
30904 * bits/select.h: Likewise.
30905
fa9c15cb
UD
309062011-01-08 Ulrich Drepper <drepper@gmail.com>
30907
30908 * po/ja.po: Update from translation team.
30909
16c2895f
DM
309102011-01-04 David S. Miller <davem@sunset.davemloft.net>
30911
30912 [BZ #11155]
30913 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30914 implementation just like for lxstat, fxstatat, et al.
30915
2543fef2
JM
309162010-12-27 Jim Meyering <meyering@redhat.com>
30917
30918 [BZ #12348]
30919 * posix/regexec.c (build_trtable): Return failure indication upon
30920 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30921
98727dbe
UD
309222010-12-25 Ulrich Drepper <drepper@gmail.com>
30923
5bd6dc5c
UD
30924 [BZ #12201]
30925 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30926 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30927 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30928 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30929
97983464
UD
30930 [BZ #12207]
30931 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30932
98727dbe
UD
30933 [BZ #12204]
30934 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30935 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30936
4a531bb0
L
309372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30938
30939 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30940 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30941 script has SORT_BY_INIT_PRIORITY.
30942 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30943 NO_CTORS_DTORS_SECTIONS is defined.
30944 * elf/soinit.c: Likewise.
30945 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30946 NO_CTORS_DTORS_SECTIONS is defined.
30947 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30948 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30949 * sysdeps/sh/init-first.c: Likewise.
30950 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30951
07eb4b71
UD
309522010-12-24 Ulrich Drepper <drepper@gmail.com>
30953
30954 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30955 always use the slow path.
30956
30950a5f
RA
309572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30958
30959 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30960 similar rule which adds the sysdep directories to the header search in
30961 order to pick up the correct platform stackinfo.h.
30962 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30963 perform test if it is, otherwise return successfully without testing.
30964 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30965 DEFAULT_STACK_PERMS define in stackinfo.h.
30966 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30967 defined in stackinfo.h.
30968 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30969 DEFAULT_STACK_PERMS defined in stackinfo.h.
30970 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30971 * sysdeps/ia64/stackinfo.h: Likewise.
30972 * sysdeps/s390/stackinfo.h: Likewise.
30973 * sysdeps/sh/stackinfo.h: Likewise.
30974 * sysdeps/sparc/stackinfo.h: Likewise.
30975 * sysdeps/x86_64/stackinfo.h: Likewise.
30976 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30977 PF_X for powerpc64. Retain PF_X for powerpc32.
30978
db753e2c
UD
309792010-12-19 Ulrich Drepper <drepper@gmail.com>
30980
14b697f7
UD
30981 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30982 accurately.
db753e2c
UD
30983 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30984 GETDENTS_64BIT_ALIGNED.
30985
28300719
UD
309862010-12-14 Ulrich Drepper <dreper@gmail.com>
30987
14b697f7 30988 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30989
4f197237
AS
309902010-12-10 Andreas Schwab <schwab@redhat.com>
30991
dbb0472f
AS
30992 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30993 _GNU_SOURCE.
30994
4f197237
AS
30995 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30996 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30997 Remove __restrict.
30998 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30999 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31000
fb88ac72
UD
310012010-12-09 Ulrich Drepper <drepper@gmail.com>
31002
31003 [BZ #11655]
31004 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31005 are initialized.
31006
42acbb92
JJ
310072010-12-09 Jakub Jelinek <jakub@redhat.com>
31008
31009 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31010
c038d98d
UD
310112010-12-03 Ulrich Drepper <drepper@gmail.com>
31012
31013 * po/it.po: Update from translation team.
31014
3a4a2499
L
310152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31016
31017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31018 unused codes.
31019
1e24cf6e
UD
310202010-11-30 Ulrich Drepper <drepper@gmail.com>
31021
31022 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31023
a7690819
AS
310242010-11-24 Andreas Schwab <schwab@redhat.com>
31025
31026 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31027 specially.
31028 (gaih_getanswer_slice): Likewise.
31029
3bf8d1b1
JJ
310302010-10-20 Jakub Jelinek <jakub@redhat.com>
31031
31032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31033
6db52fbb
PB
310342010-05-31 Petr Baudis <pasky@suse.cz>
31035
31036 [BZ #11149]
31037 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31038 silently even in the chroot mode.
31039
eaca7569
UD
310402010-11-22 Ulrich Drepper <drepper@gmail.com>
31041
31042 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31043 last patch a bit. Pretty printing
31044
3056dcdb
UD
310452010-05-31 Petr Baudis <pasky@suse.cz>
31046
31047 [BZ #10085]
31048 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31049 initialization of skip_initgroups_dyn.
31050
cf7c9078
UD
310512010-11-19 Ulrich Drepper <drepper@gmail.com>
31052
31053 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31055
a1fb5e3e
UD
310562010-11-16 Ulrich Drepper <drepper@gmail.com>
31057
31058 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31059
3540d66b
AS
310602010-11-11 Andreas Schwab <schwab@redhat.com>
31061
31062 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31063 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31064 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31065 ($(objpfx)tst-fnmatch-mem): New rule.
31066 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31067 * posix/tst-fnmatch.c (main): Call mtrace.
31068
13b69574
L
310692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31070
31071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31072 Support Intel processor model 6 and model 0x2c.
31073
da93d214
LM
310742010-11-10 Luis Machado <luisgpm@br.ibm.com>
31075
31076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31077 signed comparison.
31078
8ca52c6e
L
310792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31080
31081 [BZ #12205]
31082 * string/test-strncasecmp.c (check_result): New function.
31083 (do_one_test): Use it.
31084 (check1): New function.
31085 (test_main): Use it.
31086 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31087 Support strcasecmp and strncasecmp.
31088
69da074d
UD
310892010-11-08 Ulrich Drepper <drepper@gmail.com>
31090
31091 [BZ #12194]
31092 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31094
ff02d528
L
310952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31096
31097 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31098 IFUNC support.
31099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31100 memset-x86-64.
31101 * sysdeps/x86_64/multiarch/bzero.S: New file.
31102 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31103 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31104 * sysdeps/x86_64/multiarch/memset.S: New file.
31105 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31107 Set bit_Prefer_SSE_for_memop for Intel processors.
31108 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31109 Define.
31110 (index_Prefer_SSE_for_memop): Define.
31111 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31112
344d0b54
LM
311132010-11-04 Luis Machado <luisgpm@br.ibm.com>
31114
31115 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31116 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31117
c0dde15b
UD
311182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31119
31120 [BZ #12191]
31121 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31122 (__x86_64_raw_data_cache_size_half): Likewise.
31123 (__x86_64_raw_shared_cache_size): Likewise.
31124 (__x86_64_raw_shared_cache_size_half): Likewise.
31125
31126 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31127 (__x86_64_raw_data_cache_size_half): Likewise.
31128 (__x86_64_raw_shared_cache_size): Likewise.
31129 (__x86_64_raw_shared_cache_size_half): Likewise.
31130 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31131 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31132 and __x86_64_raw_shared_cache_size_half. Round
31133 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31134 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31135 to multiple of 256 bytes.
31136
0e516e0e
MS
311372010-11-03 Ulrich Drepper <drepper@gmail.com>
31138
31139 [BZ #12167]
31140 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31141 of inacessible symlinks. Verify result of symlink before returning it.
31142 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31143 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31144
0e012e87
ER
311452010-10-28 Erich Ritz <erichritz@gmail.com>
31146
31147 * math/math.h (isinf): Fix typo in comment.
31148
de0ff7bc
UD
311492010-11-01 Ulrich Drepper <drepper@gmail.com>
31150
31151 * po/da.po: Update from translation team.
31152
fa41c84d
UD
311532010-10-26 Ulrich Drepper <drepper@gmail.com>
31154
31155 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31156 is added to the list.
31157
f0967738
AK
311582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31159 Ulrich Drepper <drepper@gmail.com>
31160
31161 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31162 the global list here. Move code to...
31163 (_dl_add_to_namespace_list): ...here. New function.
31164 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31165 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31166 * elf/dl-load.c (lose): Don't remove the element from the list.
31167 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31168 (_dl_map_object): Likewise.
31169
311702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31171
31172 [BZ #12159]
31173 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31174 into all bytes of SSE register.
31175 Patch by Richard Li <richardpku@gmail.com>.
31176
f0967738 311772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31178
31179 [BZ #12140]
31180 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31181 perturbing.
31182
d0b9e94f
MB
311832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31184
31185 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31186 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31187 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31188 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31190 submachine.
31191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31192
8e9f92e9
AS
311932010-10-22 Andreas Schwab <schwab@redhat.com>
31194
31195 * include/dlfcn.h (__RTLD_SECURE): Define.
31196 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31197 mode & __RTLD_SECURE instead.
31198 (open_path): Rename preloaded parameter to secure.
31199 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31200 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31201 * elf/dl-deps.c (openaux): Likewise.
31202 * elf/rtld.c (struct map_args): Remove is_preloaded.
31203 (map_doit): Don't use it.
31204 (dl_main): Likewise.
31205 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31206 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31207
bc96fbda
AS
312082010-09-09 Andreas Schwab <schwab@redhat.com>
31209
31210 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31211 (sysd-rules-targets): Remove duplicates.
31212 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31213 rtld-%.$o dependency.
31214
22cd1c9b
AS
312152010-10-18 Andreas Schwab <schwab@redhat.com>
31216
31217 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31218 _dl_map_object do it.
31219
18edac48
UD
312202010-10-19 Ulrich Drepper <drepper@gmail.com>
31221
31222 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31223 fast fma builtins, define the macros in the C99 standard.
31224 (FP_FAST_FMAF): Likewise.
31225 (FP_FAST_FMAL): Likewise.
31226 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31227
31228 * bits/mathdef.h: Update copyright year.
31229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31230
d2050124
MM
312312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31232
31233 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31234 builtins, define the macros in the C99 standard.
31235 (FP_FAST_FMAF): Likewise.
31236 (FP_FAST_FMAL): Likewise.
31237 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31238 multiply/add.
31239 (FP_FAST_FMAF): Likewise.
31240
475facd1
JJ
312412010-10-15 Jakub Jelinek <jakub@redhat.com>
31242
31243 [BZ #3268]
31244 * math/libm-test.inc (fma_test): Some new testcases.
31245 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31246 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31247 y and infinite z. Do multiplication by C already in long double.
31248 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31250 y and infinite z. Do bitwise or of inexact bit into u.d.
31251 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31252 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31253 * sysdeps/i386/fpu/s_fma.S: Removed.
31254 * sysdeps/i386/fpu/s_fmal.S: Removed.
31255
7c08a05c
JJ
312562010-10-16 Jakub Jelinek <jakub@redhat.com>
31257
31258 [BZ #3268]
31259 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31261 computation is not scheduled after fetestexcept. Fix value
31262 of minimum denormal long double.
31263
f3f7372d
JJ
312642010-10-14 Jakub Jelinek <jakub@redhat.com>
31265
31266 [BZ #3268]
31267 * math/libm-test.inc (fma_test): Add some more tests.
31268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31269 correctly.
31270
14d43591
AS
312712010-10-15 Andreas Schwab <schwab@redhat.com>
31272
31273 * scripts/data/localplt-s390-linux-gnu.data: New file.
31274 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31275
5e908464
JJ
312762010-10-13 Jakub Jelinek <jakub@redhat.com>
31277
31278 [BZ #3268]
31279 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31280 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31281 instead of dbl-64.
31282 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31283 inlines.
31284 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31286 if one of x and y is very large and the other is subnormal.
31287 * sysdeps/s390/fpu/s_fmaf.c: New file.
31288 * sysdeps/s390/fpu/s_fma.c: New file.
31289 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31290 * sysdeps/powerpc/fpu/s_fma.S: New file.
31291 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31292 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31293 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31294
312952010-10-12 Jakub Jelinek <jakub@redhat.com>
31296
31297 [BZ #3268]
31298 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31299 fma tests.
31300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31301 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31302 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31303 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31304 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31305 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31306 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31307
b833d51f
UD
313082010-10-12 Ulrich Drepper <drepper@redhat.com>
31309
31310 [BZ #12078]
31311 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31312 * posix/bug-regex31.input: Add test case.
31313
1751705d
UD
313142010-10-11 Ulrich Drepper <drepper@gmail.com>
31315
e9b9cbf5
UD
31316 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31317 * posix/bug-regex31.input: New file.
31318
31319 [BZ #12078]
31320 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31321 (parse_sub_exp): Fix last change, use postorder.
31322
ef06edbe
UD
31323 * posix/bug-regex31.c: New file.
31324 * posix/Makefile: Add rules to build and run bug-regex31.
31325
a129c80d
UD
31326 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31327
31328 [BZ #12078]
31329 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31330
b76b818e
UD
31331 [BZ #12108]
31332 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31333 to have entries in sys_siglist.
31334
1751705d
UD
31335 [BZ #12093]
31336 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31337 be NULL.
31338
9ff8d36f
JJ
313392010-10-07 Jakub Jelinek <jakub@redhat.com>
31340
31341 [BZ #3268]
31342 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31343 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31344 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31345 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31346 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31347 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31348 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31349 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31350 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31351 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31352 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31353 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31354 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31355 * math/ftestexcept.c (fetestexcept): Likewise.
31356 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31357 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31358 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31359 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31360 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31361 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31362 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31363
af325969
UD
313642010-10-11 Ulrich Drepper <drepper@gmail.com>
31365
c579b202 31366 [BZ #12107]
af325969
UD
31367 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31368 newline.
31369
67a67b95
UD
313702010-10-06 Ulrich Drepper <drepper@gmail.com>
31371
31372 * string/bug-strstr1.c: New file.
31373 * string/Makefile: Add rules to build and run bug-strstr1.
31374
5fb308bc
EB
313752010-10-05 Eric Blake <eblake@redhat.com>
31376
31377 [BZ #12092]
31378 * string/str-two-way.h (two_way_long_needle): Always clear memory
31379 when skipping input due to the shift table.
31380
45db99c7
UD
313812010-10-03 Ulrich Drepper <drepper@gmail.com>
31382
3b111893
UD
31383 [BZ #12005]
31384 * malloc/mcheck.c: Handle large requests.
31385
45db99c7
UD
31386 [BZ #12077]
31387 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31388 for strncmp and strncasecmp.
31389 * string/stratcliff.c: Add tests for strcmp and strncmp.
31390 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31391
cf7a1eb8
NI
313922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31393
31394 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31395 __set_fpscr.
31396
6484ba5e
AJ
313972010-09-30 Andreas Jaeger <aj@suse.de>
31398
31399 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31400 (CGROUP_SUPER_MAGIC): Define.
31401 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31402 Handle btrfs and cgroup file systems.
31403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31404 Likewise.
31405
91c42559
LM
314062010-09-27 Luis Machado <luisgpm@br.ibm.com>
31407
31408 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31409 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31410
87a97932
AK
314112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31412
31413 [BZ #12067]
31414 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31415 trying to locate the ELF header.
31416
c21cc9bc
AS
314172010-09-27 Andreas Schwab <schwab@redhat.com>
31418
31419 [BZ #11611]
31420 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31421 Mask out sign-bit copies when constructing f_fsid.
31422
315970f6
PB
314232010-09-24 Petr Baudis <pasky@suse.cz>
31424
31425 * debug/stack_chk_fail_local.c: Add missing licence exception.
31426 * debug/warning-nop.c: Likewise.
31427
1ac7a2c7
JM
314282010-09-15 Joseph Myers <joseph@codesourcery.com>
31429
31430 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31431 implementing getdents64 using getdents syscall, set d_type if
31432 __ASSUME_GETDENTS32_D_TYPE.
31433
56801c50
AS
314342010-09-16 Andreas Schwab <schwab@redhat.com>
31435
31436 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31437 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31438
dda51327
UD
314392010-09-21 Ulrich Drepper <drepper@redhat.com>
31440
31441 [BZ #12037]
31442 * posix/unistd.h: Undo change of feature selection for ftruncate from
31443 2010-01-11.
31444
8ffcee4a
UD
314452010-09-20 Ulrich Drepper <drepper@redhat.com>
31446
a545ecd9 31447 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31448 detection.
31449
e24f0a8b
AS
314502010-09-20 Andreas Schwab <schwab@redhat.com>
31451
31452 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31453 fanotify_mark.
31454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31455
7291c56f
AS
314562010-09-14 Andreas Schwab <schwab@redhat.com>
31457
31458 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31459 variables after CHECK_SP call.
31460 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31461
bc5fb037
AS
314622010-09-13 Andreas Schwab <schwab@redhat.com>
31463 Ulrich Drepper <drepper@redhat.com>
31464
31465 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31466 re-relocationg ld.so.
31467 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31468 _dl_init_paths call.
31469 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31470 here anymore.
31471
e66e7419
UD
314722010-09-14 Ulrich Drepper <drepper@redhat.com>
31473
31474 * resolv/res_init.c (__res_vinit): Count the default server we added.
31475
c044aa75
CLT
314762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31477 Ulrich Drepper <drepper@redhat.com>
31478
31479 [BZ #11968]
31480 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31481 (____longjmp_chk): Use %ebx for saving value across system call.
31482 Add unwind info.
31483
32cf4069
AS
314842010-09-06 Andreas Schwab <schwab@redhat.com>
31485
31486 * manual/Makefile: Don't mix pattern rules with normal rules.
31487
817328ee
AS
314882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31489
31490 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31491 operation.
31492 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31493 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31494 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31495 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31497 Likewise.
31498
29fddf61
UD
314992010-09-04 Ulrich Drepper <drepper@redhat.com>
31500
31501 [BZ #11979]
31502 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31503 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31504
0959ffc9
UD
315052010-09-02 Ulrich Drepper <drepper@redhat.com>
31506
31507 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31508 * sysdeps/x86_64/addmul_1.S: Likewise.
31509 * sysdeps/x86_64/lshift.S: Likewise.
31510 * sysdeps/x86_64/mul_1.S: Likewise.
31511 * sysdeps/x86_64/rshift.S: Likewise.
31512 * sysdeps/x86_64/sub_n.S: Likewise.
31513 * sysdeps/x86_64/submul_1.S: Likewise.
31514
ece29840
ST
315152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31516
0959ffc9
UD
31517 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31518 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31519 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31520 * bits/sched.h [__need_schedparam]
ece29840 31521 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31522 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31523 (__defined_schedparam): Define to 1.
ece29840
ST
31524 (__sched_param): New structure, identical to sched_param.
31525 (__need_schedparam): Undefine.
31526
e53a31fe
MF
315272010-08-31 Mike Frysinger <vapier@gentoo.org>
31528
fdc0c10d
MF
31529 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31530 (epoll_create1): Declare.
31531
e53a31fe
MF
31532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31533
a726d796
AS
315342010-08-31 Andreas Schwab <schwab@redhat.com>
31535
31536 [BZ #7066]
31537 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31538 shifting retval into place.
31539
2f3e3dc7
UD
315402010-09-01 Ulrich Drepper <drepper@redhat.com>
31541
f2933da9
UD
31542 * nis/rpcsvc/nis.h: Update copyright notice.
31543 * nis/rpcsvc/nis.x: Likewise.
31544 * nis/rpcsvc/nis_callback.h: Likewise.
31545 * nis/rpcsvc/nis_callback.x: Likewise.
31546 * nis/rpcsvc/nis_object.x: Likewise.
31547 * nis/rpcsvc/nis_tags.h: Likewise.
31548 * nis/rpcsvc/yp.h: Likewise.
31549 * nis/rpcsvc/yp.x: Likewise.
31550 * nis/rpcsvc/ypupd.h: Likewise.
31551 * nis/yp_xdr.c: Likewise.
31552 * nis/ypupdate_xdr.c: Likewise.
31553
2f3e3dc7
UD
31554 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31555 mainly the body of pmap_getport. Add parameters to specify timeouts.
31556 (pmap_getport): Use __libc_rpc_getport.
31557 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31558 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31559 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31560
f3dcc2f9
AS
315612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31562
31563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31564 fanotify_mark.
31565
6d34eb5b
RM
315662010-08-27 Roland McGrath <roland@redhat.com>
31567
31568 * sysdeps/i386/i686/multiarch/Makefile
31569 (CFLAGS-varshift.c): New variable.
31570
9ea3de11
UD
315712010-08-27 Ulrich Drepper <drepper@redhat.com>
31572
c96d23fc
UD
31573 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31574 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31575
9ea3de11
UD
31576 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31577
31578 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31579
623aac7f
L
315802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31581
31582 * sysdeps/x86_64/strlen.S: Unroll the loop.
31583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31584 strlen-sse2 strlen-sse2-bsf.
31585 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31586 __strlen_no_bsf if bit_Slow_BSF is set.
31587 (__strlen_sse42): Removed.
31588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31589 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31590
8b2b7715
RM
315912010-08-25 Roland McGrath <roland@redhat.com>
31592
31593 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31594 * sysdeps/x86_64/multiarch/varshift.c: New file.
31595 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31596 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31597 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31598 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31599
e73015f2
L
316002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31601
31602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31603 strlen-sse2 strlen-sse2-bsf.
31604 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31605 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31606 (__strlen_sse2): Removed.
31607 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31610 bit_Slow_BSF for Atom.
31611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31612 (index_Slow_BSF): Define.
31613 (HAS_SLOW_BSF): Define.
31614
df24a73e
UD
316152010-08-25 Ulrich Drepper <drepper@redhat.com>
31616
31617 [BZ #10851]
31618 * resolv/res_init.c (__res_vinit): When no server address at all
31619 is given default to loopback.
31620
f2ac4868
RM
316212010-08-24 Roland McGrath <roland@redhat.com>
31622
09055553
RM
31623 * configure.in: Remove config-name.h generation.
31624 * configure: Regenerated.
31625 * config-name.in: File removed.
31626 * scripts/config-uname.sh: New file.
31627 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31628 ($(objdir)config-name.h): New target.
31629
f2ac4868
RM
31630 * sunrpc/rpc_parse.h: Avoid nested comment.
31631
73f27d5e
RH
316322010-08-24 Richard Henderson <rth@redhat.com>
31633 Ulrich Drepper <drepper@redhat.com>
31634 H.J. Lu <hongjiu.lu@intel.com>
31635
31636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31638 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31639 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31640 _mm_alignr_epi8 with _mm_loadu_si128.
31641 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31642 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31643 (__m128i_shift_right): Removed.
31644 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31645 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31646 * sysdeps/x86_64/multiarch/varshift.h: New file.
31647 * sysdeps/x86_64/multiarch/varshift.S: New file.
31648
84b9230c
MF
316492010-08-21 Mike Frysinger <vapier@gentoo.org>
31650
31651 * configure.in: Move assembler checks to before sysdep dir checking.
31652
9bbd0ddc
PB
316532010-08-20 Petr Baudis <pasky@suse.cz>
31654
31655 * LICENSES: Sync the sunrpc license.
31656
9da4bb31
UD
316572010-08-19 Ulrich Drepper <drepper@redhat.com>
31658
a7ab6ec8
UD
31659 * sunrpc/auth_des.c: Update copyright notice once again.
31660 * sunrpc/auth_none.c: Likewise.
31661 * sunrpc/auth_unix.c: Likewise.
31662 * sunrpc/authdes_prot.c: Likewise.
31663 * sunrpc/authuxprot.c: Likewise.
31664 * sunrpc/bindrsvprt.c: Likewise.
31665 * sunrpc/clnt_gen.c: Likewise.
31666 * sunrpc/clnt_perr.c: Likewise.
31667 * sunrpc/clnt_raw.c: Likewise.
31668 * sunrpc/clnt_simp.c: Likewise.
31669 * sunrpc/clnt_tcp.c: Likewise.
31670 * sunrpc/clnt_udp.c: Likewise.
31671 * sunrpc/clnt_unix.c: Likewise.
31672 * sunrpc/des_crypt.c: Likewise.
31673 * sunrpc/des_soft.c: Likewise.
31674 * sunrpc/get_myaddr.c: Likewise.
31675 * sunrpc/getrpcport.c: Likewise.
31676 * sunrpc/key_call.c: Likewise.
31677 * sunrpc/key_prot.c: Likewise.
31678 * sunrpc/openchild.c: Likewise.
31679 * sunrpc/pm_getmaps.c: Likewise.
31680 * sunrpc/pm_getport.c: Likewise.
31681 * sunrpc/pmap_clnt.c: Likewise.
31682 * sunrpc/pmap_prot.c: Likewise.
31683 * sunrpc/pmap_prot2.c: Likewise.
31684 * sunrpc/pmap_rmt.c: Likewise.
31685 * sunrpc/rpc/auth.h: Likewise.
31686 * sunrpc/rpc/auth_unix.h: Likewise.
31687 * sunrpc/rpc/clnt.h: Likewise.
31688 * sunrpc/rpc/des_crypt.h: Likewise.
31689 * sunrpc/rpc/key_prot.h: Likewise.
31690 * sunrpc/rpc/netdb.h: Likewise.
31691 * sunrpc/rpc/pmap_clnt.h: Likewise.
31692 * sunrpc/rpc/pmap_prot.h: Likewise.
31693 * sunrpc/rpc/pmap_rmt.h: Likewise.
31694 * sunrpc/rpc/rpc.h: Likewise.
31695 * sunrpc/rpc/rpc_des.h: Likewise.
31696 * sunrpc/rpc/rpc_msg.h: Likewise.
31697 * sunrpc/rpc/svc.h: Likewise.
31698 * sunrpc/rpc/svc_auth.h: Likewise.
31699 * sunrpc/rpc/types.h: Likewise.
31700 * sunrpc/rpc/xdr.h: Likewise.
31701 * sunrpc/rpc_clntout.c: Likewise.
31702 * sunrpc/rpc_cmsg.c: Likewise.
31703 * sunrpc/rpc_common.c: Likewise.
31704 * sunrpc/rpc_cout.c: Likewise.
31705 * sunrpc/rpc_dtable.c: Likewise.
31706 * sunrpc/rpc_hout.c: Likewise.
31707 * sunrpc/rpc_main.c: Likewise.
31708 * sunrpc/rpc_parse.c: Likewise.
31709 * sunrpc/rpc_parse.h: Likewise.
31710 * sunrpc/rpc_prot.c: Likewise.
31711 * sunrpc/rpc_sample.c: Likewise.
31712 * sunrpc/rpc_scan.c: Likewise.
31713 * sunrpc/rpc_scan.h: Likewise.
31714 * sunrpc/rpc_svcout.c: Likewise.
31715 * sunrpc/rpc_tblout.c: Likewise.
31716 * sunrpc/rpc_util.c: Likewise.
31717 * sunrpc/rpc_util.h: Likewise.
31718 * sunrpc/rpcinfo.c: Likewise.
31719 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31720 * sunrpc/rpcsvc/key_prot.x: Likewise.
31721 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31722 * sunrpc/rpcsvc/mount.x: Likewise.
31723 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31724 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31725 * sunrpc/rpcsvc/rex.x: Likewise.
31726 * sunrpc/rpcsvc/rstat.x: Likewise.
31727 * sunrpc/rpcsvc/rusers.x: Likewise.
31728 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31729 * sunrpc/rpcsvc/spray.x: Likewise.
31730 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31731 * sunrpc/rtime.c: Likewise.
31732 * sunrpc/svc.c: Likewise.
31733 * sunrpc/svc_auth.c: Likewise.
31734 * sunrpc/svc_authux.c: Likewise.
31735 * sunrpc/svc_raw.c: Likewise.
31736 * sunrpc/svc_run.c: Likewise.
31737 * sunrpc/svc_simple.c: Likewise.
31738 * sunrpc/svc_tcp.c: Likewise.
31739 * sunrpc/svc_udp.c: Likewise.
31740 * sunrpc/svc_unix.c: Likewise.
31741 * sunrpc/svcauth_des.c: Likewise.
31742 * sunrpc/xcrypt.c: Likewise.
31743 * sunrpc/xdr.c: Likewise.
31744 * sunrpc/xdr_array.c: Likewise.
31745 * sunrpc/xdr_float.c: Likewise.
31746 * sunrpc/xdr_mem.c: Likewise.
31747 * sunrpc/xdr_rec.c: Likewise.
31748 * sunrpc/xdr_ref.c: Likewise.
31749 * sunrpc/xdr_sizeof.c: Likewise.
31750 * sunrpc/xdr_stdio.c: Likewise.
31751
9da4bb31
UD
31752 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31753 handling.
31754
bdaa77bc
AS
317552010-08-19 Andreas Schwab <schwab@redhat.com>
31756
31757 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31758
fe2f79db
LM
317592010-08-19 Luis Machado <luisgpm@br.ibm.com>
31760
31761 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31762 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31763 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31764 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31765 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31766 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31767 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31768 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31769 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31770 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31771 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31772 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31773 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31774 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31775
b9b42ee0
AB
317762010-07-26 Anton Blanchard <anton@samba.org>
31777
31778 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31779 * malloc/arena.c (heap_trim): Likewise.
31780
1c06ba31
UD
317812010-08-16 Ulrich Drepper <drepper@redhat.com>
31782
31783 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31784 here. Not...
31785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31786 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31787
f8392f40
L
317882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * sysdeps/i386/elf/Makefile: New file.
31791
3162f12e
AS
317922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31793
31794 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31795 from fanotify_init.
31796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31798
28c90b2c
UD
317992010-08-15 Ulrich Drepper <drepper@redhat.com>
31800
31801 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31802 of strncasecmp_l.
1feccb6c 31803 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31804
ca6bb004
UD
318052010-08-14 Ulrich Drepper <drepper@redhat.com>
31806
e9f82e0d
UD
31807 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31808 strncase_l-nonascii.
31809 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31810 Add strncase_l-ssse3.
31811 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31812 * sysdeps/x86_64/strcmp.S: Likewise.
31813 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31814 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31815 * sysdeps/x86_64/strncase.S: New file.
31816 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31817 * sysdeps/x86_64/strncase_l.S: New file.
31818 * string/Makefile (strop-tests): Add strncasecmp.
31819 * string/test-strncasecmp.c: New file.
31820
31821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31822 warning.
31823
ca6bb004
UD
31824 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31825 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31826
052fa7b3
AS
318272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31828
31829 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31830
962dba78
UD
318312010-08-12 Ulrich Drepper <drepper@redhat.com>
31832
31833 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31834 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31835 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31836
bebff237
AM
318372010-05-01 Alan Modra <amodra@gmail.com>
31838
31839 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31840 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31841 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31842 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31843 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31844 tidying. Don't tail-call __sigjmp_save for static lib.
31845 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31846 save location.
31847 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31848 (CALL_MCOUNT): Add eh info, and nop after bl.
31849 (TAIL_CALL_SYSCALL_ERROR): New macro.
31850 (PSEUDO_RET): Use it.
31851 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31852 Correct save location of integer regs and cr.
31853 (_dl_profile_resolve): Correct cr save location. Delete nops
31854 after bl when SHARED. Reduce cfi size a little by better
31855 placement of cfi directives.
31856 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31857 make a stack frame. Instead use parm save area as a temp.
31858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31859 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31861 Don't make a stack frame for parent, use parm save area.
31862 Increase child stack frame to 112 bytes. Don't save unused reg,
31863 and adjust reg usage. Set up cfi on error recovery and
31864 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31866 (__makecontext): Add dummy nop after jump to exit.
31867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31868 Use correct parm save area and cr save, reduce stack frame.
31869 Correct cfi for possible PSEUDO_RET frame setup.
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31871 Branch to local label emitted by PSEUDO_RET rather than
31872 __syscall_error.
31873
02637374
AS
318742010-08-12 Andreas Schwab <schwab@redhat.com>
31875
31876 [BZ #11904]
31877 * locale/programs/locale.c (print_assignment): New function.
31878 (show_locale_vars): Use it.
31879
c3e2f19b
UD
318802010-08-11 Ulrich Drepper <drepper@redhat.com>
31881
3cdaa6ad
UD
31882 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31883 field.
31884 (struct statfs64): Likewise.
31885 (_STATFS_F_FLAGS): Define.
31886 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31888 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31889 (ST_VALID): Define locally.
31890 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31891 __statvfs_getflags, use the provided value.
31892 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31893 __ASSUME_STATFS_F_FLAGS.
31894
754f7da3
UD
31895 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31896
10b3bedc
UD
31897 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31898 Add sys/fanotify.h.
31899 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31900 fanotify_mask for GLIBC_2.13.
31901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31902 fanotify_init and fanotify_mark.
31903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31904 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31905
c08fb0d7
UD
31906 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31907 Add prlimit.
31908 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31909 prlimit64 for GLIBC_2.13.
31910 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31911 prlimit64.
31912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31913 syscall.
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31915 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31916 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31919 add prlimit alias.
31920 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31921
15bac72b
UD
31922 [BZ #11903]
31923 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31924 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31925
c3e2f19b
UD
31926 * nss/Makefile: Add rules to build and run tst-nss-test1.
31927 * shlib-versions: Add entry for libnss_test1.
31928 * nss/nss_test1.c: New file.
31929 * nss/tst-nss-test1.c: New file.
31930
31931 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31932 (__nss_configure_lookup): Set appropriate entry in
31933 __nss_configure_lookup to true.
31934 * nss/nsswitch.h: Define enum with indeces of databases in
31935 databases and __nss_database_custom arrays. Declare
31936 __nss_database_custom.
31937 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31938 to avoid using nscd when custom rules are installed.
31939 * nss/getXXbyYY_r.c: Likewise.
31940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31941
31942 * nss/nss_files/files-parse.c: Whitespace fixes.
31943
f15ce4d8
UD
319442010-08-09 Ulrich Drepper <drepper@redhat.com>
31945
31946 [BZ #11883]
31947 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31948 * posix/fnmatch_loop.c: Likewise.
31949
d22e4cc9
AK
319502010-07-17 Andi Kleen <ak@linux.intel.com>
31951
31952 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31953 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31954 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31955 * Versions.def [GLIBC_2.13]: Add.
31956
805bc17d
UD
319572010-08-06 Ulrich Drepper <drepper@redhat.com>
31958
31959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31960 Also fail if tpwd after pwuid call is NULL.
31961
5a42321d
ST
319622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31963
31964 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31965 when converting to ms.
31966
fd3ebeda
ST
319672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31968
31969 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31970 EOPNOTSUPP errors with ENOTTY.
31971 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31972 EOPNOTSUPP errors with ENOTTY.
31973
73507d3a
UD
319742010-07-31 Ulrich Drepper <drepper@redhat.com>
31975
31976 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31977 Add strcasecmp_l-ssse3.
31978 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31979 strcasecmp.
31980 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31981 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31982 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31983
fe36dd02
UD
319842010-07-30 Ulrich Drepper <drepper@redhat.com>
31985
66f6765a
UD
31986 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31987
42e08a54
UD
31988 * string/Makefile (strop-tests): Add strcasecmp.
31989 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31990 strcasecmp_l-nonascii.
31991 (gen-as-const-headers): Add locale-defines.sym.
31992 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31993 * sysdeps/x86_64/strcasecmp.S: New file.
31994 * sysdeps/x86_64/strcasecmp_l.S: New file.
31995 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31996 * sysdeps/x86_64/locale-defines.sym: New file.
31997 * string/test-strcasecmp.c: New file.
31998
fe36dd02
UD
31999 * string/test-strcasestr.c: Test both ends of the range of characters.
32000 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32001
48cbc0d6
RM
320022010-07-29 Roland McGrath <roland@redhat.com>
32003
76e6d6bc 32004 [BZ #11856]
48cbc0d6
RM
32005 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32006
880113d9
UD
320072010-07-27 Ulrich Drepper <drepper@redhat.com>
32008
32009 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32010 for ld.so.
32011
deb9cabb
AS
320122010-07-27 Andreas Schwab <schwab@redhat.com>
32013
32014 * manual/memory.texi (Malloc Tunable Parameters): Document
32015 M_PERTURB.
32016
1c7570ff
RM
320172010-07-26 Roland McGrath <roland@redhat.com>
32018
32019 [BZ #11840]
32020 * configure.in (-fgnu89-inline check): Set and substitute
32021 gnu89_inline, not libc_cv_gnu89_inline.
32022 * configure: Regenerated.
32023 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32024
24fb0f88
UD
320252010-07-26 Ulrich Drepper <drepper@redhat.com>
32026
32027 * string/test-strnlen.c: New file.
32028 * string/Makefile (strop-tests): Add strnlen.
32029 * string/tester.c (test_strnlen): Add a few more test cases.
32030 * string/tst-strlen.c: Better error reporting.
32031
32032 * sysdeps/x86_64/strnlen.S: New file.
32033
8e96b93a
UD
320342010-07-24 Ulrich Drepper <drepper@redhat.com>
32035
32036 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32037 lower-latency instructions.
32038
dbc676d4
UD
320392010-07-23 Ulrich Drepper <drepper@redhat.com>
32040
32041 * string/test-strcasestr.c: New file.
32042 * string/test-strstr.c: New file.
32043 * string/Makefile (strop-tests): Add strstr and strcasestr.
32044 * string/str-two-way.h: Don't undefine MAX.
32045 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32046
f6a31e0e
AS
320472010-07-21 Andreas Schwab <schwab@redhat.com>
32048
32049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32050 strcasestr-nonascii.
32051 (CFLAGS-strcasestr-nonascii.c): Define.
32052 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32053 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32054 Remove unused attribute.
32055
5dbc3b6c
RM
320562010-07-20 Roland McGrath <roland@redhat.com>
32057
32058 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32059 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32060 ld.so.cache was broken. With it, there is no way to disable dsocaps
32061 like LD_HWCAP_MASK can disable hwcaps.
32062
23d101d8
EPM
320632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32064
32065 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32066
cc9f2e47
UD
320672010-07-16 Ulrich Drepper <drepper@redhat.com>
32068
32069 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32070 call in strcasestr.
32071 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32072 __strcasestr_sse42_nonascii.
32073 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32074 strcasestr-nonascii.c.
32075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32076
77c1b069
LM
320772010-06-15 Luis Machado <luisgpm@br.ibm.com>
32078
32079 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32080 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32081 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32082 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32083
440566c3
UD
320842010-07-09 Ulrich Drepper <drepper@redhat.com>
32085
32086 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32087 fcntl.
32088
5be9d05d
AS
320892010-07-06 Andreas Schwab <schwab@redhat.com>
32090
c30b7ee2 32091 [BZ #11577]
5be9d05d
AS
32092 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32093 dl_signal_cerror.
32094
8a492a67
UD
320952010-07-06 Ulrich Drepper <drepper@redhat.com>
32096
32097 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32098 _PC_PIPE_BUF using F_GETPIPE_SZ.
32099
713df3d5
RM
321002010-07-05 Roland McGrath <roland@redhat.com>
32101
32102 * manual/arith.texi (Rounding Functions): Fix rint description
32103 implicit in round description.
32104
702e8f14
UD
321052010-07-02 Ulrich Drepper <drepper@redhat.com>
32106
32107 * elf/Makefile: Fix linking for a few tests to make recent linker
32108 happy.
32109
52ed8be9
AS
321102010-06-30 Andreas Schwab <schwab@redhat.com>
32111
32112 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32113 $(common-objpfx)libc_nonshared.a.
32114
f47c9a11
LM
321152010-06-21 Luis Machado <luisgpm@br.ibm.com>
32116
32117 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32118 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32119 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32120 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32121 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32122 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32123 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32124 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32139 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32140 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32141 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32142 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32143 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32144 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32145 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32146 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32147 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32148 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32149 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32150 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32165
6fb8cbcb
L
321662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32167
32168 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32169 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32170 * string/memmove.c (memmove): Renamed to ...
32171 (MEMMOVE): ...this. Default to memmove.
32172 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32173 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32174 (END_CHK): Define.
32175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32176 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32177 mempcpy-ssse3-back memmove-ssse3-back.
32178 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32179 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32181 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32182 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32183 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32184 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32185 * sysdeps/x86_64/multiarch/memmove.c: New file.
32186 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32187 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32188 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32189 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32190 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32191 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32192 Define.
32193 (index_Fast_Copy_Backward): Define.
32194 (HAS_ARCH_FEATURE): Define.
32195 (HAS_FAST_REP_STRING): Define.
32196 (HAS_FAST_COPY_BACKWARD): Define.
32197
4e733bac 321982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32199
32200 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32201 Restore proper fallback handling.
32202
63c4ed22
UD
322032010-06-19 Ulrich Drepper <drepper@redhat.com>
32204
ac2b484c
UD
32205 [BZ #11701]
32206 * posix/group_member.c (__group_member): Correct checking loop.
32207
63c4ed22
UD
32208 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32209 OOM in getpwuid_r correctly. Return error number when the caller
32210 should return, otherwise -1.
32211 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32212 call returning > 0 value.
32213 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32214
765ade4b
AS
322152010-06-07 Andreas Schwab <schwab@redhat.com>
32216
32217 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32218 libc_nonshared.a from targets in modules-names.
32219
80da2e09
KS
322202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32221
32222 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32223 requires it.
32224
158db122
LM
322252010-06-10 Luis Machado <luisgpm@br.ibm.com>
32226
32227 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32228 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32229 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32230 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32231
caa78cf8
AS
322322010-06-02 Andreas Schwab <schwab@redhat.com>
32233
32234 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32235
b2ef2c01
UD
322362010-06-14 Ulrich Drepper <drepper@redhat.com>
32237
32238 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32239 and F_GETPIPE_SZ.
32240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32241 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32243 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32246
fbd643b6
RM
322472010-06-14 Roland McGrath <roland@redhat.com>
32248
32249 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32250
f32f2869
JJ
322512010-06-07 Jakub Jelinek <jakub@redhat.com>
32252
32253 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32254 __REDIRECT followed by __THROW.
32255 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32256 * posix/getopt.h (getopt): Likewise.
32257
2a50c078
EPM
322582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32259
32260 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32261 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32262 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32263 in AT_FLAGS.
32264 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32265 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32266
eb5ad2eb
LM
322672010-05-28 Luis Machado <luisgpm@br.ibm.com>
32268
32269 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32270
3c88fe1e
L
322712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32272
32273 [BZ #11640]
32274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32275 Properly check family and model.
32276
d2f73151
TY
322772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32278
32279 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32280
ebd2e13d
LM
322812010-05-24 Luis Machado <luisgpm@br.ibm.com>
32282
32283 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32284
b32b8b45
UD
322852010-05-21 Ulrich Drepper <drepper@redhat.com>
32286
32287 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32288 symbol reference.
32289
9acbe24d
AS
322902010-05-19 Andreas Schwab <schwab@redhat.com>
32291
32292 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32293 symbol reference.
32294
f0ccf6ea
AS
322952010-05-21 Andreas Schwab <schwab@redhat.com>
32296
3d04ff3a
AS
32297 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32298 and internal_recvmmsg.
32299 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32300 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32301 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32302 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32303
f0ccf6ea
AS
32304 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32305 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32306 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32307
5b08ac57
AS
323082010-05-20 Andreas Schwab <schwab@redhat.com>
32309
32310 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32311
4828935d
LM
323122010-05-17 Luis Machado <luisgpm@br.ibm.com>
32313
32314 POWER7 optimizations.
32315 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32316 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32317
373d545e
UD
323182010-05-19 Ulrich Drepper <drepper@redhat.com>
32319
32320 * version.h: Update for 2.13 development version.
32321
21a2b1ae
AS
323222010-05-12 Andrew Stubbs <ams@codesourcery.com>
32323
32324 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32325 exceptions. Return 0.
32326
3f7dcb2b
RM
323272010-05-07 Roland McGrath <roland@redhat.com>
32328
32329 * elf/ldconfig.c (main): Add a const.
32330
5f24d53a 323312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32332
a160f8d8
UD
32333 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32334 (args_options): Add no-idn option.
32335 (ahosts_keys_int): Add idn_flags to ai_flags.
32336 (parse_option): Handle 'i' option to clear idn_flags.
32337
5f24d53a
UD
32338 * malloc/malloc.c (_int_free): Possible race in the most recently
32339 added check. Only act on the data if no current modification
32340 happened.
265bb1ce
UD
32341
32342See ChangeLog.17 for earlier changes.
This page took 4.274454 seconds and 5 git commands to generate.