]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use proper #include for xdecrypt declarations.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
59d112a4
RM
12013-08-26 Roland McGrath <roland@hack.frob.com>
2
3 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4 instead of explicitly declaring xdecrypt.
5 * nis/nss_nis/nis-publickey.c: Likewise.
6
595aba70
SP
72013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8
9 [BZ #15890]
10 * nscd/aicache.c: Include res_hconf.h.
11 (addhstaiX): Initialize res_hconf.
12
ffabd393
AS
132013-08-26 Andreas Schwab <schwab@suse.de>
14
15 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17
e0a69f5c
SP
182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19
20 * nscd/aicache.c (addhstaiX): Fix indentation.
21
8c12f01d
MF
222013-08-25 Mike Frysinger <vapier@gentoo.org>
23
24 * configure.ac: Quote $build_pt_chown test.
25 * configure: Regenerated.
26
8fe89494
JM
272013-08-23 Joseph Myers <joseph@codesourcery.com>
28
29 [BZ #15532]
30 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31 * math/s_cexpf.c (__cexpf): Likewise.
32 * math/s_cexpl.c (__cexpl): Likewise.
33 * math/libm-test.inc (cexp_test_data): Correct expected return
34 value for NaN + i0. Add another test.
35
75b181d6
DM
362013-08-22 David S. Miller <davem@davemloft.net>
37
38 * po/ca.po: Update Catalan translation from translation project.
936241e4 39 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 40
acd06bb1
JM
412013-08-21 Joseph Myers <joseph@codesourcery.com>
42
43 [BZ #15797]
44 * math/s_fdim.c (__fdim): Check for infinite arguments if result
45 is infinite, not alongside NaN test.
46 * math/s_fdimf.c (__fdimf): Likewise.
47 * math/s_fdiml.c (__fdiml): Likewise.
48 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
49 errno is unchanged.
50
c0c3f78a
OB
512013-08-21 Ondřej Bílka <neleai@seznam.cz>
52
53 * argp/argp-help.c: Fix typos.
54 * crypt/speeds.c: Likewise.
55 * csu/check_fds.c: Likewise.
56 * elf/dl-load.c: Likewise.
57 * elf/dl-open.c: Likewise.
58 * elf/reldep3.c: Likewise.
59 * elf/reldep.c: Likewise.
60 * elf/sprof.c: Likewise.
61 * iconv/iconv_charmap.c: Likewise.
62 * iconv/skeleton.c: Likewise.
63 * iconv/strtab.c: Likewise.
64 * io/lockf64.c: Likewise.
65 * libio/libioP.h: Likewise.
66 * resolv/gai_notify.c: Likewise.
67 * resolv/ns_name.c: Likewise.
68 * resolv/ns_samedomain.c: Likewise.
69 * resolv/res_send.c: Likewise.
70 * stdlib/random.c: Likewise.
71 * sunrpc/rpc/xdr.h: Likewise.
72 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
73 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
76 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
79 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80 * sysdeps/mach/hurd/check_fds.c: Likewise.
81 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
82 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
83 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
84 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
85 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
86 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
87 * sysdeps/pthread/aio_notify.c: Likewise.
88 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
89 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
90 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
91 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
93
46ed1038
LD
942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
95
96 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
97 version if bit_Slow_SSE4_2 is set.
98 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
99 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
100
d400dcac
AZ
1012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
103 [BZ #15867]
104 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
105 trampoline stack frame information.
106 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
108 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
109 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
110 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
111 * sysdeps/unix/sysv/linux/powerpc/init-first.c
112 (_libc_vdso_platform_setup): Initialize the signal trampolines.
113 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
114 sa_flags value.
115 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
116 interrupting a syscall and set with option SA_SIGINFO.
117
42c8fdd8
JM
1182013-08-20 Joseph Myers <joseph@codesourcery.com>
119
c980f2f4
JM
120 [BZ #15531]
121 * math/s_cproj.c (__cproj): Only return an infinity if one part of
122 argument is infinite.
123 * math/s_cprojf.c (__cprojf): Likewise.
124 * math/s_cprojl.c (__cprojl): Likewise.
125 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
126 * math/libm-test.inc (cproj_test_data): Add more tests.
127
0716c4fc
JM
128 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
129
42c8fdd8
JM
130 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
131 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
132 size. Use __ffs to determine corresponding shift.
133
b31469d0
JM
1342013-08-20 Joseph Myers <joseph@codesourcery.com>
135 Roland McGrath <roland@hack.frob.com>
136
137 * Makefile (INSTALL): Remove trailing blank lines from output of
138 makeinfo.
139
4e39af6e
AK
1402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
141
142 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
143 Align 32 bit compat elf_greg to 8 bytes.
144
f315524e
AA
1452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
146
147 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
148
1326ba1a
SP
1492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
150
151 * string/strcoll_l.c (coll_seq): New structure.
152 (get_next_seq_cached): New function.
153 (get_next_seq): New function.
154 (do_compare): New function.
155 (STRCOLL): Use GNU style definition. Simplify implementation
156 by using get_next_seq, get_next_seq_cached and do_compare.
157
91ce4085
FW
1582013-08-16 Florian Weimer <fweimer@redhat.com>
159
160 [BZ #14699]
161 CVE-2013-4237
162 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
163 member.
164 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
165 member.
166 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
167 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
168 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
169 conditional.
170 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
171 GETDENTS_64BIT_ALIGNED.
172 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
173 * manual/filesys.texi (Reading/Closing Directory): Document
174 ENAMETOOLONG return value of readdir_r. Recommend readdir more
175 strongly.
176 * manual/conf.texi (Limits for Files): Add portability note to
177 NAME_MAX, PATH_MAX.
178 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
179
ca0a6bc4
AS
1802013-08-13 Andreas Schwab <schwab@suse.de>
181
182 [BZ #15749]
183 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
184 of fabs.
185 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
186 LDBL_MAX_EXP >= 16384]: Add tests for it.
187
6c1fd795
DM
1882013-08-12 David S. Miller <davem@davemloft.net>
189
190 * version.h (RELEASE): Set to "development".
191 (VERSION): Set to "2.18.90".
192 * NEWS: Add 2.19 section.
193
31ad488d
DM
1942013-08-03 David S. Miller <davem@davemloft.net>
195
196 * po/ko.po: Update Korean translation from translation project.
197
db24e684
DM
1982013-08-01 David S. Miller <davem@davemloft.net>
199
200 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
201 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
202 Bilka.
203
f723285b
DM
2042013-07-30 David S. Miller <davem@davemloft.net>
205
206 * po/fr.po: Update French translation from translation project.
207
3cbc52db
DM
2082013-07-28 David S. Miller <davem@davemloft.net>
209
30bbc0cc
DM
210 * po/cs.po: Update Czech translation from translation project.
211
3cbc52db
DM
212 * po/sv.po: Update Swedish translation from translation project.
213
d492e6d0
DM
2142013-07-27 David S. Miller <davem@davemloft.net>
215
f1a7f492
DM
216 * po/eo.po: Update Esperanto translation from translation project.
217
90e62a4a
DM
218 * po/vi.po: Update Vietnamese translation from translation project.
219
d492e6d0
DM
220 * po/de.po: Update German translation from translation project.
221
d4baa62d
DM
2222013-07-26 David S. Miller <davem@davemloft.net>
223
641aa7b4
DM
224 * po/bg.po: Update Bulgarian translation from translation project.
225
d4baa62d
DM
226 * po/nl.po: Update Dutch translation from translation project.
227 * po/pl.po: Update Polish translation from translation project.
228 * po/ru.po: Update Russian translation from translation project.
229
61a9dcb9
DM
2302013-07-24 David S. Miller <davem@davemloft.net>
231
232 * po/libc.pot: Update.
233
7b1f8b58
AZ
2342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235
236 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
237 variable page size.
238 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
239 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
240 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
241
a8fc7a03
AK
2422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
243
244 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
245
e4608715
CD
2462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
247 Andreas Schwab <schwab@suse.de>
248 Roland McGrath <roland@hack.frob.com>
249 Joseph Myers <joseph@codesourcery.com>
250 Carlos O'Donell <carlos@redhat.com>
251
252 [BZ #15755]
253 * config.h.in: Define HAVE_PT_CHOWN.
254 * config.make.in (build-pt-chown): New variable.
255 * configure.in (--enable-pt_chown): New configure option.
256 * configure: Regenerate.
257 * login/Makefile: Include Makeconfig. Build pt_chown only if
258 build-pt-chown is enabled.
259 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
260 pt_chown to fix pty ownership.
261 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
262 CLOSE_ALL_FDS.
263 * manual/install.texi (Configuring and compiling): Mention
264 --enable-pt_chown. Add @findex for grantpt.
265 * INSTALL: Regenerate.
266
da2d62df
DM
2672013-07-20 David S. Miller <davem@davemloft.net>
268
269 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
270 difference between 32-bit and 64-bit.
271
d7e06450
CD
2722013-07-15 Carlos O'Donell <carlos@redhat.com>
273
274 [BZ #15711]
275 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
276 Avoid system header dependency with -ffreestanding.
277 ($(objpfx)bits/syscall%d): Likewise.
278
f959cfd7
DM
2792013-07-13 David S. Miller <davem@davemloft.net>
280
281 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
282 underflows from atanl/atan2l due to bug 15319.
283 (casinh_test_data): Likewise.
284
c61f8513
DM
2852013-07-07 David S. Miller <davem@davemloft.net>
286
287 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
288
72c90ed0
JA
2892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
290
291 * sysdeps/i386/fpu/libm-test-ulps: Update.
292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
293
52dfbe13
SP
2942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
295
296 * configure.in (--enable-lock-elision): Fix message text.
297 * INSTALL: Regenerate.
298 * configure: Regenerate.
299
3f169543
AZ
3002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301
302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
303
521c6785
AJ
3042013-07-03 Andreas Jaeger <aj@suse.de>
305
306 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
307 define.
308 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
309 (ptrace_peeksiginfo_args): Add.
310 (__ptrace_peeksiginfo_flags): Add.
311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
312 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
313 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
314
d2cc15cb
AM
3152013-07-03 Allan McRae <allan@archlinux.org>
316
317 * sysdeps/i386/fpu/libm-test-ulps: Update.
318
3aaeeca7
DM
3192013-07-02 David S. Miller <davem@davemloft.net>
320
321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
322
5314ed1a
MT
3232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
324
325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
326
67338156
JM
3272013-07-02 Joseph Myers <joseph@codesourcery.com>
328
329 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
331
1717da59
AK
3322013-07-02 Andi Kleen <ak@linux.intel.com>
333
334 * config.h.in (ENABLE_LOCK_ELISION): Add.
335 * configure.in (--enable-lock-elision): Add option.
336 * manual/install.texi: Document --enable lock elision.
337 * configure: Regenerate
338 * INSTALL: Regenerate.
339
1c81621c
L
3402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
341
342 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
343 SSE4.2 strcasecmp for libc.a.
344 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
345
77f01ab5
JM
3462013-07-02 Joseph Myers <joseph@codesourcery.com>
347
348 [BZ #13304]
349 * soft-fp/op-common.h (_FP_FMA): New macro.
350 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
351 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
352 (_FP_MUL_MEAT_1_imm): ... here.
353 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
354 (_FP_MUL_MEAT_1_wide): ... here.
355 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
356 (_FP_MUL_MEAT_1_hard): ... here.
357 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
358 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
359 (_FP_MUL_MEAT_2_wide): ... here.
360 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
361 (_FP_MUL_MEAT_2_wide_3mul): ... here.
362 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
363 (_FP_MUL_MEAT_2_gmp): ... here.
364 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
365 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
366 (_FP_MUL_MEAT_4_wide): ... here.
367 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
368 (_FP_MUL_MEAT_4_gmp): ... here.
369 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
370 (_FP_WFRACBITS_DW_S): Likewise.
371 (_FP_WFRACXBITS_DW_S): Likewise.
372 (_FP_HIGHBIT_DW_S): Likewise.
373 (FP_FMA_S): Likewise.
374 (_FP_FRAC_HIGH_DW_S): Likewise.
375 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
376 (_FP_WFRACBITS_DW_D): Likewise.
377 (_FP_WFRACXBITS_DW_D): Likewise.
378 (_FP_HIGHBIT_DW_D): Likewise.
379 (FP_FMA_D): Likewise.
380 (_FP_FRAC_HIGH_DW_D): Likewise.
381 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
382 (_FP_WFRACBITS_DW_E): Likewise.
383 (_FP_WFRACXBITS_DW_E): Likewise.
384 (_FP_HIGHBIT_DW_E): Likewise.
385 (FP_FMA_E): Likewise.
386 (_FP_FRAC_HIGH_DW_E): Likewise.
387 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
388 (_FP_WFRACBITS_DW_Q): Likewise.
389 (_FP_WFRACXBITS_DW_Q): Likewise.
390 (_FP_HIGHBIT_DW_Q): Likewise.
391 (FP_FMA_Q): Likewise.
392 (_FP_FRAC_HIGH_DW_Q): Likewise.
393 * soft-fp/fmasf4.c: New file.
394 * soft-fp/fmadf4.c: Likewise.
395 * soft-fp/fmatf4.c: Likewise.
396
6308fd9a
LD
3972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
398
399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
400 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
401 Silvermont.
402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
403 macro.
404 (index_Slow_SSE4_2): Likewise.
405 (index_Prefer_PMINUB_for_stringop): Likewise.
406 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
407 bit_Slow_SSE4_2 is set.
408 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
410
89cd9569
RA
4112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
412
413 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
414 rtld_global._dl_hwcap2.
415 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
416 POWER8.
417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
418 POWER8 feature descriptions defined in _dl_hwcap2.
419 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
420 string handling for POWER8 feature bits.
421 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
422 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
423 _dl_powerpc_cap_flags.
424 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
425 * sysdeps/powerpc/rtld-global-offsets.sym
426 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
427 _dl_hwcap2 in the rtld_global_ro structure.
428
1ae8bfe0
RA
4292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
430
431 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
432 hardware capabilities in support of AT_HWCAP2.
433 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
434 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
435 GLRO(dl_hwcap2).
436 (_dl_show_auxv): Add support for calling _dl_procinfo to display
437 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
438 explicitly the unknown a_type display mechanism is used.
439 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
440 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
441 struct member.
442 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
443 to macro prototype for AT_HWCAP2 support.
444 * sysdeps/i386/dl-procinfo.h: Likewise.
445 * sysdeps/s390/dl-procinfo.h: Likewise.
446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
447 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
448 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
449 return -1 for unknown a_type display fallback.
450 * sysdeps/sparc/dl-procinfo.h: Likewise.
451 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
452 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
453
8fbec010
JM
4542013-06-28 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
457 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
458
0432680e
PY
4592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
460
461 [BZ #12492]
462 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
463 mprotect making __stack_prot writable.
464
ce61a2ad
NF
4652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
466 Joseph Myers <joseph@codesourcery.com>
467
468 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
469 as being properly aligned.
470
f91f1c0f
MR
4712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
472
3d0f5d0c
MR
473 * dlfcn/modstatic5.c: New file.
474 * dlfcn/tststatic5.c: New file.
475 * dlfcn/Makefile (tests): Add tststatic5.
476 (tests-static): Likewise.
477 (modules-names): Add modstatic5.
478 (tststatic5-ENV): New variable.
479 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
480
f91f1c0f
MR
481 [BZ #15022]
482 * elf/dl-support.c (_dl_main_map): New variable.
483 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
484 (_dl_nns, _dl_load_adds): Set to 1.
485 (_dl_initial_searchlist): Refer to _dl_main_map.
486 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
487 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
488 call to _dl_get_origin.
489 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
490 around call_map.
491 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
492 * dlfcn/modstatic3.c: New file.
493 * dlfcn/tststatic3.c: New file.
494 * dlfcn/tststatic4.c: New file.
495 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
496 (tests-static): Likewise.
497 (modules-names): Add modstatic3.
498 (tststatic3-ENV, tststatic4-ENV): New variables.
499 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
500 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
501
cbe7d24b
JM
5022013-06-26 Joseph Myers <joseph@codesourcery.com>
503
504 * configure.in (CC): Require GCC version 4.4 or later.
505 * configure: Regenerated.
506 * manual/install.texi (Tools for Compilation): Update GCC version
507 requirement.
508 * INSTALL: Regenerated.
509
11b8a0e1
LD
5102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
511
512 [BZ #15674]
bb5bb87c
L
513 * string/test-memcmp.c (check2): New.
514 (main): Call check2.
515
11b8a0e1
LD
516 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
517
b0037103
MR
5182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
519
520 [BZ #15022]
521 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
522 over to...
523 (dl_open_worker) [!SHARED]: ... here.
524
c18c701d
RA
5252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
526
527 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
528
1d17fa5f
RH
5292013-06-25 Richard Henderson <rth@redhat.com>
530
531 * locale/programs/locarchive.c: Include <libc-internal.h>
532
8fcb833a
JM
5332013-06-25 Joseph Myers <joseph@codesourcery.com>
534
535 * manual/texinfo.tex: Update to version 2013-06-21.17, with
536 trailing whitespace removed.
537
17db6e8d
MF
5382013-06-24 Mike Frysinger <vapier@gentoo.org>
539
540 [BZ #10283]
17db6e8d
MF
541 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
542 * locale/programs/locarchive.c: Include libc-mmap.h.
543 (prepare_address_space): Take two new outputs (the mmap base and len).
544 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
545 values.
546 (create_archive): Declare new mmap base and len values for
547 prepare_address_space, and store the result in ah.
548 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
549 (enlarge_archive): If ah->mmap_base is not NULL, use that and
550 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
551 Declare new mmap base and len values for
552 prepare_address_space, and store the result in new_ah.
553 (open_archive): Declare new mmap base and len values for
554 prepare_address_space, and store the result in ah.
555 (close_archive): If ah->mmap_base is not NULL, use that and
556 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
557 * sysdeps/generic/libc-mmap.h: New file.
558
d605071e
MF
5592013-06-24 Mike Frysinger <vapier@gentoo.org>
560
561 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
562 (ALIGN_UP): Likewise.
563 (PTR_ALIGN_DOWN): Likewise.
564 (PTR_ALIGN_UP): Likewise.
565
2f063a6e
RA
5662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
567
568 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
569 entry mapped to PPC_PLATFORM_POWER8.
570 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
571 POWER8.
572 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
573 (_dl_string_platform): Add case for exporting platform position for
574 POWER8.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
576 search path to sysdeps/powerpc/powerpc32/power8 directory.
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
578 search path to sysdeps/powerpc/powerpc64/power8 directory.
579 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
580 power7 directories.
581 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
582 power7 directories.
583
a31ee4b3
SP
5842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
585
a74ca98f
SP
586 * INSTALL: Regenerate.
587
a31ee4b3
SP
588 * nscd/connections.c (nscd_init): Fix comment.
589
695c378f
JM
5902013-06-22 Joseph Myers <joseph@codesourcery.com>
591
d8412221
JM
592 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
593
695c378f
JM
594 [BZ #15667]
595 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
596 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
597
d1d54715
MR
5982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
599
600 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
601 DL_DST_REQ_STATIC.
602 (DL_DST_REQ_STATIC): Remove macro.
603
8fdda7af
JM
6042013-06-21 Joseph Myers <joseph@codesourcery.com>
605
606 [BZ #7006]
607 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
608 with a shift of 0 bits.
609
f3bc5e5a
MR
6102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
611
612 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
613 $(tststatic-ENV).
614
be09e8c9
KK
6152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
616
617 [BZ #15655]
618 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
619
85c2e611
AZ
6202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
621
622 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
623 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
624 accepts -fno-tree-loop-distribute-patterns.
625 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
626 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
627 recursive call.
628 * string/memset.c (memset): Likewise.
629 * string/test-memmove.c (simple_memmove): Disable loop transformation
630 to library calls.
631 * string/test-memset.c (simple_memset): Likewise.
632 * benchtests/bench-memmove.c (simple_memmove): Likewise.
633 * benchtests/bench-memset.c (simple_memset): Likewise.
634 * configure: Regenerated.
635
c91e0825
JM
6362013-06-20 Joseph Myers <joseph@codesourcery.com>
637
b8c792af
JM
638 * math/test-misc.c (main): Ignore fesetround failure when failures
639 of subsequent rounding tests would be ignored.
640
c91e0825
JM
641 [BZ #15654]
642 * math/fedisblxcpt.c (fedisableexcept): Return 0.
643 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
644 * math/fegetenv.c (__fegetenv): Return 0.
645 * math/fegetexcept.c (fegetexcept): Return 0.
646 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
647 FE_TONEAREST.
648 * math/feholdexcpt.c (feholdexcept): Return 0.
649 * math/fesetenv.c (__fesetenv): Return 0.
650 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
651 argument FE_TONEAREST.
652 * math/feupdateenv.c (__feupdateenv): Return 0.
653 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
654
bfcacbde
RM
6552013-06-18 Roland McGrath <roland@hack.frob.com>
656
657 * elf/rtld-Rules (rtld-compile-command.S): New variable.
658 (rtld-compile-command.s, rtld-compile-command.c): New variables.
659 ($(objpfx)rtld-%.os rules): Use them.
660
e55a9b25
AZ
6612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662
663 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
664 fields.
665
346d65b3
RM
6662013-06-17 Roland McGrath <roland@hack.frob.com>
667
12086fb4
RM
668 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
669 length of target pattern, then descending length of dependency pattern.
670 * configure.in (AWK): Require gawk 3.1.2 or newer.
671 * manual/install.texi (Tools for Compilation): Say that we do.
672 * configure: Regenerated.
673
346d65b3
RM
674 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
675 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
676 * scripts/sysd-rules.awk: ... this new script.
677 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
678 than a glob-style pattern.
679
1a846317
JM
6802013-06-17 Joseph Myers <joseph@codesourcery.com>
681
682 * math/test-misc.c (main): Do not treat incorrectly rounded
683 conversions as failure unless ROUNDING_TESTS passes.
684
8fc75e6f
JM
6852013-06-15 Joseph Myers <joseph@codesourcery.com>
686
3711a167
JM
687 [BZ #15631]
688 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
689 restore exception state around main square root computation, then
690 check for inexactness explicitly.
691
8fc75e6f
JM
692 * math/libm-test.inc (fma_test_data): Add another test.
693
61dd6208
SP
6942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
695
adf23d2c
SP
696 * manual/threads.texi (Non-POSIX Extensions): New document
697 node. Document pthread_getattr_default_np and
698 pthread_setattr_default_np.
699
61dd6208
SP
700 * Versions.def (libpthread): Add GLIBC_2.18.
701 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
707 Likewise.
708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
709 Likewise.
710 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
711 Likewise.
712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
713 Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
715 Likewise.
716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
717 Likewise.
718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
719 Likewise.
720
d086fc7b
LD
7212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
722
723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
724 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
725
747ef469
SP
7262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
727 H.J. Lu <hjl.tools@gmail.com>
728
729 [BZ #15627]
730 * sysdeps/x86_64/rtld-memset.c: Remove file.
731 * sysdeps/x86_64/rtld-memset.S: New file.
732
1b2feed2
JM
7332013-06-14 Joseph Myers <joseph@codesourcery.com>
734
735 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
736 (test_in_one_mode): Take arguments for whether the rounding mode
737 is supported for each floating-point type.
738 (do_test): Pass new arguments to test_in_one_mode using
739 ROUNDING_TESTS.
740
a58ad3f8
RM
7412013-06-13 Roland McGrath <roland@hack.frob.com>
742
743 * posix/tst-waitid.c (do_test): Distinguish different instances of
744 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
745 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
746 before entering the kernel for waitpid.
747
c204ab28
SP
7482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
749
750 * NEWS: Fix note on clock function precision. Text by Roland
751 McGrath.
752
f4a29fba
RM
7532013-06-13 Roland McGrath <roland@hack.frob.com>
754
755 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
756 it into place only when and if the sanity check passes.
757
1f24b9ad
JM
7582013-06-13 Joseph Myers <joseph@codesourcery.com>
759
760 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
761 output for whether conversion result is exact. Take argument
762 indicating whether type is IBM long double.
763 (round_for_all): Change need_exact field to ibm_ld.
764 * stdlib/tst-strtod-round.c (struct exactness): New type.
765 (struct test): Change bool ld_ok field to struct exactness exact.
766 (TEST): Update all definitions for change to field.
767 (tests): Regenerate array contents.
768 (test_in_one_mode): Take pointer to new field instead of old ld_ok
769 field value. Check for IBM long double here.
770 (do_test): Update calls to test_in_one_mode.
771
58206c68
SP
7722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 [BZ #12515]
775 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
776 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
777
2d6f4c5b 7782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
779
780 [BZ #15605]
781 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
782 generated by the compiler on loop optimizations.
783 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
784 general definitions.
785
94f2c076
JM
7862013-06-12 Joseph Myers <joseph@codesourcery.com>
787
788 * math/bug-nextafter.c: Include <math-tests.h>.
789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
790 the relevant type.
791 * math/bug-nexttoward.c: Include <math-tests.h>.
792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
793 the relevant type.
794 * math/test-misc.c: Include <math-tests.h>.
795 (main): Only test for exceptions if EXCEPTION_TESTS is true for
796 the relevant type.
797
e0e50a0a
AJ
7982013-06-12 Andreas Jaeger <aj@suse.de>
799
800 * po/ia.po: Update Interlingua translation from translation
801 project.
802
25061094
SP
8032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
804
805 * include/fenv.h: Include stdbool.h.
806 (struct rm_ctx): New structure.
807 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
808 Define macro.
809 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
810 (SET_RESTORE_ROUNDF): Likewise.
811 (SET_RESTORE_ROUNDL): Likewise.
812 (SET_RESTORE_ROUND_NOEX): Likewise.
813 (SET_RESTORE_ROUND_NOEXF): Likewise.
814 (SET_RESTORE_ROUND_NOEXL): Likewise.
815 (SET_RESTORE_ROUND_53BIT): Likewise.
816 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
817 (libc_feresetround_noexf_ctx): Likewise.
818 (libc_feresetround_noexl_ctx): Likewise.
819 (libc_feholdsetround_53bit_ctx): Likewise.
820 (libc_feresetround_53bit_ctx): Likewise.
821 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
822 (libc_feholdexcept_setround_sse_ctx): New function.
823 (libc_fesetenv_sse_ctx): Likewise.
824 (libc_feupdateenv_sse_ctx): Likewise.
825 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
826 (libc_feholdexcept_setround_387_ctx): Likewise.
827 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
828 (libc_feholdsetround_387_prec_ctx): Likewise.
829 (libc_feholdsetround_387_ctx): Likewise.
830 (libc_feholdsetround_387_53bit_ctx): Likewise.
831 (libc_feholdsetround_sse_ctx): Likewise.
832 (libc_feresetround_sse_ctx): Likewise.
833 (libc_feresetround_387_ctx): Likewise.
834 (libc_feupdateenv_387_ctx): Likewise.
835 (libc_feholdexcept_setroundf_ctx): Define macro.
836 (libc_fesetenvf_ctx): Likewise.
837 (libc_feupdateenvf_ctx): Likewise.
838 (libc_feholdsetroundf_ctx): Likewise.
839 (libc_feresetroundf_ctx): Likewise.
840 (libc_feholdexcept_setround_ctx): Likewise.
841 (libc_fesetenv_ctx): Likewise.
842 (libc_feupdateenv_ctx): Likewise.
843 (libc_feholdsetround_ctx): Likewise.
844 (libc_feresetround_ctx): Likewise.
845 (libc_feholdexcept_setroundl_ctx): Likewise.
846 (libc_feupdateenvl_ctx): Likewise.
847 (libc_feholdsetroundl_ctx): Likewise.
848 (libc_feresetroundl_ctx): Likewise.
849 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
850 (libc_feresetround_53bit_ctx): Likewise.
851
59b30555
SP
8522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
853
854 * locale/iso-639.def: Convert to UTF-8.
855
f1d73d30
JM
8562013-06-11 Joseph Myers <joseph@codesourcery.com>
857
858 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
859 (EXCEPTION_TESTS_double): Likewise.
860 (EXCEPTION_TESTS_long_double): Likewise.
861 (EXCEPTION_TESTS): Likewise.
862 * math/libm-test.inc (test_exceptions): Only test exceptions if
863 EXCEPTION_TESTS (FLOAT).
864
94aca5e7
SP
8652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
866
867 * benchtests/Makefile (string-bench): Add strcpy_chk and
868 stpcpy_chk.
869 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
870 * benchtests/bench-stpcpy_chk.c: New file.
871 * benchtests/bench-strcpy_chk-ifunc.c: New file.
872 * benchtests/bench-strcpy_chk.c: New file.
873 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
874 code.
875 (do_test): Likewise.
876
fac0c5f2
RA
8772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
878
879 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
880 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
881 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
882 with tabs where appropriate.
883 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
884 dl-procinfo.h.
885 [PPC_PLATFORM_PPC440]: Likewise.
886 [PPC_PLATFORM_PPC464]: Likewise.
887 [PPC_PLATFORM_PPC476]: Likewise.
888 (_dl_string_platform): Add support for detecting ppc405, ppc440,
889 ppc464, and ppc476 platform strings merging from ports/
890 dl-procinfo.h.
891
f22bc486
AS
8922013-06-11 Andreas Schwab <schwab@suse.de>
893
894 [BZ #14991]
895 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
896 (from_ucs4_idx): Regenerate.
897 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
898 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
899 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
900 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
901 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
902 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
903 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
904 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
905 from FROM_LOOP and TO_LOOP specific macros.
906 (BODY): Handle combining characters.
907 * iconvdata/BIG5HKSCS.irreversible: Update.
908 * iconvdata/BIG5HKSCS.precomposed: New file.
909 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
910 characters.
911 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
912
c1f75dc3
SP
9132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
914
4eacded2
SP
915 * include/sys/time.h: Fix indentation and add copyright header.
916
fec799f8
SP
917 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
918 (do_test): Likewise.
919 * string/test-memchr.c (do_one_test): Likewise.
920 (do_test): Likewise.
921 * string/test-memcmp.c (do_one_test): Likewise.
922 (do_test): Likewise.
923 * string/test-memcpy.c (do_one_test): Likewise.
924 (do_test): Likewise.
925 * string/test-memmem.c (do_one_test): Likewise.
926 (do_test): Likewise.
927 (do_random_tests): Likewise.
928 * string/test-memmove.c (do_one_test): Likewise.
929 (do_test): Likewise.
930 * string/test-memset.c (do_one_test): Likewise.
931 (do_test): Likewise.
932 * string/test-rawmemchr.c (do_one_test): Likewise.
933 (do_test): Likewise.
934 * string/test-strcasecmp.c (do_one_test): Likewise.
935 (do_test): Likewise.
936 * string/test-strcasestr.c (do_one_test): Likewise.
937 (do_test): Likewise.
938 * string/test-strcat.c (do_one_test): Likewise.
939 (do_test): Likewise.
940 * string/test-strchr.c (do_one_test): Likewise.
941 (do_test): Likewise.
942 * string/test-strcmp.c (do_one_test): Likewise.
943 (do_test): Likewise.
944 * string/test-strcpy.c (do_one_test): Likewise.
945 (do_test): Likewise.
946 * string/test-string.h: Likewise.
947 (test_init): Likewise.
948 * string/test-strlen.c (do_one_test): Likewise.
949 (do_test): Likewise.
950 * string/test-strncasecmp.c (do_one_test): Likewise.
951 (do_test): Likewise.
952 * string/test-strncat.c (do_one_test): Likewise.
953 (do_test): Likewise.
954 * string/test-strncmp.c (do_one_test): Likewise.
955 (do_test_limit): Likewise.
956 (do_test): Likewise.
957 * string/test-strncpy.c (do_one_test): Likewise.
958 (do_test): Likewise.
959 * string/test-strnlen.c (do_one_test): Likewise.
960 (do_test): Likewise.
961 * string/test-strpbrk.c (do_one_test): Likewise.
962 (do_test): Likewise.
963 * string/test-strrchr.c (do_one_test): Likewise.
964 (do_test): Likewise.
965 * string/test-strspn.c (do_one_test): Likewise.
966 (do_test): Likewise.
967 * string/test-strstr.c (do_one_test): Likewise.
968 (do_test): Likewise.
969
97020474
SP
970 * benchtests/Makefile (string-bench): Add string benchmarks.
971 * benchtests/bench-bcopy-ifunc.c: New file.
972 * benchtests/bench-bcopy.c: New file.
973 * benchtests/bench-bzero-ifunc.c: New file.
974 * benchtests/bench-bzero.c: New file.
975 * benchtests/bench-memccpy-ifunc.c: New file.
976 * benchtests/bench-memccpy.c: New file.
977 * benchtests/bench-memchr-ifunc.c: New file.
978 * benchtests/bench-memchr.c: New file.
979 * benchtests/bench-memcmp-ifunc.c: New file.
980 * benchtests/bench-memcmp.c: New file.
981 * benchtests/bench-memmem-ifunc.c: New file.
982 * benchtests/bench-memmem.c: New file.
983 * benchtests/bench-memmove-ifunc.c: New file.
984 * benchtests/bench-memmove.c: New file.
985 * benchtests/bench-mempcpy-ifunc.c: New file.
986 * benchtests/bench-mempcpy.c: New file.
987 * benchtests/bench-memset-ifunc.c: New file.
988 * benchtests/bench-memset.c: New file.
989 * benchtests/bench-rawmemchr-ifunc.c: New file.
990 * benchtests/bench-rawmemchr.c: New file.
991 * benchtests/bench-stpcpy-ifunc.c: New file.
992 * benchtests/bench-stpcpy.c: New file.
993 * benchtests/bench-stpncpy-ifunc.c: New file.
994 * benchtests/bench-stpncpy.c: New file.
995 * benchtests/bench-strcasecmp-ifunc.c: New file.
996 * benchtests/bench-strcasecmp.c: New file.
997 * benchtests/bench-strcasestr-ifunc.c: New file.
998 * benchtests/bench-strcasestr.c: New file.
999 * benchtests/bench-strcat-ifunc.c: New file.
1000 * benchtests/bench-strcat.c: New file.
1001 * benchtests/bench-strchr-ifunc.c: New file.
1002 * benchtests/bench-strchr.c: New file.
1003 * benchtests/bench-strchrnul-ifunc.c: New file.
1004 * benchtests/bench-strchrnul.c: New file.
1005 * benchtests/bench-strcmp-ifunc.c: New file.
1006 * benchtests/bench-strcmp.c: New file.
1007 * benchtests/bench-strcpy-ifunc.c: New file.
1008 * benchtests/bench-strcpy.c: New file.
1009 * benchtests/bench-strcspn-ifunc.c: New file.
1010 * benchtests/bench-strcspn.c: New file.
1011 * benchtests/bench-strlen-ifunc.c: New file.
1012 * benchtests/bench-strlen.c: New file.
1013 * benchtests/bench-strncasecmp-ifunc.c: New file.
1014 * benchtests/bench-strncasecmp.c: New file.
1015 * benchtests/bench-strncat-ifunc.c: New file.
1016 * benchtests/bench-strncat.c: New file.
1017 * benchtests/bench-strncmp-ifunc.c: New file.
1018 * benchtests/bench-strncmp.c: New file.
1019 * benchtests/bench-strncpy-ifunc.c: New file.
1020 * benchtests/bench-strncpy.c: New file.
1021 * benchtests/bench-strnlen-ifunc.c: New file.
1022 * benchtests/bench-strnlen.c: New file.
1023 * benchtests/bench-strpbrk-ifunc.c: New file.
1024 * benchtests/bench-strpbrk.c: New file.
1025 * benchtests/bench-strrchr-ifunc.c: New file.
1026 * benchtests/bench-strrchr.c: New file.
1027 * benchtests/bench-strspn-ifunc.c: New file.
1028 * benchtests/bench-strspn.c: New file.
1029 * benchtests/bench-strstr-ifunc.c: New file.
1030 * benchtests/bench-strstr.c: New file.
1031
c1f75dc3
SP
1032 * benchtests/Makefile: Disable parallel execution of targets.
1033 (string-bench): Add memcpy.
1034 (benchset): New variable to store a list of benchmark sets.
1035 (bench-func): Renamed from bench.
1036 (bench-set): New target.
1037 (bench): Depend on bench-func and bench-set.
1038 * benchtests/README: Add section on benchmark sets.
1039 * benchtests/bench-memcpy-ifunc.c: New file.
1040 * benchtests/bench-memcpy.c: New file.
1041 * benchtests/bench-string.h: New file.
1042
50fd745b
AS
10432013-06-11 Andreas Schwab <schwab@suse.de>
1044
1045 [BZ #15577]
1046 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1047 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1048 values in the triple.
1049 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1050 terminator in the group key.
1051
3ee7e9fe
AJ
10522013-06-11 Andreas Jaeger <aj@suse.de>
1053
1054 * po/zh_TW.po: Update Chinese (traditional) translation from
1055 translation project.
1056
89fb6835
SP
10572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1058
1059 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1060 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1061 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1063 (clock_getcpuclockid): Likewise.
1064 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1065 Add weak_alias and libc_hidden_def.
1066 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1067 * rt/clock_gettime.c (clock_gettime): Rename to
1068 __clock_gettime. Add weak_alias and libc_hidden_def.
1069 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1070 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1071 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1072 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1073 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1074 Likewise.
1075 * rt/clock_settime.c (clock_settime): Rename to
1076 __clock_settime. Add weak_alias and libc_hidden_def.
1077 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1078
0efa6f8b
JM
10792013-06-10 Joseph Myers <joseph@codesourcery.com>
1080
b8c61b4b
JM
1081 * mach/err_boot.sub: Remove trailing whitespace.
1082 * mach/err_ipc.sub: Likewise.
1083 * mach/err_mach.sub: Likewise.
1084
0efa6f8b
JM
1085 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1086 (ROUNDING_TESTS_double): Likewise.
1087 (ROUNDING_TESTS_long_double): Likewise.
1088 (ROUNDING_TESTS): Likewise.
1089 * math/libm-test.inc: Include <math-tests.h>.
1090 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1091 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1092 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1093 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1094
50b818bf
SP
10952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1096
1097 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1098 of assigning.
1099
60d2f8f3
JM
11002013-06-08 Joseph Myers <joseph@codesourcery.com>
1101
4902d2c3
JM
1102 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1103 otherwise empty TRANS lines.
1104 * sysdeps/gnu/errlist.c: Regenerated.
1105
60d2f8f3
JM
1106 * catgets/gencat.c (error_print): Use (void) in function
1107 definition.
1108 * crypt/crypt_util.c (__init_des): Likewise.
1109 * crypt/speeds.c (Stop): Likewise.
1110 (main): Likewise.
1111 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1112 * inet/ruserpass.c (token): Likewise.
1113 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1114 * intl/localealias.c (extend_alias_table): Likewise.
1115 * intl/plural-exp.c (init_germanic_plural): Likewise.
1116 * libio/fcloseall.c (__fcloseall): Likewise.
1117 * libio/genops.c (_IO_flush_all): Likewise.
1118 (_IO_flush_all_linebuffered): Likewise.
1119 (_IO_cleanup): Likewise.
1120 (_IO_iter_begin): Likewise.
1121 (_IO_iter_end): Likewise.
1122 (_IO_list_lock): Likewise.
1123 (_IO_list_unlock): Likewise.
1124 (_IO_list_resetlock): Likewise.
1125 * libio/getchar.c (getchar): Likewise.
1126 * libio/getchar_u.c (getchar_unlocked): Likewise.
1127 * libio/getwchar.c (getwchar): Likewise.
1128 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1129 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1130 * login/getpt.c (__getpt): Likewise.
1131 * login/tst-utmp.c (main): Likewise.
1132 * malloc/hooks.c (__malloc_check_init): Likewise.
1133 * malloc/malloc.c (__malloc_stats): Likewise.
1134 * malloc/mtrace.c (tr_break): Likewise.
1135 (mtrace): Likewise.
1136 (muntrace): Likewise.
1137 * misc/fstab.c (endfsent): Likewise.
1138 * misc/getclktck.c (__getclktck): Likewise.
1139 * misc/getdtsz.c (__getdtablesize): Likewise.
1140 * misc/gethostid.c (gethostid): Likewise.
1141 * misc/getpagesize.c (__getpagesize): Likewise.
1142 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1143 (__get_nprocs): Likewise.
1144 (__get_phys_pages): Likewise.
1145 (__get_avphys_pages): Likewise.
1146 * misc/getttyent.c (getttyent): Likewise.
1147 (setttyent): Likewise.
1148 (endttyent): Likewise.
1149 * misc/getusershell.c (getusershell): Likewise.
1150 (endusershell): Likewise.
1151 (setusershell): Likewise.
1152 (initshells): Likewise.
1153 * misc/hsearch.c (__hdestroy): Likewise.
1154 * misc/sync.c (sync): Likewise.
1155 * misc/syslog.c (closelog_internal): Likewise.
1156 (closelog): Likewise.
1157 * misc/ttyslot.c (ttyslot): Likewise.
1158 * misc/vhangup.c (vhangup): Likewise.
1159 * posix/fork.c (__fork): Likewise.
1160 * posix/getegid.c (__getegid): Likewise.
1161 * posix/geteuid.c (__geteuid): Likewise.
1162 * posix/getgid.c (__getgid): Likewise.
1163 * posix/getpid.c (__getpid): Likewise.
1164 * posix/getppid.c (__getppid): Likewise.
1165 * posix/getuid.c (__getuid): Likewise.
1166 * posix/pause.c (pause): Likewise.
1167 * posix/setpgrp.c (setpgrp): Likewise.
1168 * posix/setsid.c (__setsid): Likewise.
1169 * posix/test-vfork.c (noop): Likewise.
1170 * resolv/gethnamaddr.c (_endhtent): Likewise.
1171 (_gethtent): Likewise.
1172 (ht_endhostent): Likewise.
1173 (gethostent): Likewise.
1174 (dns_service): Likewise.
1175 * stdlib/drand48.c (drand48): Likewise.
1176 * stdlib/lrand48.c (lrand48): Likewise.
1177 * stdlib/mrand48.c (mrand48): Likewise.
1178 * stdlib/rand.c (rand): Likewise.
1179 * stdlib/random.c (__random): Likewise.
1180 * stdlib/setenv.c (clearenv): Likewise.
1181 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1182 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1183 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1184 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1185 (__get_nprocs): Likewise.
1186 (__get_phys_pages): Likewise.
1187 (__get_avphys_pages): Likewise.
1188 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1189 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1190 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1191 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1192 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1193 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1194 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1195 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1196 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1197 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1198 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1199 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1200 * sysdeps/posix/clock.c (clock): Likewise.
1201 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1202 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1203 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1204 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1205 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1207 (__get_nprocs_conf): Likewise.
1208 (__get_phys_pages): Likewise.
1209 (__get_avphys_pages): Likewise.
1210 * time/clock.c (clock): Likewise.
1211 * time/tzset.c (__tzname_max): Likewise.
1212
2e09a79a
JM
12132013-06-07 Joseph Myers <joseph@codesourcery.com>
1214
1215 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1216 (__bswap_32): Do not use "register".
1217 * crypt/crypt.c (_ufc_doit_r): Likewise.
1218 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1219 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1220 * gmon/gmon.c (__monstartup): Likewise.
1221 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1222 * hurd/hurdmalloc.c (more_memory): Likewise.
1223 (malloc): Likewise.
1224 (free): Likewise.
1225 (realloc): Likewise.
1226 (malloc_fork_prepare): Likewise.
1227 (malloc_fork_parent): Likewise.
1228 (malloc_fork_child): Likewise.
1229 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1230 (_svcauth_des): Likewise.
1231 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1232 * inet/inet_net.c (inet_network): Likewise.
1233 * inet/inet_netof.c (inet_netof): Likewise.
1234 * inet/rcmd.c (__validuser2_sa): Likewise.
1235 * io/fts.c (fts_open): Likewise.
1236 (fts_load): Likewise.
1237 (fts_close): Likewise.
1238 (fts_read): Likewise.
1239 (fts_children): Likewise.
1240 (fts_build): Likewise.
1241 (fts_stat): Likewise.
1242 (fts_sort): Likewise.
1243 (fts_alloc): Likewise.
1244 (fts_lfree): Likewise.
1245 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1246 (_IO_file_xsgetn): Likewise.
1247 (_IO_file_xsgetn_mmap): Likewise.
1248 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1249 (_IO_cookie_write): Likewise.
1250 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1251 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1252 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1253 * malloc/obstack.c (_obstack_begin): Likewise.
1254 (_obstack_begin_1): Likewise.
1255 (_obstack_newchunk): Likewise.
1256 (_obstack_allocated_p): Likewise.
1257 (obstack_free): Likewise.
1258 (_obstack_memory_used): Likewise.
1259 * misc/getttyent.c (getttynam): Likewise.
1260 (getttyent): Likewise.
1261 (skip): Likewise.
1262 (value): Likewise.
1263 * misc/getusershell.c (initshells): Likewise.
1264 * misc/syslog.c (__vsyslog_chk): Likewise.
1265 * misc/ttyslot.c (ttyslot): Likewise.
1266 * nis/nis_hash.c (__nis_hash): Likewise.
1267 * posix/fnmatch_loop.c (FCT): Likewise.
1268 * posix/getconf.c (print_all): Likewise.
1269 (main): Likewise.
1270 * posix/getopt.c (exchange): Likewise.
1271 * posix/glob.c (globfree): Likewise.
1272 (prefix_array): Likewise.
1273 (__glob_pattern_type): Likewise.
1274 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1275 (NS_GET32): Likewise.
1276 (NS_PUT16): Likewise.
1277 (NS_PUT32): Likewise.
1278 * resolv/gethnamaddr.c (getanswer): Likewise.
1279 (gethostbyname2): Likewise.
1280 (gethostbyaddr): Likewise.
1281 (_gethtent): Likewise.
1282 (_gethtbyname2): Likewise.
1283 (_gethtbyaddr): Likewise.
1284 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1285 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1286 * resolv/res_init.c (__res_vinit): Likewise.
1287 (net_mask): Likewise.
1288 * resolv/res_mkquery.c (outchar): Likewise.
1289 (PRINT): Likewise.
1290 * stdio-common/printf_fp.c (outchar): Likewise.
1291 (PRINT): Likewise.
1292 * stdio-common/printf_fphex.c (outchar): Likewise.
1293 (PRINT): Likewise.
1294 * stdio-common/printf_size.c (outchar): Likewise.
1295 (PRINT): Likewise.
1296 * stdio-common/test_rdwr.c (main): Likewise.
1297 * stdio-common/tfformat.c (matches): Likewise.
1298 * stdio-common/vfprintf.c (outchar): Likewise.
1299 (printf_unknown): Likewise.
1300 (buffered_vfprintf): Likewise.
1301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1302 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1303 (ReadFile): Likewise.
1304 * stdlib/qsort.c (SWAP): Likewise.
1305 (_quicksort): Likewise.
1306 * stdlib/setenv.c (__add_to_environ): Likewise.
1307 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1308 * stdlib/strtol_l.c (__strtol_l): Likewise.
1309 * stdlib/tst-strtod.c (main): Likewise.
1310 * stdlib/tst-strtol.c (main): Likewise.
1311 * stdlib/tst-strtoll.c (main): Likewise.
1312 * string/bits/string2.h (__strcmp_cc): Likewise.
1313 (__strcmp_cg): Likewise.
1314 (__strcspn_c1): Likewise.
1315 (__strcspn_c2): Likewise.
1316 (__strcspn_c3): Likewise.
1317 (__strspn_c1): Likewise.
1318 (__strspn_c2): Likewise.
1319 (__strspn_c3): Likewise.
1320 (__strsep_1c): Likewise.
1321 (__strsep_2c): Likewise.
1322 (__strsep_3c): Likewise.
1323 * string/memccpy.c (__memccpy): Likewise.
1324 * string/stpcpy.c (__stpcpy): Likewise.
1325 * string/strcmp.c (strcmp): Likewise.
1326 * string/strrchr.c (strrchr): Likewise.
1327 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1328 Likewise.
1329 * sysdeps/mach/hurd/getcwd.c
1330 (_hurd_canonicalize_directory_name_internal): Likewise.
1331 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1332 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1333 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1334 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1335 Likewise, in both definitions.
1336 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1337 definitions.
1338 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1339 64] (__bswap_64): Likewise.
1340 * time/test_time.c (main): Likewise.
1341 * time/tzfile.c (__tzfile_read): Likewise.
1342 (__tzfile_compute): Likewise.
1343 * time/tzset.c (__tzset_parse_tz): Likewise.
1344 (tzset_internal): Likewise.
1345 (compute_change): Likewise.
1346 * wcsmbs/wcscat.c (__wcscat): Likewise.
1347 * wcsmbs/wcschr.c (wcschr): Likewise.
1348 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1349 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1350 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1351 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1352 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1353 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1354 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1355 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1356 * wcsmbs/wmemset.c (wmemset): Likewise.
1357
9e54314b
JM
13582013-06-06 Joseph Myers <joseph@codesourcery.com>
1359
1360 * scripts/config.guess: Update to version 2013-05-16.
1361 * scripts/config.sub: Update to version 2013-04-24.
1362 * scripts/install-sh: Update to version 2011-11-20.07.
1363 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1364 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1365
350635a5
OB
13662013-06-06 Ondřej Bílka <neleai@seznam.cz>
1367
1368 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1369 * elf/sln.c: Likewise.
1370 * hurd/hurd/ioctl.h: Likewise.
1371 * hurd/hurdmalloc.c: Likewise.
1372 * hurd/xattr.c: Likewise.
1373 * include/shlib-compat.h: Likewise.
1374 * inet/ruserpass.c: Likewise.
1375 * libio/iofgets_u.c: Likewise.
1376 * libio/iofgetws_u.c: Likewise.
1377 * locale/programs/ld-identification.c: Likewise.
1378 * locale/programs/ld-time.c: Likewise.
1379 * mach/msg-destroy.c: Likewise.
1380 * nss/nss_files/files-netgrp.c: Likewise.
1381 * resolv/res_data.c: Likewise.
1382 * soft-fp/op-1.h: Likewise.
1383 * soft-fp/op-2.h: Likewise.
1384 * soft-fp/op-4.h: Likewise.
1385 * soft-fp/op-common.h: Likewise.
1386 * stdio-common/printf_fphex.c: Likewise.
1387 * stdlib/strtod_l.c: Likewise.
1388 * sunrpc/rpc/clnt.h: Likewise.
1389 * sysdeps/generic/framestate.c: Likewise.
1390 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1391 * sysdeps/i386/bsd-setjmp.S: Likewise.
1392 * sysdeps/i386/__longjmp.S: Likewise.
1393 * sysdeps/i386/setjmp.S: Likewise.
1394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1395 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1396 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1407 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1410 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1412 * sysdeps/ieee754/support.c: Likewise.
1413 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1414 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1415 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1416 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1417 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1418 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1419 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1420 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1421 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1422 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1423 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1424 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1425 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1426 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1427 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1428 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1429 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1431
44a988af
OB
14322013-06-05 Ondřej Bílka <neleai@seznam.cz>
1433
25506f09 1434 * posix/transbug.c: Remove executable mode.
44a988af 1435
9c84384c
JM
14362013-06-05 Joseph Myers <joseph@codesourcery.com>
1437
1438 * crypt/speeds.c: Remove trailing whitespace.
1439 * dlfcn/default.c: Likewise.
1440 * elf/ifuncdep2.c: Likewise.
1441 * elf/ifuncmain1.c: Likewise.
1442 * elf/ifuncmain1vis.c: Likewise.
1443 * elf/testobj.h: Likewise.
1444 * elf/tst-stackguard1.c: Likewise.
1445 * gmon/sys/gmon.h: Likewise.
1446 * hurd/hurdmsg.c: Likewise.
1447 * hurd/new-fd.c: Likewise.
1448 * hurd/ports-get.c: Likewise.
1449 * iconvdata/ibm1008_420.c: Likewise.
1450 * inet/tst-getni1.c: Likewise.
1451 * inet/tst-getni2.c: Likewise.
1452 * libio/ioungetc.c: Likewise.
1453 * libio/wfiledoalloc.c: Likewise.
1454 * manual/libm-err-tab.pl: Likewise.
1455 * math/w_dremf.c: Likewise.
1456 * misc/ftruncate.c: Likewise.
1457 * posix/bug-glob2.c: Likewise.
1458 * posix/tst-pcre.c: Likewise.
1459 * posix/wait4.c: Likewise.
1460 * resolv/README: Likewise.
1461 * resolv/res_debug.h: Likewise.
1462 * resolv/tst-inet_ntop.c: Likewise.
1463 * setjmp/bug269-setjmp.c: Likewise.
1464 * soft-fp/extended.h: Likewise.
1465 * soft-fp/op-1.h: Likewise.
1466 * soft-fp/op-2.h: Likewise.
1467 * soft-fp/op-4.h: Likewise.
1468 * soft-fp/op-8.h: Likewise.
1469 * soft-fp/testit.c: Likewise.
1470 * stdio-common/bug16.c: Likewise.
1471 * stdlib/random.c: Likewise.
1472 * sunrpc/rpcsvc/rquota.x: Likewise.
1473 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1479 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1480 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1481 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1482 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1502 * sysdeps/ieee754/s_lib_version.c: Likewise.
1503 * sysdeps/mach/hurd/check_fds.c: Likewise.
1504 * sysdeps/mach/hurd/getsockname.c: Likewise.
1505 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1506 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1507 * sysdeps/powerpc/bits/link.h: Likewise.
1508 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1509 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1510 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1511 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1513 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1514 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1515 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1516 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1517 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1518 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1519 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1520 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1521 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1522 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1531 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1532 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1533 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1534 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1537 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1538 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1539 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1540 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1541 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1542 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1560 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1562 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1565 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1566 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1567 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1572 * sysdeps/powerpc/sysdep.h: Likewise.
1573 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1574 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1575 * sysdeps/sh/dl-trampoline.S: Likewise.
1576 * sysdeps/sh/memset.S: Likewise.
1577 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1578 * sysdeps/sh/strlen.S: Likewise.
1579 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1580 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1581 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1582 * sysdeps/sparc/sparc32/rem.S: Likewise.
1583 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1584 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1585 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1586 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1587 * sysdeps/sparc/sparc32/urem.S: Likewise.
1588 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1589 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1590 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1591 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1593 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1594 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1595 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1596 * sysdeps/unix/bsd/times.c: Likewise.
1597 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1598 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1602 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1604 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1606 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1609 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1610 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1612 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1614 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1615 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1616 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1617 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1618 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1619 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1620 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1621 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1622 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1623 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1625 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1626 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1627 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1628 * sysdeps/x86_64/strcspn.S: Likewise.
1629
869378a5
RA
16302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1631
1632 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1633 generated file. Regenerate properly from gen-translit.pl.
1634 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1635 locale/C-translit.h.
1636
840e2943
AS
16372013-06-05 Andreas Schwab <schwab@suse.de>
1638
1639 [BZ #15100]
1640 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1641 week as 6 instead of -1.
1642 * time/tst-strptime.c (day_tests): Add test case.
1643
4c60cb0c
SP
16442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1645
1646 * sysdeps/generic/math_private.h
1647 (libc_feholdexcept_setround_53bit): Replace with
1648 libc_feholdsetround_53bit.
1649 (libc_feupdateenv_53bit): Replace with
1650 libc_feresetround_53bit.
1651 (SET_RESTORE_ROUND_53BIT): Adjust.
1652
d180203e
SP
16532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1654
96df079a
SP
1655 * string/test-strchrnul.c: Add copyright header.
1656
d180203e
SP
1657 * posix/tst-getaddrinfo4.c: Increase test timeout.
1658
8b0ccb2d
CD
16592013-06-03 Carlos O'Donell <carlos@redhat.com>
1660
1661 [BZ #15536]
1662 * math/libm-test.inc (MAX_EXP): Remove
1663 (MIN_EXP): Define.
1664 (ulp): Use MIN_EXP - MANT_DIG.
1665 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1666
3b3c4d40
CD
16672013-05-31 Carlos O'Donell <carlos@redhat.com>
1668
1669 * po/be.po: Revert last change.
1670 * po/zh_CN.po: Likewise.
1671 * po/header.pot: Likewise.
1672
fab7ce3f
JM
16732013-05-31 Joseph Myers <joseph@codesourcery.com>
1674
1675 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1676 link-libc-deps to empty as target-specific variable.
1677 * Makerules (link-libc-args): New variable.
1678 (libc-for-link): Likewise.
1679 (link-libc-deps): Likewise.
1680 (lib%.so): Depend on $(link-libc-deps). Link with
1681 $(link-libc-args).
1682 (build-module): Link with $(link-libc-args).
1683 (build-module-asneeded): Likewise.
1684 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1685 list of objects.
1686 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1687 target-specific variable.
1688 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1689 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1690 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1691 libc.
1692 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1693 libc and ld.so.
1694 ($(objpfx)libpcprofile.so): Likewise.
1695 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1696 libc_nonshared.a.
1697 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1698 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1699 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1700 $(link-libc-deps).
1701 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1702 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1703 * login/Makefile ($(objpfx)libutil.so): Likewise.
1704 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1705 * math/Makefile ($(objpfx)libm.so): Likewise.
1706 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1707 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1708 variable instead of depending directly on libc.
1709 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1710 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1711 $(link-libc-deps).
1712 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1713 libc.
1714 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1715 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1716 ($(objpfx)libanl.so): Likewise.
1717 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1718 ld.so.
1719 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1720 $(link-libc-deps).
1721 * sysdeps/i386/fpu/Makefile: Remove file.
1722 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1723 ($(objpfx)libm.so): Remove dependency on ld.so.
1724
eca5920c
PF
17252013-05-30 Patsy Franklin <pfrankli@redhat.com>
1726
1727 [BZ # 15553]
1728 * nis/yp_xdr.c (XDRMAXNAME): Define.
1729 (XDRMAXRECORD): Define.
1730 (xdr_domainname): Use XDRMAXNAME.
1731 (xdr_mapname): Likewise.
1732 (xdr_peername): Likewise.
1733 (xdr_keydat): Use XDRMAXRECORD.
1734 (xdr_valdat): Likewise.
1735
17362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1737
1738 [BZ #14256]
1739 * manual/errno.texi (ESTALE): Update to account for more than
1740 just NFS file systems.
1741 * sysdeps/gnu/errlist.c: Regenerated.
1742
b9375348
SP
17432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1744
1745 [BZ #15465]
1746 * elf/Makefile (tests): Add tst-null-argv.
1747 (modules-names): Add tst-null-argv-lib.
1748 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1749 (tst-null-argv-ENV): Set environment for tst-null-argv.
1750 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1751 (RTLD_PROGNAME): New macro.
1752 * elf/tst-null-argv.c: New test case.
1753 * elf/tst-null-argv-lib.c: Library for test case.
1754 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1755 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1756 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1757 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1758 * elf/dl-init.c (call_init): Likewise.
1759 (_dl_init): Likewise.
1760 * elf/dl-load.c (print_search_path): Likewise.
1761 (_dl_map_object): Likewise.
1762 * elf/dl-lookup.c (do_lookup_x): Likewise.
1763 (add_dependency): Likewise.
1764 (_dl_lookup_symbol_x): Likewise.
1765 (_dl_debug_bindings): Likewise.
1766 * elf/dl-open.c (_dl_show_scope): Likewise.
1767 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1768 * elf/dl-version.c (match_symbol): Likewise.
1769 (_dl_check_map_versions): Likewise.
1770 * elf/rtld.c (dl_main): Likewise.
1771 (print_unresolved): Use RTLD_PROGNAME.
1772 (print_missing_version): Likewise.
1773 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1774 (elf_machine_rela): Likewise.
1775 * sysdeps/powerpc/powerpc32/dl-machine.c
1776 (__process_machine_rela): Likewise.
1777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1778 Likewise.
1779 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1780 Likewise.
1781 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1782 Likewise.
1783 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1785 Likewise.
1786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1787 Likewise.
1788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1789
8a9f20c8
CD
17902013-05-28 Carlos O'Donell <carlos@redhat.com>
1791
1792 * po/be.po: Add descriptive title.
1793 * po/zh_CN.po: Likewise.
1794 * po/header.pot: Likewise.
1795
0e60d68e
MF
17962013-05-28 Mike Frysinger <vapier@gentoo.org>
1797
1798 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1799 error message.
1800 (enlarge_archive): Likewise.
1801
56b672e9
BN
18022013-05-28 Ben North <ben@redfrontdoor.org>
1803
1804 * manual/arith.texi (frexp): It is the magnitude of the return
1805 value which lies in [0.5, 1), not the return value itself.
1806
5e056687
AZ
18072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1810
2b66ef5d
TS
18112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1812
528c2405
TS
1813 * stdio-common/bug26.c (main): Correct fscanf template.
1814
07b4c13d
TS
1815 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1816 declare _dl_skip_args.
1817
ec9dd97c
TS
1818 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1819 Don't declare.
1820
2b66ef5d
TS
1821 * manual/platform.texi: Add missing @end deftypefun.
1822
4f8dfe27
JM
18232013-05-24 Joseph Myers <joseph@codesourcery.com>
1824
0323d086
JM
1825 [BZ #15529]
1826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1827 bit of mantissa of 2^16382.
1828 * math/libm-test.inc (hypot_test_data): Add more tests.
1829
dd4259b9
JM
1830 * math/libm-test.inc: Add drem and pow10 to list of tested
1831 functions.
1832 (pow10_test): New function.
1833 (drem_test): Likewise.
1834 (drem_test_tonearest): Likewise.
1835 (drem_test_towardzero): Likewise.
1836 (drem_test_downward): Likewise.
1837 (drem_test_upward): Likewise.
1838 (main): Call the new functions.
1839
4f8dfe27
JM
1840 * math/libm-test.inc (finite_test_data): Remove.
1841 (finite_test): Run tests from isfinite_test_data.
1842 (gamma_test_data): Remove.
1843 (gamma_test): Run tests from lgamma_test_data.
1844 * sysdeps/i386/fpu/libm-test-ulps: Update.
1845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1846
d116b7c4
AZ
18472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848
1849 * manual/platform.texi: Add PowerPC PPR function set documentation.
1850 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1851 implementation.
1852
e96e3767
CD
18532013-05-24 Carlos O'Donell <carlos@redhat.com>
1854
1855 * math/libm-test.inc (MAX_EXP): Define.
1856 (ULPDIFF): Define.
1857 (ulp): New function.
1858 (check_float_internal): Use ULPDIFF.
1859 (cpow_test): Disable failing test.
1860 (check_ulp): Test ulp() implemetnation.
1861 (main): Call check_ulp before starting tests.
1862
b679a606
JM
18632013-05-24 Joseph Myers <joseph@codesourcery.com>
1864
e8bdba36
JM
1865 * math/gen-libm-test.pl (generate_testfile): Do not handle
1866 START_DATA and END_DATA.
1867 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1868 END_DATA.
1869 (acos_tonearest_test_data): Likewise.
1870 (acos_towardzero_test_data): Likewise.
1871 (acos_downward_test_data): Likewise.
1872 (acos_upward_test_data): Likewise.
1873 (acosh_test_data): Likewise.
1874 (asin_test_data): Likewise.
1875 (asin_tonearest_test_data): Likewise.
1876 (asin_towardzero_test_data): Likewise.
1877 (asin_downward_test_data): Likewise.
1878 (asin_upward_test_data): Likewise.
1879 (asinh_test_data): Likewise.
1880 (atan_test_data): Likewise.
1881 (atanh_test_data): Likewise.
1882 (atan2_test_data): Likewise.
1883 (cabs_test_data): Likewise.
1884 (cacos_test_data): Likewise.
1885 (cacosh_test_data): Likewise.
1886 (carg_test_data): Likewise.
1887 (casin_test_data): Likewise.
1888 (casinh_test_data): Likewise.
1889 (catan_test_data): Likewise.
1890 (catanh_test_data): Likewise.
1891 (cbrt_test_data): Likewise.
1892 (ccos_test_data): Likewise.
1893 (ccosh_test_data): Likewise.
1894 (ceil_test_data): Likewise.
1895 (cexp_test_data): Likewise.
1896 (cimag_test_data): Likewise.
1897 (clog_test_data): Likewise.
1898 (clog10_test_data): Likewise.
1899 (conj_test_data): Likewise.
1900 (copysign_test_data): Likewise.
1901 (cos_test_data): Likewise.
1902 (cos_tonearest_test_data): Likewise.
1903 (cos_towardzero_test_data): Likewise.
1904 (cos_downward_test_data): Likewise.
1905 (cos_upward_test_data): Likewise.
1906 (cosh_test_data): Likewise.
1907 (cosh_tonearest_test_data): Likewise.
1908 (cosh_towardzero_test_data): Likewise.
1909 (cosh_downward_test_data): Likewise.
1910 (cosh_upward_test_data): Likewise.
1911 (cpow_test_data): Likewise.
1912 (cproj_test_data): Likewise.
1913 (creal_test_data): Likewise.
1914 (csin_test_data): Likewise.
1915 (csinh_test_data): Likewise.
1916 (csqrt_test_data): Likewise.
1917 (ctan_test_data): Likewise.
1918 (ctan_tonearest_test_data): Likewise.
1919 (ctan_towardzero_test_data): Likewise.
1920 (ctan_downward_test_data): Likewise.
1921 (ctan_upward_test_data): Likewise.
1922 (ctanh_test_data): Likewise.
1923 (ctanh_tonearest_test_data): Likewise.
1924 (ctanh_towardzero_test_data): Likewise.
1925 (ctanh_downward_test_data): Likewise.
1926 (ctanh_upward_test_data): Likewise.
1927 (erf_test_data): Likewise.
1928 (erfc_test_data): Likewise.
1929 (exp_test_data): Likewise.
1930 (exp_tonearest_test_data): Likewise.
1931 (exp_towardzero_test_data): Likewise.
1932 (exp_downward_test_data): Likewise.
1933 (exp_upward_test_data): Likewise.
1934 (exp10_test_data): Likewise.
1935 (exp2_test_data): Likewise.
1936 (expm1_test_data): Likewise.
1937 (fabs_test_data): Likewise.
1938 (fdim_test_data): Likewise.
1939 (finite_test_data): Likewise.
1940 (floor_test_data): Likewise.
1941 (fma_test_data): Likewise.
1942 (fma_towardzero_test_data): Likewise.
1943 (fma_downward_test_data): Likewise.
1944 (fma_upward_test_data): Likewise.
1945 (fmax_test_data): Likewise.
1946 (fmin_test_data): Likewise.
1947 (fmod_test_data): Likewise.
1948 (fpclassify_test_data): Likewise.
1949 (frexp_test_data): Likewise.
1950 (gamma_test_data): Likewise.
1951 (hypot_test_data): Likewise.
1952 (ilogb_test_data): Likewise.
1953 (isfinite_test_data): Likewise.
1954 (isgreater_test_data): Likewise.
1955 (isgreaterequal_test_data): Likewise.
1956 (isinf_test_data): Likewise.
1957 (isless_test_data): Likewise.
1958 (islessequal_test_data): Likewise.
1959 (islessgreater_test_data): Likewise.
1960 (isnan_test_data): Likewise.
1961 (isnormal_test_data): Likewise.
1962 (issignaling_test_data): Likewise.
1963 (isunordered_test_data): Likewise.
1964 (j0_test_data): Likewise.
1965 (j1_test_data): Likewise.
1966 (jn_test_data): Likewise.
1967 (ldexp_test_data): Likewise.
1968 (lgamma_test_data): Likewise.
1969 (lrint_test_data): Likewise.
1970 (lrint_tonearest_test_data): Likewise.
1971 (lrint_towardzero_test_data): Likewise.
1972 (lrint_downward_test_data): Likewise.
1973 (lrint_upward_test_data): Likewise.
1974 (llrint_test_data): Likewise.
1975 (llrint_tonearest_test_data): Likewise.
1976 (llrint_towardzero_test_data): Likewise.
1977 (llrint_downward_test_data): Likewise.
1978 (llrint_upward_test_data): Likewise.
1979 (log_test_data): Likewise.
1980 (log10_test_data): Likewise.
1981 (log1p_test_data): Likewise.
1982 (log2_test_data): Likewise.
1983 (logb_test_data): Likewise.
1984 (logb_downward_test_data): Likewise.
1985 (lround_test_data): Likewise.
1986 (llround_test_data): Likewise.
1987 (modf_test_data): Likewise.
1988 (nearbyint_test_data): Likewise.
1989 (nextafter_test_data): Likewise.
1990 (nexttoward_test_data): Likewise.
1991 (pow_test_data): Likewise.
1992 (pow_tonearest_test_data): Likewise.
1993 (pow_towardzero_test_data): Likewise.
1994 (pow_downward_test_data): Likewise.
1995 (pow_upward_test_data): Likewise.
1996 (remainder_test_data): Likewise.
1997 (remainder_tonearest_test_data): Likewise.
1998 (remainder_towardzero_test_data): Likewise.
1999 (remainder_downward_test_data): Likewise.
2000 (remainder_upward_test_data): Likewise.
2001 (remquo_test_data): Likewise.
2002 (rint_test_data): Likewise.
2003 (rint_tonearest_test_data): Likewise.
2004 (rint_towardzero_test_data): Likewise.
2005 (rint_downward_test_data): Likewise.
2006 (rint_upward_test_data): Likewise.
2007 (round_test_data): Likewise.
2008 (scalb_test_data): Likewise.
2009 (scalbn_test_data): Likewise.
2010 (scalbln_test_data): Likewise.
2011 (signbit_test_data): Likewise.
2012 (sin_test_data): Likewise.
2013 (sin_tonearest_test_data): Likewise.
2014 (sin_towardzero_test_data): Likewise.
2015 (sin_downward_test_data): Likewise.
2016 (sin_upward_test_data): Likewise.
2017 (sincos_test_data): Likewise.
2018 (sinh_test_data): Likewise.
2019 (sinh_tonearest_test_data): Likewise.
2020 (sinh_towardzero_test_data): Likewise.
2021 (sinh_downward_test_data): Likewise.
2022 (sinh_upward_test_data): Likewise.
2023 (sqrt_test_data): Likewise.
2024 (tan_test_data): Likewise.
2025 (tan_tonearest_test_data): Likewise.
2026 (tan_towardzero_test_data): Likewise.
2027 (tan_downward_test_data): Likewise.
2028 (tan_upward_test_data): Likewise.
2029 (tanh_test_data): Likewise.
2030 (tgamma_test_data): Likewise.
2031 (trunc_test_data): Likewise.
2032 (y0_test_data): Likewise.
2033 (y1_test_data): Likewise.
2034 (yn_test_data): Likewise.
2035 (significand_test_data): Likewise.
2036
b679a606
JM
2037 * math/gen-libm-test.pl (@functions): Remove variable.
2038 (generate_testfile): Don't handle START and END lines.
2039 * math/libm-test.inc (START): New macro.
2040 (END): Likewise.
2041 (END_COMPLEX): Likewise.
2042 (acos_test): Use END macro without arguments.
2043 (acos_test_tonearest): Likewise.
2044 (acos_test_towardzero): Likewise.
2045 (acos_test_downward): Likewise.
2046 (acos_test_upward): Likewise.
2047 (acosh_test): Likewise.
2048 (asin_test): Likewise.
2049 (asin_test_tonearest): Likewise.
2050 (asin_test_towardzero): Likewise.
2051 (asin_test_downward): Likewise.
2052 (asin_test_upward): Likewise.
2053 (asinh_test): Likewise.
2054 (atan_test): Likewise.
2055 (atanh_test): Likewise.
2056 (atan2_test): Likewise.
2057 (cabs_test): Likewise.
2058 (cacos_test): Use END_COMPLEX macro without arguments.
2059 (cacosh_test): Likewise.
2060 (carg_test): Use END macro without arguments.
2061 (casin_test): Use END_COMPLEX macro without arguments.
2062 (casinh_test): Likewise.
2063 (catan_test): Likewise.
2064 (catanh_test): Likewise.
2065 (cbrt_test): Use END macro without arguments.
2066 (ccos_test): Use END_COMPLEX macro without arguments.
2067 (ccosh_test): Likewise.
2068 (ceil_test): Use END macro without arguments.
2069 (cexp_test): Use END_COMPLEX macro without arguments.
2070 (cimag_test): Use END macro without arguments.
2071 (clog_test): Use END_COMPLEX macro without arguments.
2072 (clog10_test): Likewise.
2073 (conj_test): Likewise.
2074 (copysign_test): Use END macro without arguments.
2075 (cos_test): Likewise.
2076 (cos_test_tonearest): Likewise.
2077 (cos_test_towardzero): Likewise.
2078 (cos_test_downward): Likewise.
2079 (cos_test_upward): Likewise.
2080 (cosh_test): Likewise.
2081 (cosh_test_tonearest): Likewise.
2082 (cosh_test_towardzero): Likewise.
2083 (cosh_test_downward): Likewise.
2084 (cosh_test_upward): Likewise.
2085 (cpow_test): Use END_COMPLEX macro without arguments.
2086 (cproj_test): Likewise.
2087 (creal_test): Use END macro without arguments.
2088 (csin_test): Use END_COMPLEX macro without arguments.
2089 (csinh_test): Likewise.
2090 (csqrt_test): Likewise.
2091 (ctan_test): Likewise.
2092 (ctan_test_tonearest): Likewise.
2093 (ctan_test_towardzero): Likewise.
2094 (ctan_test_downward): Likewise.
2095 (ctan_test_upward): Likewise.
2096 (ctanh_test): Likewise.
2097 (ctanh_test_tonearest): Likewise.
2098 (ctanh_test_towardzero): Likewise.
2099 (ctanh_test_downward): Likewise.
2100 (ctanh_test_upward): Likewise.
2101 (erf_test): Use END macro without arguments.
2102 (erfc_test): Likewise.
2103 (exp_test): Likewise.
2104 (exp_test_tonearest): Likewise.
2105 (exp_test_towardzero): Likewise.
2106 (exp_test_downward): Likewise.
2107 (exp_test_upward): Likewise.
2108 (exp10_test): Likewise.
2109 (exp2_test): Likewise.
2110 (expm1_test): Likewise.
2111 (fabs_test): Likewise.
2112 (fdim_test): Likewise.
2113 (finite_test): Likewise.
2114 (floor_test): Likewise.
2115 (fma_test): Likewise.
2116 (fma_test_towardzero): Likewise.
2117 (fma_test_downward): Likewise.
2118 (fma_test_upward): Likewise.
2119 (fmax_test): Likewise.
2120 (fmin_test): Likewise.
2121 (fmod_test): Likewise.
2122 (fpclassify_test): Likewise.
2123 (frexp_test): Likewise.
2124 (gamma_test): Likewise.
2125 (hypot_test): Likewise.
2126 (ilogb_test): Likewise.
2127 (isfinite_test): Likewise.
2128 (isgreater_test): Likewise.
2129 (isgreaterequal_test): Likewise.
2130 (isinf_test): Likewise.
2131 (isless_test): Likewise.
2132 (islessequal_test): Likewise.
2133 (islessgreater_test): Likewise.
2134 (isnan_test): Likewise.
2135 (isnormal_test): Likewise.
2136 (issignaling_test): Likewise.
2137 (isunordered_test): Likewise.
2138 (j0_test): Likewise.
2139 (j1_test): Likewise.
2140 (jn_test): Likewise.
2141 (ldexp_test): Likewise.
2142 (lgamma_test): Likewise.
2143 (lrint_test): Likewise.
2144 (lrint_test_tonearest): Likewise.
2145 (lrint_test_towardzero): Likewise.
2146 (lrint_test_downward): Likewise.
2147 (lrint_test_upward): Likewise.
2148 (llrint_test): Likewise.
2149 (llrint_test_tonearest): Likewise.
2150 (llrint_test_towardzero): Likewise.
2151 (llrint_test_downward): Likewise.
2152 (llrint_test_upward): Likewise.
2153 (log_test): Likewise.
2154 (log10_test): Likewise.
2155 (log1p_test): Likewise.
2156 (log2_test): Likewise.
2157 (logb_test): Likewise.
2158 (logb_test_downward): Likewise.
2159 (lround_test): Likewise.
2160 (llround_test): Likewise.
2161 (modf_test): Likewise.
2162 (nearbyint_test): Likewise.
2163 (nextafter_test): Likewise.
2164 (nexttoward_test): Likewise.
2165 (pow_test): Likewise.
2166 (pow_test_tonearest): Likewise.
2167 (pow_test_towardzero): Likewise.
2168 (pow_test_downward): Likewise.
2169 (pow_test_upward): Likewise.
2170 (remainder_test): Likewise.
2171 (remainder_test_tonearest): Likewise.
2172 (remainder_test_towardzero): Likewise.
2173 (remainder_test_downward): Likewise.
2174 (remainder_test_upward): Likewise.
2175 (remquo_test): Likewise.
2176 (rint_test): Likewise.
2177 (rint_test_tonearest): Likewise.
2178 (rint_test_towardzero): Likewise.
2179 (rint_test_downward): Likewise.
2180 (rint_test_upward): Likewise.
2181 (round_test): Likewise.
2182 (scalb_test): Likewise.
2183 (scalbn_test): Likewise.
2184 (scalbln_test): Likewise.
2185 (signbit_test): Likewise.
2186 (sin_test): Likewise.
2187 (sin_test_tonearest): Likewise.
2188 (sin_test_towardzero): Likewise.
2189 (sin_test_downward): Likewise.
2190 (sin_test_upward): Likewise.
2191 (sincos_test): Likewise.
2192 (sinh_test): Likewise.
2193 (sinh_test_tonearest): Likewise.
2194 (sinh_test_towardzero): Likewise.
2195 (sinh_test_downward): Likewise.
2196 (sinh_test_upward): Likewise.
2197 (sqrt_test): Likewise.
2198 (tan_test): Likewise.
2199 (tan_test_tonearest): Likewise.
2200 (tan_test_towardzero): Likewise.
2201 (tan_test_downward): Likewise.
2202 (tan_test_upward): Likewise.
2203 (tanh_test): Likewise.
2204 (tgamma_test): Likewise.
2205 (trunc_test): Likewise.
2206 (y0_test): Likewise.
2207 (y1_test): Likewise.
2208 (yn_test): Likewise.
2209 (significand_test): Likewise.
2210
bae143d2
OB
22112013-05-24 Ondřej Bílka <neleai@seznam.cz>
2212
2213 [BZ #15381]
2214 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2215
9323d39b
EM
22162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2217
d4ea44a0 2218 [BZ #14894]
9323d39b
EM
2219 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2220 __ppc_mdoio and __ppc_mdoom.
2221 * manual/platform.texi: Document new functions __ppc_yield,
2222 __ppc_mdoio and __ppc_mdoom.
2223
13e23af7
CD
22242013-05-22 Carlos O'Donell <carlos@redhat.com>
2225
2226 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2227 (main): Mention "tls" pseudo-hwcap is legacy.
2228 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2229
351fe550
JM
22302013-05-22 Joseph Myers <joseph@codesourcery.com>
2231
2232 * math/gen-libm-test.pl (parse_args): Output only string of
2233 arguments as text for test name, not full call or descriptions of
2234 tests for extra outputs.
2235 (generate_testfile): Do not pass function name to parse_args.
2236 Generate this_func variable from START.
2237 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2238 field to arg_str.
2239 (struct test_ff_f_data): Likewise.
2240 (test_ff_f_data_nexttoward): Likewise.
2241 (struct test_fi_f_data): Likewise.
2242 (struct test_fl_f_data): Likewise.
2243 (struct test_if_f_data): Likewise.
2244 (struct test_fff_f_data): Likewise.
2245 (struct test_c_f_data): Likewise.
2246 (struct test_f_f1_data): Likewise. Remove field extra_name.
2247 (struct test_fF_f1_data): Likewise.
2248 (struct test_ffI_f1_data): Likewise.
2249 (struct test_c_c_data): Rename test_name field to arg_str.
2250 (struct test_cc_c_data): Likewise.
2251 (struct test_f_i_data): Likewise.
2252 (struct test_ff_i_data): Likewise.
2253 (struct test_f_l_data): Likewise.
2254 (struct test_f_L_data): Likewise.
2255 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2256 and extra2_name.
2257 (COMMON_TEST_SETUP): New macro.
2258 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2259 (COMMON_TEST_CLEANUP): Likewise.
2260 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2261 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2262 macros.
2263 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2264 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2265 macros.
2266 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2267 (RUN_TEST_fff_f): Take argument string. Call new setup and
2268 cleanup macros.
2269 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2270 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2271 macros.
2272 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2273 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2274 macros.
2275 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2276 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2277 cleanup macros.
2278 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2279 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2280 cleanup macros.
2281 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2282 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2283 cleanup macros.
2284 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2285 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2286 macros.
2287 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2288 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2289 macros.
2290 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2291 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2292 macros.
2293 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2294 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2295 cleanup macros.
2296 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2297 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2298 cleanup macros.
2299 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2300 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2301 macros.
2302 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2303 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2304 cleanup macros.
2305 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2306 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2307 macros.
2308 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2309 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2310 macros.
2311 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2312 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2313 cleanup macros.
2314 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2315
85118d4d
EBM
23162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2317
2318 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2319 to _sifields.sigfault.
2320 (si_addr_lsb): Define new macro.
2321 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2323 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2324
7a44c18f
CD
23252013-05-03 Carlos O'Donell <carlos at redhat.com>
2326
2327 [BZ #15441]
2328 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2329 returns -1.
2330 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2331 null return -1.
2332 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2333 loading the domain.
2334
b50a7181
JM
23352013-05-22 Joseph Myers <joseph@codesourcery.com>
2336
2337 * math/gen-libm-test.pl (parse_args): Do not include expected
2338 result in test name.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2340 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2341 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2342 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2343 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2345
051063c8
SP
23462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2347
3ce9e010
SP
2348 * benchtests/Makefile: Sort function entries.
2349
051063c8
SP
2350 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2351 tanh, asinh, acosh, atanh.
2352 * benchtests/acos-inputs: New file.
2353 * benchtests/acosh-inputs: New file.
2354 * benchtests/asin-inputs: New file.
2355 * benchtests/asinh-inputs: New file.
2356 * benchtests/atanh-inputs: New file.
2357 * benchtests/cosh-inputs: New file.
2358 * benchtests/log-inputs: New file.
2359 * benchtests/sinh-inputs: New file.
2360 * benchtests/tanh-inputs: New file.
2361
47c22455
DL
23622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2363
2364 [BZ #15339]
2365 * posix/tst-getaddrinfo4.c: New test.
2366 * posix/Makefile (tests): Add it.
2367
3d04f5db
SP
23682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2369
2370 [BZ #15339]
2371 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2372 when no services were used.
2373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2374 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2375
d5dd6189
AS
23762013-05-21 Andreas Schwab <schwab@suse.de>
2377
2378 [BZ #15014]
2379 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2380 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2381 successful.
2382 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2383 redundant variable declarations and reallocation of buffer when
2384 parsing as IPv6 address. Always set NSS status when called from
2385 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2386 buffer too small. Correct computation of needed size.
2387 * nss/Makefile (tests): Add test-digits-dots.
2388 * nss/test-digits-dots.c: New test.
2389
fef94eab
SP
23902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2391
2392 * benchtests/Makefile: Remove instructions for adding
2393 benchmark tests.
2394 * benchtests/README: New file to explain how to execute and
2395 enhance the benchmark tests.
2396
e39adf43
AS
23972013-05-21 Andreas Schwab <schwab@suse.de>
2398
2399 [BZ #15493]
2400 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2401 * setjmp/tst-sigsetjmp.c: New test.
2402
b2b671b6
OB
24032013-05-20 Ondřej Bílka <neleai@seznam.cz>
2404
2405 * sysdeps/x86_64/memset.S (memset): New implementation.
2406 (__bzero): Likewise.
2407 (__memset_tail): New function.
2408
2d48b41c
OB
24092013-05-20 Ondřej Bílka <neleai@seznam.cz>
2410
2411 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2412 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2413 __memcpy_sse2_unaligned ifunc selection.
2414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2415 Add memcpy-sse2-unaligned.S.
2416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2417 Add: __memcpy_sse2_unaligned.
2418
f16cc3eb
JM
24192013-05-19 Joseph Myers <joseph@codesourcery.com>
2420
3e694268
JM
2421 [BZ #15490]
2422 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2423 math_force_eval before restoring floating-point envrionment.
2424 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2426 Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2428 <math_private.h>.
2429 (__nearbyintl): Use math_force_eval before restoring
2430 floating-point environment.
2431 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2432
db62a907
JM
2433 * math/gen-libm-test.pl (special_functions): Remove.
2434 (parse_args): Don't handle TEST_extra. Handle functions with no
2435 return value.
2436 * math/libm-test.inc (struct test_sincos_data): Replace with
2437 struct test_fFF_11_data.
2438 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2439 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2440 (sincos_test_data): Change element type to struct
2441 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2442 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2443 RUN_TEST_LOOP_sincos.
2444 * math/README.libm-test: Don't mention special handling of
2445 individual functions.
2446 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2448 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2449 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2450 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2452
f16cc3eb
JM
2453 * math/gen-libm-test.pl (get_variable): Remove function.
2454 (parse_args): Don't show pointer parameters to call in test
2455 names. Use "extra output N" in test names for extra outputs
2456 rather than naming variables.
2457
3779b5b6
JM
24582013-05-18 Joseph Myers <joseph@codesourcery.com>
2459
2ee094ff
JM
2460 [BZ #15488]
2461 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2462 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2463 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2464 double tests.
2465 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2466 disable.
2467 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2468 check_long_double.
2469
3779b5b6
JM
2470 * math/gen-libm-test.pl (@tests): Remove variable.
2471 ($count): Likewise.
2472 (new_test): Remove function.
2473 (show_exceptions): New function.
2474 (special_functions): Use show_exceptions instead of new_test.
2475 (parse_args): Likewise.
2476 (generate_testfile): Pass only function name in generated call to
2477 print_max_error or print_complex_max_error.
2478 (get_ulps): Do not handle complex tests specially.
2479 (output_test): Rename to ...
2480 (get_all_ulps_for_test): ... this. Return a string rather than
2481 printing to a file. Require ulps to be present.
2482 (output_ulps): Generate arrays rather than #defines.
2483 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2484 (struct ulp_data): New type.
2485 (BUILD_COMPLEX_ULP): Remove macro.
2486 (compare_ulp_data): New function.
2487 (find_ulps): Likewise.
2488 (find_test_ulps): Likewise.
2489 (find_function_ulps): Likewise.
2490 (find_complex_function_ulps): Likewise.
2491 (print_max_error): Determine allowed ulps using
2492 find_function_ulps.
2493 (print_complex_max_error): Determine allowed ulps using
2494 find_complex_function_ulps.
2495 (check_float_internal): Determine max ulps using find_test_ulps.
2496 (check_float): Do not take max_ulp parameter. Update call to
2497 check_float_internal.
2498 (check_complex): Likewise.
2499 (check_int): Do not take max_ulp parameter.
2500 (check_long): Likewise.
2501 (check_bool): Likewise.
2502 (check_longlong): Likewise.
2503 (struct test_f_f_data): Remove max_ulp field.
2504 (struct test_ff_f_data): Likewise.
2505 (struct test_ff_f_data_nexttoward): Likewise.
2506 (struct test_fi_f_data): Likewise.
2507 (struct test_fl_f_data): Likewise.
2508 (struct test_if_f_data): Likewise.
2509 (struct test_fff_f_data): Likewise.
2510 (struct test_c_f_data): Likewise.
2511 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2512 (struct test_fF_f1_data): Likewise.
2513 (struct test_ffI_f1_data): Likewise.
2514 (struct test_c_c_data): Remove max_ulp field.
2515 (struct test_cc_c_data): Likewise.
2516 (struct test_f_i_data): Likewise.
2517 (struct test_ff_i_data): Likewise.
2518 (struct test_f_l_data): Likewise.
2519 (struct test_f_L_data): Likewise.
2520 (struct test_sincos_data): Likewise.
2521 (RUN_TEST_f_f): Do not handle ulps.
2522 (RUN_TEST_LOOP_f_f): Likewise.
2523 (RUN_TEST_2_f): Likewise.
2524 (RUN_TEST_LOOP_2_f): Likewise.
2525 (RUN_TEST_fff_f): Likewise.
2526 (RUN_TEST_LOOP_fff_f): Likewise.
2527 (RUN_TEST_c_f): Likewise.
2528 (RUN_TEST_LOOP_c_f): Likewise.
2529 (RUN_TEST_f_f1): Likewise.
2530 (RUN_TEST_LOOP_f_f1): Likewise.
2531 (RUN_TEST_fF_f1): Likewise.
2532 (RUN_TEST_LOOP_fF_f1): Likewise.
2533 (RUN_TEST_fI_f1): Likewise.
2534 (RUN_TEST_LOOP_fI_f1): Likewise.
2535 (RUN_TEST_ffI_f1): Likewise.
2536 (RUN_TEST_LOOP_ffI_f1): Likewise.
2537 (RUN_TEST_c_c): Likewise.
2538 (RUN_TEST_LOOP_c_c): Likewise.
2539 (RUN_TEST_cc_c): Likewise.
2540 (RUN_TEST_LOOP_cc_c): Likewise.
2541 (RUN_TEST_f_i): Likewise.
2542 (RUN_TEST_LOOP_f_i): Likewise.
2543 (RUN_TEST_f_i_tg): Likewise.
2544 (RUN_TEST_LOOP_f_i_tg): Likewise.
2545 (RUN_TEST_ff_i_tg): Likewise.
2546 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2547 (RUN_TEST_f_b): Likewise.
2548 (RUN_TEST_LOOP_f_b): Likewise.
2549 (RUN_TEST_f_b_tg): Likewise.
2550 (RUN_TEST_LOOP_f_b_tg): Likewise.
2551 (RUN_TEST_f_l): Likewise.
2552 (RUN_TEST_LOOP_f_l): Likewise.
2553 (RUN_TEST_f_L): Likewise.
2554 (RUN_TEST_LOOP_f_L): Likewise.
2555 (RUN_TEST_sincos): Likewise.
2556 (RUN_TEST_LOOP_sincos): Likewise.
2557
8269107f
JM
25582013-05-17 Joseph Myers <joseph@codesourcery.com>
2559
bb38759d
JM
2560 [BZ #15480]
2561 [BZ #15485]
2562 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2563 main case of finite arguments, set rounding mode to FE_TONEAREST
2564 and discard exceptions.
2565 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2566 exceptions.
2567 (remainder_tonearest_test_data): New variable.
2568 (remainder_test_tonearest): New function.
2569 (remainder_towardzero_test_data): New variable.
2570 (remainder_test_towardzero): New function.
2571 (remainder_downward_test_data): New variable.
2572 (remainder_test_downward): New function.
2573 (remainder_upward_test_data): New variable.
2574 (remainder_test_upward): New function.
2575 (main): Call the new test functions.
2576
a00bdcf0
JM
2577 * math/libm-test.inc (struct test_f_f1_data): Remove field
2578 extra_init.
2579 (struct test_fF_f1_data): Likewise.
2580 (struct test_ffI_f1_data): Likewise.
2581 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2582 based on value of EXTRA_EXPECTED.
2583 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2584 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2585 EXTRA_VAR based on value of EXTRA_EXPECTED.
2586 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2587 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2588 EXTRA_VAR based on value of EXTRA_EXPECTED.
2589 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2590 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2591 EXTRA_VAR based on value of EXTRA_EXPECTED.
2592 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2593 * math/gen-libm-test.pl (parse_args): Don't output initializers
2594 for extra output values.
2595
de407f79
JM
2596 * math/libm-test.inc (check_int): Expect result to be exactly
2597 equal to expected value and do not handle ulps.
2598 (check_long): Likewise.
2599 (check_longlong): Likewise.
2600
8269107f
JM
2601 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2602 exceptions.
2603 (cimag_test_data): Likewise.
2604 (conj_test_data): Likewise.
2605 (copysign_test_data): Likewise.
2606 (cproj_test_data): Likewise.
2607 (creal_test_data): Likewise.
2608 (fabs_test_data): Likewise.
2609 (fdim_test_data): Likewise.
2610 (finite_test_data): Likewise.
2611 (floor_test_data): Likewise.
2612 (fmax_test_data): Likewise.
2613 (fmin_test_data): Likewise.
2614 (fmod_test_data): Likewise.
2615 (fpclassify_test_data): Likewise.
2616 (frexp_test_data): Likewise.
2617 (ilogb_test_data): Likewise.
2618 (isfinite_test_data): Likewise.
2619 (isgreater_test_data): Likewise.
2620 (isgreaterequal_test_data): Likewise.
2621 (isinf_test_data): Likewise.
2622 (isless_test_data): Likewise.
2623 (islessequal_test_data): Likewise.
2624 (islessgreater_test_data): Likewise.
2625 (isnan_test_data): Likewise.
2626 (isnormal_test_data): Likewise.
2627 (issignaling_test_data): Likewise.
2628 (isunordered_test_data): Likewise.
2629 (ldexp_test_data): Likewise.
2630 (lrint_test_data): Likewise.
2631 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2632 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2633 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2634 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2635 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2636 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2637 test input.
2638 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2639 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2640 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2641 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2642 that test input.
2643 (lrint_downward_test_data): Test for "inexact" exceptions.
2644 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2645 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2646 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2647 test input.
2648 (lrint_upward_test_data): Test for "inexact" exceptions.
2649 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2650 test input.
2651 (llrint_test_data): Test for "inexact" exceptions.
2652 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2653 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2654 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2655 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2656 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2657 (llrint_downward_test_data): Test for "inexact" exceptions.
2658 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2659 (llrint_upward_test_data): Test for "inexact" exceptions.
2660 (logb_test_data): Likewise.
2661 (logb_downward_test_data): Likewise.
2662 (nextafter_test_data): Likewise.
2663 (nexttoward_test_data): Likewise.
2664 (remainder_test_data): Likewise.
2665 (remquo_test_data): Likewise.
2666 (scalbn_test_data): Likewise.
2667 (scalbln_test_data): Likewise.
2668 (signbit_test_data): Likewise.
2669 (sqrt_test_data): Likewise.
2670 (significand_test_data): Likewise.
2671
48a18de1
SP
26722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2673
2674 [BZ #15424]
2675 * benchtests/bench-modf.c (struct args): Mark arg0 as
2676 volatile.
2677 * scripts/bench.pl: Mark members of struct args as volatile.
2678
13d3b41a
AZ
26792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680
68191c1d 2681 [BZ # 15497]
13d3b41a
AZ
2682 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2683 negative infinity on POWER6 or lower.
2684 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2685
2848b105
MR
26862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2687
2688 [BZ #15442]
2689 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2690 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2691 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2692 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2693 (_FP_SETQNAN): New macro.
2694 (_FP_SETQNAN_SEMIRAW): Likewise.
2695 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2696 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2697 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2698 (FP_EXTEND): Use _FP_FRAC_SNANP.
2699 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2700 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2701 into account.
2702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2703 New macro.
2704 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2705 Likewise.
2706
323e5cb7
JM
27072013-05-16 Joseph Myers <joseph@codesourcery.com>
2708
c58b274f
JM
2709 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2710 with DIVIDE_BY_ZERO_EXCEPTION.
2711 (gamma_test_data): Likewise.
2712 (lgamma_test_data): Likewise.
2713 (log_test_data): Likewise.
2714 (log10_test_data): Likewise.
2715 (log2_test_data): Likewise.
2716 (tgamma_test_data): Likewise.
2717
0ab34904
JM
2718 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2719 (acos_test_tonearest): Likewise.
2720 (acos_test_towardzero): Likewise.
2721 (acos_test_downward): Likewise.
2722 (acos_test_upward): Likewise.
2723 (acosh_test): Likewise.
2724 (asin_test): Likewise.
2725 (asin_test_tonearest): Likewise.
2726 (asin_test_towardzero): Likewise.
2727 (asin_test_downward): Likewise.
2728 (asin_test_upward): Likewise.
2729 (asinh_test): Likewise.
2730 (atan_test): Likewise.
2731 (atanh_test): Likewise.
2732 (atan2_test): Likewise.
2733 (cabs_test): Likewise.
2734 (cacos_test): Likewise.
2735 (cacosh_test): Likewise.
2736 (casin_test): Likewise.
2737 (casinh_test): Likewise.
2738 (catan_test): Likewise.
2739 (catanh_test): Likewise.
2740 (cbrt_test): Likewise.
2741 (ccos_test): Likewise.
2742 (ccosh_test): Likewise.
2743 (cexp_test): Likewise.
2744 (clog_test): Likewise.
2745 (clog10_test): Likewise.
2746 (cos_test): Likewise.
2747 (cos_test_tonearest): Likewise.
2748 (cos_test_towardzero): Likewise.
2749 (cos_test_downward): Likewise.
2750 (cos_test_upward): Likewise.
2751 (cosh_test): Likewise.
2752 (cosh_test_tonearest): Likewise.
2753 (cosh_test_towardzero): Likewise.
2754 (cosh_test_downward): Likewise.
2755 (cosh_test_upward): Likewise.
2756 (cpow_test): Likewise.
2757 (csin_test): Likewise.
2758 (csinh_test): Likewise.
2759 (csqrt_test): Likewise.
2760 (ctan_test): Likewise.
2761 (ctan_test_tonearest): Likewise.
2762 (ctan_test_towardzero): Likewise.
2763 (ctan_test_downward): Likewise.
2764 (ctan_test_upward): Likewise.
2765 (ctanh_test): Likewise.
2766 (ctanh_test_tonearest): Likewise.
2767 (ctanh_test_towardzero): Likewise.
2768 (ctanh_test_downward): Likewise.
2769 (ctanh_test_upward): Likewise.
2770 (erf_test): Likewise.
2771 (erfc_test): Likewise.
2772 (exp_test): Likewise.
2773 (exp_test_tonearest): Likewise.
2774 (exp_test_towardzero): Likewise.
2775 (exp_test_downward): Likewise.
2776 (exp_test_upward): Likewise.
2777 (exp10_test): Likewise.
2778 (exp2_test): Likewise.
2779 (expm1_test): Likewise.
2780 (fmod_test): Likewise.
2781 (gamma_test): Likewise.
2782 (hypot_test): Likewise.
2783 (j0_test): Likewise.
2784 (j1_test): Likewise.
2785 (jn_test): Likewise.
2786 (lgamma_test): Likewise.
2787 (log_test): Likewise.
2788 (log10_test): Likewise.
2789 (log1p_test): Likewise.
2790 (log2_test): Likewise.
2791 (logb_test_downward): Likewise.
2792 (pow_test): Likewise.
2793 (pow_test_tonearest): Likewise.
2794 (pow_test_towardzero): Likewise.
2795 (pow_test_downward): Likewise.
2796 (pow_test_upward): Likewise.
2797 (remainder_test): Likewise.
2798 (remquo_test): Likewise.
2799 (sin_test): Likewise.
2800 (sin_test_tonearest): Likewise.
2801 (sin_test_towardzero): Likewise.
2802 (sin_test_downward): Likewise.
2803 (sin_test_upward): Likewise.
2804 (sincos_test): Likewise.
2805 (sinh_test): Likewise.
2806 (sinh_test_tonearest): Likewise.
2807 (sinh_test_towardzero): Likewise.
2808 (sinh_test_downward): Likewise.
2809 (sinh_test_upward): Likewise.
2810 (sqrt_test): Likewise.
2811 (tan_test): Likewise.
2812 (tan_test_tonearest): Likewise.
2813 (tan_test_towardzero): Likewise.
2814 (tan_test_downward): Likewise.
2815 (tan_test_upward): Likewise.
2816 (tanh_test): Likewise.
2817 (tgamma_test): Likewise.
2818 (y0_test): Likewise.
2819 (y1_test): Likewise.
2820 (yn_test): Likewise.
2821
323e5cb7
JM
2822 * math/gen-libm-test.pl (adjust_arg): Remove function.
2823 (special_function): Remove argument $in_func. Only handle
2824 generating output for tables of tests, not inside functions.
2825 (parse_args): Likewise.
2826 (generate_testfile): Remove variable $in_func. Update call to
2827 parse_args.
2828 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2829 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2830 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2831 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2832 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2833 (MAX_VALUE_INIT): Rename macro to max_value.
2834 (MIN_VALUE_INIT): Rename macro to min_value.
2835 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2836 (plus_zero): Remove variable.
2837 (minus_zero): Likewise.
2838 (plus_infty): Likewise.
2839 (minus_infty): Likewise.
2840 (qnan_value): Likewise.
2841 (max_value): Likewise.
2842 (min_value): Likewise.
2843 (min_subnorm_value): Likewise.
2844
e054f494
RA
28452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2846
2847 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2848 uint64_t or uint32_t usage.
2849 * crypt/sha256-block.c: Likewise.
2850 * crypt/sha256-crypt.c: Likewise.
2851 * crypt/sha256.c: Likewise.
2852 * crypt/sha512-block.c: Likewise.
2853 * crypt/sha512-crypt.c: Likewise.
2854 * crypt/sha512.c: Likewise.
2855 * debug/backtrace-tst.c: Likewise.
2856 * debug/pcprofiledump.c: Likewise.
2857 * elf/cache.c: Likewise.
2858 * elf/dl-cache.c: Likewise.
2859 * elf/dl-misc.c: Likewise.
2860 * elf/dl-profile.c: Likewise.
2861 * elf/dl-support.c: Likewise.
2862 * elf/ldconfig.c: Likewise.
2863 * elf/sprof.c: Likewise.
2864 * iconv/dummy-repertoire.c: Likewise.
2865 * iconv/iconv_charmap.c: Likewise.
2866 * iconv/skeleton.c: Likewise.
2867 * iconvdata/8bit-generic.c: Likewise.
2868 * iconvdata/cp737.h: Likewise.
2869 * iconvdata/cp775.h: Likewise.
2870 * iconvdata/ibm1008.h: Likewise.
2871 * iconvdata/ibm1025.h: Likewise.
2872 * iconvdata/ibm1046.h: Likewise.
2873 * iconvdata/ibm1097.h: Likewise.
2874 * iconvdata/ibm1112.h: Likewise.
2875 * iconvdata/ibm1122.h: Likewise.
2876 * iconvdata/ibm1123.h: Likewise.
2877 * iconvdata/ibm1124.h: Likewise.
2878 * iconvdata/ibm1129.h: Likewise.
2879 * iconvdata/ibm1130.h: Likewise.
2880 * iconvdata/ibm1132.h: Likewise.
2881 * iconvdata/ibm1133.h: Likewise.
2882 * iconvdata/ibm1137.h: Likewise.
2883 * iconvdata/ibm1140.h: Likewise.
2884 * iconvdata/ibm1141.h: Likewise.
2885 * iconvdata/ibm1142.h: Likewise.
2886 * iconvdata/ibm1143.h: Likewise.
2887 * iconvdata/ibm1144.h: Likewise.
2888 * iconvdata/ibm1145.h: Likewise.
2889 * iconvdata/ibm1146.h: Likewise.
2890 * iconvdata/ibm1147.h: Likewise.
2891 * iconvdata/ibm1148.h: Likewise.
2892 * iconvdata/ibm1149.h: Likewise.
2893 * iconvdata/ibm1153.h: Likewise.
2894 * iconvdata/ibm1154.h: Likewise.
2895 * iconvdata/ibm1155.h: Likewise.
2896 * iconvdata/ibm1156.h: Likewise.
2897 * iconvdata/ibm1157.h: Likewise.
2898 * iconvdata/ibm1158.h: Likewise.
2899 * iconvdata/ibm1160.h: Likewise.
2900 * iconvdata/ibm1161.h: Likewise.
2901 * iconvdata/ibm1162.h: Likewise.
2902 * iconvdata/ibm1163.h: Likewise.
2903 * iconvdata/ibm1164.h: Likewise.
2904 * iconvdata/ibm1166.h: Likewise.
2905 * iconvdata/ibm1167.h: Likewise.
2906 * iconvdata/ibm12712.h: Likewise.
2907 * iconvdata/ibm1390.h: Likewise.
2908 * iconvdata/ibm1399.h: Likewise.
2909 * iconvdata/ibm16804.h: Likewise.
2910 * iconvdata/ibm4517.h: Likewise.
2911 * iconvdata/ibm4899.h: Likewise.
2912 * iconvdata/ibm4909.h: Likewise.
2913 * iconvdata/ibm4971.h: Likewise.
2914 * iconvdata/ibm5347.h: Likewise.
2915 * iconvdata/ibm803.h: Likewise.
2916 * iconvdata/ibm856.h: Likewise.
2917 * iconvdata/ibm901.h: Likewise.
2918 * iconvdata/ibm902.h: Likewise.
2919 * iconvdata/ibm9030.h: Likewise.
2920 * iconvdata/ibm9066.h: Likewise.
2921 * iconvdata/ibm921.h: Likewise.
2922 * iconvdata/ibm922.h: Likewise.
2923 * iconvdata/ibm9448.h: Likewise.
2924 * iconvdata/isiri-3342.h: Likewise.
2925 * iconvdata/jis0201.h: Likewise.
2926 * include/link.h: Likewise.
2927 * include/netdb.h: Likewise.
2928 * inet/check_native.c: Likewise.
2929 * inet/check_pf.c: Likewise.
2930 * inet/getipv4sourcefilter.c: Likewise.
2931 * inet/getnameinfo.c: Likewise.
2932 * inet/getsourcefilter.c: Likewise.
2933 * inet/htonl.c: Likewise.
2934 * inet/setipv4sourcefilter.c: Likewise.
2935 * inet/setsourcefilter.c: Likewise.
2936 * inet/test-inet6_opt.c: Likewise.
2937 * inet/tst-network.c: Likewise.
2938 * locale/C-collate.c: Likewise.
2939 * locale/C-ctype.c: Likewise.
2940 * locale/C-time.c: Likewise.
2941 * locale/C-translit.h: Likewise.
2942 * locale/loadarchive.c: Likewise.
2943 * locale/programs/3level.h: Likewise.
2944 * locale/programs/charmap.c: Likewise.
2945 * locale/programs/charmap.h: Likewise.
2946 * locale/programs/ld-address.c: Likewise.
2947 * locale/programs/ld-collate.c: Likewise.
2948 * locale/programs/ld-ctype.c: Likewise.
2949 * locale/programs/ld-identification.c: Likewise.
2950 * locale/programs/ld-measurement.c: Likewise.
2951 * locale/programs/ld-messages.c: Likewise.
2952 * locale/programs/ld-monetary.c: Likewise.
2953 * locale/programs/ld-name.c: Likewise.
2954 * locale/programs/ld-numeric.c: Likewise.
2955 * locale/programs/ld-paper.c: Likewise.
2956 * locale/programs/ld-telephone.c: Likewise.
2957 * locale/programs/ld-time.c: Likewise.
2958 * locale/programs/linereader.c: Likewise.
2959 * locale/programs/locale.c: Likewise.
2960 * locale/programs/locarchive.c: Likewise.
2961 * locale/programs/locfile.h: Likewise.
2962 * locale/programs/repertoire.c: Likewise.
2963 * locale/programs/simple-hash.c: Likewise.
2964 * locale/programs/simple-hash.h: Likewise.
2965 * malloc/memusage.c: Likewise.
2966 * malloc/memusagestat.c: Likewise.
2967 * nis/nis_defaults.c: Likewise.
2968 * nis/nis_hash.c: Likewise.
2969 * nis/nis_print.c: Likewise.
2970 * nis/nis_xdr.c: Likewise.
2971 * nscd/connections.c: Likewise.
2972 * nscd/hstcache.c: Likewise.
2973 * nscd/nscd_gethst_r.c: Likewise.
2974 * nscd/nscd_getserv_r.c: Likewise.
2975 * nscd/nscd_helper.c: Likewise.
2976 * nscd/servicescache.c: Likewise.
2977 * nss/makedb.c: Likewise.
2978 * nss/nss_db/db-XXX.c: Likewise.
2979 * nss/nss_db/db-initgroups.c: Likewise.
2980 * nss/nss_db/db-netgrp.c: Likewise.
2981 * nss/nss_files/files-network.c: Likewise.
2982 * nss/nss_files/files-parse.c: Likewise.
2983 * posix/bug-regex5.c: Likewise.
2984 * posix/fnmatch_loop.c: Likewise.
2985 * posix/regcomp.c: Likewise.
2986 * posix/regexec.c: Likewise.
2987 * posix/tst-rfc3484-2.c: Likewise.
2988 * posix/tst-rfc3484-3.c: Likewise.
2989 * posix/tst-rfc3484.c: Likewise.
2990 * resolv/nss_dns/dns-canon.c: Likewise.
2991 * resolv/nss_dns/dns-network.c: Likewise.
2992 * resolv/res_init.c: Likewise.
2993 * resolv/res_mkquery.c: Likewise.
2994 * resolv/tst-aton.c: Likewise.
2995 * stdlib/cxa_atexit.c: Likewise.
2996 * stdlib/cxa_finalize.c: Likewise.
2997 * stdlib/gen-fpioconst.c: Likewise.
2998 * stdlib/strtol_l.c: Likewise.
2999 * string/tst-endian.c: Likewise.
3000 * sunrpc/auth_des.c: Likewise.
3001 * sunrpc/clnt_udp.c: Likewise.
3002 * sunrpc/rtime.c: Likewise.
3003 * sunrpc/svcauth_des.c: Likewise.
3004 * sunrpc/xdr.c: Likewise.
3005 * sunrpc/xdr_intXX_t.c: Likewise.
3006 * sunrpc/xdr_rec.c: Likewise.
3007 * sysdeps/generic/ldconfig.h: Likewise.
3008 * sysdeps/generic/ldsodefs.h: Likewise.
3009 * sysdeps/generic/memusage.h: Likewise.
3010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3020 * sysdeps/posix/getaddrinfo.c: Likewise.
3021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3023 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3024 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3025 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3026 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3027 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3028 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3029 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3030 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3031 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3032 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3033 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3034 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3035 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3036 * sysdeps/x86_64/dl-tls.h: Likewise.
3037 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3038 * time/alt_digit.c: Likewise.
3039 * time/era.c: Likewise.
3040 * wcsmbs/tst-c16c32-1.c: Likewise.
3041
8c75f674
JM
30422013-05-16 Joseph Myers <joseph@codesourcery.com>
3043
3044 * math/libm-test.inc (struct test_sincos_data): New type.
3045 (RUN_TEST_LOOP_sincos): New macro.
3046 (sincos_test_data): New variable.
3047 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3048
e6e49e59
RH
30492013-05-16 Richard Henderson <rth@redhat.com>
3050
3051 * math/atest-exp2.c (LIMB64): New macro.
3052 (CONSTSZ): New macro.
3053 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3054 (hexdig): Move ...
3055 (print_mpn_fp): ... to function scope.
3056 (read_mpn_hex): Remove.
3057 (get_log2): Remove.
3058 (exp2_mpn): Use mp_log2.
3059 (main): Use mp_exp1.
3060
15c7c18d
JM
30612013-05-16 Joseph Myers <joseph@codesourcery.com>
3062
105a07df
JM
3063 * math/libm-test.inc: Remove comment about not testing "inexact"
3064 exceptions.
3065 (INEXACT_EXCEPTION): New macro.
3066 (NO_INEXACT_EXCEPTION): Likewise.
3067 (INVALID_EXCEPTION_OK): Update value.
3068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3069 (OVERFLOW_EXCEPTION_OK): Likewise.
3070 (UNDERFLOW_EXCEPTION_OK): Likewise.
3071 (IGNORE_ZERO_INF_SIGN): Likewise.
3072 (ERRNO_UNCHANGED): Likewise.
3073 (ERRNO_EDOM): Likewise.
3074 (ERRNO_ERANGE): Likewise.
3075 (test_exceptions): Handle testing "inexact" exceptions.
3076 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3077 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3078 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3079 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3080 INEXACT_EXCEPTION.
3081 (rint_towardzero_test_data): Likewise.
3082 (rint_downward_test_data): Likewise.
3083 (rint_upward_test_data): Likewise.
3084
e9eee333
JM
3085 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3086 with OVERFLOW_EXCEPTION.
3087 (exp10_test_data): Likewise.
3088 (exp2_test_data): Likewise.
3089 (expm1_test_data): Likewise.
3090 (lgamma_test_data): Likewise.
3091 (pow_test_data): Likewise.
3092 (tgamma_test_data): Likewise.
3093 (yn_test_data): Remove duplicate test of overflow.
3094
1c38ff73
JM
3095 * math/libm-test.inc (struct test_cc_c_data): New type.
3096 (RUN_TEST_LOOP_cc_c): New macro.
3097 (cpow_test_data): New variable.
3098 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3099
15c7c18d
JM
3100 * math/libm-test.inc (struct test_f_L_data): New type.
3101 (RUN_TEST_LOOP_f_L): New macro.
3102 (llrint_test_data): New variable.
3103 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3104 (llrint_tonearest_test_data): New variable.
3105 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3106 (llrint_towardzero_test_data): New variable.
3107 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3108 (llrint_downward_test_data): New variable.
3109 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3110 (llrint_upward_test_data): New variable.
3111 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3112 (llround_test_data): New variable.
3113 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3114
f137ff13
PC
31152013-05-13 Peter Collingbourne <pcc@google.com>
3116
3117 * math/atest-exp2.c (get_log2): Remove const attribute.
3118
3608cb24
JM
31192013-05-15 Joseph Myers <joseph@codesourcery.com>
3120
3121 * math/libm-test.inc (struct test_f_l_data): New type.
3122 (RUN_TEST_LOOP_f_l): New macro.
3123 (lrint_test_data): New variable.
3124 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3125 (lrint_tonearest_test_data): New variable.
3126 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3127 (lrint_towardzero_test_data): New variable.
3128 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3129 (lrint_downward_test_data): New variable.
3130 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3131 (lrint_upward_test_data): New variable.
3132 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3133 (lround_test_data): New variable.
3134 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3135
39b1f617
PC
31362013-05-15 Peter Collingbourne <pcc@google.com>
3137
1deff3dc
PC
3138 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3139 (EXTRACT_WORDS64) Use where appropriate.
3140 (INSERT_WORDS64) Likewise.
3141
791f3ba0
PC
3142 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3143 constraints with x constraints.
3144 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3145
39b1f617
PC
3146 * malloc/obstack.c (_obstack_compat): Add initializer.
3147
12fba011
EM
31482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3149
3150 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3151 si_trapno and add si_addr_lsb to _sifields.sigfault.
3152 (si_trapno): Remove macro.
3153 (si_addr_lsb): Define new macro.
3154 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3155
d369f531
JM
31562013-05-15 Joseph Myers <joseph@codesourcery.com>
3157
b861c6c4
JM
3158 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3159 instead of TEST_f_l.
3160 (llrint_test_tonearest): Likewise.
3161 (llrint_test_towardzero): Likewise.
3162 (llrint_test_downward): Likewise.
3163 (llrint_test_upward): Likewise.
3164 (llround_test): Likewise.
3165
7abeee12
JM
3166 * math/libm-test.inc (struct test_f_i_data): Add comment.
3167 (RUN_TEST_LOOP_f_b): New macro.
3168 (RUN_TEST_LOOP_f_b_tg): Likewise.
3169 (finite_test_data): New variable.
3170 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3171 (isfinite_test_data): New variable.
3172 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3173 (isinf_test_data): New variable.
3174 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3175 (isnan_test_data): New variable.
3176 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3177 (isnormal_test_data): New variable.
3178 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3179 (issignaling_test_data): New variable.
3180 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3181 (signbit_test_data): New variable.
3182 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3183
cbe8c4d3
JM
3184 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3185 with INVALID_EXCEPTION.
3186 (acosh_test_data): Likewise.
3187 (asin_test_data): Likewise.
3188 (atanh_test_data): Likewise.
3189 (fmod_test_data): Likewise.
3190 (log_test_data): Likewise.
3191 (log10_test_data): Likewise.
3192 (log2_test_data): Likewise.
3193 (pow_test_data): Likewise.
3194 (sqrt_test_data): Likewise.
3195 (y0_test_data): Likewise.
3196 (y1_test_data): Likewise.
3197 (yn_test_data): Likewise.
3198
5575c0e5
JM
3199 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3200 function contents.
3201
d369f531
JM
3202 * math/libm-test.inc (struct test_ff_i_data): New type.
3203 (RUN_TEST_LOOP_ff_i_tg): New macro.
3204 (isgreater_test_data): New variable.
3205 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3206 (isgreaterequal_test_data): New variable.
3207 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3208 (isless_test_data): New variable.
3209 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3210 (islessequal_test_data): New variable.
3211 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3212 (islessgreater_test_data): New variable.
3213 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3214 (isunordered_test_data): New variable.
3215 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3216
781fd748
DM
32172013-05-14 David S. Miller <davem@davemloft.net>
3218
3219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3220
87aa21df
JM
32212013-05-14 Joseph Myers <joseph@codesourcery.com>
3222
5e908270
JM
3223 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3224
f71172e5
JM
3225 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3226 extra_test to int.
3227 (struct test_f_i_data): Change type of max_ulp to int.
3228
8cfa635a
JM
3229 * math/libm-test.inc (test_ffI_f1_data): New type.
3230 (RUN_TEST_LOOP_ffI_f1): New macro.
3231 (remquo_test_data): New variable.
3232 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3233
2bcb36b2
JM
3234 * setjmp/tst-setjmp-fp.c: New file.
3235 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3236 (link-libm): New variable.
3237 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3238
acbd839a
JM
3239 * math/libm-test.inc (struct test_f_i_data): New type.
3240 (RUN_TEST_LOOP_f_i): New macro.
3241 (RUN_TEST_LOOP_f_i_tg): Likewise.
3242 (fpclassify_test_data): New variable.
3243 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3244 (ilogb_test_data): New variable.
3245 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3246
e414d745
JM
3247 * math/libm-test.inc (scalbln_test): Correct function name in END
3248 call.
3249
d9c2a0fd
JM
3250 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3251 (RUN_TEST_LOOP_fI_f1): New macro.
3252 (frexp_test_data): New variable.
3253 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3254
9dc9095d
JM
3255 * math/libm-test.inc (struct test_fF_f1_data): New type.
3256 (RUN_TEST_LOOP_fF_f1): New macro.
3257 (modf_test_data): New variable.
3258 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3259
87aa21df
JM
3260 * math/libm-test.inc (struct test_f_f1_data): New type.
3261 (RUN_TEST_LOOP_f_f1): New macro.
3262 (gamma_test_data): New variable.
3263 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3264 (lgamma_test_data): New variable.
3265 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3266
141af660
CD
32672013-05-13 Carlos O'Donell <carlos@redhat.com>
3268
3269 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3270 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3271 (main): Comment "tls" pseudo-hwcap.
3272
6d33265c
JM
32732013-05-13 Joseph Myers <joseph@codesourcery.com>
3274
68fc074c
JM
3275 * math/libm-test.inc (struct test_fl_f_data): New type.
3276 (RUN_TEST_LOOP_fl_f): New variable.
3277 (scalbln_test_data): New variable.
3278 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3279
243216e1
JM
3280 * math/libm-test.inc (struct test_fi_f_data): New type.
3281 (RUN_TEST_LOOP_fi_f): New macro.
3282 (ldexp_test_data): New variable.
3283 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3284 (scalbn_test_data): New variable.
3285 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3286
6a1992e2
JM
3287 * math/libm-test.inc (struct test_c_f_data): New type.
3288 (RUN_TEST_LOOP_c_f): New macro.
3289 (cabs_test_data): New variable.
3290 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3291 (carg_test_data): New variable.
3292 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3293 (cimag_test_data): New variable.
3294 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3295 (creal_test_data): New variable.
3296 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3297
0e400df5
JM
3298 * math/libm-test.inc (struct test_if_f_data): New type.
3299 (RUN_TEST_LOOP_if_f): New macro.
3300 (jn_test_data): New variable.
3301 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3302 (yn_test_data): New variable.
3303 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3304
6d33265c
JM
3305 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3306
f98ece5f
AZ
33072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308
3309 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3310 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3311
0f7d347b
SP
33122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3313
43fe811b
SP
3314 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3315 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3316 (bench-deps): Add bench-timing.h.
3317 * benchtests-bench-skeleton.c: Include bench-timing.h.
3318 (main): Use TIMING_* macros instead of clock_gettime.
3319 * benchtests/bench-timing.h: New file.
3320
0f7d347b
SP
3321 [BZ #14582]
3322 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3323 Renamed from _LIB_VERSION.
3324 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3325
601a3a5f
JM
33262013-05-12 Joseph Myers <joseph@codesourcery.com>
3327
4f184d30
JM
3328 * math/libm-test.inc (struct test_fff_f_data): New type.
3329 (RUN_TEST_LOOP_fff_f): New macro.
3330 (fma_test_data): New variable.
3331 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3332 (fma_towardzero_test_data): New variable.
3333 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3334 (fma_downward_test_data): New variable.
3335 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3336 (fma_upward_test_data): New variable.
3337 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3338
08198877
JM
3339 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3340 (struct test_c_c_data): New type.
3341 (RUN_TEST_LOOP_c_c): New macro.
3342 (cacos_test_data): New variable.
3343 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3344 (cacosh_test_data): New variable.
3345 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3346 (casin_test_data): New variable.
3347 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3348 (casinh_test_data): New variable.
3349 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3350 (catan_test_data): New variable.
3351 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3352 (catanh_test_data): New variable.
3353 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3354 (ccos_test_data): New variable.
3355 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3356 (ccosh_test_data): New variable.
3357 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3358 (cexp_test_data): New variable.
3359 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3360 (clog_test_data): New variable.
3361 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3362 (clog10_test_data): New variable.
3363 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3364 (conj_test_data): New variable.
3365 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3366 (cproj_test_data): New variable.
3367 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3368 (csin_test_data): New variable.
3369 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3370 (csinh_test_data): New variable.
3371 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3372 (csqrt_test_data): New variable.
3373 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3374 (ctan_test_data): New variable.
3375 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3376 (ctan_tonearest_test_data): New variable.
3377 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3378 (ctan_towardzero_test_data): New variable.
3379 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3380 (ctan_downward_test_data): New variable.
3381 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3382 (ctan_upward_test_data): New variable.
3383 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3384 (ctanh_test_data): New variable.
3385 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3386 (ctanh_tonearest_test_data): New variable.
3387 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3388 (ctanh_towardzero_test_data): New variable.
3389 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3390 (ctanh_downward_test_data): New variable.
3391 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3392 (ctanh_upward_test_data): New variable.
3393 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3394 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3395 of BUILD_COMPLEX.
3396
601a3a5f
JM
3397 * math/libm-test.inc (struct test_ff_f_data): New type.
3398 (struct test_ff_f_data_nexttoward): Likewise.
3399 (RUN_TEST_LOOP_2_f): New macro.
3400 (RUN_TEST_LOOP_ff_f): Likewise.
3401 (atan2_test_data): New variable.
3402 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3403 (copysign_test_data): New variable.
3404 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3405 (fdim_test_data): New variable.
3406 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3407 (fmax_test_data): New variable.
3408 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3409 (fmin_test_data): New variable.
3410 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3411 (fmod_test_data): New variable.
3412 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3413 (hypot_test_data): New variable.
3414 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3415 (nextafter_test_data): New variable.
3416 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3417 (nexttoward_test_data): New variable.
3418 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3419 (pow_test_data): New variable.
3420 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3421 (pow_tonearest_test_data): New variable.
3422 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3423 (pow_towardzero_test_data): New variable.
3424 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3425 (pow_downward_test_data): New variable.
3426 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3427 (pow_upward_test_data): New variable.
3428 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3429 (remainder_test_data): New variable.
3430 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3431 (scalb_test_data): New variable.
3432 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3433 * sysdeps/i386/fpu/libm-test-ulps: Update.
3434
74c57478
JM
34352013-05-11 Joseph Myers <joseph@codesourcery.com>
3436
8329e4da
JM
3437 * math/libm-test.inc (fma_test): Use max_value instead of local
3438 variable fltmax.
3439 (nextafter_test): Likewise.
3440
74c57478
JM
3441 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3442 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3443 (acos_downward_test_data): New variable.
3444 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3445 (acos_upward_test_data): New variable.
3446 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3447 (acosh_test_data): New variable.
3448 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3449 (asin_test_data): New variable.
3450 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3451 (asin_tonearest_test_data): New variable.
3452 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3453 (asin_towardzero_test_data): New variable.
3454 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3455 (asin_downward_test_data): New variable.
3456 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3457 (asin_upward_test_data): New variable.
3458 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3459 (asinh_test_data): New variable.
3460 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3461 (atan_test_data): New variable.
3462 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3463 (atanh_test_data): New variable.
3464 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3465 (cbrt_test_data): New variable.
3466 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3467 (ceil_test_data): New variable.
3468 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3469 (cos_test_data): New variable.
3470 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3471 (cos_tonearest_test_data): New variable.
3472 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3473 (cos_towardzero_test_data): New variable.
3474 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3475 (cos_downward_test_data): New variable.
3476 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3477 (cos_upward_test_data): New variable.
3478 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3479 (cosh_test_data): New variable.
3480 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3481 (cosh_tonearest_test_data): New variable.
3482 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3483 (cosh_towardzero_test_data): New variable.
3484 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3485 (cosh_downward_test_data): New variable.
3486 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3487 (cosh_upward_test_data): New variable.
3488 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3489 (erf_test_data): New variable.
3490 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3491 (erfc_test_data): New variable.
3492 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3493 (exp_test_data): New variable.
3494 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3495 (exp_tonearest_test_data): New variable.
3496 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3497 (exp_towardzero_test_data): New variable.
3498 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3499 (exp_downward_test_data): New variable.
3500 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3501 (exp_upward_test_data): New variable.
3502 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3503 (exp10_test_data): New variable.
3504 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3505 (exp2_test_data): New variable.
3506 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3507 (expm1_test_data): New variable.
3508 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3509 (fabs_test_data): New variable.
3510 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3511 (floor_test_data): New variable.
3512 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3513 (j0_test_data): New variable.
3514 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3515 (j1_test_data): New variable.
3516 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3517 (log_test_data): New variable.
3518 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3519 (log10_test_data): New variable.
3520 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3521 (log1p_test_data): New variable.
3522 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3523 (log2_test_data): New variable.
3524 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3525 (logb_test_data): New variable.
3526 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3527 (logb_downward_test_data): New variable.
3528 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3529 (nearbyint_test_data): New variable.
3530 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3531 (rint_test_data): New variable.
3532 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3533 (rint_tonearest_test_data): New variable.
3534 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3535 (rint_towardzero_test_data): New variable.
3536 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3537 (rint_downward_test_data): New variable.
3538 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3539 (rint_upward_test_data): New variable.
3540 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3541 (round_test_data): New variable.
3542 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3543 (sin_test_data): New variable.
3544 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3545 (sin_tonearest_test_data): New variable.
3546 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3547 (sin_towardzero_test_data): New variable.
3548 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3549 (sin_downward_test_data): New variable.
3550 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3551 (sin_upward_test_data): New variable.
3552 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3553 (sinh_test_data): New variable.
3554 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3555 (sinh_tonearest_test_data): New variable.
3556 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3557 (sinh_towardzero_test_data): New variable.
3558 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3559 (sinh_downward_test_data): New variable.
3560 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3561 (sinh_upward_test_data): New variable.
3562 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3563 (sqrt_test_data): New variable.
3564 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3565 (tan_test_data): New variable.
3566 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3567 (tan_tonearest_test_data): New variable.
3568 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3569 (tan_towardzero_test_data): New variable.
3570 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3571 (tan_downward_test_data): New variable.
3572 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3573 (tan_upward_test_data): New variable.
3574 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3575 (tanh_test_data): New variable.
3576 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3577 (tgamma_test_data): New variable.
3578 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3579 (trunc_test_data): New variable.
3580 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3581 (y0_test_data): New variable.
3582 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3583 (y1_test_data): New variable.
3584 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3585 (significand_test_data): New variable.
3586 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3587
7187d844
CG
35882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3589
3590 [BZ #12387]
3591 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3592
f63fae73
PT
35932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3594
3595 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3596
8a67a4b3
AJ
35972013-05-10 Andreas Jaeger <aj@suse.de>
3598
3599 [BZ #15448]
3600 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3601 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3602
51df539d
JM
36032013-05-10 Joseph Myers <joseph@codesourcery.com>
3604
3605 * math/gen-libm-test.pl (adjust_arg): New function.
3606 (special_functions): Handle generating output in both functions
3607 and arrays.
3608 (parse_args): Likewise.
3609 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3610 $in_func argument to parse_args.
3611 * math/libm-test.inc (struct test_f_f_data): New type.
3612 (IF_ROUND_INIT_): New macro.
3613 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3614 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3615 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3616 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3617 (ROUND_RESTORE_): Likewise.
3618 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3619 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3620 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3621 (ROUND_RESTORE_FE_UPWARD): Likewise.
3622 (RUN_TEST_LOOP_f_f): New macro.
3623 (acos_test_data): New variable.
3624 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3625 (acos_tonearest_test_data): New variable.
3626 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3627
5c637fe5
SP
36282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3629
3630 * benchtests/bench-skeleton.c (startup): Fix coding style.
3631
ab2b9461
JM
36322013-05-10 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #6809]
3635 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3636 negative infinity argument.
3637 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3638 negative infinity argument.
3639 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3640 negative infinity argument.
3641 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3642 domain errors.
3643
4c0fe6fe
FW
36442013-05-10 Florian Weimer <fweimer@redhat.com>
3645
3646 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3647 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3648 * iconv/iconv_prog.c (main): Likewise.
3649 * locale/programs/charmap-dir.c (charmap_readdir)
3650 (fopen_uncompressed): Likewise.
3651 * locale/programs/locfile.c (siblings_uncached)
3652 (write_locale_data): Use lstat64 instead of lstat.
3653 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3654 stat.
3655
a3375d29
AJ
36562013-05-10 Andreas Jaeger <aj@suse.de>
3657
3658 [BZ #15395]
3659 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3660 localization.
3661 Include <locale.h>.
3662
36129722
CD
36632013-05-09 Carlos O'Donell <carlos@redhat.com>
3664
3665 * elf/dl-close.c (_dl_close_worker): Add comments.
3666
faa7f811
JM
36672013-05-09 Joseph Myers <joseph@codesourcery.com>
3668
ed41ffef
JM
3669 [BZ #15359]
3670 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3671 high part of pi/2.
3672 (__ieee754_rem_pio2l): Update comments.
3673
d0213cd0
JM
3674 [BZ #15429]
3675 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3676 high part of pi/2.
3677 (__ieee754_rem_pio2l): Update comments.
3678
0d3e777a
JM
3679 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3680 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3681
24f56066
JM
3682 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3683 M_PI_4l.
3684
faa7f811
JM
3685 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3686 (M_PI_34_LOG10El): Likewise.
3687 (M_PI2_LOG10El): Likewise.
3688 (M_PI4_LOG10El): Likewise.
3689 (M_PI_LOG10El): Likewise.
3690
e9a5e0fd
AZ
36912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3692
3693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3694
d8cd06db
JM
36952013-05-08 Joseph Myers <joseph@codesourcery.com>
3696
a0d9f9d7
JM
3697 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3698 (MINUS_ZERO_INIT): Likewise.
3699 (PLUS_INFTY_INIT): Likewise.
3700 (MINUS_INFTY_INIT): Likewise.
3701 (QNAN_VALUE_INIT): Likewise.
3702 (MAX_VALUE_INIT): Likewise.
3703 (MIN_VALUE_INIT): Likewise.
3704 (MIN_SUBNORM_VALUE_INIT): Likewise.
3705 (plus_zero): Initialize with PLUS_ZERO_INIT.
3706 (minus_zero): Initialize with MINUS_ZERO_INIT.
3707 (plus_infty): Initialize with PLUS_INFTY_INIT.
3708 (minus_infty): Initialize with MINUS_INFTY_INIT.
3709 (qnan_value): Initialize with QNAN_VALUE_INIT.
3710 (max_value): Initialize with MAX_VALUE_INIT.
3711 (min_value): Initialize with MIN_VALUE_INIT.
3712 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3713
ae08db3b
JM
3714 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3715 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3716 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3717 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3718
f44bf14a
JM
3719 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3720 (RUN_TEST_2_f): Likewise.
3721 (RUN_TEST_ff_f): Likewise.
3722 (RUN_TEST_fi_f): Likewise.
3723 (RUN_TEST_fl_f): Likewise.
3724 (RUN_TEST_fff_f): Likewise.
3725 (RUN_TEST_c_f): Likewise.
3726 (RUN_TEST_f_f1): Likewise.
3727 (RUN_TEST_fF_f1): Likewise.
3728 (RUN_TEST_fI_f1): Likewise.
3729 (RUN_TEST_ffI_f1): Likewise.
3730 (RUN_TEST_c_c): Likewise.
3731 (RUN_TEST_cc_c): Likewise.
3732 (RUN_TEST_f_i): Likewise.
3733 (RUN_TEST_f_i_tg): Likewise.
3734 (RUN_TEST_ff_i_tg): Likewise.
3735 (RUN_TEST_f_b): Likewise.
3736 (RUN_TEST_f_b_tg): Likewise.
3737 (RUN_TEST_f_l): Likewise.
3738 (RUN_TEST_f_L): Likewise.
3739 (RUN_TEST_sincos): Likewise.
3740 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3741 whether to show exceptions. Do not include ");\n" in return
3742 value.
3743 (special_functions): Output call to RUN_TEST_sincos instead of
3744 check_float calls. Update calls to new_test.
3745 (parse_args): Output call to single RUN_TEST_* macro instead of
3746 check_* calls and other assignments. Update calls to new_test.
3747
d8cd06db
JM
3748 [BZ #2546]
3749 [BZ #2560]
3750 [BZ #5159]
3751 [BZ #15426]
3752 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3753 input to result for tgamma overflow.
3754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3755 (gamma_coeff): New variable.
3756 (NCOEFF): New macro.
3757 (gamma_positive): New function.
3758 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3759 underflow here. Use gamma_positive instead of exp (lgamma) for
3760 other arguments.
3761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3762 (gamma_coeff): New variable.
3763 (NCOEFF): New macro.
3764 (gammaf_positive): New function.
3765 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3766 underflow here. Use gamma_positive instead of exp (lgamma) for
3767 other arguments.
3768 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3769 (gamma_coeff): New variable.
3770 (NCOEFF): New macro.
3771 (gammal_positive): New function.
3772 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3773 underflow here. Use gamma_positive instead of exp (lgamma) for
3774 other arguments.
3775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3776 (gamma_coeff): New variable.
3777 (NCOEFF): New macro.
3778 (gammal_positive): New function.
3779 (__ieee754_gammal_r): Handle positive infinity, overflow and
3780 underflow here. Handle NaN the same as positive infinity. Remove
3781 check x < 0xffffffff for negative integers. Use gamma_positive
3782 instead of exp (lgamma) for other arguments.
3783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3784 (gamma_coeff): New variable.
3785 (NCOEFF): New macro.
3786 (gammal_positive): New function.
3787 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3788 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3793 * sysdeps/generic/math_private.h (__gamma_productf): New
3794 prototype.
3795 (__gamma_product): Likewise.
3796 (__gamma_productl): Likewise.
3797 * math/Makefile (libm-calls): Add gamma_product.
3798 * math/libm-test.inc (tgamma_test): Add more tests.
3799 * sysdeps/i386/fpu/libm-test-ulps: Update.
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3801
bb7cf681
OB
38022013-05-08 Ondřej Bílka <neleai@seznam.cz>
3803
3804 * benchtests/bench-skeleton.c (main): Preheat CPU.
3805
ba853947
AJ
38062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3807
3808 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3809
8347c74c
RM
38102013-05-07 Roland McGrath <roland@hack.frob.com>
3811
3812 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3813 and _dl_skip_args_internal.
3814
e8dd4791
CD
38152013-05-07 Carlos O'Donell <carlos@redhat.com>
3816
3817 * manual/message.texi (Message Translation): Talk about users.
3818 Message to key mapping impacts design.
3819
c7405830
RM
38202013-05-06 Roland McGrath <roland@hack.frob.com>
3821
a9173057
RM
3822 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3823
976e2f03
RM
3824 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3825
9723ffc5
RM
3826 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3827 * sysdeps/wordsize-64/glob64.c: ... here.
3828
962e6658
RM
3829 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3830 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3831 New macros.
3832
ee586a6d
RM
3833 * debug/getlogin_r_chk.c: Moved to ...
3834 * login/getlogin_r_chk.c: ... here.
3835 * debug/Makefile (routines): Move getlogin_r_chk to ...
3836 * login/Makefile (routines): ... here.
3837 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3838 * login/Versions (libc: GLIBC_2.4): ... here.
3839
355f9165
RM
3840 * io/poll.c (__poll): Renamed from poll.
3841 Add libc_hidden_def.
3842 (poll): Define as weak alias.
3843
bd9ffde6
RM
3844 * debug/ptsname_r_chk.c: Moved to ...
3845 * login/ptsname_r_chk.c: ... here.
3846 * debug/Makefile (routines): Move ptsname_r_chk to ...
3847 * login/Makefile (routines): ... here.
3848 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3849 * login/Versions (libc: GLIBC_2.4): ... here.
3850
8fb16a04
RM
3851 * posix/getlogin.c: Moved to ...
3852 * login/getlogin.c: ... here.
3853 * posix/getlogin_r.c: Moved to ...
3854 * login/getlogin_r.c: ... here.
3855 * posix/getlogin_r.c: Moved to ...
3856 * login/getlogin_r.c: ... here.
3857 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3858 * login/Makefile (routines): ... here.
3859 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3860 * login/Versions (libc: GLIBC_2.0): ... here.
3861
b99b892f
RM
3862 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3863 (setrlimit): Define as weak alias.
3864
c7405830
RM
3865 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3866 Call __ names for open, ftruncate, and close.
3867 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3868 (truncate): Define as weak alias.
3869
5bf96de5
JM
38702013-05-06 Joseph Myers <joseph@codesourcery.com>
3871
9ea3513c
JM
3872 * math/gen-libm-test.pl (parse_args): Initialize x before each
3873 test of frexp, modf and remquo.
3874
5bf96de5
JM
3875 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3876 test signgam value.
3877
16e616a7
AZ
38782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3879
3880 [BZ #15418]
3881 [BZ #15419]
3882 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3883 internal tests.
3884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3885
d5e82754
RM
38862013-05-06 Roland McGrath <roland@hack.frob.com>
3887
3888 * elf/dl-writev.h: New file.
3889 * elf/dl-misc.c: Include it.
3890 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3891 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3892
a7548d41
JM
38932013-05-04 Joseph Myers <joseph@codesourcery.com>
3894
b7dab1e4
JM
3895 * math/libm-test.inc (noXFails): Remove variable.
3896 (noXPasses): Likewise.
3897 (BUILD_COMPLEX_INT): Remove macro.
3898 (print_screen): Remove xfail argument.
3899 (print_screen_max_error): Likewise.
3900 (update_stats): Likewise.
3901 (print_max_error): Likewise. Update calls to other affected
3902 functions.
3903 (print_complex_max_error): Likewise.
3904 (test_single_exception): Update calls to print_screen.
3905 (test_single_errno): Likewise.
3906 (check_float_internal): Remove xfail argument. Update calls to
3907 other affected functions.
3908 (check_float): Likewise.
3909 (check_complex): Likewise.
3910 (check_int): Likewise.
3911 (check_long): Likewise.
3912 (check_bool): Likewise.
3913 (check_longlong): Likewise.
3914 (main): Don't print noXFails and noXPasses.
3915 * math/gen-libm-test.pl (top level): Don't mention expected
3916 failure handling in comment.
3917 (new_test): Don't handle expected failures.
3918 (parse_args): Don't mention expected failure handling in comment.
3919 (generate_testfile): Don't handle expected failures.
3920 (parse_ulps): Likewise.
3921 (print_ulps_file): Likewise.
3922 (get_failure): Remove function.
3923 (output_test): Don't handle expected failures.
3924 * make/README.libm-test: Don't mention expected failure handling.
3925
a7548d41
JM
3926 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3927 (minus_zero): Likewise.
3928 (plus_infty): Likewise.
3929 (minus_infty): Likewise.
3930 (qnan_value): Likewise.
3931 (max_value): Likewise.
3932 (min_value): Likewise.
3933 (min_subnorm_value): Likewise.
3934 (initialize): Do not initialize those variables dynamically.
3935
60bfd54c
RM
39362013-05-03 Roland McGrath <roland@hack.frob.com>
3937
cc0e6ed8
RM
3938 * io/open.c (__open_2): Moved to ...
3939 * io/open_2.c: ... this new file.
3940 * io/open64.c (__open64_2): Moved to ...
3941 * io/open64_2.c: ... this new file.
3942 * io/openat.c (__openat_2): Moved to ...
3943 * io/openat_2.c: ... this new file.
3944 * io/openat64.c (__openat64_2): Moved to ...
3945 * io/openat64_2.c: ... this new file.
3946 * io/Makefile (routines): Add them.
3947 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3948 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3949 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3950 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3951 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3952 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3953 (__openat64): Add hidden_ver.
3954 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3955 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3956
60bfd54c
RM
3957 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3958 Separately conditionalize setting of GLRO(dl_sysinfo) so
3959 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3960 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3961
83e7640f
AZ
39622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963
3964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3966 definition.
3967 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3968 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3969 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3970 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3971 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3972
d5dc2af3
JM
39732013-05-03 Joseph Myers <joseph@codesourcery.com>
3974
c31a5b1e
JM
3975 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3976 test signgam value.
3977
d5dc2af3
JM
3978 * math/libm-test.inc (hypot_test): Do not use
3979 IGNORE_ZERO_INF_SIGN.
3980
164fd39d
AJ
39812013-05-03 Andreas Jaeger <aj@suse.de>
3982
3983 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3984 Linux 3.9.
3985 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3986 (PF_MAX): Adjust for VSOCK change.
3987
8237f48c
AZ
39882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3989
3990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3991
9df02941
CD
39922013-05-02 Carlos O'Donell <carlos@redhat.com>
3993
3994 [BZ #15264]
3995 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3996 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3997 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3998
d422395e
DM
39992013-05-02 David S. Miller <davem@davemloft.net>
4000
4001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4002
a07c5731
OB
40032013-05-01 Ondřej Bílka <neleai@seznam.cz>
4004
4005 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4006
1324e37f
RM
40072013-05-01 Roland McGrath <roland@hack.frob.com>
4008
4009 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4010
0695940b
RS
40112013-05-01 Richard Smith <richard@metafoo.co.uk>
4012
bb5f27ad 4013 [BZ #14952]
0695940b
RS
4014 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4015 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4016 Use __attribute__ ((__gnu_inline__)).
4017 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4018 Don't use __attribute__ ((__gnu_inline__)).
4019
10de07f5
JM
40202013-05-01 Joseph Myers <joseph@codesourcery.com>
4021
4022 [BZ #15423]
4023 * math/s_catan.c (__catan): Handle small real or imaginary part of
4024 input specially to avoid spurious underflow.
4025 * math/s_catanf.c (__catanf): Likewise.
4026 * math/s_catanh.c (__catanh): Likewise.
4027 * math/s_catanhf.c (__catanhf): Likewise.
4028 * math/s_catanhl.c (__catanhl): Likewise.
4029 * math/s_catanl.c (__catanl): Likewise.
4030 * math/libm-test.inc (catan_test): Add more tests.
4031 (catanh_test): Likewise.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034
cb4d5414
AZ
40352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4036
4037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4038
caf84319
JM
40392013-04-30 Joseph Myers <joseph@codesourcery.com>
4040
4041 [BZ #15416]
4042 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4043 accurately for denominator in atan2.
4044 * math/s_catanf.c (__catanf): Likewise.
4045 * math/s_catanh.c (__catanh): Likewise.
4046 * math/s_catanhf.c (__catanhf): Likewise.
4047 * math/s_catanhl.c (__catanhl): Likewise.
4048 * math/s_catanl.c (__catanl): Likewise.
4049 * math/libm-test.inc (catan_test): Add more tests.
4050 (catanh_test): Likewise.
4051 * sysdeps/i386/fpu/libm-test-ulps: Update.
4052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4053
d569c6ee
SP
40542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4055
6dbe713d
SP
4056 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4057
f0ee064b
SP
4058 * benchtests/Makefile (bench): Remove slow benchmarks.
4059 * benchtests/atan-inputs: Add slow benchmark inputs.
4060 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4061 (BENCH_FUNC): Accept variant offset.
4062 (VARIANT): Define.
4063 * benchtests/bench-skeleton.c (main): Run benchmark for each
4064 variant.
4065 * benchtests/cos-inputs: Add slow benchmark inputs.
4066 * benchtests/exp-inputs: Likewise.
4067 * benchtests/pow-inputs: Likewise.
4068 * benchtests/sin-inputs: Likewise.
4069 * benchtests/slowatan-inputs: Remove.
4070 * benchtests/slowatan.c: Remove.
4071 * benchtests/slowcos-inputs: Remove.
4072 * benchtests/slowcos.c: Remove.
4073 * benchtests/slowexp-inputs: Remove.
4074 * benchtests/slowexp.c: Remove.
4075 * benchtests/slowpow-inputs: Remove.
4076 * benchtests/slowpow.c: Remove.
4077 * benchtests/slowsin-inputs: Remove.
4078 * benchtests/slowsin.c: Remove.
4079 * benchtests/slowtan-inputs: Remove.
4080 * benchtests/slowtan.c: Remove.
4081 * benchtests/tan-inputs: Add slow benchmark inputs.
4082 * scripts/bench.pl: Parse comments and directives.
4083
d569c6ee
SP
4084 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4085 in CPPFLAGS.
4086 ($(objpfx)bench-%.c): Remove *-ITER.
4087 * benchtests/bench-modf.c: Remove definition of ITER.
4088 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4089 (main): Loop for DURATION seconds instead of fixed number of
4090 iterations.
4091 * scripts/bench.pl: Don't expect iterations in parameters.
4092
a6a242fe
RM
40932013-04-29 Roland McGrath <roland@hack.frob.com>
4094
4095 * io/fchdir.c (__fchdir): Renamed from fchdir.
4096 (fchdir): Define as weak alias.
4097
f2da7793
JM
40982013-04-29 Joseph Myers <joseph@codesourcery.com>
4099
4100 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4101 (ERRNO_EDOM): Likewise.
4102 (ERRNO_ERANGE): Likewise.
4103 (noErrnoTests): New variable.
4104 (init_max_error): Set errno to 0.
4105 (test_single_errno): New function.
4106 (test_errno): Likewise.
4107 (check_float_internal): Call test_errno. Set errno to 0.
4108 (check_complex): Refer to errno tests in comment.
4109 (check_int): Call test_errno. Set errno to 0.
4110 (check_long): Likewise.
4111 (check_bool): Likewise.
4112 (check_longlong): Likewise.
4113 (cos_test): Use ERRNO_* flags for errno tests instead of
4114 check_int.
4115 (expm1_test): Likewise.
4116 (fmod_test): Likewise.
4117 (ilogb_test): Likewise.
4118 (lgamma_test): Likewise.
4119 (pow_test): Likewise.
4120 (remainder_test): Likewise.
4121 (sin_test): Likewise.
4122 (tan_test): Likewise.
4123 (yn_test): Likewise.
4124 (initialize): Set errno to 0.
4125 (main): Print number of errno tests.
4126 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4127
b1a36ceb
AJ
41282013-04-29 Andreas Jaeger <aj@suse.de>
4129
c3ed8088
AJ
4130 [BZ #15084]
4131 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4132 and RES_USEVC.
4133
f1a24198
AJ
4134 [BZ #15085]
4135 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4136 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4137 unimplemented.
4138
9ce3b2cb
AJ
4139 [BZ #15380]
4140 * stdlib/random.c (__initstate): Return NULL if
4141 __initstate fails.
4142
f1a24198 4143 [BZ #15086]
b1a36ceb
AJ
4144 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4145 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4146 RES_SNGLKUPREOP.
4147
7e7b6f36
AZ
41482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4149
4150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4151
4d14f449
JM
41522013-04-29 Joseph Myers <joseph@codesourcery.com>
4153
4154 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4155 of individual tests.
4156 (casin_test): Likewise.
4157 (casinh_test): Likewise.
4158
5b4217d7
JM
41592013-04-27 Joseph Myers <joseph@codesourcery.com>
4160
4161 [BZ #15409]
4162 * math/s_catan.c (__catan): Handle arguments with large real or
4163 imaginary part separately without squaring.
4164 * math/s_catanf.c (__catanf): Likewise.
4165 * math/s_catanh.c (__catanh): Likewise.
4166 * math/s_catanhf.c (__catanhf): Likewise.
4167 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4168 and redefine.
4169 (__catanhl): Handle arguments with large real or imaginary part
4170 separately without squaring.
4171 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4172 and redefine.
4173 (__catanl): Handle arguments with large real or imaginary part
4174 separately without squaring.
4175 * math/libm-test.inc (catan_test): Add more tests.
4176 (catanh_test): Likewise.
4177 * sysdeps/i386/fpu/libm-test-ulps: Update.
4178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4179
4220c3ef
AJ
41802013-04-27 Andreas Jaeger <aj@suse.de>
4181
4182 [BZ #15007]
4183 * stdlib/stdlib.h: Update guards for qecvt.
4184 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4185 <stdlib.h>.
4186
4721b2d1
AM
41872013-04-27 Allan McRae <allan@archlinux.org>
4188
4189 * sysdeps/i386/fpu/libm-test-ulps: Update.
4190
f0302940
JM
41912013-04-26 Joseph Myers <joseph@codesourcery.com>
4192
9457fd95
JM
4193 [BZ #15406]
4194 * math/s_catan.c: Include <float.h>.
4195 (__catan): Ensure underflow exception occurs for underflowed
4196 result.
4197 * math/s_catanf.c: Include <float.h>.
4198 (__catanf): Ensure underflow exception occurs for underflowed
4199 result.
4200 * math/s_catanh.c: Include <float.h>.
4201 (__catanh): Ensure underflow exception occurs for underflowed
4202 result.
4203 * math/s_catanhf.c: Include <float.h>.
4204 (__catanhf): Ensure underflow exception occurs for underflowed
4205 result.
4206 * math/s_catanhl.c: Include <float.h>.
4207 (__catanhl): Ensure underflow exception occurs for underflowed
4208 result.
4209 * math/s_catanl.c: Include <float.h>.
4210 (__catanl): Ensure underflow exception occurs for underflowed
4211 result.
4212 * math/libm-test.inc (catan_test): Add more tests.
4213 (catanh_test): Likewise.
4214
f0302940
JM
4215 [BZ #15405]
4216 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4217 underflowed result.
4218 * math/s_ccoshf.c (__ccoshf): Likewise.
4219 * math/s_ccoshl.c (__ccoshl): Likewise.
4220 * math/s_csin.c (__csin): Likewise.
4221 * math/s_csinf.c (__csinf): Likewise.
4222 * math/s_csinh.c (__csinh): Likewise.
4223 * math/s_csinhf.c (__csinhf): Likewise.
4224 * math/s_csinhl.c (__csinhl): Likewise.
4225 * math/s_csinl.c (__csinl): Likewise.
4226 * math/libm-test.inc (ccos_test): Add more tests.
4227 (ccosh_test): Likewise.
4228 (csin_test): Likewise.
4229 (csinh_test): Likewise.
4230
aa630f59
AZ
42312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4232
4233 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4234 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4235 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4236 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4237 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4238 powerpc/power5+/fpu folders.
4239 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4240
4241
1b835983
MT
42422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4243
4244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4245
73709b26
JM
42462013-04-25 Joseph Myers <joseph@codesourcery.com>
4247
4248 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4249 additions to variable.
4250 [$(config-machine) = x86_64] (modules-names): Likewise.
4251 ($(objpfx)tst-audit3): Remove dependency.
4252 ($(objpfx)tst-audit3.out): Likewise.
4253 ($(objpfx)tst-audit4): Likewise.
4254 ($(objpfx)tst-audit4.out): Likewise.
4255 ($(objpfx)tst-audit5): Likewise.
4256 ($(objpfx)tst-audit5.out): Likewise.
4257 ($(objpfx)tst-audit6): Likewise.
4258 ($(objpfx)tst-audit6.out): Likewise.
4259 ($(objpfx)tst-audit7): Likewise.
4260 ($(objpfx)tst-audit7.out): Likewise.
4261 (tst-audit3-ENV): Remove variable.
4262 (tst-audit4-ENV): Likewise.
4263 (tst-audit5-ENV): Likewise.
4264 (tst-audit6-ENV): Likewise.
4265 (tst-audit7-ENV): Likewise.
4266 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4267 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4268 addition to variable.
4269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4271 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4274 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4275 tst-audit3, tst-audit4 and tst-audit5.
4276 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4277 tst-audit6 and tst-audit7.
4278 [$(subdir) = elf] (modules-names): Add audit modules for those
4279 tests.
4280 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4281 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4282 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4283 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4284 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4285 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4286 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4287 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4288 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4289 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4290 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4291 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4292 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4293 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4294 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4295 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4296 Likewise.
4297 [$(subdir) = elf && $(config-cflags-avx) = yes]
4298 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4299 [$(subdir) = elf && $(config-cflags-avx) = yes]
4300 (CFLAGS-tst-auditmod4a.c): Likewise.
4301 [$(subdir) = elf && $(config-cflags-avx) = yes]
4302 (CFLAGS-tst-auditmod4b.c): Likewise.
4303 [$(subdir) = elf && $(config-cflags-avx) = yes]
4304 (CFLAGS-tst-auditmod6b.c): Likewise.
4305 [$(subdir) = elf && $(config-cflags-avx) = yes]
4306 (CFLAGS-tst-auditmod6c.c): Likewise.
4307 [$(subdir) = elf && $(config-cflags-avx) = yes]
4308 (CFLAGS-tst-auditmod7b.c): Likewise.
4309 * elf/tst-audit3.c: Move to ...
4310 * sysdeps/x86_64/tst-audit3.c: ... here.
4311 * elf/tst-audit4.c: Move to ...
4312 * sysdeps/x86_64/tst-audit4.c: ... here.
4313 * elf/tst-audit5.c: Move to ...
4314 * sysdeps/x86_64/tst-audit5.c: ... here.
4315 * elf/tst-audit6.c: Move to ...
4316 * sysdeps/x86_64/tst-audit6.c: ... here.
4317 * elf/tst-audit7.c: Move to ...
4318 * sysdeps/x86_64/tst-audit7.c: ... here.
4319 * elf/tst-auditmod3a.c: Move to ...
4320 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4321 * elf/tst-auditmod3b.c: Move to ...
4322 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4323 * elf/tst-auditmod4a.c: Move to ...
4324 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4325 * elf/tst-auditmod4b.c: Move to ...
4326 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4327 * elf/tst-auditmod5a.c: Move to ...
4328 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4329 * elf/tst-auditmod5b.c: Move to ...
4330 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4331 * elf/tst-auditmod6a.c: Move to ...
4332 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4333 * elf/tst-auditmod6b.c: Move to ...
4334 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4335 * elf/tst-auditmod6c.c: Move to ...
4336 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4337 * elf/tst-auditmod7a.c: Move to ...
4338 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4339 * elf/tst-auditmod7b.c: Move to ...
4340 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4341
1ef74943
PP
43422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4343
4344 [BZ #15366]
4345 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4346 define unconditionally.
4347 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4348 define unconditionally.
4349 (INT8_C, INT16_C, etc.): Likewise.
4350
93fd48c5
MR
43512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4352
ae9552cf
MR
4353 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4354 __ehdr_start with hidden visibility.
4355
93fd48c5
MR
4356 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4357
418601aa
CD
43582013-04-24 Carlos O'Donell <carlos@redhat.com>
4359
4360 * math/libm-test.inc (cos_test): Use accurate hex constants.
4361 (sincost_test): Likewise.
4362
2f38fbfe
JM
43632013-04-24 Joseph Myers <joseph@codesourcery.com>
4364
5e221800
JM
4365 * math/libm-test.inc (catan_test): Add more tests.
4366 (catanh_test): Likewise.
4367
77f143fd
JM
4368 * math/s_catanf.c (__catanf): Use suffixed floating-point
4369 constants.
4370 * math/s_catanhf.c (__catanhf): Likewise.
4371 * math/s_catanhl.c (__catanhl): Likewise.
4372 * math/s_catanl.c (__catanl): Likewise.
4373
2f38fbfe
JM
4374 [BZ #15394]
4375 * math/s_catan.c (__catan): Calculate imaginary part of result
4376 with log1p not log unless computing log of number close to 0.
4377 * math/s_catanf.c (__catanf): Likewise.
4378 * math/s_catanl.c (__catanl): Likewise.
4379 * math/s_catanh.c (__catanh): Calculate real part of result with
4380 log1p not log unless computing log of number close to 0.
4381 * math/s_catanhf.c (__catanhf): Likewise.
4382 * math/s_catanhl.c (__catanhl): Likewise.
4383 * math/libm-test.inc (catan_test): Add more tests.
4384 (catanh_test): Likewise.
4385 * sysdeps/i386/fpu/libm-test-ulps: Update.
4386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4387
45d69176
SP
43882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4389
4390 * benchtests/Makefile: Mention files in which fast and slow
4391 paths of math functions are implemented.
4392
87f51853
RM
43932013-04-23 Roland McGrath <roland@hack.frob.com>
4394
4395 * sysdeps/posix/timespec_get.c: New file.
4396
3c026539
AZ
43972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4398
4399 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4400 POWER.
4401 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4402 for POWER.
4403 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4404 powerpc/power5/fpu folders.
4405 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4406 * benchtests/Makefile: Add modf testcase.
4407 * benchtests/bench-modf.c: New file: Benchmark test for mo
4408
ff491d14
SP
44092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4410
4411 [BZ #14888]
4412 * time/Makefile (tests): Add tst-strptime-whitespace.
4413 * time/strptime_l.c (get_number): Use ISSPACE.
4414 (__strptime_internal): Likewise.
4415 * time/tst-strptime-whitespace.c: New test case.
4416
7ed3f4e8
AS
44172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4418
4419 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4420 member.
4421 (_nss_files_init): Set it here.
4422
5c95f7b6
HC
44232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4424
4425 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4426 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4427 unsigned.
4428
d34c9158
JBG
44292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4430
4431 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4432
2169712d
SP
44332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4434
4435 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4436 size just once.
4437
29c5de99
DM
44382013-04-21 David S. Miller <davem@davemloft.net>
4439
4440 * po/ru.po: Update Russion translation from translation project.
4441
ccdad15d
AC
44422013-04-17 Adam Conrad <adconrad@0c3.net>
4443
4444 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4445 and setfsgid.
4446
0f122b8d
CD
44472013-04-17 Carlos O'Donell <carlos@redhat.com>
4448
5c5b07da 4449 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4450 * configure: Regenerate.
5c5b07da 4451 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4452 Add example to error message.
4453 * sysdeps/i386/configure: Regenerate.
4454
037714dd
SP
44552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4456
4457 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4458 slowtan.
4459 * benchtests/cos-inputs: New file.
4460 * benchtests/slowcos-inputs: New file.
4461 * benchtests/slowcos.c: New file.
4462 * benchtests/slowtan-inputs: New file.
4463 * benchtests/slowtan.c: New file.
4464 * benchtests/tan-inputs: New file.
4465
e913141d
RM
44662013-04-16 Roland McGrath <roland@hack.frob.com>
4467
4468 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4469 considered kosher.
4470
a2964074
SP
44712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
4856bcd2
SP
4473 * benchtests/Makefile: Include cppflags-iterator.mk to add
4474 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4475
a2964074
SP
4476 * Makefile.in (bench-clean): New target.
4477 * benchtests/Makefile (bench-clean): Likewise.
4478
9fbf9aca
DH
44792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4480
4481 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4482
207d1e2a
TS
44832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4484
4485 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4486
306dfba9
AS
44872013-04-15 Andreas Schwab <schwab@suse.de>
4488
4489 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4491 * nscd/pwdcache.c (cache_addpw): Likewise.
4492 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4493 more than recsize.
4494
206a6699
SP
44952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
4497 * benchtests/Makefile (bench): Write all output to
4498 bench-out.tmp together.
4499
0582f6b3
AS
45002013-04-15 Andreas Schwab <schwab@suse.de>
4501
4502 * nscd/nscd.c (main): Don't fork again after closing files.
4503
acb4325f
SP
45042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4505
5cb26d0a
SP
4506 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4507
acb4325f
SP
4508 * benchtests/Rules (bench-deps): Collect dependencies into a
4509 single variable. Add Makefile to dependencies.
4510 ($(objpfx)bench-%.c): Depend on bench-deps.
4511
47792506
RM
45122013-04-12 Roland McGrath <roland@hack.frob.com>
4513 Xavier Roche <roche+kml2@exalead.com>
4514
4515 [BZ #15361]
4516 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4517 just that it's a file descriptor.
4518 * manual/llio.texi (Synchronizing AIO Operations): Update description
4519 for EBADF error from aio_fsync.
4520
8fc1bee5
SP
45212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4522
4523 * Rules (bench): Move target definition...
4524 * benchtests/Makefile: ... here.
4525
aba5e333
CD
45262013-04-11 Carlos O'Donell <carlos@redhat.com>
4527
4528 * math/libm-test.inc (cos_test): Fix PI/2 test.
4529 (sincos_test): Likewise.
4530 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4531 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4532
273cdee8
AS
45332013-04-11 Andreas Schwab <schwab@suse.de>
4534
6ecec3b6
AS
4535 [BZ #13988]
4536 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4537 accept exponent character only when digits were seen.
4538 * stdio-common/Makefile (tests): Add bug26.
4539 * stdio-common/bug26.c: New file.
4540
273cdee8
AS
4541 [BZ #14293]
4542 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4543 non-freeable.
4544
8da491f5
SP
45452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4546
01dc6df9
SP
4547 * Makeconfig (rtld-prefix): Define built linker prefix.
4548 * Rules (run-bench): Use it.
4549 * math/Makefile (run-regen-ulps): Likewise.
4550
8da491f5
SP
4551 * Rules (bench): Remove eval.
4552
abe7f530
SP
45532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4554 Roland McGrath <roland@hack.frob.com>
4555 Ondrej Bilka <neleai@seznam.cz>
4556
4557 [BZ #15346]
4558 * time/getdate.c: Include ctype.h and alloca.h.
4559 (__getdate_r): Trim leading and trailing spaces of input.
4560 * time/tst-getdate.c (tests): Add tests with leading and
4561 trailing spaces.
4562
61c23e62
RM
45632013-04-08 Roland McGrath <roland@hack.frob.com>
4564
4565 [BZ #14280]
4566 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4567 when computing value.
4568
7208a313
CD
45692013-04-06 Carlos O'Donell <carlos@redhat.com>
4570
085b2d41
CD
4571 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4572 Use testrun.sh to run libm tests.
4573
7208a313
CD
4574 [BZ #15309]
4575 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4576
872c0acd
MM
45772013-04-06 Marko Myllynen <myllynen@redhat.com>
4578
4579 [BZ #15264]
4580 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4581
26510bdd
CD
45822013-04-06 Carlos O'Donell <carlos@redhat.com>
4583
4584 * Makefile.in (regen-ulps): New target.
4585 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4586 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4587 [ifneq (no,$(PERL)] (regen-ulps): New target.
4588 [ifeq (no,$(PERL)] (regen-ulps): New target.
4589 * math/libm-test.inc (ulps_file_name): Define.
4590 (output_dir): New variable.
4591 (options): Add "output-dir" option.
4592 (parse_opt): Handle 'o' case.
4593 (main): If output_dir is non-NULL use it as a prefix
4594 otherwise use "".
4595 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4596
a01f19c8
CD
45972013-04-06 Carlos O'Donell <carlos@redhat.com>
4598
4599 [BZ #10060, #10062]
4600 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4601 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4602 fail configure if __sync_val_compare_and_swap is not inlined.
4603 * sysdeps/i386/configure: Regenerate.
4604 * configure.in: Build for i686 when configured for i386.
4605 * configure: Regenerate.
4606 * README: Remove i386 reference.
4607
b7a329a5
CD
46082013-04-06 Carlos O'Donell <carlos@redhat.com>
4609
4610 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4612
bf0f50df
TS
46132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4614
ee091edf
TS
4615 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4616 (lmsnanval): New variables.
4617 (F): Add conversion tests.
4618 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4619 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4620
a8b792d6
TS
4621 * stdio-common/tstdiomisc.c (F): Properly collect individual
4622 tests' results.
4623
a1cbf437
TS
4624 [BZ #14686, #15336]
4625 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4626 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4627 Instead, use input NaN values or generate a qNaN by arithmetic
4628 operation. Also fix bugs to comply with the standard.
4629 * math/libm-test.inc (remainder_test): Add more tests.
4630
8b43a0c9
TS
4631 [BZ #15335, #15342]
4632 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4634 input NaN values or generate a qNaN by arithmetic operation.
4635
d91da4ce
TS
4636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4637 unreachable code.
4638
bf0f50df
TS
4639 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4640 definitions.
4641
05e166c8
JM
46422013-04-03 Joseph Myers <joseph@codesourcery.com>
4643
4644 [BZ #14478]
4645 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4646 underflowed result.
4647 * math/s_cexpf.c (__cexpf): Likewise.
4648 * math/s_cexpl.c (__cexpl): Likewise.
4649 * math/libm-test.inc (cexp_test): Add more tests.
4650
1cef1b19
AS
46512013-04-03 Andreas Schwab <schwab@suse.de>
4652
4653 [BZ #15330]
4654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4655 order arrays from heap if bigger than alloca cutoff.
4656
74d87055
TS
46572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4658
4659 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4660 (SNAN_TESTS_double): Refer to GCC PR56831.
4661 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4662 GCC PR56828.
4663
d755bba4
SP
46642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4665
90d5d5bb
SP
4666 * Rules (bench): Move bench.out after the run is complete.
4667
73e0cd5d
SP
4668 * Rules (bench): Echo currently running benchmark.
4669
64aabd4b
SP
4670 * benchtests/Makefile (bench): Add atan and slowatan.
4671 * benchtests/atan-inputs: New file.
4672 * benchtests/slowatan-inputs: New file.
4673 * benchtests/slowatan.c: New file.
4674
c871eccd
SP
4675 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4677 its value.
4678
d755bba4
SP
4679 [BZ #15305]
4680 * sysdeps/unix/sysv/linux/kernel-features.h
4681 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4682 __ASSUME_XFS_RESTRICTED_CHOWN.
4683 * sysdeps/unix/sysv/linux/pathconf.c
4684 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4685 Save and restore errno.
4686
52ce4860
JM
46872013-04-02 Joseph Myers <joseph@codesourcery.com>
4688
4689 [BZ #15327]
4690 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4691 arguments using __kernel_casinh.
4692 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4693 arguments using __kernel_casinhf.
4694 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4695 arguments using __kernel_casinhl.
4696 * math/libm-test.inc (cacosh_test): Add more tests.
4697 * sysdeps/i386/fpu/libm-test-ulps: Update.
4698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4699
81f311c2
SP
47002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4701
e7906a47
SP
4702 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4704
92e3664b
SP
4705 * bench/Makefile (bench): Add sin and slowsin.
4706 * benchtests/sin-inputs: New file.
4707 * benchtests/slowsin-inputs: New file.
4708 * benchtests/slowsin.c: New file.
4709
81f311c2
SP
4710 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4711 (bench): Add slowexp and slowpow.
4712 (exp-ITER): Increase iterations.
4713 (pow-ITER): Likewise.
4714 * benchtests/exp-inputs: Change input.
4715 * benchtests/pow-inputs: Likewise.
4716 * benchtests/slowexp-inputs: New file.
4717 * benchtests/slowexp.c: New file.
4718 * benchtests/slowpow-inputs: New file.
4719 * benchtests/slowpow.c: New file.
4720
ab0f1aa9
AZ
47212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722
4723 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4724 instructions.
4725 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4727 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4728 * benchtests/Makefile: Add rint benchtest.
4729 * benchtests/rint-inputs: Input for rint benchtest.
4730
57267616
TS
47312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4732
4733 * Versions.def (libm): Add GLIBC_2.18.
4734 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4735 hidden libm prototypes.
4736 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4737 * math/Makefile (libm-calls): Add s_issignaling.
4738 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4739 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4740 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4741 declaration.
4742 * math/math.h [__USE_GNU] (issignaling): New macro.
4743 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4744 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4749 * manual/arith.texi (issignaling): New section.
4750 * manual/libm-err-tab.pl (@all_functions): Update comment.
4751 * math/gen-libm-test.pl (parse_args): Apply special handling for
4752 issignaling.
4753 * math/libm-test.inc (print_float, issignaling_test): New
4754 functions.
4755 (check_float_internal): Add issignaling checks.
4756 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4757 default definition.
4758 * sysdeps/powerpc/math-tests.h: New file.
4759 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4760 tests.
4761 * math/test-snan.c (TEST_FUNC): Likewise.
4762
6142896d
DM
47632013-03-30 David S. Miller <davem@davemloft.net>
4764
4765 * po/de.po: Update from translation team.
4766
ccc8cadf
JM
47672013-03-30 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #10357]
4770 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4771 imaginary part less than 1.0 and real part less than 0.5
4772 specially.
4773 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4774 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4775 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4776 (cacos_test): Add more tests.
4777 (casin_test): Likewise.
4778 (casinh_test): Likewise.
4779 * sysdeps/i386/fpu/libm-test-ulps: Update.
4780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4781
0f6a8d4b
SP
47822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
0d1029de
SP
4784 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4785 ONE with its value.
4786
c2d94018
SP
4787 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4788 (__pow_mp): Replace ONE and MONE with their values.
4789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4793 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4795
27ec37f1
SP
4796 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4797
a64d7e0e
SP
4798 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4799 (__pow_mp): Replace ZERO and MZERO with their values.
4800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4801 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4802 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4805 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4806 (__sqr): Likewise.
4807
d26dd3eb
SP
4808 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4809
0f6a8d4b
SP
4810 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4811
e57b0c61
RM
48122013-03-28 Roland McGrath <roland@hack.frob.com>
4813
4814 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4815 Declare with __attribute__ ((weak)).
4816 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4817 Call __call_tls_dtors only if it's not NULL.
4818
356b3480
RM
48192013-03-28 Roland McGrath <roland@hack.frob.com>
4820
288f7d79
RM
4821 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4822 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4823 magic __ehdr_start linker symbol if it's defined.
4824 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4825 them up here if it was already done.
4826
dc0a0263
RM
4827 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4828 (_dl_aux_init): Use const in cast when setting it.
4829 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4831 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4832
3d3436ae
RM
4833 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4834 Declare them here.
4835 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4836 * csu/libc-tls.c: Nor here.
4837 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4838
356b3480
RM
4839 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4840 (__libc_message): Never call vsyslog.
4841
b0f1246a
AM
48422013-03-28 Alan Modra <amodra@gmail.com>
4843
4844 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4845 Define as empty.
4846 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4847 Likewise.
4848
fbbe2b9a
AZ
48492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4850
4851 [BZ #15214]
4852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4853 underflow.
4854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4855
1728ab37
SP
48562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4857
7a86be6e
SP
4858 [BZ #15304]
4859 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4860 Don't add gid passed as argument.
4861
1728ab37
SP
4862 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4863
3a7182a1
JM
48642013-03-27 Joseph Myers <joseph@codesourcery.com>
4865
4866 [BZ #15307]
4867 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4868 imaginary part between 1.0 and 1.5 and real part less than 0.5
4869 specially.
4870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4872 * math/libm-test.inc (cacos_test): Add more tests.
4873 (casin_test): Likewise.
4874 (casinh_test): Likewise.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877
6f2e90e7
SP
48782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4879
5739f705
SP
4880 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4881 constants.
4882 (norm): Likewise.
4883 (denorm): Likewise.
4884 (__dbl_mp): Likewise.
4885 (add_magnitudes): Likewise.
4886 (sub_magnitudes): Likewise.
4887 (__add): Likewise.
4888 (__sub): Likewise.
4889 (__mul): Likewise.
4890 (__sqr): Likewise.
4891 (__inv): Likewise.
4892 (__dvd): Likewise.
4893
e375e83d
SP
4894 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4895 commented code.
4896 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4897 (__dubcos): Likewise.
4898 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4899 (__ieee754_acos): Likewise.
4900 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4901 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4902 (__exp1): Likewise.
4903 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4905 (log1): Likewise.
4906 (my_log2): Likewise.
4907 (checkint): Likewise.
4908 * sysdeps/ieee754/dbl-64/e_remainder.c
4909 (__ieee754_remainder): Likewise.
4910 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4912 (bsloww): Likewise.
4913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4914
6f2e90e7
SP
4915 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4916 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4917 MANTISSA_STORE_T to store computations on mantissa. Use
4918 macros for rounding and division.
4919 (denorm): Likewise.
4920 (__dbl_mp): Likewise.
4921 (add_magnitudes): Likewise.
4922 (sub_magnitudes): Likewise.
4923 (__mul): Likewise.
4924 (__sqr): Likewise.
4925 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4926 powers of two in terms of TWOPOW macro.
4927 (mp_no): Make type of mantissa as MANTISSA_T.
4928 [!RADIXI]: Define RADIXI.
4929 [!TWO52]: Define TWO52.
4930 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4931
fce14d4e
AZ
49322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4935 llroundl symbol when building for PPC32.
4936
9ad027fb
MW
49372013-03-24 Mark H Weaver <mhw@netris.org>
4938
4939 * manual/arith.texi (Normalization Functions): Fix prototypes for
4940 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4941
e42a38dd
AZ
49422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943
4944 [BZ #13889]
4945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4946 high value to check if expl overflow.
4947 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4948 to check for underflow and overflow.
4949 * math/libm-test.inc: Add exp test.
4950
2e0fb521
DL
49512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4952
4953 [BZ #11120]
4954 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4955 with NOT_IN_libc.
4956
b5784d95
AZ
49572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958
4959 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4960 symbol.
4961
5aa4a1a1
TS
49622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4963
bdef0be7
TS
4964 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4965 wrap blocks consisting of several statements.
4966
5aa4a1a1
TS
4967 * sysdeps/generic/math-tests.h: New file.
4968 * sysdeps/i386/fpu/math-tests.h: Likewise.
4969 * math/test-snan.c: Include it.
4970 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4971
98c48fe5
JM
49722013-03-21 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #15285]
4975 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4976 (__ieee754_j0l): Do not improve calculations using cos of twice
4977 input for inputs above LDBL_MAX / 2.0L.
4978 (__ieee754_y0l): Likewise.
4979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4980 (__ieee754_j1l): Do not improve calculations using cos of twice
4981 input for inputs above LDBL_MAX / 2.0L.
4982 (__ieee754_y1l): Likewise.
4983 * math/libm-test.inc (j0_test): Add another test.
4984 (j1_test): Likewise.
4985 (y0_test): Likewise.
4986 (y1_test): Likewise.
4987 * sysdeps/i386/fpu/libm-test-ulps: Update.
4988
3775a8bc
SP
49892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
4991 * Rules ($(objpfx)bench-%.c): Include code from a C source
4992 file.
4993
0a1b2ae6
JM
49942013-03-21 Joseph Myers <joseph@codesourcery.com>
4995
4996 [BZ #15287]
4997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4998 imaginary part 1.0 and real part less than 0.5 specially.
4999 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5000 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5001 * math/libm-test.inc (cacos_test): Add more tests.
5002 (casin_test): Likewise.
5003 (casinh_test): Likewise.
5004 * sysdeps/i386/fpu/libm-test-ulps: Update.
5005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5006
b33d4ce4
SP
50072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5008
5009 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5010 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5011
bef0b507
JM
50122013-03-20 Joseph Myers <joseph@codesourcery.com>
5013
5014 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5015 * config.make.in (config-cflags-sse4): Remove variable.
5016 (config-cflags-avx): Likewise.
5017 (config-cflags-sse2avx): Likewise.
5018 (config-cflags-novzeroupper): Likewise.
5019 (config-asflags-i686): Likewise.
5020 (have-mfma4): Likewise.
5021 (have-as-vis3): Likewise.
5022 (MIG): Likewise.
5023 * configure.in (MIG): Do not AC_SUBST.
5024 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5025 (libc_cv_cc_sse4): Do not AC_SUBST.
5026 (libc_cv_cc_avx): Likewise.
5027 (libc_cv_cc_sse2avx): Likewise.
5028 (libc_cv_cc_novzeroupper): Likewise.
5029 (libc_cv_cc_fma4): Likewise.
5030 (libc_cv_as_i686): Likewise.
5031 (libc_cv_sparc_as_vis3): Likewise.
5032 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5033 LIBC_CONFIG_VAR.
5034 (config-asflags-i686): Likewise.
5035 (config-cflags-avx): Likewise.
5036 (config-cflags-sse2avx): Likewise.
5037 (have-mfma4): Likewise.
5038 (config-cflags-novzeroupper): Likewise.
5039 * sysdeps/mach/configure.in (MIG): Likewise.
5040 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5041 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5042 LIBC_CONFIG_VAR.
5043 (config-cflags-avx): Likewise.
5044 (config-cflags-sse2avx): Likewise.
5045 (have-mfma4): Likewise.
5046 (config-cflags-novzeroupper): Likewise.
5047 * configure: Regenerated.
5048 * sysdeps/i386/configure: Likewise.
5049 * sysdeps/mach/configure: Likewise.
5050 * sysdeps/sparc/configure: Likewise.
5051 * sysdeps/x86_64/configure: Likewise.
5052
912cc4b3
RM
50532013-03-20 Roland McGrath <roland@hack.frob.com>
5054
5055 [BZ #14812]
5056 * locale/programs/localedef.c (options): Put N_ translation marker
5057 on argument names, not just descriptions.
5058
04eed2b0
MS
50592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5060
5061 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5062
a065ceff
OB
50632013-03-20 Ondřej Bílka <neleai@seznam.cz>
5064
9bb2a810 5065 [BZ #14176]
a065ceff
OB
5066 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5067
a600e5ce
RM
50682013-03-19 Roland McGrath <roland@hack.frob.com>
5069
5070 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5071 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5072 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5073 [!BEFORE_ABORT] (before_abort): New function.
5074 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5075 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5076 (writev_for_fatal): New function.
5077 (WRITEV_FOR_FATAL): New macro; call that.
5078 (backtrace_and_maps): New function.
5079 (BEFORE_ABORT): New macro; call that.
5080 (struct str_list): Type removed.
5081 (__libc_message, __libc_fatal): Functions removed.
5082 Include <sysdeps/posix/libc_fatal.c> instead.
5083
6b18bea6
JM
50842013-03-19 Joseph Myers <joseph@codesourcery.com>
5085
5086 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5087 constants.
5088 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5089 double constants.
5090
aaa8cb4b
AS
50912013-03-19 Andreas Schwab <schwab@suse.de>
5092
44673770
AS
5093 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5094 * sysdeps/gnu/configure: Regenerate.
5095
aaa8cb4b
AS
5096 * configure.in: Substitute libc_cv_rtlddir.
5097 * configure: Regenerate.
5098 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5099 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5100 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5101 * elf/Makefile (install-others, CFLAGS-interp.c)
5102 (ldso_install, common-ldd-rewrite): Likewise.
5103 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5104 $(inst_slibdir)/$(rtld-installed-name).
5105 * scripts/rellns-sh: Add -p option.
5106 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5107 for source.
5108
d3cfc668
SP
51092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * manual/nptl.texi: Renamed to ...
5112 * manual/threads.texi: ... this.
5113 * manual/Makefile (chapters): Update.
5114
0e2b9cdd
RM
51152013-03-18 Roland McGrath <roland@hack.frob.com>
5116
5117 [BZ #14812]
5118 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5119 on argument names, not just descriptions.
0e2b9cdd
RM
5120 * malloc/memusagestat.c (options): Likewise.
5121 * nss/getent.c (options): Likewise.
63270c24
RM
5122
51232013-03-18 Benno Schulenberg <bensberg@justemail.net>
5124
5125 [BZ #14812]
5126 * iconv/iconv_prog.c (options): Put N_ translation marker
5127 on argument names, not just descriptions.
5128 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5129
b2e1393c
OB
51302013-03-18 Ondrej Bilka <neleai@seznam.cz>
5131
5132 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5133 implementation which is faster on all x86_64 architectures.
5134 Tested on AMD, Intel Nehalem, SNB, IVB.
5135 * sysdeps/x86_64/strnlen.S: Likewise.
5136
5137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5138 Remove all multiarch strlen and strnlen versions.
5139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5140 Remove strlen and strnlen related parts.
5141
5142 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5143 Inline strlen part.
5144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5145
5146 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5147 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5148 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5149 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5150 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5151 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5152
ec4ff04d
CD
51532013-03-17 Carlos O'Donell <carlos@redhat.com>
5154
5155 * manual/memory.texi (Malloc Tunable Parameters):
5156 Sort parameters alphabetically. Add comments for missing entries.
5157
cd18e90a
DM
51582013-03-17 David S. Miller <davem@davemloft.net>
5159
5160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5161
2a185d32
JM
51622013-03-16 Joseph Myers <joseph@codesourcery.com>
5163
d2f9799e
JM
5164 [BZ #15283]
5165 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5166 for arguments at most half maximum finite value.
5167 * math/libm-test.inc (j0_test): Add more tests.
5168 (j1_test): Likewise.
5169 (y0_test): Likewise.
5170 (y1_test): Likewise.
5171 * sysdeps/i386/fpu/libm-test-ulps: Update.
5172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5173
2a185d32
JM
5174 [BZ #14155]
5175 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5176 1 / x and functions P and Q for arguments above 0x1p256L.
5177 (__ieee754_y0l): Likewise.
5178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5179 (__ieee754_y1l): Likewise.
5180 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5181 (j1_test): Likewise.
5182 (y0_test): Likewise.
5183 (y1_test): Likewise.
5184
6cbec759
TS
51852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5186
5187 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5188 variable.
5189
bc16e260
RM
51902013-03-15 Roland McGrath <roland@hack.frob.com>
5191
aefc9b8c
RM
5192 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5193 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5194 zero since it's initialized to EXEC_PAGESIZE.
5195
bc16e260
RM
5196 * sysdeps/unix/sysv/linux/ldsodefs.h
5197 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5198 * sysdeps/generic/ldsodefs.h: ... here.
5199
a57da955
TS
52002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5201
af00a34d
TS
5202 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5203
495ded2c
TS
5204 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5205 math/test-snan.c.
5206 * math/test-snan.c: Renamed from
5207 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5208 * math/Makefile (tests): Add test-snan.
5209 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5210 test-powerpc-snan.
5211
777b0332
TS
5212 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5213 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5214 functions.
5215 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5216 __builtin_nan family of functions.
5217 * math/libm-test.inc (initialize): Initialize qnan_value with
5218 __builtin_nan family of functions.
5219 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5220 Remove variables.
5221 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5222 Remove functions.
5223 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5224 storage class. Initialize qNaN_var and sNaN_var with
5225 __builtin_nan and __builtin_nans families of functions,
5226 respectively.
5227
64d063b8
TS
5228 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5229 (sqrt_test): Remove duplicate test with qNaN input.
5230 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5231 (round_test, signbit_test, significand_test): Note missing +/-Inf
5232 as well as qNaN tests.
5233
67e971f1
TS
5234 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5235 qNaN_var. Fix a few strings, too.
5236 * math/libm-test.inc (nan_value): Rename to qnan_value.
5237 * math/gen-libm-test.pl (%beautify): Adjust to that.
5238 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5239 * math/test-misc.c (main): Likewise.
5240 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5241 to __qnan_bytes, and __qnan_union, respectively.
5242 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5243 Likewise.
5244 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5245 and lqnanval, respectively.
5246 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5247 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5248 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5249 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5250
64487e12
TS
5251 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5252 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5253 doubles.
5254
e015e27b
TS
5255 * math/test-misc.c (main): Fix copy'n'pastos.
5256 * misc/tst-efgcvt.c (special): Likewise.
5257
a57da955
TS
5258 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5259 Remove declarations.
5260
1e380345
SP
52612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5262
5263 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5264 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5265 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5267
ef26eece
AZ
52682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269
5270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5271 macro to return vdso values correctly in IFUNC implementations.
5272 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5273 Optimization by using IFUNC.
5274
8cfdb7e0
SP
52752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5276 Richard Henderson <rth@redhat.com>
5277 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5278
5279 * Makefile.in (bench): New target.
5280 * NEWS: Mention the benchmark framework.
5281 * Rules (bench): Likewise.
5282 (binaries-bench): Generate binaries for functions to
5283 benchmark.
5284 * benchtests/Makefile: New makefile for benchmark tests.
5285 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5286 programs.
5287 * benchtests/exp-inputs: New input file for EXP function.
5288 * benchtests/pow-inputs: New input file for POW function.
5289 * scripts/bench.pl: New script to generate source files for
5290 benchmark programs.
5291
bcda9880
SP
52922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
d22ca8cd
SP
5294 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5296 computations on mantissa. Use macros for rounding and
5297 division.
5298 (denorm): Likewise.
5299 (__dbl_mp): Likewise.
5300 (add_magnitudes): Likewise.
5301 (sub_magnitudes): Likewise.
5302 (__mul): Likewise.
5303 (__sqr): Likewise.
5304 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5305 powers of two in terms of TWOPOW macro.
5306 (mp_no): Make type of mantissa as MANTISSA_T.
5307 [!RADIXI]: Define RADIXI.
5308 [!TWO52]: Define TWO52.
5309 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5310
bcda9880
SP
5311 * manual/nptl.texi (cindex): Modify threads to pthreads.
5312
06d5adfb
JM
53132013-03-15 Joseph Myers <joseph@codesourcery.com>
5314
5315 * sysdeps/x86_64/preconfigure: Regenerated.
5316
41c7328e
JM
53172013-03-14 Joseph Myers <joseph@codesourcery.com>
5318
5319 [BZ #14155]
5320 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5321 0x1p28 and above.
5322 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5323 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5324 0x1p28 and above.
5325 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5326 * math/libm-test.inc (j0_test): Do not allow one spurious
5327 underflow exception.
5328 (y1_test): Likewise.
5329
e25cfa60
SP
53302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5331
0409959c
SP
5332 * manual/Makefile (chapters): Add nptl.
5333 * manual/debug.texi (Debugging Support): Add link to Threads
5334 chapter.
5335 * manual/nptl.texi: New file.
5336
e25cfa60
SP
5337 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5338
58a1335e
PB
53392013-03-14 Petr Baudis <pasky@ucw.cz>
5340
5341 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5342 for non-NULL pointer before the memory validity test. Pointed
5343 out by Holger Brunck <holger.brunck@keymile.com>.
5344
9dc7c64f
AS
53452013-03-13 Andreas Schwab <schwab@suse.de>
5346
5347 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5348 instead of .os.
5349
54206aa6
JM
53502013-03-13 Joseph Myers <joseph@codesourcery.com>
5351
5352 * timezone/zic.c: Update from tzcode 2013b.
5353
e98cdb38
CD
53542013-03-12 Carlos O'Donell <carlos@redhat.com>
5355
5356 * manual/install.texi (Configuring and compiling):
5357 Mention i686 and i586.
5358 * INSTALL: Regenerate.
5359
9967e003
RM
53602013-03-12 Roland McGrath <roland@hack.frob.com>
5361
5362 * sysdeps/init_array/elf-init.c: New file.
5363 * csu/elf-init.c
5364 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5365 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5366
5367 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5368 __gmon_start__ as global, but as static with a .preinit_array pointer.
5369 * sysdeps/init_array/gmon-start.c: New file. Use that.
5370 * sysdeps/init_array/crti.S: New file, empty except for comments.
5371 * sysdeps/init_array/crtn.S: Likewise.
5372
e6b5a293 53732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5374
5375 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5376 definining bcopy.
80f844c9
OB
5377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5378 Remove Prefer_SSE_for_memop.
5379 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5380 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5381 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5383 memset-x86-64.
80f844c9 5384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5385 Remove bzero, memset ifunc support.
80f844c9
OB
5386 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5387 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5388 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5390
fb6b0fcb
AS
53912013-03-11 Andreas Schwab <schwab@suse.de>
5392
5393 [BZ #15234]
5394 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5395 by SHLIB_COMPAT.
5396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5397 (GLIBC_2.16): Remove pthread_atfork.
5398
3e6bd4b1
PP
53992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5400
5401 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5402 (ptestcases.h): Likewise.
5403
222d7f00
RM
54042013-03-08 Roland McGrath <roland@hack.frob.com>
5405
5406 * Makeconfig ($(common-objpfx)config.status): Depend on
5407 sysdeps/*/preconfigure{,.in} too.
5408
1ba4f030
JM
54092013-03-08 Joseph Myers <joseph@codesourcery.com>
5410
a222d91a
JM
5411 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5412 (__free_hook): Use void * instead of __malloc_ptr_t.
5413 (__malloc_hook): Likewise.
5414 (__realloc_hook): Likewise.
5415 (__memalign_hook): Likewise.
5416 (__after_morecore_hook): Likewise.
5417 * malloc/arena.c (save_malloc_hook): Likewise.
5418 (save_free_hook): Likewise.
5419 * malloc/hooks.c (malloc_hook_ini): Likewise.
5420 (realloc_hook_ini): Likewise.
5421 (memalign_hook_ini): Likewise.
5422 * malloc/malloc.c (malloc_hook_ini): Likewise.
5423 (realloc_hook_ini): Likewise.
5424 (memalign_hook_ini): Likewise.
5425 (__free_hook): Likewise.
5426 (__malloc_hook): Likewise.
5427 (__realloc_hook): Likewise.
5428 (__memalign_hook): Likewise.
5429 (__libc_malloc): Likewise.
5430 (__libc_free): Likewise.
5431 (__libc_realloc): Likewise.
5432 (__libc_memalign): Likewise.
5433 (__libc_valloc): Likewise.
5434 (__libc_pvalloc): Likewise.
5435 (__libc_calloc): Likewise.
5436 (__posix_memalign): Likewise.
5437 * malloc/morecore.c (__sbrk): Likewise.
5438 (__default_morecore): Likewise.
5439
5cc45e10
JM
5440 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5441
dd54b864
JM
5442 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5443 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5444 __malloc_ptrdiff_t.
5445
1ba4f030
JM
5446 * malloc/malloc.h (__malloc_size_t): Remove macro.
5447 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5448 __malloc_size_t.
5449 (old_memalign_hook): Likewise.
5450 (old_realloc_hook): Likewise.
5451 (struct hdr): Likewise.
5452 (flood): Likewise.
5453 (mallochook): Likewise.
5454 (memalignhook): Likewise.
5455 (reallochook): Likewise.
5456 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5457 (tr_old_realloc_hook): Likewise.
5458 (tr_old_memalign_hook): Likewise.
5459 (tr_mallochook): Likewise.
5460 (tr_reallochook): Likewise.
5461 (tr_memalignhook): Likewise.
5462
edf66e57
AZ
54632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464
5465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5466 default_ldbl_pack and using as default implementation.
5467 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5468 implementation.
5469 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5470 redundant definition.
5471 (ldbl_insert_mantissa): Likewise.
5472 (ldbl_canonicalize): Likewise.
5473 (ldbl_nearbyint): Likewise.
5474 (ldbl_pack): Rename to ldbl_pack_ppc.
5475 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5476 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5477 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5478
6d9145d8
SP
54792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5480
5481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5482 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5484 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5487 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5488 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5489
4dd4e157
AJ
54902013-03-07 Andreas Jaeger <aj@suse.de>
5491
5492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5493 bits/mman-linux.h.
5494
adbb8027
SP
54952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5496
ce544b5b
SP
5497 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5498 Include mpa.h and declare __MPEXP.
5499 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5502 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5504 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5505 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5506
4cc149fd
SP
5507 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5508 (__slowpow): Use long double EXPL and LOGL functions to
5509 compute POW.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5512 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5514 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5515 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5516
e6ebd4a7
SP
5517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5518 intermediate variable to calculate exponent.
5519 (__sqr): Likewise.
5520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5521 Likewise.
5522 (__sqr): Likewise.
5523
82a9811d
SP
5524 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5525 [!NO__SQR]: Define __sqr.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5527 and NO__SQR. Remove all code except __mul and __sqr. Include
5528 sysdeps/ieee754/dbl-64/mpa.c.
5529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5530
adbb8027
SP
5531 [BZ #12723]
5532 * posix/Makefile (tests): Add tst-pathconf.
5533 * posix/tst-pathconf.c: New test case.
5534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5535 _PC_PIPE_BUF.
5536 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5537
39120df9
PF
55382013-03-06 Patsy Franklin <pfrankli@redhat.com>
5539
5540 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5541
67525cb8
AJ
55422013-03-06 Andreas Jaeger <aj@suse.de>
5543
664a9ce4
AJ
5544 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5545 definition via __MAP_ANONYMOUS.
5546
8e39047d
AJ
5547 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5548 it's not part of Linux headers.
5549
67525cb8
AJ
5550 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5551 (MAP_HUGE_MASK): Define.
5552
5553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5554 Define.
5555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5557 Define.
5558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5559 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5560 Define.
5561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5563 Define.
5564 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5565
5566 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5567 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5568 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5569 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5570 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5572
5573 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5574 Handle f2fs.
5575
5576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5577 Handle f2fs and efivarfs.
5578
5579 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5580 f2fs.
5581
5582 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5583 (EFIVARFS_MAGIC): Add.
5584 (F2FS_LINK_MAX): Add.
5585
e1b42695
PP
55862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5587
5588 * stdio-common/vfprintf.c: Replace __builtin_expect with
5589 __glibc_unlikely.
5590
2d67d91a
JM
55912013-03-06 Joseph Myers <joseph@codesourcery.com>
5592
5593 [BZ #13550]
5594 * sysdeps/generic/bp-sym.h: Remove file.
5595 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5597 <bp-sym.h> and <bp-asm.h>.
5598 (__longjmp): Don't use BP_SYM.
5599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5600 and <bp-asm.h>.
5601 (memcpy): Don't use BP_SYM.
5602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5603 <bp-sym.h> and <bp-asm.h>.
5604 (memcpy): Don't use BP_SYM.
5605 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5606 <bp-asm.h>.
5607 (memcpy): Don't use BP_SYM.
5608 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5609 <bp-asm.h>.
5610 (memset): Don't use BP_SYM.
5611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5613 (__bzero): Don't use BP_SYM.
5614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5617 <bp-sym.h> and <bp-asm.h>.
5618 (memcmp): Don't use BP_SYM. Remove comment about bounded
5619 pointers.
5620 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5621 <bp-sym.h> and <bp-asm.h>.
5622 (memcpy): Don't use BP_SYM.
5623 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5624 <bp-sym.h> and <bp-asm.h>.
5625 (memset): Don't use BP_SYM.
5626 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5627 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5628 (__bzero): Don't use BP_SYM.
5629 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5630 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5631 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5632 <bp-sym.h> and <bp-asm.h>.
5633 (strncmp): Don't use BP_SYM. Remove comment about bounded
5634 pointers.
5635 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5636 <bp-sym.h> and <bp-asm.h>.
5637 (memcpy): Don't use BP_SYM.
5638 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5639 <bp-sym.h> and <bp-asm.h>.
5640 (memset): Don't use BP_SYM.
5641 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5642 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5643 (__bzero): Don't use BP_SYM.
5644 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5645 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5647 <bp-sym.h> and <bp-asm.h>.
5648 (__memchr): Don't use BP_SYM.
5649 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5650 <bp-sym.h> and <bp-asm.h>.
5651 (memcmp): Don't use BP_SYM. Remove comment about bounded
5652 pointers.
5653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5654 <bp-sym.h> and <bp-asm.h>.
5655 (memcpy): Don't use BP_SYM.
5656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5657 <bp-sym.h> and <bp-asm.h>.
5658 (__mempcpy): Don't use BP_SYM.
5659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5660 <bp-sym.h> and <bp-asm.h>.
5661 (__memrchr): Don't use BP_SYM.
5662 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5663 <bp-sym.h> and <bp-asm.h>.
5664 (memset): Don't use BP_SYM.
5665 (__bzero): Likewise.
5666 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5667 <bp-sym.h> and <bp-asm.h>.
5668 (__rawmemchr): Don't use BP_SYM.
5669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5670 <bp-sym.h> and <bp-asm.h>.
5671 (__STRCMP): Don't use BP_SYM.
5672 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5673 <bp-sym.h> and <bp-asm.h>.
5674 (strchr): Don't use BP_SYM.
5675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5676 <bp-sym.h> and <bp-asm.h>.
5677 (__strchrnul): Don't use BP_SYM.
5678 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5679 <bp-sym.h> and <bp-asm.h>.
5680 (strlen): Don't use BP_SYM.
5681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5682 <bp-sym.h> and <bp-asm.h>.
5683 (strncmp): Don't use BP_SYM. Remove comment about bounded
5684 pointers.
5685 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5686 <bp-sym.h> and <bp-asm.h>.
5687 (__strnlen): Don't use BP_SYM.
5688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5689 <bp-sym.h> and <bp-asm.h>.
5690 (__GI__setjmp): Don't use BP_SYM.
5691 (_setjmp): Likewise.
5692 (__sigsetjmp): Likewise.
5693 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5694 (L(start_addresses)): Don't use BP_SYM.
5695 (_start): Likewise.
5696 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5697 <bp-asm.h>.
5698 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5699 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5700 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5701 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5702 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5703 <bp-asm.h>.
5704 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5705 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5706 about bounded pointers.
5707 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5708 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5709 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5710 <bp-asm.h>.
5711 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5712 about bounded pointers. Remove GKM FIXME comments.
5713 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5714 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5715 <bp-asm.h>.
5716 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5717 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5718 Remove GKM FIXME comments.
5719 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5720 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5721 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5722 <bp-asm.h>.
5723 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5724 about bounded pointers. Remove GKM FIXME comment.
5725 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5726 and <bp-asm.h>.
5727 (strncmp): Don't use BP_SYM. Remove comment about bounded
5728 pointers.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5730 <bp-sym.h> and <bp-asm.h>.
5731 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5733 <bp-sym.h> and <bp-asm.h>.
5734 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5735 comment.
5736
cdcf361f
PP
57372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5738
5739 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5740 call free(NULL).
5741
3c4a2b15
DM
57422013-03-05 David S. Miller <davem@davemloft.net>
5743
5744 * po/es.po: Update from translation team.
5745
cdcf361f 57462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5747
5748 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5749 <bits/mman-linux.h>.
5750 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5751 is fine.
5752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5753 <bits/mman-linux.h> to end of file.
5754 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5755 is fine.
5756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5757 <bits/mman-linux.h> to end of file.
5758 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5759 is fine.
5760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5761 <bits/mman-linux.h> to end of file.
5762
5763 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5764 (MCL_CURRENT, MCL_FUTURE): Define here.
5765
5f67c04f
AK
57662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5767
8a4473cc 5768 [BZ #15232]
5f67c04f
AK
5769 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5770 attribute_hidden.
5771 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5772
c3e94a95
AK
57732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5774
5775 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5776 fourth parameter needed for rt_sigprocmask syscall.
5777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5778 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5779 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5780 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5781 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5782 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5783
cfb6382a
JM
57842013-03-04 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #13550]
5787 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5788 comment about bounded pointers.
5789 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5790 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5791
539d8e01
AJ
57922013-03-04 Andreas Jaeger <aj@suse.de>
5793
5794 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5795 common definitions.
5796
5797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5798 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5799 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5800 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5803
2e167a70 58042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5805
5806 [BZ #15055]
5807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5808 __ieee754_sqrl instead of __sqrl.
5809
68508633
JM
58102013-03-01 Joseph Myers <joseph@codesourcery.com>
5811
5812 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5813 * sysdeps/powerpc/fpu_control.h: ... here.
5814 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5815 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5816 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5817 * sysdeps/powerpc/bits/mathinline.h: ... here.
5818
7775448e
RM
58192013-03-01 Roland McGrath <roland@hack.frob.com>
5820
5821 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5822 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5823 to just [NEED_DL_SYSINFO_DSO].
5824 * elf/dl-support.c: Likewise.
5825 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5826 * elf/rtld.c (dl_main): Likewise.
5827 * elf/setup-vdso.h (setup_vdso): Likewise.
5828 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5829 * sysdeps/unix/sysv/linux/dl-sysdep.c
5830 (_dl_discover_osversion): Likewise.
5831
4e9b5995
CD
58322013-03-01 Carlos O'Donell <carlos@redhat.com>
5833
5834 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5835 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5836
e23872c8
SP
58372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5838
e5c74c63
SP
5839 * NEWS: Mention libm performance improvements and non-x86 PI
5840 futex support.
5841
e23872c8
SP
5842 * csu/libc-start.c (__pthread_initialize_minimal): Change
5843 function arguments.
5844 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5845
b5510883
JM
58462013-02-28 Joseph Myers <joseph@codesourcery.com>
5847
5848 [BZ #13550]
5849 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5850 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5851 <bp-sym.h> and <bp-asm.h>.
5852 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5853 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5854 and <bp-asm.h>.
5855 (memcpy): Don't use BP_SYM.
5856 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5857 <bp-asm.h>.
5858 (__mpn_add_n): Don't use BP_SYM.
5859 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5860 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5861 and <bp-asm.h>.
5862 (__mpn_addmul_1): Don't use BP_SYM.
5863 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5864 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5865 <bp-sym.h>.
5866 (_setjmp): Don't use BP_SYM.
5867 (__novmx_setjmp): Likewise.
5868 (__GI__setjmp): Likewise.
5869 (__vmx_setjmp): Likewise.
5870 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5871 <bp-sym.h>.
5872 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5873 (__bzero): Don't use BP_SYM.
5874 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5875 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5876 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5877 <bp-sym.h> and <bp-asm.h>.
5878 (memcpy): Don't use BP_SYM.
5879 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5880 <bp-sym.h> and <bp-asm.h>.
5881 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5883 <bp-sym.h> and <bp-asm.h>.
5884 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5885 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5886 <bp-asm.h>.
5887 (__mpn_lshift): Don't use BP_SYM.
5888 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5889 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5890 <bp-asm.h>.
5891 (memset): Don't use BP_SYM.
5892 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5893 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5894 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5895 <bp-asm.h>.
5896 (__mpn_mul_1): Don't use BP_SYM.
5897 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5898 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5899 <bp-sym.h> and <bp-asm.h>.
5900 (memcmp): Don't use BP_SYM.
5901 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5902 <bp-sym.h> and <bp-asm.h>.
5903 (memcpy): Don't use BP_SYM.
5904 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5905 <bp-sym.h> and <bp-asm.h>.
5906 (memset): Don't use BP_SYM.
5907 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5908 <bp-sym.h> and <bp-asm.h>.
5909 (strncmp): Don't use BP_SYM.
5910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5911 <bp-sym.h> and <bp-asm.h>.
5912 (memcpy): Don't use BP_SYM.
5913 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5914 <bp-sym.h> and <bp-asm.h>.
5915 (memset): Don't use BP_SYM.
5916 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5917 <bp-sym.h> and <bp-asm.h>.
5918 (__memchr): Don't use BP_SYM.
5919 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5920 <bp-sym.h> and <bp-asm.h>.
5921 (memcmp): Don't use BP_SYM.
5922 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5923 <bp-sym.h> and <bp-asm.h>.
5924 (memcpy): Don't use BP_SYM.
5925 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5926 <bp-sym.h> and <bp-asm.h>.
5927 (__mempcpy): Don't use BP_SYM.
5928 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5929 <bp-sym.h> and <bp-asm.h>.
5930 (__memrchr): Don't use BP_SYM.
5931 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5932 <bp-sym.h> and <bp-asm.h>.
5933 (memset): Don't use BP_SYM.
5934 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (__rawmemchr): Don't use BP_SYM.
5937 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5938 <bp-sym.h> and <bp-asm.h>.
5939 (__STRCMP): Don't use BP_SYM.
5940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5941 <bp-sym.h> and <bp-asm.h>.
5942 (strchr): Don't use BP_SYM.
5943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5944 <bp-sym.h> and <bp-asm.h>.
5945 (__strchrnul): Don't use BP_SYM.
5946 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5947 <bp-sym.h> and <bp-asm.h>.
5948 (strlen): Don't use BP_SYM.
5949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5950 <bp-sym.h> and <bp-asm.h>.
5951 (strncmp): Don't use BP_SYM.
5952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5953 <bp-sym.h> and <bp-asm.h>.
5954 (__strnlen): Don't use BP_SYM.
5955 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5956 <bp-asm.h>.
5957 (__mpn_rshift): Don't use BP_SYM.
5958 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5959 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5960 <bp-sym.h> and <bp-asm.h>.
5961 (__sigsetjmp): Don't use BP_SYM.
5962 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5963 (L(start_addresses)): Don't use BP_SYM.
5964 (_start): Likewise.
5965 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5966 <bp-asm.h>.
5967 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5968 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5969 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5970 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5971 <bp-asm.h>.
5972 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5973 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5974 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5975 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5976 <bp-asm.h>.
5977 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5978 comments.
5979 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5980 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5981 <bp-asm.h>.
5982 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5983 FIXME comments.
5984 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5985 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5986 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5987 <bp-asm.h>.
5988 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5989 comment.
5990 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5991 and <bp-asm.h>.
5992 (strncmp): Don't use BP_SYM,
5993 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5994 <bp-asm.h>.
5995 (__mpn_sub_n): Don't use BP_SYM.
5996 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5997 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5998 and <bp-asm.h>.
5999 (__mpn_submul_1): Don't use BP_SYM.
6000 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6002 <bp-sym.h> and <bp-asm.h>.
6003 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6005 <bp-sym.h> and <bp-asm.h>.
6006 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6007 comment.
6008
8d19fe64
SP
60092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6010
6011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6012 Use ZK to minimize writes to Z.
6013 (sub_magnitudes): Simplify code a bit.
6014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6015 Use ZK to minimize writes to Z.
6016 (sub_magnitudes): Simplify code a bit.
6017
85bd816a
RM
60182013-02-27 Roland McGrath <roland@hack.frob.com>
6019
6020 * csu/gmon-start.c: Add special exception to license text.
6021
b5977bf2
RH
60222013-02-27 Richard Henderson <rth@redhat.com>
6023
6024 * scripts/config.guess: Update from config.git.
6025 * scripts/config.sub: Likewise.
6026
11d6e2f2
SP
60272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
09c14ed2
SP
6029 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6030
a688864e
SP
6031 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6032
6295157a
SP
6033 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6034
b8de2202
SP
6035 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6036
11d6e2f2
SP
6037 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6038
7e80ddb8
RM
60392013-02-26 Roland McGrath <roland@hack.frob.com>
6040
6041 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6042 [$(build-shared = yes].
7e80ddb8 6043
7da6d9ed
SP
60442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
45f05884
SP
6046 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6047 (__mul): Reduce iterations for calculating mantissa.
6048
2236d359
SP
6049 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6050 MPTWO.
6051 (__mpranred): Likewise.
6052
7da6d9ed
SP
6053 [BZ #15160]
6054 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6055 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6056
b7688c42
PE
60572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6058
6059 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6060 Define __attribute__.
6061
53a5c423
SP
60622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6063
6064 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6065 unused.
6066 * posix/regex_internal.h (__attribute): Remove.
6067 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6068 (re_string_context_at): Likewise.
6069 (bitset_not): Use __attribute__ and mark function as possibly
6070 unused.
6071 (bitset_merge): Likewise.
6072 (bitset_mask): Likewise.
6073 (re_string_char_size_at): Likewise.
6074 (re_string_wchar_at): Likewise.
6075 (re_string_elem_size_at): Likewise.
6076
60f5a8b5
SP
60772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6078
2a983a2e
SP
6079 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6080 code.
6081 (cc32): Likewise.
6082
e69804d1
SP
6083 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6084 (__acr): Likewise.
6085 (__cpy): Likewise.
6086 (norm): Likewise.
6087 (denorm): Likewise.
6088 (__dbl_mp): Likewise.
6089 (add_magnitudes): Likewise.
6090 (sub_magnitudes): Likewise.
6091 (__mul): Likewise.
6092 (__inv): Likewise.
6093
2f22a1e8
SP
6094 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6095 style.
6096
8930ddc7
SP
6097 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6098 style.
6099
dc60cb11
SP
6100 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6101 code.
6102
60f5a8b5
SP
6103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6104 up changes with default code.
6105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6106 Likewise.
6107
b4d1fd33
AM
61082013-02-24 Allan McRae <allan@archlinux.org>
6109
faf6f8bc
AM
6110 * manual/socket.texi (The Internet Namespace): Order menu items
6111 to match that in the file.
6112
b4d1fd33
AM
6113 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6114 node listing of the info page menu.
6115
2366713d
JM
61162013-02-21 Joseph Myers <joseph@codesourcery.com>
6117
6118 [BZ #13550]
6119 * sysdeps/i386/bp-asm.h: Remove file.
6120 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6121 (PARMS): Do not use macros from bp-asm.h.
6122 (S1): Likewise.
6123 (S2): Likewise.
6124 (SIZE): Likewise.
6125 (__mpn_add_n): Do not use BP_SYM
6126 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6127 "bp-asm.h".
6128 (PARMS): Do not use macros from bp-asm.h.
6129 (S1): Likewise.
6130 (SIZE): Likewise.
6131 (__mpn_addmul_1): Do not use BP_SYM
6132 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6133 "bp-asm.h".
6134 (PARMS): Do not use macros from bp-asm.h.
6135 (SIGMSK): Likewise.
6136 (_setjmp): Likewise. Do not use BP_SYM.
6137 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6138 "bp-asm.h".
6139 (PARMS): Do not use macros from bp-asm.h.
6140 (SIGMSK): Likewise.
6141 (setjmp): Likewise. Do not use BP_SYM.
6142 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6143 "bp-asm.h".
6144 (PARMS): Do not use macros from bp-asm.h.
6145 (__frexp): Do not use BP_SYM.
6146 (frexp): Likewise.
6147 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6148 "bp-asm.h".
6149 (PARMS): Do not use macros from bp-asm.h.
6150 (__frexpf): Do not use BP_SYM.
6151 (frexpf): Likewise.
6152 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6153 "bp-asm.h".
6154 (PARMS): Do not use macros from bp-asm.h.
6155 (__frexpl): Do not use BP_SYM.
6156 (frexpl): Likewise.
6157 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6158 "bp-asm.h".
6159 (PARMS): Do not use macros from bp-asm.h.
6160 (__remquo): Do not use BP_SYM.
6161 (remquo): Likewise.
6162 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6163 "bp-asm.h".
6164 (PARMS): Do not use macros from bp-asm.h.
6165 (__remquof): Do not use BP_SYM.
6166 (remquof): Likewise.
6167 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6168 "bp-asm.h".
6169 (PARMS): Do not use macros from bp-asm.h.
6170 (__remquol): Do not use BP_SYM.
6171 (remquol): Likewise.
6172 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6173 "bp-asm.h".
6174 (PARMS): Do not use macros from bp-asm.h.
6175 (DEST): Likewise.
6176 (SRC): Likewise.
6177 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6178 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6179 "bp-asm.h".
6180 (PARMS): Do not use macros from bp-asm.h.
6181 (strlen): Do not use BP_SYM.
6182 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6183 "bp-asm.h".
6184 (PARMS): Do not use macros from bp-asm.h.
6185 (S1): Likewise.
6186 (S2): Likewise.
6187 (SIZE): Likewise.
6188 (__mpn_add_n): Do not use BP_SYM.
6189 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6190 "bp-asm.h".
6191 (PARMS): Do not use macros from bp-asm.h.
6192 (S1): Likewise.
6193 (SIZE): Likewise.
6194 (__mpn_addmul_1): Do not use BP_SYM.
6195 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6196 weak_alias.
6197 (bzero): Likewise.
6198 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6199 "bp-asm.h".
6200 (PARMS): Do not use macros from bp-asm.h.
6201 (S): Likewise.
6202 (SIZE): Likewise.
6203 (__mpn_lshift): Do not use BP_SYM.
6204 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6205 "bp-asm.h".
6206 (PARMS): Do not use macros from bp-asm.h.
6207 (DEST): Likewise.
6208 (SRC): Likewise.
6209 (LEN): Likewise.
6210 (memcpy): Likewise. Do not use BP_SYM.
6211 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6212 libc_hidden_def and weak_alias.
6213 (mempcpy): Do not use BP_SYM in weak_alias.
6214 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6215 "bp-asm.h".
6216 (PARMS): Do not use macros from bp-asm.h.
6217 (DEST): Likewise.
6218 (LEN): Likewise.
6219 [!BZERO_P] (CHR): Likewise.
6220 (memset): Likewise. Do not use BP_SYM.
6221 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6222 "bp-asm.h".
6223 (PARMS): Do not use macros from bp-asm.h.
6224 (S1): Likewise.
6225 (SIZE): Likewise.
6226 (__mpn_mul_1): Do not use BP_SYM.
6227 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6228 "bp-asm.h".
6229 (PARMS): Do not use macros from bp-asm.h.
6230 (S): Likewise.
6231 (SIZE): Likewise.
6232 (__mpn_rshift): Do not use BP_SYM.
6233 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6234 "bp-asm.h".
6235 (PARMS): Do not use macros from bp-asm.h.
6236 (STR): Likewise.
6237 (CHR): Likewise.
6238 (strchr): Likewise. Do not use BP_SYM.
6239 (index): Do not use BP_SYM in weak_alias.
6240 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6241 "bp-asm.h".
6242 (PARMS): Do not use macros from bp-asm.h.
6243 (DEST): Likewise.
6244 (SRC): Likewise.
6245 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6246 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6247 "bp-asm.h".
6248 (PARMS): Do not use macros from bp-asm.h.
6249 (strlen): Do not use BP_SYM.
6250 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6251 "bp-asm.h".
6252 (PARMS): Do not use macros from bp-asm.h.
6253 (S1): Likewise.
6254 (S2): Likewise.
6255 (SIZE): Likewise.
6256 (__mpn_sub_n): Do not use BP_SYM.
6257 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6258 "bp-asm.h".
6259 (PARMS): Do not use macros from bp-asm.h.
6260 (S1): Likewise.
6261 (SIZE): Likewise.
6262 (__mpn_submul_1): Do not use BP_SYM.
6263 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6264 "bp-asm.h".
6265 (PARMS): Do not use macros from bp-asm.h.
6266 (S1): Likewise.
6267 (S2): Likewise.
6268 (SIZE): Likewise.
6269 (__mpn_add_n): Do not use BP_SYM.
6270 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6271 weak_alias.
6272 (bzero): Likewise.
6273 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6274 "bp-asm.h".
6275 (PARMS): Do not use macros from bp-asm.h.
6276 (BLK2): Likewise.
6277 (LEN): Likewise.
6278 (memcmp): Do not use BP_SYM.
6279 (bcmp): Do not use BP_SYM in weak_alias.
6280 * sysdeps/i386/i686/memcpy.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 (LEN): Likewise.
6286 (memcpy): Likewise. Do not use BP_SYM.
6287 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6288 "bp-asm.h".
6289 (PARMS): Do not use macros from bp-asm.h.
6290 (DEST): Likewise.
6291 (SRC): Likewise.
6292 (LEN): Likewise.
6293 (memmove): Likewise. Do not use BP_SYM.
6294 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6295 "bp-asm.h".
6296 (PARMS): Do not use macros from bp-asm.h.
6297 (DEST): Likewise.
6298 (SRC): Likewise.
6299 (LEN): Likewise.
6300 (__mempcpy): Likewise. Do not use BP_SYM.
6301 (mempcpy): Do not use BP_SYM in weak_alias.
6302 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6303 "bp-asm.h".
6304 (PARMS): Do not use macros from bp-asm.h.
6305 (DEST): Likewise.
6306 (LEN): Likewise.
6307 [!BZERO_P] (CHR): Likewise.
6308 (memset): Likewise. Do not use BP_SYM.
6309 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6310 "bp-asm.h".
6311 (PARMS): Do not use macros from bp-asm.h.
6312 (STR2): Likewise.
6313 (strcmp): Do not use BP_SYM.
6314 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6315 "bp-asm.h".
6316 (PARMS): Do not use macros from bp-asm.h.
6317 (STR): Likewise.
6318 (DELIM): Likewise.
6319 [USE_AS_STRTOK_R] (SAVE): Likewise.
6320 (FUNCTION): Likewise. Do not use BP_SYM.
6321 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6322 aliases.
6323 (strtok_r): Likewise.
6324 (__GI___strtok_r): Likewise.
6325 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6326 (PARMS): Do not use macros from bp-asm.h.
6327 (S): Likewise.
6328 (SIZE): Likewise.
6329 (__mpn_lshift): Do not use BP_SYM.
6330 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6331 (PARMS): Do not use macros from bp-asm.h.
6332 (STR): Likewise.
6333 (CHR): Likewise.
6334 (__memchr): Do not use BP_SYM.
6335 (memchr): Do not use BP_SYM in weak_alias.
6336 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6337 (PARMS): Do not use macros from bp-asm.h.
6338 (BLK2): Likewise.
6339 (LEN): Likewise.
6340 (memcmp): Do not use BP_SYM.
6341 (bcmp): Do not use BP_SYM in weak_alias.
6342 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (S1): Likewise.
6345 (SIZE): Likewise.
6346 (__mpn_mul_1): Do not use BP_SYM.
6347 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6348 "bp-asm.h".
6349 (PARMS): Do not use macros from bp-asm.h.
6350 (STR): Likewise.
6351 (CHR): Likewise.
6352 (__rawmemchr): Do not use BP_SYM.
6353 (rawmemchr): Do not use BP_SYM in weak_alias.
6354 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6355 (PARMS): Do not use macros from bp-asm.h.
6356 (S): Likewise.
6357 (SIZE): Likewise.
6358 (__mpn_rshift): Do not use BP_SYM.
6359 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6360 (PARMS): Do not use macros from bp-asm.h.
6361 (SIGMSK): Likewise.
6362 (__sigsetjmp): Likewise. Do not use BP_SYM.
6363 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6364 (_start): Do not use BP_SYM.
6365 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6366 (PARMS): Do not use macros from bp-asm.h.
6367 (DEST): Likewise.
6368 (SRC): Likewise.
6369 (__stpcpy): Likewise. Do not use BP_SYM.
6370 (stpcpy): Do not use BP_SYM in weak_alias.
6371 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6372 "bp-asm.h".
6373 (PARMS): Do not use macros from bp-asm.h.
6374 (DEST): Likewise.
6375 (SRC): Likewise.
6376 (LEN): Likewise.
6377 (__stpncpy): Likewise. Do not use BP_SYM.
6378 (stpncpy): Do not use BP_SYM in weak_alias.
6379 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6380 (PARMS): Do not use macros from bp-asm.h.
6381 (STR): Likewise.
6382 (CHR): Likewise.
6383 (strchr): Likewise. Do not use BP_SYM.
6384 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6385 "bp-asm.h".
6386 (PARMS): Do not use macros from bp-asm.h.
6387 (STR): Likewise.
6388 (CHR): Likewise.
6389 (__strchrnul): Likewise. Do not use BP_SYM.
6390 (strchrnul): Do not use BP_SYM in weak_alias.
6391 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6392 "bp-asm.h".
6393 (PARMS): Do not use macros from bp-asm.h.
6394 (STOP): Likewise.
6395 (strcspn): Do not use BP_SYM.
6396 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6397 "bp-asm.h".
6398 (PARMS): Do not use macros from bp-asm.h.
6399 (STR): Likewise.
6400 (STOP): Likewise.
6401 (strpbrk): Likewise. Do not use BP_SYM.
6402 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6403 "bp-asm.h".
6404 (PARMS): Do not use macros from bp-asm.h.
6405 (STR): Likewise.
6406 (CHR): Likewise.
6407 (strrchr): Likewise. Do not use BP_SYM.
6408 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6409 (PARMS): Do not use macros from bp-asm.h.
6410 (SKIP): Likewise.
6411 (strspn): Do not use BP_SYM.
6412 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6413 (PARMS): Do not use macros from bp-asm.h.
6414 (STR): Likewise.
6415 (DELIM): Likewise.
6416 (SAVE): Likewise.
6417 (FUNCTION): Likewise. Do not use BP_SYM.
6418 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6419 aliases.
6420 (strtok_r): Likewise.
6421 (__GI___strtok_r): Likewise.
6422 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6423 (PARMS): Do not use macros from bp-asm.h.
6424 (S1): Likewise.
6425 (S2): Likewise.
6426 (SIZE): Likewise.
6427 (__mpn_sub_n): Do not use BP_SYM.
6428 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6429 "bp-asm.h".
6430 (PARMS): Do not use macros from bp-asm.h.
6431 (S1): Likewise.
6432 (SIZE): Likewise.
6433 (__mpn_submul_1): Do not use BP_SYM.
6434 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6435 <bp-sym.h>.
6436 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6437 and <bp-asm.h>.
6438 (PARMS): Do not use macros from bp-asm.h.
6439 (FLAGS): Likewise.
6440 (PTID): Likewise.
6441 (TLS): Likewise.
6442 (CTID): Likewise.
6443 (__clone): Do not use BP_SYM.
6444 (clone): Do not use BP_SYM in weak_alias.
6445 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6446 and <bp-asm.h>.
6447 (PARMS): Do not use macros from bp-asm.h.
6448 (LEN): Likewise.
6449 (__mmap64): Do not use BP_SYM.
6450 (mmap64): Do not use BP_SYM in weak_alias.
6451 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6452 <bp-sym.h> and <bp-asm.h>.
6453 (PARMS): Do not use macros from bp-asm.h.
6454 (__posix_fadvise64_l64): Do not use BP_SYM.
6455 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6456 (PARMS): Do not use macros from bp-asm.h.
6457 (NSOPS): Likewise.
6458 (semtimedop): Do not use BP_SYM.
6459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6460 and <bp-asm.h>.
6461
582a3cff
AM
64622013-02-21 Allan McRae <allan@archlinux.org>
6463
6464 * manual/message.texi (Charset conversion in gettext):
6465 Move @end statement to beginning of line.
6466
bab8a695
SP
64672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6468
80945231
SP
6469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6470 static.
6471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6472 Likewise.
6473
bab8a695
SP
6474 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6475 (denorm): Likewise.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6478
e21d7aa7
AK
64792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6480
6481 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6482 tail-call to the resolved function if pltexit isn't needed.
6483
4c7a4263
SP
64842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6485
6486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6487 or Y being zero as being unlikely.
6488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6489 Likewise.
6490
41f49342
CD
64912013-02-20 Carlos O'Donell <carlos@redhat.com>
6492
6493 * manual/nss.texi (System Databases and Name Service Switch):
6494 Remove frobnicate @pxref.
6495
50022a93
TS
64962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6497
6498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6499 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6500
08cbd996
PM
65012013-02-20 Petr Machata <pmachata@redhat.com>
6502
6503 * elf/elf.h (R_ARM_TARGET1): New macro.
6504 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6505 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6506 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6507 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6508 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6509 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6510 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6511 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6512 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6513 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6514 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6515 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6516 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6517 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6518 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6519 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6520 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6521 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6522 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6523 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6524 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6525 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6526 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6527 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6528 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6529 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6530 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6531 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6532 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6533 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6534 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6535 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6536 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6537 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6538 (R_ARM_THM_GOT_BREL12): Likewise.
6539 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6540 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6541 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6542 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6543 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6544 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6545 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6546 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6547 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6548
c7b275d6
TS
65492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6550
6551 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6552 __attribute_used__ to __attribute__ ((unused)).
6553
20cd7fb3
SP
65542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
6556 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6557 powerpc mpa.c.
6558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6559 comment formatting.
6560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6561
92945b52
JM
65622013-02-19 Joseph Myers <joseph@codesourcery.com>
6563
6564 [BZ #13550]
6565 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6566 Remove macro.
6567 (ENTER): Remove both macro definitions.
6568 (LEAVE): Likewise.
6569 (CHECK_BOUNDS_LOW): Likewise.
6570 (CHECK_BOUNDS_HIGH): Likewise.
6571 (CHECK_BOUNDS_BOTH): Likewise.
6572 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6573 (RETURN_BOUNDED_POINTER): Likewise.
6574 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6575 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6576 (POP_ERRNO_LOCATION_RETURN): Likewise.
6577 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6578 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6579 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6580 macros.
6581 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6582 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6583 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6584 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6585 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6586 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6587 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6588 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6589 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6590 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6591 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6592 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6593 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6594 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6595 removed macros.
6596 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6597 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6598 macros.
6599 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6600 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6601 * sysdeps/i386/i586/memset.S (memset): Likewise.
6602 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6603 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6604 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6605 macros.
6606 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6607 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6608 Change uses of L(2) to L(out).
6609 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6610 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6611 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6613 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6614 removed macros.
6615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6616 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6617 macros.
6618 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6619 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6620 (RETURN): Do not use macro LEAVE.
6621 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6622 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6623 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6624 * sysdeps/i386/i686/memset.S (memset): Likewise.
6625 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6626 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6627 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6628 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6629 Likewise.
6630 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6631 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6632 L(1_2) and L(1_3) into L(1).
6633 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6634 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6635 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6636 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6637 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6638 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6639 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6640 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6641 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6642 macros.
6643 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6644 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6645 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6646 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6647 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6648 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6649 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6650 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6651 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6652 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6653 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6654 * sysdeps/i386/strspn.S (strspn): Likewise.
6655 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6656 conditional code.
6657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6658 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6659 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6660 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6661 L(1_3) into L(1_1).
6662 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6663 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6664 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6665 macros.
6666 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6667
2389741a
JJ
66682013-02-19 Jakub Jelinek <jakub@redhat.com>
6669
6670 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6671 macro.
6672
2016b3cd
SP
66732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6674
e4f22324
SP
6675 * math/atest-exp.c (exp_mpn): Remove ROUND.
6676 * math/atest-exp2.c (exp_mpn): Likewise.
6677 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6678
2016b3cd
SP
6679 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6680 * stdlib/tst-tls-atexit-lib.c: Likewise.
6681 * stdlib/tst-tls-atexit.c: Likewise.
6682
4be9b544
MF
66832013-02-18 Mike Frysinger <vapier@gentoo.org>
6684
6685 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6686 and __attribute_alloc_size__.
6687
2f62b9ee
MF
66882013-02-18 Mike Frysinger <vapier@gentoo.org>
6689
6690 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6691 __attribute_alloc_size__.
6692 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6693 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6694
6ff444c4
MF
66952013-02-18 Mike Frysinger <vapier@gentoo.org>
6696
6697 * include/programs/xmalloc.h: New file.
6698 * catgets/gencat.c: Include it.
6699 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6700 * elf/pldd.c: Likewise.
6701 * iconv/iconv_charmap.c: Likewise.
6702 * iconv/iconvconfig.c: Likewise.
6703 * iconv/strtab.c: Likewise.
6704 * locale/programs/locale.c: Likewise.
6705 * locale/programs/localedef.h: Likewise.
6706 * locale/programs/simple-hash.c: Likewise.
6707 * nscd/nscd.h: Likewise.
6708 * nss/makedb.c: Likewise.
6709 * sysdeps/generic/ldconfig.h: Likewise.
6710
be179c8a
SP
67112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6712
ba384f6e
SP
6713 * Versions.def: Add GLIBC_2.18.
6714 * include/link.h (struct link_map): New member l_tls_dtor_count.
6715 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6716 (__call_tls_dtors): Likewise.
6717 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6718 __cxa_thread_atexit_impl.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6720 Likewise.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6722 Likewise.
6723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6724 Likewise.
6725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6726 Likewise.
6727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6729 Likewise.
6730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6731 Likewise.
6732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6734 Likewise.
6735 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6736 (tests): Add test case tst-tls-atexit.
6737 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6738 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6739 (GLIBC_PRIVATE): Add __call_tls_dtors.
6740 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6741 for libstdc++.
6742 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6743 * stdlib/tst-tls-atexit.c: New test case.
6744 * stdlib/tst-tls-atexit-lib.c: New test case.
6745
ffaa74cf 6746 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6747
be179c8a
SP
6748 * elf/Versions (ld): Add _dl_find_dso_for_object.
6749 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6750 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6751 (dl_open_worker): Use _dl_find_dso_for_object.
6752 * elf/dl-sym.c (do_sym): Likewise.
6753 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6754
f78b5caa
AK
67552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6756
6757 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6758 Syntactic changes only.
6759 (_dl_runtime_profile): Do a tail-call to the resolved function.
6760
29691210
JM
67612013-02-17 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #13550]
6764 * sysdeps/x86_64/bp-asm.h: Remove file.
6765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6766 <bp-sym.h> and <bp-asm.h>.
6767 (__clone): Do not use BP_SYM.
6768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6769 <bp-sym.h> and <bp-asm.h>.
6770 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6771 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6772 "bp-asm.h".
6773 (_setjmp): Do not use BP_SYM.
6774 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6775 "bp-asm.h".
6776 (setjmp): Do not use BP_SYM.
6777 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6778 libc_hidden_def.
6779 (mempcpy): Do not use BP_SYM in weak_alias.
6780 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6781 "bp-asm.h".
6782 (strchr): Do not use BP_SYM.
6783 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6784 "bp-asm.h".
6785 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6786 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6787 (_start): Do not use BP_SYM.
6788 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6789 "bp-asm.h".
6790 (strcat): Do not use BP_SYM.
6791 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6792 "bp-asm.h".
6793 (STRCMP): Do not use BP_SYM.
6794 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6795 "bp-asm.h".
6796 (STRCPY): Do not use BP_SYM.
6797 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6798 "bp-asm.h".
6799 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6800 "bp-asm.h".
6801 (FUNCTION): Do not use BP_SYM.
6802 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6803 weak_alias.
6804 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6805
f238fd19
AJ
68062013-02-17 Andreas Jaeger <aj@suse.de>
6807
6808 * time/Versions: Sort entries.
6809 * string/Versions: Likewise.
6810 * resolv/Versions: Likewise.
6811 * posix/Versions: Likewise.
6812 * iconv/Versions: Likewise.
6813 * elf/Versions: Likewise.
6814 * wcsmbs/Versions: Likewise.
6815
bd07f23c 68162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6817
22af19f9
SP
6818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6819 loop termination condition.
6820
4709fe76
SP
6821 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6822 variable to calculate EZ.
6823 (__sqr): Likewise.
2d0e0f29
SP
6824
6825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6826 the lower precision input.
6827
daaa7713
JM
68282013-02-15 Joseph Myers <joseph@codesourcery.com>
6829
6830 [BZ #13550]
6831 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6832 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6833 (run-via-rtld-prefix): Do not handle %-bp tests.
6834 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6835 (all-object-suffixes): Remove .ob.
6836 (bppfx): Remove variable.
6837 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6838 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6839 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6840 [$(build-bounded) = yes] (libtype.ob): Likewise.
6841 * Makerules (elide-routines.ob): Remove variable.
6842 (do-tests-clean): Do not handle *-bp.out.
6843 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6844 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6845 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6846 (tests): Do not include $(tests-bp.out).
6847 (xtests): Do not include $(xtests-bp.out).
6848 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6849 [$(build-bounded) = yes] ($(addprefix
6850 $(objpfx),$(binaries-bounded))): Remove rule.
6851 ($(objpfx)%-bp.out): Remove rule.
6852 * config.make.in (build-bounded): Remove variable.
6853 * crypt/Makefile [$(build-bounded) = yes]
6854 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6855 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6856 append to variable.
6857 [$(build-bounded) = yes] (install-lib): Likewise.
6858 [$(build-bounded) = yes] (generated): Likewise.
6859 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6860 Remove rule.
6861 * intl/Makefile [$(build-bounded) = yes]
6862 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6863 * math/Makefile [$(build-bounded) = yes]
6864 ($(tests:%=$(objpfx)%-bp): Likewise.
6865 * misc/Makefile [$(build-bounded) = yes]
6866 ($(objpfx)tst-tsearch-bp): Likewise.
6867 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6868 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6869 Remove dependency.
6870 * string/Makefile (o-objects.ob): Remove variable.
6871 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6872 (CFLAGS-.ob): Remove variable.
6873 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6874 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6875 both definitions of variable.
6876 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6877 (ASFLAGS-.ob): Remove variable.
6878
e97ed6dd
JM
68792013-02-14 Joseph Myers <joseph@codesourcery.com>
6880
2bdd4ca6
JM
6881 [BZ #13550]
6882 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6883 Remove __BOUNDED_POINTERS__ from condition.
6884 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6885 * string/bits/string2.h [!__NO_STRING_INLINES &&
6886 !__BOUNDED_POINTERS__]: Likewise.
6887 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6888 Likewise.
6889 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6890 Remove conditional code.
6891 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6892 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6893 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6894 condition.
6895
e97ed6dd
JM
6896 [BZ #13550]
6897 * csu/libc-start.c: Do not include <bp-sym.h>.
6898 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6899 * elf/dl-open.c: Do not include <bp-sym.h>.
6900 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6901 * math/fegetenv.c: Do not include <bp-sym.h>.
6902 (fegetenv): Do not use BP_SYM in versioned symbols.
6903 * nptl/sysdeps/pthread/bits/libc-lockP.h
6904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6905 <bp-sym.h>.
6906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6907 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6909 (__pthread_mutex_destroy): Likewise.
6910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6911 (__pthread_mutex_lock): Likewise.
6912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6913 (__pthread_mutex_trylock): Likewise.
6914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6915 (__pthread_mutex_unlock): Likewise.
6916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6917 (__pthread_mutexattr_init): Likewise.
6918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6919 (__pthread_mutexattr_destroy): Likewise.
6920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6921 (__pthread_mutexattr_settype): Likewise.
6922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6923 (__pthread_rwlock_init): Likewise.
6924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6925 (__pthread_rwlock_destroy): Likewise.
6926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6927 (__pthread_rwlock_rdlock): Likewise.
6928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6929 (__pthread_rwlock_tryrdlock): Likewise.
6930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6931 (__pthread_rwlock_wrlock): Likewise.
6932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6933 (__pthread_rwlock_trywrlock): Likewise.
6934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6935 (__pthread_rwlock_unlock): Likewise.
6936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6937 (__pthread_key_create): Likewise.
6938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6939 (__pthread_setspecific): Likewise.
6940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6941 (__pthread_getspecific): Likewise.
6942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6943 Likewise.
6944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6945 (_pthread_cleanup_push_defer): Likewise.
6946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6947 (_pthread_cleanup_pop_restore): Likewise.
6948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6949 (pthread_setcancelstate): Likewise.
6950 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6951 <bp-sym.h>.
6952 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6953 (memchr): Do not use BP_SYM in weak_alias.
6954 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6955 (fegetenv): Do not use BP_SYM in versioned symbols.
6956 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6957 (fesetenv): Do not use BP_SYM in versioned symbols.
6958 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6959 (feupdateenv): Do not use BP_SYM in versioned symbols.
6960 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6961 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6962 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6963 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6964 (open64): Do not use BP_SYM in weak_alias.
6965 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6966 (fegetenv): Do not use BP_SYM in versioned symbols.
6967 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6968 (fesetenv): Do not use BP_SYM in versioned symbols.
6969 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6970 (feupdateenv): Do not use BP_SYM in versioned symbols.
6971 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6972 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6973 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6974 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6975 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6976 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6978 <bp-sym.h>.
6979 (__libc_start_main): Do not use BP_SYM.
6980
d6752ccd
SP
69812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6982
cb57ce60
SP
6983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6984 redundant return line.
6985 (norm): Likewise.
6986 (denorm): Likewise.
6987 (dbl_mp): Likewise.
6988 (sub_magnitudes): Likewise.
6989 (__add): Likewise.
6990 (__sub): Likewise.
6991 (__mul): Likewise.
6992 (__inv): Likewise.
6993 (__dvd): Likewise.
6994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6995 (norm): Likewise.
6996 (denorm): Likewise.
6997 (dbl_mp): Likewise.
6998 (sub_magnitudes): Likewise.
6999 (__add): Likewise.
7000 (__sub): Likewise.
7001 (__mul): Likewise.
7002 (__inv): Likewise.
7003 (__dvd): Likewise.
7004
f414520d
SP
7005 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7006 instead of __mul.
7007 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7008 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7009 (cc32): Likewise.
7010
d6752ccd
SP
7011 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7012 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7014 of __mul for squares.
7015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7016 function
7017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7018 Likewise.
7019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7021
70d9946a
JM
70222013-02-13 Joseph Myers <joseph@codesourcery.com>
7023
7024 [BZ #13550]
7025 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7026 code.
7027 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7028 prototype or function definition. Rename ubp_* variables and
7029 parameters. Remove argv definitions conditional on
7030 [__BOUNDED_POINTERS__].
7031 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7032 * elf/dl-runtime.c (_dl_fixup): Likewise.
7033 * include/set-hooks.h (RUN_HOOK): Likewise.
7034 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7035 definition.
7036 * string/strcpy.c (strcpy): Do not use __unbounded.
7037 * sysdeps/generic/frame.h (struct layout): Likewise.
7038 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7039 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7040 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7041 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7042 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7043 (__backtrace): Likewise.
7044 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7045 use __ptrvalue.
7046 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7047 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7048 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7049 Likewise.
7050 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7051 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7052 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7053 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7054 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7055 Do not use __unbounded.
7056 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7057 Rename __unboundedrlimits parameter to rlimits in prototype.
7058 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7059 Do not use __unbounded.
7060 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7061 not use __ptrvalue.
7062 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7063 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7064 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7065 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7066 __ptrvalue or __unbounded.
7067 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7068 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7069 use __unbounded.
7070 (__new_msgctl): Do not use __ptrvalue.
7071 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7072 __unbounded.
7073 (__libc_msgrcv): Do not use __ptrvalue.
7074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7075 startup_info): Do not use __unbounded.
7076 (__libc_start_main): Likewise. Rename ubp_* variables and
7077 parameters. Remove argv definitions conditional on
7078 [__BOUNDED_POINTERS__].
7079 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7080 __ptrvalue.
7081 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7082 use __unbounded.
7083 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7084 or __ptrvalue.
7085 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7086 use __unbounded.
7087 (__new_shmctl): Do not use __ptrvalue.
7088 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7089 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7090 Likewise.
7091 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7092 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7093 (__libc_sigaction): Likewise.
7094 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7095 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7096 Likewise.
7097 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7098
cc7834d6
OB
70992013-02-13 Ondřej Bílka <neleai@seznam.cz>
7100
ffb1ec7b 7101 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7102
7103 * string/mempcpy.c: Implement by calling memcpy.
7104
bdf02814
SP
71052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7106
c2af38aa
SP
7107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7108
4e92d59e
SP
7109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7110 evaluation.
7111
909279a5
SP
7112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7113 values in the mantissa.
7114
bdf02814
SP
7115 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7116 minimize writes to Z.
7117 (sub_magnitudes): Simplify code a bit.
7118
cd525923
RM
71192013-02-12 Roland McGrath <roland@hack.frob.com>
7120
7121 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7122 from the message. The linker prefixes all warnings with that already.
7123
7e2f0d2d
AS
71242013-02-12 Andreas Schwab <schwab@suse.de>
7125
a445af0b
AS
7126 [BZ #15078]
7127 * posix/regexec.c (extend_buffers): Add parameter min_len.
7128 (check_matching): Pass minimum needed length.
7129 (clean_state_log_if_needed): Likewise.
7130 (get_subexp): Likewise.
7131 * posix/Makefile (tests): Add bug-regex34.
7132 (bug-regex34-ENV): Define.
7133 * posix/bug-regex34.c: New file.
7134
7e2f0d2d
AS
7135 [BZ #11561]
7136 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7137 elements compare against the byte sequence of it, not its name.
7138 * posix/Makefile (tests): Add bug-regex35.
7139 (bug-regex35-ENV): Define.
7140 * posix/bug-regex35.c: New file.
7141
a175b684
TV
71422013-02-11 Tom de Vries <tom@codesourcery.com>
7143
7144 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7145 comment.
7146 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7147 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7148 (CHECK_EOL): Add undef.
7149
310998fe 71502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7151
7152 * bits/stdlib-bsearch.h: New file.
7153 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7154 * stdlib/stdlib.h: Likewise.
41eda41d 7155
8ded91fb
RM
71562013-02-11 Roland McGrath <roland@hack.frob.com>
7157
7158 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7159 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7160 declaration.
7161 * manual/search.texi (Array Search Function): Add missing const in
7162 lfind prototype.
7163 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7164 declaration to use rlim_t.
7165 (Basic Scheduling Functions): Remove erroneous const from
7166 sched_getparam prototype. Remove erroneous * from
7167 sched_get_priority_max and sched_get_priority_min prototypes.
7168 (Resource Usage): Fix summary @comment on vtimes to refer to
7169 sys/vtimes.h rather than vtimes.h.
7170 Add missing *s in vtimes prototype.
7171 (Limits on Resources): Fix ulimit prototype to return long int.
7172 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7173 prototypes to use long int rather than double.
7174 (BSD Random): Fix initstate and setstate to use char *, not void *.
7175 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7176 prototype to make second argument 'struct aiocb64 *const[]'.
7177 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7178 (Status of AIO Operations): Remove erroneous const in aio_return and
7179 aio_return64 prototypes.
7180 (Synchronizing I/O): Fix sync prototype to return void.
7181 * manual/startup.texi (Suboptions): Remove an erroneous const in
7182 getsubopt prototype.
7183 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7184 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7185 use size_t rather than int.
7186 (Scanning All Users): Likewise for getpwent_r.
7187 (Setting Groups): Add missing const to setgroups prototype.
7188 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7189 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7190 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7191 'const void *' rather than 'const char *'.
7192 (Host Address Functions): Likewise for inet_ntop.
7193 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7194 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7195 ssize_t for return value.
7196 (Sending Data): Likewise for send, sendto, sendmsg.
7197 (Socket Option Functions): Add a missing const in setsockopt prototype.
7198 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7199 use wchar_t for the argument.
7200 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7201 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7202 take no arguments.
7203 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7204 double/float/long double for second argument.
7205 Fix return types of significand, significandf, significandl.
7206 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7207 argument in fchmod prototype.
7208 (File Owner): Use uid_t and gid_t in fchown prototype.
7209 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7210 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7211 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7212 use 'const struct dirent **' as argument types to CMP function pointer
7213 argument.
7214 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7215 (File Times): Fix summary magic @comment for struct utimbuf and utime
7216 to refer to utime.h, not time.h.
7217 * manual/string.texi (Argz Functions): Add missing const in
7218 argz_extract and argz_next prototypes.
7219 (Finding Tokens in a String): Likewise for basename.
7220 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7221 (Copying and Concatenation): Fix typo in wmemmove prototype.
7222 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7223 (Signal Stack): Remove erroneous const in sigstack prototype.
7224 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7225 prototype.
7226 (Simple Calendar Time): Likewise for stime.
7227 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7228 prototype.
7229 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7230 say sys/sysctl.h instead.
7231 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7232 and vsyslog prototypes.
7233
fe77fe6d
TV
72342013-02-11 Tom de Vries <tom@codesourcery.com>
7235
7236 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7237 Remove.
7238
3a09b620
RM
72392013-02-11 Roland McGrath <roland@hack.frob.com>
7240
7241 * misc/sys/mman.h: Fix typo in mremap comment.
7242
550a0b89
RM
72432013-02-08 Roland McGrath <roland@hack.frob.com>
7244
7245 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7246 the '\0' terminator.
7247
a2da1673
JM
72482013-02-08 Joseph Myers <joseph@codesourcery.com>
7249
7250 [BZ #13550]
7251 * debug/segfault.c: Don't include <bp-checks.h>.
7252 * sysdeps/generic/bp-checks.h: Remove file.
7253 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7254 (__GETDENTS): Don't use CHECK_N.
7255 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7256 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7257 (__getgroups): Don't use CHECK_N.
7258 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7259 (setgroups): Don't use CHECK_N.
7260 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7261 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7262 (__libc_msgrcv): Don't use CHECK_N.
7263 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7264 (__libc_msgsnd): Don't use CHECK_N.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7266 <bp-checks.h>.
7267 (__libc_pread): Don't use CHECK_N.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7269 include <bp-checks.h>.
7270 (__libc_pread64): Don't use CHECK_N.
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7272 include <bp-checks.h>.
7273 (__libc_pwrite): Don't use CHECK_N.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7275 include <bp-checks.h>.
7276 (__libc_pwrite64): Don't use CHECK_N.
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7278 <bp-checks.h>.
7279 (__libc_pread): Don't use CHECK_N.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7281 include <bp-checks.h>.
7282 (__libc_pread64): Don't use CHECK_N.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7284 include <bp-checks.h>.
7285 (__libc_pwrite): Don't use CHECK_N.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7287 include <bp-checks.h>.
7288 (__libc_pwrite64): Don't use CHECK_N.
7289 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7290 (do_pread): Don't use CHECK_N.
7291 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7292 (do_pread64): Don't use CHECK_N.
7293 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7294 (do_pwrite): Don't use CHECK_N.
7295 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7296 (do_pwrite64): Don't use CHECK_N.
7297 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7298 (__libc_readv): Don't use CHECK_N.
7299 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7300 (semop): Don't use CHECK_N.
7301 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7302 <bp-checks.h>.
7303 (semtimedop): Don't use CHECK_N.
7304 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7305 (__libc_pread): Don't use CHECK_N.
7306 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7307 <bp-checks.h>.
7308 (__libc_pread64): Don't use CHECK_N.
7309 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7310 <bp-checks.h>.
7311 (__libc_pwrite): Don't use CHECK_N.
7312 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7313 <bp-checks.h>.
7314 (__libc_pwrite64): Don't use CHECK_N.
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7316 <bp-checks.h>.
7317 (__libc_msgrcv): Don't use CHECK_N.
7318 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7319 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7320 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7321 (__libc_writev): Don't use CHECK_N.
7322
b84660a8
RM
73232013-02-08 Roland McGrath <roland@hack.frob.com>
7324
7f3e75f8
RM
7325 * string/strcpy.c: Removed unused variable.
7326
b84660a8
RM
7327 * Makeconfig (+sysdep-includes): Define with := rather than =.
7328 Use an existing include/ subdir of each sysdeps dir before it.
7329
471514d3
CD
73302013-02-08 Carlos O'Donell <carlos@redhat.com>
7331
7332 * nscd/connection.c (register_traced_file): Comment function.
7333 [HAVE_INOTIFY] (union __inev): Define.
7334 [HAVE_INOTIFY] (inotify_check_files): New function.
7335 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7336 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7337 clear_db_cache.
7338 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7339
b2d3c3be
CD
73402013-02-08 Carlos O'Donell <carlos@redhat.com>
7341
7342 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7343 loaded if not already and that a failure is permanent.
7344
b39949d2
CD
73452013-02-08 Carlos O'Donell <carlos@redhat.com>
7346
ddacd1db 7347 [BZ #15006]
b39949d2
CD
7348 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7349 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7350
b2c9eff4
JM
73512013-02-08 Joseph Myers <joseph@codesourcery.com>
7352
f3aae3f3
JM
7353 [BZ #13550]
7354 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7355 (CHECK_1_NULL_OK): Likewise.
7356 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7357 (__fxstat): Do not use CHECK_1.
7358 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7359 <bp-checks.h>.
7360 (___fxstat64): Do not use CHECK_1.
7361 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7362 <bp-checks.h>.
7363 (__fxstatat): Do not use CHECK_1.
7364 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7365 <bp-checks.h>.
7366 (__fxstatat64): Do not use CHECK_1.
7367 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7368 <bp-checks.h>.
7369 (__fxstat): Do not use CHECK_1.
7370 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7371 <bp-checks.h>.
7372 (__fxstatat): Do not use CHECK_1.
7373 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7374 <bp-checks.h>.
7375 (__getresgid): Do not use CHECK_1.
7376 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7377 <bp-checks.h>.
7378 (__getresuid): Do not use CHECK_1.
7379 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7380 <bp-checks.h>.
7381 (__lxstat): Do not use CHECK_1.
7382 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7383 <bp-checks.h>.
7384 (__old_msgctl): Do not use CHECK_1.
7385 (__new_msgctl): Likewise.
7386 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7387 <bp-checks.h>.
7388 (__new_setrlimit): Do not use CHECK_1.
7389 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7390 <bp-checks.h>.
7391 (__old_shmctl): Do not use CHECK_1.
7392 (__new_shmctl): Likewise.
7393 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7394 <bp-checks.h>.
7395 (__xstat): Do not use CHECK_1.
7396 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7397 (__lxstat): Do not use CHECK_1.
7398 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7399 <bp-checks.h>.
7400 (___lxstat64): Do not use CHECK_1.
7401 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7402 (__old_msgctl): Do not use CHECK_1.
7403 (__new_msgctl): Likewise.
7404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7405 <bp-checks.h>.
7406 (__gettimeofday): Do not use CHECK_1.
7407 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7408 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7409 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7410 <bp-checks.h>.
7411 (__gettimeofday): Do not use CHECK_1.
7412 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7413 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7414 (__new_shmctl): Do not use CHECK_1.
7415 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7416 <bp-checks.h>.
7417 (do_sigtimedwait): Do not use CHECK_1.
7418 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7419 <bp-checks.h>.
7420 (do_sigwaitinfo): Do not use CHECK_1.
7421 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7422 <bp-checks.h>.
7423 (msgctl): Do not use CHECK_1.
7424 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7425 <bp-checks.h>.
7426 (shmctl): Do not use CHECK_1.
7427 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7428 (ustat): Do not use CHECK_1.
7429 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7430 <bp-checks.h>.
7431 (__fxstat): Do not use CHECK_1.
7432 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7433 <bp-checks.h>.
7434 (__fxstatat): Do not use CHECK_1.
7435 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7436 <bp-checks.h>.
7437 (__lxstat): Do not use CHECK_1.
7438 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7439 <bp-checks.h>.
7440 (__xstat): Do not use CHECK_1.
7441 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7442 (__xstat): Do not use CHECK_1.
7443 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7444 (___xstat64): Do not use CHECK_1.
7445
b2c9eff4
JM
7446 [BZ #13550]
7447 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7448 definitions.
7449 (CHECK_BOUNDS_HIGH): Likewise.
7450 * string/strcpy.c: Do not include <bp-checks.h>.
7451 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7452
f1d70dad
RM
74532013-02-07 Roland McGrath <roland@hack.frob.com>
7454
7455 * nscd/nscd-client.h (__nscd_drop_map_ref):
7456 Add __attribute__ ((unused)).
7457 * nis/nss-nisplus.h (niserr2nss): Likewise.
7458
7459 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7460 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7461
7462 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7463 Remove inline keyword.
7464 * include/rounding-mode.h (round_away): Likewise.
7465 * libio/wfileops.c (adjust_wide_data): Likewise.
7466 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7467 (__m128i_strloadu_tolower): Likewise.
7468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7469 (__m128i_strloadu_tolower): Likewise.
7470 * time/mktime.c (ydhms_diff): Likewise.
7471 * locale/elem-hash.h (elem_hash): Likewise.
7472 * locale/setlocale.c (setdata): Likewise.
7473 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7474 (re_string_wchar_at): Likewise.
7475 (bitset_not, bitset_merge, bitset_mask): Likewise.
7476 [!(__GNUC__ > 3)] (inline): Remove macro.
7477 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7478 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7479 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7480 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7481 * string/memcmp.c (memcmp_bytes): Likewise.
7482 * locale/programs/locarchive.c (compute_hashval): Likewise.
7483 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7484 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7485 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7486 * nss/getent.c (print_rpc, print_protocols): Likewise.
7487 (print_passwd, print_group, print_aliases): Likewise.
7488 * nis/nss-nisplus.h (niserr2nss): Likewise.
7489 * nscd/connections.c (restart_p): Likewise.
7490 Change return type to bool.
7491
eab55bfb
RM
74922013-02-05 Roland McGrath <roland@hack.frob.com>
7493
7bd642f5
RM
7494 * Makeconfig (all-Depend-files): Add existing
7495 $(sorted-subdirs:=/Depend) files.
7496 (all-subdirs): Remove nss.
7497 * sysdeps/unix/inet/Subdirs: Add it here instead.
7498 * hesiod/Depend: New file.
7499
573c29b2
RM
7500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7501 instead of calling alloca.
7502
b2e25af0
RM
7503 * io/lseek.c (__lseek): Rename to __libc_lseek.
7504 Define __lseek as an alias.
7505
eab55bfb
RM
7506 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7507
9a0d1941
CD
75082013-02-04 Carlos O'Donell <carlos@redhat.com>
7509
7510 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7511 else clause and remove check for non-standard endianness.
7512
b83bbec4
DM
75132013-02-04 David S. Miller <davem@davemloft.net>
7514
7515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7516
6277fdab
JM
75172013-02-04 Joseph Myers <joseph@codesourcery.com>
7518
7519 [BZ #13550]
7520 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7521 (__ubp_memchr): Remove prototype.
7522 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7523 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7524 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7525 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7526 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7527 Remove alias.
7528 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7529 (__ubp_memchr): Likewise.
7530 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7531 (__ubp_memchr): Likewise.
7532 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7533 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7534 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7535 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7536 CHECK_STRING.
7537 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7538 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7539 (__getcwd): Do not use CHECK_STRING.
7540 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7541 <bp-checks.h>.
7542 (__real_chown): Do not use CHECK_STRING.
7543 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7544 <bp-checks.h>.
7545 (fchownat): Do not use CHECK_STRING.
7546 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7547 CHECK_STRING.
7548 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7549 <bp-checks.h>.
7550 (__lchown): Do not use CHECK_STRING.
7551 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7552 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7553 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7554 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7556 include <bp-checks.h>.
7557 (truncate64): Do not use CHECK_STRING.
7558 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7559 <bp-checks.h>.
7560 (__real_chown): Do not use CHECK_STRING.
7561 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7562 <bp-checks.h>.
7563 (__lchown): Do not use CHECK_STRING.
7564 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7565 <bp-checks.h>.
7566 (__chown): Do not use CHECK_STRING.
7567 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7568 <bp-checks.h>.
7569 (truncate64): Do not use CHECK_STRING.
7570 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7571 Likewise.
7572 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7573 (__xmknod): Do not use CHECK_STRING.
7574 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7575 <bp-checks.h>.
7576 (__xmknodat): Do not use CHECK_STRING.
7577 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7578 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7579
903ae060
AS
75802013-02-04 Andreas Schwab <schwab@suse.de>
7581
7582 [BZ #14142]
7583 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7584 * include/netdb.h: Likewise for h_errno.
7585 * elf/tst-stackguard1.c: Include <tls.h>.
7586
542f9466
JK
75872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7588
7589 * elf/link.h (struct link_map): Extend the l_addr comment.
7590 * include/link.h (struct link_map): Likewise.
7591
e782a927
JM
75922013-02-01 Joseph Myers <joseph@codesourcery.com>
7593
7594 [BZ #13550]
7595 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7596 (BOUNDED_1): Remove macro.
7597 * debug/backtrace.c: Don't include <bp-checks.h>.
7598 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7599 (__backtrace): Likewise.
7600 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7601 <bp-checks.h>.
7602 (__backtrace): Don't use BOUNDED_1.
7603 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7604 <bp-checks.h>.
7605 (__backtrace): Don't use BOUNDED_1.
7606 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7607 (__backtrace): Don't use BOUNDED_1.
7608 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7609 (shmat): Don't use BOUNDED_N.
7610
8cf28c5e
JM
76112013-01-31 Joseph Myers <joseph@codesourcery.com>
7612
3a7ac8a0
JM
7613 [BZ #13550]
7614 * sysdeps/generic/bp-start.h: Remove file.
7615 * csu/libc-start.c: Don't include <bp-start.h>.
7616 (LIBC_START_MAIN): Set up __environ directly instead of using
7617 INIT_ARGV_and_ENVIRON.
7618 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7619 <bp-start.h>.
7620
f3499f95
JM
7621 [BZ #13550]
7622 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7623 definitions.
7624 (CHECK_FCNTL): Likewise.
7625 (CHECK_N_PAGES): Likewise.
7626
32a45bea
JM
7627 [BZ #13550]
7628 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7629 definitions.
7630 (CHECK_SIGSET_NULL_OK): Likewise.
7631 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7632 <bp-checks.h>.
7633 (sigpending): Don't use CHECK_SIGSET.
7634 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7635 <bp-checks.h>.
7636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7637 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7638 <bp-checks.h>.
7639 (do_sigsuspend): Don't use CHECK_SIGSET.
7640 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7641 use CHECK_SIGSET.
7642 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7643 (do_sigwait): Don't use CHECK_SIGSET.
7644 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7645 use CHECK_SIGSET.
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7647 include <bp-checks.h>.
7648 (sigpending): Don't use CHECK_SIGSET.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7650 include <bp-checks.h>.
7651 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7652 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7653 <bp-checks.h>.
7654 (sigpending): Don't use CHECK_SIGSET.
7655 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7656 <bp-checks.h>.
7657 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7658
2e8a5c8c
JM
7659 [BZ #13550]
7660 * sysdeps/generic/bp-semctl.h: Remove file.
7661 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7662 <bp-checks.h> and <bp-semctl.h>.
7663 (__old_semctl): Don't use CHECK_SEMCTL.
7664 (__new_semctl): Likewise.
7665 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7666 and <bp-semctl.h>.
7667 (__old_semctl): Don't use CHECK_SEMCTL.
7668 (__new_semctl): Likewise.
7669 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7670 <bp-checks.h> and <bp-semctl.h>.
7671 (__old_semctl): Don't use CHECK_SEMCTL.
7672 (__new_semctl): Likewise.
7673 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7674 <bp-checks.h> and <bp-semctl.h>.
7675 (semctl): Don't use CHECK_SEMCTL.
7676
c2d54929
JM
7677 [BZ #13550]
7678 * Makerules (elide-bp-thunks): Remove variable.
7679 (elide-routines.oS): Don't use $(elide-bp-thunks).
7680 (elide-routines.os): Likewise.
7681 (elide-routines.o): Likewise.
7682 (elide-routines.op): Likewise.
7683 (elide-routines.og): Likewise.
7684 (objects): Don't use $(bp-thunks).
7685 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7686 include.
7687 (common-generated): Do not add s-proto-bp.d.
7688 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7689 (int): Likewise.
7690 (typ): Likewise.
7691 Do not generate makefile rules for bounded-pointer thunks.
7692 * sysdeps/generic/bp-thunks.h: Remove file.
7693 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7694 * sysdeps/unix/s-proto-bp.S: Likewise.
7695
8cf28c5e
JM
7696 [BZ #15062]
7697 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7698 parts of result separately when argument is not close to line from
7699 -i to i and one part of argument is small.
7700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7702 * math/libm-test.inc (cacos_test): Add more tests.
7703 (casin_test): Likewise.
7704 (casinh_test): Likewise.
7705 * sysdeps/i386/fpu/libm-test-ulps: Update.
7706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707
c4e33b8d
DM
77082013-01-31 David S. Miller <davem@davemloft.net>
7709
7710 * po/de.po: Update from translation team.
7711
3b60b421
MK
77122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7713
7714 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7715
bb931195
TS
77162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7717
b5a5da23
TS
7718 * configure.in (_AC_PROG_CC_C89): New definition.
7719 * configure: Regenerate.
7720
bb931195
TS
7721 * configure.in (AC_PROG_CPP): New definition.
7722 * configure: Regenerate.
7723
8c53a12c
JM
77242013-01-23 Joseph Myers <joseph@codesourcery.com>
7725
7726 * debug/tst-backtrace.h: New file.
7727 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7728 (ret): Remove variable.
7729 (x): Likewise.
7730 (FAIL): Remove macro.
7731 (NO_INLINE): Likewise.
7732 (fn1): Use match function instead of strstr.
7733 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7734 (ret): Remove variable.
7735 (x): Likewise.
7736 (FAIL): Remove macro.
7737 (NO_INLINE): Likewise.
7738 (fn): Use match function instead of strstr.
7739 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7740 (ret): Remove variable.
7741 (x): Likewise.
7742 (FAIL): Remove macro.
7743 (NO_INLINE): Likewise.
7744 (handle_signal): Use match function instead of strstr.
7745 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7746 (ret): Remove variable.
7747 (x): Likewise.
7748 (FAIL): Remove macro.
7749 (NO_INLINE): Likewise.
7750 (handle_signal): Use match function instead of strstr.
7751
4858fa2a
RM
77522013-01-23 Roland McGrath <roland@hack.frob.com>
7753
7754 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7755
bae8e7f5
DM
77562013-01-23 David S. Miller <davem@davemloft.net>
7757
7758 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7759 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7760 argument of CAS if possible.
7761 * sysdeps/sparc/sparc64/bits/atomic.h
7762 (__arch_compare_and_exchange_val_32_acq): Likewise.
7763 (__arch_compare_and_exchange_val_64_acq): Likewise.
7764
9cbbc4ae
PT
77652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7766
7767 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7768 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7769 Include <limits.h>.
67b3f58c 7770 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7771
5655a0b5
AC
77722013-01-23 Adam Conrad <adconrad@0c3.net>
7773
7774 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7775 (LDFLAGS-tst-array5): Likewise.
7776
052aff95
JM
77772013-01-23 Joseph Myers <joseph@codesourcery.com>
7778
7779 [BZ #15036]
7780 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7781 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7782 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7783 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7784
7c1e01aa
DM
77852013-01-21 David S. Miller <davem@davemloft.net>
7786
7787 * sysdeps/sparc/backtrace.c: New file.
7788 * sysdeps/sparc/sparc32/backtrace.h: New file.
7789 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7790 * sysdeps/sparc/sparc64/backtrace.h: New file.
7791 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7792 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7793 -funwind-tables.
7794
ab087e0a
AS
77952013-01-21 Andreas Schwab <schwab@suse.de>
7796
7797 [BZ #15020]
7798 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7799 closed its stdout.
7800
ed689c2f
AS
78012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7802
7803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7804 "mpa2.h".
7805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7806
31d470ac
JM
78072013-01-18 Joseph Myers <joseph@codesourcery.com>
7808 Mark Mitchell <mark@codesourcery.com>
7809 Tom de Vries <tom@codesourcery.com>
7810 Paul Pluzhnikov <ppluzhnikov@google.com>
7811
7812 * debug/tst-backtrace2.c: New file.
7813 * debug/tst-backtrace3.c: Likewise.
7814 * debug/tst-backtrace4.c: Likewise.
7815 * debug/tst-backtrace5.c: Likewise.
7816 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7817 (CFLAGS-tst-backtrace3.c): Likewise.
7818 (CFLAGS-tst-backtrace4.c): Likewise.
7819 (CFLAGS-tst-backtrace5.c): Likewise.
7820 (LDFLAGS-tst-backtrace2): Likewise.
7821 (LDFLAGS-tst-backtrace3): Likewise.
7822 (LDFLAGS-tst-backtrace4): Likewise.
7823 (LDFLAGS-tst-backtrace5): Likewise.
7824 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7825 tst-backtrace4 and tst-backtrace5.
7826
90567f30 78272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7828 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7829
7830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7831 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7833 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7835 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7836 "+r" and remove output regs list as redundant. Add explicit inline
7837 asm to specify register of return val to work around compiler codegen
7838 bug. Remove (int) cast on return value. Add return type parameter to
7839 use in macro so that this macro does not truncate return value for
7840 64-bit values.
7841 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7842 pass to INTERNAL_VSYSCALL_NCS.
7843 (INLINE_VSYSCALL): Add 'long int' as return type to
7844 INTERNAL_VSYSCALL_NCS macro invocation.
7845 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7846 INTERNAL_VSYSCALL_NCS macro invocation.
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7848
d3b9ea61
SP
78492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7850
0b57daeb
SP
7851 [BZ #14496]
7852 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7853 Fix application of SIMD FP exception mask.
7854
caa99d06
SP
7855 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7856 mp_no from a power of two.
7857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7858 __mpexp_twomm1. Use __pow_mp.
7859
d3b9ea61
SP
7860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7861 multiplication.
7862
1dbaee3c
DM
78632013-01-17 David S. Miller <davem@davemloft.net>
7864
7865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7866
728d7b43
JM
78672013-01-17 Joseph Myers <joseph@codesourcery.com>
7868
7869 [BZ #15023]
7870 * include/complex.h: Condition contents on [!_COMPLEX_H].
7871 (__kernel_casinhf): New prototype.
7872 (__kernel_casinh): Likewise.
7873 (__kernel_casinhl): Likewise.
7874 * math/Makefile (libm_calls): Add k_casinh.
7875 * math/k_casinh.c: New file.
7876 * math/k_casinhf.c: Likewise.
7877 * math/k_casinhl.c: Likewise.
7878 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7879 finite nonzero arguments.
7880 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7881 finite nonzero arguments.
7882 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7883 finite nonzero arguments.
7884 * math/s_casinh.c: Do not include <float.h>.
7885 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7886 * math/s_casinhf.c: Do not include <float.h>.
7887 (__casinhf): Move code for finite nonzero arguments to
7888 k_casinhf.c.
7889 * math/s_casinhl.c: Do not include <float.h>.
7890 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7891 redefine.
7892 (__casinhl): Move code for finite nonzero arguments to
7893 k_casinhl.c.
7894 * math/libm-test.inc (cacos_test): Add more tests.
7895 * sysdeps/i386/fpu/libm-test-ulps: Update.
7896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7897
2a26ef3a
PT
78982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7899
7900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7901 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7902 [!HAVE_MREMAP]: Remove [defined linux] case.
7903 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7904
a897655d
SP
79052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7906
7907 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7908
881ebe89 79092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7910
7911 * elf/elf.h (R_386_SIZE32): New relocation.
7912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7913 R_386_SIZE32.
7914 (elf_machine_rela): Likewise.
7915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7916 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7917
59981e9b
JM
79182013-01-17 Joseph Myers <joseph@codesourcery.com>
7919
7920 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7921 (FP_FAST_FMA): Do not define.
7922 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7923 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7924 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7925 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7926 !_SOFT_FLOAT]: Likewise.
7927 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7928 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7929 value.
7930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7931 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7932 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7934 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7935 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7936 file.
7937
cfa8054f
AS
79382013-01-16 Andreas Schwab <schwab@suse.de>
7939
7940 [BZ #14327]
7941 * include/stdlib.h (__mktemp): Add declaration.
7942 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7943 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7944
dd930cc5
SP
79452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7946
881ebe89
SP
7947 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7948 definitions.
7949 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7950 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7951 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7952 definitions here.
7953 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7954 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7955 definitions.
7956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7957 and ONE.
7958 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7959 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7960 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7961 definitions.
7962 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7963 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7964 definitions.
7965 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7966
dd930cc5
SP
7967 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7968
c19a9f89
DM
79692013-01-15 David S. Miller <davem@davemloft.net>
7970
1aa61767
DM
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7972 trunc{,f} to libm-sysdep_routes.
7973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7975 file.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7978 file.
7979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7980 file.
7981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7984 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7985 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7987 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7988 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7989
c42d5e98
DM
7990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7991 nearbyint{,f} to libm-sysdep_routes.
7992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7994 New file.
7995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7996 file.
7997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7998 New file.
7999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8000 file.
8001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8004 file.
8005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8007 file.
8008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8009 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8010 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8011
c19a9f89
DM
8012 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8013 libc_feholdexcept and libc_fesetenv.
8014
357679d2
MF
80152013-01-15 Mike Frysinger <vapier@gentoo.org>
8016
8017 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8018
65a82e3d
DM
80192013-01-14 David S. Miller <davem@davemloft.net>
8020
8b954ab9
DM
8021 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8022 (SPARC_ASM_VIS2_IFUNC): Likewise.
8023 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8025 use of 'siam' instruction.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8027 Likewise.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8029 Likewise.
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8031 Likewise.
8032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8037 file.
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8039 file.
8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8041 file.
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8043 file.
8044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8049 new VIS2 routines.
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8053 Likewise.
8054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8059 routines to libm-sysdep_routines.
8060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8061
65a82e3d
DM
8062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8063 fdim/fdimf to libm-sysdep_routines.
8064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8065 file.
8066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8068 file.
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8072 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8073 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8074 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8075 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8076
e34ab705
SP
80772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8078
2a91b573
SP
8079 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8080 to optimize copies.
8081
1066a534
SP
8082 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8085
e34ab705
SP
8086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8087 local variable MPTWO.
8088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8089 Likewise.
8090
aba5e596
MF
80912013-01-13 Mike Frysinger <vapier@gentoo.org>
8092
8093 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8094 GLOB_NOESCAPE.
8095
e557e9e5
MF
80962013-01-13 Mike Frysinger <vapier@gentoo.org>
8097
8098 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8099
0428cec9
MF
81002013-01-13 Mike Frysinger <vapier@gentoo.org>
8101
8102 * manual/pattern.texi (glob_t): Document gl_flags.
8103 (glob64_t): Likewise.
8104
8794a964
DM
81052013-01-11 David S. Miller <davem@davemloft.net>
8106
66438c3f
RM
8107 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8108 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8109 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8110 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8111 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8112 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8113 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8114 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8115 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8116 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8117 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8118 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8119 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8120
4ae4244d
DM
8121 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8122 sparc V9 rather than using V8 code.
8123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8125
8794a964
DM
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8127 Move to...
8128 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8129 Here.
8130
6270516e
RM
81312013-01-11 Roland McGrath <roland@hack.frob.com>
8132
8133 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8134 not in the main loop.
8135 * configure: Regenerated.
8136
6a57d931
JM
81372013-01-11 Joseph Myers <joseph@codesourcery.com>
8138
8139 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8140 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8141 to just #else.
8142 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8143 [!__GLIBC_HAVE_LONG_LONG] case.
8144 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8145 condition to just #else.
8146 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8147 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8148 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8149 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8150 unconditional.
8151 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8152 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8153 #elif condition to just #else.
8154 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8155 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8156 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8157 #elif condition to just #else.
8158
0e8529e9
SE
81592013-01-11 Steve Ellcey <sellcey@mips.com>
8160
8161 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8162 (EF_MIPS_ARCH_64): Fix value.
8163 (EF_MIPS_ARCH_32R2): New.
8164 (EF_MIPS_ARCH_64R2): New.
8165
740b3dbe
L
81662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * Makeconfig (+link-pie-before-libc): New.
8169 (+link-pie-after-libc): Likewise.
8170 (+link-pie-tests): Likewise.
8171 (+link-pie): Rewritten.
8172 (link-before-libc): Remove $(config-LDFLAGS).
8173 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8174 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8175 (config-LDFLAGS): Renamed to ...
8176 (rtld-LDFLAGS): This.
8177 (rtld-tests-LDFLAGS): New macro.
8178 (link-libc-rpath-link): Likewise.
8179 (link-libc-tests-rpath-link): Likewise.
8180 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8181 (link-libc): Prepand $(link-libc-rpath-link).
8182 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8183 (test-program-prefix): New macro.
8184 (test-via-rtld-prefix): Likewise.
8185 (test-program-cmd): Likewise.
8186 (host-test-program-cmd): Likewise.
8187 * Makefile ($(common-objpfx)testrun.sh): Replace
8188 $(run-program-prefix) with $(test-program-prefix).
8189 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8190 $(rtld-LDFLAGS).
8191 ($(common-objpfx)shlib.lds): Likewise.
8192 (build-module-helper): Likewise.
8193 ($(common-objpfx)format.lds): Likewise.
8194 * Rules (binaries-pie-tests): New.
8195 (binaries-pie-notests): Likewise.
8196 (binaries-pie): Rewritten.
8197 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8198 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8199 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8200 (make-test-out): Replace $(host-built-program-cmd) with
8201 $(host-test-program-cmd).
8202 * config.make.in (build-hardcoded-path-in-tests): New variable.
8203 * configure.in (--enable-hardcoded-path-in-tests): New configure
8204 option.
8205 (hardcoded_path_in_tests): New AC_SUBST.
8206 * configure: Regenerated.
8207 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8208 $(built-program-cmd) with $(test-program-cmd).
8209 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8210 (test_program_cmd): This.
8211 * elf/Makefile ($(objpfx)order.out): Run test with
8212 $(test-program-prefix).
8213 ($(objpfx)order2.out): Likewise.
8214 ($(objpfx)tst-initorder.out): Likewise.
8215 ($(objpfx)tst-initorder2.out): Likewise.
8216 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8217 $(test-program-cmd).
8218 ($(objpfx)tst-array1-static.out): Likewise.
8219 ($(objpfx)tst-array2.out): Likewise.
8220 ($(objpfx)tst-array3.out): Likewise.
8221 ($(objpfx)tst-array4.out): Likewise.
8222 ($(objpfx)tst-array5.out): Likewise.
8223 ($(objpfx)tst-array5-static.out): Likewise.
8224 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8225 $(test-program-cmd).
8226 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8227 $(run-program-prefix) with $(test-program-prefix).
8228 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8229 (test_program_prefix): This.
8230 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8231 $(run-program-prefix) with $(test-program-prefix).
8232 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8233 (test_program_prefix): This.
8234 * iconvdata/tst-tables.sh: Likewise.
8235 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8236 $(run-program-prefix) with $(test-program-prefix).
8237 ($(objpfx)tst-translit.out): Likewise.
8238 ($(objpfx)tst-gettext2.out): Likewise.
8239 ($(objpfx)tst-gettext4.out): Likewise.
8240 ($(objpfx)tst-gettext6.out): Likewise.
8241 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8242 (test_program_prefix): This.
8243 * intl/tst-gettext2.sh: Likewise.
8244 * intl/tst-gettext4.sh Likewise.
8245 * intl/tst-gettext6.sh: Likewise.
8246 * intl/tst-translit.sh: Likewise.
8247 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8248 with $(test-program-cmd).
8249 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8250 $(run-program-prefix) with $(test-program-prefix).
8251 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8252 (test_program_prefix): This.
8253 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8254 $(run-program-prefix) with $(test-program-prefix).
8255 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8256 (test_program_prefix): This.
8257 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8258 * posix/Makefile ($(objpfx)globtest.out): Replace
8259 $(run-via-rtld-prefix) and $(test-wrapper) with
8260 $(test-program-prefix) and $(test-via-rtld-prefix).
8261 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8262 $(test-program-prefix).
8263 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8264 $(host-test-program-cmd).
8265 (tst-spawn-ARGS): Likewise.
8266 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8267 $(test-program-prefix).
8268 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8269 (test_via_rtld_prefix): This.
8270 (test_wrapper): Renamed to ...
8271 (test_program_prefix): This.
8272 (run_program_prefix): Replaced by test_program_prefix.
8273 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8274 (test_program_prefix): This.
8275 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8276 with $(host-test-program-cmd).
8277 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8278 $(run-program-prefix) with $(test-program-prefix).
8279 ($(objpfx)tst-printf.out): Likewise.
8280 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8281 $(test-program-cmd).
8282 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8283 (test_program_prefix): This.
8284 * stdio-common/tst-unbputc.sh: Likewise.
8285 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8286 $(run-program-prefix) with $(test-program-prefix).
8287 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8288 (test_program_prefix): This.
8289 * string/Makefile ($(objpfx)tst-svc.out): Replace
8290 $(built-program-cmd) with $(test-program-cmd).
8291
c6fe55cf
AJ
82922013-01-11 Andreas Jaeger <aj@suse.de>
8293
8294 [BZ #15003]
8295 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8296 value. Sync with Linux 3.7.
8297
9e6919c8
DM
82982013-01-10 David S. Miller <davem@davemloft.net>
8299
8300 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8301 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8302 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8303
1c9f1a02
RM
83042013-01-10 Roland McGrath <roland@hack.frob.com>
8305
8306 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8307 never set.
8308 * configure: Regenerated.
8309
b9de2dde
DM
83102013-01-10 David S. Miller <davem@davemloft.net>
8311
8312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8313 sparc V9 rather than using V8 code.
8314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8316
e7f68ef4
RM
83172013-01-10 Roland McGrath <roland@hack.frob.com>
8318
8319 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8320 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8321 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8322 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8323 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8324 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8325 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8326 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8327 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8328 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8329 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8330 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8331 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8332 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8333 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8334 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8335 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8336 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8337 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8338 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8339 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8340 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8341 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8342 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8343 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8344 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8345 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8346
5a47cc9c
DM
83472013-01-10 David S. Miller <davem@davemloft.net>
8348
8349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8350
4cf8f209
L
83512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8352
8353 * posix/Makefile (tests-static): New variable.
8354 (tests): Add $(tests-static).
8355 (tst-exec-static-ARGS): New variable.
8356 (tst-spawn-static-ARGS): Likewise.
8357 * posix/tst-exec-static.c: New file.
8358 * posix/tst-spawn-static.c: Likewise.
8359 * posix/tst-exec.c: Support run directly.
8360 * posix/tst-spawn.c: Likewise.
8361
fed0faa1
JM
83622013-01-10 Joseph Myers <joseph@codesourcery.com>
8363
828beb13
JM
8364 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8365 long.
8366 * math/bits/mathcalls.h (llrint): Likewise.
8367 (llround): Likewise.
8368 * stdlib/stdlib.h (struct drand48_data): Likewise.
8369 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8370 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8371 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8372 Likewise.
8373 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8374 Likewise.
8375 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8376 (elf_greg_t): Likewise.
8377 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8378 (__jmp_buf): Likewise.
8379 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8380 definitions.
8381 (llrint): Likewise, for all definitions.
8382 (llrintl): Likewise.
8383
fed0faa1
JM
8384 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8385 Remove [__GNUC__] condition.
8386 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8387 condition to just [__USE_ISOC99].
8388 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8389
1a20cb20
L
83902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8391
8392 [BZ #14200]
8393 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8394 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8395 defined.
8396 (_POSIX_V6_ILP32_OFF32): Likewise.
8397 (_XBS5_ILP32_OFF32): Likewise.
8398 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8399 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8400
751b85f7
SP
84012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8402
7490eb81
SP
8403 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8404
751b85f7
SP
8405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8406 doubles __mpexp_twomm1. Adjust usage.
8407 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8408 Remove.
8409
988197f0
AS
84102013-01-10 Andreas Schwab <schwab@suse.de>
8411
8412 [BZ #14964]
8413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8414 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8415
e83d7298
DM
84162013-01-09 David S. Miller <davem@davemloft.net>
8417
034ed64b 8418 [BZ #15003]
e83d7298
DM
8419 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8420 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8421 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8422 TCP_FASTOPEN): Define.
8423 (tcp_repair_opt): New structure.
8424 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8425 enum values.
8426 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8427 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8428 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8429 (tcp_cookie_transactions): New structure.
8430
d5e0b9bd
AB
84312013-01-09 Anton Blanchard <anton@samba.org>
8432
8433 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8434 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8435 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8436 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8437
0c07e3ea
JM
84382013-01-09 Joseph Myers <joseph@codesourcery.com>
8439
8440 * include/features.h (__USE_ANSI): Remove.
8441
232f7002
RM
84422013-01-09 Roland McGrath <roland@hack.frob.com>
8443
ad98e30c
RM
8444 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8445
232f7002
RM
8446 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8447
950c99ca
SP
84482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
b5792741
SP
8450 * sysdeps/s390/fpu/libm-test-ulps: Update.
8451
47cf2278
SP
8452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8453
950c99ca
SP
8454 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8455 (__acr): Likewise.
8456 (__cpy): Likewise.
8457 (norm): Likewise.
8458 (denorm): Likewise.
8459 (__mp_dbl): Likewise.
8460 (__dbl_mp): Likewise.
8461 (add_magnitudes): Likewise.
8462 (sub_magnitudes): Likewise.
8463 (__add): Likewise.
8464 (__sub): Likewise.
8465 (__mul): Likewise.
8466 (__inv): Likewise.
8467 (__dvd): Likewise.
8468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8469 (__acr): Likewise.
8470 (__cpy): Likewise.
8471 (norm): Likewise.
8472 (denorm): Likewise.
8473 (__mp_dbl): Likewise.
8474 (__dbl_mp): Likewise.
8475 (add_magnitudes): Likewise.
8476 (sub_magnitudes): Likewise.
8477 (__add): Likewise.
8478 (__sub): Likewise.
8479 (__mul): Likewise.
8480 (__inv): Likewise.
8481 (__dvd): Likewise.
8482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8483 (__acr): Likewise.
8484 (__cpy): Likewise.
8485 (norm): Likewise.
8486 (denorm): Likewise.
8487 (__mp_dbl): Likewise.
8488 (__dbl_mp): Likewise.
8489 (add_magnitudes): Likewise.
8490 (sub_magnitudes): Likewise.
8491 (__add): Likewise.
8492 (__sub): Likewise.
8493 (__mul): Likewise.
8494 (__inv): Likewise.
8495 (__dvd): Likewise.
8496
eede9df9
JM
84972013-01-08 Joseph Myers <joseph@codesourcery.com>
8498
8499 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8500 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8501 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8502 2 && __USE_EXTERN_INLINES]: Likewise.
8503
c40ea3d9
AJ
85042013-01-08 Andreas Jaeger <aj@suse.de>
8505
8506 [BZ# 14985]
8507 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8508 Remove.
8509 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8510 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8511
2ccdea26
AB
85122013-01-07 Anton Blanchard <anton@samba.org>
8513
8514 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8515 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8516 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8517 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8518 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8519 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8520 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8521 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8529 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8532 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8535 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8537 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8538 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8539 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8540 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8541 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8543 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8544 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8548 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8550 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8551 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8552 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8554 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8556 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8557
a9708fed
JM
85582013-01-07 Joseph Myers <joseph@codesourcery.com>
8559
375607b9
JM
8560 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8561 (__MALLOC_PMT): Likewise.
8562 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8563 [__GNUC__], only on [_LIBC].
8564 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8565 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8566 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8567 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8568 forward declaration.
8569 (realloc_hook_ini): Likewise.
8570 (memalign_hook_ini): Likewise.
8571 (__libc_memalign): Do not use __MALLOC_PMT in variable
8572 declaration.
8573 (__libc_valloc): Likewise.
8574 (__libc_pvalloc): Likewise.
8575 (__libc_calloc): Likewise.
8576 (__posix_memalign): Likewise.
8577
a9708fed
JM
8578 [BZ #14996]
8579 * math/s_casinh.c: Include <float.h>.
8580 (__casinh): Do not do computation with squaring and square root
8581 for large arguments.
8582 * math/s_casinhf.c: Include <float.h>.
8583 (__casinhf): Do not do computation with squaring and square root
8584 for large arguments.
8585 * math/s_casinhl.c: Include <float.h>.
8586 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8587 (__casinhl): Do not do computation with squaring and square root
8588 for large arguments.
8589 * math/libm-test.inc (casin_test): Add more tests.
8590 (casinh_test): Likewise.
8591 * sysdeps/i386/fpu/libm-test-ulps: Update.
8592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8593
afec409a
L
85942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8597 (__x86_64_raw_data_cache_size): Likewise.
8598 (__x86_64_data_cache_size_half): Likewise.
8599 (__x86_64_raw_data_cache_size_half): Likewise.
8600 (__x86_64_shared_cache_size): Likewise.
8601 (__x86_64_raw_shared_cache_size): Likewise.
8602 (__x86_64_shared_cache_size_half): Likewise.
8603 (__x86_64_raw_shared_cache_size_half): Likewise.
8604 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8605 to ...
8606 (__x86_data_cache_size): This.
8607 (__x86_64_raw_data_cache_size): Renamed to ...
8608 (__x86_raw_data_cache_size): This.
8609 (__x86_64_data_cache_size_half): Renamed to ...
8610 (__x86_data_cache_size_half): This.
8611 (__x86_64_raw_data_cache_size_half): Renamed to ...
8612 (__x86_raw_data_cache_size_half): This.
8613 (__x86_64_shared_cache_size): Renamed to ...
8614 (__x86_shared_cache_size): This.
8615 (__x86_64_raw_shared_cache_size): Renamed to ...
8616 (__x86_raw_shared_cache_size): This.
8617 (__x86_64_shared_cache_size_half): Renamed to ...
8618 (__x86_shared_cache_size_half): This.
8619 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8620 (__x86_raw_shared_cache_size_half): This.
8621 * sysdeps/x86_64/memcpy.S: Updated.
8622 * sysdeps/x86_64/memset.S: Likewise.
8623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8626
0b3986d0
DM
86272013-01-04 David S. Miller <davem@davemloft.net>
8628
8629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8630
e47686e9
AS
86312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8632
d643bac1
AS
8633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8634 1 to avoid redefinition warning.
8635 (__USE_GNU): Don't define.
8636 (init_signaling_nan): Protoize.
8637
e47686e9
AS
8638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8639
b18decba
SP
86402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8641
fffb407f
SP
8642 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8644 (__cpymn): Likewise.
8645 (norm): Remove commented code.
8646 (denorm): Likewise.
8647 (__mp_dbl): Likewise.
8648 (__inv): Likewise.
8649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8650 (__cpymn): Likewise.
8651 (norm): Remove commented code.
8652 (denorm): Likewise.
8653 (__mp_dbl): Likewise.
8654 (__inv): Likewise.
8655
b18decba
SP
8656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8657 mp_no value for 1.0 and 2.0.
8658 (norm): Use RADIXI instead of radixi.d.
8659 (denorm): Likewise.
8660 (__mul): Use 0.0 instead of zero.d.
8661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8662 mp_no value for 1.0 and 2.0.
8663 (norm): Use RADIXI instead of radixi.d.
8664 (denorm): Likewise.
8665 (__mul): Use 0.0 instead of zero.d.
8666
cdc1c96f
JM
86672013-01-04 Joseph Myers <joseph@codesourcery.com>
8668
8669 [BZ #14994]
8670 * math/s_casinh.c (__casinh): Reduce finite argument to first
8671 quadrant then set signs of results at the end.
8672 * math/s_casinhf.c (__casinhf): Likewise.
8673 * math/s_casinhl.c (__casinhl): Likewise.
8674 * math/libm-test.inc (casin_test): Add more tests.
8675 (casinh_test): Likewise.
8676 * sysdeps/i386/fpu/libm-test-ulps: Update.
8677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8678
302913e1
SP
86792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8680
6420d207
SP
8681 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8682
a9e48ab4
SP
8683 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8684
b7837264
SP
8685 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8686 declarations.
8687 (denorm): Likewise.
8688 (__mp_dbl): Likewise.
8689 (__inv): Likewise.
8690
f8af25d2
SP
8691 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8692 and adjust the header comment.
8693
302913e1
SP
8694 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8695 variable name from declaration.
8696
5d7dd1ca
L
86972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8698
8699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8700 Initialize COMMON_CPUID_INDEX_7 element.
8701 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8702 (CPUID_RTM): Likewise.
8703 (HAS_RTM): Likewise.
8704 (COMMON_CPUID_INDEX_7): New enum.
8705
2f5f40f4
AS
87062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8707
8708 [BZ #14981]
8709 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8710 size is zero, record memory as freed.
8711
4056f4a0
AJ
87122013-01-03 Andreas Jaeger <aj@suse.de>
8713
8714 * po/ia.po: Add new Interlingua translation.
8715
ab15736f 87162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8717
8718 * locale/programs/localedef.c: Fix description of '--posix' flag.
8719
568035b7
JM
87202013-01-02 Joseph Myers <joseph@codesourcery.com>
8721
e6898b8d
JM
8722 * NEWS: Update dates in second copyright notice.
8723 * README: Update copyright dates in example.
8724 * manual/libc.texinfo: Update copyright dates.
8725 * scripts/test-installation.pl: Update copyright date in --version
8726 output.
8727
0e2f9562
JM
8728 * hurd/ctty-input.c: Fix copyright notice formatting.
8729 * hurd/ctty-output.c: Likewise.
8730 * hurd/dtable.c: Likewise.
8731 * hurd/hurd-raise.c: Likewise.
8732 * hurd/hurdprio.c: Likewise.
8733 * hurd/msgportdemux.c: Likewise.
8734 * misc/sys/file.h: Likewise.
8735 * misc/sys/ioctl.h: Likewise.
8736 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8737 * sysdeps/mach/hurd/chdir.c: Likewise.
8738 * sysdeps/mach/hurd/fchdir.c: Likewise.
8739 * sysdeps/mach/hurd/rename.c: Likewise.
8740 * sysdeps/mach/hurd/rmdir.c: Likewise.
8741 * sysdeps/mach/hurd/seekdir.c: Likewise.
8742 * sysdeps/mach/hurd/setsid.c: Likewise.
8743 * sysdeps/posix/wait3.c: Likewise.
8744
568035b7
JM
8745 * All files with FSF copyright notices: Update copyright dates
8746 using scripts/update-copyrights.
8747 * intl/plural.c: Regenerated.
8748 * locale/programs/charmap-kw.h: Likewise.
8749 * locale/programs/locfile-kw.h: Likewise.
8750
da08f647
SP
87512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8752
0f5477af
SP
8753 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8754 four values.
8755
44e0d4c2
SP
8756 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8757 calculation loop and add branch prediction.
8758
4d55b4e5
SP
8759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8760 check access beyond bounds of m1np.
8761
da08f647
SP
8762 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8763 MPTWO.
8764 (__inv): Remove local variable MPTWO to use the global
8765 constant.
8766 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8768 variable MPTWO.
8769 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8770 MP3HALFS static const.
8771
8e051029
DM
87722013-01-01 David S. Miller <davem@davemloft.net>
8773
8774 * po/ca.po: Update from translation team.
8775
f4cf5f2d
JM
87762013-01-01 Joseph Myers <joseph@codesourcery.com>
8777
8778 * scripts/update-copyrights: New file.
8779 * Makeconfig: Reformat copyright notice.
8780 * ctype/ctype.h: Likewise.
8781 * debug/swprintf_chk.c: Likewise.
8782 * elf/dl-cache.c: Likewise.
8783 * elf/dl-debug.c: Likewise.
8784 * elf/dl-object.c: Likewise.
8785 * grp/initgroups.c: Likewise.
8786 * hurd/Makefile: Likewise.
8787 * hurd/hurd/signal.h: Likewise.
8788 * hurd/hurdfault.c: Likewise.
8789 * hurd/hurdioctl.c: Likewise.
8790 * hurd/hurdlookup.c: Likewise.
8791 * hurd/intr-msg.c: Likewise.
8792 * iconv/gconv_open.c: Likewise.
8793 * libio/swprintf.c: Likewise.
8794 * locale/lc-ctype.c: Likewise.
8795 * locale/nl_langinfo.c: Likewise.
8796 * mach/Machrules: Likewise.
8797 * mach/Makefile: Likewise.
8798 * malloc/obstack.h: Likewise.
8799 * manual/Makefile: Likewise.
8800 * manual/tsort.awk: Likewise.
8801 * misc/bits/stab.def: Likewise.
8802 * nis/nis_print_group_entry.c: Likewise.
8803 * nis/nis_table.c: Likewise.
8804 * nis/nss_compat/compat-pwd.c: Likewise.
8805 * nis/nss_compat/compat-spwd.c: Likewise.
8806 * po/Makefile: Likewise.
8807 * posix/fnmatch.c: Likewise.
8808 * posix/regex.h: Likewise.
8809 * resolv/Makefile: Likewise.
8810 * resolv/nss_dns/dns-network.c: Likewise.
8811 * resolv/res_hconf.c: Likewise.
8812 * scripts/gen-sorted.awk: Likewise.
8813 * soft-fp/soft-fp.h: Likewise.
8814 * stdio-common/printf.h: Likewise.
8815 * stdlib/monetary.h: Likewise.
8816 * stdlib/random.c: Likewise.
8817 * stdlib/random_r.c: Likewise.
8818 * sysdeps/generic/Makefile: Likewise.
8819 * sysdeps/gnu/Makefile: Likewise.
8820 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8848 * sysdeps/mach/hurd/errnos.awk: Likewise.
8849 * sysdeps/mach/hurd/fork.c: Likewise.
8850 * sysdeps/mach/hurd/getcwd.c: Likewise.
8851 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8852 * sysdeps/mach/hurd/mmap.c: Likewise.
8853 * sysdeps/mach/hurd/utimes.c: Likewise.
8854 * sysdeps/mach/hurd/xmknod.c: Likewise.
8855 * sysdeps/posix/profil.c: Likewise.
8856 * sysdeps/posix/readdir_r.c: Likewise.
8857 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8858 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8859 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8860 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8862 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8863 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8867 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8868 * sysdeps/pthread/lio_listio.c: Likewise.
8869 * sysdeps/sparc/dl-procinfo.h: Likewise.
8870 * sysdeps/unix/i386/sysdep.S: Likewise.
8871 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8872 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8873 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8874 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8876 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8877 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8878 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8879 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8880 * sysdeps/wordsize-32/divdi3.c: Likewise.
8881 * time/sys/time.h: Likewise.
8882 * wcsmbs/Makefile: Likewise.
8883
0549fbba
DM
88842013-01-01 David S. Miller <davem@davemloft.net>
8885
a141f1a7
DM
8886 * po/fr.po: Update from translation team.
8887
0549fbba
DM
8888 * catgets/gencat.c: Update copyright year.
8889 * csu/version.c: Likewise.
8890 * debug/catchsegv.sh: Likewise.
8891 * debug/pcprofiledump.c: Likewise.
8892 * debug/xtrace.sh: Likewise.
8893 * elf/ldconfig.c: Likewise.
8894 * elf/ldd.bash.in: Likewise.
8895 * elf/pldd.c: Likewise.
8896 * elf/sotruss.ksh: Likewise.
8897 * elf/sprof.c: Likewise.
8898 * iconv/iconv_prog.c: Likewise.
8899 * iconv/iconvconfig.c: Likewise.
8900 * locale/programs/locale.c: Likewise.
8901 * locale/programs/localedef.c: Likewise.
8902 * login/programs/pt_chown.c: Likewise.
8903 * malloc/memusage.sh: Likewise.
8904 * malloc/memusagestat.c: Likewise.
8905 * malloc/mtrace.pl: Likewise.
8906 * nscd/nscd.c: Likewise.
8907 * nss/getent.c: Likewise.
8908 * nss/makedb.c: Likewise.
8909 * posix/getconf.c: Likewise.
8910
18ea052c
SP
89112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8912
8913 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8914 numbers.
8915
9c89fca6
MF
89162012-12-30 Mike Frysinger <vapier@gentoo.org>
8917
8918 * math/bits/mathcalls.h (modf): Use __nonnull.
8919
085ec079
SP
89202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
8922 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8923 (split): Use macro CN instead of the bare value.
8924 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8925 could be used.
8926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8927 instead of the bare value.
8928 (power1): Likewise.
8929
6d9f97e1
SP
89302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8931
d63f73be
SP
8932 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8933 __ATAN_TWOM.
8934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8935
6d9f97e1
SP
8936 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8937 their values.
8938 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8940 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8941 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8942
4c4febf5
AJ
89432012-12-28 Andreas Jaeger <aj@suse.de>
8944
af5843ef
AJ
8945 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8946 values are from Linux 3.7.
8947
4c4febf5
AJ
8948 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8949 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8950
99136f82
SP
89512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8952
2f216c3c 8953 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8954 TRUE case.
8955
99136f82
SP
8956 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8957 (norm): Likewise.
8958 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8959 variables with preprocessor constants.
8960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8961 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8962 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8963
7fffbdff
BH
89642012-12-27 Bruno Haible <bruno@clisp.org>
8965
8966 [BZ #14317]
8967 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8968 only if needed.
8969
b76eb5f0
SP
89702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8971
31a7fe5c
SP
8972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8973 and use variable directly.
8974 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8975
b76eb5f0
SP
8976 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8977 MPONE.
8978 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8980 variable MPONE.
8981 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8983 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8984 include directive. Remove local variable MPONE.
8985 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8986 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8987 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8988
2c8bfe7d
DM
89892012-12-25 David S. Miller <davem@davemloft.net>
8990
8991 * version.h (RELEASE): Set to "development".
8992 (VERSION): Set to "2.17.90".
8993 * NEWS: Add 2.18 section.
8994
147d03b0
DM
89952012-12-21 David S. Miller <davem@davemloft.net>
8996
8997 * po/hr.po: Update from translation team.
8998
a8ebb2b9
AK
89992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9000
9001 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9002
95b4f1b6
SE
90032012-12-19 Steve Ellcey <sellcey@mips.com>
9004
b2d94007 9005 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9006
cedb2a90
MS
90072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9008
9009 * manual/contrib.texi (Contributors): Spelling correction.
9010
bbf527d6
DM
90112012-12-15 David S. Miller <davem@davemloft.net>
9012
9013 * po/ru.po: Update from translation team.
9014
bc38c906
DM
90152012-12-13 David S. Miller <davem@davemloft.net>
9016
85429b1a
DM
9017 * NEWS: Mention IFUNC testsuite enhancements.
9018
d283e353
DM
9019 * po/pl.po: Update from translation team.
9020 * po/bg.po: Likewise.
9021
bc38c906
DM
9022 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9023 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9024
a181b0d7
DM
90252012-12-11 David S. Miller <davem@davemloft.net>
9026
4641d57e
DM
9027 * po/sv.po: Update from translation team.
9028
f7bc6495
DM
9029 * po/vi.po: Update from translation team.
9030
6fc9048f
DM
9031 * po/cs.po: Update from translation team.
9032
a181b0d7
DM
9033 * po/de.po: Update from translation team.
9034 * po/eo.po: Likewise.
9035 * po/nl.po: Likewise.
9036
f70bfe80
SP
90372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9038
3c8b4190
SP
9039 [BZ #14246]
9040 * manual/argp.texi (Argp Helper Functions): Move node to follow
9041 Argp Parsing State.
9042
f70bfe80
SP
9043 [BZ #14872]
9044 * manual/conf.texi (Limits on File System Capacity): Mention if
9045 terminating null is included in the max size.
9046
188f0adf
AJ
90472012-12-10 Andreas Jaeger <aj@suse.de>
9048
9049 * po/cs.po: Update from translation team.
9050
56e7d3ad
SP
90512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9052
9053 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9054 void pointer and cast to uintptr_t.
9055 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9056 path.
9057 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9058 * sysdeps/s390/s390-64/memset.S: Likewise.
9059
76f2d2ea 90602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9061
9062 [BZ #14833]
9063 * menual/message.texi (Message Translation): Fix typos.
9064 (Helper programs for gettext): Likewise.
9065
67cbf9a2
AS
90662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9067
9068 [BZ #14898]
9069 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9070 Change to -1.
9071
682d0e9a
DM
90722012-12-07 David S. Miller <davem@davemloft.net>
9073
9074 * po/libc.pot: Update.
9075
573cd484
RH
90762012-12-07 Richard Henderson <rth@redhat.com>
9077
7e9da188 9078 [BZ #10114]
573cd484
RH
9079 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9080 normal/normal case to before the switch.
9081 (_FP_DIV): Likewise.
9082
e933a943
MF
90832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9084 Mike Frysinger <vapier@gentoo.org>
9085
9086 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9087 check for __NR_fadvise64_64.
9088
82123268
CM
90892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9090
9091 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9092 0, not just to plain "0" as a statement.
9093 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9094 with cw.
9095
d9814526
JM
90962012-12-06 Joseph Myers <joseph@codesourcery.com>
9097
9098 * NEWS: Use sourceware.org in Bugzilla URL.
9099
7728c574
SP
91002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9101
f16946dd
SP
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9103 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9104
5704bbcb
SP
9105 * stdio-common/tst-put-error.c (do_test): Add newline to the
9106 padded test to ensure flush.
9107
17aa0516
JL
91082012-12-05 Jeff Law <law@redhat.com>
9109
9110 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9111
363313b5
JM
91122012-12-05 Joseph Myers <joseph@codesourcery.com>
9113
effbd42a
JM
9114 * README: Don't refer to ports add-on as distributed separately.
9115 Mention AArch64 in list of systems supported in the ports add-on.
9116
87600365
JM
9117 * LICENSES: Add more non-FSF copyright and license notices.
9118
a0d7066a
JM
9119 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9120 ((unused)).
9121
66ca5a5b
JM
9122 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9123
363313b5
JM
9124 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9125 10000 as width of padded output.
9126
b37984ad
JM
91272012-12-04 Joseph Myers <joseph@codesourcery.com>
9128
9003570a
JM
9129 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9130
b37984ad
JM
9131 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9132 variable LX with __attribute__ ((unused)).
9133 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9134 Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9138 with __attribute__ ((unused)).
9139
c8df52ec
DM
91402012-12-04 David S. Miller <davem@abraco.davemloft.net>
9141
9142 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9143
b3b099af
JM
91442012-12-04 Joseph Myers <joseph@codesourcery.com>
9145
c33aa6e3
JM
9146 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9147 (CFLAGS-nldbl-acos.c): New variable.
9148 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9152 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9153 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9154 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9159 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9160 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9161 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9162 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9167 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9168 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9169 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9170 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9171 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9172 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9239 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9240 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9241 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9242 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9243 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9244 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9245
20f0018d
JM
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9247 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9248
b3b099af
JM
9249 [BZ #14914]
9250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9251 whole low double instead of just low 47 bits when splitting values
9252 into two parts.
9253
029264d1
AM
92542012-12-03 Allan McRae <allan@archlinux.org>
9255
9256 * manual/stdio.texi (Predefined Printf Handlers): Remove
9257 @hsep and @vsep usage.
9258
c9d6789e
MF
92592012-12-03 Mike Frysinger <vapier@gentoo.org>
9260
9261 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9262 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9263
4b7634a5
JL
92642012-12-03 Jeff Law <law@redhat.com>
9265
9266 * time/sys/time.h (settimeofday): Do not mark TV argument
9267 as __nonnull.
9268
eb6cbd24
MF
92692012-12-01 Mike Frysinger <vapier@gentoo.org>
9270
9271 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9272 when currently writing and seek to current position when not.
9273 * libio/Makefile (tests): Remove bug-fclose1.
9274 * libio/bug-fclose1.c: Delete.
9275
f638872a
JM
92762012-12-01 Joseph Myers <joseph@codesourcery.com>
9277
9278 * manual/arith.texi (feenableexcept): Fix typo.
9279 (fedisableexcept): Likewise.
9280
48085d14
RM
92812012-11-30 Roland McGrath <roland@hack.frob.com>
9282
9283 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9284 second, differently-typed declaration, rather than a cast.
9285
1a538b9f
SP
92862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9287
9288 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9289 * include/rpc/svc.h: ... here.
9290
d07f2ff1 92912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9292
9293 [BZ #13013]
9294 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9295 depending n and resplen2 to catch cases where answer
9296 equals answerp2.
9297
c93ec1f0
CD
92982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9299
9300 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9301 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9302
37db69de
MF
93032012-11-29 Mike Frysinger <vapier@gentoo.org>
9304
9305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9306
e10c4e4f
RM
93072012-11-29 Roland McGrath <roland@hack.frob.com>
9308
9309 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9310
2af1b328
JL
93112012-11-28 Jeff Law <law@redhat.com>
9312
9313 [BZ #13761]
9314 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9315 dataset_temporary. Track alloca usage into alloca_used.
9316 If dataset is large allocate and release it via malloc/free.
9317
111db5b1
FW
93182012-06-04 Florian Weimer <fweimer@redhat.com>
9319
f06cc227 9320 [BZ #14197]
111db5b1
FW
9321 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9322
dd694abd
DM
93232012-11-28 David S. Miller <davem@davemloft.net>
9324
9325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9326
9984dd01
JM
93272012-11-28 Joseph Myers <joseph@codesourcery.com>
9328
9329 [BZ #14803]
9330 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9331 of pi/2 rounded to nearest to 64 bits.
9332 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9333 nearest to 64 bits.
9334 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9335 bits.
9336
14bc93a9
JL
93372012-11-28 Jeff Law <law@redhat.com>
9338 Martin Osvald <mosvald@redhat.com>
9339
9340 [BZ #14889]
9341 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9342 * sunrpc/svc.c: Include time.h.
9343 (__svc_accept_failed): New function.
9344 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9345 any reason other than EINTR, call __svc_accept_failed.
9346 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9347 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9348
e3c6aa3a
AS
93492012-11-28 Andreas Schwab <schwab@suse.de>
9350
9351 * scripts/abilist.awk: Also handle indirect functions in .opd
9352 section.
9353
1bead169
JM
93542012-11-28 Joseph Myers <joseph@codesourcery.com>
9355
9356 [BZ #13881]
9357 * sysdeps/x86/fpu/powl_helper.c: New file.
9358 * sysdeps/x86/fpu/Makefile: Likewise.
9359 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9360 (p3): New object.
9361 (__ieee754_powl): Use __powl_helper for finite arguments except
9362 integer exponents below 8.
9363 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9364 (p3): New object.
9365 (__ieee754_powl): Use __powl_helper for finite arguments except
9366 integer exponents below 8.
9367 * math/libm-test.inc (pow_test): Add more tests and enable some
9368 previously disabled tests.
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371
0817d63d
SP
93722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9373 Carlos O'Donell <carlos_odonell@mentor.com>
9374
9375 * nss/makedb.c (is_prime): Assert that input is odd and greater
9376 than 4. Note that fact in a comment too.
9377 (next_prime): Add 4 to input.
9378
de2fd463
SP
93792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9380
9381 [BZ #11741]
9382 * libio/Makefile (tests): Add test case tst-fwrite-error.
9383 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9384 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9385 * libio/tst-fwrite-error.c: New test case.
9386
c515fb51
L
93872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9388
9389 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9390 before casting to void *.
9391 * include/libc-internal.h (__pointer_type): New macro.
9392 (__integer_if_pointer_type_sub): Likewise.
9393 (__integer_if_pointer_type): Likewise.
9394 (cast_to_integer): Likewise.
9395 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9396 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9397 before casting to atomic64_t.
9398 (atomic_exchange_acq): Likewise.
9399 (__arch_exchange_and_add_body): Likewise.
9400 (__arch_add_body): Likewise.
9401 (atomic_add_negative): Likewise.
9402 (atomic_add_zero): Likewise.
9403
4cf77aa9
JM
94042012-11-26 Joseph Myers <joseph@codesourcery.com>
9405
9406 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9407 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9408 (add_fdes): Likewise.
9409 (linear_search_fdes): Likewise.
9410 (binary_search_unencoded_fdes): Likewise.
9411
d260b3b4
AS
94122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9413
9414 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9415
67060746
AC
94162012-11-24 Adam Conrad <adconrad@0c3.net>
9417
9418 * configure.in: Autodetect C++ header directories.
9419 * configure: Regenerated.
9420
800938a1
MF
94212012-11-23 Mike Frysinger <vapier@gentoo.org>
9422
9423 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9424
4e6e34e6
AS
94252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9426
9427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9428
7c7feb47
JM
94292012-11-22 Joseph Myers <joseph@codesourcery.com>
9430
7184dcdf
JM
9431 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9432 LDBL_MANT_DIG == 106]: Disable some tests.
9433 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9434 Likewise.
9435 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9436 Likewise.
9437
0a42601f
JM
9438 [BZ #14871]
9439 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9440 input for small inputs. Return +/- pi/2 for large inputs.
9441 * math/libm-test.inc (atan_test): Add more tests.
9442
79c9b9fe
JM
9443 * sysdeps/generic/unwind-dw2-fde-glibc.c
9444 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9445 __attribute__ ((unused)).
9446
c60d3bf2
JM
9447 [BZ #14645]
9448 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9449 x * y if x and y are nonzero and z is zero.
9450
ef1e0867
JM
9451 [BZ #14811]
9452 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9453 nonzero exponents with absolute value below 0x1p-117 to +/-
9454 0x1p-117.
9455
1468ded3
JM
9456 [BZ #14869]
9457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9458 up arguments below 2**-450, not just those below 2**-500.
9459 * math/libm-test.inc (hypot_test): Add another test.
9460
8e27e3cc
JM
9461 [BZ #14868]
9462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9463 Return a+b for ratio over 2**120, not 2**60.
9464 * math/libm-test.inc (hypot_test): Add another test.
9465
c9c0279b
JM
9466 * math/libm-test.inc (clog_test): Use
9467 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9468 (clog10_test): Likewise.
9469
7c7feb47
JM
9470 [BZ #6778]
9471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9472
fff1530e
AS
94732012-11-22 Andreas Schwab <schwab@suse.de>
9474
9475 * sysdeps/i386/fpu/libm-test-ulps: Update.
9476
94558d30
PT
94772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9478
9479 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9480 printf output with newline.
9481
7e1be741
L
94822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9483
6bfea974
L
9484 [BZ #14865]
9485 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9486 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9487 -z nodlopen, -z initfirst and -z execstack support.
9488 * configure: Regenerated.
9489
7e1be741
L
9490 * elf/elf.h (DF_1_NODIRECT): New macro.
9491 (DF_1_IGNMULDEF): Likewise.
9492 (DF_1_NOKSYMS): Likewise.
9493 (DF_1_NOHDR): Likewise.
9494 (DF_1_EDITED): Likewise.
9495 (DF_1_NORELOC): Likewise.
9496 (DF_1_SYMINTPOSE): Likewise.
9497 (DF_1_GLOBAUDIT): Likewise.
9498 (DF_1_SINGLETON): Likewise.
9499 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9500 DT_1_SUPPORTED_MASK bits.
9501 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9502
105ce2ce
CD
95032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9504
9505 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9506
123be9de
TS
95072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9508
d072f3f7
TS
9509 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9510 macro.
9511
123be9de
TS
9512 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9513 (sendmmsg): Move declarations...
9514 * socket/sys/socket.h: ... here.
9515 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9516 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9517 include it from...
9518 * socket/recvmmsg.c: ... this new file.
9519 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9520 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9521 definition of __sendmmsg hidden.
9522 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9523 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9524 Move ENOSYS stub into and include it from...
9525 * socket/sendmmsg.c: ... this new file.
9526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9527 (sysdep_routines): Move recvmmsg and sendmmsg...
9528 * socket/Makefile (routines): ... here.
9529 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9530 (GLIBC_PRIVATE): Add __sendmmsg.
9531 * include/sys/socket.h (__sendmmsg): Add declarations.
9532 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9533 sendmmsg.
9534
cf9a5d18
JM
95352012-11-20 Joseph Myers <joseph@codesourcery.com>
9536
9537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9538 variable I1 with __attribute__ ((unused)).
9539 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9540
ecd4caf9
JM
95412012-11-19 Joseph Myers <joseph@codesourcery.com>
9542
be14d48f
JM
9543 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9544 DUMMY variables with __attribute__ ((unused)).
9545
ecd4caf9
JM
9546 * bits/byteswap.h: Include <bits/types.h>.
9547 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9548
986cab95
PT
95492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9550
9551 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9552 string_t. Do not manually set errno.
9553 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9554 length with __strnlen. Make sure to both set errno and return it on
9555 failure.
9556
6d33cc9d
DM
95572012-11-19 David S. Miller <davem@davemloft.net>
9558
9559 With help from Joseph Myers.
9560 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9561 very large arguments properly.
9562 * math/libm-test.inc (atan_test): New tests.
9563 (atan2_test): New tests.
9564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9566
ee663277
JM
95672012-11-19 Joseph Myers <joseph@codesourcery.com>
9568
877f2d8e
JM
9569 [BZ #14856]
9570 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9571 Define to 3.
9572
116fc08a
JM
9573 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9574 [POSIX] (EADDRNOTAVAIL): Likewise.
9575 [POSIX] (EAFNOSUPPORT): Likewise.
9576 [POSIX] (EALREADY): Likewise.
9577 [POSIX] (ECONNABORTED): Likewise.
9578 [POSIX] (ECONNREFUSED): Likewise.
9579 [POSIX] (ECONNRESET): Likewise.
9580 [POSIX] (EDESTADDRREQ): Likewise.
9581 [POSIX] (EDQUOT): Likewise.
9582 [POSIX] (EHOSTUNREACH): Likewise.
9583 [POSIX] (EIDRM): Likewise.
9584 [POSIX] (EISCONN): Likewise.
9585 [POSIX] (ELOOP): Likewise.
9586 [POSIX] (EMULTIHOP): Likewise.
9587 [POSIX] (ENETDOWN): Likewise.
9588 [POSIX] (ENETUNREACH): Likewise.
9589 [POSIX] (ENOBUFS): Likewise.
9590 [POSIX] (ENODATA): Likewise.
9591 [POSIX] (ENOLINK): Likewise.
9592 [POSIX] (ENOMSG): Likewise.
9593 [POSIX] (ENOPROTOOPT): Likewise.
9594 [POSIX] (ENOSR): Likewise.
9595 [POSIX] (ENOSTR): Likewise.
9596 [POSIX] (ENOTCONN): Likewise.
9597 [POSIX] (ENOTSOCK): Likewise.
9598 [POSIX] (EOPNOTSUPP): Likewise.
9599 [POSIX] (EOVERFLOW): Likewise.
9600 [POSIX] (EPROTO): Likewise.
9601 [POSIX] (EPROTONOSUPPORT): Likewise.
9602 [POSIX] (EPROTOTYPE): Likewise.
9603 [POSIX] (ESTALE): Likewise.
9604 [POSIX] (ETIME): Likewise.
9605 [POSIX] (ETXTBSY): Likewise.
9606 [POSIX] (EWOULDBLOCK): Likewise.
9607 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9608 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9609 [POSIX] (SEEK_CUR): Likewise.
9610 [POSIX] (SEEK_END): Likewise.
9611 [POSIX || UNIX98] (mode_t): Do not require.
9612 [POSIX] (off_t): Likewise.
9613 [POSIX] (pid_t): Likewise.
9614 [POSIX] (sys/stat.h): Do not allow header.
9615 [POSIX] (unistd.h): Likewise.
9616 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9617 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9619 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9620 require.
9621 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9622 sigevent): Specify elements.
9623 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9624 entry.
9625 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9626 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9627
a483863f
JM
9628 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9629 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9630 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9631 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9632 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9633 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9634 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9635 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9637 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9638 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9639 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9640 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9641 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9642 Likewise.
9643 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9644 Likewise.
9645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9646 Likewise.
9647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9648 Likewise.
9649 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9650 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9651 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9652 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9654 Specify lower bound on value.
9655 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9661 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9662 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9663 value.
9664 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9665 as optional.
9666 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9679 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9682 entry.
9683 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9684 optional.
9685 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9686 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9687 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9688 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9691 Likewise.
9692 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9693 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9694 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9695 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9697 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9699 as optional.
9700 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9701 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9704 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9705 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9706 specify as optional.
9707 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9708 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9709 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9710 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9711 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9712 [XPG3] (NL_LANGMAX): Likewise.
9713 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9714 [POSIX || XPG3] (NL_NMAX): Likewise.
9715 [POSIX || XPG3] (NL_SETMAX): Likewise.
9716 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9717 [XPG3] (NZERO): Likewise.
9718 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9719 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9720 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9721 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9722 (REG_ERANGE): Expect.
9723 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9724 optional-constant.
9725 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9726 Use (void) in prototype.
9727 [POSIX] (*_t): Allow.
9728 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9729 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9730 (WRDE_BADVAL): Expect.
9731
5ba924e3
JM
9732 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9733 expect.
9734 [XPG3 || XPG4] (O_RSYNC): Likewise.
9735 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9736 Likewise.
9737 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9738 [XPG3 || XPG4] (sigqueue): Likewise.
9739 [XPG3 || XPG4] (sigtimedwait): Likewise.
9740 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9741 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9742 [XPG3 || XPG4] (vsnprintf): Likewise.
9743 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9744 Likewise.
9745 [XPG3 || XPG4] (blksize_t): Likewise.
9746 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9747 Likewise.
9748 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9749 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9750 [XPG3 || XPG4] (struct itimerspec): Likewise.
9751 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9752 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9753 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9754 [XPG3 || XPG4] (clockid_t): Likewise.
9755 [XPG3 || XPG4] (timer_t): Likewise.
9756 [XPG3 || XPG4] (clock_getres): Likewise.
9757 [XPG3 || XPG4] (clock_gettime): Likewise.
9758 [XPG3 || XPG4] (clock_settime): Likewise.
9759 [XPG3 || XPG4] (nanosleep): Likewise.
9760 [XPG3 || XPG4] (timer_create): Likewise.
9761 [XPG3 || XPG4] (timer_delete): Likewise.
9762 [XPG3 || XPG4] (timer_gettime): Likewise.
9763 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9764 [XPG3 || XPG4] (timer_settime): Likewise.
9765 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9766 [XPG3 || XPG4] (getlogin_r): Likewise.
9767 [XPG3 || XPG4] (pread): Likewise.
9768 [XPG3 || XPG4] (pthread_atfork): Likewise.
9769 [XPG3 || XPG4] (pwrite): Likewise.
9770
ee663277
JM
9771 [BZ #14835]
9772 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9773 <bits/siginfo.h>.
9774
942caa16
PT
97752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9776
e19af380
PT
9777 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9778 finalizing MALLSTREAM.
9779
942caa16
PT
9780 * sysdeps/mach/hurd/syncfs.c: New file.
9781
cfde9b46
SP
97822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9783
9784 [BZ #14719]
9785 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9786 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9787 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9788 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9789 (_nss_dns_gethostbyname4_r): Likewise.
9790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9791 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9792
f6da27e5
PH
97932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9794
9795 [BZ #13763]
9796 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9797
6665d4a2
SM
97982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9799
1f51ee92
SM
9800 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9801 * elf/cache.c (print_entry): Print ",AArch64" for
9802 FLAG_AARCH64_LIB64
9803
6665d4a2
SM
9804 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9805 * elf/cache.c (print_entry): Print ",hard-float" for
9806 FLAG_ARM_LIBHF.
9807
05b227bd
DM
98082012-11-18 David S. Miller <davem@davemloft.net>
9809
9810 With help from Joseph Myers.
9811 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9812 cutoff to 2**-13.
9813 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9814 cutoff to 2**-25.
9815 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9816 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9817 small.
9818 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9819 * math/libm-test.inc (y0_test): New tests.
9820 (y1_test): New tests.
9821 * sysdeps/i386/fpu/libm-test-ulps: Update.
9822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9824
786b0b67
AS
98252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9826
9827 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9828 64-bit targets.
9829 * configure: Regenerated.
9830
8e18b86d
DM
98312012-11-17 David S. Miller <davem@davemloft.net>
9832
9833 [BZ #14811]
9834 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9835 nonzero exponents with absolute value below 0x1p-128 to +/-
9836 0x1p-128.
9837
531f1ae0
JM
98382012-11-17 Joseph Myers <joseph@codesourcery.com>
9839
12df29e2
JM
9840 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9841
150dc1a0
JM
9842 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9843
531f1ae0
JM
9844 * posix/getconf-speclist.c: New file.
9845 * posix/posix-envs.def: Likewise.
9846 * posix/confstr.c (START_ENV_GROUP): New macro.
9847 (END_ENV_GROUP): Likewise.
9848 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9849 (KNOWN_PRESENT_ENV_STRING): Likewise.
9850 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9851 (UNKNOWN_ENVIRONMENT): Likewise.
9852 (confstr): Include posix-envs.def instead of handling
9853 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9854 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9855 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9856 (END_ENV_GROUP): Likewise.
9857 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9858 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9859 (UNKNOWN_ENVIRONMENT): Likewise.
9860 (__sysconf): Include posix-envs.def instead of handling associated
9861 cases directly here.
9862 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9863 preprocessing getconf-speclist.c rather than running getconf or
9864 generating empty file.
9865
a93f9cbc
PT
98662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9867
9868 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9869
d64d9f87
AL
98702012-11-16 Andrej Lajovic <natrij@gmail.com>
9871
9872 [BZ #14672]
9873 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9874
447885eb
DM
98752012-11-16 David S. Miller <davem@davemloft.net>
9876
9877 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9878 smaller than LDBL_EPSILON/2.0L, just return xm1.
9879
bcbf9830
L
98802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9881
9882 * elf/tst-array1.c (init): Set constructor priority to 1000.
9883 (fini): Set destructor priority to 1000.
9884 * elf/tst-array2dep.c: Likewise.
9885
2b766585
SP
98862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9887
9888 [BZ #11741]
9889 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9890 (_IO_new_file_xsputn): Also return EOF if none of the input
9891 data was written when overflow failed.
9892 * libio/iopadn.c (_IO_padn): Likewise.
9893 * libio/iowpadn.c (_IO_wpadn): Likewise.
9894 * stdio-common/tst-put-error.c: Add copyright notice.
9895 (do_test): Add case for printing padded string.
9896 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9897 _IO_padn returned error.
9898 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9899 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9900 return EOF.
9901
b1848fde
SP
99022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
9904 * libio/libioP.h: Add comment note that the references to C++
9905 bits are now obsolete.
9906
2fd89785
MS
99072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9908
9909 * math/libm-test.inc (check_complex): Use asprintf.
9910
e3ea5409
JM
99112012-11-14 Joseph Myers <joseph@codesourcery.com>
9912
9913 * debug/pcprofiledump.c (print_version): Update copyright year.
9914 * malloc/memusagestat.c (print_version): Likewise.
9915
2e64d265
L
99162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 [BZ #14831]
9919 * elf/Makefile (tests): Add tst-audit8.
9920 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9921 ($(objpfx)tst-audit8.out): New target.
9922 (tst-audit8-ENV): New variable.
9923 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9924 audit if l_reloc_result is NULL.
9925 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9926 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9927 * elf/tst-audit8.c: New file.
9928
c485e4d2
MS
99292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9930
9931 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9932 * misc/Makefile (CFLAGS-select.c): Define.
9933 * posix/Makefile (CFLAGS-pause.c): Define.
9934
3a0d900a
DM
99352012-11-13 David S. Miller <davem@davemloft.net>
9936
9937 * crypt/Makefile: Move test targets after toplevel Rules
9938 inclusion. Grab any necessary sysdep routines when linking.
9939 * crypt/md5.c (md5_process_block): Remove define, we will always
9940 name it __md5_process_block.
9941 (md5_finish_ctx): Update md5_process_block call.
9942 (md5_stream): Likewise.
9943 (md5_process_bytes): Likewise.
9944 (md5_process_block): Rename to __md5_process_block and move to ...
9945 * crypt/md5-block.c: ... here.
9946 * crypt/sha256.c (sha256_process_block): Move to ...
9947 * crypt/sha256-block.c: ... here.
9948 * crypt/sha512.c (sha512_process_block): Move to ...
9949 * crypt/sha512-block.c: ... here.
9950 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9951 path.
9952 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9953 * sysdeps/sparc/sparc64/multiarch/Makefile
9954 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9955 crypt subdir.
9956 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9957 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9958 multiarch changes.
9959 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9960 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9961 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9962 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9963 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9964 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9965 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9966 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9968 file.
9969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9970 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9971 file.
9972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9973
8ca89318
JM
99742012-11-13 Joseph Myers <joseph@codesourcery.com>
9975
e27d476a
JM
9976 * timezone/tzselect.ksh: Update from tzcode git revision
9977 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9978 * timezone/zdump.c: Likewise.
9979 * timezone/zic.c: Likewise.
9980 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9981 in TZVERSION setting, not $(PKGVERSION).
9982 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9983 REPORT_BUGS_TO settings.
9984
8ca89318
JM
9985 [BZ #14838]
9986 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9987 macro.
9988
47594329
MS
99892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9990
9991 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9992 detection to immediately after _FP_ROUND().
9993 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9994 bits are 0.
9995
640ac3f1
DM
99962012-11-11 David S. Miller <davem@davemloft.net>
9997
9998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9999 inttypes.h
10000 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10001 __close rather than their public counterparts.
10002
3d2577bb
JM
100032012-11-10 Joseph Myers <joseph@codesourcery.com>
10004
10005 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10006 file.
10007 [UNIX98] (sem_timedwait): Do not expect.
10008 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10009 [XPG4 || UNIX98] (sockatmark): Do not expect.
10010 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10011 (clock_getcpuclockid): Do not expect.
10012 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10013 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10014 Do not expect.
10015 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10016 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10017 [UNIX98] (vwscanf): Likewise.
10018 [UNIX98] (vswscanf): Likewise.
10019
fb1ae1ee
JM
100202012-11-09 Joseph Myers <joseph@codesourcery.com>
10021
9ec6f8bd
JM
10022 * timezone/version.h: Remove file.
10023 * timezone/README: Do not refer to version.h.
10024 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10025 $(objpfx)version.h.
10026 ($(objpfx)zdump.o): Likewise.
c3f81911 10027 ($(objpfx)version.h): New target.
9ec6f8bd 10028
0aa8f8a1
JM
10029 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10030 2012i.
10031 * timezone/README: Don't mention modification to tzselect.ksh.
10032 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10033 work on unmodified tzselect.ksh. Substitute version numbers in
10034 tzselect.ksh.
10035
4e87147f
JM
10036 * Makefile (format-me): Remove.
10037 (INSTALL): Adjust indentation. Use commands directly instead of
10038 using $(format-me).
10039
8b748aed
JM
10040 * aclocal.m4 (ACX_PKGVERSION): New macro.
10041 (ACX_BUGURL): Likewise.
10042 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10043 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10044 (REPORT_BUGS_TO): Likewise.
10045 * configure: Regenerated.
10046 * config.h.in (PKGVERSION): New macro.
10047 (REPORT_BUGS_TO): Likewise.
10048 * config.make.in (PKGVERSION): New variable.
10049 (PKGVERSION_TEXI): Likewise.
10050 (REPORT_BUGS_TO): Likewise.
10051 (REPORT_BUGS_TEXI): Likewise.
10052 * Makefile (format-me): Use -I$(common-objpfx)manual.
10053 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10054 ($(common-objpfx)manual/%): New target.
10055 (manual/%): Remove target.
10056 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10057 (print_version): Use PKGVERSION.
10058 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10059 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10060 and REPORT_BUGS_TO.
10061 ($(objpfx)xtrace): Likewise.
10062 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10063 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10064 (print_version): Use PKGVERSION.
10065 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10066 (do_version): Use PKGVERSION.
10067 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10068 REPORT_BUGS_TO.
10069 (common-ldd-rewrite): Likewise.
10070 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10071 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10072 (print_version): Use PKGVERSION.
10073 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10074 * elf/pldd.c (argp_program_bug_address): Remove variable.
10075 (more_help): New function.
10076 (argp): Use more_help.
10077 (print_version): Use PKGVERSION.
10078 * elf/sln.c (main): Use PKGVERSION.
10079 (usage): Use REPORT_BUGS_TO.
10080 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10081 (top level): Use PKGVERSION.
10082 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10083 (print_version): Use PKGVERSION.
10084 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10085 (print_version): Use PKGVERSION.
10086 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10087 (print_version): Use PKGVERSION.
10088 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10089 (print_version): Use PKGVERSION.
10090 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10091 (print_version): Use PKGVERSION.
10092 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10093 (print_version): Use PKGVERSION.
10094 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10095 and BUGURL.
10096 ($(objpfx)memusage): Likewise.
10097 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10098 (do_version): Use PKGVERSION.
10099 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10100 (print_version): Use PKGVERSION.
10101 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10102 ($PKGVERSION): New variable.
10103 ($REPORT_BUGS_TO): Likewise.
10104 (usage): Use $REPORT_BUGS_TO.
10105 (top level): Use $PKGVERSION.
10106 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10107 ($(objpfx)pkgvers.texi): New rule.
10108 ($(objpfx)stamp-pkgvers): Likewise.
10109 * manual/install.texi: Include pkgvers.texi.
10110 (--with-pkgversion): Document new configure option.
10111 (--with-bugurl): Likewise.
10112 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10113 than necessarily for this particular distribution. Use
10114 REPORT_BUGS_TO for where to report bugs.
10115 * INSTALL: Regenerated.
10116 * manual/libc.texinfo: Include pkgvers.texi.
10117 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10118 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10119 (print_version): Use PKGVERSION.
10120 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10121 (print_version): Use PKGVERSION.
10122 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10123 (print_version): Use PKGVERSION.
10124 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10125 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10126 macro.
10127 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10128 (print_version): Use PKGVERSION.
10129 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10130 (print_version): Use PKGVERSION.
10131 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10132 and PKGVERSION.
10133
92e4b6a9
JM
10134 * timezone/checktab.awk: Update from tzcode 2012i.
10135 * timezone/ialloc.c: Likewise.
10136 * timezone/private.h: Likewise.
10137 * timezone/scheck.c: Likewise.
10138 * timezone/tzfile.h: Likewise.
10139 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10140 (TZVERSION): Hardcode tzcode version number.
10141 * timezone/zdump.c: Update from tzcode 2012i.
10142 * timezone/zic.c: Likewise.
10143 * timezone/version.h: New file.
10144 * timezone/README: Describe version.h. Update upstream location.
10145
9bde902c
JM
10146 [BZ #14824]
10147 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10148 (mktemp): Enable declaration.
10149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10153 Likewise.
10154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10155 Likewise.
10156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10157 Likewise.
10158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10159 Likewise.
10160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10161 Likewise.
10162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10163 Likewise.
10164
fb1ae1ee
JM
10165 [BZ #14821]
10166 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10167 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10168 for copies of such integer values.
10169 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10170 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10171
2c1adbcb
AJ
101722012-11-09 Andreas Jaeger <aj@suse.de>
10173
10174 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10175 definitions and declarations that are provided by
10176 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10177
d0f8457e
AK
101782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10179
3a235abb 10180 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10181 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10182 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10183 definition.
10184
57241e26
MS
101852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10186
10187 * elf/elf.h: Update comment before AArch64 relocations.
10188
60e8270d
DM
101892012-11-07 David S. Miller <davem@davemloft.net>
10190
10191 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10193 (__start_context): Declare.
10194 (__makecontext_ret): Delete.
10195 (__makecontext): Hook up __start_context instead of
10196 __makecontext_ret.
10197 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10198 (sysdep_routines): Add __start_context when in stdlib.
10199
0fbb0fbc
JM
102002012-11-07 Joseph Myers <joseph@codesourcery.com>
10201
10202 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10203 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10204 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10205 hardcoded "nm".
10206 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10207 (READELF): New variable. Use it instead of hardcoded "readelf".
10208
eb48db7e
L
102092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10210
10211 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10212 * sysdeps/x86/Makefile: Here.
10213 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10214 * sysdeps/x86/tst-xmmymm.sh: This.
10215
05bcf62a
JM
102162012-11-07 Joseph Myers <joseph@codesourcery.com>
10217
c4b6cf53
JM
10218 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10219 expectations.
10220 [UNIX98] (pthread_barrier_t): Do not expect.
10221 [UNIX98] (pthread_barrierattr_t): Likewise.
10222 [UNIX98] (pthread_spinlock_t): Likewise.
10223 [UNIX98] (pthread_barrier_destroy): Likewise.
10224 [UNIX98] (pthread_barrier_init): Likewise.
10225 [UNIX98] (pthread_barrier_wait): Likewise.
10226 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10227 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10228 [UNIX98] (pthread_barrierattr_init): Likewise.
10229 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10230 [UNIX98] (pthread_getcpuclockid): Likewise.
10231 [UNIX98] (pthread_mutex_timedlock): Likewise.
10232 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10233 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10234 [UNIX98] (pthread_sigmask): Likewise.
10235 [UNIX98] (pthread_spin_destroy): Likewise.
10236 [UNIX98] (pthread_spin_init): Likewise.
10237 [UNIX98] (pthread_spin_lock): Likewise.
10238 [UNIX98] (pthread_spin_trylock): Likewise.
10239 [UNIX98] (pthread_spin_unlock): Likewise.
10240 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10241 Do not expect.
10242 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10244 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10245 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10246 [XPG3 || XPG4] (pthread_key_t): Likewise.
10247 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10248 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10249 [XPG3 || XPG4] (pthread_once_t): Likewise.
10250 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10251 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10253 [XPG3 || XPG4] (pthread_t): Likewise.
10254
cbe6e120
JM
10255 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10256 not expect.
10257 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10258
1b126443
JM
10259 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10260 Change function return type to int.
10261
b961a573
JM
10262 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10263 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10264 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10265 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10266 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10267 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10268 [!POSIX] (posix_madvise): Likewise.
10269 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10270 && !UNIX98].
10271 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10272 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10273 (mode_t): Likewise.
10274 (posix_mem_offset): Likewise.
10275 (posix_typed_mem_get_info): Likewise.
10276 (posix_typed_mem_open): Likewise.
10277
9e188909
JM
10278 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10279 Change condition to [XOPEN2K8].
10280
05bcf62a
JM
10281 * conform/conformtest.pl: Preprocess allow-header data with -x c
10282 instead of from stdin.
10283 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10284 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10285 [C99-based standards] (cerfc): Likewise.
10286 [C99-based standards] (cexp2): Likewise.
10287 [C99-based standards] (cexpm1): Likewise.
10288 [C99-based standards] (clog10): Likewise.
10289 [C99-based standards] (clog1p): Likewise.
10290 [C99-based standards] (clog2): Likewise.
10291 [C99-based standards] (clgamma): Likewise.
10292 [C99-based standards] (ctgamma): Likewise.
10293 [C99-based standards] (cerff): Likewise.
10294 [C99-based standards] (cerfcf): Likewise.
10295 [C99-based standards] (cexp2f): Likewise.
10296 [C99-based standards] (cexpm1f): Likewise.
10297 [C99-based standards] (clog10f): Likewise.
10298 [C99-based standards] (clog1pf): Likewise.
10299 [C99-based standards] (clog2f): Likewise.
10300 [C99-based standards] (clgammaf): Likewise.
10301 [C99-based standards] (ctgammaf): Likewise.
10302 [C99-based standards] (cerfl): Likewise.
10303 [C99-based standards] (cerfcl): Likewise.
10304 [C99-based standards] (cexp2l): Likewise.
10305 [C99-based standards] (cexpm1l): Likewise.
10306 [C99-based standards] (clog10l): Likewise.
10307 [C99-based standards] (clog1pl): Likewise.
10308 [C99-based standards] (clog2l): Likewise.
10309 [C99-based standards] (clgammal): Likewise.
10310 [C99-based standards] (ctgammal): Likewise.
10311 * conform/data/inttypes.h-data [C99-based standards]: Include
10312 stdint.h-data. Remove all expectations for stdint.h contents.
10313 [C99-based standards] (PRI*): Do not allow.
10314 [C99-based standards] (SCN*): Likewise.
10315 [C99-based standards] (*_t): Likewise.
10316 [C99-based-standards] (PRId8): Expect macro.
10317 [C99-based-standards] (PRIi8): Likewise.
10318 [C99-based-standards] (PRIo8): Likewise.
10319 [C99-based-standards] (PRIu8): Likewise.
10320 [C99-based-standards] (PRIx8): Likewise.
10321 [C99-based-standards] (PRIX8): Likewise.
10322 [C99-based-standards] (SCNd8): Likewise.
10323 [C99-based-standards] (SCNi8): Likewise.
10324 [C99-based-standards] (SCNo8): Likewise.
10325 [C99-based-standards] (SCNu8): Likewise.
10326 [C99-based-standards] (SCNx8): Likewise.
10327 [C99-based-standards] (PRIdLEAST8): Likewise.
10328 [C99-based-standards] (PRIiLEAST8): Likewise.
10329 [C99-based-standards] (PRIoLEAST8): Likewise.
10330 [C99-based-standards] (PRIuLEAST8): Likewise.
10331 [C99-based-standards] (PRIxLEAST8): Likewise.
10332 [C99-based-standards] (PRIXLEAST8): Likewise.
10333 [C99-based-standards] (SCNdLEAST8): Likewise.
10334 [C99-based-standards] (SCNiLEAST8): Likewise.
10335 [C99-based-standards] (SCNoLEAST8): Likewise.
10336 [C99-based-standards] (SCNuLEAST8): Likewise.
10337 [C99-based-standards] (SCNxLEAST8): Likewise.
10338 [C99-based-standards] (PRIdFAST8): Likewise.
10339 [C99-based-standards] (PRIiFAST8): Likewise.
10340 [C99-based-standards] (PRIoFAST8): Likewise.
10341 [C99-based-standards] (PRIuFAST8): Likewise.
10342 [C99-based-standards] (PRIxFAST8): Likewise.
10343 [C99-based-standards] (PRIXFAST8): Likewise.
10344 [C99-based-standards] (SCNdFAST8): Likewise.
10345 [C99-based-standards] (SCNiFAST8): Likewise.
10346 [C99-based-standards] (SCNoFAST8): Likewise.
10347 [C99-based-standards] (SCNuFAST8): Likewise.
10348 [C99-based-standards] (SCNxFAST8): Likewise.
10349 [C99-based-standards] (PRId16): Likewise.
10350 [C99-based-standards] (PRIi16): Likewise.
10351 [C99-based-standards] (PRIo16): Likewise.
10352 [C99-based-standards] (PRIu16): Likewise.
10353 [C99-based-standards] (PRIx16): Likewise.
10354 [C99-based-standards] (PRIX16): Likewise.
10355 [C99-based-standards] (SCNd16): Likewise.
10356 [C99-based-standards] (SCNi16): Likewise.
10357 [C99-based-standards] (SCNo16): Likewise.
10358 [C99-based-standards] (SCNu16): Likewise.
10359 [C99-based-standards] (SCNx16): Likewise.
10360 [C99-based-standards] (PRIdLEAST16): Likewise.
10361 [C99-based-standards] (PRIiLEAST16): Likewise.
10362 [C99-based-standards] (PRIoLEAST16): Likewise.
10363 [C99-based-standards] (PRIuLEAST16): Likewise.
10364 [C99-based-standards] (PRIxLEAST16): Likewise.
10365 [C99-based-standards] (PRIXLEAST16): Likewise.
10366 [C99-based-standards] (SCNdLEAST16): Likewise.
10367 [C99-based-standards] (SCNiLEAST16): Likewise.
10368 [C99-based-standards] (SCNoLEAST16): Likewise.
10369 [C99-based-standards] (SCNuLEAST16): Likewise.
10370 [C99-based-standards] (SCNxLEAST16): Likewise.
10371 [C99-based-standards] (PRIdFAST16): Likewise.
10372 [C99-based-standards] (PRIiFAST16): Likewise.
10373 [C99-based-standards] (PRIoFAST16): Likewise.
10374 [C99-based-standards] (PRIuFAST16): Likewise.
10375 [C99-based-standards] (PRIxFAST16): Likewise.
10376 [C99-based-standards] (PRIXFAST16): Likewise.
10377 [C99-based-standards] (SCNdFAST16): Likewise.
10378 [C99-based-standards] (SCNiFAST16): Likewise.
10379 [C99-based-standards] (SCNoFAST16): Likewise.
10380 [C99-based-standards] (SCNuFAST16): Likewise.
10381 [C99-based-standards] (SCNxFAST16): Likewise.
10382 [C99-based-standards] (PRId32): Likewise.
10383 [C99-based-standards] (PRIi32): Likewise.
10384 [C99-based-standards] (PRIo32): Likewise.
10385 [C99-based-standards] (PRIu32): Likewise.
10386 [C99-based-standards] (PRIx32): Likewise.
10387 [C99-based-standards] (PRIX32): Likewise.
10388 [C99-based-standards] (SCNd32): Likewise.
10389 [C99-based-standards] (SCNi32): Likewise.
10390 [C99-based-standards] (SCNo32): Likewise.
10391 [C99-based-standards] (SCNu32): Likewise.
10392 [C99-based-standards] (SCNx32): Likewise.
10393 [C99-based-standards] (PRIdLEAST32): Likewise.
10394 [C99-based-standards] (PRIiLEAST32): Likewise.
10395 [C99-based-standards] (PRIoLEAST32): Likewise.
10396 [C99-based-standards] (PRIuLEAST32): Likewise.
10397 [C99-based-standards] (PRIxLEAST32): Likewise.
10398 [C99-based-standards] (PRIXLEAST32): Likewise.
10399 [C99-based-standards] (SCNdLEAST32): Likewise.
10400 [C99-based-standards] (SCNiLEAST32): Likewise.
10401 [C99-based-standards] (SCNoLEAST32): Likewise.
10402 [C99-based-standards] (SCNuLEAST32): Likewise.
10403 [C99-based-standards] (SCNxLEAST32): Likewise.
10404 [C99-based-standards] (PRIdFAST32): Likewise.
10405 [C99-based-standards] (PRIiFAST32): Likewise.
10406 [C99-based-standards] (PRIoFAST32): Likewise.
10407 [C99-based-standards] (PRIuFAST32): Likewise.
10408 [C99-based-standards] (PRIxFAST32): Likewise.
10409 [C99-based-standards] (PRIXFAST32): Likewise.
10410 [C99-based-standards] (SCNdFAST32): Likewise.
10411 [C99-based-standards] (SCNiFAST32): Likewise.
10412 [C99-based-standards] (SCNoFAST32): Likewise.
10413 [C99-based-standards] (SCNuFAST32): Likewise.
10414 [C99-based-standards] (SCNxFAST32): Likewise.
10415 [C99-based-standards] (PRId64): Likewise.
10416 [C99-based-standards] (PRIi64): Likewise.
10417 [C99-based-standards] (PRIo64): Likewise.
10418 [C99-based-standards] (PRIu64): Likewise.
10419 [C99-based-standards] (PRIx64): Likewise.
10420 [C99-based-standards] (PRIX64): Likewise.
10421 [C99-based-standards] (SCNd64): Likewise.
10422 [C99-based-standards] (SCNi64): Likewise.
10423 [C99-based-standards] (SCNo64): Likewise.
10424 [C99-based-standards] (SCNu64): Likewise.
10425 [C99-based-standards] (SCNx64): Likewise.
10426 [C99-based-standards] (PRIdLEAST64): Likewise.
10427 [C99-based-standards] (PRIiLEAST64): Likewise.
10428 [C99-based-standards] (PRIoLEAST64): Likewise.
10429 [C99-based-standards] (PRIuLEAST64): Likewise.
10430 [C99-based-standards] (PRIxLEAST64): Likewise.
10431 [C99-based-standards] (PRIXLEAST64): Likewise.
10432 [C99-based-standards] (SCNdLEAST64): Likewise.
10433 [C99-based-standards] (SCNiLEAST64): Likewise.
10434 [C99-based-standards] (SCNoLEAST64): Likewise.
10435 [C99-based-standards] (SCNuLEAST64): Likewise.
10436 [C99-based-standards] (SCNxLEAST64): Likewise.
10437 [C99-based-standards] (PRIdFAST64): Likewise.
10438 [C99-based-standards] (PRIiFAST64): Likewise.
10439 [C99-based-standards] (PRIoFAST64): Likewise.
10440 [C99-based-standards] (PRIuFAST64): Likewise.
10441 [C99-based-standards] (PRIxFAST64): Likewise.
10442 [C99-based-standards] (PRIXFAST64): Likewise.
10443 [C99-based-standards] (SCNdFAST64): Likewise.
10444 [C99-based-standards] (SCNiFAST64): Likewise.
10445 [C99-based-standards] (SCNoFAST64): Likewise.
10446 [C99-based-standards] (SCNuFAST64): Likewise.
10447 [C99-based-standards] (SCNxFAST64): Likewise.
10448 [C99-based-standards] (PRIdMAX): Likewise.
10449 [C99-based-standards] (PRIiMAX): Likewise.
10450 [C99-based-standards] (PRIoMAX): Likewise.
10451 [C99-based-standards] (PRIuMAX): Likewise.
10452 [C99-based-standards] (PRIxMAX): Likewise.
10453 [C99-based-standards] (PRIXMAX): Likewise.
10454 [C99-based-standards] (SCNdMAX): Likewise.
10455 [C99-based-standards] (SCNiMAX): Likewise.
10456 [C99-based-standards] (SCNoMAX): Likewise.
10457 [C99-based-standards] (SCNuMAX): Likewise.
10458 [C99-based-standards] (SCNxMAX): Likewise.
10459 [C99-based-standards] (PRIdPTR): Likewise.
10460 [C99-based-standards] (PRIiPTR): Likewise.
10461 [C99-based-standards] (PRIoPTR): Likewise.
10462 [C99-based-standards] (PRIuPTR): Likewise.
10463 [C99-based-standards] (PRIxPTR): Likewise.
10464 [C99-based-standards] (PRIXPTR): Likewise.
10465 [C99-based-standards] (SCNdPTR): Likewise.
10466 [C99-based-standards] (SCNiPTR): Likewise.
10467 [C99-based-standards] (SCNoPTR): Likewise.
10468 [C99-based-standards] (SCNuPTR): Likewise.
10469 [C99-based-standards] (SCNxPTR): Likewise.
10470 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10471 allow.
10472 * conform/data/stdint.h-data: Update comments to clarify
10473 requirements.
10474 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10475 type.
10476 [C99-based standards] (INT8_MAX): Likewise.
10477 [C99-based standards] (INT16_MIN): Likewise.
10478 [C99-based standards] (INT16_MAX): Likewise.
10479 [C99-based standards] (INT32_MIN): Likewise.
10480 [C99-based standards] (INT32_MAX): Likewise.
10481 [C99-based standards] (INT64_MIN): Likewise.
10482 [C99-based standards] (INT64_MAX): Likewise.
10483 [C99-based standards] (UINT8_MAX): Likewise.
10484 [C99-based standards] (UINT16_MAX): Likewise.
10485 [C99-based standards] (UINT32_MAX): Likewise.
10486 [C99-based standards] (UINT64_MAX): Likewise.
10487 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10488 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10489 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10490 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10491 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10492 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10493 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10494 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10495 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10496 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10497 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10498 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10499 [C99-based standards] (INT_FAST8_MIN): Likewise.
10500 [C99-based standards] (INT_FAST8_MAX): Likewise.
10501 [C99-based standards] (INT_FAST16_MIN): Likewise.
10502 [C99-based standards] (INT_FAST16_MAX): Likewise.
10503 [C99-based standards] (INT_FAST32_MIN): Likewise.
10504 [C99-based standards] (INT_FAST32_MAX): Likewise.
10505 [C99-based standards] (INT_FAST64_MIN): Likewise.
10506 [C99-based standards] (INT_FAST64_MAX): Likewise.
10507 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10508 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10509 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10510 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10511 [C99-based standards] (INTPTR_MIN): Likewise.
10512 [C99-based standards] (INTPTR_MAX): Likewise.
10513 [C99-based standards] (UINTPTR_MAX): Likewise.
10514 [C99-based standards] (INTMAX_MIN): Likewise.
10515 [C99-based standards] (INTMAX_MAX): Likewise.
10516 [C99-based standards] (UINTMAX_MAX): Likewise.
10517 [C99-based standards] (PTRDIFF_MIN): Likewise.
10518 [C99-based standards] (PTRDIFF_MAX): Likewise.
10519 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10520 [C99-based standards] (SIZE_MAX): Likewise.
10521 [C99-based standards] (WCHAR_MAX): Likewise.
10522 [C99-based standards] (WINT_MAX): Likewise.
10523 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10524 constraint on value.
10525 [C99-based standards] (WCHAR_MIN): Likewise.
10526 [C99-based standards] (WINT_MIN): Likewise.
10527 [C99-based standards] (*_t): Allow.
10528 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10529 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10530 Include math.h-data and complex.h-data. Remove all expectations
10531 of math.h and complex.h contents.
10532 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10533 at end of line.
10534 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10535 (struct tm): Expect tag.
10536 [C99-based-standards] (wcstof): Expect function.
10537 [C99-based-standards] (wcstold): Likewise.
10538 [C99-based-standards] (wcstoll): Likewise.
10539 [C99-based-standards] (wcstoull): Likewise.
10540 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10541 macro-int-constant. Specify type.
10542 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10543 constraint on value.
10544 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10545 Specify type.
10546 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10547 Specify value.
10548 [ISO C standards]: Do not allow headers.
10549 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10550 wcs[abcdefghijklmnopqrstuvwxyz]*.
10551 [ISO C standards] (*_t): Do not allow.
10552 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10553 Expect function.
10554 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10555 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10556 Specify type.
10557 [ISO C standards]: Do not allow headers.
10558 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10559 is[abcdefghijklmnopqrstuvwxyz]*.
10560 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10561 to[abcdefghijklmnopqrstuvwxyz]*.
10562 [ISO C standards] (*_t): Do not allow.
10563 * conform/data/stdalign.h-data: New file.
10564 * conform/data/stdbool.h-data: Likewise.
10565 * conform/data/stdnoreturn.h-data: Likewise.
10566
7514feb8
RM
105672012-11-07 Roland McGrath <roland@hack.frob.com>
10568
10569 [BZ #14815]
10570 * manual/filesys.texi (Directory Entries): Typo fix.
10571 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10572
19b2ecfc
MS
105732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10574
10575 * elf/elf.h (EM_AARCH64): New macro.
10576 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10577 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10578 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10579 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10580 (R_AARCH64_TLSDESC): Likewise.
10581 (NT_ARM_TLS): Likewise.
10582 (NT_ARM_HW_BREAK): Likewise.
10583 (NT_ARM_HW_WATCH): Likewise.
10584
60e235ee
JM
105852012-11-07 Joseph Myers <joseph@codesourcery.com>
10586
10587 [BZ #14811]
10588 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10589 (__ieee754_powl): Saturate nonzero exponents with absolute value
10590 below 0x1p-79 to +/- 0x1p-79.
10591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10592 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10593 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10594 nonzero exponents with absolute value below 0x1p-32 to +/-
10595 0x1p-32.
10596 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10597 (__ieee754_powl): Saturate nonzero exponents with absolute value
10598 below 0x1p-79 to +/- 0x1p-79.
10599 * math/libm-test.inc (pow_test): Add more tests.
10600
0ab234b7
AK
106012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10602
10603 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10604 _dl_s390_cap_flags with kernel. Increase string length.
10605 (_dl_s390_platforms): Add z196 and zEC12.
10606
45832f74
JM
106072012-11-07 Joseph Myers <joseph@codesourcery.com>
10608
10609 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10610 Change XOPEN21K to XOPEN2K.
10611
19218757
MK
106122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10613
10614 * string/memmove.c: Use memcpy when possible.
10615
c5f45721
AJ
106162012-11-06 Andreas Jaeger <aj@suse.de>
10617
10618 * po/eo.po: Update from translation team.
10619
82477c28
JM
106202012-11-06 Joseph Myers <joseph@codesourcery.com>
10621
10622 [BZ #14793]
10623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10624 exponent and small x and y exponents, scale x or y up. Increase
10625 by 2 the exponent used in scaling up.
10626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10628 * math/libm-test.inc (fma_test): Add more tests.
10629 (fma_test_towardzero): Likewise.
10630 (fma_test_downward): Likewise.
10631 (fma_test_upward): Likewise.
10632
99252c8c
JM
106332012-11-05 Joseph Myers <joseph@codesourcery.com>
10634
acfa885f
JM
10635 [BZ #14805]
10636 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10637 fenv_t *.
10638
99252c8c
JM
10639 [BZ #14801]
10640 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10641 namespace for names of struct fields.
10642 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10643 fenv_t fields.
10644 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10645 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10646
d6d98dea
ST
106472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10648
10649 [BZ #3665]
10650 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10651
e10bb107
TS
106522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10653
10654 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10655 PTR_DEMANGLE.
10656
10657 [BZ #5246]
10658 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10659 PTR_DEMANGLE.
10660
a0c2940d
JM
106612012-11-04 Joseph Myers <joseph@codesourcery.com>
10662
10663 [BZ #14797]
10664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10665 definitely overflow as x * y not x * y + z.
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
b830319d
TS
106732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10674
10675 [BZ #157]
10676
10677 * include/stub-tag.h: Remove file.
10678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10679 '#include' of it.
10680 * manual/maint.texi (Porting): Don't reference it.
10681 * Makerules ($(objpfx)stubs): Likewise.
10682 * dirent/closedir.c: Don't include <stub-tag.h>.
10683 * dirent/dirfd.c: Likewise.
10684 * dirent/fdopendir.c: Likewise.
10685 * dirent/getdents.c: Likewise.
10686 * dirent/getdents64.c: Likewise.
10687 * dirent/opendir.c: Likewise.
10688 * dirent/readdir.c: Likewise.
10689 * dirent/readdir64.c: Likewise.
10690 * dirent/readdir64_r.c: Likewise.
10691 * dirent/readdir_r.c: Likewise.
10692 * dirent/rewinddir.c: Likewise.
10693 * dirent/seekdir.c: Likewise.
10694 * dirent/telldir.c: Likewise.
10695 * gmon/profil.c: Likewise.
10696 * grp/setgroups.c: Likewise.
10697 * inet/if_index.c: Likewise.
10698 * io/access.c: Likewise.
10699 * io/chdir.c: Likewise.
10700 * io/chmod.c: Likewise.
10701 * io/chown.c: Likewise.
10702 * io/close.c: Likewise.
10703 * io/dup.c: Likewise.
10704 * io/dup2.c: Likewise.
10705 * io/dup3.c: Likewise.
10706 * io/euidaccess.c: Likewise.
10707 * io/faccessat.c: Likewise.
10708 * io/fchdir.c: Likewise.
10709 * io/fchmod.c: Likewise.
10710 * io/fchmodat.c: Likewise.
10711 * io/fchown.c: Likewise.
10712 * io/fchownat.c: Likewise.
10713 * io/fcntl.c: Likewise.
10714 * io/flock.c: Likewise.
10715 * io/fstatfs.c: Likewise.
10716 * io/fstatfs64.c: Likewise.
10717 * io/fstatvfs.c: Likewise.
10718 * io/fstatvfs64.c: Likewise.
10719 * io/futimens.c: Likewise.
10720 * io/fxstat.c: Likewise.
10721 * io/fxstat64.c: Likewise.
10722 * io/fxstatat.c: Likewise.
10723 * io/fxstatat64.c: Likewise.
10724 * io/getcwd.c: Likewise.
10725 * io/isatty.c: Likewise.
10726 * io/lchmod.c: Likewise.
10727 * io/lchown.c: Likewise.
10728 * io/link.c: Likewise.
10729 * io/linkat.c: Likewise.
10730 * io/lseek.c: Likewise.
10731 * io/lseek64.c: Likewise.
10732 * io/lxstat64.c: Likewise.
10733 * io/mkdir.c: Likewise.
10734 * io/mkdirat.c: Likewise.
10735 * io/mkfifo.c: Likewise.
10736 * io/mkfifoat.c: Likewise.
10737 * io/open.c: Likewise.
10738 * io/open64.c: Likewise.
10739 * io/openat.c: Likewise.
10740 * io/openat64.c: Likewise.
10741 * io/pipe.c: Likewise.
10742 * io/pipe2.c: Likewise.
10743 * io/poll.c: Likewise.
10744 * io/posix_fadvise.c: Likewise.
10745 * io/posix_fadvise64.c: Likewise.
10746 * io/posix_fallocate.c: Likewise.
10747 * io/posix_fallocate64.c: Likewise.
10748 * io/read.c: Likewise.
10749 * io/readlink.c: Likewise.
10750 * io/readlinkat.c: Likewise.
10751 * io/rmdir.c: Likewise.
10752 * io/sendfile.c: Likewise.
10753 * io/sendfile64.c: Likewise.
10754 * io/statfs.c: Likewise.
10755 * io/statfs64.c: Likewise.
10756 * io/statvfs.c: Likewise.
10757 * io/statvfs64.c: Likewise.
10758 * io/symlink.c: Likewise.
10759 * io/symlinkat.c: Likewise.
10760 * io/ttyname.c: Likewise.
10761 * io/ttyname_r.c: Likewise.
10762 * io/umask.c: Likewise.
10763 * io/unlink.c: Likewise.
10764 * io/unlinkat.c: Likewise.
10765 * io/utime.c: Likewise.
10766 * io/utimensat.c: Likewise.
10767 * io/write.c: Likewise.
10768 * io/xmknod.c: Likewise.
10769 * io/xmknodat.c: Likewise.
10770 * io/xstat.c: Likewise.
10771 * io/xstat64.c: Likewise.
10772 * login/getpt.c: Likewise.
10773 * login/grantpt.c: Likewise.
10774 * login/unlockpt.c: Likewise.
10775 * math/e_acoshl.c: Likewise.
10776 * math/e_acosl.c: Likewise.
10777 * math/e_asinl.c: Likewise.
10778 * math/e_atan2l.c: Likewise.
10779 * math/e_atanhl.c: Likewise.
10780 * math/e_coshl.c: Likewise.
10781 * math/e_expl.c: Likewise.
10782 * math/e_fmodl.c: Likewise.
10783 * math/e_gammal_r.c: Likewise.
10784 * math/e_hypotl.c: Likewise.
10785 * math/e_j0l.c: Likewise.
10786 * math/e_j1l.c: Likewise.
10787 * math/e_jnl.c: Likewise.
10788 * math/e_lgammal_r.c: Likewise.
10789 * math/e_log10l.c: Likewise.
10790 * math/e_log2l.c: Likewise.
10791 * math/e_logl.c: Likewise.
10792 * math/e_powl.c: Likewise.
10793 * math/e_rem_pio2l.c: Likewise.
10794 * math/e_sinhl.c: Likewise.
10795 * math/e_sqrtl.c: Likewise.
10796 * math/fclrexcpt.c: Likewise.
10797 * math/fedisblxcpt.c: Likewise.
10798 * math/feenablxcpt.c: Likewise.
10799 * math/fegetenv.c: Likewise.
10800 * math/fegetexcept.c: Likewise.
10801 * math/fegetround.c: Likewise.
10802 * math/feholdexcpt.c: Likewise.
10803 * math/fesetenv.c: Likewise.
10804 * math/fesetround.c: Likewise.
10805 * math/feupdateenv.c: Likewise.
10806 * math/fgetexcptflg.c: Likewise.
10807 * math/fraiseexcpt.c: Likewise.
10808 * math/fsetexcptflg.c: Likewise.
10809 * math/ftestexcept.c: Likewise.
10810 * math/k_cosl.c: Likewise.
10811 * math/k_rem_pio2l.c: Likewise.
10812 * math/k_sinl.c: Likewise.
10813 * math/k_tanl.c: Likewise.
10814 * math/s_asinhl.c: Likewise.
10815 * math/s_atanl.c: Likewise.
10816 * math/s_cbrtl.c: Likewise.
10817 * math/s_erfl.c: Likewise.
10818 * math/s_expm1l.c: Likewise.
10819 * math/s_log1pl.c: Likewise.
10820 * math/s_tanhl.c: Likewise.
10821 * misc/acct.c: Likewise.
10822 * misc/brk.c: Likewise.
10823 * misc/chflags.c: Likewise.
10824 * misc/chroot.c: Likewise.
10825 * misc/fchflags.c: Likewise.
10826 * misc/fgetxattr.c: Likewise.
10827 * misc/flistxattr.c: Likewise.
10828 * misc/fremovexattr.c: Likewise.
10829 * misc/fsetxattr.c: Likewise.
10830 * misc/fsync.c: Likewise.
10831 * misc/ftruncate.c: Likewise.
10832 * misc/futimes.c: Likewise.
10833 * misc/futimesat.c: Likewise.
10834 * misc/getdomain.c: Likewise.
10835 * misc/getdtsz.c: Likewise.
10836 * misc/gethostid.c: Likewise.
10837 * misc/gethostname.c: Likewise.
10838 * misc/getloadavg.c: Likewise.
10839 * misc/getpagesize.c: Likewise.
10840 * misc/getsysstats.c: Likewise.
10841 * misc/getxattr.c: Likewise.
10842 * misc/gtty.c: Likewise.
10843 * misc/ioctl.c: Likewise.
10844 * misc/lgetxattr.c: Likewise.
10845 * misc/listxattr.c: Likewise.
10846 * misc/llistxattr.c: Likewise.
10847 * misc/lremovexattr.c: Likewise.
10848 * misc/lsetxattr.c: Likewise.
10849 * misc/lutimes.c: Likewise.
10850 * misc/madvise.c: Likewise.
10851 * misc/mincore.c: Likewise.
10852 * misc/mlock.c: Likewise.
10853 * misc/mlockall.c: Likewise.
10854 * misc/mmap.c: Likewise.
10855 * misc/mprotect.c: Likewise.
10856 * misc/msync.c: Likewise.
10857 * misc/munlock.c: Likewise.
10858 * misc/munlockall.c: Likewise.
10859 * misc/munmap.c: Likewise.
10860 * misc/preadv.c: Likewise.
10861 * misc/preadv64.c: Likewise.
10862 * misc/ptrace.c: Likewise.
10863 * misc/pwritev.c: Likewise.
10864 * misc/pwritev64.c: Likewise.
10865 * misc/readv.c: Likewise.
10866 * misc/reboot.c: Likewise.
10867 * misc/remap_file_pages.c: Likewise.
10868 * misc/removexattr.c: Likewise.
10869 * misc/revoke.c: Likewise.
10870 * misc/select.c: Likewise.
10871 * misc/setdomain.c: Likewise.
10872 * misc/setegid.c: Likewise.
10873 * misc/seteuid.c: Likewise.
10874 * misc/sethostid.c: Likewise.
10875 * misc/sethostname.c: Likewise.
10876 * misc/setregid.c: Likewise.
10877 * misc/setreuid.c: Likewise.
10878 * misc/setxattr.c: Likewise.
10879 * misc/sstk.c: Likewise.
10880 * misc/stty.c: Likewise.
10881 * misc/swapoff.c: Likewise.
10882 * misc/swapon.c: Likewise.
10883 * misc/sync.c: Likewise.
10884 * misc/syncfs.c: Likewise.
10885 * misc/syscall.c: Likewise.
10886 * misc/truncate.c: Likewise.
10887 * misc/ualarm.c: Likewise.
10888 * misc/usleep.c: Likewise.
10889 * misc/ustat.c: Likewise.
10890 * misc/utimes.c: Likewise.
10891 * misc/vhangup.c: Likewise.
10892 * misc/writev.c: Likewise.
10893 * posix/_exit.c: Likewise.
10894 * posix/alarm.c: Likewise.
10895 * posix/execve.c: Likewise.
10896 * posix/fexecve.c: Likewise.
10897 * posix/fork.c: Likewise.
10898 * posix/fpathconf.c: Likewise.
10899 * posix/getaddrinfo.c: Likewise.
10900 * posix/getegid.c: Likewise.
10901 * posix/geteuid.c: Likewise.
10902 * posix/getgid.c: Likewise.
10903 * posix/getgroups.c: Likewise.
10904 * posix/getlogin.c: Likewise.
10905 * posix/getlogin_r.c: Likewise.
10906 * posix/getpgid.c: Likewise.
10907 * posix/getpid.c: Likewise.
10908 * posix/getppid.c: Likewise.
10909 * posix/getresgid.c: Likewise.
10910 * posix/getresuid.c: Likewise.
10911 * posix/getsid.c: Likewise.
10912 * posix/getuid.c: Likewise.
10913 * posix/glob64.c: Likewise.
10914 * posix/nanosleep.c: Likewise.
10915 * posix/pathconf.c: Likewise.
10916 * posix/pause.c: Likewise.
10917 * posix/posix_madvise.c: Likewise.
10918 * posix/pread.c: Likewise.
10919 * posix/pread64.c: Likewise.
10920 * posix/pwrite.c: Likewise.
10921 * posix/pwrite64.c: Likewise.
10922 * posix/sched_getaffinity.c: Likewise.
10923 * posix/sched_getp.c: Likewise.
10924 * posix/sched_gets.c: Likewise.
10925 * posix/sched_primax.c: Likewise.
10926 * posix/sched_primin.c: Likewise.
10927 * posix/sched_rr_gi.c: Likewise.
10928 * posix/sched_setaffinity.c: Likewise.
10929 * posix/sched_setp.c: Likewise.
10930 * posix/sched_sets.c: Likewise.
10931 * posix/sched_yield.c: Likewise.
10932 * posix/setgid.c: Likewise.
10933 * posix/setlogin.c: Likewise.
10934 * posix/setpgid.c: Likewise.
10935 * posix/setresgid.c: Likewise.
10936 * posix/setresuid.c: Likewise.
10937 * posix/setsid.c: Likewise.
10938 * posix/setuid.c: Likewise.
10939 * posix/sleep.c: Likewise.
10940 * posix/spawni.c: Likewise.
10941 * posix/sysconf.c: Likewise.
10942 * posix/times.c: Likewise.
10943 * posix/wait.c: Likewise.
10944 * posix/wait3.c: Likewise.
10945 * posix/wait4.c: Likewise.
10946 * posix/waitpid.c: Likewise.
10947 * resolv/gai_sigqueue.c: Likewise.
10948 * resource/getpriority.c: Likewise.
10949 * resource/getrlimit.c: Likewise.
10950 * resource/getrusage.c: Likewise.
10951 * resource/nice.c: Likewise.
10952 * resource/setpriority.c: Likewise.
10953 * resource/setrlimit.c: Likewise.
10954 * resource/ulimit.c: Likewise.
10955 * rt/aio_cancel.c: Likewise.
10956 * rt/aio_fsync.c: Likewise.
10957 * rt/aio_read.c: Likewise.
10958 * rt/aio_sigqueue.c: Likewise.
10959 * rt/aio_suspend.c: Likewise.
10960 * rt/aio_write.c: Likewise.
10961 * rt/clock_getres.c: Likewise.
10962 * rt/clock_gettime.c: Likewise.
10963 * rt/clock_nanosleep.c: Likewise.
10964 * rt/clock_settime.c: Likewise.
10965 * rt/lio_listio.c: Likewise.
10966 * rt/mq_close.c: Likewise.
10967 * rt/mq_getattr.c: Likewise.
10968 * rt/mq_notify.c: Likewise.
10969 * rt/mq_open.c: Likewise.
10970 * rt/mq_receive.c: Likewise.
10971 * rt/mq_send.c: Likewise.
10972 * rt/mq_setattr.c: Likewise.
10973 * rt/mq_timedreceive.c: Likewise.
10974 * rt/mq_timedsend.c: Likewise.
10975 * rt/mq_unlink.c: Likewise.
10976 * rt/shm_open.c: Likewise.
10977 * rt/shm_unlink.c: Likewise.
10978 * rt/timer_create.c: Likewise.
10979 * rt/timer_delete.c: Likewise.
10980 * rt/timer_getoverr.c: Likewise.
10981 * rt/timer_gettime.c: Likewise.
10982 * rt/timer_settime.c: Likewise.
10983 * setjmp/__longjmp.c: Likewise.
10984 * setjmp/setjmp.c: Likewise.
10985 * signal/kill.c: Likewise.
10986 * signal/killpg.c: Likewise.
10987 * signal/raise.c: Likewise.
10988 * signal/sigaction.c: Likewise.
10989 * signal/sigaltstack.c: Likewise.
10990 * signal/sigblock.c: Likewise.
10991 * signal/sigignore.c: Likewise.
10992 * signal/sigintr.c: Likewise.
10993 * signal/signal.c: Likewise.
10994 * signal/sigpause.c: Likewise.
10995 * signal/sigpending.c: Likewise.
10996 * signal/sigqueue.c: Likewise.
10997 * signal/sigreturn.c: Likewise.
10998 * signal/sigset.c: Likewise.
10999 * signal/sigsetmask.c: Likewise.
11000 * signal/sigstack.c: Likewise.
11001 * signal/sigsuspend.c: Likewise.
11002 * signal/sigtimedwait.c: Likewise.
11003 * signal/sigvec.c: Likewise.
11004 * signal/sigwait.c: Likewise.
11005 * signal/sigwaitinfo.c: Likewise.
11006 * signal/sysv_signal.c: Likewise.
11007 * socket/accept.c: Likewise.
11008 * socket/accept4.c: Likewise.
11009 * socket/bind.c: Likewise.
11010 * socket/connect.c: Likewise.
11011 * socket/getpeername.c: Likewise.
11012 * socket/getsockname.c: Likewise.
11013 * socket/getsockopt.c: Likewise.
11014 * socket/isfdtype.c: Likewise.
11015 * socket/listen.c: Likewise.
11016 * socket/recv.c: Likewise.
11017 * socket/recvfrom.c: Likewise.
11018 * socket/recvmsg.c: Likewise.
11019 * socket/send.c: Likewise.
11020 * socket/sendmsg.c: Likewise.
11021 * socket/sendto.c: Likewise.
11022 * socket/setsockopt.c: Likewise.
11023 * socket/shutdown.c: Likewise.
11024 * socket/sockatmark.c: Likewise.
11025 * socket/socket.c: Likewise.
11026 * socket/socketpair.c: Likewise.
11027 * stdio-common/ctermid.c: Likewise.
11028 * stdio-common/cuserid.c: Likewise.
11029 * stdio-common/remove.c: Likewise.
11030 * stdio-common/rename.c: Likewise.
11031 * stdio-common/renameat.c: Likewise.
11032 * stdio-common/tempname.c: Likewise.
11033 * stdlib/getcontext.c: Likewise.
11034 * stdlib/makecontext.c: Likewise.
11035 * stdlib/setcontext.c: Likewise.
11036 * stdlib/swapcontext.c: Likewise.
11037 * stdlib/system.c: Likewise.
11038 * streams/fattach.c: Likewise.
11039 * streams/fdetach.c: Likewise.
11040 * streams/getmsg.c: Likewise.
11041 * streams/getpmsg.c: Likewise.
11042 * streams/putmsg.c: Likewise.
11043 * streams/putpmsg.c: Likewise.
11044 * sysdeps/unix/bsd/getpt.c: Likewise.
11045 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11046 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11047 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11049 Likewise.
11050 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11051 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11052 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11053 * sysvipc/msgctl.c: Likewise.
11054 * sysvipc/msgget.c: Likewise.
11055 * sysvipc/msgrcv.c: Likewise.
11056 * sysvipc/msgsnd.c: Likewise.
11057 * sysvipc/semctl.c: Likewise.
11058 * sysvipc/semget.c: Likewise.
11059 * sysvipc/semop.c: Likewise.
11060 * sysvipc/semtimedop.c: Likewise.
11061 * sysvipc/shmat.c: Likewise.
11062 * sysvipc/shmctl.c: Likewise.
11063 * sysvipc/shmdt.c: Likewise.
11064 * sysvipc/shmget.c: Likewise.
11065 * termios/tcdrain.c: Likewise.
11066 * termios/tcflow.c: Likewise.
11067 * termios/tcflush.c: Likewise.
11068 * termios/tcgetattr.c: Likewise.
11069 * termios/tcgetpgrp.c: Likewise.
11070 * termios/tcsendbrk.c: Likewise.
11071 * termios/tcsetattr.c: Likewise.
11072 * termios/tcsetpgrp.c: Likewise.
11073 * time/adjtime.c: Likewise.
11074 * time/clock.c: Likewise.
11075 * time/getitimer.c: Likewise.
11076 * time/gettimeofday.c: Likewise.
11077 * time/setitimer.c: Likewise.
11078 * time/settimeofday.c: Likewise.
11079 * time/stime.c: Likewise.
11080 * time/time.c: Likewise.
11081
110822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11083
a20492cf
PT
11084 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11085 /usr/old/bin.
11086
72e182e3
PT
11087 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11088 instead of spaces.
11089 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11090
fbeafede
JM
110912012-11-03 Joseph Myers <joseph@codesourcery.com>
11092
5b5b04d6
JM
11093 [BZ #14796]
11094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11095 FE_TONEAREST before applying Dekker multiplication and Knuth
11096 addition. Clear inexact exceptions and check for exact zero
11097 results afterwards.
11098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11101 * math/libm-test.inc (fma_test): Add more tests.
11102 (fma_test_towardzero): Likewise.
11103 (fma_test_downward): Likewise.
11104 (fma_test_upward): Likewise.
11105 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11106 function.
11107 (libc_fesetround): New macro.
11108 (libc_fesetroundf): Likewise.
11109 (libc_fesetroundl): Likewise.
11110 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11111 function.
11112 (libc_fesetround_387): Likewise.
11113 (libc_fesetroundf): New macro.
11114 (libc_fesetround): Likewise.
11115 (libc_fesetroundl): Likewise.
11116 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11117 function.
11118 (libc_fesetroundf): New macro.
11119 (libc_fesetround): Likewise.
11120 (libc_fesetroundl): Likewise.
11121 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11122 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11123 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11124 libm_hidden_ver.
11125 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11126 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11127 libm_hidden_def.
11128 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11129 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11130 libm_hidden_ver.
11131 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11132 libm_hidden_def.
11133
fbeafede
JM
11134 [BZ #3439]
11135 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11136 integer constant usable in #if and use that to give value to enum
11137 constant.
11138 (FE_DIVBYZERO): Likewise.
11139 (FE_UNDERFLOW): Likewise.
11140 (FE_OVERFLOW): Likewise.
11141 (FE_INVALID): Likewise.
11142 (FE_INVALID_SNAN): Likewise.
11143 (FE_INVALID_ISI): Likewise.
11144 (FE_INVALID_IDI): Likewise.
11145 (FE_INVALID_ZDZ): Likewise.
11146 (FE_INVALID_IMZ): Likewise.
11147 (FE_INVALID_COMPARE): Likewise.
11148 (FE_INVALID_SOFTWARE): Likewise.
11149 (FE_INVALID_SQRT): Likewise.
11150 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11151 (FE_TONEAREST): Likewise.
11152 (FE_TOWARDZERO): Likewise.
11153 (FE_UPWARD): Likewise.
11154 (FE_DOWNWARD): Likewise.
11155 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11156 (FE_DIVBYZERO): Likewise.
11157 (FE_OVERFLOW): Likewise.
11158 (FE_UNDERFLOW): Likewise.
11159 (FE_INEXACT): Likewise.
11160 (FE_TONEAREST): Likewise.
11161 (FE_DOWNWARD): Likewise.
11162 (FE_UPWARD): Likewise.
11163 (FE_TOWARDZERO): Likewise.
11164 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11165 (FE_UNDERFLOW): Likewise.
11166 (FE_OVERFLOW): Likewise.
11167 (FE_DIVBYZERO): Likewise.
11168 (FE_INVALID): Likewise.
11169 (FE_TONEAREST): Likewise.
11170 (FE_TOWARDZERO): Likewise.
11171 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11172 (FE_OVERFLOW): Likewise.
11173 (FE_UNDERFLOW): Likewise.
11174 (FE_DIVBYZERO): Likewise.
11175 (FE_INEXACT): Likewise.
11176 (FE_TONEAREST): Likewise.
11177 (FE_TOWARDZERO): Likewise.
11178 (FE_UPWARD): Likewise.
11179 (FE_DOWNWARD): Likewise.
11180 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11181 (FE_DIVBYZERO): Likewise.
11182 (FE_OVERFLOW): Likewise.
11183 (FE_UNDERFLOW): Likewise.
11184 (FE_INEXACT): Likewise.
11185 (FE_TONEAREST): Likewise.
11186 (FE_DOWNWARD): Likewise.
11187 (FE_UPWARD): Likewise.
11188 (FE_TOWARDZERO): Likewise.
11189
105ca950
CM
111902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11191
11192 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11193
a542b389
AS
111942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11195
11196 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11197 commands. Quote $PWD.
11198 (blacklist_exports): Don't use remove_newlines. Replace "declare
11199 -x" by "export".
11200 (remove_newlines): Remove.
11201
f62c8abc
L
112022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11203
11204 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11205 * stdlib/stdlib.h (atof): Moved to ...
11206 * include/bits/stdlib-float.h: Here. New file.
11207 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11208 * stdlib/bits/stdlib-float.h: New file.
11209 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11210 -mno-sse -mno-mmx.
11211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11212 <xmmintrin.h>.
11213
0155d5b2
JM
112142012-11-02 Joseph Myers <joseph@codesourcery.com>
11215
a68d0680
JM
11216 * conform/conformtest.pl (@headers): Add fenv.h.
11217 * conform/data/fenv.h-data: New file.
11218 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11219 include of <math/fenv.h>.
11220
caf7f573
JM
11221 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11222 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11223 && !UNIX98]. Enables tests for XOPEN2K8.
11224 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11225 POSIX2008]: Likewise.
11226
6c073ad6
JM
11227 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11228 (struct rusage): Do not expect type or its members.
11229
0155d5b2
JM
11230 [BZ #3439]
11231 * math/math.h (FP_NAN): Define macro to integer constant usable in
11232 #if and use that to give value to enum constant.
11233 (FP_INFINITE): Likewise.
11234 (FP_ZERO): Likewise.
11235 (FP_SUBNORMAL): Likewise.
11236 (FP_NORMAL): Likewise.
11237
b5dcacb4
AS
112382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11239
11240 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11241 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11242 arguments.
11243
f7934be8
RM
112442012-11-02 Roland McGrath <roland@hack.frob.com>
11245
11246 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11247 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11248 autoconf-time if not.
11249 * configure.in: Remove AC_PREREQ.
11250
d7d08bde
TMQMF
112512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11252
11253 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11254 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11255 of the internal implementation.
11256
dcdae19a
JM
112572012-11-02 Joseph Myers <joseph@codesourcery.com>
11258
11259 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11260 except include of <misc/sys/syslog.h>.
11261
d6cffd3e
AS
112622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11263
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11265 function returns with a NULL context exit with zero.
11266
b3563932
TMQMF
112672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11268
11269 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11270
b288a93d
L
112712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11272
11273 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11274 (run_program_cmd): This.
11275 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11276 (tst_langinfo): New variable. Use it.
11277
a2421a68
SAS
112782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11279
11280 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11281 floating point opcodes.
11282
6f796e1b
TS
112832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11284
7402596b
TS
11285 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11286 variable.
11287
d0d4f868
TS
11288 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11289
6f796e1b
TS
11290 * sysdeps/mach/hurd/powerpc: Remove directory.
11291 * sysdeps/mach/powerpc: Likewise.
11292
4da224a2
AS
112932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11294
11295 * scripts/check-local-headers.sh: Ignore c++ headers.
11296
341dd673
TS
112972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11298
11299 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11300 __libc_cleanup_region_start argument.
11301
473611b2
JM
113022012-11-01 Joseph Myers <joseph@codesourcery.com>
11303
11304 [BZ #14784]
11305 [BZ #14785]
11306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11307 x * y using scaling, not as x * y + z.
11308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11310 * math/libm-test.inc (fma_test): Add more tests.
11311 (fma_test_towardzero): Likewise.
11312 (fma_test_downward): Likewise.
11313 (fma_test_upward): Likewise.
11314
4078da3d
TS
113152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11316
11317 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11318
903252aa
JM
113192012-10-31 Joseph Myers <joseph@codesourcery.com>
11320
11321 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11322 New variable.
11323
cbc818d0
TS
113242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11325
11326 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11327
5a03cb1e
AS
113282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11329
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11331 Fix sort order.
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11333 Likewise.
11334
90aff2ff
TMQMF
113352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11336
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11338 Fix the order of the list for glibc 2.17.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11340 Likewise.
11341
1818fcb7
AS
113422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11343
11344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11345
ef82f4da
JM
113462012-10-31 Joseph Myers <joseph@codesourcery.com>
11347
16a0e2ec
JM
11348 [BZ #14610]
11349 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11350 for low part of x being zero before using __atanl (y).
11351 * math/libm-test.inc (atan2_test): Add another test.
11352
0eb69512
JM
11353 * manual/install.texi (Configuring and compiling): Document
11354 general use of test-wrapper and test-wrapper-env.
11355 * INSTALL: Regenerated.
11356
ef82f4da
JM
11357 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11358 (__fma): Do not extract and scale down low bits on after-rounding
11359 systems when result rounded to normal precision would have normal
11360 exponent.
11361 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11362 (__fmal): Do not extract and scale down low bits on after-rounding
11363 systems when result rounded to normal precision would have normal
11364 exponent.
11365 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11366 (__fmal): Do not extract and scale down low bits on after-rounding
11367 systems when result rounded to normal precision would have normal
11368 exponent.
11369 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11370 macro.
11371 (fma_test): Add more tests.
11372 (fma_test_towardzero): Likewise.
11373 (fma_test_downward): Likewise.
11374 (fma_test_upward): Likewise.
11375
954ef0d9
L
113762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11377
11378 * sysdeps/i386/tininess.h: Renamed to ...
11379 * sysdeps/x86/tininess.h: This.
11380 * sysdeps/x86_64/tininess.h: Removed.
11381
df61ffb2
JM
113822012-10-30 Joseph Myers <joseph@codesourcery.com>
11383
11384 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11385 input. Use $(build-program-cmd).
11386 ($(objpfx)tst-array1-static.out): Likewise.
11387 ($(objpfx)tst-array2.out): Likewise.
11388 ($(objpfx)tst-array3.out): Likewise.
11389 ($(objpfx)tst-array4.out): Likewise.
11390 ($(objpfx)tst-array5.out): Likewise.
11391 ($(objpfx)tst-array5-static.out): Likewise.
11392
01767843
CM
113932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11394
47cc1490
CM
11395 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11396 if defined.
11397
01767843
CM
11398 * nss/nsswitch.h (nss_interface_function): Provide new
11399 macro for use with NSS functions.
11400 * grp/initgroups.c: Use new macro.
11401 * nss/getXXbyYY.c: Likewise.
11402 * nss/getXXbyYY_r.c: Likewise.
11403 * nss/getXXent.c: Likewise.
11404 * nss/getXXent_r.c: Likewise.
11405 * sysdeps/posix/getaddrinfo.c: Likewise.
11406
8321aa97
AJ
114072012-10-30 Andreas Jaeger <aj@suse.de>
11408
11409 * po/ru.po: Update Russion translation from translation project.
11410
2a27fd6d
JM
114112012-10-30 Joseph Myers <joseph@codesourcery.com>
11412
8627a232
JM
11413 [BZ #14152]
11414 [BZ #14783]
11415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11416 result and shift together with sticky bit instead of replicating
11417 round-to-nearest rounding.
11418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11419 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11420 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11421 missing underflow exceptions.
11422 (fma_test_towardzero): Add more tests.
11423 (fma_test_downward): Likewise.
11424 (fma_test_upward): Likewise.
11425
2a27fd6d
JM
11426 [BZ #14047]
11427 * sysdeps/generic/tininess.h: New file.
11428 * sysdeps/i386/tininess.h: Likewise.
11429 * sysdeps/sh/tininess.h: Likewise.
11430 * sysdeps/x86_64/tininess.h: Likewise.
11431 * stdlib/tst-strtod-underflow.c: Likewise.
11432 * stdlib/tst-tininess.c: Likewise.
11433 * stdlib/strtod_l.c: Include <tininess.h>.
11434 (round_and_return): Do not set errno for exact underflow cases.
11435 Force an underflow exception when setting errno for underflow.
11436 Determine underflow based on rounding to normal precision if
11437 TININESS_AFTER_ROUNDING.
11438 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11439 ERANGE for exact underflow cases.
11440 * stdlib/Makefile (tests): Add tst-tininess and
11441 tst-strtod-underflow.
11442 ($(objpfx)tst-tininess): Use $(link-libm).
11443 ($(objpfx)tst-strtod-underflow): Likewise.
11444
e7170363
AJ
114452012-10-30 Andreas Jaeger <aj@suse.de>
11446
e5088dc6
AJ
11447 [BZ#14767]
11448 * elf/Makefile (tests): Remove conditional for have-initfini-array
11449 since this is now always required and the variable does not exist
11450 anymore.
11451 (tests-static): Likewise.
11452 (modules-names): Likewise.
11453
e7170363 11454 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11455
11456 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11457 merged with constructor/destructor.
11458 (init_array): Likewise.
11459 * elf/tst-array2dep.c (fini_array): Likewise.
11460 (init_array): Likewise.
11461
60457d8a
MF
114622012-10-29 Mike Frysinger <vapier@gentoo.org>
11463
11464 * manual/message.texi: Delete @cartouche tags.
11465
8bece752
PT
114662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11467
94ce799f
PT
11468 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11469 EOPNOTSUPP.
11470 * sysdeps/mach/hurd/fsync.c: Likewise.
11471
8bece752
PT
11472 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11473 [_POSIX_REALTIME_SIGNALS]: Change condition to
11474 [_POSIX_REALTIME_SIGNALS > 0].
11475
86ebe6b1
AJ
114762012-10-27 Andreas Jaeger <aj@suse.de>
11477
11478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11479 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11481 [__WORDSIZE != 64]: Likewise.
11482
54399c08
L
114832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 * iconvdata/tst-table.sh: Remove ${SHELL}.
11486 * iconvdata/tst-tables.sh: Likewise.
11487
e2211bed
DM
114882012-10-25 David S. Miller <davem@davemloft.net>
11489
11490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11491 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11492 of strtoull.
11493
f303f97c
DM
11494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11495 ifunc-impl-list.c
11496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11497 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11498 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11499 file.
11500
1e9d84cd
RM
115012012-10-25 Roland McGrath <roland@hack.frob.com>
11502
11503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11504 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11505 __getdirentries.
11506
df381762
JM
115072012-10-25 Joseph Myers <joseph@codesourcery.com>
11508 Jim Blandy <jimb@codesourcery.com>
11509
11510 * scripts/cross-test-ssh.sh: New file.
11511 * manual/install.texi (Configuring and compiling): Document use of
11512 cross-test-ssh.sh.
11513 * INSTALL: Regenerated.
11514
bff64913
PT
115152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11516
11517 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11518 EOPNOTSUPP.
11519
25fe8932
JM
115202012-10-25 Joseph Myers <joseph@codesourcery.com>
11521
11522 * Makeconfig (run-program-prefix): Fix comment.
11523
cc1290d0
JM
115242012-10-24 Joseph Myers <joseph@codesourcery.com>
11525 Jim Blandy <jimb@codesourcery.com>
11526
11527 * Makeconfig (test-wrapper): New variable,
11528 (test-wrapper-env): Likewise.
11529 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11530 (run-built-tests): Define to yes.
11531 (run-program-prefix): Use $(test-wrapper).
11532 (built-program-cmd): Likewise.
11533 * Rules (make-test-out): Use $(test-wrapper-env) and
11534 $(host-built-program-cmd).
11535 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11536 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11537 tst-pathopt.sh.
11538 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11539 $(test-wrapper-env) to tst-rtld-load-self.sh.
11540 ($(objpfx)order2.out): Use $(test-wrapper).
11541 ($(objpfx)tst-initorder.out): Likewise.
11542 ($(objpfx)tst-initorder2.out): Likewise.
11543 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11544 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11545 (test_wrapper_env): New variable. Use it to run ld.so.
11546 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11547 Use it to run ld.so.
11548 (test_wrapper_env): Likewise.
11549 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11550 $(test-wrapper) to run-iconv-test.sh.
11551 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11552 (ICONV): Use $test_wrapper.
11553 * posix/Makefile ($(objpfx)globtest.out): Pass
11554 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11555 globtest.sh, not $(run-program-prefix).
11556 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11557 (test_wrapper): Likewise.
11558 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11559 set together with run_via_rtld_prefix.
11560 (run_program_prefix): Define in terms of test_wrapper and
11561 run_via_rtld_prefix.
11562
6e6249d0
RM
115632012-10-24 Roland McGrath <roland@hack.frob.com>
11564
11565 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11566 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11567 Targets removed.
11568
11569 [BZ #14743]
11570 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11571 Declare __clock_getres, __clock_gettime, __clock_settime,
11572 __clock_nanosleep, and __clock_getcpuclockid.
11573 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11574 Remove librt_hidden_def (clock_gettime).
11575 * sysdeps/unix/clock_gettime.c: Likewise.
11576 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11578 * rt/clock_getres.c: Define __clock_getres as an alias.
11579 * sysdeps/posix/clock_getres.c: Likewise.
11580 * rt/clock_settime.c: Define __clock_settime as an alias.
11581 * sysdeps/unix/clock_settime.c: Likewise.
11582 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11583 * sysdeps/unix/clock_nanosleep.c: Likewise.
11584 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11585 * rt/clock-compat.c: New file.
11586 * rt/Makefile (librt-routines): Add clock-compat and move
11587 $(clock-routines) to ...
11588 (routines): ... here, new variable.
11589 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11590 Don't add get_clockfreq here.
11591 * rt/Versions (libc: GLIBC_2.17): New version set.
11592 Add clock_* symbols here.
11593 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11594 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11595 (GLIBC_2.17): Add clock_* symbols.
11596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11602 Likewise.
11603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11607 * NEWS: Mention the move.
11608
11609 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11610 Use __open, __read, __close rather than their public counterparts.
11611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11612 (__get_clockfreq_via_cpuinfo): Likewise.
11613 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11614 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11615
11616 * config.h.in (HAVE_IFUNC): New #undef.
11617 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11618 was successful.
11619 * configure: Regenerated.
11620
0cae3f4b
MF
116212012-10-24 Mike Frysinger <vapier@gentoo.org>
11622
11623 * configure.in: Move READELF check to start of file.
11624 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11625 libc_cv_asm_gnu_indirect_function in the process.
11626 * configure: Regenerated.
11627
8175a253
MF
116282012-10-24 Mike Frysinger <vapier@gentoo.org>
11629
11630 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11631 send the output to /dev/null.
11632 (libc_cv_cc_with_libunwind): Likewise.
11633 (libc_cv_as_noexecstack): Likewise.
11634 * configure: Regenerate.
11635
0708a7d1
JM
116362012-10-24 Joseph Myers <joseph@codesourcery.com>
11637
10b40d85
JM
11638 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11639
0708a7d1
JM
11640 * posix/globtest.sh (TMPDIR): Do not set.
11641 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11642 (testout): Likewise.
11643
9fddec1a
AJ
116442012-10-24 Andreas Jaeger <aj@suse.de>
11645
3a8db22f
AJ
11646 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11647 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11648 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11649 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11650 posix_fadvise64, posix_fallocate64.
11651
9fddec1a
AJ
11652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11653 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11654 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11655 Likewise.
11656 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11657 Likewise.
11658 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11659
11660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11661 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11662 <bits/fcntl-linux.h>.
11663 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11664
11665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11666 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11667 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11668 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11669 [__WORDSIZE != 64]: Likewise.
11670
ebfd1bbd
JM
116712012-10-23 Joseph Myers <joseph@codesourcery.com>
11672
03ac099f
JM
11673 * Makeconfig (run-built-tests): New variable.
11674 * Rules [$(cross-compiling) = yes]: Change condition to
11675 [$(run-built-tests) = no].
11676 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11677 to [$(run-built-tests) = yes].
11678 * elf/Makefile [$(cross-compiling) = no]: Likewise
11679 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11680 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11681 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11682 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11683 * io/Makefile [$(cross-compiling) = no]: Likewise.
11684 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11685 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11686 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11687 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11688 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11689 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11690 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11691 * string/Makefile [$(cross-compiling) = no]: Likewise.
11692
ebfd1bbd
JM
11693 * posix/Makefile ($(objpfx)globtest.out): Pass
11694 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11695 $(rtld-installed-name).
11696 * posix/globtest.sh (elf_objpfx): Remove variable.
11697 (rtld_installed_name): Likewise.
11698 (library_path): Likewise.
11699 (run_program_prefix): New variable. Use for running globtest
11700 binary.
11701
166bca24
JB
117022012-10-23 Jim Blandy <jimb@codesourcery.com>
11703 Joseph Myers <joseph@codesourcery.com>
11704
11705 * Makeconfig (host-built-program-cmd): New variable.
11706 * elf/Makefile (tst-stackguard1-ARGS): Use
11707 $(host-built-program-cmd).
11708 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11709 (tst-spawn-ARGS): Likewise.
11710 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11711
88866099
JM
117122012-10-23 Joseph Myers <joseph@codesourcery.com>
11713 Jim Blandy <jimb@codesourcery.com>
11714
11715 * Makeconfig (run-via-rtld-prefix): New variable.
11716 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11717 (built-program-cmd): Likewise.
11718
b4b4c296
AJ
117192012-10-22 Andreas Jaeger <aj@suse.de>
11720
11721 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11722 __O_RSYNC if it exists, otherwise to O_SYNC.
11723
6fb54a22
JB
117242012-10-22 Jim Blandy <jimb@codesourcery.com>
11725 Joseph Myers <joseph@codesourcery.com>
11726
11727 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11728 /dev/null.
11729 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11730 from /dev/null
11731 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11732 /dev/null.
11733
481b90b9
AJ
117342012-10-22 Andreas Jaeger <aj@suse.de>
11735
2a0e2669
AJ
11736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11737 Define always.
11738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11739
76e38f9a
AJ
11740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11741 bits/fcntl-linux.h.
11742
7cd37b43
AJ
11743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11744 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11745
481b90b9
AJ
11746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11747 to __O_LARGEFILE.
11748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11749 to __O_LARGEFILE.
11750
aba75984
JB
117512012-10-21 Jim Blandy <jimb@codesourcery.com>
11752 Joseph Myers <joseph@codesourcery.com>
11753
11754 * config.make.in (NM): New variable.
11755
88d4247f
AJ
117562012-10-21 Andreas Jaeger <aj@suse.de>
11757
11758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11759 definitions and declarations that are provided by
11760 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11761
f2eed205
L
117622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 [BZ #14683]
11765 * elf/Makefile (tests-static): Add tst-leaks1-static.
11766 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11767 ($(objpfx)tst-leaks1-static): New rule.
11768 ($(objpfx)tst-leaks1-static-mem): Likewise.
11769 (tst-leaks1-static-ENV): New macro.
11770 * elf/dl-open.c (dl_open_worker): Check the main application
11771 only if SHARED is defined.
11772 * elf/tst-leaks1-static.c: New file.
11773
335e6931
AJ
117742012-10-20 Andreas Jaeger <aj@suse.de>
11775
11776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11777 generic values for Linux.
11778 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11779 and declarations that are provided by <bits/fcntl-linux.h> and
11780 include <bits/fcntl-linux.h>.
11781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11783
ac5c94d3
RM
117842012-10-20 Roland McGrath <roland@hack.frob.com>
11785
11786 * io/fcntl.h: Move include of <bits/types.h> to the top and
11787 include it unconditionally.
11788
de54b33a
L
117892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11790
228cfb01
L
11791 * wcsmbs/Makefile (tests-ifunc): New variable.
11792 (tests): Add $(tests-ifunc).
11793 * wcsmbs/test-wcschr-ifunc.c: New file.
11794 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11795 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11796 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11797 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11798 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11799
69f07e5f
L
11800 * string/Makefile (tests-ifunc): New variable.
11801 (tests): Add $(tests-ifunc).
11802 * string/test-memccpy.c (TEST_NAME): New macro.
11803 * string/test-memchr.c (TEST_NAME): Likewise.
11804 * string/test-memcmp.c (TEST_NAME): Likewise.
11805 * string/test-memcpy.c (TEST_NAME): Likewise.
11806 * string/test-memmem.c (TEST_NAME): Likewise.
11807 * string/test-memmove.c (TEST_NAME): Likewise.
11808 * string/test-memset.c (TEST_NAME): Likewise.
11809 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11810 * string/test-stpcpy.c (TEST_NAME): Likewise.
11811 * string/test-stpncpy.c (TEST_NAME): Likewise.
11812 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11813 * string/test-strcasestr.c (TEST_NAME): Likewise.
11814 * string/test-strcat.c (TEST_NAME): Likewise.
11815 * string/test-strchr.c (TEST_NAME): Likewise.
11816 * string/test-strcmp.c(TEST_NAME): Likewise.
11817 * string/test-strcpy.c (TEST_NAME): Likewise.
11818 * string/test-strcspn.c (TEST_NAME): Likewise.
11819 * string/test-strlen.c (TEST_NAME): Likewise.
11820 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11821 * string/test-strncmp.c (TEST_NAME): Likewise.
11822 * string/test-strncpy.c (TEST_NAME): Likewise.
11823 * string/test-strnlen.c (TEST_NAME): Likewise.
11824 * string/test-strpbrk.c (TEST_NAME): Likewise.
11825 * string/test-strrchr.c (TEST_NAME): Likewise.
11826 * string/test-strspn.c (TEST_NAME): Likewise.
11827 * string/test-strstr.c (TEST_NAME): Likewise.
11828 * string/test-bcopy-ifunc.c: New file.
11829 * string/test-bzero-ifunc.c: Likewise.
11830 * string/test-memccpy-ifunc.c: Likewise.
11831 * string/test-memchr-ifunc.c: Likewise.
11832 * string/test-memcmp-ifunc.c: Likewise.
11833 * string/test-memcpy-ifunc.c: Likewise.
11834 * string/test-memmem-ifunc.c: Likewise.
11835 * string/test-memmove-ifunc.c: Likewise.
11836 * string/test-mempcpy-ifunc.c: Likewise.
11837 * string/test-memset-ifunc.c: Likewise.
11838 * string/test-rawmemchr-ifunc.c: Likewise.
11839 * string/test-stpcpy-ifunc.c: Likewise.
11840 * string/test-stpncpy-ifunc.c: Likewise.
11841 * string/test-strcasecmp-ifunc.c: Likewise.
11842 * string/test-strcasestr-ifunc.c: Likewise.
11843 * string/test-strcat-ifunc.c: Likewise.
11844 * string/test-strchr-ifunc.c: Likewise.
11845 * string/test-strchrnul-ifunc.c: Likewise.
11846 * string/test-strcmp-ifunc.c: Likewise.
11847 * string/test-strcpy-ifunc.c: Likewise.
11848 * string/test-strcspn-ifunc.c: Likewise.
11849 * string/test-strlen-ifunc.c: Likewise.
11850 * string/test-strncasecmp-ifunc.c: Likewise.
11851 * string/test-strncat-ifunc.c: Likewise.
11852 * string/test-strncmp-ifunc.c: Likewise.
11853 * string/test-strncpy-ifunc.c: Likewise.
11854 * string/test-strnlen-ifunc.c: Likewise.
11855 * string/test-strpbrk-ifunc.c: Likewise.
11856 * string/test-strrchr-ifunc.c: Likewise.
11857 * string/test-strspn-ifunc.c: Likewise.
11858 * string/test-strstr-ifunc.c: Likewise.
11859
de54b33a
L
11860 * debug/Makefile (tests-ifunc): New variable.
11861 (tests): Add $(tests-ifunc).
11862 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11863 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11864 * debug/test-stpcpy_chk-ifunc.c: New file.
11865 * debug/test-strcpy_chk-ifunc.c: Likewise.
11866
88481c16
SP
118672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11868
11869 [BZ #13601]
11870 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11871 header is not read in.
11872
135948bd
JM
118732012-10-19 Joseph Myers <joseph@codesourcery.com>
11874
89f1c388
JM
11875 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11876 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11877 directly. Pass built executable to script as
11878 $(built-program-cmd).
11879 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11880 $testprogram without using LD_LIBRARY_PATH and $ldso.
11881
e40a0d21
JM
11882 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11883 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11884 $(rtld-installed-name).
11885 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11886 (rtld_installed_name): Likewise.
11887 (library_path): Likewise.
11888 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11889 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11890 $(run-program-prefix) to tst-tables.sh.
11891 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11892 it to run tst-table-from and tst-table-to.
11893 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11894 Pass it to tst-table.sh.
11895 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11896 $(run-program-prefix) to tst-gettext.sh.
11897 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11898 tst-translit.sh.
11899 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11900 tst-gettext2.sh.
11901 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11902 to run tst-gettext.
11903 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11904 to run tst-gettext2.
11905 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11906 to run tst-translit.
11907 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11908 $(run-program-prefix) to tst-mtrace.sh.
11909 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11910 to run tst-mtrace.
11911 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11912 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11913 $(rtld-installed-name).
11914 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11915 (rtld_installed_name): Likewise.
11916 (run_program_prefix): New variable. Use it to run wordexp-test.
11917
728e272a
JM
11918 * Makeconfig (ARCH): Remove all definitions.
11919 (machine): Likewise.
11920 [ARCH]: Remove conditional code.
11921 [!objdir]: Give error.
11922 [!objdir] (objpfx): Remove.
11923 [!objdir] (common-objpfx): Likewise.
11924 [!objdir] (common-objdir): Likewise.
11925 * configure.in (config_makefile): Remove. Hardcode Makefile in
11926 AC_CONFIG_FILES call.
11927 * configure: Regenerated.
11928
d528cdcf
JM
11929 [BZ #13888]
11930 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11931 or TMPDIR.
11932 (testout): Likewise.
11933
135948bd
JM
11934 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11935 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11936 $(rtld-installed-name).
11937 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11938 (rtld_installed_name): Likwise.
11939 (runit): Remove function.
11940 (run_getconf): New variable, Use it for running getconf binary.
11941
38c78296
L
119422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 [BZ #14716]
11945 * string/test-memmem.c (check_result): New function.
11946 (do_one_test): Use it.
11947 (check1): New function.
11948 (test_main): Use it.
11949
d077f65f
MT
119502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11951
11952 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11953
ced52c71
JM
119542012-10-18 Joseph Myers <joseph@codesourcery.com>
11955
11956 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11957 (_G_LSEEK64): Likewise.
11958 (_G_MMAP64): Likewise.
11959 (_G_FSTAT64): Likewise.
11960 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11961 (_G_LSEEK64): Likewise.
11962 (_G_MMAP64): Likewise.
11963 (_G_FSTAT64): Likewise.
11964 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11965 unconditional. Call __mmap64 directly.
11966 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11967 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11968 __lseek64 directly.
11969 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11970 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11971 __mmap64 directly.
11972 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11973 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11974 __lseek64 directly.
11975 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11976 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11977 __lseek64 directly.
11978 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11979 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11980 __lseek64 directly.
11981 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11982 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11983 __fxstat64 directly.
11984 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11985 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11986 unconditional.
11987 (freopen64) [!_G_OPEN64]: Remove conditional code.
11988 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11989 unconditional.
11990 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11991 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11992 unconditional.
11993 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11994 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11995 unconditional.
11996 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11997 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11998 unconditional.
11999 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12000 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12001 unconditional.
12002 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12003 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12004 unconditional.
12005 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12006 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12007 unconditional.
12008 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12009
b741de23
SP
120102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12011
12012 [BZ #12140]
12013 * manual/memory.texi (Malloc Tunable Parameters): Add note
12014 about free list pointers overwriting some perturb bytes.
12015 Wording suggested by Roland McGrath.
12016
f9b9d9c9
JM
120172012-10-17 Joseph Myers <joseph@codesourcery.com>
12018
12019 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12020 (lgamma_test): Likewise.
12021 (tgamma_test): Likewise.
12022
172a631a
FW
120232012-10-16 Florian Weimer <fweimer@redhat.com>
12024
12025 [BZ #14700]
12026 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12027 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12028
e9f37252
MK
120292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12030
12031 * NEWS: Mention BZ #14716.
12032 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12033 when removing AVAILABLE1_USES_J macro.
12034
d394eb74
L
120352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12038 (__bswap_64): __uint64_t for unsigned 64-bit int.
12039
ca38dc17
AS
120402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12041
12042 * include/string.h (memmem): Declare libc hidden alias.
12043 * string/memmem.c (memmem): Define libc hidden alias.
12044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12045 __read, __close instead of open, read, close.
12046
9a387d1f
L
120472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12048
ac49ecaf
L
12049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12050 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12051 global and hidden.
12052 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12053 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12054 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12055 Likewise.
12056 (__rawmemchr_sse2): Likewise.
12057 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12058 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12059 (__strchr_sse2): Likewise.
12060 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12061 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12062 (__strcasecmp_sse2): Likewise.
12063 (__strncasecmp_sse2): Likewise.
12064 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12065 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12066 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12067 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12068 (__strrchr_sse2): Likewise.
12069 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12070 ifunc-impl-list.c.
12071 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12072 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12073 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12074 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12075 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12076 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12077 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12078 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12079 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12080 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12081 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12082 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12083 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12084 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12085 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12086 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12087 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12088 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12089 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12090 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12091 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12092 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12093 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12094 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12095 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12096 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12097 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12098 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12099 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12100 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12101
b090e8ea
L
12102 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12103 global and hidden.
12104 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12105 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12106 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12107 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12108 Likewise.
12109 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12110 Likewise.
12111 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12112 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12113 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12114 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12115 ifunc-impl-list.c.
12116 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12117 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12118 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12129 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12133 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12134 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12138 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12141 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12144 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12148 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12149 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12150 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12151 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12152 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12153 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12154 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12155 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12156 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12157
11dd4af6
L
12158 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12159 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12160 * include/ifunc-impl-list.h: New file.
12161 * misc/ifunc-impl-list.c: Likewise.
12162 * misc/Makefile (routines): Add ifunc-impl-list.
12163 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12164 * string/test-string.h: Include <ifunc-impl-list.h>.
12165 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12166 impl_array): New variables.
12167 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12168 are defined.
12169 (test_init): Call __libc_ifunc_impl_list to initialize
12170 func_list if TEST_IFUNC and TEST_NAME are defined.
12171
9a387d1f
L
12172 * string/Makefile (strop-tests): Add bcopy and bzero.
12173 * string/test-bcopy.c: New file.
12174 * string/test-bzero.c: Likewise.
12175 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12176 defined.
12177 * string/test-memset.c: Support bzero test if TEST_BZERO is
12178 defined.
12179 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12180 __libc_memmove.
12181 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12182 __libc_memset.
12183 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12184 of memset.
12185
472371b9
JM
121862012-10-10 Joseph Myers <joseph@codesourcery.com>
12187
1e4a9536
JM
12188 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12189 * configure: Regenerated.
12190
d173d12e
JM
12191 * Makeconfig (+link-static-before-libc): Don't include
12192 $(link-static-libc).
12193
472371b9
JM
12194 * libio/libio.h (_IO_pos_t): Remove.
12195
89a3ad0b
AO
121962012-10-10 Alexandre Oliva <aoliva@redhat.com>
12197
12198 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12199 McGrath.
12200
e7451425
AO
122012012-10-10 Alexandre Oliva <aoliva@redhat.com>
12202
12203 * crypt/crypt-entry.c: Include fips-private.h.
12204 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12205 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12206 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12207 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12208
4ba74a35
AO
122092012-10-10 Alexandre Oliva <aoliva@redhat.com>
12210
12211 * crypt/crypt-private.h: Include stdbool.h.
12212 (_ufc_setup_salt_r): Return bool.
12213 * crypt/crypt-entry.c: Include errno.h.
12214 (__crypt_r): Return NULL with EINVAL for bad salt.
12215 * crypt/crypt_util.c (bad_for_salt): New.
12216 (_ufc_setup_salt_r): Check that salt is long enough and within
12217 the specified alphabet.
12218 * crypt/badsalttest.c: New file.
12219 * crypt/Makefile (tests): Add it.
12220 ($(objpfx)badsalttest): New.
12221
f96f1242
MK
122222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12223
12224 * NEWS: Add entry for BZ #14602.
12225
0e8e0c1c
JM
122262012-10-09 Joseph Myers <joseph@codesourcery.com>
12227
12228 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12229 type-generic.
12230 * math/libm-test.inc: Update comment listing what functions and
12231 macros are tested.
12232 (isgreater_test): New function.
12233 (isgreaterequal_test): Likewise.
12234 (isless_test): Likewise.
12235 (islessequal_test): Likewise.
12236 (islessgreater_test): Likewise.
12237 (isunordered_test): Likewise.
12238 (main): Call the new functions.
12239
273edc5e
RM
122402012-10-09 Roland McGrath <roland@hack.frob.com>
12241
b8493de0
RM
12242 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12243 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12244 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12245 * sysdeps/i386/configure: Regenerated.
12246 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12247 * sysdeps/mach/configure: Regenerated.
12248 * sysdeps/mach/hurd/configure: Regenerated.
12249 * sysdeps/powerpc/configure: Regenerated.
12250 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12251 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12252 * sysdeps/s390/s390-32/configure: Regenerated.
12253 * sysdeps/s390/s390-64/configure: Regenerated.
12254 * sysdeps/sh/configure: Regenerated.
12255 * sysdeps/sparc/configure: Regenerated.
12256 * sysdeps/unix/sysv/linux/configure: Regenerated.
12257 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12258 * sysdeps/x86_64/configure: Regenerated.
12259
273edc5e
RM
12260 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12261 defined. Don't check if MAP is NULL.
12262
c8450f70
JM
122632012-10-09 Joseph Myers <joseph@codesourcery.com>
12264
12265 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12266 (_G_stat64): Likewise.
12267 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12268 (_G_stat64): Likewise.
12269 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12270 instead of struct _G_stat64.
12271 * libio/fileops.c (mmap_remap_check): Likewise.
12272 (decide_maybe_mmap): Likewise.
12273 (_IO_new_file_seekoff): Likewise.
12274 (_IO_file_stat): Likewise.
12275 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12276 _G_off64_t.
12277 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12278 instead of struct _G_stat64.
12279 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12280
57e605ba
MK
122812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12282
12283 [BZ #14602]
12284 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12285 Replace with ...
12286 (CHECK_EOL): New macro.
12287 (two_way_short_needle): Check beginning of haystack for EOL. Use
12288 CHECK_EOL.
12289 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12290 Replace with CHECK_EOL.
12291 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12292 Replace with CHECK_EOL.
12293
ef1bb361
JM
122942012-10-08 Joseph Myers <joseph@codesourcery.com>
12295
12296 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12297 type-generic.
12298 * math/libm-test.inc: Update comment listing what functions and
12299 macros are tested.
12300 (finite_test): New function.
12301 (isinf_test): Likewise.
12302 (isnan_test): Likewise.
12303 (fpclassify_test): Test subnormal input.
12304 (isfinite_test): Likewise.
12305 (isnormal_test): Likewise.
12306 (main): Call the new functions.
12307
55f11534
JN
123082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12309
12310 [BZ #14660]
12311 * Makerules (%.dynsym): Force C locale when running
12312 $(OBJDUMP) --dynamic-syms.
12313
1ab29350
AS
123142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12315
12316 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12317 <stdint.h>.
12318
f1ecb7ef
DM
123192012-10-06 David S. Miller <davem@davemloft.net>
12320
12321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12322 upper 32-bits of the length value in %o2 since we use branch-on-register
12323 tests which consider the entire 64-bit register.
12324
5d41d91a
L
123252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 * string/test-strstr.c (check2): Add a test for page boundary.
12328
3baddb72
DM
123292012-10-05 David S. Miller <davem@davemloft.net>
12330
12331 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12333 file.
12334 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12335 sysdep_routines.
12336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12337 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12338 and bzero when HWCAP_SPARC_CRYPTO is present.
12339
9cee5585
L
123402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12341
d7e0dab9
L
12342 [BZ #14602]
12343 * string/test-strstr.c (check2): New function.
12344 (test_main): Call check2.
12345
03759f47
L
12346 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12347 and bug-strchr1.
12348 * string/bug-strcasestr1.c (do_test): Moved to ...
12349 * string/test-strcasestr.c (check1): Here. New function.
12350 (do_one_test): Break out result checking code into ...
12351 (check_result): This. New function.
12352 (do_one_test): Call check_result.
12353 (test_main): Call check1.
12354 * string/bug-strchr1.c (do_test): Moved to ...
12355 * string/test-strchr.c (check1): Here. New function.
12356 (do_one_test): Break out result checking code into ...
12357 (check_result): This. New function.
12358 (do_one_test): Call check_result.
12359 (test_main): Call check1.
12360 * string/bug-strstr1.c (main): Moved to ...
046f153e 12361 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12362 (do_one_test): Break out result checking code into ...
12363 (check_result): This. New function.
12364 (do_one_test): Call check_result.
12365 (test_main): Call check1.
12366 * string/bug-strcasestr1.c: Removed.
12367 * string/bug-strchr1.c: Likewise.
12368 * string/bug-strstr1.c: Likewise.
12369
53cea63e
L
12370 * elf/Makefile (dl-routines): Add hwcaps.
12371 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12372 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12373 (_dl_important_hwcaps): Moved to ...
12374 * elf/dl-hwcaps.c: Here. New file.
12375 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12376
9cee5585 12377 [BZ #14557]
bb859b06
L
12378 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12379 if IS_IN_rtld isn't defined.
12380
9cee5585
L
12381 * elf/dl-support.c (_dl_sysinfo_map): New.
12382 Include "get-dynamic-info.h" and "setup-vdso.h".
12383 (_dl_non_dynamic_init): Call setup_vdso.
12384 * elf/dynamic-link.h: Don't include <assert.h>.
12385 (elf_get_dynamic_info): Moved to ...
12386 * elf/get-dynamic-info.h: Here. New file.
12387 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12388 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12389 * elf/setup-vdso.h: Here. New file.
12390 * elf/rtld.c: Include "setup-vdso.h".
12391 (dl_main): Call setup_vdso.
12392
23c31b76
JM
123932012-10-05 Joseph Myers <joseph@codesourcery.com>
12394
28234b07
JM
12395 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12396 creal in comment listing functions tested. List finite, isinf,
12397 isnan, isless, islessequal, isgreater, isgreaterequal,
12398 islessgreater, isunordered, lgamma_r and pow10 as functions and
12399 macros not tested. Mention which functions not tested are aliases
12400 for other functions. Fix typo. Note that signs of NaNs are not
12401 tested.
12402
23c31b76
JM
12403 * scripts/config.guess: Update from config.git.
12404 * scripts/config.sub: Likewise.
12405
9043e228
RM
124062012-10-04 Roland McGrath <roland@hack.frob.com>
12407
12408 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12409 * misc/madvise.c (madvise): Renamed to __madvise.
12410 Make madvise a weak alias.
12411 * include/sys/mman.h: Declare __madvise.
12412 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12413 * sysdeps/unix/syscalls.list
12414 (madvise): Make __madvise the strong name, and madvise a weak alias.
12415 * sysdeps/unix/sysv/linux/syscalls.list
12416 (madvise, mmap): Remove redundant entries.
12417 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12418 * malloc/malloc.c (mtrim): Likewise.
12419 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12420
f57f8055
RM
124212012-10-03 Roland McGrath <roland@hack.frob.com>
12422
12423 * sysdeps/mach/hurd/dl-cache.c: File removed.
12424 * config.h.in (USE_LDCONFIG): New #undef.
12425 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12426 * configure: Regenerated.
12427 * elf/Makefile (dl-routines): Add dl-cache only under
12428 [$(use-ldconfig) = yes].
12429 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12430 cache on [USE_LDCONFIG].
12431 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12432 [USE_LDCONFIG].
12433 * elf/rtld.c (dl_main): Likewise.
12434
5bb0c10a
PT
124352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12436
12437 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12438 _SC_LEVEL4_CACHE_LINESIZE.
12439
010188c6
RM
124402012-10-03 Roland McGrath <roland@hack.frob.com>
12441
12442 * sysdeps/unix/bsd/confstr.h: File removed.
12443
b6c5ec07
AO
124442012-10-02 Alexandre Oliva <aoliva@redhat.com>
12445
12446 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12447 sys/sdt-config.h.
12448
408223d4
RM
124492012-10-02 Roland McGrath <roland@hack.frob.com>
12450
12451 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12452 Make 'mapoff' field ElfW(Off) rather than off_t.
12453
bb9510dc
DL
124542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12455
fc997c6e
DL
12456 * nscd/Makefile: Remove nscd-cflags and all its users.
12457 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12458 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12459
bb9510dc
DL
12460 [BZ #10631]
12461 * malloc.c (malloc_printerr): Clarify error message.
12462
05699367
L
124632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 [BZ #14648]
12466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12467 Set bit_FMA_Usable if FMA is supported.
12468 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12469 macro.
12470 (bit_FMA4_Usable): Updated.
12471 (index_FMA_Usable): New macro.
12472 (CPUID_FMA): Likewise
12473 (HAS_FMA): Defined with bit_FMA_Usable.
12474
51367701
RM
124752012-10-01 Roland McGrath <roland@hack.frob.com>
12476
12477 * bits/types.h (__swblk_t): Type removed.
12478 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12479 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12481 (__SWBLK_T_TYPE): Likewise.
12482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12483 (__SWBLK_T_TYPE): Likewise.
12484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12485 (__SWBLK_T_TYPE): Likewise.
12486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12487 (__SWBLK_T_TYPE): Likewise.
12488
4d57bf63 124892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12490 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12491
12492 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12493 (xdr_mapname): Use YPMAXMAP as maxsize.
12494 (xdr_peername): Use YPMAXPEER as maxsize.
12495 (xdr_keydat): Use YPAXRECORD as maxsize.
12496 (xdr_valdat): Use YPMAXRECORD as maxsize.
12497
93c65d43
RM
124982012-10-01 Roland McGrath <roland@hack.frob.com>
12499
497a03d6
RM
12500 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12501
93c65d43
RM
12502 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12503 * csu/init-first.c: ... here.
12504 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12505 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12506 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12507 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12508 * sysdeps/i386/init-first.c: File removed.
12509 * sysdeps/sh/init-first.c: File removed.
12510
bec749fd
JM
125112012-10-01 Joseph Myers <joseph@codesourcery.com>
12512
12513 [BZ #14645]
12514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12515 if x * y might underflow to zero and z is zero.
12516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12518 * math/libm-test.inc (min_subnorm_value): New variable.
12519 (fma_test): Add more tests.
12520 (fma_test_towardzero): Likewise.
12521 (fma_test_downward): Likewise
12522 (fma_test_upward): Likewise.
12523 (initialize): Set min_subnorm_value.
12524
8ec5b013
JM
125252012-09-29 Joseph Myers <joseph@codesourcery.com>
12526
12527 [BZ #14638]
12528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12529 0 + 0.
12530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12531 mode for addition resulting in exact zero.
12532 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12534 exact 0 + 0.
12535 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12537 * math/libm-test.inc (fma_test): Add more tests.
12538 (fma_test_towardzero): New function.
12539 (fma_test_downward): Likewise.
12540 (fma_test_upward): Likewise.
12541 (main): Call the new functions.
12542
b1fa802e
DM
125432012-09-28 David S. Miller <davem@davemloft.net>
12544
12545 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12546
d3b9fd9e
RM
125472012-09-28 Roland McGrath <roland@hack.frob.com>
12548
ea4d37b3
RM
12549 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12550 instead of SIGALRM.
12551
ac51c949
RM
12552 * sysdeps/gnu/_G_config.h: Moved to ...
12553 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12554 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12555 * sysdeps/generic/_G_config.h: ... here.
12556
28c195f7
RM
12557 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12558
848917f9
RM
12559 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12560
6bacf05b
RM
12561 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12562 Conditionalize target on [libnss_test1.so-version].
12563
91363dbb
RM
12564 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12565
cc87f7d8
RM
12566 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12567 (elfobjdir): Move out of conditionals.
12568
b1c608fe
RM
12569 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12570 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12571 (__nss_lookup_function): Conditionalize label remove_from_tree on
12572 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12573
1d9a6d96
DM
125742012-09-28 David S. Miller <davem@davemloft.net>
12575
12576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12578 file.
12579 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12580 sysdep_routines.
12581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12583 when HWCAP_SPARC_CRYPTO is present.
12584
72581615
PT
125852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12586
12587 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12588
715a900c
JL
125892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12590
12591 [BZ #6530]
12592 * stdio-common/vfprintf.c (process_string_arg): Revert
12593 2000-07-22 change.
12594
125952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12596
12597 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12598 for testcase.
12599 * stdio-common/tst-sprintf.c: Include <locale.h>
12600 (main): Test sprintf's handling of incomplete multibyte
12601 characters.
12602
9bac1d86
L
126032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 * elf/dl-runtime.c (VERSYMIDX): Removed.
12606 * elf/dl-version.c (VERSYMIDX): Likewise.
12607 * elf/do-rel.h (VERSYMIDX): Likewise.
12608 (VALIDX): Likewise.
12609 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12610 * elf/rtld.c (VALIDX): Likewise.
12611 (ADDRIDX): Likewise.
9bac1d86
L
12612 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12613 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12614 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12615 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12616 (VALIDX): Likewise.
12617 (ADDRIDX): Likewise.
9bac1d86 12618
b31606c0
PT
126192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12620
12621 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12622
11541177
JL
126232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12624
12625 [BZ #11438]
12626 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12627 to global scope.
12628 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12629 addresses are in the same scope as 192.0.2/24.
12630 * posix/gai.conf: Document new scope table defaults.
12631
adb26fae
SP
126322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12633
12634 [BZ #5298]
12635 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12636 for ftell. Compute offsets from write pointers instead.
12637 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12638
4573c6b0
SP
126392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12640
12641 [BZ #14543]
12642 * libio/Makefile (tests): New test case tst-fseek.
12643 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12644 combination works in wide mode.
12645 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12646 state when the external buffer state changes.
12647
aa9bbfe6
DM
126482012-09-27 David S. Miller <davem@davemloft.net>
12649
12650 [BZ #14376]
12651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12652 pass reloc->r_addend in as the 'high' argument to
12653 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12654
784421e7
DM
12655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12656
c39bc8b8
PT
126572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12658
12659 * rt/tst-aio2.c: Include <pthread.h>.
12660 * rt/tst-aio3.c: Likewise.
12661
1ccc2399
SE
126622012-09-27 Steve Ellcey <sellcey@mips.com>
12663
12664 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12665
31ed4153
L
126662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12667
25f5f885
L
12668 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12669 contents on [SHARED].
31ed4153 12670
b7bfe116
MP
126712012-09-26 Marek Polacek <polacek@redhat.com>
12672
12673 [BZ #14530]
12674 [BZ #13741]
12675 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12676 for C++ and GCC <4.3 as well as for non GCC compilers.
12677
43c4edba
MT
126782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12679
12680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12681
6a1bf82f
RM
126822012-09-25 Roland McGrath <roland@hack.frob.com>
12683
12684 * Makefile.in (all, install): Declare with .PHONY.
12685 Reported by Michael Hope <michael.hope@linaro.org>.
12686
8ad11b9a
TMQMF
126872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12688
12689 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12690 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12691 system header.
12692 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12693 Likewise.
12694 (sydep_routines): Add the new and the internal functions.
12695 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12698 (GLIBC_2.17): Add the new function.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12700 (GLIBC_2.17): Likewise.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12702 (GLIBC_2.17): Likewise.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12704 (GLIBC_2.17): Likewise.
12705 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12706
7e2fca8d
AM
127072012-09-25 Alan Modra <amodra@gmail.com>
12708
12709 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12710 Add release barrier before setting once_control to say
12711 initialisation is done. Add hints on lwarx. Use macro in
12712 place of isync.
12713 (clear_once_control): Add release barrier.
12714
b87c4b24
JM
127152012-09-25 Joseph Myers <joseph@codesourcery.com>
12716
d032e0d2
JM
12717 [BZ #13629]
12718 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12719 specially.
12720 * math/s_clog10.c (__clog10): Likewise.
12721 * math/s_clog10f.c (__clog10f): Likewise.
12722 * math/s_clog10l.c (__clog10l): Likewise.
12723 * math/s_clogf.c (__clogf): Likewise.
12724 * math/s_clogl.c (__clogl): Likewise.
12725 * math/Makefile (libm-calls): Add x2y2m1.
12726 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12727 (__x2y2m1): Likewise.
12728 (__x2y2m1l): Likewise.
12729 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12730 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12733 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12734 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12735 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12736 * sysdeps/i386/fpu/libm-test-ulps: Update.
12737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12738
b87c4b24
JM
12739 [BZ #14621]
12740 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12741 int as type of variable DEPTH.
12742 (glob): Use size_t instead of int as type of variables NEWCOUNT
12743 and OLD_PATHC.
12744
6d3bf199
LD
127452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12746
22bf5c17
LD
12747 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12748 Add s_sincosf-sse2.
12749 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12750 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12751 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12752 macros for using routine as __sincosf_ia32.
12753 Use macro for function declaration and weak_alias.
12754 * sysdeps/i386/fpu/libm-test-ulps: Update.
12755
12756 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12758
12759 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12760 subnormal argument.
12761 * math/s_cexpf.c (__cexpf): Likewise.
12762 * math/s_csinf.c (__csinf): Likewise.
12763 * math/s_csinhf.c (__csinhf): Likewise.
12764 * math/s_ctanf.c (__ctanf): Likewise.
12765 * math/s_ctanhf.c (__ctanhf): Likewise.
12766 * math/s_ccosh.c (__ccoshf): Likewise.
12767 * math/s_cexp.c (__cexpl): Likewise.
12768 * math/s_csin.c (__csin): Likewise.
12769 * math/s_csinh.c (__csinh): Likewise.
12770 * math/s_ctan.c (__ctan): Likewise.
12771 * math/s_ctanh.c (ctanh): Likewise.
12772 * math/s_ccoshl.c (__ccoshl): Likewise.
12773 * math/s_cexpl.c (__cexpl): Likewise.
12774 * math/s_csinl.c (__csinl): Likewise.
12775 * math/s_csinhl.c (__csinhl): Likewise.
12776 * math/s_ctanl.c (__ctanl): Likewise.
12777 * math/s_ctanhl.c (__ctanhl): Likewise.
12778
203e5603
JM
127792012-09-25 Joseph Myers <joseph@codesourcery.com>
12780
12781 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12782 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12783 (_IO_off_t): Define to __off_t, not _G_off_t.
12784 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12785 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12786 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12787 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12788 type of __dummy and __dummy2 fields.
12789 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12790 (_G_ssize_t): Likewise.
12791 (_G_off_t): Likewise.
12792 (_G_pid_t): Likewise.
12793 (_G_uid_t): Likewise.
12794 (_G_wchar_t): Likewise.
12795 (_G_wint_t): Likewise.
12796 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12797 (_G_ssize_t): Likewise.
12798 (_G_off_t): Likewise.
12799 (_G_pid_t): Likewise.
12800 (_G_uid_t): Likewise.
12801 (_G_wchar_t): Likewise.
12802 (_G_wint_t): Likewise.
12803 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12804 (_G_ssize_t): Likewise.
12805 (_G_off_t): Likewise.
12806 (_G_pid_t): Likewise.
12807 (_G_uid_t): Likewise.
12808 (_G_wchar_t): Likewise.
12809 (_G_wint_t): Likewise.
12810
9fab36eb
SP
128112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12812
12813 * malloc/arena.c: Include malloc-sysdep.h.
12814 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12815 is sufficient to shrink the heap or an unmap is needed.
12816 * sysdeps/generic/malloc-sysdep.h: New file. Define
12817 new function check_may_shrink_heap.
12818 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12819 new function check_may_shrink_heap.
12820
2b4f00d1
SP
128212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12822
12823 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12824 comments.
12825
9a9028b1
DL
128262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12827
57c69bef
DL
12828 * catgets/test-gencat.sh: Add "set -e".
12829 * elf/tst-pathopt.sh: Likewise.
12830 * grp/tst_fgetgrent.sh: Likewise.
12831 * iconvdata/run-iconv-test.sh: Likewise.
12832 * intl/tst-gettext.sh: Likewise.
12833 * intl/tst-gettext2.sh: Likewise.
12834 * intl/tst-gettext4.sh: Likewise.
12835 * intl/tst-gettext6.sh: Likewise.
12836 * intl/tst-translit.sh: Likewise.
12837 * io/ftwtest-sh: Likewise.
12838 * libio/test-freopen.sh: Likewise.
12839 * malloc/tst-mtrace.sh: Likewise.
12840 * posix/globtest.sh: Likewise.
12841 * posix/tst-getconf.sh: Likewise.
12842 * posix/wordexp-tst.sh: Likewise.
12843 * stdio-common/tst-printf.sh: Likewise.
12844 * stdio-common/tst-unbputc.sh: Likewise.
12845 * stdlib/tst-fmtmsg.sh: Likewise.
12846 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12847 * catgets/Makefile: Do not specify -e option when running
12848 testsuite shell scripts.
12849 * elf/Makefile: Likewise.
12850 * grp/Makefile: Likewise.
12851 * iconvdata/Makefile: Likewise.
12852 * intl/Makefile: Likewise.
12853 * io/Makefile: Likewise.
12854 * libio/Makefile: Likewise.
12855 * malloc/Makefile: Likewise.
12856 * posix/Makefile: Likewise.
12857 * stdio-common/Makefile: Likewise.
12858 * stdlib/Makefile: Likewise.
12859 * sysdeps/x86_64/Makefile: Likewise.
12860
9a9028b1
DL
12861 * io/ftwtest-sh: Add copyright header.
12862 * posix/globtest.sh: Likewise.
12863 * posix/tst-getconf.sh: Likewise.
12864 * posix/wordexp-tst.sh: Likewise.
12865 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12866
ced6f16e
L
128672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12868
94b32c39
L
12869 [BZ #13679]
12870 * Makeconfig (+link): Defined as $(+link-static) if
12871 $(build-shared) isn't yes.
12872 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12873 isn't yes.
12874 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12875
189e935b
L
12876 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12877
ced6f16e
L
12878 [BZ #14562]
12879 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12880 new chunk size with MALLOC_ALIGN_MASK.
12881
a9f8e53a
JM
128822012-09-24 Joseph Myers <joseph@codesourcery.com>
12883
12884 [BZ #5044]
12885 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12886 <rounding-mode.h>.
12887 (__printf_fphex): Determine rounding using get_rounding_mode and
12888 round_away.
12889 * stdio-common/tst-printf-round.c (struct hex_test): New
12890 structure.
12891 (hex_tests): New variable.
12892 (test_hex_in_one_mode): New function.
12893 (do_test): Also run tests for hex float output.
12894
43153109
JM
128952012-09-21 Joseph Myers <joseph@codesourcery.com>
12896
12897 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12899 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12900 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12901 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12902 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12903 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12904 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12905
8a26625d
JM
129062012-09-20 Joseph Myers <joseph@codesourcery.com>
12907
12908 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12909 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12910 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12911 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12912
f3fd569c
DL
129132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12914
12915 [BZ #14579]
12916 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12917 mode only.
12918 * elf/tst-rtld-load-self.sh: New test.
12919 * elf/Makefile: Run it.
12920
63bbedd4
JM
129212012-09-18 Joseph Myers <joseph@codesourcery.com>
12922
12923 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12924 (tst-writev-ENV): Remove.
12925 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12926
626f8b6a
CM
129272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12928
12929 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12930
b7aaa4d6
JM
129312012-09-17 Joseph Myers <joseph@codesourcery.com>
12932
12933 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12934 unconditional.
12935 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12936 Likewise.
12937 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12938 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12939 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12940 Likewise.
12941
65513990
L
129422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12943
12944 [BZ #14587]
12945 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12946 * config.make.in (have-cpp-asm-debuginfo): Removed.
12947 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12948 * configure: Regenerated.
12949
784761be
JM
129502012-09-14 Joseph Myers <joseph@codesourcery.com>
12951
12952 [BZ #5044]
12953 * stdio-common/printf_fp.c: Include <stdbool.h> and
12954 <rounding-mode.h>.
12955 (___printf_fp): Determine rounding using get_rounding_mode and
12956 round_away.
12957 * stdio-common/tst-printf-round.c: New file.
12958 * stdio-common/Makefile (tests): Add tst-printf-round.
12959 (link-libm): New variable.
12960 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12961
9503345f
L
129622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 [BZ #14576]
12965 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12966 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12967 Likewise.
12968 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12969 Likewise.
12970
ad35fc00
JM
129712012-09-13 Joseph Myers <joseph@codesourcery.com>
12972
12973 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12974 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12975 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12976 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12977
6c9b0f68
JM
129782012-09-12 Joseph Myers <joseph@codesourcery.com>
12979
12980 [BZ #14518]
12981 * include/rounding-mode.h: New file.
12982 * sysdeps/generic/get-rounding-mode.h: Likewise.
12983 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12984 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12985 (MAX_VALUE): New macro.
12986 (MIN_VALUE): Likewise.
12987 (overflow_value): New function.
12988 (underflow_value): Likewise.
12989 (round_and_return): Use overflow_value and underflow_value to
12990 determine return values in overflow and underflow cases. Use
12991 round_away to determine rounding depending on rounding mode.
12992 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12993 determine return values in overflow and underflow cases.
12994 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12995 (struct test_results): New structure.
12996 (struct test): Use struct test_results to store expected results
12997 for all rounding modes.
12998 (TEST): Include expected results for all rounding modes.
12999 (test_in_one_mode): New function.
13000 (do_test): Use test_in_one_mode to compute and check results.
13001 Check results for all rounding modes.
13002 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13003 $(link-libm).
13004
19fcedd5
AM
130052012-12-09 Allan McRae <allan@archlinux.org>
13006
1e9d84cd 13007 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13008
8bbfd2f1
JM
130092012-09-11 Joseph Myers <joseph@codesourcery.com>
13010
13011 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13012 (_G_int32_t): Likewise.
13013 (_G_uint16_t): Likewise.
13014 (_G_uint32_t): Likewise.
13015 (_G_HAVE_BOOL): Likewise.
13016 (_G_HAVE_ATEXIT): Likewise.
13017 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13018 (_G_HAVE_IO_FILE_OPEN): Likewise.
13019 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13020 (_G_int32_t): Likewise.
13021 (_G_uint16_t): Likewise.
13022 (_G_uint32_t): Likewise.
13023 (_G_HAVE_BOOL): Likewise.
13024 (_G_HAVE_ATEXIT): Likewise.
13025 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13026 (_G_HAVE_IO_FILE_OPEN): Likewise.
13027 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13028 (_G_int32_t): Likewise.
13029 (_G_uint16_t): Likewise.
13030 (_G_uint32_t): Likewise.
13031 (_G_HAVE_BOOL): Likewise.
13032 (_G_HAVE_ATEXIT): Likewise.
13033 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13034 (_G_HAVE_IO_FILE_OPEN): Likewise.
13035
b1dc5912
L
130362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * csu/libc-tls.c: Update copyright years.
13039
0e886ef9
JM
130402012-09-10 Joseph Myers <joseph@codesourcery.com>
13041
28361c5e
JM
13042 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13043 [!_G_USING_THUNKS]: Remove conditional code.
13044 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13045 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13046
0e886ef9
JM
13047 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13048 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13049 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13050 (_G_VTABLE_LABEL_PREFIX): Likewise.
13051 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13052 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13053 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13054 (_G_VTABLE_LABEL_PREFIX): Likewise.
13055 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13056 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13058 (_G_VTABLE_LABEL_PREFIX): Likewise.
13059 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13060
bcba7aa2
L
130612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13062
13063 * libio/Makefile: Include ../Makeconfig before tests.
13064 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13065 only if $(build-shared) is yes.
13066
06585ee8
L
13067 * iconv/gconv_db.c: Update copyright years.
13068
80ccd52c
LD
130692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13070
13071 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13072 unwind info if defined PIC. Fix special cases description.
13073 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13074
13075 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13076 DP_HI_MASK entry.
13077 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13078
691bc9c1
L
130792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13080
3d9b46b3
L
13081 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13082
de2139a9
L
13083 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13084 is NULL.
13085
5ca78dd0
L
13086 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13087 (LDLIBS-tst-chk4): This.
13088 (LDFLAGS-tst-chk5): Renamed to ...
13089 (LDLIBS-tst-chk5): This.
13090 (LDFLAGS-tst-chk6): Renamed to ...
13091 (LDLIBS-tst-chk6): This.
13092 (LDFLAGS-tst-lfschk4): Renamed to ...
13093 (LDLIBS-tst-lfschk4): This.
13094 (LDFLAGS-tst-lfschk5): Renamed to ...
13095 (LDLIBS-tst-lfschk5): This.
13096 (LDFLAGS-tst-lfschk6): Renamed to ...
13097 (LDLIBS-tst-lfschk6): This.
13098
691bc9c1
L
13099 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13100 on $(common-objpfx)soversions.mk.
13101
65cafb1c
JM
131022012-09-07 Joseph Myers <joseph@codesourcery.com>
13103
13104 [BZ #10014]
13105 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13106 example host name.
13107
c78ab094
SP
131082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13109
13110 * malloc/arena.c (arena_get_retry): New function that gets
13111 another arena for the caller to try its request on.
13112 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13113 current arena cannot fulfill the request.
13114 (__libc_memalign): Likewise.
13115 (__libc_memalign): Likewise.
13116 (__libc_pvalloc): Likewise.
13117 (__libc_calloc): Likewise.
13118
01f49f59
JT
131192012-09-05 John Tobey <john.tobey@gmail.com>
13120
13121 [BZ #13542]
13122 * manual/arith.texi (Operations on Complex): Fix description
13123 of carg branch cut.
13124
4c23fed5
JM
131252012-09-06 Joseph Myers <joseph@codesourcery.com>
13126
1d3c8572
JM
13127 [BZ #10014]
13128 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13129 host name.
13130
4c23fed5
JM
13131 [BZ #10038]
13132 * manual/memory.texi (Memory): Make order of menu items match
13133 order of sections.
13134
04570aaa
L
131352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13136
13137 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13138 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13139 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13140
b80af2f4
L
131412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 * csu/libc-tls.c (static_dtv): Renamed to ...
13144 (_dl_static_dtv): This. Make it global.
13145 (_dl_initial_dtv): Removed.
13146 (__libc_setup_tls): Updated.
13147 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13148 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13149 DL_INITIAL_DTV.
13150
2abe9f15
PM
131512012-09-06 Petr Machata <pmachata@redhat.com>
13152
13153 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13154 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13155 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13156 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13157
0948c3af
L
131582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13159
13160 [BZ #14545]
13161 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13162 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13163 freeing dtv[-1].
13164
a5055ad1
L
131652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 [BZ #14544]
13168 * Makeconfig (link-static-before-libc): Replace $(+prector)
13169 with $(+prectorT).
13170 (link-static-after-libc): Replace $(+postctor) with
13171 $(+postctorT).
13172 (link-bounded): Replace $(+prector)/$(+postctor) with
13173 $(+prectorT)/$(+postctorT).
13174 (+prectorT): New macro.
13175 (+postctorT): Likewise.
13176
ed8c2ecd
JM
131772012-09-06 Joseph Myers <joseph@codesourcery.com>
13178
13179 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13180 (round_str): Handle values above the maximum for IBM long double
13181 as inexact.
13182 * stdlib/tst-strtod-round.c (tests): Regenerated.
13183
14c996c8
AK
131842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13185
13186 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13187 assembler flag.
13188 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13189 zarch_nohighgprs around the zarch optimized routines.
13190 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13191 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13193 for zarch.
13194
430d6ce6
DM
131952012-09-05 David S. Miller <davem@davemloft.net>
13196
13197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13198
ff04dda4
DM
13199 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13200 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13201 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13202 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13203 entries.
13204
24d4e01b
AO
132052012-09-05 Alexandre Oliva <aoliva@redhat.com>
13206
13207 * malloc/arena.c: Fold copyright years.
13208 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13209
61d58174
AO
132102012-09-05 Alexandre Oliva <aoliva@redhat.com>
13211
13212 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13213
20196a5e
AO
132142012-09-05 Alexandre Oliva <aoliva@redhat.com>
13215
13216 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13217
5c447383
AO
132182012-09-05 Alexandre Oliva <aoliva@redhat.com>
13219
13220 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13221 change internal state upon failure.
13222
fad64255
AO
132232012-09-05 Alexandre Oliva <aoliva@redhat.com>
13224
13225 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13226 * malloc/memusage.c (mmap): Likewise.
13227 (mmap64, mremap): Likewise. Adjust name in comment.
13228
1ffb8c90
SP
132292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13230
13231 * libio/fileops.c: Fix typos in comments.
13232 * libio/oldfileops.c: Likewise.
13233 * libio/wfileops.c: Likewise.
13234
6ef9cc37
SP
132352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13236
13237 [BZ #1349]
13238 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13239 (tst-malloc-usable-ENV): Set environment for test case.
13240 * malloc/hooks.c (malloc_check_get_size): New function to get
13241 requested size.
13242 * malloc/malloc.c (musable): Use malloc_check_get_size.
13243 * malloc/tst-malloc-usable.c: New test case.
13244
4d038ae3
AS
132452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13246
13247 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13248
c4e85184
AM
132492012-09-05 Allan McRae <allan@archlinux.org>
13250
b9dafc56 13251 [BZ #13966]
c4e85184
AM
13252 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13253 determine header location.
13254 * configure: Regenerated.
13255
e1343020
AS
132562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13257
13258 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13259 float format.
13260 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13261 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13262 format.
e1343020
AS
13263 (test): Regenerate.
13264
0a9f1987
DM
132652012-09-04 David S. Miller <davem@davemloft.net>
13266
13267 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13268 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13270
29237804
FW
132712012-09-04 Florian Weimer <fweimer@redhat.com>
13272
13273 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13274 failures.
13275
edb3cb88
FW
13276 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13277
60160d83
JM
132782012-09-04 Joseph Myers <joseph@codesourcery.com>
13279
13280 [BZ #9914]
13281 * libio/iogetdelim.c: Include <limits.h>.
13282 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13283 + len + 1 would overflow.
13284
bcd6c8dc
AJ
132852012-09-03 Andreas Jaeger <aj@suse.de>
13286
13287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13288 * sysdeps/i386/fpu/libm-test-ulps: Update.
13289
4ffffbd2
LD
132902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13291
13292 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13293 Add s_sinf-sse2, s_conf-sse2.
13294
13295 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13296 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13297 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13298 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13299
13300 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13301 for using routine as __sinf_ia32.
13302 Use macro for function declaration and weak_alias.
13303 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13304 for using routine as __cosf_ia32.
13305 Use macro for function declaration and weak_alias.
13306
13307 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13308 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13309
13310 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13311 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13313
13314 * math/libm-test.inc (cos_test): Add more test cases.
13315 (sin_test): Likewise.
13316 (sincos_test): Likewise.
13317
511fa286
AK
133182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13319
13320 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13321 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13322 hidden.
13323 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13324
5f30cfec
L
133252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13326
13327 [BZ #14538]
13328 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13329 first element of the GOT.
13330 (elf_machine_load_address): Return the difference between
13331 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13332
0786794f
AM
133332012-09-01 Allan McRae <allan@archlinux.org>
13334
5f30cfec
L
13335 [BZ #13412]
13336 * configure.in (AWK): Require gawk version 3.0 or later.
13337 * configure: Regenerated.
0786794f 13338
26889eac
JM
133392012-09-01 Joseph Myers <joseph@codesourcery.com>
13340
13341 * sysdeps/unix/sysv/linux/kernel-features.h
13342 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13343 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13344 [__NR_clock_getres]: Make code unconditional.
13345 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13346 (clock_getcpuclockid): Remove code left unreachable by removal of
13347 conditionals.
13348 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13349 code unconditional.
13350 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13351 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13352 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13353 Make code unconditional.
13354 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13356 * sysdeps/unix/sysv/linux/clock_settime.c
13357 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13358 conditional code.
13359 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13360 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13361
d22e28b0
L
133622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13363
13364 [BZ #14476]
13365 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13366 scripts/test-installation.pl.
13367
13368 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13369 and $ld_so_version if it is set.
13370
050af9c4
SP
133712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13372
13373 [BZ #14516]
13374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13375 failure if reading from procfs failed.
13376 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13377
ad845c0b
JM
133782012-08-27 Joseph Myers <joseph@codesourcery.com>
13379
13380 * sysdeps/unix/sysv/linux/kernel-features.h
13381 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13382 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13383 Remove conditional code.
13384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13385 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13386 Remove conditional code.
13387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13388 * sysdeps/unix/sysv/linux/i386/fxstat.c
13389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13391 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13394 * sysdeps/unix/sysv/linux/i386/lxstat.c
13395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13397 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13398 Remove conditional code.
13399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13400 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13401 Remove conditional code.
13402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13403 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13404 <kernel-features.h>.
13405 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13406 Remove.
13407 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13408 Remove conditional code.
13409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13410 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13411 Remove conditional.
13412
5dbf56af
MF
134132012-08-27 Mike Frysinger <vapier@gentoo.org>
13414
13415 [BZ #5400]
13416 * NEWS: Add fixed bug number.
13417
d6e70f43
JM
134182012-08-27 Joseph Myers <joseph@codesourcery.com>
13419
7efb4737
JM
13420 [BZ #14519]
13421 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13422 underflowing exponent in case of negative sign.
13423 * stdlib/tst-strtod-round-data: Add more tests.
13424 * stdlib/tst-strtod-round.c (tests): Regenerated.
13425
af92131a
JM
13426 [BZ #3479]
13427 * stdlib/strtod_l.c (NDIG): Remove.
13428 (HEXNDIG): Likewise.
13429 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13430 smallest representable value.
13431 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13432 lie within an exact representation of 1/2 ulp of the result.
13433 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13434 unconditionally.
13435 (TENS_P9_IDX): Define unconditionally.
13436 (TENS_P9_SIZE): Likewise.
13437 (TENS_P10_IDX): Likewise.
13438 (TENS_P10_SIZE): Likewise.
13439 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13440 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13441 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13442 entries for 10^2^13 and 10^2^14.
13443 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13444 (TENS_P13_IDX): Define.
13445 (TENS_P13_SIZE): Likewise.
13446 (TENS_P14_IDX): Likewise.
13447 (TENS_P14_SIZE): Likewise.
13448 (_fpioconst_pow10): Change array size to
13449 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13450 unconditional.
13451 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13452 1024]: Add entries for 10^2^13 and 10^2^14.
13453 [LAST_POW10 > _LAST_POW10]: Remove #error.
13454 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13455 (_fpioconst_pow10): Change array size to
13456 FPIOCONST_POW10_ARRAY_SIZE.
13457 * stdlib/gen-fpioconst.c: New file.
13458 * stdlib/gen-tst-strtod-round.c: Likewise.
13459 * stdlib/tst-strtod-round-data: Likewise.
13460 * stdlib/tst-strtod-round.c: Likewise.
13461 * stdlib/Makefile (tests): Add tst-strtod-round.
13462
d6e70f43
JM
13463 [BZ #14459]
13464 * stdlib/strtod_l.c: Include <stdint.h>.
13465 (NDEBUG): Do not define.
13466 (round_and_return): Change EXPONENT parameter to type intmax_t.
13467 Rearrange calculations to avoid internal overflow possibilities.
13468 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13469 Rearrange calculations to avoid internal overflow possibilities.
13470 Assert that number fits inside MPNSIZE limbs.
13471 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13472 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13473 calculations and add assertions to avoid internal overflow
13474 possibilities. Add casts to avoid signed/unsigned operations.
13475 * stdlib/tst-strtod-overflow.c: New file.
13476 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13477
1f529f7d
MP
134782012-08-25 Marek Polacek <polacek@redhat.com>
13479
13480 * time/time.h: Fix some typos in comments.
13481
59a629f1
RM
134822012-08-23 Roland McGrath <roland@hack.frob.com>
13483
13484 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13485 * posix/tst-rfc3484-2.c: Likewise.
13486 * posix/tst-rfc3484-3.c: Likewise.
13487
d3bafbc9
SM
134882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13489
13490 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13491 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13492
4efcc022
JM
134932012-08-23 Joseph Myers <joseph@codesourcery.com>
13494
13495 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13496 #include of fxstatat64.c.
13497
3cc3ef96
RM
134982012-08-22 Roland McGrath <roland@hack.frob.com>
13499
f04e2132
RM
13500 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13501 * shadow/getspent_r.c: Likewise.
13502 * shadow/getspnam.c: Likewise.
13503 * shadow/getspnam_r.c: Likewise.
13504 * gshadow/getsgent.c: Likewise.
13505 * gshadow/getsgent_r.c: Likewise.
13506 * gshadow/getsgnam.c: Likewise.
13507 * gshadow/getsgnam_r.c: Likewise.
13508 * inet/getnetbyad.c: Likewise.
13509 * inet/getnetbyad_r.c: Likewise.
13510 * inet/getnetbynm.c: Likewise.
13511 * inet/getnetbynm_r.c: Likewise.
13512 * inet/getnetent.c: Likewise.
13513 * inet/getnetent_r.c: Likewise.
13514 * inet/getproto.c: Likewise.
13515 * inet/getproto_r.c: Likewise.
13516 * inet/getprtent.c: Likewise.
13517 * inet/getprtent_r.c: Likewise.
13518 * inet/getprtname.c: Likewise.
13519 * inet/getprtname_r.c: Likewise.
13520 * inet/getrpcbyname.c: Likewise.
13521 * inet/getrpcbyname_r.c: Likewise.
13522 * inet/getrpcbynumber.c: Likewise.
13523 * inet/getrpcbynumber_r.c: Likewise.
13524 * inet/getrpcent.c: Likewise.
13525 * inet/getrpcent_r.c: Likewise.
13526 * inet/getaliasent.c: Likewise.
13527 * inet/getaliasent_r.c: Likewise.
13528 * inet/getaliasname.c: Likewise.
13529 * inet/getaliasname_r.c: Likewise.
13530 * nscd/getgrgid_r.c: Likewise.
13531 * nscd/getgrnam_r.c: Likewise.
13532 * nscd/gethstbyad_r.c: Likewise.
13533 * nscd/gethstbynm3_r.c: Likewise.
13534 * nscd/getpwnam_r.c: Likewise.
13535 * nscd/getpwuid_r.c: Likewise.
13536 * nscd/getsrvbynm_r.c: Likewise.
13537 * nscd/getsrvbypt_r.c: Likewise.
13538 * nscd/gai.c: Likewise.
13539
c53d909c
RM
13540 * configure.in (build_nscd): New substituted variable, set
13541 by --disable-build-nscd and defaults to $use_nscd.
13542 * configure: Regenerated.
13543 * config.make.in (build-nscd): New substituted variable.
13544 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13545 Change conditional to require [$(build-nscd) = yes] as well.
13546 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13547
3cc3ef96
RM
13548 [BZ# 13696]
13549 * configure.in (use_nscd): New substituted variable, set by
13550 --disable-nscd. If enabled, define USE_NSCD.
13551 * configure: Regenerated.
13552 * config.h.in: Add USE_NSCD.
13553 * config.make.in (use-nscd): New substituted variable.
13554 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13555 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13556 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13557 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13558 (CFLAGS-getgrnam_r.c): Likewise.
13559 (CFLAGS-initgroups.c): Likewise.
13560 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13561 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13562 Variables removed.
13563 * inet/getnetgrent_r.c
13564 (nscd_setnetgrent): New function, broken out of ...
13565 (setnetgrent): ... here. Call it.
13566 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13567 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13568 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13569 * nscd/Makefile (routines, aux): Move definitions after include of
13570 Makeconfig. Conditionalize on [$(use-nscd) != no].
13571 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13572 Conditionalize on [USE_NSCD].
13573 (is_nscd, nscd_init_cb): Likewise.
13574 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13575 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13576 * nss/nss_db/db-init.c: Likewise.
13577 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13578 [USE_NSCD].
13579 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13580 (make_request): Use it.
13581 (cache_valid_p): New function.
13582 (__check_pf): Use it.
13583 * NEWS: Add item for --disable-nscd.
13584
07e51550
DL
135852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13586
13587 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13588 to support sed >= 4.2.1-20-ga9bf076.
13589 * configure: Regenerated.
13590
35a5b08b
RM
135912012-08-22 Roland McGrath <roland@hack.frob.com>
13592
13593 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13594 Conditionalize whole body on [IREL].
13595
8479f23a
JL
135962012-08-22 Jeff Law <law@redhat.com>
13597
13598 [BZ #14505]
13599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13600 if the family is PF_UNSPEC.
13601
48da0b21
MF
136022012-08-22 Mike Frysinger <vapier@gentoo.org>
13603
13604 * Makerules (lib-version): Rename from V.
13605 (install-lib-nosubdir): Change V to lib-version.
13606
15d0da8c
WS
136072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13608
13609 [BZ #14252]
13610 * powerpc32/power6/wcschr.c: New file.
13611 * powerpc32/power6/wcscpy.c: New file.
13612 * powerpc32/power6/wcsrchr.c: New file.
13613 * powerpc64/power6/wcschr.c: New file.
13614 * powerpc64/power6/wcscpy.c: New file.
13615 * powerpc64/power6/wcsrchr.c: New file.
13616
bcca0895
MK
136172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13618
13619 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13620 (two_way_short_needle): Use it.
5a4aaa33
RM
13621 * string/strstr.c (AVAILABLE1_USES_J): Define.
13622 * string/strcasestr.c: Likewise.
99677e57
MK
13623
13624 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13625 array references.
13626 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13627
400726de
MK
13628 [BZ #11607]
13629 * NEWS: Add an entry.
13630 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13631 define their defaults.
13632 (two_way_short_needle): Detect end-of-string on-the-fly.
13633 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13634 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13635 * string/bug-strcasestr1.c: New test.
13636 * string/Makefile: Run it.
13637
20a71f2c
MK
136382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13639
13640 [BZ #11607]
13641 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13642 the first character.
13643
21ad0558
RM
136442012-08-21 Roland McGrath <roland@hack.frob.com>
13645
13646 * csu/elf-init.c (__libc_csu_irel): Function removed.
13647 * csu/libc-start.c (apply_irel): New function.
13648 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13649
0e1d9911
JM
136502012-08-21 Joseph Myers <joseph@codesourcery.com>
13651
13652 * sysdeps/unix/sysv/linux/kernel-features.h
13653 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13654 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13655 <kernel-features.h>.
13656 [__NR_fadvise64_64]: Make code unconditional.
13657 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13658 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13659 !__NR_fadvise64_64)]: Likewise.
13660 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13661 !__NR_fadvise64_64))]: Likewise.
13662 [__NR_fadvise64]: Make code unconditional.
13663 [!__NR_fadvise64]: Remove conditional code.
13664 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13665 <kernel-features.h>.
13666 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13667 unconditional.
13668 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13669 conditional code.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13671 not include <kernel-features.h>.
13672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13673 unconditional.
13674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13675 conditional code.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13677 include <kernel-features.h>.
13678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13679 unconditional.
13680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13681 conditional code.
13682
14a50c9d
WS
136832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13684
13685 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13686 slight instruction rearrangements per scrollpipe analysis.
13687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13688
c0f4faf0
RM
136892012-08-20 Roland McGrath <roland@hack.frob.com>
13690
696da859
RM
13691 * manual/syslog.texi (syslog; vsyslog, closelog):
13692 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13693 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13694
c0f4faf0
RM
13695 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13696 DSOCAPS to match condition on defining it.
13697
348363b2
JM
136982012-08-20 Joseph Myers <joseph@codesourcery.com>
13699
a35cbf28
JM
13700 * sysdeps/unix/sysv/linux/kernel-features.h
13701 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13711
445f7ecd
JM
13712 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13713 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13714
348363b2
JM
13715 * sysdeps/unix/sysv/linux/kernel-features.h
13716 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13717 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13718 unconditional.
13719 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13720 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13721 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13722 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13723 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13724 Make code unconditional.
13725 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13726 (__mmap64) [!__NR_mmap2]: Likewise.
13727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13728 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13729 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13730 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13731 [__NR_mmap2]: Make code unconditional.
13732 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13733 (__mmap64) [!__NR_mmap2]: Likewise.
13734
bc5bc0e5
AK
137352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13736
13737 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13738
88d506de
AJ
137392012-08-18 Andreas Jaeger <aj@suse.de>
13740
13741 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13742
493387d2
MF
137432012-08-18 Mike Frysinger <vapier@gentoo.org>
13744
13745 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13746 * include/unistd.h (__have_sock_cloexec): Likewise.
13747 (__have_pipe2): Likewise.
13748 (__have_dup3): Likewise.
13749
a277af22
MF
137502012-08-18 Mike Frysinger <vapier@gentoo.org>
13751
13752 [BZ #9685]
13753 * include/unistd.h (__have_pipe2): Change define into an extern int.
13754 (__have_dup3): Likewise.
13755 * socket/have_sock_cloexec.c: Include fcntl.h.
13756 (__have_pipe2): New variable.
13757 (__have_dup3): Likewise.
13758
fdab8fd3
MF
137592012-08-17 Mike Frysinger <vapier@gentoo.org>
13760
13761 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13762
31035e80
MP
137632012-08-17 Marek Polacek <polacek@redhat.com>
13764
13765 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13766 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13767
3bd9e993
RM
137682012-08-17 Roland McGrath <roland@hack.frob.com>
13769
c91c505f
RM
13770 * configure.in: Add AC_SUBST for sysheaders.
13771 * configure: Regenerated.
13772 * config.make.in (sysheaders): New substituted variable.
13773
7c6f9d53
RM
13774 * sysdeps/unix/mkfifo.c: Moved ...
13775 * sysdeps/posix/mkfifo.c: ... here.
13776 * sysdeps/unix/mkfifoat.c: Moved ...
13777 * sysdeps/posix/mkfifoat.c: ... here.
13778
13779 * sysdeps/unix/utime.c: Moved ...
13780 * sysdeps/posix/utime.c: ... here.
13781
13782 * sysdeps/unix/time.c: Moved ...
13783 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13784 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13785 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13786
13787 * sysdeps/unix/nice.c: Moved ...
13788 * sysdeps/posix/nice.c: ... here.
13789
13790 * sysdeps/unix/alarm.c: Moved ...
13791 * sysdeps/posix/alarm.c: ... here.
13792
3bd9e993
RM
13793 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13794
d1f09384
JL
137952012-08-17 Jeff Law <law@redhat.com>
13796
13797 * intl/Makefile (codeset_mo): New variable.
13798 ($(codeset_mo)): New target.
13799 (tst-codeset.out): Depend on that. Remove explicit rule.
13800 (tst-gettext3.out, tst-gettext5.out): Likewise.
13801 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13802 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13803 * intl/tst-codeset.sh: Remove.
13804 * intl/tst-gettext3.sh: Likewise.
13805 * intl/tst-gettext5.sh: Likewise.
13806
2ae1ae5c
RM
138072012-08-17 Roland McGrath <roland@hack.frob.com>
13808
c31fdb83
RM
13809 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13810 * sysdeps/unix/syscalls.list: ... here.
13811
a0844057
RM
13812 * sysdeps/posix/getaddrinfo.c
13813 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13814 (gaiconf_init, gaiconf_reload): Use them.
13815 [!_STATBUF_ST_NSEC]
13816 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13817 Define using time_t rather than struct timespec.
13818
750c1f2a
RM
13819 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13820 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13821 Macros removed.
13822 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13823 [!NO_THREADS].
13824 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13825 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13826 Likewise.
13827
2ae1ae5c
RM
13828 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13829 __libc_cleanup_push argument.
13830
e66a42f5
RM
13831 * bits/param.h: New file.
13832 * misc/sys/param.h: New file.
13833 * include/sys/param.h: New file.
13834 * misc/Makefile (headers): Add bits/param.h.
13835 * sysdeps/generic/sys/param.h: File removed.
13836 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13837 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13838 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13839 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13840
b7c08a66
RM
13841 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13842 last change.
13843
b2e1c562
RM
13844 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13845 [_IO_MTSAFE_IO].
13846 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13847 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13848 New macros.
13849
c75ccd4c
RM
13850 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13851 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13852 rather than -D_IO_MTSAFE_IO conditionally.
13853 * stdio-common/Makefile (CPPFLAGS): Likewise.
13854 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13855 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13856 Use $(libio-mtsafe).
13857 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13858 of -D_IO_MTSAFE_IO.
13859 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13860 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13861 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13862 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13863 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13864 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13865 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13866 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13867 (CFLAGS-fread_u_chk.c): Likewise.
13868 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13869 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13870 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13871 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13872 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13873 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13874 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13875 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13876 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13877
13878 * libio/Makefile: Test [$(libc-reentrant) = yes]
13879 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13880
13881 * Makeconfig
13882 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13883 * sysdeps/pthread/configure: File removed.
13884 * sysdeps/pthread/Makeconfig: New file.
13885 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13886 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13887
d9195db8
GB
138882012-08-16 Gary Benson <gbenson@redhat.com>
13889
13890 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13891 unmapping the first object in a namespace.
13892
86466cd9
RM
138932012-08-16 Roland McGrath <roland@hack.frob.com>
13894
13895 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13896 (__internal_setnetgrent): ... this. Add internal_function to
13897 definition. Add libc_hidden_def.
13898 (setnetgrent): Update caller.
13899 (internal_endnetgrent): Renamed to ...
13900 (__internal_endnetgrent): ... this. Add internal_function to
13901 definition. Add libc_hidden_def.
13902 (endnetgrent): Update caller.
13903 (internal_getnetgrent_r): Renamed to ...
13904 (__internal_getnetgrent_r): ... this. Add internal_function to
13905 definition. Add libc_hidden_def.
13906 (__getnetgrent_r): Update caller.
13907 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13908
c3c8283c
JM
139092012-08-16 Joseph Myers <joseph@codesourcery.com>
13910
13911 * stdlib/longlong.h: Update from GCC.
13912
db1ee0a8
RM
139132012-08-16 Roland McGrath <roland@hack.frob.com>
13914
13915 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13916 on _QL, which is set by umul_ppmm but never used.
13917 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13918 variables, which are set by GMP macros but never used.
13919 * stdio-common/_itowa.c (_itowa): Likewise.
13920 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13921 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13922
30f69637
CD
139232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13924
13925 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13926 struct La_sh_regs is not constant.
13927 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13928 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13929 and struct La_sparc64_regs are not constant.
13930
93a78ac4
JM
139312012-08-16 Joseph Myers <joseph@codesourcery.com>
13932
13933 * sysdeps/unix/sysv/linux/kernel-features.h
13934 (__ASSUME_POSIX_TIMERS): Remove.
13935 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13937 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13938 Make code unconditional.
13939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13940 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13941 Make code unconditional.
13942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13943 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13944 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13946 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13947 Make code unconditional.
13948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13949 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13950 (__libc_missing_posix_timers): Remove.
13951
dd924cd7
RM
139522012-08-15 Roland McGrath <roland@hack.frob.com>
13953
4b4f2771
RM
13954 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13955 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13956
601c888b
RM
13957 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13958
176790a7
RM
13959 * elf/dl-sym.c: Include <stdlib.h>.
13960
329bc018
RM
13961 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13962 constants, which avoids warnings in 32-bit builds.
13963
e04e272d
RM
13964 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13965 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13966
952bf94a
RM
13967 * misc/lseek.c: File moved to ...
13968 * io/lseek.c: ... here.
13969
7c99b50a
RM
13970 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13971
dd924cd7
RM
13972 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13973 shifting LEN more than 31 bits at once.
13974
b3f479a8
LD
139752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13976
13977 [BZ #14195]
8c4ae0d4
RM
13978 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13979 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13980 * string/test-strncasecmp.c (check1): Renamed to...
13981 (bz12205): ...this.
13982 (bz14195): Add new testcase for two empty input strings and N > 0.
13983 (test_main): Call new testcase, adapt for renamed function.
13984
9c55864e
AJ
139852012-08-15 Andreas Jaeger <aj@suse.de>
13986
13987 [BZ #14090]
13988 * crypt/md5test2.c: New test, based on test supplied by Serge
13989 Belyshev <belyshev@depni.sinp.msu.ru>.
13990 * crypt/Makefile (xtests): Add md5test-giant..
13991 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13992
02dcb6c5
PE
139932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13994
13995 [BZ #14090]
13996 * crypt/md5.c (md5_process_block): Don't assume the buffer
13997 length is less than 2**32.
13998 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13999 length is less than 2**64.
14000
a3f95dcc
RM
140012012-08-15 Roland McGrath <roland@hack.frob.com>
14002
be75d758
RM
14003 * string/str-two-way.h: Include <sys/param.h>.
14004 (MAX): Macro removed.
14005
7312ca90
RM
14006 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14007 Move #define and #undef of memmove to just before and after
14008 including <string.h>.
14009
9a0a5486
RM
14010 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14011 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14012 and after including <string.h>. Move declarations of
14013 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14014 to before #include "string/memmove.c".
14015
67cc348d
RM
14016 * include/dirent.h: Declare __getdirentries.
14017
a3f95dcc
RM
14018 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14019 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14020
ca98e171
MF
140212012-08-14 Mike Frysinger <vapier@gentoo.org>
14022
14023 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14024 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14025 * sysdeps/i386/configure: Regenerated.
14026 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14027 STABS_CURRENT_FILE, and STABS_FUN.
14028 (END): Remove call to STABS_FUN_END.
14029 (STABS_CURRENT_FILE1): Delete.
14030 (STABS_CURRENT_FILE): Likewise.
14031 (STABS_FUN): Likewise.
14032 (STABS_FUN_END): Likewise.
14033 (STABS_FUN2): Likewise.
14034 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14035 * sysdeps/x86_64/configure: Regenerated.
14036
5908bf46
RM
140372012-08-14 Roland McGrath <roland@hack.frob.com>
14038
14039 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14040 * elf/dl-lookup.c: Likewise.
5908bf46 14041
f2c05b9e
JM
140422012-08-14 Joseph Myers <joseph@codesourcery.com>
14043
14044 * sysdeps/unix/sysv/linux/kernel-features.h
14045 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14046 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14047 unconditionally.
14048 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14049 unconditionally.
14050 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14051 condition on __ASSUME_CLONE_THREAD_FLAGS.
14052
e11f5155
AJ
140532012-08-14 Andreas Jaeger <aj@suse.de>
14054
14055 * sysdeps/i386/fpu/libm-test-ulps: Update.
14056
51a9ba86
MK
140572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14058
2fdd4f78
AJ
14059 * include/atomic.h (atomic_exchange_and_add): Split into ...
14060 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14061 New atomic macros.
51a9ba86 14062
ba6cba9e
MT
140632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14064
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14066
42443a47
JL
140672012-08-13 Jeff Law <law@redhat.com>
14068
14069 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14070 null byte in the output string.
14071
121dce05
JM
140722012-08-10 Joseph Myers <joseph@codesourcery.com>
14073
14074 * sysdeps/unix/sysv/linux/kernel-features.h
14075 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14076 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14077 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14078 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14079 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14080 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14081 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14082
bf51f568
JL
140832012-08-09 Jeff Law <law@redhat.com>
14084
14085 [BZ #13939]
14086 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14087 When avoid_arena is set, don't retry in the that arena. Pick the
14088 next one, whatever it might be.
14089 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14090 (arena_lock): Pass in new parameter to arena_get2.
14091 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14092 arena_get2.
14093 (__libc_malloc): Unify retrying after main arena failure with
14094 __libc_memalign version.
14095 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14096
f85fa270
L
140972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14098
14099 [BZ #14166]
14100 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14101 to __redirect_strstr.
14102 (__strstr_sse42): Use typeof __redirect_strstr.
14103 (__strstr_ia32): Likewise.
14104 (__libc_strstr): New prototype.
14105 (strstr): Renamed to ...
14106 (__libc_strstr): This.
14107 (strstr): New strong alias of __libc_strstr.
14108 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14109 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14110 __redirect_time.
14111 Include <time.h>.
14112 (__libc_time): New prototype.
14113 (time_ifunc): Replace time with __libc_time.
14114 (time): New strong alias and hidden definition of __libc_time.
14115 (__GI_time): Remove strong alias.
14116 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14117 Include <stddef.h>.
14118 (memmove): Redefined to __redirect_memmove.
14119 (__memmove_sse2): Use typeof __redirect_memmove.
14120 (__memmove_ssse3): Likewise.
14121 (__memmove_ssse3_back): Likewise.
14122 (__libc_memmove): New prototype.
14123 (memmove): Renamed to ...
14124 (__libc_memmove): This.
14125 (memmove): New strong alias of __libc_memmove.
14126
33b4a91e
MS
141272012-08-08 Mark Salter <msalter@redhat.com>
14128
14129 * elf/elf.h
14130 (R_MN10300_TLS_GD): Define.
14131 (R_MN10300_TLS_LD): Likewise.
14132 (R_MN10300_TLS_LDO): Likewise.
14133 (R_MN10300_TLS_GOTIE): Likewise.
14134 (R_MN10300_TLS_IE): Likewise.
14135 (R_MN10300_TLS_LE): Likewise.
14136 (R_MN10300_TLS_DTPMOD): Likewise.
14137 (R_MN10300_TLS_DTPOFF): Likewise.
14138 (R_MN10300_TLS_TPOFF): Likewise.
14139 (R_MN10300_SYM_DIFF): Likewise.
14140 (R_MN10300_ALIGN): Likewise.
14141 (R_MN10300_NUM): Update.
14142
b36137f1
JM
141432012-08-08 Joseph Myers <joseph@codesourcery.com>
14144
14145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14146 Remove.
14147
cdd915fd
RM
141482012-08-08 Roland McGrath <roland@hack.frob.com>
14149
a2433aac
RM
14150 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14151
cdd915fd
RM
14152 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14153 sysdeps/unix -> sysdeps/posix move.
14154 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14155
bf9b740a
AM
141562012-08-07 Allan McRae <allan@archlinux.org>
14157
14158 [BZ #14303]
14159 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14160 (SUNOS_CPP): Likewise.
14161 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14162 not found.
14163 (open_input): Call CPP using execvp.
14164
93df14ee
JM
141652012-08-07 Joseph Myers <joseph@codesourcery.com>
14166
14167 * sysdeps/unix/sysv/linux/kernel-features.h
14168 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14171 (__ASSUME_WAITID_SYSCALL): Likewise.
14172 * sysdeps/unix/sysv/linux/dl-execstack.c
14173 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14174 code unconditional.
14175 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14176 conditional code.
14177 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14178 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14179 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14180 code.
14181 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14182 unconditional.
14183 [__ASSUME_WAITID_SYSCALL]: Likewise.
14184 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14185
d34689de
RM
141862012-08-07 Roland McGrath <roland@hack.frob.com>
14187
a281decc
RM
14188 * sysdeps/unix/closedir.c: Renamed to ...
14189 * sysdeps/posix/closedir.c: ... here.
14190 * sysdeps/unix/dirfd.c: Renamed to ...
14191 * sysdeps/posix/dirfd.c: ... here.
14192 * sysdeps/unix/dirstream.h: Renamed to ...
14193 * sysdeps/posix/dirstream.h: ... here.
14194 * sysdeps/unix/fdopendir.c: Renamed to ...
14195 * sysdeps/posix/fdopendir.c: ... here.
14196 * sysdeps/unix/opendir.c: Renamed to ...
14197 * sysdeps/posix/opendir.c: ... here.
14198 * sysdeps/unix/readdir.c: Renamed to ...
14199 * sysdeps/posix/readdir.c: ... here.
14200 * sysdeps/unix/readdir_r.c: Renamed to ...
14201 * sysdeps/posix/readdir_r.c: ... here.
14202 * sysdeps/unix/rewinddir.c: Renamed to ...
14203 * sysdeps/posix/rewinddir.c: ... here.
14204 * sysdeps/unix/seekdir.c: Renamed to ...
14205 * sysdeps/posix/seekdir.c: ... here.
14206 * sysdeps/unix/telldir.c: Renamed to ...
14207 * sysdeps/posix/telldir.c: ... here.
14208 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14209 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14210 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14211 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14212
22895b47
RM
14213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14214 * bits/fcntl.h: ... here.
14215
707a53b6
RM
14216 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14217 not 0.
14218 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14219 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14220 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14221 (struct flock): Move l_start, l_len to the beginning.
14222 Use __pid_t for l_pid.
14223 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14224 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14225 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14226 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14227 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14228 [__USE_LARGEFILE64] (struct flock64): New type.
14229 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14230
f0bd3e25
RM
14231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14232 * bits/dirent.h: ... here.
14233
d34689de
RM
14234 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14235 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14236
6dad2c06
JM
142372012-08-07 Joseph Myers <joseph@codesourcery.com>
14238
14239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14240 Change from 2.6.0 to 2.6.16.
14241 * sysdeps/unix/sysv/linux/configure: Regenerated.
14242 * sysdeps/unix/sysv/linux/kernel-features.h
14243 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14244 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14245 version.
14246 (__ASSUME_UTIMES): Likewise.
14247 (__ASSUME_CLONE_STOPPED): Remove.
14248 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14249 architectures, not kernel version.
14250 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14251 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14252 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14253 (__ASSUME_WAITID_SYSCALL): Likewise.
14254 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14255 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14256 * README: State 2.6.16 as minimum Linux kernel version. Do not
14257 refer to older versions.
14258
03af9520
RM
142592012-08-06 Roland McGrath <roland@hack.frob.com>
14260
8e49df1d
RM
14261 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14262 Define alphasort64 as an alias.
14263 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14264 Define versionsort64 as an alias.
14265 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14266 Define scandir64 as an alias.
14267 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14268 Define scandirat64 as an alias.
14269 * dirent/alphasort64.c (alphasort64):
14270 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14271 * dirent/versionsort64.c: Likewise.
14272 * dirent/scandir64.c: Likewise.
14273 * dirent/scandirat64.c: Likewise.
14274 * sysdeps/wordsize-64/alphasort.c: File removed.
14275 * sysdeps/wordsize-64/alphasort64.c: File removed.
14276 * sysdeps/wordsize-64/scandir.c: File removed.
14277 * sysdeps/wordsize-64/scandir64.c: File removed.
14278 * sysdeps/wordsize-64/scandirat.c: File removed.
14279 * sysdeps/wordsize-64/scandirat64.c: File removed.
14280 * sysdeps/wordsize-64/versionsort.c: File removed.
14281 * sysdeps/wordsize-64/versionsort64.c: File removed.
14282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14283 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14288 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14290
14291 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14293 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14295 [defined __arch64__ || defined __sparcv9]
14296 (__INO_T_MATCHES_INO64_T): New macro.
14297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14298 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14299 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14300 * sysdeps/unix/sysv/linux/bits/dirent.h
14301 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14302 (_DIRENT_MATCHES_DIRENT64): New macro.
14303
03af9520
RM
14304 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14305 Define lockf64 as an alias.
14306 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14307 Define fseeko64 as an alias.
14308 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14309 Define ftello64 as an alias.
14310 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14311 Define _IO_fgetpos64 and fgetpos64 as aliases.
14312 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14313 Define _IO_fsetpos64 and fsetpos64 as aliases.
14314 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14315 Conditionalize body on this.
14316 * libio/fseeko64.c: Likewise.
14317 * libio/ftello64.c: Likewise.
14318 * libio/iofgetpos64.c: Likewise.
14319 * libio/iofsetpos64.c: Likewise.
14320 * sysdeps/wordsize-64/lockf.c: File removed.
14321 * sysdeps/wordsize-64/lockf64.c: File removed.
14322 * sysdeps/wordsize-64/fseeko.c: File removed.
14323 * sysdeps/wordsize-64/fseeko64.c: File removed.
14324 * sysdeps/wordsize-64/ftello.c: File removed.
14325 * sysdeps/wordsize-64/ftello64.c: File removed.
14326 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14327 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14328 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14329 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14330 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14332 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14334 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14336 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14337 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14340
14341 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14343 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14345 [defined __arch64__ || defined __sparcv9]
14346 (__OFF_T_MATCHES_OFF64_T): New macro.
14347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14348 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14350 (__OFF_T_MATCHES_OFF64_T): New macro.
14351
c5757acd
L
143522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14353
14354 * stdlib/secure-getenv.c (__secure_getenv): Replace
14355 GLIBC_2_16 with GLIBC_2_17.
14356
3a31811e
L
143572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14358
14359 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14361
faa2bccb
DM
143622012-08-03 David S. Miller <davem@davemloft.net>
14363
14364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14365
85fe1997
JM
143662012-08-03 Joseph Myers <joseph@codesourcery.com>
14367
14368 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14369 Remove.
14370 (__ASSUME_CORRECT_SI_PID): Likewise.
14371 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14372 (__ASSUME_TMPFS_NAME): Likewise.
14373 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14374 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14375 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14376 (HAVE_AUX_SECURE): Make definition unconditional.
14377 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14378 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14379
4f75b7a0
RM
143802012-08-03 Roland McGrath <roland@hack.frob.com>
14381
14382 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14383 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14384 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14385 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14386 __eloop_threshold instead of SYMLOOP_MAX.
14387
14388 * sysdeps/generic/eloop-threshold.h: New file.
14389 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14390 of MAXSYMLINKS.
14391 * elf/chroot_canon.c (chroot_canon): Likewise.
14392
7aab07e4
JM
143932012-08-03 Joseph Myers <joseph@codesourcery.com>
14394
14395 [BZ #13717]
14396 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14397 Change to 2.6.0 everywhere.
14398 * sysdeps/unix/sysv/linux/configure: Regenerated.
14399 * sysdeps/unix/sysv/linux/kernel-features.h
14400 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14401 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14402 kernel versions.
14403 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14404 (__ASSUME_FUTEX_REQUEUE): Remove.
14405 (__ASSUME_STATFS64): Define unconditionally.
14406 (__ASSUME_AT_SECURE): Likewise.
14407 (__ASSUME_CORRECT_SI_PID): Likewise.
14408 (__ASSUME_TGKILL): Define without depending on kernel version for
14409 i386.
14410 (__ASSUME_UTIMES): Likewise.
14411 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14412 kernel version.
14413 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14414 (__ASSUME_TMPFS_NAME): Likewise.
14415 * README: Update reference to Linux kernel versions.
14416
b67e9372
MP
144172012-08-02 Marek Polacek <polacek@redhat.com>
14418
1f529f7d 14419 [BZ# 14150]
b67e9372
MP
14420 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14421 libc_cv_asm_type_prefix with %.
14422 * configure: Regenerated.
d2441631
RM
14423 * include/libc-symbols.h: Remove comment about
14424 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14425 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14426 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14427 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14428 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14429 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14430 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14431 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14432 * elf/tst-unique2mod1.c: Likewise.
14433 * elf/tst-unique1mod2.c: Likewise.
14434 * elf/tst-unique1mod1.c: Likewise.
14435 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14436 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14437 Replace ASM_TYPE_DIRECTIVE with .type.
14438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14439 * sysdeps/i386/sysdep.h: Likewise.
14440 * sysdeps/x86_64/sysdep.h: Likewise.
14441 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14443 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14444 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14445 * sysdeps/powerpc/powerpc32/sysdep.h:
14446 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14448 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14449 * sysdeps/i386/fpu/e_powf.S: Likewise.
14450 * sysdeps/i386/fpu/e_expl.S: Likewise.
14451 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14452 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14453 * sysdeps/i386/fpu/e_pow.S: Likewise.
14454 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14456 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14457 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14458 * sysdeps/i386/fpu/e_log2.S: Likewise.
14459 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14461 * sysdeps/i386/fpu/e_powl.S: Likewise.
14462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14464 * sysdeps/i386/fpu/e_logl.S: Likewise.
14465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14466 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14467 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14469 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14470 * sysdeps/i386/fpu/e_log.S: Likewise.
14471 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14472 * sysdeps/i386/fpu/e_logf.S: Likewise.
14473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14475 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14476 * sysdeps/i386/fpu/e_log10.S: Likewise.
14477 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14478 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14479 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14480 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14481 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14483 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14484 * sysdeps/i386/i686/strtok.S: Likewise.
14485 * sysdeps/i386/i386-mcount.S: Likewise.
14486 * sysdeps/i386/strtok.S: Likewise.
14487 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14489 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14490 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14491 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14492 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14493 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14494 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14496 * sysdeps/x86_64/_mcount.S: Likewise.
14497 * sysdeps/x86_64/strtok.S: Likewise.
14498 * sysdeps/sh/_mcount.S: Likewise.
14499
2747bf9a
RM
145002012-08-01 Roland McGrath <roland@hack.frob.com>
14501
14502 * libio/iofopen.c: Include <fcntl.h>.
14503 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14504 (_IO_fopen64, fopen64): Define as aliases.
14505 * libio/iofopen64.c: Include <fcntl.h>.
14506 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14507 Conditionalize body on this.
14508 * sysdeps/wordsize-64/iofopen.c: File removed.
14509 * sysdeps/wordsize-64/iofopen64.c: File removed.
14510
3fb791b8
MP
145112012-08-01 Marek Polacek <polacek@redhat.com>
14512
14513 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14514 Use dlfcn directly instead of a variable.
14515 (binfmt-subdir): Do not define.
14516 (dlfcn): Likewise.
14517
a9f1039f
JM
145182012-08-01 Joseph Myers <joseph@codesourcery.com>
14519
23bddc06
JM
14520 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14521 Remove all definitions.
14522 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14523 <kernel-features.h>.
14524 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14525 (miss_F_GETOWN_EX): Remove all definitions.
14526 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14527 macro definition.
14528 [!__ASSUME_FCNTL64]: Remove conditional code.
14529 [__ASSUME_FCNTL64]: Make code unconditional.
14530 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14531 <kernel-features.h>.
14532 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14533 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14534 (lockf64) [__NR_fcntl64]: Make code unconditional.
14535 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14536
a9f1039f
JM
14537 * sysdeps/unix/sysv/linux/kernel-features.h
14538 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14539 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14540 Make code unconditional.
14541 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14542 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14544 [__NR_vfork]: Make code unconditional.
14545 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14546 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14548 [__NR_vfork]: Make code unconditional.
14549 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14550 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14551
09c0ee5f
RM
145522012-08-01 Roland McGrath <roland@hack.frob.com>
14553
48aec5b9
RM
14554 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14555 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14556
cd97c966
RM
14557 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14558 Define mkstemp64 as an alias.
3f55550c
RM
14559 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14560 Define mkstemps64 as an alias.
cd97c966
RM
14561 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14562 Define mkostemp64 as an alias.
b8625cfc
RM
14563 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14564 Define mkostemps64 as an alias.
cd97c966
RM
14565 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14566 Conditionalize body on this.
14567 * misc/mkostemp64.c: Likewise.
b8625cfc 14568 * misc/mkostemps64.c: Likewise.
3f55550c 14569 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14570 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14571 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14572 * sysdeps/wordsize-64/mkostemp.c: File removed.
14573 * sysdeps/wordsize-64/mkstemp.c: File removed.
14574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14575 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14577 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14578
09c0ee5f
RM
14579 [BZ #14138]
14580 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14582 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14583 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14584
14585 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14586 compat_symbol macros from <shlib-compat.h> rather than the underlying
14587 default_symbol_version and symbol_version macros, so that DEFAULT
14588 lines in shlib-versions are respected.
14589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14590
7e66ee51
FW
145912012-08-01 Florian Weimer <fweimer@redhat.com>
14592
14593 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14594 Declare with warn_unused_result.
14595 (setgid, setregid, setegid, setresgid): Likewise.
14596 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14597 Likewise.
14598 * WUR-REPORT: Remove set*id functions.
14599
d2a54255
PT
146002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14601
14602 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14603
7ecdb005
RM
146042012-07-31 Roland McGrath <roland@hack.frob.com>
14605
b4180a5e 14606 [BZ #10191]
789bd351
RM
14607 * include/sys/socket.h (__libc_accept, __libc_accept4):
14608 Add attribute_hidden.
14609 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14610
40ce302d
RM
14611 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14612 use of PTR_MANGLE.
14613 * inet/getnetgrent_r.c (setup): Likewise.
14614
7ecdb005
RM
14615 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14616
e2eabb2c
DM
146172012-07-31 David S. Miller <davem@davemloft.net>
14618
14619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14620
d0419dbf
JM
146212012-07-31 Joseph Myers <joseph@codesourcery.com>
14622
14623 [BZ #13629]
14624 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14625 value between 1.0 and 2.0 and smaller part has absolute value less
14626 than 1.0.
14627 * math/s_clog10.c (__clog10): Likewise.
14628 * math/s_clog10f.c (__clog10f): Likewise.
14629 * math/s_clog10l.c (__clog10l): Likewise.
14630 * math/s_clogf.c (__clogf): Likewise.
14631 * math/s_clogl.c (__clogl): Likewise.
14632 * math/libm-test.inc (clog_test): Add more tests.
14633 (clog10_test): Likewise.
14634 * sysdeps/i386/fpu/libm-test-ulps: Update.
14635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14636
2bc13872
FW
146372012-07-31 Florian Weimer <fweimer@redhat.com>
14638
14639 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14640 Exit with zero in case no suitable GID is found, and write a
14641 message to standard error.
14642
bea9b193
RM
146432012-07-30 Roland McGrath <roland@hack.frob.com>
14644
14645 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14646 rather than to 1.
14647 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14648 (MAXPATHLEN): Removed.
14649 (NOGROUP, NODEV): New macros.
14650 (setbit, clrbit, isset, isclr): New macros.
14651 (howmany, roundup, powerof2): New macros.
14652 (DEV_BSIZE): New macro.
14653
14654 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14655 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14656
14657 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14658 definition on [!__NO_LONG_DOUBLE_MATH].
14659
14660 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14661 PTR_MANGLE and PTR_DEMANGLE.
14662
14663 * socket/accept4.c (accept4): Rename to __libc_accept4.
14664 Define accept4 as a weak alias.
14665
14666 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14667 on [_DIRENT_HAVE_D_TYPE].
14668 * io/ftw.c (ftw_dir): Likewise.
14669
14670 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14671
14672 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14673
14674 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14675 Use the BSD numbers rather than the arbitrary ones we had.
14676 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14677 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14678 (SIGXCPU, SIGXFSZ): New macros.
14679 (_NSIG): Now 32.
14680
14681 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14682 initializer on [_LIBC_REENTRANT].
14683
14684 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14685 definitions inside [_POSIX_MAPPED_FILES].
14686
14687 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14688
14689 * dirent/opendir.c: Include <fcntl.h>.
14690
14691 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14692 (__libc_getspecific): Likewise.
14693 (__libc_key_create): Likewise.
14694
14695 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14696 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14697 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14698 (tmpfile64): Define as alias.
14699 * sysdeps/wordsize-64/tmpfile.c: File removed.
14700 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14701 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14703
14704 * stdio-common/vfscanf.c: Include <stdbool.h>.
14705 * nss/makedb.c: Likewise.
14706 * stdio-common/_i18n_number.h: Likewise.
14707 * argp/argp-help.c: Likewise.
14708 * posix/wordexp.c: Likewise.
14709 * sysdeps/posix/spawni.c: Likewise.
14710 * nss/nss_files/files-initgroups.c: Likewise.
14711 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14712 * nss/nss_files/files-initgroups.c: Likewise.
14713 * nss/nss_db/db-netgrp.c: Likewise.
14714 * nss/nss_db/db-initgroups.c: Likewise.
14715 * io/fchmodat.c: Include <sys/stat.h>.
14716
14717 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14718 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14719
14720 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14721 [HAVE_MMAP].
14722
14723 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14724 Add multiple inclusion protection.
14725
e5abc686
DM
147262012-07-27 David S. Miller <davem@davemloft.net>
14727
14728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14729
815e6fa3
GB
147302012-07-27 Gary Benson <gbenson@redhat.com>
14731
14732 [BZ #14298]
14733 * elf/rtld.c: Include <stap-probe.h>.
14734 (dl_main): Added static probes "init_start" and "init_complete".
14735 * elf/dl-load.c: Include <stap-probe.h>.
14736 (lose): Take new parameter "nsid".
14737 Added static probe "map_failed".
14738 (_dl_map_object_from_fd): Pass namespace id to lose.
14739 Added static probe "map_start".
14740 (open_verify): Pass namespace id to lose.
14741 * elf/dl-open.c: Include <stap-probe.h>.
14742 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14743 and "reloc_complete".
14744 * elf/dl-close.c: Include <stap-probe.h>.
14745 (_dl_close_worker): Added static probes "unmap_start" and
14746 "unmap_complete".
14747 * elf/rtld-debugger-interface.txt: New file documenting the above.
14748
9f98c16c
RM
147492012-07-26 Roland McGrath <roland@hack.frob.com>
14750
14751 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14752 rather than a string variable.
14753 * sunrpc/rpc_main.c (h_output): Likewise.
14754 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14755
f3c22df3
PT
147562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14757
14758 * inet/check_native.c: New file.
14759
3129cfc6
JM
147602012-07-26 Joseph Myers <joseph@codesourcery.com>
14761
da865e95
JM
14762 [BZ #13629]
14763 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14764 if larger part has absolute value 1.0.
14765 * math/s_clog10.c (__clog10): Likewise.
14766 * math/s_clog10f.c (__clog10f): Likewise.
14767 * math/s_clog10l.c (__clog10l): Likewise.
14768 * math/s_clogf.c (__clogf): Likewise.
14769 * math/s_clogl.c (__clogl): Likewise.
14770 * math/libm-test.inc (clog_test): Add more tests.
14771 (clog10_test): Likewise.
14772 * sysdeps/i386/fpu/libm-test-ulps: Update.
14773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14774
3129cfc6
JM
14775 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14776 (pltexit): Likewise.
14777 (La_regs): Likewise.
14778 (La_retval): Likewise.
14779 (int_retval): Likewise.
14780 Update #error for removed macros to refer only to definitions in
14781 tst-audit.h.
14782 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14783 macro.
14784 (pltexit): Likewise.
14785 (La_regs): Likewise.
14786 (La_retval): Likewise.
14787 (int_retval): Likewise.
14788 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14789 macro.
14790 (pltexit): Likewise.
14791 (La_regs): Likewise.
14792 (La_retval): Likewise.
14793 (int_retval): Likewise.
14794 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14795 macro.
14796 (pltexit): Likewise.
14797 (La_regs): Likewise.
14798 (La_retval): Likewise.
14799 (int_retval): Likewise.
14800 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14801 macro.
14802 (pltexit): Likewise.
14803 (La_regs): Likewise.
14804 (La_retval): Likewise.
14805 (int_retval): Likewise.
14806 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14807 macro.
14808 (pltexit): Likewise.
14809 (La_regs): Likewise.
14810 (La_retval): Likewise.
14811 (int_retval): Likewise.
14812 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14813 macro.
14814 (pltexit): Likewise.
14815 (La_regs): Likewise.
14816 (La_retval): Likewise.
14817 (int_retval): Likewise.
14818 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14819 macro definitions in tst-audit.h.
14820 * sysdeps/i386/tst-audit.h: New file.
14821 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14822 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14823 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14824 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14825 * sysdeps/sh/tst-audit.h: Likewise.
14826 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14827 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14828 * sysdeps/x86_64/tst-audit.h: Likewise.
14829
bfc07087
AJ
148302012-07-26 Andreas Jaeger <aj@suse.de>
14831
b1b2aaf8
AJ
14832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14833 ptrace.
14834
14835 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14836 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14837 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14838 PTRACE_O_MASK.
14839 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14840 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14841 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14842
bfc07087
AJ
14843 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14844 value.
14845
14846 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14847 _sigsys.
14848 (si_call_addr, si_syscall, si_arch): Define new macro.
14849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14850 _sigsys.
14851 (si_call_addr, si_syscall, si_arch): Define new marcro.
14852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14853 _sigsys.
14854 (si_call_addr, si_syscall, si_arch): Define new macro.
14855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14856 _sigsys.
14857 (si_call_addr, si_syscall, si_arch): Define new macro.
14858
89b4b02f
JM
148592012-07-25 Joseph Myers <joseph@codesourcery.com>
14860
14861 [BZ #13717]
14862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14863 Change to 2.4.21 where previously 2.4.1.
14864 * sysdeps/unix/sysv/linux/configure: Regenerated.
14865 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14866 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14867 Linux kernel version.
14868 (__ASSUME_STD_AUXV): Remove.
14869 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14870 kernel version.
14871 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14872 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14873 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14874 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14875 (__ASSUME_NETLINK_SUPPORT): Likewise.
14876 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14877 (__no_netlink_support): Remove conditional definition.
14878 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14879 Remove.
14880 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14881 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14882 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14883 (if_nameindex_ioctl): Remove.
14884 (if_nameindex_netlink): Do not handle __no_netlink_support.
14885 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14886 code.
14887 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14888 Remove conditional code.
14889 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14890 code.
14891 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14892 unconditional.
14893 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14894 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14895 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14896 Remove.
14897 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14898 [!__ASSUME_STD_AUXV]: Remove conditional code.
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14900 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14901 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14903 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14905 code.
14906 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14908 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14909 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14910 conditional code.
14911 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14913 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14914 code.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14916 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14917 conditional code.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14919 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14920 code unconditional.
14921 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14922 conditional code.
14923 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14924 unconditional.
14925 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14926 conditional code.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14928 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14929 unconditional.
14930 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14931 conditional code.
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14933 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14934 code unconditional.
14935 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14936 conditional code.
14937 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14938 unconditional.
14939 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14940 conditional code.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14942 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14943 code unconditional.
14944 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14945 conditional code.
14946 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14947 unconditional.
14948 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14949 conditional code.
14950
842a39cd
AS
149512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14952
14953 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14954 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14955 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14956 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14957 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14958 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14959 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14960 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14961 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14962 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14963 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14964 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14965 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14966 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14967 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14968 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14969 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14971 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14973 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14974 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14976
84b3fd84
FW
149772012-07-25 Florian Weimer <fweimer@redhat.com>
14978
14979 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14980 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14981 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14982 Introduce __libc_secure_getenv.
0c7936d5
FW
14983 * stdlib/Versions (2.17): Add secure_getenv
14984 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14985 * stdlib/secure-getenv.c: Rename __secure_getenv to
14986 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14987 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14988 * stdlib/tst-secure-getenv.c: New.
14989 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14990 * manual/startup.texi (Environment Access): Document
14991 secure_getenv.
84b3fd84
FW
14992 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14993 __libc_secure_getenv.
14994 * inet/ruserpass.c (ruserpass): Likewise.
14995 * malloc/mtrace.c (mtrace): Likewise.
14996 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14997 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14998 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14999 * sysdeps/posix/tempname.c: Likewise. Evaluate
15000 HAVE_SECURE_GETENV.
15001 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15002 __secure_getenv to __libc_secure_getenv.
84b3fd84 15003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15005 Likewise.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15007 Likewise.
15008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15015
56e49b71
JM
150162012-07-25 Joseph Myers <joseph@codesourcery.com>
15017
15018 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15019 (struct La_i86_retval): Likewise.
15020 (struct La_x86_64_regs): Likewise.
15021 (struct La_x86_64_retval): Likewise.
15022 (struct La_x32_regs): Likewise.
15023 (struct La_x32_retval): Likewise.
15024 (struct La_ppc32_regs): Likewise.
15025 (struct La_ppc32_retval): Likewise.
15026 (struct La_ppc64_regs): Likewise.
15027 (struct La_ppc64_retval): Likewise.
15028 (struct La_sh_regs): Likewise.
15029 (struct La_sh_retval): Likewise.
15030 (struct La_s390_32_regs): Likewise.
15031 (struct La_s390_32_retval): Likewise.
15032 (struct La_s390_64_regs): Likewise.
15033 (struct La_s390_64_retval): Likewise.
15034 (struct La_sparc32_regs): Likewise.
15035 (struct La_sparc32_retval): Likewise.
15036 (struct La_sparc64_regs): Likewise.
15037 (struct La_sparc64_retval): Likewise.
15038 (struct audit_ifaces): Remove architecture-specific pltenter and
15039 pltexit members.
15040 * sysdeps/i386/ldsodefs.h: New file.
15041 * sysdeps/powerpc/ldsodefs.h: Likewise.
15042 * sysdeps/s390/ldsodefs.h: Likewise.
15043 * sysdeps/sh/ldsodefs.h: Likewise.
15044 * sysdeps/sparc/ldsodefs.h: Likewise.
15045 * sysdeps/x86_64/ldsodefs.h: Likewise.
15046
354691b7
MP
150472012-07-25 Marek Polacek <polacek@redhat.com>
15048
15049 [BZ #6808]
15050 * math/libm-test.inc (yn_test): Add another test.
15051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15052 to ERANGE when the result is +-Inf.
15053 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15054 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15055 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15056 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15057
bf9e2071
JM
150582012-07-24 Joseph Myers <joseph@codesourcery.com>
15059
15060 * conform/data/time.h-data (NULL): Use macro-constant. Require
15061 equal to 0.
15062 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15063 clock_t.
15064 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15065
57633811
TS
150662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15067
15068 * configure.in <sysdeps resolving>: Correct printing
15069 Implies_before.
15070 * configure: Regenerate.
15071
c23c33b0
TS
150722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15073
15074 * math/w_ilogb.c: Include <limits.h>.
15075 * math/w_ilogbl.c: Likewise.
15076
b5982523
JM
150772012-07-20 Joseph Myers <joseph@codesourcery.com>
15078
15079 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15080 va_copy. Document allowing for unavailable va_copy only as
15081 pre-C99 compatibility.
15082 * manual/string.texi (Copying and Concatenation): Use va_copy
15083 instead of __va_copy in concat example.
15084
ac4ea442
PT
150852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15086
15087 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15088 (__sendto): Use create_address_port. Initialize APORT and deallocate
15089 it if not null.
15090
f98eafbd
PT
15091 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15092 with O_NOLINK passed to __file_name_lookup.
15093
898c7aab
PT
15094 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15095 with O_NOLINK passed to __file_name_lookup.
15096
0ced335a
PT
15097 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15098 negative N or less than NGIDS.
15099
b3404dbd
PT
15100 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15101 type to string_t. Set ERANGE as errno and return it if NAME is not big
15102 enough. Use memcpy instead of strncpy.
15103
0f48659e
JM
151042012-07-20 Joseph Myers <joseph@codesourcery.com>
15105
15106 * elf/Makefile (check-data): Remove.
15107 (localplt.data): New vpath directive.
15108 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15109 instead of $(check-data).
15110 * scripts/data/localplt-generic.data: Move to ...
15111 * sysdeps/generic/localplt.data: ... here.
15112 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15113 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15114 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15116 ... here.
15117 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15119 ... here.
15120 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15122 ... here.
15123 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15125 ... here.
15126 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15128 ... here.
15129 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15131 ... here.
15132
d37cbdaa
AZ
151332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15134
15135 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15136 PPC32 and PPC64 files.
15137 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15138 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15139
46f85fc2
AK
151402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15141
15142 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15143 __makecontext_ret to ...
15144 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15145 ... here and call exit if uc_link is NULL. New file.
15146 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15147 __makecontext_ret.S.
15148 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15149 __makecontext_ret to ...
15150 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15151 ... here and call exit if uc_link is NULL. New file.
15152 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15153 __makecontext_ret.S.
15154
08f43f9b
AK
151552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15156
15157 * elf/elf.h (R_390_IRELATIVE): New definition.
15158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15159 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15160 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15162 (elf_machine_lazy_rel): Likewise.
15163 * sysdeps/s390/dl-irel.h: New file.
15164 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15165 * sysdeps/s390/s390-64/memset.S: New asm code.
15166 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15167 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15168 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15169 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15170 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15171 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15173 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15174 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15175 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15176 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15177 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15178 * sysdeps/s390/s390-32/memset.S: New asm code.
15179 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15180
3b05db33
MP
151812012-07-17 Marek Polacek <polacek@redhat.com>
15182
15183 [BZ #14349]
15184 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15185 * sysdeps/s390/s390-64/configure.in: Likewise.
15186 * sysdeps/sparc/configure.in: Likewise.
15187 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15188 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15189 * sysdeps/i386/configure.in: Likewise.
15190 * sysdeps/x86_64/configure.in: Likewise.
15191 * sysdeps/sh/configure.in: Likewise.
15192 * sysdeps/s390/s390-32/configure: Regenerated.
15193 * sysdeps/s390/s390-64/configure: Likewise.
15194 * sysdeps/x86_64/configure: Likewise.
15195 * sysdeps/sh/configure: Likewise.
15196 * sysdeps/powerpc/powerpc64/configure: Likewise.
15197 * sysdeps/powerpc/powerpc32/configure: Likewise.
15198 * sysdeps/sparc/configure: Likwise.
15199 * sysdeps/i386/configure: Likewise.
15200
a66877c6
MP
15201 * elf/dl-open.c: Comment fixes.
15202
cfc82fd8
JM
152032012-07-17 Joseph Myers <joseph@codesourcery.com>
15204
bd29910a
JM
15205 * Makefile [CXX] (check-data): Remove.
15206 [CXX] (c++-types.data): New vpath directive.
15207 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15208 vpath. Do not allow for C++ type data being missing.
15209 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15210 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15211 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15212 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15213 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15214 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15215 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15217 ... here.
15218 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15220 ... here.
15221 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15223 ... here.
15224 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15226 ... here.
15227 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15229 ... here.
15230 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15232 ... here.
15233 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15235 ... here.
15236 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15238
cfc82fd8
JM
15239 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15240 definitions to architecture-specific files.
15241 (TLS_IE): Likewise.
15242 (TLS_LD): Likewise.
15243 (TLS_GD): Likewise.
15244 * sysdeps/i386/tls-macros.h: New file.
15245 * sysdeps/powerpc/tls-macros.h: Likewise.
15246 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15247 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15248 * sysdeps/sh/tls-macros.h: Likewise.
15249 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15250 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15251 * sysdeps/x86_64/tls-macros.h: Likewise.
15252
f7db3170
TS
152532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15254
07cbfc23
TS
15255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15256 zero value for regular exit case.
15257
f7db3170
TS
15258 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15259 (__start_context): Preserve zero value for regular exit case.
15260
dc97c227
TS
152612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15262 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15263
15264 * manual/setjmp.texi (setcontext): Clarify normal process
15265 termination when uc_link is the null pointer.
15266 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15267 exit call.
15268
d0cd7d02
AS
152692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15270
15271 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15272 preprocessor. Test for each exception mask separately.
15273
dd318934
AJ
152742012-07-16 Andreas Jaeger <aj@suse.de>
15275
15276 * po/ru.po: Update from translation team.
15277
8048311a
JM
152782012-07-15 Joseph Myers <joseph@codesourcery.com>
15279
15280 * conform/data/string.h-data (NULL): Use macro-constant. Require
15281 equal to 0.
15282 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15283 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15284 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15285 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15287
b637d46e
AJ
152882012-07-13 Andreas Jaeger <aj@suse.de>
15289
15290 * po/fr.po: Update from translation team.
15291
541428fe
MP
152922012-07-12 Marek Polacek <polacek@redhat.com>
15293
15294 [BZ #14173]
15295 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15297 loop condition.
15298
ec332e94
JM
152992012-07-12 Joseph Myers <joseph@codesourcery.com>
15300
15301 [BZ #13717]
15302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15303 Change to 2.4.1 where previously 2.4.0.
15304 * sysdeps/unix/sysv/linux/configure: Regenerated.
15305 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15306 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15307 version.
15308 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15309 (__ASSUME_AT_CLKTCK): Remove.
15310 (__ASSUME_AT_PAGESIZE): Likewise.
15311 (__ASSUME_AT_XID): Likewise.
15312 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15313 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15314 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15315 unconditionally.
15316 (HAVE_AUX_PAGESIZE): Likewise.
15317 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15318 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15319 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15320
7b6e99be
JB
153212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15322
15323 [BZ #14307]
15324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15325 the temporary buffer used to invoke __gethostbyname2_r,
15326 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15327 host_data / struct gaih_addrtuple.
15328 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15329 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15330 header file nss/nsswitch.h.
15331 * nss/nsswitch.h (global scope): Add definition of implementation
15332 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15333 resolv/nss_dns/dns-host.c).
15334
608404eb
AJ
153352012-07-11 Andreas Jaeger <aj@suse.de>
15336
15337 * po/fr.po: Update from translation team.
15338
71220aca
AJ
15339 * po/sv.po: Update from translation team
15340 * po/fr.po: Another update from translation team.
15341
28cfe843
AZ
153422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15343
15344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15345 for subnormals or multiply small sinh result by itself.
15346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15348
6b90f981
DM
153492012-07-11 David S. Miller <davem@davemloft.net>
15350
15351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15352
c6825772
AS
153532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15354
15355 [BZ #14347]
15356 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15357 (INTERNAL_MARK): Shift it here.
15358
7b8e0d49
MP
153592012-07-10 Marek Polacek <polacek@redhat.com>
15360
15361 [BZ #14151]
15362 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15363 libc_cv_asm_global_directive with .globl.
15364 * configure: Regenerated.
15365 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15366 with .globl.
15367 * sysdeps/i386/configure: Regenerated.
15368 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15369 with .globl.
15370 * sysdeps/x86_64/configure: Regenerated.
15371 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15372 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15373 * elf/tst-unique2mod2.c: Likewise.
15374 * elf/tst-unique2mod1.c: Likewise.
15375 * elf/tst-unique1mod2.c: Likewise.
15376 * elf/tst-unique1mod1.c: Likewise.
15377 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15378 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15380 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15381 * sysdeps/mach/sysdep.h: Likewise.
15382 * sysdeps/i386/sysdep.h: Likewise.
15383 * sysdeps/i386/i386-mcount.S: Likewise.
15384 * sysdeps/x86_64/_mcount.S: Likewise.
15385 * sysdeps/x86_64/sysdep.h: Likewise.
15386 * sysdeps/sh/_mcount.S: Likewise.
15387 * sysdeps/sh/sysdep.h: Likewise.
15388 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15389 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15390 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15392 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15393 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15394 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15395 * locale/localeinfo.h: Likewise.
15396 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15397 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15398
6c55cda3
RM
153992012-07-09 Roland McGrath <roland@hack.frob.com>
15400
15401 [BZ #14336]
15402 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15403 system".
15404 * manual/message.texi (The Uniforum approach): Likewise.
15405 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15406 (glibc iconv Implementation): Likewise.
15407
638a572e
JM
154082012-07-09 Joseph Myers <joseph@codesourcery.com>
15409
15410 [BZ #14337]
15411 * math/s_clog.c (__clog): Avoid scaling a value down where that
15412 could result in underflow.
15413 * math/s_clog10.c (__clog10): Likewise.
15414 * math/s_clog10f.c (__clog10f): Likewise.
15415 * math/s_clog10l.c (__clog10l): Likewise.
15416 * math/s_clogf.c (__clogf): Likewise.
15417 * math/s_clogl.c (__clogl): Likewise.
15418 * math/libm-test.inc (clog_test): Add more tests.
15419 (clog10_test): Likewise.
15420 * sysdeps/i386/fpu/libm-test-ulps: Update.
15421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15422
261f4859
AS
154232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15424
0abaf3e4
AS
15425 [BZ #14283]
15426 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15427 by 7 not 8 to examine high bit of fractional part.
15428
261f4859
AS
15429 [BZ #14042]
15430 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15431 for call to __mcount_internal.
15432 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15433 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15434 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15435
f17ac40d
JM
154362012-07-06 Joseph Myers <joseph@codesourcery.com>
15437
9ad63c23
JM
15438 [BZ #14154]
15439 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15440 approximation for values within 0x1p-13f of an odd multiple of
15441 pi/4.
15442 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15443 exception. Add more tests.
15444 * sysdeps/i386/fpu/libm-test-ulps: Update.
15445
f17ac40d
JM
15446 [BZ #6778]
15447 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15448 inputs and return -1 for them. Do not check for +Inf in case not
15449 reachable for +Inf.
15450 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15451 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15453 and return -1 for them. Do not check for +Inf in case not
15454 reachable for +Inf.
15455 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15456 define.
15457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15458 and return -1 for them. Do not check for +Inf in case not
15459 reachable for +Inf.
15460 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15461 spurious underflow.
15462 * sysdeps/i386/fpu/libm-test-ulps: Update.
15463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15464
fb21f89b
MF
154652012-07-06 Mike Frysinger <vapier@gentoo.org>
15466
15467 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15468
cdfe2c5e
JM
154692012-07-05 Joseph Myers <joseph@codesourcery.com>
15470
15471 [BZ #14157]
15472 [BZ #14331]
15473 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15474 could result in spurious underflow. Scale down values above
15475 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15476 * math/s_csqrtf.c (__csqrtf): Likewise.
15477 * math/s_csqrtl.c (__csqrtl): Likewise.
15478 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15479 spurious underflow.
15480 * sysdeps/i386/fpu/libm-test-ulps: Update.
15481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15482
70d35b67
AS
154832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15484
704bc459
AS
15485 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15486 xopen-msg.sed.
15487 * catgets/xopen-msg.awk: New file.
15488 * catgets/xopen-msg.sed: Removed.
15489
70d35b67
AS
15490 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15491 po2text.sed.
15492 * intl/po2test.awk: New file.
15493 * intl/po2test.sed: Removed.
15494
ca61cf32
JM
154952012-07-04 Joseph Myers <joseph@codesourcery.com>
15496
15497 [BZ #14328]
15498 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15499 or multiply small sinh result by itself.
15500 * math/s_ctanf.c (__ctanf): Likewise.
15501 * math/s_ctanh.c (__ctanh): Likewise.
15502 * math/s_ctanhf.c (__ctanhf): Likewise.
15503 * math/s_ctanhl.c (__ctanhl): Likewise.
15504 * math/s_ctanl.c (__ctanl): Likewise.
15505 * math/libm-test.inc (ctan_test_tonearest): New function.
15506 (ctan_test_towardzero): Likewise.
15507 (ctan_test_downward): Likewise.
15508 (ctan_test_upward): Likewise.
15509 (ctanh_test_tonearest): Likewise.
15510 (ctanh_test_towardzero): Likewise.
15511 (ctanh_test_downward): Likewise.
15512 (ctanh_test_upward): Likewise.
15513 (main): Call these new functions.
15514 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15516
ca48a46a
MF
155172012-07-03 Mike Frysinger <vapier@gentoo.org>
15518
15519 * .gitignore: Delete /ports entry.
15520
9d63d37d
AJ
155212012-07-03 Andreas Jaeger <aj@suse.de>
15522
15523 * po/bg.po: Update from translation team.
15524 * po/cs.po: Likewise.
15525 * po/de.po: Likewise.
15526 * po/hr.po: Likewise.
15527 * po/nl.pl: Likewise.
15528 * po/pl.po: Likewise.
15529 * po/vi.po: Likewise.
15530
370ca3d2
JM
155312012-07-03 Joseph Myers <joseph@codesourcery.com>
15532
95f5a9a8
JM
15533 * Makeconfig [!+link] (+link-before-libc): New variable.
15534 [!+link] (+link-after-libc): Likewise.
15535 [!+link] (+link-tests): Likewise.
15536 [!+link] (+link): Define in terms of $(+link-before-libc) and
15537 $(+link-after-libc).
15538 [!+link-static] (+link-static-before-libc): New variable.
15539 [!+link-static] (+link-static-after-libc): Likewise.
15540 [!+link-static] (+link-static-tests): Likewise.
15541 [!+link-static] (+link-static): Define in terms of
15542 $(+link-static-before-libc) and $(+link-static-after-libc).
15543 [build-shared] (link-libc-before-gnulib): New variable.
15544 [build-shared] (link-libc-tests): Likewise.
15545 [build-shared] (link-libc): Define in terms of
15546 $(link-libc-before-gnulib).
15547 [!build-shared] (link-libc-tests): New variable.
15548 (link-libc-static-tests): New variable.
15549 [!gnulib] (gnulib-arch): New variable.
15550 [!gnulib] (gnulib-tests): Likewise.
15551 [!gnulib] (static-gnulib-arch): Likewise.
15552 [!gnulib] (static-gnulib-tests): Likewise.
15553 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15554 Define with "=" instead of ":=".
15555 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15556 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15557 * Rules (binaries-all-notests): New variable.
15558 (binaries-all-tests): Likewise.
15559 (binaries-static-notests): Likewise.
15560 (binaries-static-tests): Likewise.
15561 (binaries-all): Define using $(binaries-all-notests) and
15562 $(binaries-all-tests).
15563 (binaries-static): Define using $(binaries-static-notests) and
15564 $(binaries-static-tests).
15565 (binaries-shared-tests): New variable.
15566 (binaries-shared-notests): Likewise.
15567 (binaries-shared): Remove variable.
15568 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15569 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15570 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15571 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15572 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15573 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15574 * elf/Makefile (sln-modules): New variable.
15575 (extra-objs): Add $(sln-modules:=.o).
15576 (ldconfig-modules): Add static-stubs.
15577 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15578 * elf/static-stubs.c: New file.
15579
7a845b2c
JM
15580 [BZ #14283]
15581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15582 by 7 not 8 to examine high bit of fractional part. Use volatile
15583 variables when splitting into final array of floats if
15584 __FLT_EVAL_METHOD__ != 0.
15585 * math/libm-test.inc (cos_test): Add another test.
15586 (sin_test): Likewise.
15587 * sysdeps/i386/fpu/libm-test-ulps: Update.
15588
e2283f38
JM
15589 [BZ #14273]
15590 * math/libm-test.inc (cosh_test): Add more tests.
15591
370ca3d2
JM
15592 * version.h (RELEASE): Set to "development".
15593 (VERSION): Set to "2.16.90".
15594
ee9247c3
CD
155952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15596
15597 * NEWS: Update copyright. Remove last-updated date.
15598 Mention math library bug fixes and timezone data changes.
15599 * README: Mention GNU/Hurd, x32, and HPPA support status.
15600
4648c381
TS
156012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15602
15603 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15604
aac78a43
AJ
156052012-06-27 Andreas Jaeger <aj@suse.de>
15606
15607 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15608
ed3dbfad
AJ
156092012-06-25 Andreas Jaeger <aj@suse.de>
15610
15611 * sysdeps/s390/fpu/libm-test-ulps: Update.
15612
4d0ee855
AS
156132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15614 Thomas Schwinge <thomas@codesourcery.com>
15615
15616 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15617 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15619 fanotify_mark.
15620
af1bce34
TS
156212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15622
a9fa33ba
TS
15623 * sysdeps/mach/start.c: Remove file.
15624 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15625 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15626 * sysdeps/sh/init-first.c: Likewise.
15627
58f902b8
TS
15628 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15629 registers for frame unwinding purposes, add CFI directives.
15630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15632 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15633 Likewise.
15634
1518f58b
TS
15635 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15636 __fortify_fail returning.
15637 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15638
db9b5059
TS
15639 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15640 sysdeps/sh/____longjmp_chk.S.
15641 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15642 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15643 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15644 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15645
967705fe
TS
15646 * sysdeps/sh/abort-instr.h: New file.
15647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15648 process in case exit returns.
15649
a9def8c4
TS
15650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15651 initialize the GOT register before use.
15652
2a649725
TS
15653 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15654 calculation of ARGC > 4.
15655
af1bce34
TS
15656 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15657 meaningful names to some local labels.
15658
d230f50a
KK
156592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15660 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15661
15662 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15663 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15664 (__arch_compare_and_exchange_val_16_acq): Likewise.
15665 (__arch_compare_and_exchange_val_32_acq): Likewise.
15666 (atomic_exchange_and_add): Fix gUSA sequence.
15667 (atomic_add): Likewise.
15668 (atomic_add_negative): Likewise.
15669 (atomic_add_zero): Likewise.
15670 (atomic_bit_test_set): Likewise.
15671
0479b305
AS
156722012-06-22 Andreas Schwab <schwab@redhat.com>
15673
15674 [BZ #13579]
15675 * include/link.h (struct link_map): Add l_free_initfini.
15676 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15677 l_initfini.
15678 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15679 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15680 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15681 set.
15682
0e3933b9
CD
156832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15684
15685 * configure.in: Use AC_LANG_SOURCE.
15686 * configure: Regenerate.
15687
4248b1b1
RM
156882012-06-22 Roland McGrath <roland@hack.frob.com>
15689
15690 * configure.in (libc_cv_localstatedir): New substituted variable.
15691 * configure: Regenerated.
15692 * config.make.in (localstatedir): New variable, substituted from
15693 libc_cv_localstatedir.
15694 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15695 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15696 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15697 * sysdeps/gnu/configure: Regenerated.
15698
006dd861
JL
156992012-06-21 Jeff Law <law@redhat.com>
15700
15701 [BZ #14277]
15702 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15703 free. Simplify list management for _LIBC case.
15704
79662d42
JM
157052012-06-21 Joseph Myers <joseph@codesourcery.com>
15706
b7abb4bf
JM
15707 [BZ #14273]
15708 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15709 Clear sign bit of 64-bit integer value before comparing against
15710 overflow value.
15711
79662d42
JM
15712 * sysdeps/mach/configure: Regenerated.
15713
1f150908
L
157142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15715
15716 [BZ #14278]
15717 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15718
28363bbf
JL
157192012-06-21 Jeff Law <law@redhat.com>
15720
15721 [BZ #13882]
15722 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15723 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15724 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15725 * elf/dl-open.c (dl_open_worker): Likewise.
15726
09615db4
CD
157272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15728
15729 * scripts/list-sources.sh: Scan PORTS for translations.
15730 * po/libc.pot: Regenerated.
15731
2174c6dd
AJ
157322012-06-21 Andreas Jaeger <aj@suse.de>
15733
15734 [BZ #12194]
15735 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15736 warning.
15737 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15738 * bits/byteswap-16.h (__bswap_16): Likewise.
15739 * bits/byteswap.h (__bswap_constant_16): Likewise.
15740
3ee947b1
L
157412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15742
15743 [BZ #14117]
a2f34833
L
15744 * sysdeps/i386/fpu_control.h: Removed.
15745 * sysdeps/x86_64/fpu_control.h: Moved to ...
15746 * sysdeps/x86/fpu_control.h: Here.
15747
3ee947b1
L
15748 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15749 (_FPU_SETCW): Likewise.
15750
ed1825f8
L
157512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15752
25f1282a
L
15753 [BZ #14117]
15754 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15755 * sysdeps/x86/fpu/bits/mathinline.h: This.
15756 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15757
ed1825f8
L
15758 [BZ #14050]
15759 [BZ #14117]
15760 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15761 functions if __x86_64__ is defined.
15762
36d54b74
CLT
157632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15764
15765 * string/endian.h: Add !__ASSEMBLER__ condition for including
15766 conversion interfaces.
15767
10285c21
JM
157682012-06-15 Joseph Myers <joseph@codesourcery.com>
15769
15770 [BZ #14241]
15771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15772 of ABS(x) in calculating zero to negative powers other than odd
15773 integers.
15774 * math/libm-test.inc (pow_test): Add more tests.
15775
06c5abbd
AJ
157762012-06-15 Andreas Jaeger <aj@suse.de>
15777
15778 * manual/contrib.texi (Contributors): Update entry of Liubov
15779 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15780 Machado Filho.
15781
a3aeac40
CH
157822012-06-15 Cyril Hrubis <metan@ucw.cz>
15783
15784 * string/string.h: Add __wur to GNU version of strerror_r.
15785
49bdf4c1
L
157862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15787
15788 [BZ #14229]
15789 * string/Makefile (tests): Add tst-strtok_r.
15790 * string/tst-strtok_r.c: New file.
15791 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15792 RAX_LP/RDX_LP on SAVE_PTR.
15793
834f9b8d
RM
157942012-06-14 Roland McGrath <roland@hack.frob.com>
15795
15796 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15797
75fa1921
JM
157982012-06-14 Joseph Myers <joseph@codesourcery.com>
15799
15800 * libm_test.inc (csqrt_test): Allow more spurious underflow
15801 exceptions.
15802 (j0_test): Likewise.
15803 (j1_test): Likewise.
15804 (y0_test): Likewise.
15805 (y1_test): Likewise.
15806
771766df
CD
158072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15808
15809 * po/Makefile (libc.pot): Use UTF-8 charset.
15810
ceb9e56b
PP
158112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15812
15813 [BZ #14210]
15814 Suppress sign-conversion warning from FD_SET.
15815 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15816 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15817 not unsigned long int.
15818 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15819
ddb28975
L
158202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15821
15822 [BZ #14050]
15823 [BZ #14117]
15824 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15825 __extern_always_inline instead of __extern_inline.
15826 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15827 (__signbit): Likewise.
15828 (__signbitl): Support C++ namespace.
15829 (lrintf): New inline function.
15830 (lrint): Likewise.
15831 (llrintf): Likewise.
15832 (llrint): Likewise.
15833 (fmaxf): Likewise.
15834 (fmax): Likewise.
15835 (fminf): Likewise.
15836 (fmin): Likewise.
15837 (rint): Likewise.
15838 (rintf): Likewise.
15839 (ceil): Likewise.
15840 (ceilf): Likewise.
15841 (floor): Likewise.
15842 (floorf): Likewise.
15843 (nearbyint): Likewise.
15844 (nearbyintf): Likewise.
15845
d7b4fb26
TS
158462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15847
15848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15849 non-default versions.
15850
eb55f5c2
RM
158512012-06-11 Roland McGrath <roland@hack.frob.com>
15852
15853 [BZ #14218]
15854 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15855
366af02c
TS
158562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15857
99ff6e5c
TS
15858 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15859 (FE_UPWARD, FE_DOWNWARD): Don't define.
15860 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15861 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15862
366af02c
TS
15863 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15864 reading it.
15865 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15867
793ea851
KK
158682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15869
15870 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15871 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15872 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15873 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15874
a728a38f
L
158752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15876
15877 [BZ #14117]
c08010c7
L
15878 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15879 * sysdeps/i386/fpu/Implies: New file.
15880 * sysdeps/x86_64/fpu/Implies: Likewise.
15881 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15882 * sysdeps/x86/fpu/bits/fenv.h: This.
15883
a728a38f
L
15884 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15885 __SSE_MATH__.
15886
6e230d11
SP
158872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15888
15889 [BZ #14134]
15890 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15891 character 0xffff that matches the last element of the
15892 conversion table.
15893
1b671feb
AZ
158942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15895
15896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15897 fmodl commit.
15898
6043738b
AZ
158992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15900
15901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15902 values higher than 25.6283.
15903
34ae0b32
AZ
159042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15905
15906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15907 subnormal exponent extraction and add some __builtin_expect.
15908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15909 Fix for subnormal mantissa calculation.
15910
1214ec8f
MF
159112012-06-04 Mike Frysinger <vapier@gentoo.org>
15912
15913 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15914 cpu2 is -1 and errno is not ENOSYS.
15915
f3d1f93c
L
159162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15917
15918 [BZ #14117]
0e4a3cd7
L
15919 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15920 * sysdeps/x86/bits/string.h: This.
15921 * sysdeps/x86_64/bits/string.h: Removed.
15922
6704c645
L
15923 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15924 if not compiling for x86-64, but compiling for >= i486.
15925
48495318
L
15926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15927 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15928
14adcbfc
L
15929 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15930 New macro from Linux kernel 3.4.0.
15931 (FP_XSTATE_MAGIC2): Likewise.
15932 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15933 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15934 (struct _fpx_sw_bytes): New struct.
15935 (struct _xsave_hdr): Likewise.
15936 (struct _ymmh_state): Likewise.
15937 (struct _xstate): Likewise.
15938
68e408ab
L
15939 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15940 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15942 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15944 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15945
f3d1f93c
L
15946 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15947 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15948 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15949 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15950 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15951 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15952
d9dc34cd
TMQMF
159532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15954
15955 [BZ #13743]
15956 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15957 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15958 (sysdep_headers): Include sys/platform/ppc.h.
15959 * sysdeps/powerpc/test-gettimebase.c: Test for
15960 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15961 * manual/Makefile (appendices): Include platform.texi.
15962 * manual/contrib.texi (Contributors): Update @node pointers.
15963 * manual/maint.texi (Maintenance): Likewise.
15964 (Platform): New node.
15965 * manual/platform.texi: New file. Document the new features.
15966
4af3879c
SP
159672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15968 Jakub Jelinek <jakub@redhat.com>
15969
15970 [BZ #14188]
15971 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15972 where __builtin_expect is unavailable.
15973
2fd6ff13
DM
159742012-06-03 David S. Miller <davem@davemloft.net>
15975
15976 * stdlib/longlong.h: Updated from GCC.
15977
173f7220
AS
159782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15979
15980 [BZ #14042]
15981 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15982 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15983 __mcount_internal.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15985 (GLIBC_2.16): Likewise.
15986
f34a1c6f
L
159872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15988
15989 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15990
88a4576f
JM
159912012-06-01 Joseph Myers <joseph@codesourcery.com>
15992
ea32bcdd
JM
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15994 (default-abi): New variable.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15996 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15997 variable.
15998 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15999 Likewise.
16000 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16001 Likewise.
16002 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16003 Likewise.
16004
88a4576f
JM
16005 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16006 definition. Document in comment.
16007
402fe938
DM
160082012-06-01 David S. Miller <davem@davemloft.net>
16009
16010 * stdlib/longlong.h: Updated from GCC.
16011
3553723f
L
160122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16013
16014 [BZ #14117]
3bd872c4
L
16015 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16016 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16017 sys/debugreg.h sys/io.h here.
16018 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16019 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16020 sys/io.h.
16021 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16022 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16023 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16024 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16025 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16026 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16027
3553723f
L
16028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16029 Define only if __x86_64__ is defined.
16030
4842e4fe
JM
160312012-06-01 Joseph Myers <joseph@codesourcery.com>
16032
c5bfe3d5
JM
16033 [BZ #14048]
16034 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16035 Use int64_t for variable i.
16036 * math/libm-test.inc (fmod_test): Add more tests.
16037
4842e4fe
JM
16038 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16039 z computation is not scheduled after fetestexcept.
16040 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16041 Use math_force_eval instead of asm to ensure calculation scheduled
16042 before exception test.
16043 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16044 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16045
efb73488
AJ
160462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16047
16048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16049 computation is not scheduled after fetestexcept.
16050
29bcce7c
L
160512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16052
16053 [BZ #14117]
16054 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16055 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16056
73a68f94
AZ
160572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16058
16059 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16060 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16061
67b6df78
L
160622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16063
edf2933a 16064 [BZ #14117]
ebc64a18
L
16065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16066 <bits/wordsize.h>.
16067 (__WCHAR_MIN): Support __WORDSIZE == 64.
16068 (__WCHAR_MAX): Likewise.
16069
edf2933a
L
16070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16071 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16072
57c6cf40
L
16073 [BZ #14183]
16074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16075 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16076
67b6df78 16077 [BZ #14117]
8eb6281e
L
16078 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16079 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16080
aac639f4
L
16081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16082 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16083
67b6df78
L
16084 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16085 Defined to 1 if __x86_64__ isn't defined.
16086 (_STAT_VER_LINUX_OLD): New.
16087 (st_atime): Remove duplicate.
16088 (st_mtime): Likewise.
16089 (st_ctime): Likewise.
16090
1c2cfe81
DM
160912012-05-31 David S. Miller <davem@davemloft.net>
16092
16093 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16094 entries.
16095
5be8418c
AS
160962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16097
e7725326
AS
16098 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16099 gen-libm-test.pl.
16100
5be8418c
AS
16101 [BZ #14132]
16102 * elf/dl-reloc.c: Include <_itoa.h>.
16103 (_dl_reloc_bad_type): Remove use of INTUSE.
16104 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16105 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16106 * stdio-common/psiginfo.c (psiginfo): Likewise.
16107 * stdio-common/psignal.c (psignal): Likewise.
16108 * string/strsignal.c (strsignal): Likewise.
16109 * include/signal.h (_sys_siglist): Declare hidden proto.
16110 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16111 INTVARDEF with libc_hidden_data_def.
16112 * stdio-common/itoa-udigits.c: Likewise.
16113 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16114 (_itoa_lower_digits_internal): Remove declaration.
16115 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16116 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16117 (_sys_sigabbrev_internal): Remove aliases.
16118 (_sys_siglist): Define hidden alias.
16119
507352f1
MT
161202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16121
16122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16123 bits/sysctl.h.
16124
42bbb1c3
L
161252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16126
16127 [BZ #14117]
6bd784b6
L
16128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16129 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16130
8bca20f0
L
16131 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16132 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16133 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16134 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16136 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16137
f9e890a9
L
16138 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16139 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16140 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16141
471101a1
L
16142 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16143 with __addr.
16144 (insw): Likewise.
16145 (insl): Likewise.
16146 (outsb): Likewise.
16147 (outsw): Likewise.
16148 (outsl): Likewise.
16149
6451c862
L
16150 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16152 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16153
a254b8c9
L
16154 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16155 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16156 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16157 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16158 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16159 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16160
b8dfdd92
L
16161 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16162 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16163
578cd270
L
16164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16165 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16166
de662f5f
L
16167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16169 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16170
25653439
L
16171 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16172 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16173 to ...
16174 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16175
6bad24a0
L
16176 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16177 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16178 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16179
42bbb1c3
L
16180 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16181 for x86-64.
16182 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16183
2d10d547
JM
161842012-05-31 Joseph Myers <joseph@codesourcery.com>
16185
16186 * math/math.h (M_El): Use two more decimal places.
16187 (M_LOG2El): Likewise.
16188 (M_LOG10El): Likewise.
16189 (M_LN2l): Likewise.
16190 (M_LN10l): Likewise.
16191 (M_PIl): Likewise.
16192 (M_PI_2l): Likewise.
16193 (M_PI_4l): Likewise.
16194 (M_1_PIl): Likewise.
16195 (M_2_PIl): Likewise.
16196 (M_2_SQRTPIl): Likewise.
16197 (M_SQRT2l): Likewise.
16198 (M_SQRT1_2l): Likewise.
16199
f230c29b
DM
162002012-05-31 David S. Miller <davem@davemloft.net>
16201
16202 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16203 values between float registers.
16204 * sysdeps/sparc/sparc64/memset.S: Likewise.
16205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16206
fed806c3
MF
162072012-05-31 Mike Frysinger <vapier@gentoo.org>
16208
16209 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16210 -D_FORTIFY_SOURCE=1.
16211 (CPPFLAGS-tst-longjmp_chk.c): Define.
16212 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16213 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16214 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16215 CFLAGS-tst-wchar-h.c.
16216
30917259
MP
162172012-05-31 Marek Polacek <polacek@redhat.com>
16218
16219 [BZ #14132]
16220 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16221 __endmntent_internal): Remove declaration.
16222 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16223 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16224 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16225
1c58d5dc
DM
162262012-05-30 David S. Miller <davem@davemloft.net>
16227
16228 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16229 (___Q_simulate_exceptions): Use real FP ops rather than writing
16230 into the %fsr.
16231 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16232 Likewise.
16233
7dc00e0d
L
162342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16235
16236 [BZ #14117]
0bd53985
L
16237 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16238 * sysdeps/x86/bits/xtitypes.h: This.
16239
3a257e66
L
16240 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16241 * sysdeps/x86/bits/wordsize.h: This.
16242
62f62904
L
16243 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16244 * sysdeps/x86/bits/huge_vall.h: This.
16245
404fe9d9
L
16246 * sysdeps/i386/bits/select.h: Removed.
16247 * sysdeps/x86_64/bits/select.h: Renamed to ...
16248 * sysdeps/x86/bits/select.h: This.
16249
d48d0446
L
16250 * sysdeps/i386/bits/setjmp.h: Removed.
16251 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16252 * sysdeps/x86/bits/setjmp.h: This.
16253
7dc00e0d
L
16254 * sysdeps/i386/bits/mathdef.h: Removed.
16255 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16256 * sysdeps/x86/bits/mathdef.h: This.
16257
03277f8f
AS
162582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16259
16260 [BZ #14132]
16261 * include/sys/socket.h (__connect_internal)
16262 (__libc_sa_len_internal): Remove declaration.
16263 (__connect, __libc_sa_len): Declare hidden_proto.
16264 (SA_LEN): Remove use of INTUSE.
16265 * socket/connect.c: Add libc_hidden_def.
16266 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16267 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16268 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16269 alias.
16270 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16272 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16273 of adding _internal alias.
16274
13764867
L
162752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 [BZ #14117]
6bd97696
L
16278 * sysdeps/i386/bits/link.h: Removed.
16279 * sysdeps/i386/bits/linkmap.h: Likewise.
16280 * sysdeps/x86_64/bits/link.h: Renamed to ...
16281 * sysdeps/x86/bits/link.h: This.
16282 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16283 * sysdeps/x86/bits/linkmap.h: This.
16284
f726f0bb
L
16285 * sysdeps/i386/bits/endian.h: Removed.
16286 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16287 * sysdeps/x86/bits/endian.h: This.
16288
13764867
L
16289 * sysdeps/i386/bits/byteswap.h: Removed.
16290 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16291 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16292 * sysdeps/x86/bits/byteswap.h: This.
16293 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16294 * sysdeps/x86/bits/byteswap-16.h: This.
16295 * sysdeps/i386/Implies: Add x86.
16296 * sysdeps/x86_64/Implies: Likewise.
16297
ae251b0b
DM
162982012-05-30 David S. Miller <davem@davemloft.net>
16299
16300 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16301 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16303 (FP_TRAPPING_EXCEPTIONS): Define.
16304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16305 (FP_TRAPPING_EXCEPTIONS): Define.
16306 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16307 subnormals only when inexact has been signalled or underflow
16308 exceptions are enabled.
16309 (_FP_PACK_CANONICAL): Likewise.
16310
d5c90867
L
163112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16312
16313 [BZ #14183]
16314 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16315 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16316
63f1549e
RH
163172012-05-30 Richard Henderson <rth@twiddle.net>
16318
8d8f2279
RH
16319 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16320 with #ifndef NOT_IN_libc.
16321
63f1549e
RH
16322 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16323 marked to avoid plt entry.
16324
0ab0291b
L
163252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16326
16327 [BZ #14112]
16328 * Makeconfig (default-abi): New macro.
16329 (abi-includes): Likewise.
16330 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16331 $(abi-$(default-abi)-lib-soname) for soname if defined.
16332 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16333 abi-variants.
16334 * Makefile (installed-stubs): Likewise.
16335 * include/stubs-biarch.h: Removed.
16336 * scripts/lib-names.awk: Only handle one library at a time.
16337 * scripts/soversions.awk: Remove WORDSIZE support.
16338 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16339 entries.
16340 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16341 Removed.
16342 (syscall-list-default-condition): Likewise.
16343 (syscall-list-default-condition): Likewise.
16344 (syscall-list-includes): Likewise.
16345 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16346 syscall-list-* with abi-*. Handle undefined abi-variants.
16347 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16348 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16349 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16350 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16351 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16352 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16353 Removed.
16354 (syscall-list-32-options): Likewise.
16355 (syscall-list-32-condition): Likewise.
16356 (syscall-list-64-options): Likewise.
16357 (syscall-list-64-condition): Likewise.
16358 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16359 macro.
16360 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16361 Renamed to ...
16362 (abi-*): This.
16363 (abi-64-ld-soname): New macro.
16364 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16365 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16366 Renamed to ...
16367 (abi-*): This.
16368 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16369 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16370
4da0431d
JM
163712012-05-30 Joseph Myers <joseph@codesourcery.com>
16372
3a85279c
JM
16373 * sysdeps/unix/sysv/linux/kernel-features.h
16374 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16375 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16376 include <kernel-features.h>.
16377 [!__NR_ftruncate64]: Remove conditional code.
16378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16379 [__NR_ftruncate64]: Make code unconditional.
16380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16381 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16382 include <kernel-features.h>.
16383 [!__NR_ftruncate64]: Remove conditional code.
16384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16385 [__NR_ftruncate64]: Make code unconditional.
16386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16388 include <kernel-features.h>.
16389 [!__NR_ftruncate64]: Remove conditional code.
16390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16391 [__NR_ftruncate64]: Make code unconditional.
16392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16394 include <kernel-features.h>.
16395 [!__NR_ftruncate64]: Remove conditional code.
16396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16397 [__NR_ftruncate64]: Make code unconditional.
16398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16399
4da0431d
JM
16400 * configure.in (libc_cv_fpie): Weaken to a compile test using
16401 LIBC_TRY_CC_OPTION.
16402 * configure: Regenerated.
16403
11ef492c
AK
164042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16405
16406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16410 Refreshed.
16411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16417 Refreshed.
16418
d66ef399
DM
164192012-05-27 David S. Miller <davem@davemloft.net>
16420
16421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16422 (___Q_zero): New.
16423 (__Q_simulate_exceptions): Return void. Change to simulate
16424 exceptions by writing into the %fsr.
16425 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16426 (__Qp_handle_exceptions): Likewise.
16427 (numbers): Delete.
16428 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16429 __Qp_handle_exceptions.
16430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16431 __Qp_handle_exceptions.
16432 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16433 as unused and give dummy FP_RND_NEAREST initializer.
16434 (FP_INHIBIT_RESULTS): Define.
16435 (___Q_simulate_exceptions): Update declaration.
16436 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16437 formatting.
16438 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16439 as unused and give dummy FP_RND_NEAREST initializer.
16440 (__Qp_handle_exceptions): Update declaration.
16441 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16442 formatting.
16443
04fb54b5
TS
164442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16445
16446 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16447 the temporary FPU control word.
16448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16449 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16450 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16451 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16452 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16453 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16454 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16455 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16456 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16457 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16458 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16459
3f99608f
KK
164602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16461
16462 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16463 fields.
16464
65a4de4e
CLT
164652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16466
16467 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16468 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16469 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16470 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16471 Likewise.
16472 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16473 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16474 Likewise.
16475
15749d40
UD
164762012-05-27 Ulrich Drepper <drepper@gmail.com>
16477
16478 * po/h.po: Update from translation team.
16479
25dbcb27
AS
164802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16481
3d3f8e55
AS
16482 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16483
25dbcb27
AS
16484 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16485 handling of denormals.
16486 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16487 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16488 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16489 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16493 Likewise.
16494
7ad47a80 164952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16496
16497 [BZ #14152]
16498 * math/libm-test.inc (fma_test): Don't always expect underflow
16499 exception.
16500
9c6ea9fa
SP
165012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16502
16503 [BZ #12416]
16504 * elf/tst-execstack.c: Include stackinfo.h.
16505 (do_test): Adjust test case to ensure that pthread_getattr_np
16506 behaviour remains the same after marking stack executable.
16507
a8239222
JM
165082012-05-25 Joseph Myers <joseph@codesourcery.com>
16509
16510 * sysdeps/unix/sysv/linux/kernel-features.h
16511 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16512 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16513 kernel-features.h.
16514 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16515 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16516 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16517 kernel-features.h.
16518 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16519 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16520
918b5606
L
165212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 * configure.in: Define the default includes to being none.
16524 * configure: Regenerated.
16525
3a097cc7
RM
165262012-05-25 Roland McGrath <roland@hack.frob.com>
16527
8422c9a5
RM
16528 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16529 * sysdeps/x86_64/setjmp.S: Likewise.
16530 * sysdeps/i386/bsd-setjmp.S: Likewise.
16531 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16532 * sysdeps/i386/setjmp.S: Likewise.
16533 * sysdeps/i386/__longjmp.S: Likewise.
16534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16535 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16536
3a097cc7
RM
16537 * include/stap-probe.h: New file.
16538 * configure.in: Handle --enable-systemtap.
16539 * configure: Regenerated.
16540 * config.h.in (USE_STAP_PROBE): New #undef.
16541 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16542 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16543 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16544
21708942
JM
165452012-05-25 Joseph Myers <joseph@codesourcery.com>
16546
16547 [BZ #13717]
16548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16549 to 2.4.0 where earlier.
16550 * sysdeps/unix/sysv/linux/configure: Regenerated.
16551 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16552 <kernel-features.h>.
16553 [__ASSUME_32BITUIDS]: Make code unconditional.
16554 [!__ASSUME_32BITUIDS]: Remove conditional code.
16555 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16556 <kernel-features.h>.
16557 [__ASSUME_32BITUIDS]: Make code unconditional.
16558 [!__ASSUME_32BITUIDS]: Remove conditional code.
16559 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16560 [__ASSUME_32BITUIDS]: Make code unconditional.
16561 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16562 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16563 <kernel-features.h>.
16564 [__ASSUME_32BITUIDS]: Make code unconditional.
16565 [!__ASSUME_32BITUIDS]: Remove conditional code.
16566 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16567 <kernel-features.h>.
16568 [__ASSUME_32BITUIDS]: Make code unconditional.
16569 [!__ASSUME_32BITUIDS]: Remove conditional code.
16570 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16571 <kernel-features.h>.
16572 [__ASSUME_32BITUIDS]: Make code unconditional.
16573 [!__ASSUME_32BITUIDS]: Remove conditional code.
16574 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16575 <kernel-features.h>.
16576 [__ASSUME_32BITUIDS]: Make code unconditional.
16577 [!__ASSUME_32BITUIDS]: Remove conditional code.
16578 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16579 <kernel-features.h>.
16580 [__ASSUME_32BITUIDS]: Make code unconditional.
16581 [!__ASSUME_32BITUIDS]: Remove conditional code.
16582 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16583 <kernel-features.h>.
16584 [__ASSUME_32BITUIDS]: Make code unconditional.
16585 [!__ASSUME_32BITUIDS]: Remove conditional code.
16586 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16587 <kernel-features.h>.
16588 [__ASSUME_32BITUIDS]: Make code unconditional.
16589 [!__ASSUME_32BITUIDS]: Remove conditional code.
16590 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16591 <kernel-features.h>.
16592 [__ASSUME_32BITUIDS]: Make code unconditional.
16593 [!__ASSUME_32BITUIDS]: Remove conditional code.
16594 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16595 <kernel-features.h>.
16596 [__ASSUME_32BITUIDS]: Make code unconditional.
16597 [!__ASSUME_32BITUIDS]: Remove conditional code.
16598 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16599 <kernel-features.h>.
16600 [__ASSUME_32BITUIDS]: Make code unconditional.
16601 [!__ASSUME_32BITUIDS]: Remove conditional code.
16602 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16603 <kernel-features.h>.
16604 [__NR_setresgid] (__setresgid): Do not declare.
16605 [__ASSUME_32BITUIDS]: Make code unconditional.
16606 [!__ASSUME_32BITUIDS]: Remove conditional code.
16607 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16608 <kernel-features.h>.
16609 [__NR_setresuid] (__setresuid): Do not declare.
16610 [__ASSUME_32BITUIDS]: Make code unconditional.
16611 [!__ASSUME_32BITUIDS]: Remove conditional code.
16612 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16613 <kernel-features.h>.
16614 [__ASSUME_32BITUIDS]: Make code unconditional.
16615 [!__ASSUME_32BITUIDS]: Remove conditional code.
16616 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16617 <kernel-features.h>.
16618 [__ASSUME_32BITUIDS]: Make code unconditional.
16619 [!__ASSUME_32BITUIDS]: Remove conditional code.
16620 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16621 <kernel-features.h>.
16622 [__ASSUME_32BITUIDS]: Make code unconditional.
16623 [!__ASSUME_32BITUIDS]: Remove conditional code.
16624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16625 <kernel-features.h>.
16626 [__ASSUME_32BITUIDS]: Make code unconditional.
16627 [!__ASSUME_32BITUIDS]: Remove conditional code.
16628 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16629 <kernel-features.h>.
16630 [__ASSUME_32BITUIDS]: Make code unconditional.
16631 [!__ASSUME_32BITUIDS]: Remove conditional code.
16632 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16633 <kernel-features.h>.
16634 [__ASSUME_32BITUIDS]: Make code unconditional.
16635 [!__ASSUME_32BITUIDS]: Remove conditional code.
16636 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16637 <kernel-features.h>.
16638 [__ASSUME_32BITUIDS]: Make code unconditional.
16639 [!__ASSUME_32BITUIDS]: Remove conditional code.
16640 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16641 <kernel-features.h>.
16642 [__ASSUME_32BITUIDS]: Make code unconditional.
16643 [!__ASSUME_32BITUIDS]: Remove conditional code.
16644 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16645 <kernel-features.h>.
16646 [__ASSUME_32BITUIDS]: Make code unconditional.
16647 [!__ASSUME_32BITUIDS]: Remove conditional code.
16648 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16649 <kernel-features.h>.
16650 [__ASSUME_32BITUIDS]: Make code unconditional.
16651 [!__ASSUME_32BITUIDS]: Remove conditional code.
16652 * sysdeps/unix/sysv/linux/kernel-features.h
16653 (__ASSUME_SETRESUID_SYSCALL): Remove.
16654 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16655 (__ASSUME_32BITUIDS): Likewise.
16656 (__ASSUME_LDT_WORKS): Likewise.
16657 (__ASSUME_O_DIRECTORY): Likewise.
16658 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16659 architecture but not kernel version.
16660 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16661 (__ASSUME_MMAP2_SYSCALL): Likewise.
16662 (__ASSUME_STAT64_SYSCALL): Likewise.
16663 (__ASSUME_IPC64): Likewise.
16664 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16665 <kernel-features.h>.
16666 [__ASSUME_32BITUIDS]: Make code unconditional.
16667 [!__ASSUME_32BITUIDS]: Remove conditional code.
16668 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16669 <kernel-features.h>.
16670 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16671 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16672 132096]: Remove conditional code.
16673 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16674 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16675 <kernel-features.h>.
16676 [__ASSUME_32BITUIDS]: Make code unconditional.
16677 [!__ASSUME_32BITUIDS]: Remove conditional code.
16678 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16679 <kernel-features.h>.
16680 [__ASSUME_32BITUIDS]: Make code unconditional.
16681 [!__ASSUME_32BITUIDS]: Remove conditional code.
16682 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16683 <kernel-features.h>.
16684 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16685 unconditional.
16686 (__setresgid): Do not declare.
16687 [__ASSUME_32BITUIDS]: Make code unconditional.
16688 [!__ASSUME_32BITUIDS]: Remove conditional code.
16689 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16690 <kernel-features.h>.
16691 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16692 unconditional.
16693 (__setresuid): Do not declare.
16694 [__ASSUME_32BITUIDS]: Make code unconditional.
16695 [!__ASSUME_32BITUIDS]: Remove conditional code.
16696 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16697 <kernel-features.h>.
16698 [__ASSUME_32BITUIDS]: Make code unconditional.
16699 [!__ASSUME_32BITUIDS]: Remove conditional code.
16700 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16701 <kernel-features.h>.
16702 [__ASSUME_32BITUIDS]: Make code unconditional.
16703 [!__ASSUME_32BITUIDS]: Remove conditional code.
16704
a386f1cc
RH
167052012-05-25 Richard Henderson <rth@twiddle.net>
16706
16707 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16708 dl_hwcap to ifunc resolver.
16709 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16710 elf_ifunc_invoke.
16711 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16712 dl_hwcap to ifunc resolver.
16713 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16714
b6550497
JM
167152012-05-24 Joseph Myers <joseph@codesourcery.com>
16716
16717 [BZ #14153]
16718 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16719 for |x| <= 2**-26, not 2**-57.
16720 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16721 exception.
16722
b0bc23a1
JL
167232012-05-24 Jeff Law <law@redhat.com>
16724
16725 * stdio-common/Makefile (tests): Add bug25.
16726 * stdio-common/bug25.c: New test.
16727
347c92e9
L
167282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16729
16730 [BZ #13576]
16731 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16732 multiple of MALLOC_ALIGNMENT in size.
16733 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16734
6bcc8b3f
JM
167352012-05-24 Joseph Myers <joseph@codesourcery.com>
16736
16737 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16738 Require >= 256.
16739 (FILENAME_MAX): Use macro-int-constant.
16740 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16741 (_IOFBF): Use macro-int-constant.
16742 (_IOLBF): Likewise.
16743 (_IONBF): Likewise.
16744 (SEEK_CUR): Likewise.
16745 (SEEK_END): Likewise.
16746 (SEEK_SET): Likewise.
16747 (TMP_MAX): Likewise.
16748 (EOF): Use macro-int-constant. Require < 0.
16749 (NULL): Use macro-constant. Require == 0.
16750 (stdin): Require type to be FILE *.
16751 (stdout): Likewise.
16752 (stderr): Likewise.
16753 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16754 macro-int-constant.
16755 (EXIT_SUCCESS): Likewise.
16756 (NULL): Use macro-constant. Require == 0.
16757 (RAND_MAX): Use macro-int-constant.
16758 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16759 [C99-based standards] (strtof): Require function.
16760 [C99-based standards] (strtold): Likewise.
16761 [C99-based standards] (strtoll): Likewise.
16762 [C99-based standards] (strtoull): Likewise.
16763 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16764 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16765 [ISO || ISO99 || ISO11] (math.h): Likewise.
16766 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16767 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16769
d18ea0c5
AS
167702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16771
16772 [BZ #14132]
56d25bb8
AS
16773 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16774 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16775 * intl/dgettext.c (DCGETTEXT): Likewise.
16776 * intl/gettext.c (DCGETTEXT): Likewise.
16777 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16778 * posix/regex_internal.h (gettext): Likewise.
16779 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16780 Remove declaration.
16781 * include/argz.h (__argz_count_internal)
16782 (__argz_stringify_internal): Remove declaration.
16783 (__argz_count, __argz_stringify): Declare hidden proto.
16784 * intl/dcgettext.c: Remove use of INTDEF.
16785 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16786 * string/argz-stringify.c: Likewise.
16787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16789 Declare hidden proto.
d18ea0c5
AS
16790 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16791 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16792 Declare hidden proto.
16793 * include/stdio.h (__asprintf_internal): Don't declare.
16794 (__asprintf): Don't define as macro. Declare hidden proto.
16795 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16796 (__fsetlocking): Declare hidden proto.
16797 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16798 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16799 hidden proto.
16800 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16801 (_IO_setlinebuf): Remove use of INTUSE.
16802 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16803 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16804 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16805 Remove declaration.
16806 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16807 (_IO_do_flush): Remove use of INTUSE.
16808 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16809 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16810 (_IO_adjust_column, _IO_least_wmarker)
16811 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16812 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16813 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16814 (_IO_default_doallocate, _IO_wdefault_doallocate)
16815 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16816 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16817 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16818 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16819 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16820 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16821 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16822 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16823 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16824 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16825 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16826 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16827 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16828 proto.
16829 (_IO_flush_all_internal, _IO_adjust_column_internal)
16830 (_IO_default_uflow_internal, _IO_default_finish_internal)
16831 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16832 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16833 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16834 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16835 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16836 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16837 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16838 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16839 (_IO_file_close_internal, _IO_file_close_it_internal)
16840 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16841 (_IO_file_init_internal, _IO_file_attach_internal)
16842 (_IO_file_fopen_internal, _IO_file_read_internal)
16843 (_IO_file_sync_internal, _IO_file_seek_internal)
16844 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16845 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16846 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16847 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16848 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16849 (_IO_list_all_internal, _IO_link_in_internal)
16850 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16851 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16852 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16853 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16854 (_IO_do_write_internal, _IO_padn_internal)
16855 (_IO_getline_info_internal, _IO_getline_internal)
16856 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16857 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16858 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16859 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16860 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16861 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16862 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16863 with libc_hidden_ver, remove use of INTUSE.
16864 * libio/genops.c: Likewise.
16865 * libio/freopen.c: Likewise.
16866 * libio/freopen64.c: Likewise.
16867 * libio/iofclose.c: Likewise.
16868 * libio/iofdopen.c: Likewise.
16869 * libio/iofflush.c: Likewise.
16870 * libio/iofflush_u.c: Likewise.
16871 * libio/iofgets.c: Likewise.
16872 * libio/iofgets_u.c: Likewise.
16873 * libio/iofopen.c: Likewise.
16874 * libio/iofopncook.c: Likewise.
16875 * libio/iofread.c: Likewise.
16876 * libio/iofread_u.c: Likewise.
16877 * libio/ioftell.c: Likewise.
16878 * libio/iofwrite.c: Likewise.
16879 * libio/iogetline.c: Likewise.
16880 * libio/iogets.c: Likewise.
16881 * libio/iogetwline.c: Likewise.
16882 * libio/iopadn.c: Likewise.
16883 * libio/iopopen.c: Likewise.
16884 * libio/ioseekoff.c: Likewise.
16885 * libio/ioseekpos.c: Likewise.
16886 * libio/iosetbuffer.c: Likewise.
16887 * libio/iosetvbuf.c: Likewise.
16888 * libio/ioungetc.c: Likewise.
16889 * libio/ioungetwc.c: Likewise.
16890 * libio/iovdprintf.c: Likewise.
16891 * libio/iovsprintf.c: Likewise.
16892 * libio/iovsscanf.c: Likewise.
16893 * libio/memstream.c: Likewise.
16894 * libio/obprintf.c: Likewise.
16895 * libio/oldfileops.c: Likewise.
16896 * libio/oldiofclose.c: Likewise.
16897 * libio/oldiofdopen.c: Likewise.
16898 * libio/oldiofopen.c: Likewise.
16899 * libio/oldiopopen.c: Likewise.
16900 * libio/oldstdfiles.c: Likewise.
16901 * libio/putc.c: Likewise.
16902 * libio/setbuf.c: Likewise.
16903 * libio/setlinebuf.c: Likewise.
16904 * libio/stdfiles.c: Likewise.
16905 * libio/strops.c: Likewise.
16906 * libio/vasprintf.c: Likewise.
16907 * libio/vscanf.c: Likewise.
16908 * libio/vsnprintf.c: Likewise.
16909 * libio/vswprintf.c: Likewise.
16910 * libio/wfiledoalloc.c: Likewise.
16911 * libio/wfileops.c: Likewise.
16912 * libio/wgenops.c: Likewise.
16913 * libio/wmemstream.c: Likewise.
16914 * libio/wstrops.c: Likewise.
16915 * libio/__fpurge.c: Likewise.
16916 * libio/__fsetlocking.c: Likewise.
16917 * assert/assert.c: Likewise.
16918 * debug/fgets_chk.c: Likewise.
16919 * debug/fgets_u_chk.c: Likewise.
16920 * debug/fread_chk.c: Likewise.
16921 * debug/fread_u_chk.c: Likewise.
16922 * debug/gets_chk.c: Likewise.
16923 * debug/obprintf_chk.c: Likewise.
16924 * debug/vasprintf_chk.c: Likewise.
16925 * debug/vdprintf_chk.c: Likewise.
16926 * debug/vsnprintf_chk.c: Likewise.
16927 * debug/vsprintf_chk.c: Likewise.
16928 * malloc/mtrace.c: Likewise.
16929 * misc/error.c: Likewise.
16930 * misc/syslog.c: Likewise.
16931 * stdio-common/asprintf.c: Likewise.
16932 * stdio-common/fxprintf.c: Likewise.
16933 * stdio-common/getw.c: Likewise.
16934 * stdio-common/isoc99_fscanf.c: Likewise.
16935 * stdio-common/isoc99_scanf.c: Likewise.
16936 * stdio-common/isoc99_vfscanf.c: Likewise.
16937 * stdio-common/isoc99_vscanf.c: Likewise.
16938 * stdio-common/isoc99_vsscanf.c: Likewise.
16939 * stdio-common/printf-prs.c: Likewise.
16940 * stdio-common/printf_fp.c: Likewise.
16941 * stdio-common/printf_fphex.c: Likewise.
16942 * stdio-common/printf_size.c: Likewise.
16943 * stdio-common/putw.c: Likewise.
16944 * stdio-common/scanf.c: Likewise.
16945 * stdio-common/sprintf.c: Likewise.
16946 * stdio-common/tmpfile.c: Likewise.
16947 * stdio-common/vfprintf.c: Likewise.
16948 * stdio-common/vfscanf.c: Likewise.
16949 * stdlib/strfmon_l.c: Likewise.
16950 * sunrpc/openchild.c: Likewise.
16951 * sunrpc/xdr_stdio.c: Likewise.
16952 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16953 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16954
d6c33fda
RM
169552012-05-24 Roland McGrath <roland@hack.frob.com>
16956
c1487492
RM
16957 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16958
16959 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16960 in the third column, to generate for the shared library an IFUNC
16961 that uses _dl_vdso_vsym.
16962 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16963 * Makeconfig (object-suffixes-noshared): New variable.
16964
16965 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16966 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16967 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16968 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16969
d6c33fda
RM
16970 [BZ #14132]
16971 * include/sys/time.h (__gettimeofday): Remove macro.
16972 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16973 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16974 Remove INTDEF.
16975 (__gettimeofday): Add libc_hidden_def.
16976 (gettimeofday): Add libc_hidden_weak.
16977 * sysdeps/mach/gettimeofday.c: Likewise.
16978 * sysdeps/posix/gettimeofday.c: Likewise.
16979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16980 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16982 (__gettimeofday_internal): Remove strong_alias.
16983 (__gettimeofday): Add libc_hidden_def.
16984 (gettimeofday): Add libc_hidden_weak.
16985 * sysdeps/unix/syscalls.list (gettimeofday):
16986 Remove __gettimeofday_internal alias.
16987
b5a2bbe6
L
169882012-05-24 Daniel Jacobowitz <drow@false.org>
16989 H.J. Lu <hongjiu.lu@intel.com>
16990
16991 [BZ #12495]
16992 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16993 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16994 (largebin_index_32_big): New.
16995 (largebin_index): Use it for 16-byte alignment.
16996 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16997 correction with front_misalign.
16998
cfba4fda
L
169992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17000
7f907421
L
17001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17003 Likewise.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17005 Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17007 Likewise.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17009 Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17011 Likewise.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17013 Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17015 Likewise.
17016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17017 Likewise.
17018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17019 Likewise.
17020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17021 Likewise.
17022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17023 Likewise.
17024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17025 Likewise.
17026
cfba4fda
L
17027 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17028 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17029
80bad0cc
JM
170302012-05-24 Joseph Myers <joseph@codesourcery.com>
17031
7a25eb06
JM
17032 [BZ #10846]
17033 [BZ #14036]
17034 * math/libm-test.inc (exp_test): Add test from bug 14036.
17035 (pow_test): Add test from bug 10846.
17036
795405f9
JM
17037 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17038 and other flags.
17039 (special_function): Do not include flags in test name.
17040 (parse_args): Likewise.
17041 * sysdeps/i386/fpu/libm-test-ulps: Update.
17042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17043 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17044 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17046
80bad0cc
JM
17047 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17048 exceptions.
17049 * math/libm-test.inc ("Philosophy"): Update comment about
17050 exception testing.
17051 (UNDERFLOW_EXCEPTION): New macro.
17052 (UNDERFLOW_EXCEPTION_OK): Likewise.
17053 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17054 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17055 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17056 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17057 (INVALID_EXCEPTION_OK): Update value.
17058 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17059 (OVERFLOW_EXCEPTION_OK): Likewise.
17060 (IGNORE_ZERO_INF_SIGN): Likewise.
17061 (test_exceptions): Handle underflow exceptions.
17062 (acos_test): Update for underflow exception expectations.
17063 (cexp_test): Likewise.
17064 (clog_test): Likewise.
17065 (clog10_test): Likewise.
17066 (csqrt_test): Likewise.
17067 (ctan_test): Likewise.
17068 (ctanh_test): Likewise.
17069 (exp_test): Likewise.
17070 (exp10_test): Likewise.
17071 (exp2_test): Likewise.
17072 (expm1_test): Likewise.
17073 (fma_test): Likewise.
17074 (j0_test): Likewise.
17075 (jn_test): Likewise.
17076 (nexttoward_test): Likewise.
17077 (pow_test): Likewise.
17078 (scalbn_test): Likewise.
17079 (scalbln_test): Likewise.
17080 (tan_test): Likewise.
17081 (y1_test): Likewise.
17082 * sysdeps/i386/fpu/libm-test-ulps: Update.
17083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17084
9e0e3d0b
DM
170852012-05-23 David S. Miller <davem@davemloft.net>
17086
17087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17088 (__libc_sigaction): Remove unused local variables.
17089
ccd0a08f
L
170902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17091
17092 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17093
62bdf9a6
PE
170942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17095
f8591f80
PE
17096 mktime: avoid signed integer overflow
17097 * time/mktime.c (__mktime_internal): Do not mishandle the case
17098 where diff == INT_MIN.
17099
94c7d826
PE
17100 mktime: simplify computation of average
17101 * time/mktime.c (ranged_convert): Use new time_t_avg function
17102 instead of rolling our own (probably-slower) code.
17103
ce73d683
PE
17104 mktime: do not assume signed right shift propagates sign bit
17105 * time/mktime.c (isdst_differ): New static function.
17106 (__mktime_internal): No need to normalize tm_isdst now.
17107 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17108 tm_isdst values.
17109
72a22e59
PE
17110 mktime: merge another wrapv change from gnulib
17111 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17112 from some compilers.
17113
68605433
PE
17114 mktime: remove incorrect attempt at unusual arithmetics
17115 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17116 The code didn't really work on such machines anyway.
17117 (TYPE_MINIMUM): Assume two's complement.
17118 (twos_complement_arithmetic): Verify that long_int and time_t
17119 are two's complement (or unsigned, in the latter case).
17120
03cf7fe3
PE
17121 mktime: check signed shifts on long_int and time_t, too
17122 * time/mktime.c (SHR): Check that shifts work as desired
17123 on the types long_int and time_t too, as SHR is used on
17124 such types.
17125
f04dfbc2
PE
17126 mktime: do not assume 'long' is wide enough
17127 * time/mktime.c (verify): Move decl up.
17128 (long_int): New type.
17129 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17130 to remove assumption in the code that 'long' is wide enough to
17131 store year values. This assumption is not true on x32 and on
17132 some non-glibc platforms.
17133
62bdf9a6
PE
17134 mktime: merge wrapv change from gnulib
17135 * time/mktime.c (WRAPV): New macro.
17136 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17137 (guess_time_tm, __mktime_internal): Do not assume that signed
17138 integer overflow wraps around; modern compilers generate code
17139 where this assumption is no longer valid.
17140
5e292e4f
L
171412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17144 Replace "jmp L(pseudo_end)" with "ret".
17145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17146 Likewise.
17147
8caf8c87
AJ
171482012-05-23 Andreas Jaeger <aj@suse.de>
17149
17150 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17151 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17152
1a09dc56
AJ
171532012-05-23 Andreas Jaeger <aj@suse.de>
17154 Maximilian Attems <max@stro.at>
17155
17156 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17157 New macros.
17158
1c87aba0
L
171592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17162 code so that pseudo_end is just ret and the stack pointer is
17163 correct also for static library in error case.
17164
40e45bd5
JM
171652012-05-23 Joseph Myers <joseph@codesourcery.com>
17166
c2670533
JM
17167 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17168 move to syscalls.list.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17173
40e45bd5
JM
17174 * manual/install.texi (Running make install): Do not mention Linux
17175 kernel version for which pt_chown is not needed.
17176 (Linux): Do not mention problems with nscd with 2.0 kernels.
17177 * INSTALL: Regenerated.
17178
be08eda5
AJ
171792012-05-23 Andreas Jaeger <aj@suse.de>
17180
17181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17182 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17183 macro.
17184 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17185 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17186 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17188 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17192 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17193 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17194 * sysdeps/unix/sysv/linux/bits/in.h
17195 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17196
a6a056bb
RM
171972012-05-22 Roland McGrath <roland@hack.frob.com>
17198
17199 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17200 (PREPARE_VERSION): Just use assert instead, it will be elided
17201 under [NDEBUG] anyway.
17202
c9009328
L
172032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17204
17205 * sysdeps/unix/sysv/linux/Makefile: Include
17206 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17207 (sysdep_routines): Remove sysctl.
c9009328
L
17208 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17209 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17210 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17211 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17212 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17213
73338355
AJ
172142012-05-22 Andreas Jaeger <aj@suse.de>
17215
17216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17217 that pseudo_end is just ret and the stack pointer is correct also
17218 for static library in error case.
17219
d44638b0
PP
172202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17221
17222 [BZ #14122]
17223 * nss/nsswitch.c (defconfig_entries): New variable.
17224 (__nss_database_lookup): Don't leak defconfig entries.
17225 (nss_parse_service_list): Don't leak on error paths.
17226 (free_database_entries): New function.
17227 (free_defconfig): New function.
17228 (free_mem): Move common code to free_database_entries.
17229
31a39bd8
L
172302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17231
da0331a8
L
17232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17233 Add arch_prctl.
17234 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17235
31a39bd8
L
17236 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17237 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17239 New macro.
17240 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17241 (INTERNAL_SYSCALL_TYPES): Likewise.
17242 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17243 (LOAD_REGS_TYPES_[1-6]): Likewise.
17244 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17245 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17246
45470df3
AZ
172472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17248
17249 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17250 copysignl for GLIBC_2_0.
17251 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17252 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17254 logbl for GLIBC_2_0.
17255 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17256 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17257
98a61bcb
L
172582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17259
a4f6e481
L
17260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17261 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17262
f63d5db6
L
17263 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17264 Use "neg %eax".
17265
98a61bcb
L
17266 * time/mktime.c: Update copyright years.
17267
95770f14
PE
172682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17269
6226efbd
PE
17270 mktime: merge comment-quoting-style change from gnulib
17271 * time/mktime.c: Quote 'like this' in comments.
17272 The GNU coding standards suggest that we no longer quote `like this',
17273 as "`" and "'" are typically rendered asymmetrically nowadays.
17274 The typical gnulib style is to quote 'like this' when quoting
17275 code, and "like this" when quoting English.
17276
b99e4f78
PE
17277 * time/mktime.c (compile-command): Add "-I.".
17278
643e01e6
PE
17279 mktime: merge mktime-internal.h change from gnulib
17280 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17281
2554247d
PE
17282 mktime: merge time_r change from gnulib
17283 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17284
826dd0ab
PE
17285 mktime: merge DEBUG change from gnulib
17286 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17287 case system <time.h> has a #define.
17288
bd83aabe
PE
17289 mktime: merge <sys/types.h> change from gnulib
17290 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17291 since <time.t> is now guaranteed to define time_t.
17292
95770f14
PE
17293 mktime: merge HAVE_CONFIG_H change from gnulib
17294 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17295
5e1a27a9
L
172962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17297
0e44a77e
L
17298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17299 Use "neg %eax".
17300
5e1a27a9
L
17301 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17302 __rlim_t cast.
17303 (struct rusage): Use anonymous union to pad each field to
17304 __syscall_slong_t.
17305
46259bec
DM
173062012-05-21 David S. Miller <davem@davemloft.net>
17307
17308 * Makefules (o-iterator): Remove .s cases.
17309 (compile-command.s): Delete.
17310 (COMPILE.s): Delete.
17311 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17312
59f0c22e
JM
173132012-05-21 Joseph Myers <joseph@codesourcery.com>
17314
17315 * configure.in (libc_cv_predef_stack_protector): Only consider
17316 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17317 * configure: Regenerated.
17318
20c07380
L
173192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17320
bbb3154b
L
17321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17322 New macro. Use R*LP on int and pointer.
17323 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17324 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17325 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17326 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17327
20c07380
L
17328 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17329 [__WORDSIZE_TIME64_COMPAT32] instead of
17330 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17331 (struct utmp): Likewise.
17332 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17333 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17334 Renamed to ...
17335 (__WORDSIZE_TIME64_COMPAT32): This.
17336 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17337 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17338 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17340 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17341 (__WORDSIZE_TIME64_COMPAT32): New macro.
17342
d8d1017e
AJ
173432012-05-21 Andreas Jaeger <aj@suse.de>
17344
17345 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17346 only if [SHARED]. Add prototype for __wcschr_ia32.
17347
6c7fb145
RM
173482012-05-21 Roland McGrath <roland@hack.frob.com>
17349
17350 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17351 of %rbp unmolested in the jmp_buf while mangling the low bits.
17352 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17353 unmolested high bits of %rbp while demangling the low bits.
17354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17355
66274218
AJ
173562012-05-21 Andreas Jaeger <aj@suse.de>
17357
07c58f8f
AJ
17358 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17359 * sunrpc/svc_simple.c: Use it for registerrpc.
17360 * sunrpc/xcrypt.c: Use it for passwd2des.
17361
66274218
AJ
17362 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17363
61f65140
L
173642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17365
17366 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17367 Don't define if [__SYSCALL_WORDSIZE != 32].
17368 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17369 New macro.
17370
5fefb436
AJ
173712012-05-21 Bruno Haible <bruno@clisp.org>
17372 Andreas Jaeger <aj@suse.de>
17373
17374 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17375 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17376 inptr and inend for must_buffer_ch.
17377 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17378 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17379 * stdio-common/Makefile (tests): Remove bug15.
17380 (bug15-ENV): Remove macro.
17381 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17382 anymore.
17383
d8e272ab
AJ
173842012-05-19 Andreas Jaeger <aj@suse.de>
17385 Roland McGrath <roland@hack.frob.com>
17386
17387 * manual/contrib.texi: Completely rewritten. It contains now an
17388 alphabetical list of contributors and their contributions.
17389
4a56a162
RH
173902012-05-21 Richard Henderson <rth@twiddle.net>
17391
17392 * misc/getauxval.c (__getauxval): Use unsigned long int.
17393 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17394 (getauxval): Use unsigned long int.
17395
d024d23c
L
173962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17397
17398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17399
cbc00a03
RM
174002012-05-21 Roland McGrath <roland@hack.frob.com>
17401
17402 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17403 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17404 __alignof__ (long double).
17405
478143fa
AZ
174062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17407
17408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17409
c7683a6d
RH
174102012-05-20 Richard Henderson <rth@twiddle.net>
17411
17412 * misc/getauxval.c: New file.
17413 * misc/sys/auxv.h: New file.
17414 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17415 (routines): Add getauxval.
17416 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17417 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17418 * elf/dl-sysdep.c (_dl_auxv): Remove.
17419 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17420 * elf/dl-support.c (_dl_auxv): New variable.
17421 (_dl_aux_init): Initialize it.
17422 * manual/startup.texi (Auxiliary Vector): New node.
17423 * sysdeps/generic/bits/hwcap.h: New file.
17424 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17425 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17426 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17427 * sysdeps/sparc/sysdep.h: ... here. Include it.
17428 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17431 Update.
c7683a6d
RH
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17440
a6f1845d
AZ
174412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17442
17443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17444
cbcbe830
DM
174452012-05-19 David S. Miller <davem@davemloft.net>
17446
17447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17448
e0b16cc2
JM
174492012-05-19 Joseph Myers <joseph@codesourcery.com>
17450
17451 [BZ #14123]
17452 * math/s_ccosh.c: Include <float.h>
17453 (__ccosh): Avoid internal overflow calculating sinh and cosh
17454 values before multiplying by sin and cos values.
17455 * math/s_ccoshf.c: Likewise.
17456 * math/s_ccoshl.c: Likewise.
17457 * math/s_csin.c: Likewise.
17458 * math/s_csinf.c: Likewise.
17459 * math/s_csinl.c: Likewise.
17460 * math/s_csinh.c: Likewise.
17461 * math/s_csinhf.c: Likewise.
17462 * math/s_csinhl.c: Likewise.
17463 * math/libm-test.inc (ccos_test): Add more tests.
17464 (ccosh_test): Likewise.
17465 (csin_test): Likewise.
17466 (csinh_test): Likewise.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17469
6ad13e08
L
174702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17471
f66f0ce8
L
17472 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17473 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17474
6ad13e08
L
17475 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17476
b1d072a7
JM
174772012-05-19 Joseph Myers <joseph@codesourcery.com>
17478
17479 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17480 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17481 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17482 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17483 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17484 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17485 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17486 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17487 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17488 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17489 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17490 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17491 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17492 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17493 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17494 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17495 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17496 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17497 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17498 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17499 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17500 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17501 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17502 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17503 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17504 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17505 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17506 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17507 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17508 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17509 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17510
9eae47cb
AJ
175112012-05-18 Andreas Jaeger <aj@suse.de>
17512
17513 * csu/.gitignore: Delete.
17514
bb07f69f
L
175152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17516
17517 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17518 (timex): Use __syscall_slong_t.
17519
e6bdb741
AJ
175202012-05-18 Andreas Jaeger <aj@suse.de>
17521 Carlos O'Donell <carlos_odonell@mentor.com>
17522
17523 * manual/install.texi (Configuring and compiling): Update
17524 description about files modified in the source directory.
d6c33fda 17525 * INSTALL: Regenerated.
e6bdb741 17526
1b74487e
L
175272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17528
17529 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17530 value. Use "or" to set return value to -1.
17531 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17532 negate return value.
17533
a88b64b9
TMQMF
175342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17535
17536 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17537 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17538 failure if the compiler has Graphite support disabled.
17539 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17540 Likewise.
17541 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17542 CFLAGS-memmove.c): Likewise.
17543 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17544 Likewise.
17545
3707636e
L
175462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17547
610b8622
L
17548 * sysdeps/x86_64/x32/_itoa.h: New file.
17549
7cd195df
L
17550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17551 getdents system call only if kernel and user dirents have the
17552 same d_ino and d_off.
17553
94b07d20
L
17554 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17555 LLONG_MAX != LONG_MAX.
17556 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17557 (_fitoa_word): Likewise.
17558
18298070
L
17559 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17560 years.
17561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17563 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17564
553c7ea4
L
17565 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17566 include <bits/wordsize.h>. Check __x86_64__ instead of
17567 __WORDSIZE.
17568 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17569 if __x86_64__ is defined. Use anonymous union on fpstate.
17570
3707636e
L
17571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17572 anonymous union.
17573
b53ef01a
AS
175742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17575
37fb1dc0
AS
17576 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17577 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17579 Refer to _rtld_local_ro instead of _rtld_global_ro.
17580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17581 Likewise.
17582 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17583 Likewise.
17584 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17585 Likewise.
17586 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17587 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17588 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17589
b53ef01a
AS
17590 * sysdeps/powerpc/powerpc32/dl-machine.c
17591 (__elf_machine_runtime_setup) [PROF]: Don't reference
17592 _dl_prof_resolve.
17593
7a185db2
AJ
175942012-05-18 Andreas Jaeger <aj@suse.de>
17595
17596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17597 function only available for GCCs before 3.4 since GCC 3.4
17598 introduced a builtin.
17599 (lrint): Likewise.
17600 (llrintf): Likewise.
17601 (llrint): Likewise.
17602 (fmaxf): Likewise.
17603 (fmax): Likewise.
17604 (fminf): Likewise.
17605 (fmin): Likewise.
17606 (rint): Likewise.
17607 (rintf): Likewise.
17608 (nearbyint): Likewise.
17609 (nearbyintf): Likewise.
17610 (ceil): Likewise.
17611 (ceilf): Likewise.
17612 (floor): Likewise.
17613 (floorf): Likewise.
17614
3e5aef87
L
176152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17616
428bd707
L
17617 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17618 on both fields and cast pointer to __syscall_ulong_t.
17619
3e5aef87
L
17620 * bits/types.h (__fsword_t): New type.
17621 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17622 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17624 (__FSWORD_T_TYPE): Likewise.
17625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17626 (__FSWORD_T_TYPE): Likewise.
17627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17628 (__FSWORD_T_TYPE): Likewise.
17629 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17630 (__FSWORD_T_TYPE): Likewise.
17631 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17632 __SWORD_TYPE with __fsword_t.
17633 (statfs64): Likewise.
17634
1ba7c3dc
DM
176352012-05-17 David S. Miller <davem@davemloft.net>
17636
17637 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17638
59910343
AJ
176392012-05-17 Andreas Jaeger <aj@suse.de>
17640
17641 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17642 warning.
17643
2e4c1e9e
L
176442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17645
17646 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17647
de7f5ce7
AJ
176482012-05-17 Andreas Jaeger <aj@suse.de>
17649
17650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17651 when it is used.
17652
286abc3d
CM
176532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17654
17655 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17656
477cc68e
L
176572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17658
17659 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17660 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17661
1a0994f5
CD
176622012-05-17 Andreas Jaeger <aj@suse.de>
17663 Carlos O'Donell <carlos_odonell@mentor.com>
17664
17665 [BZ #14059]
17666 * sysdeps/x86_64/multiarch/init-arch.h
17667 (bit_YMM_Usable): Rename to...
17668 (bit_AVX_Usable): ... this.
17669 (bit_FMA4_Usable): New macro.
17670 (bit_XMM_state): New macro.
17671 (bit_YMM_state): New macro.
17672 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17673 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17674 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17675 (CPUID_OSXSAVE): New macro.
17676 (CPUID_AVX): New macro.
17677 (CPUID_FMA4): New macro.
17678 (index_YMM_Usable): Rename to...
17679 (index_AVX_Usable): ... this.
17680 (HAS_AVX): Use HAS_ARCH_FEATURE.
17681 (HAS_FMA4): Likewise.
17682 (HAS_YMM_USABLE): Remove.
17683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17684 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17685 are present.
17686 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17687 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17688 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17689 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17690 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17691
0af797de
CM
176922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17693
17694 * math/libm-test.c: Support platforms without multiple rounding modes.
17695 * math/bug-nextafter.c: Support platforms without FP exceptions.
17696 * math/bug-nexttoward.c: Likewise.
17697 * math/test-fenv.c: Likewise.
17698 * math/test-misc.c: Likewise.
17699 * stdlib/bug-getcontext.c: Likewise.
17700
e39745ff
AJ
177012012-05-17 Andreas Jaeger <aj@suse.de>
17702
17703 * manual/examples/search.c (critter_cmp): Change signature to
17704 avoid warnings.
17705 * manual/string.texi (Collation Functions): Likewise.
17706
48970aba
L
177072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17708
17709 * bits/types.h: Fold copyright years.
17710 * bits/typesizes.h: Likewise.
17711 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17715 * time/time.h: Likewise.
17716
bedee953
PP
177172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17718
17719 [BZ #208]
17720 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17721 in instead of returning them. Return void.
17722 (__libc_mallinfo): Accumulate over all arenas.
17723 (__malloc_stats): Adjust for change in int_mallinfo interface.
17724
61653dfb
RM
177252012-05-16 Roland McGrath <roland@hack.frob.com>
17726
30b99d79
RM
17727 [BZ #10375]
17728 * configure.in (NM): Add AC_CHECK_TOOL for it.
17729 (libc_extra_cflags): New substituted variable.
17730 Check for -fstack-protector being used implicitly.
17731 * configure: Regenerated.
17732 * config.make.in (config-extra-cflags): New variable,
17733 gets @libc_extra_cflags@.
17734 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17735
61653dfb
RM
17736 [BZ #10375]
17737 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17738 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17739 * configure: Regenerated.
17740 * config.make.in (CPPUNDEFS): New substituted variable.
17741 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17742 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17743 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17744
661768bb
L
177452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17748 (mq_attr): Use __syscall_slong_t.
17749
d4261567
L
177502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17751
17752 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17753 Check __x86_64__ instead of __WORDSIZE.
17754 (_STAT_VER_LINUX): Likewise.
17755 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17756 __syscall_ulong_t and __syscall_slong_t.
17757 (stat64): Likewise.
17758
cf3ff365
L
177592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17760
17761 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17762
76cf3e4d
L
177632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17766
a637753a
L
177672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17768
17769 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17770 __syscall_ulong_t.
17771
d5e05119
L
17772 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17773 include <bits/wordsize.h>. Check __x86_64__ instead of
17774 __WORDSIZE.
17775 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17776 defined.
17777 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17778
f62ee380
L
17779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17780 include <bits/wordsize.h>. Check __x86_64__ instead of
17781 __WORDSIZE.
17782 (user_regs_struct): Use "__extension__ unsigned long long"
17783 instead of "unsigned long" if __x86_64__ is defined.
17784 (user): Likewise. Pad after pointer field if __ILP32__ is
17785 defined.
17786
4e124ced
JM
177872012-05-16 Joseph Myers <joseph@codesourcery.com>
17788
6a3951a0
JM
17789 * configure.in (makeinfo): Require version 4.5 or later. Allow
17790 versions 5 to 9.
17791 * configure: Regenerated.
17792 * manual/install.texi (texinfo): Increase version requirement to
17793 4.5 or later.
17794 * INSTALL: Regenerated.
17795
4e124ced
JM
17796 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17797
953ca31a
L
177982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17801
617aca05
L
17802 * sysdeps/x86_64/x32/ffs.c: New file.
17803
5762f7ae
L
17804 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17805 __syscall_ulong_t.
17806 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17807 defined. Use __syscall_ulong_t.
17808 (shminfo): Use __syscall_ulong_t.
17809 (shm_info): Likewise.
17810
a26b6856
L
17811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17812 __syscall_ulong_t.
17813
cb2b9ef7
L
17814 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17815 <bits/wordsize.h>.
17816 (msgqnum_t): Use __syscall_ulong_t.
17817 (msglen_t): Likewise.
17818 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17819 __syscall_ulong_t.
17820
34683bb0
L
17821 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17822 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17823
84a68786
L
17824 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17825
48baa5f1
L
17826 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17827 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17828
180be88b
L
17829 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17830 __syscall_slong_t.
17831
5e90c8ad
L
17832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17833 include <bits/wordsize.h>. Check __x86_64__ instead of
17834 __WORDSIZE.
17835
23dfb58b
L
17836 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17837 "unsigned long long int" if __x86_64__ is defined.
17838 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17839
ce5d54b0
L
17840 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17841 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17842 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17843
13dc9eac
L
17844 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17845 <stdint.h>.
17846 (GET_PC): Cast to uintptr_t first.
17847 (GET_FRAME): Likewise.
17848 (GET_STACK): Likewise.
17849
a7895d15
L
17850 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17852 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17863 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17867 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17869 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17871 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17873 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17875 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17876 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17877 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17879
656416c9
AS
178802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17881
5bd66283
AS
17882 * Makerules (+depfiles): Also collect depfiles from .oS in
17883 $(extra-objs).
17884 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17885 .oS, $(libnldbl-routines)).
17886
656416c9
AS
17887 * Makerules (native-compile-mkdep-flags): Define.
17888 * sunrpc/Makefile (extra-objs): Add $(addprefix
17889 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17890 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17891 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17892 calling $(make-target-directory).
17893
a46f2169
L
178942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17895
17896 * bits/types.h (__snseconds_t): Removed.
17897 * time/time.h (struct timespec): Replace __snseconds_t with
17898 __syscall_slong_t.
17899 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17900 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17901 Likewise.
17902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17903 (__SNSECONDS_T_TYPE): Likewise.
17904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17905 (__SNSECONDS_T_TYPE): Likewise.
17906 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17907 (__SNSECONDS_T_TYPE): Likewise.
17908
6af6528b
L
179092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17910
17911 * sysdeps/mach/hurd/bits/typesizes.h
17912 (__SYSCALL_SLONG_TYPE): New macro.
17913 (__SYSCALL_ULONG_TYPE): Likewise.
17914
de986b56
L
179152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17916
17917 * bits/types.h (__syscall_slong_t): New type.
17918 (__syscall_ulong_t): Likewise.
17919
17920 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17921 (__SYSCALL_ULONG_TYPE): Likewise.
17922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17923 (__SYSCALL_SLONG_TYPE): Likewise.
17924 (__SYSCALL_ULONG_TYPE): Likewise.
17925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17926 (__SYSCALL_SLONG_TYPE): Likewise.
17927 (__SYSCALL_ULONG_TYPE): Likewise.
17928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17929 (__SYSCALL_SLONG_TYPE): Likewise.
17930 (__SYSCALL_ULONG_TYPE): Likewise.
17931
85736dc7
L
179322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17933
17934 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17935 Add sigaltstack-offsets.sym.
17936 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17937 <sigaltstack-offsets.h>.
17938 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17939 longjmp_msg pointer.
17940 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17941 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17942 signal stack.
17943 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17944
cc03b296
JM
179452012-05-15 Joseph Myers <joseph@codesourcery.com>
17946
a9538892
JM
17947 * elf/stackguard-macros.h: Remove file.
17948 * sysdeps/generic/stackguard-macros.h: New file.
17949 * sysdeps/i386/stackguard-macros.h: Likewise.
17950 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17951 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17952 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17953 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17954 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17955 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17956 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17957 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17958 <elf/stackguard-macros.h>.
17959
cc03b296
JM
17960 [BZ #14109]
17961 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17962 __aligned__ in attribute.
17963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17964 (gregset_t): Likewise.
17965
93171016
L
179662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17969 * sysdeps/x86_64/64/Implies-after: Here. New file.
17970 * sysdeps/x86_64/x32/Implies-after: New file.
17971
d86813a0
L
179722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17973
17974 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17975 and access return value for _dl_profile_fixup. Use R10_LP to
17976 load frame size.
17977
2953ec75
L
179782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17981
3b550e9e
L
179822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17983
17984 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17985 * sysdeps/x86_64/x32/sysdep.h: New file.
17986
eda41706
L
179872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17988
17989 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17990 * sysdeps/x86_64/setjmp.S: Likewise.
17991
9ea01d93
AZ
179922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17993
17994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17996 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17998 remove unused global constant.
17999
02a91938
CM
180002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18001
18002 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18003 include of <not-cancel.h>.
18004
6540185f
RM
180052012-05-15 Roland McGrath <roland@hack.frob.com>
18006
18007 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18008
509072a0
AJ
180092012-05-15 Jeff Law <law@redhat.com>
18010 Andreas Jaeger <aj@suse.de>
18011
18012 [BZ #13594]
18013 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18014 out from...
18015 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18016 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18017 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18018 code changing __hst_map_handle.map.
18019
ba75122d
RM
180202012-05-15 Roland McGrath <roland@hack.frob.com>
18021
18022 * configure.in (sysnames): Look for Implies-before and Implies-after
18023 files.
18024 * configure: Regenerated.
18025
890d8bd8
L
180262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18029 8-byte data alignment with LP_SIZE alignment.
18030
f6ee6623
L
180312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18032
18033 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18034 into R10_LP.
18035
ea2626f6
L
180362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18037
18038 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18039
085f715e
L
180402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18041
18042 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18043 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18045 Likewise.
18046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18047
be8498fc
L
180482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18049
18050 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18051 (stackinfo_sub_sp): Likewise.
18052
70bc83b9
L
180532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18054
18055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18056 RAX_LP.
18057
9bc0b730
L
180582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18059
18060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18061 into R*_LP.
18062
6d2850e7
L
180632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18064
18065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18066 sizes into R*_LP.
18067
3cb84561
L
180682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18069
18070 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18071
54e2ed81
L
180722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18073
18074 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18075 into R11_LP and load __x86_64_shared_cache_size_half into
18076 R8_LP.
18077
8a17f349
L
180782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18079
18080 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18081 R8_LP.
18082
777b1eea
AZ
180832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18084
18085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18086 logb for POWER7.
18087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18088 logbf for POWER7.
18089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18090 logbl for POWER7.
18091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18092 powerpc32/power7/fpu/s_logb.c via #include.
18093 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18094 powerpc32/power7/fpu/s_logbf.c via #include.
18095 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18096 powerpc32/power7/fpu/s_logbl.c via #include.
18097
d20d4ac2
JM
180982012-05-15 Joseph Myers <joseph@codesourcery.com>
18099
18100 * README.libm: Remove file.
18101
6cdef1ab
L
181022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18103
18104 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18105 count for x32. Use R*_LP and omit operand-size suffix.
18106
0b254d8f
L
181072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18110 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18111 * sysdeps/x86_64/x32/shlib-versions: New file.
18112
ceb809dc
RM
181132012-05-14 Roland McGrath <roland@hack.frob.com>
18114
18115 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18116 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18117 Use _dl_fatal_printf instead.
18118
37f1abd4
JM
181192012-05-14 Joseph Myers <joseph@codesourcery.com>
18120
18121 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18122 set if not set by the user. Do not allow for being unset.
18123 * sysdeps/unix/sysv/linux/configure: Regenerated.
18124
11de3a33
L
181252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18126
18127 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18128 the `q' suffix from lea and replace .quad with ASM_ADDR.
18129
e02f153a
L
181302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18131
18132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18133 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18134 instead of $17.
18135 (PTR_DEMANGLE): Likewise.
18136
520ae0fd
L
181372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18138
18139 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18140 (LP_OP): Likewise.
18141 (ASM_ADDR): Likewise.
18142 (RAX_LP): Likewise.
18143 (RBP_LP): Likewise.
18144 (RBX_LP): Likewise.
18145 (RCX_LP): Likewise.
18146 (RDI_LP): Likewise.
18147 (RSI_LP): Likewise.
18148 (RSP_LP): Likewise.
18149 (R8_LP): Likewise.
18150 (R9_LP): Likewise.
18151 (R10_LP): Likewise.
18152 (R10_LP): Likewise.
18153 (R11_LP): Likewise.
18154 (R12_LP): Likewise.
18155 (R13_LP): Likewise.
18156 (R14_LP): Likewise.
18157 (R15_LP): Likewise.
18158
b985be81
L
181592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 * sysdeps/x86_64/x32/dl-machine.h: New file.
18162
6a4888ff
AJ
181632012-05-14 Andreas Jaeger <aj@suse.de>
18164
18165 * manual/Makefile (subdir): Remove export of subdir.
18166 (all): Remove target.
18167 (.PHONY): Remove all from list.
18168 (mkinstalldirs): Remove.
18169 (.PHONY): Remove installdirs from list.
18170 ($(inst_infodir)/libc.info): Use make-target-directory.
18171 (installdirs): Remove.
18172 (subdir_%): Remove.
18173 (glibc-targets): Remove.
18174 (lib): Remove.
18175 (stubs): Remove.
18176 ($(objpfx)stubs ../po/manual.pot): Remove.
18177 ($(objpfx)stamp%): Remove.
18178 (make-target-directory): Remove.
18179 (subdir_install): Remove.
18180 (routines): Remove.
18181 (aux): Remove.
18182 (sources): Remove.
18183 (objects): Remove.
18184 (headers): Remove.
18185
18186 [BZ #13750]
18187 * manual/.gitignore: Remove, it's not needed anymore.
18188 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18189 all files in it.
18190 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18191 directory.
18192 (texis): Renamed to $(objpfx)texis.
18193 (texis-path): New, contains path to generated files.
18194 (chapters.%): Use texis-path for complete path, add extra argument
18195 libc-texinfo.sh.
18196 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18197 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18198 (summary,texi, stamp-summary): Use complete path of
18199 files. Generate files in build dir.
18200 (dir-add.texi): Build in build dir.
18201 (libm-err.texi,stamp-libm-err): Likewise.
18202 (version.texi, stamp-version): Likewise.
18203 (.%c.texi): Likewise.
18204 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18205 (mostlyclean): Remove target.
18206 (realclean): Remove target.
18207 (generated): Add new variable with contents from mostlyclean and
18208 realclean, remove entries duplicated in common-mostlyclean, add
18209 stamp-libm-err and stamp-version.
18210 (generated-dirs): Add libc directory.
18211 ($(inst_infodir)/libc.info): Install files from build dir.
18212
18213 * manual/install.texi (Configuring and compiling): Adjust since
18214 the info files are not part of the tar ball anymore.
18215
7ac77294
AJ
182162012-05-14 Andreas Jaeger <aj@suse.de>
18217
18218 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18219 variable.
18220
ffb7875d
JM
182212012-05-14 Joseph Myers <joseph@codesourcery.com>
18222
18223 [BZ #13717]
18224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18225 to 2.2.0 where earlier.
18226 * sysdeps/unix/sysv/linux/configure: Regenerated.
18227 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18228 Remove conditional code.
18229 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18230 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18231 Remove conditional code.
18232 [!__NR_lchown]: Likewise.
18233 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18234 [__NR_lchown]: Likewise.
18235 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18236 comment referencing __ASSUME_LCHOWN_SYSCALL.
18237 * sysdeps/unix/sysv/linux/i386/sigaction.c
18238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18240 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18241 Remove conditional code.
18242 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18243 (__protocol_available): Remove #if 0 code.
18244 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18245 conditional code.
18246 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18247 * sysdeps/unix/sysv/linux/kernel-features.h
18248 (__ASSUME_GETCWD_SYSCALL): Don't define.
18249 (__ASSUME_REALTIME_SIGNALS): Likewise.
18250 (__ASSUME_PREAD_SYSCALL): Likewise.
18251 (__ASSUME_PWRITE_SYSCALL): Likewise.
18252 (__ASSUME_POLL_SYSCALL): Likewise.
18253 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18254 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18255 non-SPARC.
18256 (__ASSUME_SIOCGIFNAME): Don't define.
18257 (__ASSUME_MSG_NOSIGNAL): Likewise.
18258 (__ASSUME_SENDFILE): Define unconditionally.
18259 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18260 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18261 conditional code.
18262 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18263 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18265 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18266 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18267 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18268 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18294 Remove conditional code.
18295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18296 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18297 Remove conditional code.
18298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18299 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18300 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18301 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18302 Remove conditional code.
18303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18304 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18305 Remove conditional code.
18306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18307 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18308 Remove conditional code.
18309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18310 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18311 Remove conditional code.
18312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18313 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18314 Remove conditional code.
18315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18316 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18319 * sysdeps/unix/sysv/linux/sigaction.c
18320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18322 * sysdeps/unix/sysv/linux/sigpending.c
18323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18325 * sysdeps/unix/sysv/linux/sigprocmask.c
18326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18328 * sysdeps/unix/sysv/linux/sigsuspend.c
18329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18331 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18332 (__libc_missing_rt_sigs): Remove.
18333 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18334 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18335 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18336 Remove conditional code.
18337 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18338 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18339 return 1.
18340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18341 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18342 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18343 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18344
1bfb7291
AJ
183452012-05-14 Andreas Jaeger <aj@suse.de>
18346
caae5a81
AJ
18347 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18348 it's not used in glibc.
18349 (__coshm1): Likewise.
18350 (__acosh1p): Likewise.
18351 (__sgn): Likewise.
18352
1bfb7291
AJ
18353 * manual/string.texi (Copying and Concatenation): Add missing
18354 variable in concat example.
18355 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18356
c044d724
L
183572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18358
144c5467 18359 [BZ #14103]
c044d724
L
18360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18361 __builtin_clzl with __builtin_clzll.
18362
2523c62b
L
183632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18364
18365 [BZ #14104]
18366 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18367 libc_freeres_ptr.
18368
d7bb4c42
LD
183692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18370
18371 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18372 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18373 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18374 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18375
9dc4e1fb
MF
183762012-05-14 Mike Frysinger <vapier@gentoo.org>
18377
18378 * NEWS: Update ia64 info.
18379
c7df0112
AS
183802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18381
18382 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18383 used as bcopy.
18384
dc70356c
TS
183852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18386
18387 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18388 * sysdeps/unix/syscalls.list (dup3): Likewise.
18389 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18390 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18391
9fb1a21f
L
183922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18393
18394 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18395 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18396
4822a2a5
L
183972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18398
18399 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18400 thread pointer.
18401 (TLS_IE): Use mov/add instead of movq/addq to load thread
18402 pointer.
18403 (TLS_GD_PREFIX): New.
18404 (TLS_GD): Use it.
18405
842b81d6
DM
184062012-05-11 David S. Miller <davem@davemloft.net>
18407
18408 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18409 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18410 (_FPU_SETCW): Likewise.
18411
1cf463cd
L
184122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18413
18414 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18415 is 32-byte aligned.
18416
60cc4a18
AS
184172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18418
18419 [BZ #11837]
18420 * iconvdata/gb18030.c: Update tables.
18421 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18422 characters specially.
18423 (BODY for TO_LOOP): Add encoding of missing ranges.
18424
febb44a4
TS
184252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18426
18427 [BZ #13673]
18428 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18429 * sysdeps/mach/hurd/dup3.c: Likewise.
18430 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18431 * sysdeps/powerpc/memmove.c:: Likewise.
18432
0a10fb9e
L
184332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18434
18435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18436 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18437
df8a552f
L
184382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18439
18440 * elf/elf.h (R_X86_64_RELATIVE64): New.
18441 (R_X86_64_NUM): Updated.
18442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18443 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18444 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18445 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18446 tst-quad1pie tst-quad2pie
18447 (modules-names): Add tst-quadmod1 tst-quadmod2.
18448 ($(objpfx)tst-quad1): New dependency.
18449 ($(objpfx)tst-quad2): Likewise.
18450 ($(objpfx)tst-quad1pie): Likewise.
18451 ($(objpfx)tst-quad2pie): Likewise.
18452 * sysdeps/x86_64/tst-quad1.c: New file.
18453 * sysdeps/x86_64/tst-quad1pie.c: New file.
18454 * sysdeps/x86_64/tst-quad2.c: Likewise.
18455 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18456 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18457 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18458 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18459 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18460
f34d6f84
ST
184612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18462
f42d41d1
ST
18463 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18464 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18465 * streams/stropts.h (t_scalar_t): Define type.
18466
3c3571fc
ST
18467 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18468 (_PATH_PRESERVE): Set to "/var/lib".
18469 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18470
61f06bd3
ST
18471 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18472 instead of int.
18473
918d4d71
ST
18474 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18475 if __dir_mkfile succeeded.
18476
f34d6f84
ST
18477 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18478 checking for _hurd_dtablesize. Unlock it right after having
18479 finished _hurd_dtable allocation.
18480
10589b4a
TS
184812012-05-10 Thomas Schwinge <thomas@schwinge.name>
18482
674cdbc7
TS
18483 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18484 * sysdeps/mach/hurd/configure: Regenerated.
18485 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18486 special-casing to...
18487 * sysdeps/gnu/configure.in: ... this new file.
18488 * sysdeps/unix/sysv/linux/configure: Regenerated.
18489 * sysdeps/gnu/configure: New generated file.
18490
8e41b99f
TS
18491 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18492 for Linux: use nsec instead of usec, as well as:
18493 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18494 members of type struct timespec.
18495 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18496 New macros.
18497 (struct stat64): Likewise.
18498 (_STATBUF_ST_NSEC): New macro.
18499 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18500
10589b4a
TS
18501 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18502 __strtoul_internal rather than strtoul.
18503
63643c85
PT
185042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18505
18506 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18507 and reject them.
18508
3faebe6a
ST
185092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18510
18511 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18512 which preserves existing values.
18513 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18514
c6474b07
PT
185152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18516
18517 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18518 TIMEOUT values. Return EINVAL for NFDS values either negative or
18519 greater than FD_SETSIZE.
18520
1043890b
ST
185212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18522
18523 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18524 allocated, call __vm_protect to finish enabling the existing space, and
18525 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18526 allocate the remainder.
18527
37ed8b9b
PT
185282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18529
18530 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18531 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18532
db653660
ST
185332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18534
37ed8b9b
PT
18535 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18536 sysdeps/mach/hurd/readlink.c.
b29d4053 18537
db653660
ST
18538 * posix/tst-sysconf.c (posix_options): Only use
18539 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18540 _POSIX_SYNCHRONIZED_IO when they are defined
18541 * sysdeps/mach/hurd/bits/posix_opt.h:
18542 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18543 (_XOPEN_REALTIME): Undefine macro.
18544 (_XOPEN_REALTIME_THREADS): Undefine macro.
18545 (_XOPEN_SHM): Undefine macro.
18546 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18547 macro to -1.
18548 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18549 macro to -1.
18550 (_POSIX_ASYNC_IO): Undefine macro.
18551 (_POSIX_PRIORITIZED_IO): Undefine macro.
18552 (_POSIX_SPIN_LOCKS): Define macro to -1.
18553
ee16e894
ST
18554 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18555 SA_NODEFER, SA_RESETHAND.
18556 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18557 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18558 F_DUPFD_CLOEXEC.
18559
6103ae3b
TS
185602012-05-10 Thomas Schwinge <thomas@schwinge.name>
18561
18562 * elf/Makefile (pldd-modules): Define unconditionally.
18563
80b4e5f3
TS
185642012-05-10 Thomas Schwinge <thomas@schwinge.name>
18565
18566 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18567
edadcbd6
ST
185682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18569
18570 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18571 Return ENOENT when name is empty.
18572 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18573
80694780
TS
185742012-05-10 Thomas Schwinge <thomas@schwinge.name>
18575
1792c087
TS
18576 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18577
80694780
TS
18578 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18579
6b645f0d
ST
185802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18581
80694780
TS
18582 Fix mlock in all cases except non-readable pages.
18583 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18584 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18585
6b645f0d
ST
18586 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18587 (__mkdir): When path is `/', just fail with EEXIST.
18588 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18589
e468f8a3
TS
185902012-05-10 Thomas Schwinge <thomas@schwinge.name>
18591
18592 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18593 <sys/uio.h> (for writev).
18594 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18595 and <sys/param.h> (for MIN).
18596
a4186cff
PT
185972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18598
18599 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18600 REQUESTED_TIME. Properly set the remaining time and return EINTR
18601 if interrupted.
18602
510bbf14
TS
186032012-05-10 Thomas Schwinge <thomas@schwinge.name>
18604
18605 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18606 Depend on against $(link-rpcuserlibs).
18607
5d5722e8
ST
186082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18609
a4186cff
PT
18610 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18611 (__libc_stack_end): Do not use attribute_relro.
18612 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18613 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18614 to libthread-provided value.
a4186cff
PT
18615 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18616 attribute_relro.
5d5722e8 18617
37233df9
TS
186182012-05-10 Thomas Schwinge <thomas@schwinge.name>
18619
be971a2b
TS
18620 [BZ #3748]
18621 * bits/libc-lock.h (__libc_once_get): New macro.
18622 * sysdeps/mach/bits/libc-lock.h: Likewise.
18623 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18625 instead of using implementation details.
18626
37233df9
TS
18627 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18628 * libio/freopen.c: Likewise.
18629 * libio/freopen64.c: Likewise.
18630 * misc/syslog.c: Likewise.
18631 * nscd/connections.c: Likewise.
18632 * nscd/netgroupcache.c: Likewise.
18633 * sysdeps/posix/getcwd.c: Likewise.
18634
38de94a5
RM
186352012-05-10 Roland McGrath <roland@hack.frob.com>
18636
18637 * math/w_ilogbf.c: Add #include <limits.h>.
18638
67530489
ST
186392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18640
a4186cff 18641 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18642 path instead of returning without unlocking.
18643
67530489
ST
18644 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18645 immediate-write ioctls.
18646 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18647
5aa3a74a
TS
186482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18649
18bad2ae
TS
18650 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18651 __builtin_frame_address instead of making assumptions about the
18652 location of the return address relative to DATA. Force early load of
18653 the return address.
18654 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18655 __builtin_frame_address.
18656
5aa3a74a
TS
18657 dup3 for GNU Hurd.
18658 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18659 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18660 implement dup3 and do some further code clean-ups.
18661 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18663
ecd0de9a
ST
186642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18665
cd9fa985
ST
18666 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18667
a4186cff
PT
18668 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18669 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18670 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18671 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18672 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18673 d->port.lock.
802ca5a5 18674
a4186cff
PT
18675 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18676 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18677 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18678
bcf55240
TS
186792012-05-10 Thomas Schwinge <thomas@schwinge.name>
18680
6960eb42
TS
18681 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18682 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18683 definitions.
18684
eb43375f
TS
18685 accept4 for GNU Hurd.
18686 * include/sys/socket.h (__libc_accept4): New prototype.
18687 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18688 to implement __libc_accept4.
18689 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18690 __libc_accept4.
18691 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18692
bcf55240
TS
18693 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18694 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18695 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18696 signal-defines.sym.
18697
6178c55b
ST
186982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18699
a4186cff 18700 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18701
6f080c2f
TS
187022012-05-10 Thomas Schwinge <thomas@schwinge.name>
18703
18704 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18705 assertion on O_CLOEXEC flag.
18706 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18707 * hurd/intern-fd.c: Likewise.
18708 * hurd/port2fd.c: Likewise.
18709
bcfe3a54
ST
187102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18711
18712 [BZ #3906]
18713 * bits/in.h (IPV6_PKTINFO): Define new macro.
18714 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18715
89c9aa49
AZ
187162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18717
18718 [BZ #13954]
18719 [BZ #13955]
18720 [BZ #13956]
18721 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18723 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18724 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18726 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18727 * math/libm-test.inc (logb_test) : Additional logb tests.
18728
021db4be
AJ
187292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18730 Andreas Jaeger <aj@suse.de>
18731
18732 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18733 * configure: Regenerated.
18734 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18735 * config.make.in (link-obsolete-rpc): New substituted variable.
18736 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18737 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18738 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18739 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18740 so that libc.a contains the symbols.
18741 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18742 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18743 * sunrpc/auth_none.c: Likewise.
18744 * sunrpc/auth_unix.c: Likewise.
18745 * sunrpc/authdes_prot.c: Likewise.
18746 * sunrpc/authuxprot.c: Likewise.
18747 * sunrpc/clnt_gen.c: Likewise.
18748 * sunrpc/clnt_perr.c: Likewise.
18749 * sunrpc/clnt_raw.c: Likewise.
18750 * sunrpc/clnt_simp.c: Likewise.
18751 * sunrpc/clnt_tcp.c: Likewise.
18752 * sunrpc/clnt_udp.c: Likewise.
18753 * sunrpc/clnt_unix.c: Likewise.
18754 * sunrpc/des_crypt.c: Likewise.
18755 * sunrpc/des_soft.c: Likewise.
18756 * sunrpc/get_myaddr.c: Likewise.
18757 * sunrpc/key_call.c: Likewise.
18758 * sunrpc/key_prot.c: Likewise.
18759 * sunrpc/netname.c: Likewise.
18760 * sunrpc/pm_getmaps.c: Likewise.
18761 * sunrpc/pm_getport.c: Likewise.
18762 * sunrpc/pmap_clnt.c: Likewise.
18763 * sunrpc/pmap_prot.c: Likewise.
18764 * sunrpc/pmap_prot2.c: Likewise.
18765 * sunrpc/pmap_rmt.c: Likewise.
18766 * sunrpc/publickey.c: Likewise.
18767 * sunrpc/rpc_cmsg.c: Likewise.
18768 * sunrpc/rpc_common.c: Likewise.
18769 * sunrpc/rpc_dtable.c: Likewise.
18770 * sunrpc/rpc_prot.c: Likewise.
18771 * sunrpc/rpc_thread.c: Likewise.
18772 * sunrpc/rtime.c: Likewise.
18773 * sunrpc/svc.c: Likewise.
18774 * sunrpc/svc_auth.c: Likewise.
18775 * sunrpc/svc_raw.c: Likewise.
18776 * sunrpc/svc_run.c: Likewise.
18777 * sunrpc/svc_tcp.c: Likewise.
18778 * sunrpc/svc_udp.c: Likewise.
18779 * sunrpc/svc_unix.c: Likewise.
18780 * sunrpc/svcauth_des.c: Likewise.
18781 * sunrpc/xcrypt.c: Likewise.
18782 * sunrpc/xdr.c: Likewise.
18783 * sunrpc/xdr_array.c: Likewise.
18784 * sunrpc/xdr_float.c: Likewise.
18785 * sunrpc/xdr_intXX_t.c: Likewise.
18786 * sunrpc/xdr_mem.c: Likewise.
18787 * sunrpc/xdr_rec.c: Likewise.
18788 * sunrpc/xdr_ref.c: Likewise.
18789 * sunrpc/xdr_sizeof.c: Likewise.
18790 * sunrpc/xdr_stdio.c: Likewise.
18791
b5c086a2
RM
187922012-05-10 Roland McGrath <roland@hack.frob.com>
18793
18794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18795 change. Update copyright years.
18796
6d74dd09
JM
187972012-05-10 Joseph Myers <joseph@codesourcery.com>
18798
18799 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18800
28e72501
MK
188012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18802 Joseph Myers <joseph@codesourcery.com>
18803 Paul Pluzhnikov <ppluzhnikov@google.com>
18804
18805 [BZ #14012]
18806 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18807 requiring rpcgen.
18808 [cross-compiling] (extra-libs): Likewise.
18809 [cross-compiling] (extra-libs-others): Likewise.
18810 [cross-compiling] (librpcsvc-routines): Likewise.
18811 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18812 [cross-compiling] (omit-deps): Likewise.
18813 (sunrpc-CPPFLAGS): New variable.
18814 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18815 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18816 (cross-rpcgen-objs): New variable.
18817 (extra-objs): Append $(cross-rpcgen-objs).
18818 ($(cross-rpcgen-objs)): New rule.
18819 ($(objpfx)cross-rpcgen): Likewise.
18820 (rpcgen-cmd): Define to use $(built-program-file). Expand
18821 comment.
18822 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18823 ($(objpfx)x%.stmp): Likewise.
18824 * sunrpc/proto.h [IS_IN_build] (_): Define.
18825 [IS_IN_build] (_libc_intl_domainname): Likewise.
18826
c8c59454
L
188272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18830 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18831 and R_X86_64_TPOFF64.
18832
6f27cd16
JM
188332012-05-10 Joseph Myers <joseph@codesourcery.com>
18834
18835 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18836 sysdeps/unix/sysv/syscalls.list.
18837 (stime): Likewise.
18838 (utime): Likewise.
18839 * sysdeps/unix/sysv/syscalls.list: Remove file.
18840
02467e1c
PE
188412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18842
18843 [BZ #3440]
18844 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18845 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18846 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18847 (__LC_IDENTIFICATION): Make these macros useful in #if
18848 expressions, as required by C99.
18849
da392631
AS
188502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18851
18852 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18853 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18854 after this.
18855
8115f29b
L
188562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18857
18858 * stdlib/longlong.h: Updated from GCC.
18859
bdd74070
AJ
188602012-05-09 Andreas Jaeger <aj@suse.de>
18861
edfe0dbe
AJ
18862 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18863 default is first entry.
18864 (run_mode): Set type.
18865 (main): Remove informal message about syslog.
18866 (options): Fix typo.
18867
bcfe3a54
ST
18868 [BZ #14053]
18869 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18870 to asm.
bcfe3a54
ST
18871 (lrint): Likewise.
18872 (llrintf): Likewise.
18873 (llrint): Likewise.
18874 (rint): Likewise.
18875 (rintf): Likewise.
18876 (nearbyint): Likewise.
18877 (nearbyintf): Likewise.
bdd74070 18878
91d8d69e
AJ
188792012-05-09 Andreas Jaeger <aj@suse.de>
18880 Pedro Alves <palves@redhat.com>
18881
18882 * nscd/nscd.c (run_mode): Use enum.
18883 (main): Cleanup coding style issue.
18884
bb90b80b
AJ
188852012-05-09 Alexandre Oliva <aoliva@redhat.com>
18886 Andreas Jaeger <aj@suse.de>
18887
bcfe3a54
ST
18888 * nscd/nscd.c (go_background): Replaced with...
18889 (run_mode): ... this.
bb90b80b 18890 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18891 (options): Add -F --foreground.
18892 (main): Implement it.
18893 (parse_opt): Parse it.
bb90b80b 18894
1a4b75a1
AJ
188952012-05-09 Andreas Jaeger <aj@suse.de>
18896
18897 [BZ #14083]
18898 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18899 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18900 -Wconversion warning.
18901 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18902 Likewise.
18903
b1cc2472
JM
189042012-05-09 Joseph Myers <joseph@codesourcery.com>
18905
18906 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18907 == 0.
18908 (LC_ALL): Use macro-int-constant.
18909 (LC_COLLATE): Likewise.
18910 (LC_CTYPE): Likewise.
18911 (LC_MESSAGES): Likewise.
18912 (LC_MONETARY): Likewise.
18913 (LC_NUMERIC): Likewise.
18914 (LC_TIME): Likewise.
18915 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18916 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18918 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18919 Specify type.
18920 [C99-based standards] (float_t): Expect type.
18921 [C99-based standards] (double_t): Expect type.
18922 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18923 type.
18924 [C99-based standards] (HUGE_VALL): Likewise.
18925 [C99-based standards] (INFINITY): Likewise.
18926 [C99-based standards] (NAN): Likewise.
18927 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18928 [C99-based standards] (FP_NAN): Likewise.
18929 [C99-based standards] (FP_NORMAL): Likewise.
18930 [C99-based standards] (FP_SUBNORMAL): Likewise.
18931 [C99-based standards] (FP_ZERO): Likewise.
18932 [C99-based standards] (FP_FAST_FMA): Use
18933 optional-macro-int-constant. Specify type. Require == 1.
18934 [C99-based standards] (FP_FAST_FMAF): Likewise.
18935 [C99-based standards] (FP_FAST_FMAL): Likewise.
18936 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18937 [C99-based standards] (FP_ILOGBNAN): Likewise.
18938 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18939 Specify type.
18940 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18941 [C99-based standards] (math_errhandling): Specify type.
18942 [ISO99 || ISO11] (signgam): Do not allow.
18943 [non-C99-based standards] (copysignf): Do not allow.
18944 [non-C99-based standards] (exp2f): Likewise.
18945 [non-C99-based standards] (log2f): Likewise.
18946 [non-C99-based standards] (modff): Allow.
18947 [non-C99-based standards] (erff): Do not allow.
18948 [non-C99-based standards] (erfcf): Likewise.
18949 [non-C99-based standards] (gammaf): Likewise.
18950 [non-C99-based standards] (hypotf): Likewise.
18951 [non-C99-based standards] (j0f): Likewise.
18952 [non-C99-based standards] (j1f): Likewise.
18953 [non-C99-based standards] (jnf): Likewise.
18954 [non-C99-based standards] (lgammaf): Likewise.
18955 [non-C99-based standards] (tgammaf): Likewise.
18956 [non-C99-based standards] (y0f): Likewise.
18957 [non-C99-based standards] (y1f): Likewise.
18958 [non-C99-based standards] (ynf): Likewise.
18959 [non-C99-based standards] (isnanf): Likewise.
18960 [non-C99-based standards] (acoshf): Likewise.
18961 [non-C99-based standards] (asinhf): Likewise.
18962 [non-C99-based standards] (atanhf): Likewise.
18963 [non-C99-based standards] (cbrtf): Likewise.
18964 [non-C99-based standards] (expm1f): Likewise.
18965 [non-C99-based standards] (ilogbf): Likewise.
18966 [non-C99-based standards] (log1pf): Likewise.
18967 [non-C99-based standards] (logbf): Likewise.
18968 [non-C99-based standards] (nextafterf): Likewise.
18969 [non-C99-based standards] (remainderf): Likewise.
18970 [non-C99-based standards] (rintf): Likewise.
18971 [non-C99-based standards] (scalbf): Likewise.
18972 [non-C99-based standards] (copysignl): Likewise.
18973 [non-C99-based standards] (exp2l): Likewise.
18974 [non-C99-based standards] (log2l): Likewise.
18975 [non-C99-based standards] (modfl): Allow.
18976 [non-C99-based standards] (erfl): Do not allow.
18977 [non-C99-based standards] (erfcl): Likewise.
18978 [non-C99-based standards] (gammal): Likewise.
18979 [non-C99-based standards] (hypotl): Likewise.
18980 [non-C99-based standards] (j0l): Likewise.
18981 [non-C99-based standards] (j1l): Likewise.
18982 [non-C99-based standards] (jnl): Likewise.
18983 [non-C99-based standards] (lgammal): Likewise.
18984 [non-C99-based standards] (tgammal): Likewise.
18985 [non-C99-based standards] (y0l): Likewise.
18986 [non-C99-based standards] (y1l): Likewise.
18987 [non-C99-based standards] (ynl): Likewise.
18988 [non-C99-based standards] (isnanl): Likewise.
18989 [non-C99-based standards] (acoshl): Likewise.
18990 [non-C99-based standards] (asinhl): Likewise.
18991 [non-C99-based standards] (atanhl): Likewise.
18992 [non-C99-based standards] (cbrtl): Likewise.
18993 [non-C99-based standards] (expm1l): Likewise.
18994 [non-C99-based standards] (ilogbl): Likewise.
18995 [non-C99-based standards] (log1pl): Likewise.
18996 [non-C99-based standards] (logbl): Likewise.
18997 [non-C99-based standards] (nextafterl): Likewise.
18998 [non-C99-based standards] (remainderl): Likewise.
18999 [non-C99-based standards] (rintl): Likewise.
19000 [non-C99-based standards] (scalbl): Likewise.
19001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19002 [non-C99-based standards] (FP_*): Do not allow.
19003 [C99-based standards] (FP_*): Change to
19004 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19005 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19006 allow.
19007 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19008 (SIG_ERR): Likewise.
19009 [X/Open-based standards] (SIG_HOLD): Likewise.
19010 (SIG_IGN): Likewise.
19011 (SIGABRT): Use macro-int-constant. Specify type. Require
19012 positive value.
19013 (SIGFPE): Likewise.
19014 (SIGILL): Likewise.
19015 (SIGINT): Likewise.
19016 (SIGSEGV): Likewise.
19017 (SIGTER): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19024 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19029 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19030 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19031 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19032 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19033 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19034 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19035 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19036 [X/Open-based standards] (SIGTRAP): Likewise.
19037 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19038 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19039 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19040 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19041 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19042 allow.
19043
b9f1922d
IW
190442012-05-08 Ian Wienand <ianw@vmware.com>
19045
19046 [BZ #14080]
19047 * time/tzset.c (__tzset_parse_tz): Update default rules for
19048 daylight time changes in the Energy Policy Act of 2005.
19049
1db86e88
AJ
190502012-05-09 Andreas Jaeger <aj@suse.de>
19051
19052 [BZ #13983]
19053 * elf/ldconfig.c (parse_conf): Change string to make clear that
19054 ldconfig only issued a warning if ld.so.conf does not exist.
19055
dee4a4e3
DM
190562012-05-08 David S. Miller <davem@davemloft.net>
19057
ee0db190
DM
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19059 movxtod instead of popping the value on the stack.
19060
dee4a4e3
DM
19061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19062
6a43ec98
CD
190632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19064
19065 * config.h.in: Add HAVE_ARM_PCS_VFP.
19066
05c2c961
RMG
190672012-05-08 Roland Mc Grath <roland@hack.frob.com>
19068
bcfe3a54
ST
19069 [BZ #13979]
19070 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19071 checking but the checks are disabled for any reason.
05c2c961 19072
4b30f61a
L
190732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19074
19075 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19076 and ELF64_R_TYPE with ELFW(R_TYPE).
19077
eee2bc67
JM
190782012-05-08 Joseph Myers <joseph@codesourcery.com>
19079
7ea5391a
JM
19080 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19081 (ulimit): Likewise.
19082
eee2bc67
JM
19083 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19084 (settimeofday): Likewise.
19085
abb66a67
MF
190862012-05-08 Mike Frysinger <vapier@gentoo.org>
19087
19088 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19089 a struct th_u2 inside the union, and move tu_block/tu_code into
19090 a new th_u3 union of tu_block/tu_code inside of that. Move
19091 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19092 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19093 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19094 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19095 (th_stuff): Change to th_u1.tu_stuff.
19096 (th_data): Define.
19097 (th_msg): Change to th_u1.th_u2.tu_data.
19098
7f18b530
DM
190992012-05-07 David S. Miller <davem@davemloft.net>
19100
05760585
DM
19101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19102
7f18b530
DM
19103 [BZ #14074]
19104 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19105 (SETUP_PIC_REG): Use it.
19106 (SETUP_PIC_REG_LEAF): Use it.
19107
495fd99f
JM
191082012-05-07 Joseph Myers <joseph@codesourcery.com>
19109
19110 [BZ #13885]
19111 [BZ #13923]
19112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19113 USE_AS_EXPM1L.
19114 (EXPL_FINITE): Likewise.
19115 (FLDLOG): Likewise.
19116 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19117 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19118 e_expl.S.
19119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19120 USE_AS_EXPM1L.
19121 (EXPL_FINITE): Likewise.
19122 (FLDLOG): Likewise.
19123 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19124 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19125 e_expl.S.
19126 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19127 test of -max_value argument for long double.
19128 * sysdeps/i386/fpu/libm-test-ulps: Update.
19129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130
6693d694
DM
191312012-05-06 David S. Miller <davem@davemloft.net>
19132
19133 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19134 quad soft-float symbols whose references which are compiler
19135 generated.
19136 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19137
6c23e11c
JM
191382012-05-06 Joseph Myers <joseph@codesourcery.com>
19139
d8b82cad
JM
19140 [BZ #13884]
19141 [BZ #13914]
19142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19143 USE_AS_EXP10L.
19144 (EXPL_FINITE): Likewise.
19145 (FLDLOG): Likewise.
19146 (c0): Likewise.
19147 (c1): Likewise.
19148 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19149 Adjust comments for base varying.
19150 (__expl_finite): Change alias to EXPL_FINITE.
19151 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19152 e_expl.S.
19153 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19154 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19156 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19157 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19158 USE_AS_EXP10L.
19159 (EXPL_FINITE): Likewise.
19160 (FLDLOG): Likewise.
19161 (c0): Likewise.
19162 (c1): Likewise.
19163 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19164 Adjust comments for base varying.
19165 (__expl_finite): Change alias to EXPL_FINITE.
19166 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19167 tests for bugs.
19168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19169
6c23e11c
JM
19170 [BZ #14064]
19171 * math/libm-test.inc (check_float_internal): Correct ulp
19172 calculation for subnormal expected results.
19173
29ba805c
AJ
191742012-05-06 Andreas Jaeger <aj@suse.de>
19175
19176 * Makeconfig (+math-flags): New, set to -frounding-math.
19177 (+cflags): Add +math-flags so that all of glibc gets compiled with
19178 it.
19179
19180 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19181
7b17aeda
JM
191822012-05-05 Joseph Myers <joseph@codesourcery.com>
19183
5779f134
JM
19184 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19185 Disable one test.
19186
41498f4d
JM
19187 [BZ #13787]
19188 [BZ #13922]
19189 [BZ #14036]
19190 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19191 (__ieee754_expl): Allow for and saturate large arguments.
19192 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19193 (u_threshold): Likewise.
19194 (__exp): Call __ieee754_exp before checking for overflow and
19195 underflow.
19196 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19197 (u_threshold): Likewise.
19198 (__expf): Call __ieee754_expf before checking for overflow and
19199 underflow.
19200 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19201 (u_threshold): Likewise.
19202 (__expl): Call __ieee754_expl before checking for overflow and
19203 underflow.
19204 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19205 (__ieee754_expl): Allow for and saturate large arguments.
19206 * math/libm-test.inc (exp_test): Add another test. Do not allow
19207 missing overflow exception on overflow.
19208 (expm1_test): Do not allow missing overflow exception on overflow.
19209
6698b8bf
JM
19210 * sysdeps/i386/fpu/e_expl.c: Move to ...
19211 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19212 rather than using inline asm.
19213 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19214 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19215 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19216
7b17aeda
JM
19217 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19218 (nice): Likewise.
19219 (poll): Likewise.
19220 (signal): Likewise.
19221 (time): Likewise.
19222 (times): Likewise.
19223
f7c85819
JM
192242012-05-04 Joseph Myers <joseph@codesourcery.com>
19225
19226 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19227 sysdeps/unix/common/syscalls.list.
19228 (fchmod): Likewise.
19229 (fchown): Likewise.
19230 (ftruncate): Likewise.
19231 (getrusage): Likewise.
19232 (gettimeofday): Likewise.
19233 (setpgid): Likewise.
19234 (setregid): Likewise.
19235 (setreuid): Likewise.
19236 (sigaction): Likewise.
19237 (truncate): Likewise.
19238 (vhangup): Likewise.
19239 * sysdeps/unix/common/syscalls.list: Remove file.
19240 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19241 * sysdeps/unix/sysv/linux/Implies: Likewise.
19242
336270d0
L
192432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19247 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19248 Moved to ...
19249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19250 Here.
19251 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19252 to ...
19253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19254 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19255 to ...
19256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19257 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19258 to ...
19259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19260 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19261 to ...
19262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19263 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19264 to ...
19265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19266 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19267 to ...
19268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19270 to ...
19271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19272 Here.
19273 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19274 to ...
19275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19276 Here.
19277 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19278 to ...
19279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19280 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19281 Moved to ...
19282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19283 Here.
19284 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19285 to ...
19286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19287
d128e450
JM
192882012-05-04 Joseph Myers <joseph@codesourcery.com>
19289
fa8ee516
JM
19290 * sysdeps/unix/common/bits/dirent.h: Remove file.
19291 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19292
d128e450
JM
19293 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19294 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19295 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19296 * sysdeps/unix/bsd/isatty.c: Likewise.
19297 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19298 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19299 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19300
ff8faaf0 193012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19302
62881be4 19303 [BZ #13563]
31dc8730
AZ
19304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19305 long double comparison inaccuracies.
19306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19308
6fef930c
AS
193092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19310
19311 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19313
8f203e6c
JM
193142012-05-04 Joseph Myers <joseph@codesourcery.com>
19315
19316 [BZ #14049]
19317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19318 nonzero digits before rounding a hex value.
19319 * stdlib/tst-strtod.c (tests): Add another test.
19320
5197d9c2
AK
193212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19322
19323 * sysdeps/s390/fpu/libm-test-ulps: Update.
19324
f0c1dedf
AJ
193252012-05-03 Andreas Jaeger <aj@suse.de>
19326
19327 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19328 does not get optimized out.
19329 (malloc_opt_barrier): New.
19330
a65ef2ae 193312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19332 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19333
2b942cb7 19334 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19335 intermediate file deletion.
2b942cb7 19336 (generated): Add .symlist files.
a65ef2ae 19337
54b71e02
JM
193382012-05-03 Joseph Myers <joseph@codesourcery.com>
19339
19340 [BZ #13775]
19341 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19342 Redirect under this condition.
19343 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19344 [__USE_GNU] (__dprintf_chk): Not under this condition.
19345 [__USE_GNU] (__vdprintf_chk): Likewise.
19346 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19347 under this condition.
19348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19349 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19350 [__USE_XOPEN2K8] (vdprintf): Likewise.
19351 [__USE_GNU] (__dprintf_chk): Not under this condition.
19352 [__USE_GNU] (__vdprintf_chk): Likewise.
19353 [__USE_GNU] (dprintf): Likewise.
19354 [__USE_GNU] (vdprintf): Likewise.
19355
d3dfcc41
RM
193562012-05-03 Roland McGrath <roland@hack.frob.com>
19357
19358 * elf/Makefile (common-generated): Set this instead of generated for
19359 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19360 $(all-built-dso)-derived lists.
19361
7ac30cc5
AJ
193622012-05-03 Andreas Jaeger <aj@suse.de>
19363
0c51e550
AJ
19364 * sysdeps/i386/fpu/libm-test-ulps: Update.
19365
7ac30cc5
AJ
19366 * FAQ: Removed.
19367 * FAQ.in: Likewise.
19368 * scripts/gen-FAQ.pl: Likewise.
19369 * manual/install.texi (Installation): Point to online location of
19370 FAQ.
19371 * Makefile (files-for-dist): Remove FAQ.
19372 (FAQ): Remove.
19373
d4c2917f
AM
193742012-05-02 Allan McRae <allan@archlinux.org>
19375
19376 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19377 (LDFLAGS-reldepmod5.so): Likewise.
19378 (LDFLAGS-reldep6mod1.so): Likewise.
19379 (LDFLAGS-reldep6mod4.so): Likewise.
19380 (LDFLAGS-reldep8mod3.so): Likewise.
19381 (LDFLAGS-unload4mod1.so): Likewise.
19382 (LDFLAGS-unload4mod2.so): Likewise.
19383 (LDFLAGS-tst-initorder): Likewise.
19384 (LDFLAGS-tst-initordera2.so): Likewise.
19385 (LDFLAGS-tst-initordera3.so): Likewise.
19386 (LDFLAGS-tst-initordera4.so): Likewise.
19387 (LDFLAGS-tst-initorderb2.so): Likewise.
19388 (LDFLAGS-noload): Likewise.
19389 (LDFLAGS-next): Likewise.
19390 (LDFLAGS-order2mod1.so): Likewise.
19391 (LDFLAGS-order2mod2.so): Likewise.
19392 (LDFLAGS-tst-initorder2): Likewise.
19393 (LDFLAGS-tst-initorder2a.so): Likewise.
19394 (LDFLAGS-tst-initorder2b.so): Likewise.
19395 (LDFLAGS-tst-initorder2c.so): Likewise.
19396 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19397
d77f993f
DM
193982012-05-02 David S. Miller <davem@davemloft.net>
19399
19400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19401
171a70b4
PP
194022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19403
19404 [BZ #14055]
19405 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19406
0be196ad
AJ
194072012-05-02 Andreas Jaeger <aj@suse.de>
19408
19409 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19410 since we manipulate rounding mode.
19411 (CPPFLAGS-test-idouble.c): Likewise.
19412 (CPPFLAGS-test-ifloat.c): Likewise.
19413 (CFLAGS-test-ldouble.c): Likewise.
19414 (CFLAGS-test-double.c): Likewise.
19415 (CFLAGS-test-float.c): Likewise.
19416 (CFLAGS-test-misc.c): Likewise.
19417 (CFLAGS-test-test-fenv.c): Likewise.
19418
4f9d04aa
AZ
194192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19420
2b942cb7
RM
19421 [BZ #2550]
19422 [BZ #2570]
19423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19424 comparisons to determine direction to adjust input.
4f9d04aa 19425
82a79e7d
RM
194262012-05-01 Roland McGrath <roland@hack.frob.com>
19427
f5a01ca9
RM
19428 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19429 output to the target.
19430
90fe4186
RM
19431 * scripts/localplt.awk: New file.
19432 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19433 (check-localplt-CFLAGS): Variable removed.
19434 ($(all-built-dso:=.jmprel)): New static pattern rule.
19435 (generated): Add those targets.
19436 (localplt-built-dso): New variable.
19437 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19438
19439 * elf/check-localplt.c: File removed.
19440
82397ed6
RM
19441 * scripts/check-execstack.awk: New file.
19442 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19443 (check-execstack-CFLAGS): Variable removed.
19444 ($(objpfx)check-execstack.h): Target removed.
19445 ($(objpfx)execstack-default): New target.
19446 (generated): Add that instead of check-execstack.h.
19447 ($(all-built-dso:=.phdr)): New static pattern rule.
19448 (generated): Add those targets.
19449 * elf/check-execstack.c: File removed.
19450
82a79e7d
RM
19451 * scripts/check-textrel.awk: New file.
19452 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19453 (check-textrel-CFLAGS): Variable removed.
19454 (all-built-dso): Use := to define.o
19455 ($(all-built-dso:=.dyn)): New static pattern rule.
19456 (generated): Add those targets.
19457 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19458 * config.make.in (READELF): New substituted variable.
19459 * elf/check-textrel.c: File removed.
19460
62fde54f 194612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19462
615605c9
JM
19463 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19464 allow.
19465 * conform/data/ctype.h-data [C99-based standards] (isblank):
19466 Expect function.
19467 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19468 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19470 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19471 Specify type. Require positive value.
19472 (EILSEQ): Likewise.
19473 (ERANGE): Likewise.
19474 [ISO || POSIX] (EILSEQ): Do not expect.
19475 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19476 Specify type. Require positive value.
19477 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19478 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19480 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19481 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19482 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19484 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19486 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19487 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19489 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19491 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19492 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19494 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19495 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19496 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19497 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19498 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19499 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19500 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19501 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19502 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19504 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19505 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19506 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19507 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19509 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19511 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19551 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19552 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19553 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19554 Require >= 2.
19555 (FLT_ROUNDS): Expect as macro, not constant.
19556 (FLT_MANT_DIG): Use macro-int-constant.
19557 (DBL_MANT_DIG): Likewise.
19558 (LDBL_MANT_DIG): Likewise.
19559 (FLT_DIG): Likewise.
19560 (DBL_DIG): Likewise.
19561 (LDBL_DIG): Likewise.
19562 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19563 (DBL_MIN_EXP): Likewise.
19564 (LDBL_MIN_EXP): Likewise.
19565 (FLT_MAX_EXP): Use macro-int-constant.
19566 (DBL_MAX_EXP): Likewise.
19567 (LDBL_MAX_EXP): Likewise.
19568 (FLT_MAX_10_EXP): Likewise.
19569 (DBL_MAX_10_EXP): Likewise.
19570 (LDBL_MAX_10_EXP): Likewise.
19571 (FLT_MAX): Use macro-constant.
19572 (DBL_MAX): Likewise.
19573 (LDBL_MAX): Likewise.
19574 (FLT_EPSILON): Use macro-constant. Give upper bound.
19575 (DBL_EPSILON): Likewise.
19576 (LDBL_EPSILON): Likewise.
19577 (FLT_MIN): Likewise.
19578 (DBL_MIN): Likewise.
19579 (LDBL_MIN): Likewise.
19580 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19581 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19582 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19583 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19584 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19585 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19586 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19587 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19588 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19589 [ISO11] (FLT_TRUE_MIN): Likewise.
19590 [ISO11] (LDBL_TRUE_MIN): Likewise.
19591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19592 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19593 (SCHAR_MIN): Use macro-int-constant. Specify type.
19594 (SCHAR_MAX): Likewise.
19595 (UCHAR_MAX): Likewise.
19596 (CHAR_MIN): Likewise.
19597 (CHAR_MAX): Likewise.
19598 (MB_LEN_MAX): Use macro-int-constant.
19599 (SHRT_MIN): Use macro-int-constant. Specify type.
19600 (SHRT_MAX): Likewise.
19601 (USHRT_MAX): Likewise.
19602 (INT_MAX): Likewise.
19603 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19604 bound negative.
19605 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19606 bound with "U".
19607 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19608 bound with "L".
19609 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19610 bound negative. Suffix upper bound with "L".
19611 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19612 bound with "UL".
19613 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19614 Specify type.
19615 [C99-based standards] (LLONG_MAX): Likewise.
19616 [C99-based standards] (ULLONG_MAX): Likewise.
19617 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19618 == 0.
19619 [ISO11] (max_align_t): Require type.
19620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19621
c9140a62
JM
19622 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19623 from $CFLAGS, without defining away __attribute__ calls.
19624 (checknamespace): Use $CFLAGS_namespace.
19625
9af0bf29
JM
19626 * conform/conformtest.pl (@keywords): Only include C99 keywords
19627 for standards based on C99 or C11.
19628
343222a2
JM
19629 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19630 Disable tests.
19631 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19632 UNIX98]: Likewise.
19633
661f8cf0
JM
19634 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19635 usability of symbols in #if.
19636
ee74b9cb
JM
19637 * conform/conformtest.pl: If macro or constant types start
19638 "promoted:", expect the symbol to be of the following type
19639 promoted by the integer promotions.
62fde54f 19640
aafc49b3
JM
19641 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19642 in one place. Also handle "macro-constant".
19643
fefdf574
JM
19644 * conform/conformtest.pl: Only accept expected macro values with
19645 "==". Parse all "macro" lines in one place.
19646 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19647
f2d922fe
JM
19648 * conform/conformtest.pl: Handle braced types on "constant" lines
19649 instead of handling "typed-constant".
19650 * conform/data/signal.h-data: Use "constant" instead of
19651 "typed-constant".
19652
d22956c9
JM
19653 * conform/conformtest.pl: Handle "optional-" at start of lines in
19654 one place rather than duplicating several cases. Handle each
19655 format of "macro" line with initial "optional-".
19656
028e2e38
JM
19657 * conform/conformtest.pl: Only accept expected constant or
19658 optional-constant values with "==". Parse all "constant" lines in
19659 one place. Parse all "optional-constant" lines in one place.
19660 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19661 * conform/data/fmtmsg.h-data: Likewise.
19662 * conform/data/netinet/in.h-data: Likewise.
19663 * conform/data/tar.h-data: Likewise.
19664 * conform/data/limits.h-data: Use "==" form on "constant" and
19665 "optional-constant" lines.
19666
1b8f2850
JM
19667 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19668 Use -std=c99 for XOPEN2K.
19669 (@knownproblems): Remove.
19670 (newtoken): Don't check %isknown.
19671
a05a144b
JM
19672 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19673 Do not expect macro.
19674 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19686 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19687 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19704 [XPG3] (acosh): Likewise.
19705 [XPG3] (asinh): Likewise.
19706 [XPG3] (atanh): Likewise.
19707 [XPG3] (cbrt): Likewise.
19708 [XPG3] (expm1): Likewise.
19709 [XPG3] (ilogb): Likewise.
19710 [XPG3] (log1p): Likewise.
19711 [XPG3] (logb): Likewise.
19712 [XPG3] (nextafter): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19715 [XPG3] (remainder): Likewise.
19716 [XPG3] (rint): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19724 [UNIX98 || XOPEN2K] (scalb): Expect.
19725 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19726 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19856 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19857 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19858 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19859 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19860 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19861 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19862
73c5ebe3
JM
19863 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19864 _XOPEN_SOURCE_EXTENDED for XPG4.
19865
39c33b6c
JM
19866 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19867
62fde54f
JM
19868 * Makeconfig (localtime): Remove variable.
19869 (inst_localtime-file): Likewise.
19870
0741d64c
AS
198712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19872
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19874 Update.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19876 Update.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19878 Update.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19880 Update.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19882 Update.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19884 Update.
19885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19886 Update.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19888 Update.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19890 Update.
19891
7cb029ee
JM
198922012-05-01 Joseph Myers <joseph@codesourcery.com>
19893
19894 [BZ #2550]
19895 [BZ #2570]
19896 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19897 comparisons to determine direction to adjust input.
19898 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19899 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19901 Likewise.
19902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19903 Likewise.
19904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19905 Likewise.
19906 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19907 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19908 Likewise.
19909 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19910 Likewise.
19911 * math/libm-test.inc (nexttoward_test): Add more tests.
19912
412bd966
AS
199132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19914
19915 [BZ #14040]
19916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19917 in version GLIBC_2.1, not GLIBC_2.0.
19918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19919 Likewise.
19920
9568c0c2
JM
199212012-04-30 Joseph Myers <joseph@codesourcery.com>
19922
adfbc8ac
JM
19923 [BZ #13942]
19924 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19925 (1 - x) * (1 + x).
19926 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19927 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19928 * math/libm-test.inc (acos_test): Add more tests.
19929 (asin_test): Likewise.
19930 * sysdeps/i386/fpu/libm-test-ulps: Update.
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19932
5ba3cc69
JM
19933 [BZ #14034]
19934 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19935 of square root.
19936 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19938 * math/libm-test.inc (acos_test_tonearest): New function.
19939 (acos_test_towardzero): Likewise.
19940 (acos_test_downward): Likewise.
19941 (acos_test_upward): Likewise.
19942 (asin_test_tonearest): Likewise.
19943 (asin_test_towardzero): Likewise.
19944 (asin_test_downward): Likewise.
19945 (asin_test_upward): Likewise.
19946 (main): Call the new functions.
19947 * sysdeps/i386/fpu/libm-test-ulps: Update.
19948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19949
9568c0c2
JM
19950 [BZ #13884]
19951 [BZ #13924]
19952 * math/e_exp10.c: Include <float.h>.
19953 (__ieee754_exp10): Handle underflow here rather than multiplying
19954 large negative argument by M_LN10.
19955 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19956 of __ieee754_expf.
19957 * math/e_exp10l.c: Include <float.h>.
19958 (__ieee754_exp10l): Handle underflow here rather than multiplying
19959 large negative argument by M_LN10l.
19960 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19961 spurious overflow exception on underflow.
19962
5ac3ea17
MP
199632012-04-29 Marek Polacek <polacek@redhat.com>
19964
19965 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19966 (__fortify_function): New macro.
19967 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19968 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19969 __extern_always_inline.
19970 * libio/bits/stdio2.h: Likewise.
19971 * libio/bits/stdio.h: Likewise.
19972 * string/string.h: Likewise.
19973 * string/bits/string3.h: Likewise.
19974 * include/stdio.h: Likewise.
19975 * stdlib/bits/stdlib.h: Likewise.
19976 * stdlib/stdlib.h: Likewise.
19977 * rt/bits/mqueue2.h: Likewise.
19978 * rt/mqueue.h: Likewise.
19979 * posix/bits/unistd.h: Likewise.
19980 * posix/unistd.h: Likewise.
19981 * io/bits/poll2.h: Likewise.
19982 * io/bits/fcntl2.h: Likewise.
19983 * io/fcntl.h: Likewise.
19984 * io/sys/poll.h: Likewise.
19985 * misc/bits/syslog.h: Likewise.
19986 * misc/bits/syslog-ldbl.h: Likewise.
19987 * misc/sys/syslog.h: Likewise.
19988 * socket/bits/socket2.h: Likewise.
19989 * socket/sys/socket.h: Likewise.
19990 * debug/tst-chk1.c: Likewise.
19991 * wcsmbs/bits/wchar2.h: Likewise.
19992 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19993 * wcsmbs/wchar.h: Likewise.
19994
ecf0ebfb
AJ
199952012-04-29 Andreas Jaeger <aj@suse.de>
19996
19997 * Makerules (tests): Remove enable-check-abi protection.
19998 (check-abi-warn): Remove.
19999 (check-abi-%): Remove check-abi-warn usage.
20000
20001 * configure.in: Remove check-abi configure option.
20002 * configure: Regenerated.
20003 * config.make.in (enable-check-abi): Remove.
20004
6d5c57fa
AS
200052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20006
24c5d07e 20007 [BZ #14033]
ded5180a
AS
20008 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20009 double functions to double *_finite functions.
20010
7e0d315d
AS
20011 [BZ #13941]
20012 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20013 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20014 LDBL_MIN_EXP.
20015 * stdio-common/Makefile (tests): Add tst-sprintf3.
20016 * stdio-common/tst-sprintf3.c: New file.
20017
6d5c57fa
AS
20018 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20019 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20020
0749ff8b
JM
200212012-04-28 Joseph Myers <joseph@codesourcery.com>
20022
20023 * conform/conformtest.pl: Remove duplicate typed-constant
20024 handling.
20025
8dbd5d7b
DM
200262012-04-28 David S. Miller <davem@davemloft.net>
20027
20028 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20029 (check-abi-%): Remove AWK script prerequisite and explicit
20030 abilist directory.
20031 (check-abi): Rewrite to just diff the symlist with the abilist.
20032 (config-tls, config-abi-config): Delete, no longer used.
20033 (update-abi-%): Remove AWK script and explicit abilist directory.
20034 (update-abi): Rewrite to simply compare and conditionally copy the
20035 symlist and the sysdep abilist file. Remove update-abi-config
20036 checks.
20037 * abilist/ld.abilist: Remove.
20038 * abilist/libBrokenLocale.abilist: Remove.
20039 * abilist/libanl.abilist: Remove.
20040 * abilist/libcrypt.abilist: Remove.
20041 * abilist/libdl.abilist: Remove.
20042 * abilist/librt.abilist: Remove.
20043 * abilist/libthread_db.abilist: Remove.
20044 * abilist/libutil.abilist: Remove.
20045 * scripts/extract-abilist.awk: Remove.
20046 * scripts/merge-abilist.awk: Remove.
20047 * sysdeps/generic/libcidn.abilist: New file.
20048 * sysdeps/generic/libnss_compat.abilist: New file.
20049 * sysdeps/generic/libnss_db.abilist: New file.
20050 * sysdeps/generic/libnss_dns.abilist: New file.
20051 * sysdeps/generic/libnss_files.abilist: New file.
20052 * sysdeps/generic/libnss_hesiod.abilist: New file.
20053 * sysdeps/generic/libnss_nis.abilist: New file.
20054 * sysdeps/generic/libnss_nisplus.abilist: New file.
20055 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20056 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20057 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20058 file.
20059 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20060 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20061 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20062 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20063 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20065 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20066 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20067 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20068 file.
20069 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20070 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20071 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20072 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20073 file.
20074 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20075 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20076 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20077 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20078 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20079 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20080 file.
20081 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20082 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20083 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20084 file.
20085 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20087 New file.
20088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20089 New file.
20090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20091 New file.
20092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20093 New file.
20094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20095 New file.
20096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20097 New file.
20098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20099 New file.
20100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20101 New file.
20102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20103 New file.
20104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20105 New file.
20106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20107 New file.
20108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20109 New file.
20110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20111 New file.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20113 file.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20115 New file.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20117 New file.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20119 file.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20121 New file.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20123 New file.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20125 file.
20126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20127 New file.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20129 New file.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20131 New file.
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20133 New file.
20134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20135 New file.
20136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20137 New file.
20138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20140 file.
20141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20142 New file.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20144 file.
20145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20146 file.
20147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20148 file.
20149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20150 file.
20151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20152 file.
20153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20154 New file.
20155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20156 file.
20157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20158 file.
20159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20160 New file.
20161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20162 file.
20163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20165 file.
20166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20167 New file.
20168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20169 file.
20170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20171 file.
20172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20173 file.
20174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20175 file.
20176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20177 file.
20178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20179 New file.
20180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20181 file.
20182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20183 file.
20184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20185 New file.
20186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20187 file.
20188 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20189 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20190 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20191 file.
20192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20193 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20194 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20195 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20196 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20197 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20198 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20199 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20200 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20201 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20204 file.
20205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20206 New file.
20207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20208 file.
20209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20210 file.
20211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20212 file.
20213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20214 file.
20215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20216 file.
20217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20218 New file.
20219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20220 New file.
20221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20222 file.
20223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20224 New file.
20225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20226 file.
20227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20229 file.
20230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20231 New file.
20232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20233 file.
20234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20235 file.
20236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20237 file.
20238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20239 file.
20240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20241 file.
20242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20243 New file.
20244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20245 New file.
20246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20247 file.
20248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20249 New file.
20250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20251 file.
20252
41d73a1b
JM
202532012-04-28 Joseph Myers <joseph@codesourcery.com>
20254
20255 * conform/conformtest.pl: Fix typo in handling typed-constant from
20256 allow-header.
20257
28aeeda4
JM
202582012-04-27 Joseph Myers <joseph@codesourcery.com>
20259
adae8f5e
JM
20260 * README: Cut down references to pre-2.6 Linux kernels and
20261 Linuxthreads. Update lists of configurations in libc and ports
20262 and sort alphabetically. Say "or newer" with Linux kernel version
20263 requirements.
20264
28aeeda4
JM
20265 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20266
a462cb63
RA
202672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20268
20269 [BZ #887]
20270 * math/libm-test.inc (logb_test_downward): New test to expose
20271 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20272 rounding mode.
20273
6ad3493e
JM
202742012-04-27 Joseph Myers <joseph@codesourcery.com>
20275
20276 [BZ #14027]
20277 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20278 to be done.
20279 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20280 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20281
2ce4f015
JM
202822012-04-26 Joseph Myers <joseph@codesourcery.com>
20283
5aeb141a
JM
20284 * sysdeps/unix/i386/brk.S: Remove file.
20285 * sysdeps/unix/i386/dl-brk.S: Likewise.
20286 * sysdeps/unix/i386/pipe.S: Likewise.
20287 * sysdeps/unix/i386/sigreturn.S: Likewise.
20288 * sysdeps/unix/i386/syscall.S: Likewise.
20289 * sysdeps/unix/i386/vfork.S: Likewise.
20290 * sysdeps/unix/i386/wait.S: Likewise.
20291
7143acae
JM
20292 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20293 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20294
2ce4f015
JM
20295 * configure.in (arm*-none*): Do not allow without
20296 --enable-hacker-mode.
20297 (netbsd*): Remove case setting base_os.
20298 (386bsd*): Likewise.
20299 (freebsd*): Likewise.
20300 (bsdi*): Likewise.
20301 (osf*): Likewise.
20302 (sunos*): Likewise.
20303 (ultrix*): Likewise.
20304 (newsos*): Likewise.
20305 (dynix*): Likewise.
20306 (*bsd*): Likewise.
20307 (sysv*): Likewise.
20308 (isc*): Likewise.
20309 (esix*): Likewise.
20310 (sco*): Likewise.
20311 (minix*): Likewise.
20312 (irix4*): Likewise.
20313 (irix6*): Likewise.
20314 (solaris[2-9]*): Likewise.
20315 (none): Likewise.
20316 * configure: Regenerated.
20317
0ac229c8
AZ
203182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20319
20320 [BZ #11521]
20321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20322 overflow or cancellation in calculating denominator.
20323 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20325 down expression to avoid unexpected rounding in newer GCCs.
20326 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20327
33f244f4
DM
203282012-04-26 David S. Miller <davem@davemloft.net>
20329
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20331 long-double compat symbols.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20345
cfa1f3e8
DM
203462012-04-25 David S. Miller <davem@davemloft.net>
20347
20348 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20349 HWCAP_* values only after the memory barriers have been defined.
20350 (atomic_full_barrier): Define.
20351 (atomic_read_barrier): Define.
20352 (atomic_write_barrier): Define.
20353
6e236b92
SP
203542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20355
20356 * shlib-versions: Add libgcc_s version information.
20357 * sysdeps/generic/libgcc_s.h: Remove.
20358 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20359 libgcc_s.h.
20360 * sysdeps/gnu/unwind-resume.c: Likewise.
20361 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20362
aab39a09
DM
203632012-04-25 David S. Miller <davem@davemloft.net>
20364
20365 * sysdeps/unix/sparc/brk.S: Delete.
20366 * sysdeps/unix/sparc/dl-brk.S: Delete.
20367 * sysdeps/unix/sparc/pipe.S: Delete.
20368 * sysdeps/unix/sparc/sysdep.S: Delete.
20369 * sysdeps/unix/sparc/sysdep.h: Delete.
20370 * sysdeps/unix/sparc/vfork.S: Delete.
20371 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20372 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20374 ret_ERRVAL, r0, r1, MOVE): Define.
20375 (JUMPTARGET): Remove.
20376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20377 sysdeps/unix/sparc/sysdep.h
20378 (ENTRY, END): Remove.
20379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20380
a3cc4f48
JM
203812012-04-25 Joseph Myers <joseph@codesourcery.com>
20382
2ed8cda2
JM
20383 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20384 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20385 -DIS_IN_build.
20386
35d76d59
JM
20387 * timezone/README: Update upstream location and email address for
20388 tzcode and tzdata.
20389 * timezone/zdump.c: Update from tzcode 2012b.
20390 * timezone/zic.c: Likewise.
20391
a3cc4f48
JM
20392 * configure.in (libc_cv_as_needed): Remove test.
20393 * configure: Regenerated.
20394 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20395 conditional definition.
20396 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20397 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20398 * config.make.in (have-as-needed): Remove variable.
20399
ceab42c3
SP
204002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20401 Paul Pluzhnikov <ppluzhnikov@google.com>
20402
20403 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20404 strings correctly.
20405
3ce2865f
CLT
204062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20407
20408 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20409 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20410 * sysdeps/sh/strlen.S: Likewise.
20411
f37e0d68
JM
204122012-04-24 Joseph Myers <joseph@codesourcery.com>
20413
ae186e9a
JM
20414 * sysdeps/unix/fork.S: Remove file.
20415 * sysdeps/unix/i386/fork.S: Likewise.
20416 * sysdeps/unix/sparc/fork.S: Likewise.
20417
b96914af
JM
20418 * sysdeps/unix/system.c: Remove file.
20419 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20420
f37e0d68
JM
20421 * sysdeps/unix/getegid.S: Remove file.
20422 * sysdeps/unix/geteuid.S: Likewise.
20423
87ef29ca
RM
204242012-04-24 Roland McGrath <roland@hack.frob.com>
20425
83bcd236
RM
20426 * scripts/check-localplt.awk: New file.
20427 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20428 of diff.
20429 * scripts/data/localplt-generic.data: Add a comment.
20430
87ef29ca
RM
20431 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20432 NODE when __dir_mkfile failed.
20433 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20434 Reported by Ludovic Courtès <ludo@gnu.org>.
20435
e5a6e567
AJ
204362012-04-24 Andreas Jaeger <aj@suse.de>
20437
20438 * Makerules (common-clean): Also remove gen-as-const-headers
20439 files.
20440
c1820385
JM
204412012-04-24 Joseph Myers <joseph@codesourcery.com>
20442
20443 * Makerules (native-compile): Do not change working directory for
20444 build. Use $(OUTPUT_OPTION) in command.
20445 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20446
94e02fc4
AZ
204472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20448
20449 [BZ #13886]
20450 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20451 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20452 * math/libm-test.inc (floor_test): Add more tests.
20453 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20454
3a533ca3
JM
204552012-04-24 Joseph Myers <joseph@codesourcery.com>
20456
940ab4b3
JM
20457 * sysdeps/unix/getdents.c: Remove file.
20458 * sysdeps/unix/sysv/getdents.c: Likewise.
20459 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20460
90e037bd
JM
20461 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20462 sysdeps/unix/mman/syscalls.list.
20463 (mmap): Likewise.
20464 (mprotect): Likewise.
20465 (msync): Likewise.
20466 (munmap): Likewise.
20467 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20468 * sysdeps/unix/mman/syscalls.list: Remove.
20469 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20470
3a533ca3
JM
20471 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20472 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20473 * configure: Regenerated.
20474 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20475 $(libgcc_s_suffix).
20476 * config.make.in (libgcc_s_suffix): Remove variable.
20477
1ad743de
JM
204782012-04-23 Joseph Myers <joseph@codesourcery.com>
20479
4ad451e2
JM
20480 * sysdeps/unix/sysv/gethostname.c: Move to ...
20481 * sysdeps/posix/gethostname.c: ... here.
20482
5e37ce39
JM
20483 * sysdeps/unix/execve.S: Remove file.
20484
1ad743de
JM
20485 * sysdeps/unix/_exit.S: Remove file.
20486
4e681b5b
AJ
204872012-04-23 Andreas Jaeger <aj@suse.de>
20488
20489 [BZ #13739]
20490 * manual/Makefile: Remove make dist support, there's no
20491 need for a stand-alone documentation tar ball.
20492 (TEXI2DVI): Define always, it's not in Makeconfig.
20493 (dist): Removed.
20494 (tar-it): Removed.
20495 (edition): Removed.
20496 (glibc-doc-$(edition).tar): Removed
20497 (%.Z): Removed.
20498 (%.gz): Removed.
20499 (%.uu): Removed.
20500 (ETAGS): Remove, it's in Makeconfig.
20501 (move-if-change): Remove, it's in Makeconfig.
20502
38686a03 205032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20504
20505 [BZ #13970]
20506 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20507 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20508 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20509 (strtod_l, strtof_l, strtold_l): Remove __wur.
20510 It is not necessarily an error to ignore strtol's return value.
20511 One can reliably look at the stored endptr to decide whether
20512 the number had valid syntax.
20513
7c0616fa
AJ
205142012-04-21 Andreas Jaeger <aj@suse.de>
20515
803cb6b7 20516 [BZ #13739]
7c0616fa
AJ
20517 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20518
b0fe253f
JM
205192012-04-21 Joseph Myers <joseph@codesourcery.com>
20520
20521 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20522 * sysdeps/unix/sysv/Versions: Remove file.
20523
8280f22d
MT
205242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20525
20526 [BZ #13927]
20527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20528
75ce411f 205292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20530
20531 [BZ #7064]
20532 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20533 version from __vm86.
20534
097d59fa
JM
205352012-04-20 Joseph Myers <joseph@codesourcery.com>
20536
a90f3bcb
JM
20537 * sysdeps/unix/common/lxstat.c: Remove file.
20538 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20539
edc7ea78
JM
20540 * sysdeps/unix/sysv/Makefile: Remove file.
20541
cb78c221
JM
20542 * sysdeps/unix/sysv/direct.h: Remove file.
20543
efa6a45f
JM
20544 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20545 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20546 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20547 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20548 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20549 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20550 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20551
9c9f2d0c
JM
20552 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20553
4541c83b
JM
20554 * sysdeps/unix/xmknod.c: Remove file.
20555 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20556
f5d153a0
JM
20557 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20558
aa746595
JM
20559 * sysdeps/unix/sysv/i386/time.S: Remove file.
20560
cce5905e
JM
20561 * sysdeps/unix/fxstat.c: Remove file.
20562 * sysdeps/unix/xstat.c: Likewise.
20563 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20564
37fa3841
JM
20565 * sysdeps/unix/sysv/sigaction.c: Remove file.
20566
ff1962a3
JM
20567 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20568 (sysdep_headers): Remove variable.
20569 [termio.h not in sysdep_headers] (generated): Likewise.
20570 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20571 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20572 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20573 * sysdeps/unix/sysv/tcflow.c: Likewise.
20574 * sysdeps/unix/sysv/tcflush.c: Likewise.
20575 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20576 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20577 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20578 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20579 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20580
e7740d31
JM
20581 * sysdeps/unix/siglist.c: Remove file.
20582
ee06f18b
JM
20583 * sysdeps/unix/getppid.S: Remove file.
20584
097d59fa
JM
20585 * sysdeps/unix/mkdir.c: Remove file.
20586 * sysdeps/unix/rmdir.c: Likewise.
20587
ff3d51ec
AS
205882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20589
20590 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20591 ERR_MAX value.
20592 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20593 errlist-compat value.
20594
50f81fd7
DM
205952012-04-18 David S. Miller <davem@davemloft.net>
20596
20597 * sysdeps/generic/memcopy.h (reg_char): Delete.
20598 * debug/strcat_chk.c: Use char, not reg_char.
20599 * debug/strcpy_chk.c: Likewise.
20600 * debug/strncat_chk.c: Likewise.
20601 * debug/strncpy_chk.c: Likewise.
20602 * string/memchr.c: Likewise.
20603 * string/memrchr.c: Likewise.
20604 * string/rawmemchr.c: Likewise.
20605 * string/strcat.c: Likewise.
20606 * string/strchr.c: Likewise.
20607 * string/strchrnul.c: Likewise.
20608 * string/strcmp.c: Likewise.
20609 * string/strcpy.c: Likewise.
20610 * string/strncat.c: Likewise.
20611 * string/strncmp.c: Likewise.
20612 * string/strncpy.c: Likewise.
20613
8ff41c46
WS
206142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20615
20616 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20617 __builtin_memcopy is called when src and dest ranges are known to not
20618 overlap.
20619
6b652f46
WS
206202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20621
20622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20623 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20624 fwd_align_merge macro call.
20625 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20626 bwd_align_merge macro call.
20627 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20628
b282631e
WS
206292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20630
20631 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20632 bwd_align_merge macros.
20633 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20634 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20635 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20636
95aa737c
DM
206372012-04-18 David S. Miller <davem@davemloft.net>
20638
20639 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20640
7a99a614
AJ
206412012-04-18 Andreas Jaeger <aj@suse.de>
20642
20643 [BZ# 6794]
20644 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20645 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20647
20648 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20649 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20650 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20651
20652 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20653 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20654 Adjust for changed ldbl-128 files.
20655
20656 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20657 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20658 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20659
e5270c23
DM
206602012-04-17 David S. Miller <davem@davemloft.net>
20661
20662 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20663
fb5e92c9
AS
206642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20665
20666 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20667 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20668 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20669 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20670 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20671 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20672
76da7265
AZ
206732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20674
20675 [BZ #6794]
20676 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20677 * math/libm-test.inc: Add ilogb errno and exception tests.
20678 * math/w_ilogb.c: New file: ilogb wrapper.
20679 * math/w_ilogbf.c: New file: ilogbf wrapper.
20680 * math/w_ilogbl.c: New file: ilogbl wrapper.
20681 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20682 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20683 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20684 exception being thrown with 0.0 as argument.
20685 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20686 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20687 exception being thrown with 0.0 as argument.
20688 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20689 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20690 exception being thrown with 0.0 as argument.
20691 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20692 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20693 exception being thrown with 0.0 as argument.
20694 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20695 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20697 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20698 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20699 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20700 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20701 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20702 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20703
0396e69d
PB
207042012-04-17 Petr Baudis <pasky@ucw.cz>
20705
20706 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20707 with altivec.
20708
750b5926
MP
207092012-04-16 Marek Polacek <polacek@redhat.com>
20710
20711 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20712
751728a1
MP
207132012-04-16 Marek Polacek <polacek@redhat.com>
20714
20715 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20716 operands of fdivp instruction.
20717
34a27407
L
207182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20719
20720 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20721 * elf/tst-auditmod3b.c: Likewise.
20722 * elf/tst-auditmod4b.c: Likewise.
20723 * elf/tst-auditmod5b.c: Likewise.
20724 * elf/tst-auditmod6b.c: Likewise.
20725 * elf/tst-auditmod6c.c: Likewise.
20726 * elf/tst-auditmod7b.c: Likewise.
20727 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20728 * sysdeps/x86_64/preconfigure.in: Likewise.
20729 * sysdeps/x86_64/preconfigure: Regenerated.
20730
7e73e17d
L
207312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20732
20733 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20734 __ILP32__.
20735
c7a6ab72
AB
207362012-04-13 Antoine Balestrat <merkil33@gmail.com>
20737
20738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20739 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20740
a9e8e0e0
CL
207412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20742
20743 [BZ #13973]
20744 * locale/iso-639.def: Fix gl language name. Spotted by
20745 Yaron Shahrabani.
20746
ec98af7d
RM
207472012-04-12 Roland McGrath <roland@hack.frob.com>
20748
20749 [BZ #2074]
20750 * libio/libio.h (__io_write_fn): Update comment.
20751
247c3ede
PB
207522012-04-12 Petr Baudis <pasky@ucw.cz>
20753
20754 [BZ #2074]
20755 * stdio.texi (Hook Functions): The user provided writer function
20756 is not allowed to return -1.
20757
55939d6d
DM
207582012-04-11 David S. Miller <davem@davemloft.net>
20759
20760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20761
90020f5a
MF
207622012-04-11 Mike Frysinger <vapier@gentoo.org>
20763
20764 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20765 Add a leading slash to rtkaio.
20766
288f9098
JM
207672012-04-11 Jim Meyering <meyering@redhat.com>
20768
90020f5a
MF
20769 [BZ #11959]
20770 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20771 It is not necessarily an error to ignore fwrite's return
20772 value. One can reliably use ferror to test for errors after
20773 the fact.
288f9098 20774
4be2b570
L
207752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 * bits/types.h (__snseconds_t): New type.
20778 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20779
20780 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20782 (__SNSECONDS_T_TYPE): Likewise.
20783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20784 (__SNSECONDS_T_TYPE): Likewise.
20785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20786 (__SNSECONDS_T_TYPE): Likewise.
20787
288f9098 207882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20789
20790 [BZ #2636]
20791 * manual/time.texi (Processor Time): Return type of times is
20792 elapsed real time since an arbitrary point in the past.
20793 (CPU Time): Move CLK_TCK from here...
20794 (Processor Time): ...to here. Correct description.
20795 * manual/conf.texi (Constants for Sysconf): Correct description of
20796 _SC_CLK_TCK.
20797
d7dd4413
DM
207982012-04-10 David S. Miller <davem@davemloft.net>
20799
20800 [BZ #13967]
20801 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20802 where the is a gap between DT_REL(A) and DT_JMPREL.
20803
b46068fc
L
208042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20805
20806 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20807 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20808 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20809
73d65cc3
SP
208102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20811
20812 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20813 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20814 (dl_main): Handle --inhibit-cache.
20815 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20816 _dl_inhibit_cache.
20817 * elf/dl-load.c (_dl_map_object): Use it.
20818 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20819
bcc8d661
JM
208202012-04-09 Joseph Myers <joseph@codesourcery.com>
20821
8f9a2fae
JM
20822 [BZ #13872]
20823 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20824 (__ieee754_powl): Saturate large exponents rather than testing for
20825 overflow of y*log2(x).
20826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20827 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20828 exceptions.
20829
bcc8d661
JM
20830 [BZ #11521]
20831 * math/s_ctan.c: Include <float.h>.
20832 (__ctan): Avoid internal overflow or cancellation in calculating
20833 denominator.
20834 * math/s_ctanf.c: Likewise.
20835 * math/s_ctanl.c: Likewise.
20836 * math/s_ctanh.c: Likewise.
20837 * math/s_ctanhf.c: Likewise.
20838 * math/s_ctanhl.c: Likewise.
20839 * math/libm-test.inc (ctan_test): Add more tests.
20840 (ctanh_test): Likewise.
20841 * sysdeps/i386/fpu/libm-test-ulps: Update.
20842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20843
823fbbb4
AJ
208442012-04-09 Andreas Jaeger <aj@suse.de>
20845
03879793
AJ
20846 [BZ #6894]
20847 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20848 is an optional BSD extension.
20849
823fbbb4
AJ
20850 [BZ #10254]
20851 * manual/stdio.texi (Opening Streams): Document additional fopen
20852 parameters.
20853
8de131cb
RM
208542012-04-09 Roland McGrath <roland@hack.frob.com>
20855
20856 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20857 %eax without telling the compiler.
20858
c0ed9d7d
CD
208592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20860
20861 [BZ # 13963]
20862 * manual/install.texi: Use sourceware.org.
20863
c483f6b4
JM
208642012-04-09 Joseph Myers <joseph@codesourcery.com>
20865
d7dd9453
JM
20866 [BZ #13873]
20867 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20868 (__ieee754_pow): Generate overflow and underflow using huge*huge
20869 and tiny*tiny rather than just returning constant infinity or zero
20870 for large exponents.
20871 * math/libm-test.inc (pow_test): Require overflow exceptions for
20872 applicable cases of large exponents.
20873
c483f6b4
JM
20874 [BZ #706]
20875 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20876 (__ieee754_pow): Use iterative multiplication algorithm only for
20877 integer exponents with absolute value below 1024. Check for odd
20878 integer exponents when using algorithm for real exponents.
20879 * math/libm-test.inc (pow_test): Add more tests.
20880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20881
d2de7579
JM
208822012-04-08 Joseph Myers <joseph@codesourcery.com>
20883
20884 [BZ #13705]
20885 * math/libm-test.inc (exp_test): Do not allow overflow exception
20886 on underflow test.
20887
f77f1232
AJ
208882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20889
20890 [BZ #13705]
20891 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20892 instead of __kernel_standard_f.
20893
3884932b
MF
208942012-04-08 Mike Frysinger <vapier@gentoo.org>
20895
20896 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20897 * sysdeps/x86_64/memset_chk.S: Likewise.
20898
54472e9c
AJ
208992012-04-08 Andreas Jaeger <aj@suse.de>
20900
6ab0fbfc
AJ
20901 [BZ #10153]
20902 * manual/startup.texi (Environment Access): Describe return value
20903 for putenv and setenv.
20904
61efba8c
AJ
20905 [BZ #6895]
20906 * manual/filesys.texi (Directory Entries): Add description for
20907 DT_LNK.
20908
95c3f29a
AJ
20909 [BZ #6890]
20910 * manual/filesys.texi (Directory Entries): Clarify that it's file
20911 system not operating system in the description of DT_UNKNOWN.
20912
54472e9c
AJ
20913 [BZ #6578]
20914 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20915
624254b1
SC
209162012-04-08 Stephen Compall <s11@member.fsf.org>
20917
20918 [BZ #6649]
20919 * manual/llio.texi (Opening and Closing Files): Add cross
20920 reference to explain mode argument.
20921
1e4920e0
MF
209222012-04-07 Mike Frysinger <vapier@gentoo.org>
20923
20924 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20925 * sysdeps/x86_64/memset_chk.S: Likewise.
20926
5ed848f3
DM
209272012-04-07 David S. Miller <davem@davemloft.net>
20928
20929 * elf/elf.h (R_SPARC_WDISP10): Define.
20930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20931 R_SPARC_SIZE32.
20932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20933 R_SPARC_SIZE64 and R_SPARC_H34.
20934
96154cd8
CD
209352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20936
20937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20938 conditions and remove no longer applicable assertion.
20939
9904dc47
L
209402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20941
20942 * bits/byteswap.h: Include <features.h>.
20943 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20944 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20945
f8887d0a
L
209462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 * bits/byteswap.h (__bswap_16): Removed.
20949 Include <bits/byteswap-16.h> to get __bswap_16.
20950 * sysdeps/i386/bits/byteswap.h: Likewise.
20951 * sysdeps/s390/bits/byteswap.h: Likewise.
20952 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20953 * bits/byteswap-16.h: New file.
20954 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20955 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20956 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20957 * string/Makefile (headers): Add bits/byteswap-16.h.
20958
62470f60
PP
209592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20960
20961 [BZ #13895]
20962 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20963 extra indirection.
20964 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20965 * nss/tst-nss-static.c: New.
20966
4dad7bab
RM
209672012-04-06 Robert Millan <rmh@gnu.org>
20968
20969 [BZ #6486]
20970 * manual/llio.texi (File Position Primitive): lseek
20971 refers to WHENCE when it really means OFFSET.
20972
e9142a17
AJ
209732012-04-06 Andreas Jaeger <aj@suse.de>
20974
2c040eff
AJ
20975 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20976 strncmp declarations.
20977
e9142a17
AJ
20978 * abilist/libc.abilist: Add __poll and __ppoll.
20979
ff9f1c5f
DM
209802012-04-05 David S. Miller <davem@davemloft.net>
20981
dcd2ae90
DM
20982 * scripts/check-local-headers.sh: Accept a host triplet in the
20983 path matched by the exclude regexp.
20984
993eb054
DM
20985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20986 definition.
20987 * sysdeps/powerpc/powerpc32/dl-machine.h
20988 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20989 * sysdeps/s390/s390-32/dl-machine.h
20990 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20991 * sysdeps/sparc/sparc32/dl-machine.h
20992 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20993 * sysdeps/sparc/sparc64/dl-machine.h
20994 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20995
ff9f1c5f
DM
20996 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20997 lazy binding.
48e2e132 20998 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20999 undefined symbol errors.
21000
48e2e132 21001 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21002 DT_NEEDED entries.
21003
e80d6f94
MM
210042012-04-05 Michael Matz <matz@suse.de>
21005
21006 [BZ #13592]
21007 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21008
349fa79f
AJ
210092012-04-05 Andreas Jaeger <aj@suse.de>
21010
21011 [BZ #13908]
21012 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21013 comment.
21014
f402708f
KK
210152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21016
21017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21018 which ROUND is no valid rounding mode.
21019
2ecccfc9
KK
210202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21021
21022 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21023 read again.
21024 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21025
8a53f50f
KK
210262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21027
21028 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21029 an exception using FPU order intentionally.
21030
210312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21032
21033 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21034 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21035 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21036 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21037
d653abb7
SJ
210382012-04-05 Simon Josefsson <simon@josefsson.org>
21039
21040 [BZ #12340]
21041 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21042 EINVAL when BUFLEN is too smal.
21043
c3b1bf7d
TS
210442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21045
21046 [BZ #13553]
21047 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21048 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21049
b1aa60f3
AJ
210502012-04-03 Andreas Jaeger <aj@suse.de>
21051
c3b1bf7d 21052 [BZ #13938]
67f60a26
AJ
21053 * manual/setjmp.texi (System V contexts): Fix sentence.
21054
b1aa60f3
AJ
21055 [BZ #13926]
21056 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21057 New macro for this case.
21058 [!__GNUC__] (__bswap_64): New inline function for this case.
21059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21060 * bits/byteswap.h: Likewise.
21061 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21062 ull, guard with __GLIBC_HAVE_LONG_LONG.
21063
21064 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21065 __GLIBC_HAVE_LONG_LONG.
21066
21067 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21068 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21069
39c59c35
TMQMF
210702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21071
21072 [BZ #13691]
21073 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21074 inptr and inend, rather than using last_ch.
21075
135ffda8
DM
210762012-04-02 David S. Miller <davem@davemloft.net>
21077
21078 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21079 * stdio-common/printf-parse.h (read_int): Change return type to
21080 'int', return -1 on INT_MAX overflow.
21081 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21082 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21083 overflows INT_MAX. Check for overflow of in-format-string precision
21084 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21085 SIZE_MAX not INT_MAX for integer overflow test.
21086 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21087 skip the construct in the format string but do not record anything.
21088 * stdio-common/bug22.c: Adjust to test both width/prevision
21089 INT_MAX overflow as well as total length INT_MAX overflow. Check
21090 explicitly for proper errno values.
21091
228c019e
TS
210922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21093
302cadd3
TS
21094 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21095 CHAR_MAX.
21096 * string/test-strcmp.c [! WIDE]: Likewise.
21097 * time/tst-mktime2.c: Likewise for INT_MAX.
21098 * string/test-string.h: #include <sys/param.h> for MIN.
21099
228c019e
TS
21100 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21101 * sysdeps/i386/init-first.c (init): Likewise.
21102 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21103 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21104 * sysdeps/sh/init-first.c (init): Likewise.
21105
cfa633f5
UD
211062012-04-01 Ulrich Drepper <drepper@gmail.com>
21107
21108 * po/ru.po: Update from translation team.
d1635ef8 21109 * po/vi.po: Likewise.
cfa633f5 21110
6cd0a5ea
SP
211112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21112
21113 * resolv/nss_dns/dns-host.c: Merge copyright years.
21114
4b43400f
LD
211152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21116
21117 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21118 Optimize memcpy with prefetch if
21119 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21120 src, dst pointers have unequal 16 byte alignments.
21121
48c41d04
SP
211222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21123
21124 [BZ #13928]
21125 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21126 from a CNAME entry and return the minimum ttl for the query.
21127 (gaih_getanswer_slice): Likewise.
21128
b8dc394d
JL
211292012-03-30 Jeff Law <law@redhat.com>
21130
21131 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21132 due to long keys.
21133 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21134 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21135
2f5a5ed0
JL
21136 * resolv/nss_dns/dns-host.c: Update copyright year.
21137
1d39e359
UD
211382012-03-30 Ulrich Drepper <drepper@gmail.com>
21139
c030f70c 21140 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21141 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21142
1d39e359
UD
21143 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21144 comments for sendmmsg.
21145
211462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21147
21148 [BZ #13691]
21149 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21150 with only 1 character between 0x0041 and 0x01b0.
21151 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21152 * wcsmbs/tst-mbsnrtowcs.c: New file.
21153
20fde227
DM
211542012-03-29 David S. Miller <davem@davemloft.net>
21155
21156 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21157 small copies by hand.
21158
984a4237
JL
211592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21160
21161 [BZ #13761]
21162 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21163 _nss_compat_initgroups_dyn): Fall back to malloc/free
21164 for large group memberships.
21165
18c9d62b
DM
211662012-03-28 David S. Miller <davem@davemloft.net>
21167
88d85d4f
DM
21168 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21169 that branches into memcpy.
21170 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21171 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21173 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21175 bits.
21176 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21177 implementation too.
21178 * sysdeps/sparc/mempcpy.S: New file.
21179
e5aa83e1
DM
21180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21181 the IFUNC routine in the libc case.
21182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21183
88570753
DM
21184 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21185 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21186 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21187 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21188 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21189 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21190 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21191 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21192
249d7567
DM
21193 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21194 loop to 256 bytes instead of 64 bytes and fix test signedness.
21195
18c9d62b
DM
21196 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21197 * sysdeps/sparc/sparc32/Makefile: rather than here...
21198 * sysdeps/sparc/sparc64/Makefile: and here.
21199
05f3d1f6
UD
212002012-03-28 Ulrich Drepper <drepper@gmail.com>
21201
21202 * malloc/mallocbug.c: Avoid warnings about unused variables.
21203
86ae07a8
JL
212042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21205
21206 [BZ #13760]
21207 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21208 in the right place. Discard and retry query if response is
21209 larger than input buffer size.
21210
41bf21a1
JM
212112012-03-28 Joseph Myers <joseph@codesourcery.com>
21212
d6270972
JM
21213 [BZ #369]
21214 [BZ #2678]
21215 [BZ #3866]
21216 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21217 x for large integer exponent.
21218 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21219 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21220 sign of result as needed afterwards.
21221 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21222 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21223 result for underflowing pow the same as for overflow.
21224 (__kernel_standard_l): Handle powl overflow and underflow here
21225 rather than calling __kernel_standard.
21226 * math/libm-test.inc (pow_test): Add more tests.
21227
414fca03 21228 [BZ #3868]
41bf21a1
JM
21229 [BZ #13879]
21230 [BZ #13910]
21231 [BZ #13911]
21232 [BZ #13912]
21233 [BZ #13913]
21234 [BZ #13915]
21235 [BZ #13916]
21236 [BZ #13917]
21237 [BZ #13918]
21238 [BZ #13919]
21239 [BZ #13920]
21240 [BZ #13921]
21241 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21242 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21243 (__kernel_standard_l): New function.
21244 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21245 __kernel_standard.
21246 * math/w_acosl.c (__acosl): Likewise.
21247 * math/w_asinl.c (__asinl): Likewise.
21248 * math/w_atan2l.c (__atan2l): Likewise.
21249 * math/w_atanhl.c (__atanhl): Likewise.
21250 * math/w_coshl.c (__coshl): Likewise.
21251 * math/w_exp10l.c (__exp10l): Likewise.
21252 * math/w_exp2l.c (__exp2l): Likewise.
21253 * math/w_fmodl.c (__fmodl): Likewise.
21254 * math/w_hypotl.c (__hypotl): Likewise.
21255 * math/w_j0l.c (__j0l, __y0l): Likewise.
21256 * math/w_j1l.c (__j1l, __y1l): Likewise.
21257 * math/w_jnl.c (__jnl, __ynl): Likewise.
21258 * math/w_lgammal.c (__lgammal): Likewise.
21259 * math/w_log10l.c (__log10l): Likewise.
21260 * math/w_log2l.c (__log2l): Likewise.
21261 * math/w_logl.c (__logl): Likewise.
21262 * math/w_powl.c (__powl): Likewise.
21263 * math/w_remainderl.c (__remainderl): Likewise.
21264 * math/w_scalbl.c (sysv_scalbl): Likewise.
21265 * math/w_sinhl.c (__sinhl): Likewise.
21266 * math/w_sqrtl.c (__sqrtl): Likewise.
21267 * math/w_tgammal.c (__tgammal): Likewise.
21268 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21269 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21270 * math/libm-test.inc (acos_test): Add more tests.
21271 (acosh_test): Likewise.
21272 (asin_test): Likewise.
21273 (atanh_test): Likewise.
21274 (exp_test): Likewise.
21275 (exp10_test): Likewise.
21276 (exp2_test): Likewise.
21277 (expm1_test): Likewise.
21278 (lgamma_test): Likewise.
21279 (log_test): Likewise.
21280 (log10_test): Likewise.
21281 (log1p_test): Likewise.
21282 (log2_test): Likewise.
21283 (pow_test): Do not allow some spurious overflow exceptions.
21284 (sqrt_test): Add more tests.
21285 (tgamma_test): Likewise.
21286 (y0_test): Likewise.
21287 (y1_test): Likewise.
21288 (yn_test): Likewise.
21289
dd62fda6
AB
212902012-03-27 Anton Blanchard <anton@samba.org>
21291
21292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21293 MAP_HUGETLB.
21294 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21296 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21297
1e3cdfda
AJ
212982012-03-27 David S. Miller <davem@davemloft.net>
21299
b855ab85
DM
21300 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21301
1e3cdfda
AJ
21302 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21303 have-as-vis3 check.
21304
213052012-03-27 Andreas Jaeger <aj@suse.de>
21306
21307 * sysdeps/x86_64/elf/configure.in: Moved to ...
21308 * sysdeps/x86_64/configure.in: ... here.
21309 * sysdeps/x86_64/elf/start.S: Moved to ...
21310 * sysdeps/x86_64/start.S: ... here.
21311 * sysdeps/x86_64/elf/configure: Delete.
21312
21313 * sysdeps/x86_64/configure.in: Merge contents from
21314 sysdeps/i386/configure.in (without i686 check).
21315
21316 * sysdeps/i386/elf/Versions: Merge into ...
21317 * sysdeps/i386/Versions: ... this.
21318 * sysdeps/i386/elf/Versions: Delete file.
21319 * sysdeps/i386/elf/start.S: Moved to ...
21320 * sysdeps/i386/start.S: ...here.
21321 * sysdeps/i386/elf/configure.in: Merge into...
21322 * sysdeps/i386/configure.in: ...here.
21323 * sysdeps/i386/elf/configure.in: Delete file.
21324 * sysdeps/i386/elf/configure: Delete file.
21325
21326 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21327 * debug/backtracesyms.c: ... here.
21328 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21329 * debug/backtracesymsfd.c: ... here.
21330 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21331 * sysdeps/generic/ifunc-sel.h: ... here.
21332
21333 * sysdeps/unix/i386/start.c: Delete file.
21334 * sysdeps/unix/sparc/start.c: Delete file.
21335 * sysdeps/unix/start.c: Delete file.
21336
21337 * sysdeps/sh/elf/configure.in: Moved to ...
21338 * sysdeps/sh/configure.in: ... here.
21339 * sysdeps/sh/elf/start.S: Moved to ...
21340 * sysdeps/sh/start.S: ... here.
21341 * sysdeps/sh/elf/configure: Delete file.
21342
21343 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21344 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21345 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21346 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21347 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21348 * sysdeps/powerpc/powerpc64/start.S: here.
21349 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21350 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21351 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21352 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21353 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21354
21355 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21356 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21357 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21358 * sysdeps/powerpc/powerpc32/start.S: ... here.
21359 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21360 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21361 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21362
21363 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21364 * sysdeps/powerpc/ifunc-sel.h: ... here.
21365 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21366 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21367
21368 * sysdeps/sparc/elf/configure.in: Moved to ...
21369 * sysdeps/sparc/configure.in: ... here.
21370 * sysdeps/sparc/elf/configure: Delete file.
21371 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21372 * sysdeps/sparc/sparc32/start.S: ... here.
21373 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21374 * sysdeps/sparc/sparc64/start.S: ... here.
21375 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21376 * sysdeps/sparc/sparc32/Makefile: ... this.
21377 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21378 * sysdeps/sparc/sparc64/Makefile: ... this.
21379
21380 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21381 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21382 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21383 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21384 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21385 * sysdeps/s390/s390-32/setjmp.S: ... here.
21386 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21387 * sysdeps/s390/s390-32/configure.in: ... here.
21388 * sysdeps/s390/s390-32/elf/configure: Delete file.
21389 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21390 * sysdeps/s390/s390-32/start.S: ... here.
21391
21392 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21393 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21394 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21395 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21396 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21397 * sysdeps/s390/s390-64/setjmp.S: ... here.
21398 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21399 * sysdeps/s390/s390-64/configure.in: ... here
21400 * sysdeps/s390/s390-64/elf/configure: Delete file.
21401 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21402 * sysdeps/s390/s390-64/start.S: ... here.
21403 * sysdeps/s390/s390-64/elf/configure: Delete.
21404
21405 * configure.in: Remove support for elf directories in sysdeps.
21406
21407 * configure: Regenerated.
21408 * sysdeps/i386/configure: Regenerated.
21409 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21410 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21411 * sysdeps/s390/s390-32/configure: Regenerated.
21412 * sysdeps/s390/s390-64/configure: Regenerated.
21413 * sysdeps/sh/configure: Regenerated.
21414 * sysdeps/sparc/configure: Regenerated.
21415 * sysdeps/x86_64/configure: Regenerated.
21416
a3f61311
AS
214172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21418
c876e002
AS
21419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21420
a3f61311
AS
21421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21422 denormal result into account.
21423
ac4c54f0
RM
214242012-03-25 Roland McGrath <roland@hack.frob.com>
21425
21426 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21427 Reported by Allan McRae <allan@archlinux.org>.
21428
6a9b9c02
JL
214292012-03-23 Jeff Law <law@redhat.com>
21430
21431 * nss/getnssent.c (__nss_getent): Fix typo.
21432
4c42a0c1
DM
214332012-03-23 David S. Miller <davem@davemloft.net>
21434
21435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21436
1532c7ac
L
214372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21438
21439 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21440 to pad to uint64_t for each field.
21441 (dl_tls_index): Replace unsigned long with uint64_t.
21442
3ff42526
PP
214432012-03-23 Daniel Jacobowitz <dmj@google.com>
21444 Paul Pluzhnikov <ppluzhnikov@google.com>
21445
21446 [BZ #6528]
21447 * grp/Makefile (otherlibs): Don't set it.
21448 * inet/Makefile (otherlibs): Likewise.
21449 * login/Makefile (otherlibs): Likewise.
21450 * nscd/Makefile (otherlibs): Likewise.
21451 * posix/Makefile (otherlibs): Likewise.
21452 * pwd/Makefile (otherlibs): Likewise.
21453 * rt/Makefile (otherlibs): Likewise.
21454 * sunrpc/Makefile (otherlibs): Likewise.
21455 * nss/Makefile (otherlibs): Likewise.
21456 Add libnss_files to routines and static-only-routines.
21457 ($(objpfx)getent): Remove rule.
21458 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21459 static-only-routines.
21460
7c69cd14
JM
214612012-03-22 Joseph Myers <joseph@codesourcery.com>
21462
21463 [BZ #13892]
21464 * math/s_cexp.c: Include <float.h>.
21465 (__cexp): Handle exp result overflowing not necessarily
21466 overflowing both real and imaginary parts of result.
21467 * math/s_cexpf.c: Likewise.
21468 * math/s_cexpl.c: Likewise.
21469 * math/libm-test.inc (cexp_test): Add more tests.
21470 * sysdeps/i386/fpu/libm-test-ulps: Update.
21471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21472
81b035fe
L
214732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * include/link.h (ELFW): New macro.
21476 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21477 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21478
1da7940c
L
214792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21480
21481 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21482 with uint64_t.
21483
b749dbb9
L
214842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21485
21486 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21487 declaration.
21488 (struct La_x32_retval): Likewise.
21489
2ff87f3f
L
214902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21491
21492 * sysdeps/x86_64/preconfigure.in: New file.
21493 * sysdeps/x86_64/preconfigure: New generated file.
21494
c0df8e69
JM
214952012-03-22 Joseph Myers <joseph@codesourcery.com>
21496
48e44791
JM
21497 [BZ #13824]
21498 * math/e_exp2l.c: Include <float.h>.
21499 (__ieee754_exp2l): Handle overflow and underflow cases
21500 separately. Only pass fractional part of argument to
21501 __ieee754_expl.
21502 * math/libm-test.inc (exp2_test): Add more tests.
21503
c0df8e69
JM
21504 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21505 negating x to take absolute value.
21506 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21507 Likewise.
21508 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21509 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21510 Likewise.
21511 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21512 computing low part if x was negated.
21513 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21514
c8e43ba7
L
215152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21516
21517 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21518 la_x32_gnu_pltexit.
21519 (pltexit): Cast int_retval to ptrdiff_t.
21520 * elf/tst-auditmod3b.c: Likewise.
21521 * elf/tst-auditmod4b.c: Likewise.
21522 * elf/tst-auditmod5b.c: Likewise.
21523 * elf/tst-auditmod6b.c: Likewise.
21524 * elf/tst-auditmod6c.c: Likewise.
21525 * elf/tst-auditmod7b.c: Likewise.
21526
21527 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21528 and x32_gnu_pltexit.
21529
21530 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21531 __ELF_NATIVE_CLASS.
21532 (La_x32_regs): New macro.
21533 (La_x32_retval): Likewise.
21534 (la_x32_gnu_pltenter): New function prototype.
21535 (la_x32_gnu_pltexit): Likewise.
21536
7998fa78
AS
215372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21538
dcb33988
AS
21539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21540 exponent.
21541
233fc563
AS
21542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21543
7998fa78
AS
21544 * configure.in (libc_cv_cc_nofma): Check for option to disable
21545 generation of FMA instructions.
21546 * configure: Regenerate.
21547 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21548 * sysdeps/ieee754/dbl-64/Makefile: New file.
21549 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21550 Remove brandred-fma4.
21551 (CFLAGS-brandred-fma4.c): Remove.
21552 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21554 define.
21555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21556 define.
21557
8e95c99a
L
215582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21559
21560 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21561 LLONG_MAX != LONG_MAX.
21562 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21563 (_fitoa_word): Likewise.
21564 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21565 LLONG_MAX != LONG_MAX.
21566 * stdio-common/_itowa.h: Include <_itoa.h>.
21567 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21568 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21569 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21570 only if not defined.
21571 (_ITOA_WORD_TYPE): Likewise.
21572 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21573 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21574
6f4db457
DM
215752012-03-21 David S. Miller <davem@davemloft.net>
21576
21577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21578
7785fe5a
L
215792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21582 of x86_64 when setting libc_cv_slibdir, libdir and
21583 libc_cv_localedir.
21584 * sysdeps/unix/sysv/linux/configure: Regenerated.
21585
4535cd55
JM
215862012-03-21 Joseph Myers <joseph@codesourcery.com>
21587
21588 * manual/lang.texi (Old Varargs): Remove section.
21589 (How Variadic): Update menu.
21590 (va_start): Do not mention varargs.h.
21591
17228132
TS
215922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21593 Joseph Myers <joseph@codesourcery.com>
21594
21595 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21596 link test.
21597 * configure: Regenerated.
21598
8149f976
TS
215992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21600
05f3d1f6
UD
21601 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21602 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21603 conformtest.pl
8149f976 21604
1a4ac776
JM
216052012-03-21 Joseph Myers <joseph@codesourcery.com>
21606
be22ce65
JM
21607 * NOTES: Remove.
21608 * Makefile (files-for-dist): Remove NOTES.
21609 (NOTES): Remove rule.
21610 * README: Don't refer to NOTES.
21611 * manual/creature.texi: Don't include macros.texi.
21612 * manual/intro.texi (creature.texi): Remove comment referring to
21613 NOTES.
21614
40b601fb
JM
21615 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21616 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21617 * configure: Regenerated.
21618 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21619 LIBC_TRY_CC_OPTION.
21620 (libc_cv_as_i686): Likewise.
21621 (libc_cv_cc_avx): Likewise.
21622 (libc_cv_cc_sse2avx): Likewise.
21623 (libc_cv_cc_fma4): Likewise.
21624 (libc_cv_cc_novzeroupper): Likewise.
21625 * sysdeps/i386/configure: Regenerated.
21626
1a4ac776
JM
21627 [BZ #13883]
21628 * sysdeps/i386/fpu/s_cexp.S: Remove.
21629 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21630 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21631 * math/libm-test.inc (cexp_test): Add more tests.
21632 * sysdeps/i386/fpu/libm-test-ulps: Update.
21633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21634
a458e7fe
AM
216352012-03-21 Allan McRae <allan@archlinux.org>
21636
21637 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21638
0cb7efc5
JM
216392012-03-21 Joseph Myers <joseph@codesourcery.com>
21640
21641 [BZ #13871]
21642 * math/w_exp2.c: Do not include <float.h>.
21643 (o_threshold, u_threshold): Remove.
21644 (__exp2): Calculate result before checking finiteness and calling
21645 __kernel_standard.
21646 * math/w_exp2f.c: Likewise.
21647 * math/w_exp2l.c: Likewise.
21648 * math/libm-test.inc (exp2_test): Require overflow exception for
21649 1e6 input.
2460d3aa
JM
21650
21651 [BZ #3866]
21652 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21653 range of signed 64-bit integers before using fistpll. Remove
21654 checks for whether integers fit in mantissa bits.
21655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21656 the range of signed 32-bit integers before using fistpl. Remove
21657 checks for whether integers fit in mantissa bits.
21658 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21659 (__ieee754_powl): Test for y outside the range of signed 64-bit
21660 integers before using fistpll. Reduce 64-bit values to 63-bit
21661 ones as needed.
21662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21663 divide-by-zero is raised for zero to large negative powers.
21664 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21665 (__ieee754_powl): Test for y outside the range of signed 64-bit
21666 integers before using fistpll. Reduce 64-bit values to 63-bit
21667 ones as needed.
21668 * math/libm-test.inc (pow_test): Add more tests.
21669
eb96ffb0
L
216702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21671
21672 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21673 <stdio-common/_itoa.h>.
21674 * debug/segfault.c: Likewise.
21675 * elf/dl-cache.c: Likewise.
21676 * elf/dl-minimal.c: Likewise.
21677 * elf/dl-misc.c: Likewise.
21678 * elf/dl-sysdep.c: Likewise.
21679 * elf/dl-version.c: Likewise.
21680 * elf/rtld.c: Likewise.
21681 * hurd/hurdsock.c: Likewise.
21682 * hurd/lookup-retry.c: Likewise.
21683 * malloc/malloc.c: Likewise.
21684 * malloc/mtrace.c: Likewise.
21685 * nscd/nscd_getgr_r.c: Likewise.
21686 * nscd/nscd_getpw_r.c: Likewise.
21687 * nscd/nscd_getserv_r.c: Likewise.
21688 * posix/getopt_init.c: Likewise.
21689 * posix/wordexp.c: Likewise.
21690 * stdio-common/_itoa.c: Likewise.
21691 * stdio-common/printf_fphex.c: Likewise.
21692 * stdio-common/vfprintf.c: Likewise.
21693 * string/_strerror.c: Likewise.
21694 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21695 * sysdeps/i386/i686/hp-timing.h: Likewise.
21696 * sysdeps/mach/_strerror.c: Likewise.
21697 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21698 * sysdeps/mach/hurd/sethostid.c: Likewise.
21699 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21700 * sysdeps/mach/xpg-strerror.c: Likewise.
21701 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21703 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21704 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21705 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21706 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21708 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21709 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21710 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21711 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21712 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21713 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21714 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21715 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21716 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21717 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21718 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21719 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21720 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21721 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21722
21723 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21724
21725 * stdio-common/_itoa.h: Moved to ...
21726 * sysdeps/generic/_itoa.h: Here.
21727
21728 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21729
21730 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21731 instead of "_itoa.h" and "_itowa.h".
21732 * stdio-common/vfprintf.: Likewise.
21733
d1af992d
L
217342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21735
21736 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21737 <bits/wordsize.h>.
21738 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21739 (__signbit): Likwise.
21740 (llrintf): Likwise.
21741 (llrint): Likwise.
21742
114883e0
L
217432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21746 __WORDSIZE != 64.
21747
c135cc1b
JM
217482012-03-20 Joseph Myers <joseph@codesourcery.com>
21749
21750 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21751 OVERFLOW_EXCEPTION_OK.
21752 * math/libm-test.inc ("Philosophy"): Update comment about
21753 exception testing.
21754 (OVERFLOW_EXCEPTION): Define.
21755 (OVERFLOW_EXCEPTION_OK): Likewise.
21756 (INVALID_EXCEPTION_OK): Renumber.
21757 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21758 (IGNORE_ZERO_INF_SIGN): Likewise.
21759 (test_exceptions): Handle FE_OVERFLOW.
21760 (exp10_test): Expect overflow exceptions.
21761 (exp2_test): Likewise.
21762 (expm1_test): Likewise.
21763 (nextafter_test): Likewise.
21764 (pow_test): Likewise.
21765 (scalbn_test): Likewise.
21766 (scalbln_test): Likewise.
21767
95443d88
L
217682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21769
21770 * sysdeps/x86_64/bits/atomic.h
21771 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21772 64bit integer.
21773 (atomic_exchange_acq): Likewise.
21774 (__arch_exchange_and_add_body): Likewise.
21775 (__arch_add_body): Likewise.
21776 (atomic_add_negative): Likewise.
21777 (atomic_add_zero): Likewise.
21778
490df6c4
L
217792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21780
c2722551 21781 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21782 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21783
5e52b189
L
217842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21785
21786 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21787 Check __x86_64__ instead of __WORDSIZE.
21788
a9879d4c
L
217892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21790
21791 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21792
5df98260
DM
217932012-03-19 David S. Miller <davem@davemloft.net>
21794
e1497744
DM
21795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21796
5df98260
DM
21797 * sysdeps/sparc/fpu/fenv_private.h: New file.
21798 * sysdeps/sparc/fpu/math_private.h: Use it.
21799 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21800 Remove.
21801 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21802 (libc_feholdexcept_setroundl): Remove.
21803 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21804 Remove.
21805 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21806 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21807
b4c35121
L
218082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21811 int64_t instead of long int.
21812 (INSERT_WORDS64): Likwise.
21813
56965fd7
L
218142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21815
21816 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21817 _Unwind_GetCFA return to _Unwind_Ptr first.
21818
83d1aec8
JM
218192012-03-19 Joseph Myers <joseph@codesourcery.com>
21820
1897ad44
JM
21821 [BZ #13629]
21822 * math/s_clog.c: Include <float.h>.
21823 (__clog): Scale large or subnormal inputs.
21824 * math/s_clogf.c: Likewise.
21825 * math/s_clogl.c: Likewise.
21826 * math/s_clog10.c: Include <float.h>.
21827 (M_LOG10_2): Define.
21828 (__clog10): Scale large or subnormal inputs.
21829 * math/s_clog10f.c: Likewise.
21830 * math/s_clog10l.c: Likewise.
21831 * math/libm-test.inc (clog_test): Add more tests.
21832 (clog10_test): Likewise.
21833 * sysdeps/i386/fpu/libm-test-ulps: Update.
21834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21835
7726d6a9
JM
21836 [BZ #11451]
21837 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21838 x and y.
21839 * math/libm-test.inc (atan2_test): Add another test.
21840
83d1aec8
JM
21841 * Makerules (common-objdir-compile): Remove.
21842 * sysdeps/unix/Makefile (config-generated): Do not add
21843 $(unix-generated) to variable.
21844 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21845 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21846 Remove rule.
21847 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21848 Likewise.
21849 [generic bits/local_lim.h] (before-compile): Do not append to
21850 variable.
21851 [generic bits/local_lim.h] (common-generated): Likewise.
21852 [generic sys/param.h] (before-compile): Do not append to variable.
21853 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21854 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21855 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21856 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21857 include.
21858 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21859 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21860 [generic sys/param.h] ($(addprefix
21861 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21862 [generic sys/param.h] (common-generated): Do not append to
21863 variable.
21864 [generic sys/param.h] (sysdep_headers): Likewise.
21865 [generic bits/errno.h] (before-compile): Do not append to
21866 variable.
21867 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21868 rule.
21869 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21870 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21871 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21872 [generic bits/errno.h] (common-generated): Do not append to
21873 variable.
21874 [generic bits/ioctls.h] (before-compile): Do not append to
21875 variable.
21876 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21877 rule.
21878 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21879 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21880 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21881 rule.
21882 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21883 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21884 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21885 [generic bits/ioctls.h] (common-generated): Do not append to
21886 variable.
21887 [generic sys/syscall.h] (syscall.h): Remove variable.
21888 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21889 rule.
21890 [generic sys/syscall.h] (before-compile): Do not append to
21891 variable.
21892 [generic sys/syscall.h] (common-generated): Likewise.
21893 * sysdeps/unix/errnos-tmpl.c: Remove file.
21894 * sysdeps/unix/errnos.awk: Likewise.
21895 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21896 * sysdeps/unix/ioctls.awk: Likewise.
21897 * sysdeps/unix/mk-local_lim.c: Likewise.
21898 * sysdeps/unix/snarf-ioctls: Likewise.
21899
4851a949
RH
219002012-03-19 Richard Henderson <rth@twiddle.net>
21901
bd37f2ee
RH
21902 * sysdeps/i386/fpu/fenv_private.h: New file.
21903 * sysdeps/i386/fpu/math_private.h: Use it.
21904 (math_opt_barrier, math_force_eval): Remove.
21905 (libc_feholdexcept_setround_53bit): Remove.
21906 (libc_feupdateenv_53bit): Remove.
21907 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21908 (math_opt_barrier, math_force_eval): Remove.
21909 (libc_feholdexcept): Remove.
21910 (libc_feholdexcept_setround): Remove.
21911 (libc_fetestexcept, libc_fesetenv): Remove.
21912 (libc_feupdateenv_test): Remove.
21913 (libc_feupdateenv, libc_feholdsetround): Remove.
21914 (libc_feresetround): Remove.
21915
d0adc922
RH
21916 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21917 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21918
0fe0f1f8
RH
21919 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21920 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21921 (libc_feupdateenv_testl): New.
21922 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21923 (libc_feupdateenv_testf): New.
21924 (libc_feupdateenv): Use libc_feupdateenv_test.
21925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21926 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21927
eb92c487
RH
21928 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21929 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21930 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21931 (libc_feresetround_noex): New.
21932 (libc_feresetround_noexf): New.
21933 (libc_feresetround_noexl): New.
21934 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21935 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21936 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21937 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21938 SET_RESTORE_ROUND.
21939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21941 (__cos): Likewise.
21942 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21943 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21944 SET_RESTORE_ROUND_NOEX.
21945 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21946 SET_RESTORE_ROUND_NOEXF.
21947 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21948 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21949 (libc_feholdsetroundf): New.
21950 (libc_feresetround, libc_feresetroundf): New.
21951
7d2e8012
RH
21952 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21953 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21954 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21955
b4dabbb4
RH
21956 * sysdeps/generic/math_private.h: Include <fenv.h>.
21957 (default_libc_feholdexcept): New.
21958 (default_libc_feholdexcept_setround): New.
21959 (default_libc_fesetenv, default_libc_feupdateenv): New.
21960 (libc_feholdexcept): Only define if undefined.
21961 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21962 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21963 (libc_feholdexcept_setroundl): Likewise.
21964 (libc_feholdexcept_setround_53bit): Likewise.
21965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21966 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21967 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21968 (libc_feupdateenv_53bit): Likewise.
21969 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21970 (libc_feholdexcept): Convert from macro to inline function.
21971 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21972 (libc_fesetenv, libc_feupdateenv): Likewise.
21973
4851a949
RH
21974 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21975 not previously defined.
21976 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21977 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21978 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21979 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21980 * sysdeps/ieee754/flt-32/math_private.h: New file.
21981 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21982 math_private.h below SET_FLOAT_WORD.
21983 (__isnan, __isinf_ns, __finite): Remove.
21984 (__isnanf, __isinf_nsf, __finitef): Remove.
21985
e79d442e
AS
219862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21987
21988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21989
90b80344
DM
219902012-03-17 David S. Miller <davem@davemloft.net>
21991
21992 [BZ #6471]
21993 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21994 for 2.16.
21995
edc21804
DM
219962012-03-16 David S. Miller <davem@davemloft.net>
21997
77e927af
DM
21998 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21999 warnings.
22000
374976dd
DM
22001 [BZ #6471]
22002 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22003 properly.
22004 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22005 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22006 sysdep_routines when subdir is sysvipc.
22007 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22008 __getshmlba helper.
22009
edc21804
DM
22010 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22011
473c3ef3
L
220122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22013
22014 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22015 [__LP64__].
22016
eb0f39b6
L
220172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22018
22019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22020 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22021 (__lround): Renamed to ...
22022 (__llround): This. Replace long int with long long int.
22023 Define lround functions as aliases of llround functions.
22024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22025
6b6cd74b
L
220262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22027
22028 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22029 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22030 adresses to uintptr_t. Replace "long int" and "unsigned long
22031 int" with "greg_t" on va_arg.
22032
f1a77b01
L
220332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22034
22035 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22036 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22037
22038 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22039 Move e_machine check before EI_CLASS check. Handle x32
22040 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22041 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22042 SKIP_EM_IA_64 and include
22043 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22044
22045 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22046 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22047 (add_system_dir): New macro.
22048
22049 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22050 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22051
11b90b9f
JM
220522012-03-16 Joseph Myers <joseph@codesourcery.com>
22053
c36e1d23
JM
22054 [BZ #2551]
22055 [BZ #2552]
22056 [BZ #2553]
22057 [BZ #2554]
22058 [BZ #2562]
22059 [BZ #2563]
22060 [BZ #2565]
22061 [BZ #2566]
22062 [BZ #2576]
22063 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22064 (y0): Likewise.
22065 * math/w_j0f.c (j0f): Likewise.
22066 (y0f): Likewise.
22067 * math/w_j0l.c (__j0l): Likewise.
22068 (__y0l): Likewise.
22069 * math/w_j1.c (j1): Likewise.
22070 (y1): Likewise.
22071 * math/w_j1f.c (j1f): Likewise.
22072 (y1f): Likewise.
22073 * math/w_j1l.c (__j1l): Likewise.
22074 (__y1l): Likewise.
22075 * math/w_jn.c (jn): Likewise.
22076 (yn): Likewise.
22077 * math/w_jnf.c (jnf): Likewise.
22078 (ynf): Likewise.
22079 * math/w_jnl.c (__jnl): Likewise.
22080 (__ynl): Likewise.
22081 * math/libm-test.inc (j0_test): Add more tests.
22082 (j1_test): Likewise.
22083 (jn_test): Likewise. Add trailing semicolon to existing test.
22084 (y0_test): Likewise.
22085 (y1_test): Likewise.
22086 * sysdeps/i386/fpu/libm-test-ulps: Update.
22087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22088
11b90b9f
JM
22089 [BZ #13851]
22090 [BZ #13854]
22091 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22092 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22093 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22095 (__tanl): Set errno for infinite argument.
22096 * sysdeps/i386/fpu/mptan.c: Remove.
22097 * sysdeps/i386/fpu/s_tan.S: Likewise.
22098 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22099 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22100 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22101 * math/libm-test.inc (tan_test): Add more tests and enable more
22102 tests for double and long double.
22103 * sysdeps/i386/fpu/libm-test-ulps: Update.
22104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22105
6a1bd2a1
JK
221062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22107
22108 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22109 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22110
10a803e0
RM
221112012-03-16 Roland McGrath <roland@hack.frob.com>
22112
22113 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22114 * configure.in: Use it for both main tree and add-ons.
22115 * configure: Regenerated.
22116
f196c7f7
L
221172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22120
8848d99d
JM
221212012-03-16 Joseph Myers <joseph@codesourcery.com>
22122
96cbe7f4
JM
22123 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22124 in comment.
22125
8848d99d
JM
22126 [BZ #13851]
22127 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22128 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22132 infinite argument.
22133 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22135 != 0 for prec == 2.
22136 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22137 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22138 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22139 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22140 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22141 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22142 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22143 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22144 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22145 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22146 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22147 * math/libm-test.inc (cos_test): Add more tests and enable more
22148 tests for long double.
22149 (sin_test): Likewise.
22150 (sincos_test): Likewise.
22151 * sysdeps/i386/fpu/libm-test-ulps: Update.
22152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22153
dd7f4703
DM
221542012-03-16 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/fpu/math_private.h: New file.
22157
006f1daa
DM
221582012-03-15 David S. Miller <davem@davemloft.net>
22159
c0c83bc8
DM
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22161 file.
e6a62e18 22162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22164 file.
e6a62e18
DM
22165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22171 sysdep routines.
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22173
88cb87d9
DM
22174 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22175 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22176
006f1daa 22177 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22179 sparc-ifunc.h
006f1daa 22180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22182 Likewise.
22183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22184 Likewise.
006f1daa
DM
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22189 Likewise.
006f1daa
DM
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22195 Likewise.
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22197 Likewise.
006f1daa
DM
22198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22222
11e0098e
AS
222232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22224
22225 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22226 scaling.
22227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22228
e85b09d0
AJ
222292012-03-15 Andreas Jaeger <aj@suse.de>
22230
22231 [BZ #13852]
22232 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22233 ieee754/flt-32 implementation for sin, cos and sincos.
22234 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22235 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22236 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22237 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22238 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22239 ieee754/flt-32 implementation for tan.
22240
22241 * math/libm-test.inc (cos_test): Enable some large input tests for
22242 float as well
22243 (sin_test): Likewise.
22244 (sincos_test): Likewise.
22245 (tan_test): Add tests for large input.
22246
22247 * sysdeps/i386/fpu/libm-test-ulps: Update.
22248
81c64153
AJ
222492012-03-15 Andreas Jaeger <aj@suse.de>
22250
22251 [BZ #13658]
22252 * math/libm-test.inc (cos_test): Add more test cases.
22253 (sin_test): Likewise.
22254 (sincos_test): Likewise.
22255
7bbfa5c6
AJ
222562012-03-15 Andreas Jaeger <aj@suse.de>
22257
22258 [BZ #13837]
22259 * math/libm-test.inc (cos_test): Add a test case for large input
22260 value.
22261 (sin_test): Likewise.
22262 (sincos_test): Likewise.
22263
222642012-03-15 Andreas Jaeger <aj@suse.de>,
22265 Joseph Myers <joseph@codesourcery.com>
22266
22267 [BZ #13658]
0671f479 22268 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22269 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22270 * sysdeps/i386/fpu/branred.c: Likewise.
22271 * sysdeps/i386/fpu/dosincos.c: Likewise.
22272 * sysdeps/i386/fpu/mpa.c: Likewise.
22273 * sysdeps/i386/fpu/s_cos.S: Likewise.
22274 * sysdeps/i386/fpu/s_sin.S: Likewise.
22275 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22276 * sysdeps/i386/fpu/sincos32.c: Likewise.
22277
22278 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22279 Define.
22280 (libc_feupdateenv_53bit): Define.
22281 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22282 Define.
22283 (libc_feupdateenv_53bit): Define.
22284
22285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22286 53 bit (without extend i386 double precision).
22287
22288 * math/libm-test.inc (sincos_test): Add tests for large input.
22289 (sin): Likewise.
22290 (cos): Likewise.
22291
22292 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22293
9cad04ea
AS
222942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22295
22296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22297
f7062b9a
DM
222982012-03-15 David S. Miller <davem@davemloft.net>
22299
22300 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22301 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22303 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22316 file.
f7062b9a 22317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22319 file.
f7062b9a 22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22322 file.
f7062b9a 22323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22325 file.
f7062b9a
DM
22326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22328 fmin/fmax sysdep routines.
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22330
7bd951ff
DM
223312012-03-14 David S. Miller <davem@davemloft.net>
22332
559398ab
DM
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22362 routines.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22364 file.
559398ab 22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22367 file.
559398ab 22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22370 file.
559398ab 22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22373 file.
559398ab 22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22376 file.
559398ab 22377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22379 file.
22380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22381 file.
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22383 file.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22385 file.
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22387 New file.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22389 file.
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22391 file.
559398ab 22392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22394 file.
559398ab 22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22397 file.
559398ab 22398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22400 file.
559398ab 22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22403 VIS3 routines.
559398ab
DM
22404
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22406 New file.
22407
5a1c1e32
DM
22408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22409
eae47a36
DM
22410 * sysdeps/sparc/configure.in: New file.
22411 * sysdeps/sparc/configure: Generate.
22412 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22413 * configure: Regenerate.
22414 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22415 * config.make.in (have-as-vis3): New.
22416 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22417 available use -Av9d instead of -Av9a.
22418 * sysdeps/sparc/sparc64/Makefile: Likewise.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22421 New file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22423 file.
22424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22425 New file.
22426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22427 file.
eae47a36
DM
22428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22433
c0c83bc8
DM
22434 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22435 fzeros/fnegs to load 0x80000000 into a float register instead of
22436 using the stack.
7bd951ff
DM
22437 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22438
bd951ccb
JM
224392012-03-14 Joseph Myers <joseph@codesourcery.com>
22440
22441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22442 bits/syscall.h.
22443 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22444 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22445 ($(inst_includedir)/bits/syscall.h): Remove rule.
22446 ($(objpfx)bits/syscall.d): Include instead of
22447 $(objpfx)syscall-list.d.
22448 (generated): Change syscall-list.h and syscall-list.d to
22449 bits/syscall.h and bits/syscall.d.
22450
bb4e6db2
RM
224512012-03-14 Roland McGrath <roland@hack.frob.com>
22452
22453 [BZ #13846]
22454 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22455
aa4a2ae1
JM
224562012-03-14 Joseph Myers <joseph@codesourcery.com>
22457
e456826d
JM
22458 [BZ #13841]
22459 * math/s_csqrt.c: Include <float.h>.
22460 (__csqrt): Scale large or subnormal inputs.
22461 * math/s_csqrtf.c: Likewise.
22462 * math/s_csqrtl.c: Likewise.
22463 * math/libm-test.inc (csqrt_test): Add more tests.
22464 * sysdeps/i386/fpu/libm-test-ulps: Update.
22465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22466
aa4a2ae1
JM
22467 [BZ #13840]
22468 * math/libm-test.inc (hypot_test): Add more tests.
22469
7c10fd35
DM
224702012-03-13 David S. Miller <davem@davemloft.net>
22471
22472 [BZ #13840]
22473 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22474 double-precision for the calculation instead of scaling.
22475
f453b98b
JM
224762012-03-13 Joseph Myers <joseph@codesourcery.com>
22477
22478 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22479 manipulate bits before adding and subtracting TWO52[sx].
22480 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22482 Likewise.
22483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22484
09a3453f
DM
224852012-03-13 David S. Miller <davem@davemloft.net>
22486
8e59da90
DM
22487 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22488 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22490 rtld-global-offsets.h
22491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22492
2a8ab7f2
DM
22493 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22494 large parameters.
22495
10f62770
DM
22496 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22497
5f0bdb18
DM
22498 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22499 'err' in the ifdef scope in which it is actually used.
22500
09a3453f
DM
22501 * nss/nss_db/db-init.c: Include string.h
22502
b4b2eb5e
DM
225032012-03-12 David S. Miller <davem@davemloft.net>
22504
98bb2f1c
DM
22505 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22506 masking out of the most significant byte of random value used.
22507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22508 Fix coding style in previous change.
22509
b4b2eb5e
DM
22510 * sysdeps/unix/sysv/linux/kernel-features.h
22511 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22512 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22513 expression.
22514 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22515 later.
22516
6e226b09
DM
225172012-03-11 David S. Miller <davem@davemloft.net>
22518
a1bcbd40
DM
22519 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22520 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22521 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22522 for 'resultvar' otherwise things get truncated on 64-bit.
22523
cb9d6174
DM
22524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22525 Fix masking out of the most significant byte of random value used.
22526
6e226b09
DM
22527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22528
058c132d
AS
225292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22530
22531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22532
2d2cd515
DM
225332012-03-09 David S. Miller <davem@davemloft.net>
22534
22535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22536 variables with appropriate CPP guards.
22537 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22538 frame pointer, not the stack pointer. Correct layout comments. Fix test
22539 on resulting framesize and the management of the outregs buffer for pltexit.
22540 Preserve floating point return values across _dl_call_pltexit call.
22541 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22542 framesize and the management of the outregs buffer for pltexit.
22543 Preserve floating point return values across _dl_call_pltexit
22544 call.
22545 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22546 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22547 (print_exit): Fix format string for return register value.
22548
9a07f9d0
JM
225492012-03-10 Joseph Myers <joseph@codesourcery.com>
22550
22551 * sunrpc/Makefile (others): Add rpcgen.
22552 ($(objpfx)rpcgen): Remove special build rule and dependency on
22553 libc.
22554 * sunrpc/rpcgen.c: New file.
22555
547b5e30
PE
225562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22557
c524201a
PE
22558 [BZ #13673]
22559 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22560 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22561 * sysdeps/i386/crti.S: Likewise.
22562 * sysdeps/i386/crtn.S: Likewise.
22563 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22564 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22565 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22566 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22567 * sysdeps/sh/crti.S: Likewise.
22568 * sysdeps/sh/crtn.S: Likewise.
22569 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22570
7b6235f2
PE
22571 [BZ #13673]
22572 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22573 with URL.
22574 * locale/programs/locfile-kw.gperf: Likewise.
22575 * locale/programs/charmap-kw.h: Regenerated.
22576 * locale/programs/locfile-kw.h: Likewise.
22577
547b5e30
PE
22578 [BZ #13673]
22579 * intl/plural.y: Replace FSF snail mail address with URL.
22580 * intl/plural.c: Regenerated.
22581
5f0a5dae
RH
225822012-03-09 Richard Henderson <rth@twiddle.net>
22583
22584 * include/math_private.h: Remove file.
22585 * math/math_private.h: Move file ...
22586 * sysdeps/generic/math_private.h: ... here.
22587
b8c03620
RH
22588 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22589 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22590 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22591
4e234f5d 22592 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22593 and <math_private.h>.
22594 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22595 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22596 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22597 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22598 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22676 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22682 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22683 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22684 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22685 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22687 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22688 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22689 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22690 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22691 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22692 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22693 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22694 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22695 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22696 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22697 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22698 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22699 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22700 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22701 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22702 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22704 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22705 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22706 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22707 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22708 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22709 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22712 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22713 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22714 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22716 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22718 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22720 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22721 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22722 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22723 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22724 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22725 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22726 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22727 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22730 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22733 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22736 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22737 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22738 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22739 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22741 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22742 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22743 * sysdeps/ieee754/k_standard.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22863 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22864 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22866 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22871 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22876 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22892 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22893 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22894 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22898 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22899 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22902 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22904 * sysdeps/ieee754/s_lib_version.c: Likewise.
22905 * sysdeps/ieee754/s_matherr.c: Likewise.
22906 * sysdeps/ieee754/s_signgam.c: Likewise.
22907 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22908 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22909 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22910 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22911 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22912 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22913 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22914 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22915 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22916 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22917 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22918 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22919 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22920 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22921 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22922 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22923 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22924 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22925 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22928
1991fa03
JM
229292012-03-09 Joseph Myers <joseph@codesourcery.com>
22930
22931 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22932 * sunrpc/rpc_main.c: Likewise.
22933 * sunrpc/rpc_svcout.c: Likewise.
22934
60d6f5a6
DM
229352012-03-09 David S. Miller <davem@davemloft.net>
22936
22937 * include/math_private.h: New file.
22938
4962050e
JM
229392012-03-09 Joseph Myers <joseph@codesourcery.com>
22940
02a6f887
JM
22941 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22942 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22943 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22944 from <bits/socket_type.h>.
22945 (enum __socket_type): Don't define here.
22946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22948 bits/socket_type.h.
22949
c6e013c1
JM
22950 [BZ #13566]
22951 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22952 checking __USE_GNU.
22953
4962050e
JM
22954 * Makerules ($(inst_includedir)/%.h): New rule.
22955 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22956 (install-others): Remove variable setting.
22957 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22958
38842f45
RH
229592012-03-08 Richard Henderson <rth@twiddle.net>
22960
67bb6da6
RH
22961 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22962 from macro to inline function; merge with the
22963 !__LIBC_INTERNAL_MATH_INLINES version.
22964 (__ieee754_sqrtf): Likewise.
22965
15194b4b
RH
22966 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22967 to inline function.
22968 (__rintf, __floor, __floorf): Likewise.
22969
64e21ede
RH
22970 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22971 macro to inline function.
22972 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22973
38842f45
RH
22974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22975 not <math/math_private.h>.
22976
c64bf5fe
DM
229772012-03-08 David S. Miller <davem@davemloft.net>
22978
22979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22980 copyright year.
22981 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22982
82d86f28
TS
229832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22984
22985 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22986 normalization.
22987 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22988 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22989
aea5d727
UD
229902012-03-08 Ulrich Drepper <drepper@gmail.com>
22991
22992 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22993 be defined individually, they must be defined as a block. Define
22994 S for printing a string instead of hidint the different by using a
22995 macro for adding the 'l'.
22996 * stdio-common/tst-fphex-wide.c: Adjust.
22997
70bca0a3
MP
229982012-03-07 Marek Polacek <polacek@redhat.com>
22999
23000 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23001
65b81130
MP
230022012-03-08 Marek Polacek <polacek@redhat.com>
23003
23004 [BZ #13806]
23005 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23006 * stdio-common/tst-fphex.c: Define a few macros to make the
23007 test reusable. Use them.
23008 * stdio-common/tst-fphex-wide.c: New file.
23009
07037eeb
JM
230102012-03-08 Joseph Myers <joseph@codesourcery.com>
23011
a7a93d50
JM
23012 [BZ #6911]
23013 * manual/macros.texi (gnusystems): New macro.
23014 (nongnusystems): Likewise.
23015 (gnulinuxhurdsystems): Likewise.
23016 (gnuhurdsystems): Likewise..
23017 (gnulinuxsystems): Likewise.
23018 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23019 variants of the GNU system, not "GNU system".
23020 * manual/conf.texi: Likewise.
23021 * manual/errno.texi: Likewise. Update example of errno macro
23022 expansion.
23023 * manual/filesys.texi: Likewise.
23024 (getumask): Document as specific to GNU/Hurd.
23025 * manual/install.texi: Likewise. Reword some references to
23026 GNU/Linux.
23027 * manual/intro.texi: Likewise.
23028 * manual/io.texi: Likewise.
23029 (File Name Portability): Detail which constraints are inapplicable
23030 to all GNU systems and which are only inapplicable to GNU/Hurd.
23031 * manual/job.texi: Likewise.
23032 * manual/llio.texi: Likewise.
23033 (O_NOCTTY): Document as present on GNU/Linux.
23034 * manual/maint.texi: Likewise.
23035 * manual/memory.texi: Likewise.
23036 * manual/pattern.texi: Likewise.
23037 * manual/pipe.texi: Likewise.
23038 * manual/process.texi: Likewise.
23039 * manual/resource.texi: Likewise.
23040 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23041 child on GNU/Hurd.
23042 * manual/setjmp.texi: Likewise.
23043 * manual/signal.texi: Likewise.
23044 * manual/startup.texi: Likewise.
23045 * manual/stdio.texi: Likewise.
23046 * manual/terminal.texi: Likewise.
23047 (ONLCR): Document as POSIX.
23048 (OXTABS): Document availability on GNU/Linux as XTABS.
23049 (ONOEOT): Document availability separately from other bits.
23050 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23051 * manual/time.texi: Likewise.
23052 * manual/users.texi: Likewise.
23053 * INSTALL: Regenerated.
23054 * sysdeps/gnu/errlist.c: Regenerated.
23055
07037eeb
JM
23056 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23057 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23058 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23059 puts.
23060 * configure: Regenerated.
23061
d1d3431a
JM
230622012-03-07 Joseph Myers <joseph@codesourcery.com>
23063
af6a1e37
JM
23064 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23065 default includes instead of AC_HEADER_CHECK.
23066 * sysdeps/i386/configure: Regenerated.
23067
d1d3431a
JM
23068 [BZ #10716]
23069 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23070 * math/s_cacoshf.c (__cacoshf): Likewise.
23071 * math/s_cacoshl.c (__cacoshl): Likewise.
23072 * math/s_casinh.c (__casinh): Set signs of result from argument.
23073 * math/s_casinhf.c (__casinhf): Likewise.
23074 * math/s_casinhl.c (__casinhl): Likewise.
23075 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23076 (casinh_test): Add more tests.
23077 * sysdeps/i386/fpu/libm-test-ulps: Update.
23078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23079
482ff4da
UD
230802012-03-07 Ulrich Drepper <drepper@gmail.com>
23081
872fda05
UD
23082 * po/zh_TW.po: Update from translation team.
23083
a4300c7a
UD
23084 * login/Makefile (distribute): Remove variable.
23085 * catgets/Makefile: Likewise.
23086 * mach/Makefile: Likewise.
23087 * malloc/Makefile: Likewise.
23088 * misc/Makefile: Likewise.
23089 * iconv/Makefile: Likewise.
23090 * nscd/Makefile: Likewise.
23091 * hurd/Makefile: Likewise.
23092 * manual/Makefile: Likewise.
23093 * locale/Makefile: Likewise.
23094 * intl/Makefile: Likewise.
23095 * conform/Makefile: Likewise.
23096 * nss/Makefile: Likewise.
23097 * time/Makefile: Likewise.
23098 * soft-fp/Makefile: Likewise.
23099 * dirent/Makefile: Likewise.
23100 * gmon/Makefile: Likewise.
23101 * po/Makefile: Likewise.
23102 * rt/Makefile: Likewise.
23103 * socket/Makefile: Likewise.
23104 * math/Makefile: Likewise.
23105 * signal/Makefile: Likewise.
23106 * debug/Makefile: Likewise.
23107 * elf/Makefile: Likewise.
23108 * timezone/Makefile: Likewise.
23109 * stdlib/Makefile: Likewise.
23110 * iconvdata/Makefile: Likewise.
23111 * sunrpc/Makefile: Likewise.
23112 * io/Makefile: Likewise.
23113 * argp/Makefile: Likewise.
23114 * inet/Makefile: Likewise.
23115 * hesiod/Makefile: Likewise.
23116 * grp/Makefile: Likewise.
23117 * csu/Makefile: Likewise.
23118 * wctype/Makefile: Likewise.
23119 * crypt/Makefile: Likewise.
23120 * libio/Makefile: Likewise.
23121 * string/Makefile: Likewise.
23122 * nis/Makefile: Likewise.
23123 * resolv/Makefile: Likewise.
23124 * stdio-common/Makefile: Likewise.
23125 * wcsmbs/Makefile: Likewise.
23126 * dlfcn/Makefile: Likewise.
23127 * posix/Makefile: Likewise.
23128
3b7c4e74 23129 [BZ #6959]
482ff4da
UD
23130 * timezone/Makefile: Don't install timezone files, just the programs
23131 and scripts.
23132
f72ed77d
UD
231332012-03-06 Ulrich Drepper <drepper@gmail.com>
23134
a000466f
UD
23135 * nss/databases.def: Add missing gshadow entry.
23136
f72ed77d
UD
23137 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23138
a53b7a4e
MP
231392012-03-06 Marek Polacek <polacek@redhat.com>
23140
23141 [BZ #13726]
23142 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23143 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23144 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23145 * stdio-common/tst-long-dbl-fphex.c: New file.
23146
e9258400
DM
231472012-03-06 David S. Miller <davem@davemloft.net>
23148
23149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23150 (set_obp_int): New function.
23151 (get_obp_int): New function.
23152 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23154 Avoid unused variable warnings on 'val' and use builtin_expect.
23155 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23156 __builtin_expect.
e9258400
DM
23157 (INLINE_CLONE_SYSCALL): Likewise.
23158
3bd2c723
DM
231592012-03-05 David S. Miller <davem@davemloft.net>
23160
23161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23162
bbb78d03
AS
231632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23164
884c5db4
AS
23165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23166
bbb78d03
AS
23167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23168 only for |x| >= 40.
23169 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23170
1c9f702a 231712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23172
23173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23174 Replace gettimeofday with __vdso_gettimeofday.
23175
7be16f82
RM
23176 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23177 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23178 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23179
23180 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23181 time with __vdso_time.
23182
ed58a00f
JM
231832012-03-05 Joseph Myers <joseph@codesourcery.com>
23184
23185 * manual/lang.texi (size_t): Note types to which size_t may be
23186 equivalent with the GNU C Library, but do not describe when
23187 differences between them are significant.
23188
30ee4ced
AJ
231892012-03-05 Andreas Jaeger <aj@suse.de>
23190
23191 * sysdeps/i386/fpu/libm-test-ulps: Update.
23192
b7cd39e8
JM
231932012-03-05 Joseph Myers <joseph@codesourcery.com>
23194
23195 [BZ #3976]
23196 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23197 (__ieee754_pow): Save and restore rounding mode and use
23198 round-to-nearest for main computations.
23199 * math/libm-test.inc (pow_test_tonearest): New function.
23200 (pow_test_towardzero): Likewise.
23201 (pow_test_downward): Likewise.
23202 (pow_test_upward): Likewise.
23203 (main): Call the new functions.
23204 * sysdeps/i386/fpu/libm-test-ulps: Update.
23205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23206
23207 [BZ #3976]
23208 * math/libm-test.inc (cosh_test_tonearest): New function.
23209 (cosh_test_towardzero): Likewise.
23210 (cosh_test_downward): Likewise.
23211 (cosh_test_upward): Likewise.
23212 (sinh_test_tonearest): Likewise.
23213 (sinh_test_towardzero): Likewise.
23214 (sinh_test_downward): Likewise.
23215 (sinh_test_upward): Likewise.
23216 (main): Call the new functions.
23217 * sysdeps/i386/fpu/libm-test-ulps: Update.
23218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23219
6c6a98c9
TV
232202012-03-05 Tom de Vries <tom@codesourcery.com>
23221
23222 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23223 default stack guard is set in last bytes.
23224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23225
21bb2d2e 232262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23227
21bb2d2e 23228 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23229
21bb2d2e
AJ
23230 [BZ #13656]
23231 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23232 possibly allocate from heap instead of stack.
23233 * stdio-common/bug-vfprintf-nargs.c: New file.
23234 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23235
c6922934
AS
232362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23237
23238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23239
bc957d53
MP
232402012-03-03 Marek Polacek <polacek@redhat.com>
23241
23242 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23243 * math/math_private.h: Likewise.
23244 * stdlib/tst-strtod.c: Likewise.
23245 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23246 * sysdeps/x86_64/bits/atomic.h: Likewise.
23247
6358490d
DM
232482012-03-02 David S. Miller <davem@davemloft.net>
23249
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23255 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23256 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23257 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23258
01ae168d
RM
232592012-03-02 Roland McGrath <roland@hack.frob.com>
23260
d9a17c07
RM
23261 [BZ #13792]
23262 * manual/examples/README: New file, says the example source files
23263 can be used under GPL>=2.
23264 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23265 line containing just "*/".
23266 * manual/examples/add.c: Add copyright header (GPL>=2).
23267 * manual/examples/argp-ex1.c: Likewise.
23268 * manual/examples/argp-ex2.c: Likewise.
23269 * manual/examples/argp-ex3.c: Likewise.
23270 * manual/examples/argp-ex4.c: Likewise.
23271 * manual/examples/atexit.c: Likewise.
23272 * manual/examples/db.c: Likewise.
23273 * manual/examples/dir.c: Likewise.
23274 * manual/examples/dir2.c: Likewise.
23275 * manual/examples/execinfo.c: Likewise.
23276 * manual/examples/filecli.c: Likewise.
23277 * manual/examples/filesrv.c: Likewise.
23278 * manual/examples/fmtmsgexpl.c: Likewise.
23279 * manual/examples/genpass.c: Likewise.
23280 * manual/examples/inetcli.c: Likewise.
23281 * manual/examples/inetsrv.c: Likewise.
23282 * manual/examples/isockad.c: Likewise.
23283 * manual/examples/longopt.c: Likewise.
23284 * manual/examples/memopen.c: Likewise.
23285 * manual/examples/memstrm.c: Likewise.
23286 * manual/examples/mkfsock.c: Likewise.
23287 * manual/examples/mkisock.c: Likewise.
23288 * manual/examples/mygetpass.c: Likewise.
23289 * manual/examples/pipe.c: Likewise.
23290 * manual/examples/popen.c: Likewise.
23291 * manual/examples/rprintf.c: Likewise.
23292 * manual/examples/search.c: Likewise.
23293 * manual/examples/select.c: Likewise.
23294 * manual/examples/setjmp.c: Likewise.
23295 * manual/examples/sigh1.c: Likewise.
23296 * manual/examples/sigusr.c: Likewise.
23297 * manual/examples/stpcpy.c: Likewise.
23298 * manual/examples/strdupa.c: Likewise.
23299 * manual/examples/strftim.c: Likewise.
23300 * manual/examples/strncat.c: Likewise.
23301 * manual/examples/subopt.c: Likewise.
23302 * manual/examples/swapcontext.c: Likewise.
23303 * manual/examples/termios.c: Likewise.
23304 * manual/examples/testopt.c: Likewise.
23305 * manual/examples/testpass.c: Likewise.
23306 * manual/examples/timeval_subtract.c: Likewise.
23307
01ae168d
RM
23308 [BZ #13792]
23309 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23310 function to ...
23311 * manual/timeval_subtract.c.texi: ... here, new file.
23312
49efa33d
DM
233132012-03-02 David S. Miller <davem@davemloft.net>
23314
23315 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23316
28afd92d
JM
233172012-03-02 Joseph Myers <joseph@codesourcery.com>
23318
804360ed
JM
23319 [BZ #3976]
23320 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23321 (__sin): Save and restore rounding mode and use round-to-nearest
23322 for all computations.
23323 (__cos): Save and restore rounding mode and use round-to-nearest
23324 for all computations.
23325 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23326 <fenv.h>.
23327 (tan): Save and restore rounding mode and use round-to-nearest for
23328 all computations.
23329 * math/libm-test.inc (cos_test_tonearest): New function.
23330 (cos_test_towardzero): Likewise.
23331 (cos_test_downward): Likewise.
23332 (cos_test_upward): Likewise.
23333 (sin_test_tonearest): Likewise.
23334 (sin_test_towardzero): Likewise.
23335 (sin_test_downward): Likewise.
23336 (sin_test_upward): Likewise.
23337 (tan_test_tonearest): Likewise.
23338 (tan_test_towardzero): Likewise.
23339 (tan_test_downward): Likewise.
23340 (tan_test_upward): Likewise.
23341 (main): Call the new functions.
23342 * sysdeps/i386/fpu/libm-test-ulps: Update.
23343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23344
a6d06d7b
JM
23345 [BZ #10135]
23346 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23347 small n, then large n, before computing and testing k+n.
23348 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23350 Likewise.
23351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23352 Likewise.
23353 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23354 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23359 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23360 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23361 * math/libm-test.inc (scalbn_test): Add more tests.
23362 (scalbln_test): Likewise.
23363
07e12bb3
JM
23364 * manual/filesys.texi (mode_t): Describe constraints on size and
23365 signedness, not exact equivalence to a particular type.
23366 (ino_t): Likewise.
23367 (ino64_t): Likewise.
23368 (dev_t): Likewise.
23369 (nlink_t): Likewise.
23370 (blkcnt_t): Likewise.
23371 (blkcnt64_t): Likewise.
23372 * manual/llio.texi (off_t): Likewise.
23373
28afd92d
JM
23374 [BZ #3976]
23375 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23376 (__ieee754_exp): Save and restore rounding mode and use
23377 round-to-nearest for all computations.
23378 * math/libm-test.inc (exp_test_tonearest): New function.
23379 (exp_test_towardzero): Likewise.
23380 (exp_test_downward): Likewise.
23381 (exp_test_upward): Likewise.
23382 (main): Call the new functions.
23383 * sysdeps/i386/fpu/libm-test-ulps: Update.
23384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23385
b1eeb65d
CD
233862012-03-01 Chris Demetriou <cgd@google.com>
23387
23388 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23389 have predictable order.
23390
53362a4b
DM
233912012-03-01 David S. Miller <davem@davemloft.net>
23392
3c969083
DM
23393 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23394
759707de
DM
23395 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23397 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23399
dfdb8ff2
DM
23400 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23401 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23402 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23405 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23406 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23407 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23408 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23409
ead89f96
DM
23410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23411
7f66bd07
DM
23412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23413 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23414 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23415
53362a4b
DM
23416 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23417 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23418 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23419 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23420 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23421 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23423 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23424 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23425 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23426 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23427 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23429 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23430 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23432 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23433 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23434 * sysdeps/sparc/elf/configure: Regenerated.
23435
7b1902cb
JM
234362012-03-01 Joseph Myers <joseph@codesourcery.com>
23437
bec039bc
JM
23438 * configure.in (AS, LD): Require binutils 2.20 or later.
23439 * configure: Regenerated.
23440 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23441 as required minimum version.
23442 * INSTALL: Regenerated.
23443
7b1902cb
JM
23444 [BZ #2541]
23445 [BZ #4108]
23446 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23447 before squaring exponent.
23448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23449 bottom long double and 27 bits of top long double before squaring
23450 exponent.
23451 * math/libm-test.inc (erfc_test): Add more tests.
23452 * sysdeps/i386/fpu/libm-test-ulps: Update.
23453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23455
f775c276
KT
234562012-03-01 Kai Tietz <ktietz@redhat.com>
23457
23458 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23459 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23460 containing bit-fields.
23461 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23462 * soft-fp/single.h (_FP_UNION_S): Likewise.
23463 * soft-fp/double.h (_FP_UNION_D): Likewise.
23464
5b8a4d4a
JM
234652012-02-29 Joseph Myers <joseph@codesourcery.com>
23466
0bab47b6
JM
23467 [BZ #13786]
23468 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23469 not include ../strcmp.S.
23470 [USE_AS_STRNCASECMP_L]: Likewise.
23471 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23472 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23473 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23474 (__strncasecmp_l_ia32): Define as alias to
23475 __strncasecmp_l_nonascii.
23476
0fcad3e2
JM
23477 [BZ #5794]
23478 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23479 * sysdeps/i386/fpu/libm-test-ulps: Update.
23480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23481
5b8a4d4a
JM
23482 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23484
8fdceb2e
JL
234852012-02-29 Jeff Law <law@redhat.com>
23486
23487 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23488 out of bounds read.
23489
1f393a11
MP
234902012-02-29 Marek Polacek <polacek@redhat.com>
23491
23492 [BZ #13706]
23493 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23494 * elf/Makefile: Add rules to run tst-unused-dep.out.
23495
8847f037
DM
234962012-02-28 David S. Miller <davem@davemloft.net>
23497
23498 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23499 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23502 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23503 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23504
169d7f11
JM
235052012-02-29 Joseph Myers <joseph@codesourcery.com>
23506
23507 * math/libm-test.inc (llround_test): Move one test from
23508 lround_test. Use TEST_f_L in moved test.
23509 (lround_test): Move misplaced test to llround_test. Add testcase
23510 from bug 2561.
23511
39adf059
UD
235122012-02-28 Ulrich Drepper <drepper@gmail.com>
23513
23514 * sysdeps/x86_64/fpu/e_expf.S: New file.
23515 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23516
71b5d1c5
SB
235172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23518
23519 [BZ #13637]
23520 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23521 of remain_len that may cause incomplete multi-byte character and
23522 false match.
23523 * posix/bug-regex33.c: New file.
23524 * posix/Makefile (tests): Add bug-regex33.
23525
1f77f049
JM
235262012-02-28 Joseph Myers <joseph@codesourcery.com>
23527
23528 * manual/macros.texi: New file.
23529 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23530 * manual/libc.texinfo: Include macros.texi.
23531 * manual/creatute.texi: Likewise.
23532 * manual/install.texi: Likewise.
23533 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23534 @glibcadj{} in references to the GNU C Library.
23535 * manual/charset.texi: Likewise.
23536 * manual/conf.texi: Likewise.
23537 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23538 when not using those macros.
23539 * manual/creature.texi: Likewise.
23540 * manual/crypt.texi: Likewise.
23541 * manual/errno.texi: Likewise.
23542 * manual/filesys.texi: Likewise.
23543 * manual/header.texi: Likewise.
23544 * manual/install.texi: Likewise.
23545 * manual/intro.texi: Likewise.
23546 * manual/io.texi: Likewise.
23547 * manual/job.texi: Likewise.
23548 * manual/lang.texi: Likewise.
23549 * manual/libc.texiinfo: Likewise.
23550 * manual/llio.texi: Likewise.
23551 * manual/locale.texi: Likewise.
23552 * manual/maint.texi: Likewise.
23553 * manual/math.texi: Likewise.
23554 * manual/memory.texi: Likewise.
23555 * manual/message.texi: Likewise.
23556 * manual/nss.texi: Likewise.
23557 * manual/pattern.texi: Likewise.
23558 * manual/process.texi: Likewise.
23559 * manual/resource.texi: Likewise.
23560 * manual/search.texi: Likewise.
23561 * manual/setjmp.texi: Likewise.
23562 * manual/signal.texi: Likewise.
23563 * manual/socket.texi: Likewise.
23564 * manual/startup.texi: Likewise.
23565 * manual/stdio.texi: Likewise.
23566 * manual/string.texi: Likewise.
23567 * manual/sysinfo.texi: Likewise.
23568 * manual/syslog.texi: Likewise.
23569 * manual/terminal.texi: Likewise.
23570 * manual/time.texi: Likewise.
23571 * manual/users.texi: Likewise.
23572 * INSTALL: Regenerated.
23573 * NOTES: Regenerated.
d40c5d54 23574 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23575
450bf206
AS
235762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23577
23578 * include/dirent.h: Include <dirstream.h> before
23579 <dirent/dirent.h>.
23580
741a235b
DM
235812012-02-28 David S. Miller <davem@davemloft.net>
23582
23583 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23584 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23585 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23586 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23587
d6b5aa58
DM
235882012-02-27 David S. Miller <davem@davemloft.net>
23589
1aff59a3
DM
23590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23592 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23593 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23594
d6b5aa58
DM
23595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23596 frame pointer instead of stack pointer relative arg slot.
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23600
433f48bf
CD
236012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23602
23603 [BZ #3992]
23604 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23605
d674b76d
DM
236062012-02-27 David S. Miller <davem@davemloft.net>
23607
23608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23612 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23613 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23614 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23615 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23616
0e7727f7
JM
236172012-02-27 Joseph Myers <joseph@codesourcery.com>
23618
23619 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23620 later. Allow versions 5-9.
43be4ca2 23621 * configure: Regenerated.
0e7727f7
JM
23622 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23623 required minimum version and 4.6 as recommended version. Do not
23624 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23625 * INSTALL: Regenerated.
0e7727f7 23626
a78bc654
DM
236272012-02-27 David S. Miller <davem@davemloft.net>
23628
428d5830
DM
23629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23636 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23637
a78bc654
DM
23638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23639 manipulate bits before adding and subtracting TWO112[sx].
23640 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23641
4579f81c
RM
236422012-02-27 Roland McGrath <roland@hack.frob.com>
23643
36c8acb4
RM
23644 [BZ #13775]
23645 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23646 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23647 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23648 being in POSIX, because they are in 1003.1-2008.
23649
84ad622b
RM
23650 * rt/tst-aio.c: Include <fcntl.h>.
23651 * rt/tst-aio7.c: Likewise.
23652 * rt/tst-aio64.c: Likewise.
23653
4579f81c
RM
23654 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23655
abd923db
JM
236562012-02-27 Joseph Myers <joseph@codesourcery.com>
23657
23658 * manual/install.texi (--with-headers): Describe headers as
23659 interface headers, not private headers.
23660 (Specific advice for GNU/Linux systems): Describe use of headers
23661 from "make headers_install", not private headers from older
23662 kernels.
43be4ca2 23663 * INSTALL: Regenerated.
abd923db
JM
23664 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23665 Change to 2.6.19.
23666 * sysdeps/unix/sysv/linux/configure: Regenerated.
23667
6664049b
JM
23668 * manual/llio.texi (fclean): Remove documentation.
23669
bb8b6697
JM
23670 * manual/Makefile (libc-texi-generated): New variable. Include
23671 version.texi.
23672 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23673 $(libc-texi-generated), not duplicated list of files.
23674 (version.texi, stamp-version): New rules.
23675 (realclean): Remove $(libc-texi-generated), not individual files
23676 from that list. Do not remove dir-add.texinfo.
23677 * manual/libc.texinfo: Comment out uses of edition numbers and
23678 references to printed manual. Remove last-updated dates.
23679 (EDITION): Comment out.
23680 (ISBN): Likewise.
23681 (VERSION, UPDATED): Remove.
23682 (version.texi): Include.
23683
12e5c3b9
AS
236842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23685
23686 * sysdeps/posix/spawni.c: Include <signal.h>.
23687 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23688 * sysdeps/pthread/aio_fsync.c: Likewise.
23689
4efeffc1 236902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23691
ba63ba08
UD
23692 * conform/Makefile (tests): Run only when not cross-compiling and
23693 when fast-check is not defined.
23694
d94a4670
UD
23695 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23696 * conform/data/limits.h-data: Fixes for POSIX2008.
23697 * conform/run-conformtest.sh: Run all tests.
23698 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23699 headers.
23700 * include/bits/dlfcn.h: Likewise.
23701 * include/langinfo.h: Likewise.
23702 * include/monetary.h: Likewise.
23703 * include/sys/poll.h: Likewise.
23704
23705 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23706 for __USE_GNU.
23707 * posix/spawn.h: Define __need_sigset_t.
23708 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23709 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23710 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23711 to get sigevent_t only.
23712 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23713 only for __USE_GNU.
23714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23716 process_vm_writev only for __USE_GNU.
23717 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23718
23719 * conform/Makefile: For now ignore errors from run-conformtest.
23720 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23721 POSIX to avoid namespace pollution. Don't prepend headers.
23722 * conform/data/aio.h-data: Fixes for POSIX testing.
23723 * conform/data/fcntl.h-data: Likewise.
23724 * conform/data/glob.h-data: Likewise.
23725 * conform/data/grp.h-data: Likewise.
23726 * conform/data/pthread.h-data: Likewise.
23727 * conform/data/pwd.h-data: Likewise.
23728 * conform/data/signal.h-data: Likewise.
23729 * conform/data/spawn.h-data: Likewise.
23730 * conform/data/stdio.h-data: Likewise.
23731 * conform/data/stdlib.h-data: Likewise.
23732 * conform/data/stropts.h-data: Likewise.
23733 * conform/data/sys/mman.h-data: Likewise.
23734 * conform/data/sys/stat.h-data: Likewise.
23735 * conform/data/sys/types.h-data: Likewise.
23736 * conform/data/sys/wait.h-data: Likewise.
23737 * conform/data/time.h-data: Likewise.
23738 * conform/data/unistd.h-data: Likewise.
23739 * conform/data/utime.h-data: Likewise.
23740
23741 * io/sys/stat.h: fchmod was always in POSIX.
23742 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23743 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23744 * rt/aio.h: Define __need_timespec before including <time.h>.
23745 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23746 struct. Add forward declaration of pthread_attr_t and use it in
23747 sigevent.
23748 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23749 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23750 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23751 always remove CLK_TCK definition.
23752
c20105c3
AS
237532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23754
23755 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23756
7a270350
UD
237572012-02-25 Ulrich Drepper <drepper@gmail.com>
23758
31341567
UD
23759 * conform/run-conformtest.sh: New file.
23760 * conform/Makefile: Run run-conformtest for tests.
23761 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23762 support.
23763
23764 * conform/data/uchar.h-data: New file.
23765 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23766 * conform/data/arpa/inet.h-data: Likewise.
23767 * conform/data/assert.h-data: Likewise.
23768 * conform/data/complex.h-data: Likewise.
23769 * conform/data/cpio.h-data: Likewise.
23770 * conform/data/ctype.h-data: Likewise.
23771 * conform/data/dirent.h-data: Likewise.
23772 * conform/data/dlfcn.h-data: Likewise.
23773 * conform/data/errno.h-data: Likewise.
23774 * conform/data/fcntl.h-data: Likewise.
23775 * conform/data/float.h-data: Likewise.
23776 * conform/data/fmtmsg.h-data: Likewise.
23777 * conform/data/fnmatch.h-data: Likewise.
23778 * conform/data/ftw.h-data: Likewise.
23779 * conform/data/glob.h-data: Likewise.
23780 * conform/data/grp.h-data: Likewise.
23781 * conform/data/iconv.h-data: Likewise.
23782 * conform/data/inttypes.h-data: Likewise.
23783 * conform/data/langinfo.h-data: Likewise.
23784 * conform/data/libgen.h-data: Likewise.
23785 * conform/data/limits.h-data: Likewise.
23786 * conform/data/locale.h-data: Likewise.
23787 * conform/data/math.h-data: Likewise.
23788 * conform/data/monetary.h-data: Likewise.
23789 * conform/data/mqueue.h-data: Likewise.
23790 * conform/data/ndbm.h-data: Likewise.
23791 * conform/data/net/if.h-data: Likewise.
23792 * conform/data/netdb.h-data: Likewise.
23793 * conform/data/netinet/in.h-data: Likewise.
23794 * conform/data/nl_types.h-data: Likewise.
23795 * conform/data/poll.h-data: Likewise.
23796 * conform/data/pthread.h-data: Likewise.
23797 * conform/data/pwd.h-data: Likewise.
23798 * conform/data/regex.h-data: Likewise.
23799 * conform/data/sched.h-data: Likewise.
23800 * conform/data/search.h-data: Likewise.
23801 * conform/data/semaphore.h-data: Likewise.
23802 * conform/data/setjmp.h-data: Likewise.
23803 * conform/data/signal.h-data: Likewise.
23804 * conform/data/spawn.h-data: Likewise.
23805 * conform/data/stdarg.h-data: Likewise.
23806 * conform/data/stdio.h-data: Likewise.
23807 * conform/data/stdlib.h-data: Likewise.
23808 * conform/data/string.h-data: Likewise.
23809 * conform/data/strings.h-data: Likewise.
23810 * conform/data/stropts.h-data: Likewise.
23811 * conform/data/sys/ipc.h-data: Likewise.
23812 * conform/data/sys/mman.h-data: Likewise.
23813 * conform/data/sys/msg.h-data: Likewise.
23814 * conform/data/sys/resource.h-data: Likewise.
23815 * conform/data/sys/select.h-data: Likewise.
23816 * conform/data/sys/sem.h-data: Likewise.
23817 * conform/data/sys/shm.h-data: Likewise.
23818 * conform/data/sys/socket.h-data: Likewise.
23819 * conform/data/sys/stat.h-data: Likewise.
23820 * conform/data/sys/statvfs.h-data: Likewise.
23821 * conform/data/sys/time.h-data: Likewise.
23822 * conform/data/sys/timeb.h-data: Likewise.
23823 * conform/data/sys/times.h-data: Likewise.
23824 * conform/data/sys/types.h-data: Likewise.
23825 * conform/data/sys/uio.h-data: Likewise.
23826 * conform/data/sys/un.h-data: Likewise.
23827 * conform/data/sys/utsname.h-data: Likewise.
23828 * conform/data/sys/wait.h-data: Likewise.
23829 * conform/data/syslog.h-data: Likewise.
23830 * conform/data/tar.h-data: Likewise.
23831 * conform/data/termios.h-data: Likewise.
23832 * conform/data/utime.h-data: Likewise.
23833 * conform/data/utmpx.h-data: Likewise.
23834 * conform/data/varargs.h-data: Likewise.
23835 * conform/data/wchar.h-data: Likewise.
23836 * conform/data/wctype.h-data: Likewise.
23837 * conform/data/wordexp.h-data: Likewise.
23838
23839 * include/stropts.h: New file.
23840 * include/uchar.h: New file.
23841 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23842 * include/assert.h: Likewise.
23843 * include/ctype.h: Likewise.
23844 * include/dirent.h: Likewise.
23845 * include/dlfcn.h: Likewise.
23846 * include/fcntl.h: Likewise.
23847 * include/fnmatch.h: Likewise.
23848 * include/glob.h: Likewise.
23849 * include/grp.h: Likewise.
23850 * include/libio.h: Likewise.
23851 * include/locale.h: Likewise.
23852 * include/math.h: Likewise.
23853 * include/net/if.h: Likewise.
23854 * include/netdb.h: Likewise.
23855 * include/netinet/in.h: Likewise.
23856 * include/pthread.h: Likewise.
23857 * include/pwd.h: Likewise.
23858 * include/regex.h: Likewise.
23859 * include/sched.h: Likewise.
23860 * include/search.h: Likewise.
23861 * include/setjmp.h: Likewise.
23862 * include/signal.h: Likewise.
23863 * include/stdio.h: Likewise.
23864 * include/stdlib.h: Likewise.
23865 * include/string.h: Likewise.
23866 * include/sys/cdefs.h: Likewise.
23867 * include/sys/mman.h: Likewise.
23868 * include/sys/msg.h: Likewise.
23869 * include/sys/resource.h: Likewise.
23870 * include/sys/select.h: Likewise.
23871 * include/sys/socket.h: Likewise.
23872 * include/sys/stat.h: Likewise.
23873 * include/sys/statvfs.h: Likewise.
23874 * include/sys/time.h: Likewise.
23875 * include/sys/times.h: Likewise.
23876 * include/sys/uio.h: Likewise.
23877 * include/sys/utsname.h: Likewise.
23878 * include/sys/wait.h: Likewise.
23879 * include/termios.h: Likewise.
23880 * include/time.h: Likewise.
23881 * include/ulimit.h: Likewise.
23882 * include/unistd.h: Likewise.
23883 * include/utime.h: Likewise.
23884 * include/wchar.h: Likewise.
23885 * include/wctype.h: Likewise.
23886 * include/wordexp.h: Likewise.
23887
23888 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23889
7a270350
UD
23890 * time/time.h: TIME_UTC must be a macro.
23891 Make timespec_get available for ISO C11 only as well.
23892
7724defc
UD
238932012-02-24 Ulrich Drepper <drepper@gmail.com>
23894
23895 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23896 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23897
6b1d1d46
JM
238982012-02-24 Joseph Myers <joseph@codesourcery.com>
23899
23900 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23901
0f8bbd69
JM
239022012-02-24 Joseph Myers <joseph@codesourcery.com>
23903
23904 * manual/texinfo.tex: Update to version 2012-01-19.16.
23905
66ab80bc
JM
239062012-02-24 Joseph Myers <joseph@codesourcery.com>
23907
23908 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23909
74981cc5
RM
239102012-02-24 Roland McGrath <roland@hack.frob.com>
23911
ee968201
RM
23912 [BZ #13738]
23913 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23914 * manual/fdl-1.3.texi: New file.
23915 * manual/fdl-1.1.texi: File removed.
23916
74981cc5
RM
23917 [BZ #13738]
23918 * manual/libc.texinfo (FDL_VERSION): New @set.
23919 Use it for mention of FDL in cover text.
23920 (Documentation License): Use it in @include file name.
23921
7bb764bc
JM
239222012-02-22 Joseph Myers <joseph@codesourcery.com>
23923 Roland McGrath <roland@hack.frob.com>
23924
23925 [BZ #5461]
23926 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23927 not LONG_LONG_MAX and LONG_LONG_MIN.
23928 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23929 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23930 name.
23931 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23932
6cbeae47
JM
239332012-02-22 Joseph Myers <joseph@codesourcery.com>
23934
23935 [BZ #2547]
23936 [BZ #11365]
23937 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23938 manipulate bits before adding and subtracting TWO23[sx].
23939 * math/libm-test.inc (nearbyint_test): Add more tests.
23940
fe45ce09
JM
239412012-02-22 Joseph Myers <joseph@codesourcery.com>
23942
23943 [BZ #2548]
23944 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23945 bits before adding and subtracting TWO23[sx].
23946 * math/libm-test.inc (rint_test): Add more tests.
23947 (rint_test_tonearest): Likewise.
23948 (rint_test_towardzero): Likewise.
23949 (rint_test_downward): Likewise.
23950 (rint_test_upward: Likewise.
23951
ff3b3d82
JM
239522012-02-22 Joseph Myers <joseph@codesourcery.com>
23953
23954 [BZ #10110]
23955 * include/stdc-predef.h: New file. Extracted from features.h.
23956 * include/features.h: Include stdc-predef.h.
23957 * Makefile (headers): Add stdc-predef.h.
23958 * CONFORMANCE (Compiler limitations): Update.
23959
ef0aab35
JM
239602012-02-22 Joseph Myers <joseph@codesourcery.com>
23961
23962 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23963
58639409
DM
239642012-02-21 David S. Miller <davem@davemloft.net>
23965
23966 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23967 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23968
c0e70b25
DM
239692012-02-20 David S. Miller <davem@davemloft.net>
23970
23971 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23972 using a normal save/restore sequence, rather than allocating a
23973 dummy stack frame just to store a frame pointer and restore.
23974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23975
fb06851d
JM
239762012-02-21 Joseph Myers <joseph@codesourcery.com>
23977
23978 * manual/install.texi: Fix stray word in line-wrapped comment.
23979
7a8b71c3
DM
239802012-02-20 David S. Miller <davem@davemloft.net>
23981
d510c123
DM
23982 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23983 both binutils and gcc support GOTDATA.
23984
0722d7c2
DM
23985 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23986 "rd %pc" in the PIC register setup sequences.
23987
3d2b3019
DM
23988 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23989 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23990 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23991 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23992 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23995 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23997 (SYSCALL_ERROR_HANDLER): Likewise.
23998 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23999 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24001 (SYSCALL_ERROR_HANDLER): Likewise.
24002
c80098a9
DM
24003 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24004 (HAVE_GCC_GOTDATA): New.
24005 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24006 relocation support in both binutils and gcc.
24007 * sysdeps/sparc/elf/configure: Regenerate.
24008
3a2545a0
DM
24009 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24010 * sysdeps/sparc/sparc32/elf/configure: Delete.
24011 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24012 * sysdeps/sparc/sparc64/elf/configure: Delete.
24013 * sysdeps/sparc/elf/configure.in: New file.
24014 * sysdeps/sparc/elf/configure: Generate.
24015
7a8b71c3
DM
24016 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24017 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24018 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24019 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24020 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24021
f1e86fca
JM
240222012-02-21 Joseph Myers <joseph@codesourcery.com>
24023
24024 * manual/install.texi: Do not mention specific glibc version
24025 numbers.
24026 * manual/libc.texinfo (VERSION, UPDATED): Update.
24027 (@copying): Use @copyright{} and range of years.
24028
0e7dfaef
JM
240292012-02-21 Joseph Myers <joseph@codesourcery.com>
24030
24031 [BZ #13695]
24032 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24033 [crti.S not in sysdirs] (generated): Do not append.
24034 [crti.S not in sysdirs] (omit-deps): Likewise.
24035 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24036 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24037 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24038 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24039 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24040 Likewise.
24041 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24042 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24043 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24044 * csu/defs.awk: Remove file.
24045 * sysdeps/generic/initfini.c: Likewise.
24046 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24047 variable.
24048 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24049 Likewise.
24050
599af3ca
JM
240512012-02-20 Joseph Myers <joseph@codesourcery.com>
24052
24053 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24054 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24055 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24057 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24058 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24059 <bits/epoll.h>.
24060 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24061 (__EPOLL_PACKED): Define to empty if not defined by
24062 <bits/epoll.h>.
24063 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24065 bits/epoll.h.
24066
0e499750
JM
240672012-02-20 Joseph Myers <joseph@codesourcery.com>
24068
24069 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24070 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24071 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24072 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24073 <bits/timerfd.h>.
24074 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24076 bits/timerfd.h.
24077
5ad91f6e
JM
240782012-02-20 Joseph Myers <joseph@codesourcery.com>
24079
24080 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24081 in C locale.
24082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24083 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24084 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24086
06b99b02
AJ
240872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24088
24089 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24090 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24091
7638c0fd
AS
240922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24093
24094 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24095 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24096 defined.
24097 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24098 Likewise.
24099 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24100 entry for 2.16.
24101
92221550
AJ
241022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24103
24104 * math/w_acos.c: Use non-signaling floating-point comparisons.
24105 * math/w_acosf.c: Likewise.
24106 * math/w_acosh.c: Likewise.
24107 * math/w_acoshf.c: Likewise.
24108 * math/w_acoshl.c: Likewise.
24109 * math/w_acosl.c: Likewise.
24110 * math/w_asin.c: Likewise.
24111 * math/w_asinf.c: Likewise.
24112 * math/w_asinl.c: Likewise.
24113 * math/w_atanh.c: Likewise.
24114 * math/w_atanhf.c: Likewise.
24115 * math/w_atanhl.c: Likewise.
24116 * math/w_exp2.c: Likewise.
24117 * math/w_exp2f.c: Likewise.
24118 * math/w_exp2l.c: Likewise.
24119 * math/w_j0.c: Likewise.
24120 * math/w_j0f.c: Likewise.
24121 * math/w_j0l.c: Likewise.
24122 * math/w_j1.c: Likewise.
24123 * math/w_j1f.c: Likewise.
24124 * math/w_j1l.c: Likewise.
24125 * math/w_jn.c: Likewise.
24126 * math/w_jnf.c: Likewise.
24127 * math/w_log.c: Likewise.
24128 * math/w_log10.c: Likewise.
24129 * math/w_log10f.c: Likewise.
24130 * math/w_log10l.c: Likewise.
24131 * math/w_log2.c: Likewise.
24132 * math/w_log2f.c: Likewise.
24133 * math/w_log2l.c: Likewise.
24134 * math/w_logf.c: Likewise.
24135 * math/w_logl.c: Likewise.
24136 * math/w_sqrt.c: Likewise.
24137 * math/w_sqrtf.c: Likewise.
24138 * math/w_sqrtl.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24141 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24142 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24143 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24144
ebaf36eb
JM
241452012-02-19 Joseph Myers <joseph@codesourcery.com>
24146
24147 [BZ #9739]
24148 * manual/string.texi (strnlen): Use correct parameter name in
24149 equivalent expression.
24150
71c254a6
JM
241512012-02-19 Joseph Myers <joseph@codesourcery.com>
24152
24153 [BZ #11174]
24154 * manual/users.texi (seteuid): Consistently use neweuid for
24155 argument name.
24156
16d2c631
JM
241572012-02-19 Joseph Myers <joseph@codesourcery.com>
24158
24159 [BZ #13704]
24160 * manual/nss.texi (Services in the NSS configuration): Correct
24161 list of services in example configuration file.
24162
cd837b09
NB
241632012-02-19 Nick Bowler <nbowler@draconx.ca>
24164
24165 [BZ #11322]
24166 * manual/arith.texi: Remove statements about negative zero
24167 behaving identically to zero.
24168
02c4bbad
JM
241692012-02-18 Joseph Myers <joseph@codesourcery.com>
24170
24171 [BZ #5993]
24172 * manual/install.texi: Do not document upgrading from libc5.
24173
366842e7
JM
241742012-02-18 Joseph Myers <joseph@codesourcery.com>
24175
24176 [BZ #4596]
24177 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24178
dd54084d
DM
241792012-02-18 David S. Miller <davem@davemloft.net>
24180
24181 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24182 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24183 %o7 across the call.
24184 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24185 instead.
24186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24187 SETUP_PIC_REG_LEAF.
24188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24189 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24190 * sysdeps/sparc/crtn.S: Likewise.
24191
2bcc53a3
UD
241922012-02-17 Ulrich Drepper <drepper@gmail.com>
24193
24194 * aout/Makefile: Remove.
24195
09c093b5
RK
241962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24197
24198 [BZ #13058]
24199 * manual/examples/argp-ex1.c (main): Format definition in GNU
24200 style.
24201 * manual/examples/argp-ex2.c (main): Likewise.
24202 * manual/examples/argp-ex3.c (main): Likewise.
24203 * manual/examples/argp-ex4.c (main): Likewise.
24204 * manual/examples/longopt.c (main): Use new-style prototype
24205 definition.
24206 * manual/examples/strncat.c (main): Specify return type and use
24207 (void) for arguments.
24208 * manual/examples/subopt.c (main): Use char **argv argument.
24209
2ee633a2
JM
242102012-02-17 Joseph Myers <joseph@codesourcery.com>
24211
24212 [BZ #5077]
24213 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24214 rounding modes.
24215
0520adde
FB
242162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24217
24218 [BZ #6907]
24219 * manual/string.texi (strchr): Change when strchrnul is
24220 recommended.
24221
3f4081cd
DGM
242222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24223
24224 [BZ #174]
24225 * manual/locale.texi (setlocale): Document LOCPATH.
24226
d1b10e78
JM
242272012-02-17 Joseph Myers <joseph@codesourcery.com>
24228
24229 [BZ #10210]
24230 * manual/process.texi (execle): Move @dots{} before last argument.
24231
79c6869c
PB
242322012-02-17 Paul Bolle <pebolle@tiscali.nl>
24233
24234 [BZ #12047]
24235 * manual/charset.texi (Generic Charset Conversion): Fix typo
24236 (LC_TYPE -> LC_CTYPE).
24237
cc6e48bc
NB
242382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24239
24240 [BZ #5805]
24241 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24242 (scalbnf): Likewise.
24243 (scalbnl): Likewise.
24244 (scalbln): Likewise.
24245 (scalblnf): Likewise.
24246 (scalblnl): Likewise.
24247 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24248 (vwarnx): Likewise.
24249 (verr): Likewise.
24250 (verrx): Likewise.
24251 * manual/filesys.texi (telldir): Use braces around return type.
24252 * manual/llio.texi (mmap): Add space after comma.
24253 (mmap64): Likewise.
24254 * manual/math.texi (jn): Use @var{} on parameter names.
24255 (jnf): Likewise.
24256 (jnl): Likewise.
24257 (yn): Likewise.
24258 (ynf): Likewise.
24259 (ynl): Likewise.
24260 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24261 line.
24262 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24263 "...".
24264 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24265 (sched_get_priority_max): Likewise.
24266 * manual/signal.texi (sigvec): Add space after comma.
24267 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24268 names.
24269 (if_indextoname): Likewise.
24270 (if_freenameindex): Likewise.
24271 (sendto): Use ',' instead of '.' in prototype.
24272 * manual/startup.texi (syscall): Use @dots{} instead of literal
24273 "...".
24274 * manual/stdio.texi (__fpending): Separate initial words of
24275 paragraph from @deftypefun line.
24276 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24277 "...".
24278 (vsyslog): Use @var{} on parameter names.
24279 * manual/terminal.texi (stty): Use @var{} on parameter names.
24280 * manual/users.texi (getutmp): Use @var{} on parameter names.
24281 (getutmpx): Likewise.
24282
5b23062f
JM
242832012-02-17 Joseph Myers <joseph@codesourcery.com>
24284
24285 [BZ #6884]
24286 * manual/stdio.texi (fopen): Fix typos in description of
24287 ",ccs=STRING".
24288
8dee4833
AJ
242892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24290
24291 [BZ #4026]
24292 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24293 get clock_id definition.
24294
9078ce93
TS
242952012-02-17 Thomas Schwinge <thomas@schwinge.name>
24296
24297 [BZ #4822]
24298 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24299 (madvise): Cast every argument to void on its own.
24300
3835c55f
JM
243012012-02-17 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #9902]
24304 * manual/startup.texi (Exit Status): Fix typo.
24305
35c47e37
JM
243062012-02-17 Joseph Myers <joseph@codesourcery.com>
24307
24308 [BZ #10140]
24309 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24310 * manual/examples/argp-ex2.c: Likewise.
24311 * manual/examples/argp-ex3.c: Likewise.
24312
e3b69ca7
RH
243132012-02-16 Richard Henderson <rth@redhat.com>
24314
24315 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24316 * sysdeps/s390/s390-32/initfini.c: Remove.
24317 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24318 * sysdeps/s390/s390-64/initfini.c: Remove.
24319
df83af67
KK
243202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24321
24322 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24323 compiler output for sysdeps/generic/initfini.c.
24324 * sysdeps/sh/elf/initfini.c: Remove file.
24325
f63f3380
DM
243262012-02-16 David S. Miller <davem@davemloft.net>
24327
fb59b3a4
DM
24328 [BZ #11494]
24329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24330
f63f3380
DM
24331 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24332 * sysdeps/sparc/crti.S: New file.
24333 * sysdeps/sparc/crtn.S: New file.
24334 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24335 * sysdeps/sparc/sparc64/Makefile: Likewise.
24336
df6a4a4a
MF
243372012-02-15 Mike Frysinger <vapier@gentoo.org>
24338
6dd8f3dc 24339 [BZ #3335]
df6a4a4a
MF
24340 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24341
1cac7236
RM
243422012-02-15 Roland McGrath <roland@hack.frob.com>
24343
d2c736f8
RM
24344 [BZ #4822]
24345 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24346
1cac7236
RM
24347 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24348 (write, read, close): Likewise.
24349 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24350
8e475601
JM
243512012-02-15 Joseph Myers <joseph@codesourcery.com>
24352
24353 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24354 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24355 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24356 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24357 <bits/signalfd.h>.
24358 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24360 bits/signalfd.h.
24361
ed656b40
MP
243622012-02-14 Marek Polacek <polacek@redhat.com>
24363
24364 * sysdeps/x86_64/crti.S: New file.
24365 * sysdeps/x86_64/crtn.S: New file.
24366 * sysdeps/x86_64/elf/initfini.c: Remove file.
24367
2a979d3a
JM
243682012-02-13 Joseph Myers <joseph@codesourcery.com>
24369
24370 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24371 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24372 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24373 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24374 <bits/inotify.h>.
24375 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24377 bits/inotify.h.
24378
2a418ac3
JM
243792012-02-13 Joseph Myers <joseph@codesourcery.com>
24380
24381 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24382 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24383 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24384 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24385 <bits/eventfd.h>.
24386 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24388 bits/eventfd.h.
24389
fb779be7
TS
243902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24391
e19e83c5
RM
24392 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24393 __feraiseexcept instead of feraiseexcept.
7c35ffed 24394
fb779be7
TS
24395 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24396 nanosleep invocations.
24397 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24398 strings, and add error checking for a nanosleep invocations.
24399
59ba27a6
PE
244002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24401
24402 Replace FSF snail mail address with URLs, as per GNU coding standards.
24403 Most of the snail mail addresses were wrong anyway, and omitting
24404 them makes the source code easier to maintain. Almost all of the
24405 changes are to license notices and to locale LC_IDENTIFICATION
24406 addresses, except for this one:
24407 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24408 not its snail mail address.
24409
57b957eb
RH
244102012-02-09 Richard Henderson <rth@twiddle.net>
24411
af850b1c
RH
24412 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24413 of kernel-features.h.
24414
57b957eb
RH
24415 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24416
6b73181a
MP
244172012-02-08 Marek Polacek <polacek@redhat.com>
24418
24419 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24420 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24421 * sysdeps/gnu/_G_config.h: Likewise.
24422 * sysdeps/generic/_G_config.h: Likewise.
24423
26ecc33a
AS
244242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24425
6c6dbc63
AS
24426 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24427 tests.
24428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24429
e216c012
AS
24430 * sysdeps/powerpc/powerpc32/crti.S: New file.
24431 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24432 * sysdeps/powerpc/powerpc64/crti.S: New file.
24433 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24434
26ecc33a
AS
24435 * Makeconfig (have-initfini): Don't set.
24436 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24437 * configure.in (nopic_initfini): Don't substitute.
24438 * config.h.in (HAVE_INITFINI): Don't #undef.
24439 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24440 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24441
3add8e13
JM
244422012-02-08 Joseph Myers <joseph@codesourcery.com>
24443
24444 Support crti.S and crtn.S provided directly by architectures.
24445 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24446 [crti.S in sysdirs] (omit-deps): Likewise.
24447 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24448 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24449 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24450 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24451 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24452 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24453 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24454 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24455 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24456 compiler output for sysdeps/generic/initfini.c.
24457 * sysdeps/i386/elf/Makefile: Remove file.
24458 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24459
a22f12b4
MP
244602012-02-07 Marek Polacek <polacek@redhat.com>
24461
24462 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24463 * sysdeps/gnu/_G_config.h: Likewise.
24464 * sysdeps/mach/hurd/_G_config.h: Likewise.
24465
148cf100
MP
244662012-02-07 Marek Polacek <polacek@redhat.com>
24467
24468 * math/Makefile (tests): Add tst-CMPLX2.
24469 * math/tst-CMPLX2.c: New file.
24470
cfdc0dd7
AS
244712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24472
84ba42c4
AS
24473 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24474
cfdc0dd7
AS
24475 * math/libm-test.inc (jn_test): Add missing L suffix.
24476
622c86f4
MP
244772012-02-06 Marek Polacek <polacek@redhat.com>
24478
24479 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24480 * sysdeps/i386/fpu/e_powf.S: Likewise.
24481 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24482 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24483 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24484 * sysdeps/i386/fpu/e_pow.S: Likewise.
24485 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24486 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24487 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24488 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24489 * sysdeps/i386/fpu/e_log2.S: Likewise.
24490 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24492 * sysdeps/i386/fpu/e_powl.S: Likewise.
24493 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24494 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24495 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24496 * sysdeps/i386/fpu/e_logl.S: Likewise.
24497 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24498 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24499 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24500 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24501 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24502 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24503 * sysdeps/i386/fpu/e_log.S: Likewise.
24504 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24505 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24506 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24507 * sysdeps/i386/fpu/e_logf.S: Likewise.
24508 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24510 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24511 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24512 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24513 * sysdeps/i386/fpu/e_log10.S: Likewise.
24514 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24515 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24516 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24517 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24518 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24519 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24520 * sysdeps/i386/asm-syntax.h: Likewise.
24521 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24523 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24524 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24525 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24526 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24527 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24528 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24529 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24530 * sysdeps/powerpc/sysdep.h: Likewise.
24531 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24532 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24533
d4a54ac6
JM
245342012-02-06 Joseph Myers <joseph@codesourcery.com>
24535
24536 [BZ #411]
24537 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24538
314054ea
JM
245392012-02-06 Joseph Myers <joseph@codesourcery.com>
24540
24541 * sysdeps/i386/sysdep.h: Include <features.h>.
24542 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24543 version.
24544
d8e0ca50
JM
245452012-02-05 Joseph Myers <joseph@codesourcery.com>
24546
24547 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24548 Define.
24549 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24550 LOAD_PIC_REG_STR.
24551
b1da7dd9
JM
245522012-02-03 Joseph Myers <joseph@codesourcery.com>
24553
24554 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24555 (SETUP_PIC_REG): Use GET_PC_THUNK.
24556 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24557 macro.
24558
9a1d9254
JM
245592012-02-03 Joseph Myers <joseph@codesourcery.com>
24560
24561 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24562 for non-PIC compilation.
24563 (SETUP_PIC_REG): Add .p2align directive.
24564 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24565 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24573 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24574 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24575 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24576 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24577 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24578 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24579 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24580 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24581 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24582 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24583 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24586 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24587 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24588 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24589 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24590 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24593 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24594 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24595 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24596 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24597 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24598 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24599 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24600 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24601 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24602 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24603 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24604 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24605
65dc3b75
JM
246062012-02-03 Joseph Myers <joseph@codesourcery.com>
24607
24608 * math/tst-CMPLX.c: Include <stdio.h>.
24609
d55bf177
JM
246102012-01-31 Joseph Myers <joseph@codesourcery.com>
24611
24612 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24613 float.
24614 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24615 * sysdeps/sparc/bits/mathdef.h: Likewise.
24616
69db4f8f
MP
246172012-01-31 Marek Polacek <polacek@redhat.com>
24618
24619 * libio/libio.h: Don't define _PARAMS.
24620 * locale/programs/config.h: Don't define PARAMS.
24621 * stdlib/strtol_l.c: Likewise.
24622 (__strtol_l): Remove PARAMS from the prototype.
24623
41b81892
UD
246242012-01-31 Ulrich Drepper <drepper@gmail.com>
24625
3b49edc0
UD
24626 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24627 names. Just use the correct names. Remove unnecessary wrapper
24628 functions.
24629 * malloc/arena.c: Likewise.
24630 * malloc/hooks.c: Likewise.
24631
41b81892
UD
24632 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24633 ARENA_TEST says not to. Simplify test for creation of a new arena.
24634 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24635
27a25b6e
UD
246362012-01-30 Ulrich Drepper <drepper@gmail.com>
24637
24638 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24639 into tail calls.
24640 (update_get_addr): New function.
24641 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24642 GET_ADDR_MODULE parameter.
24643
c8a89e7d
JM
246442012-01-30 Joseph Myers <joseph@codesourcery.com>
24645
24646 * crypt/cert.c: Remove __STDC__ conditionals.
24647 * crypt/crypt-entry.c: Likewise.
24648 * crypt/crypt_util.c: Likewise.
24649 * libio/filedoalloc.c: Likewise.
24650 * libio/fileops.c: Likewise.
24651 * libio/genops.c: Likewise.
24652 * libio/iofclose.c: Likewise.
24653 * libio/iofdopen.c: Likewise.
24654 * libio/iofopen.c: Likewise.
24655 * libio/iofopen64.c: Likewise.
24656 * libio/iogetdelim.c: Likewise.
24657 * libio/iopopen.c: Likewise.
24658 * libio/obprintf.c: Likewise.
24659 * libio/oldfileops.c: Likewise.
24660 * libio/oldiofclose.c: Likewise.
24661 * libio/oldiofdopen.c: Likewise.
24662 * libio/oldiofopen.c: Likewise.
24663 * libio/oldiopopen.c: Likewise.
24664 * libio/wfiledoalloc.c: Likewise.
24665 * libio/wgenops.c: Likewise.
24666 * locale/programs/xmalloc.c: Likewise.
24667 * misc/syslog.c: Likewise.
24668 * stdio-common/xbug.c: Likewise.
24669 * string/memchr.c: Likewise.
24670 * string/memcmp.c: Likewise.
24671 * string/memrchr.c: Likewise.
24672 * string/rawmemchr.c: Likewise.
24673 * sysdeps/posix/getcwd.c: Likewise.
24674 * time/strftime_l.c: Likewise.
24675
3b100462
JM
246762012-01-30 Joseph Myers <joseph@codesourcery.com>
24677
24678 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24679 * config.make.in (config-cflags-sse2avx): Define.
24680 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24681 Fix typo.
24682
607998af
CM
246832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24684
24685 * scripts/config.guess: Update from upstream config git repository.
24686 * scripts/config.sub: Likewise.
24687
3601428f
CM
246882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24689
3ac8b282
CM
24690 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24691 (EM_NUM): Update.
24692 (R_TILEPRO_*, R_TILEGX_*): New macros.
24693
e034841e
CM
24694 * scripts/firstversions.awk: Fix bug in version range handling.
24695
540d7568
CM
24696 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24697
3601428f
CM
24698 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24699
463de862
CM
24700 * include/sys/epoll.h: New file.
24701 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24702 libc_hidden_def.
24703
73139a76
UD
247042012-01-28 Ulrich Drepper <drepper@gmail.com>
24705
96bc5b45
UD
24706 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24707 Avoid unnecessary __WORDSIZE == 64 test.
24708 (fmaxf): Use VEX format if possible.
24709 (fmax): Likewise.
24710 (fminf): Likewise.
24711 (fmin): Likewise.
24712
56f6f6a2
UD
24713 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24714 * math/math_private.h: Remove libc_fegetround* and
24715 libc_fesetround*.
24716 * sysdeps/i386/configure.in: Check for -msse2avx.
24717 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24718 also if SSE2AVX is defined.
24719 Remove libc_fegetround* and libc_fesetround*.
24720 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24721 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24723 of HAS_YMM_USABLE.
24724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24729
73139a76
UD
24730 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24731
d73f93a4
AZ
247322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24733
24734 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24735 size is not set.
24736 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24737
6ee65ed6
UD
247382012-01-27 Ulrich Drepper <drepper@gmail.com>
24739
24740 [BZ #13618]
24741 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24742 relocation.
24743 * Makeconfig (libm): Define.
24744 * elf/Makefile: Add rules to build and run tst-relsort1.
24745 * elf/tst-relsort1.c: New file.
24746 * elf/tst-relsort1mod1.c: New file.
24747 * elf/tst-relsort1mod2.c: New file.
24748
8db21882
JM
247492012-01-27 Joseph Myers <joseph@codesourcery.com>
24750
24751 * math/s_ldexp.c: Remove __STDC__ conditionals.
24752 * math/s_ldexpf.c: Likewise.
24753 * math/s_ldexpl.c: Likewise.
24754 * math/s_nextafter.c: Likewise.
24755 * math/s_nexttowardf.c: Likewise.
24756 * math/s_significand.c: Likewise.
24757 * math/s_significandf.c: Likewise.
24758 * math/s_significandl.c: Likewise.
24759 * math/w_jnl.c: Likewise.
24760 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24761 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24762 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24763 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24764 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24766 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24768 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24769 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24770 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24772 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24773 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24774 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24775 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24777 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24779 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24780 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24781 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24782 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24783 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24784 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24785 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24786 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24787 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24788 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24789 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24790 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24791 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24792 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24793 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24794 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24795 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24796 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24797 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24798 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24799 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24800 * sysdeps/ieee754/k_standard.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24870 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24876 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24877 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24878 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24879 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24880 * sysdeps/ieee754/s_matherr.c: Likewise.
24881 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24882 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24885
965a54a4
JM
248862012-01-26 Joseph Myers <joseph@codesourcery.com>
24887
24888 * crypt/md5.h: Remove __STDC__ conditionals.
24889 * libio/libioP.h: Likewise.
24890 * locale/programs/config.h: Likewise.
24891 * sysdeps/generic/sysdep.h: Likewise.
24892 * sysdeps/i386/asm-syntax.h: Likewise.
24893 * sysdeps/s390/asm-syntax.h: Likewise.
24894 * sysdeps/unix/sysdep.h: Likewise.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24897
7071ad79
JM
248982012-01-26 Joseph Myers <joseph@codesourcery.com>
24899
24900 * libio/libio.h: Remove __STDC__ conditionals.
24901 * malloc/obstack.h: Likewise.
24902 * math/complex.h: Likewise.
24903 * math/math.h: Likewise.
24904 * sysdeps/generic/_G_config.h: Likewise.
24905 * sysdeps/gnu/_G_config.h: Likewise.
24906 * sysdeps/mach/hurd/_G_config.h: Likewise.
24907 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24908 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24909 * sysdeps/sparc/bits/mathdef.h: Likewise.
24910
afc5ed09
UD
249112012-01-26 Ulrich Drepper <drepper@gmail.com>
24912
24913 [BZ #13583]
24914 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24915 Clean up HAS_* macros.
afc5ed09 24916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24917 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24918 possible.
24919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24920 HAS_AVX.
24921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24922 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24923 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24924 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24926
bdb6de1d
JM
249272012-01-25 Joseph Myers <joseph@codesourcery.com>
24928
24929 * elf/tst-unique3.cc (gets): Remove declaration.
24930 * elf/tst-unique3lib.cc (gets): Likewise.
24931 * elf/tst-unique3lib2.cc (gets): Likewise.
24932 * elf/tst-unique4.cc (gets): Likewise.
24933
b15549e6
UD
249342012-01-24 Ulrich Drepper <drepper@gmail.com>
24935
24936 * include/stdio.h: Add C++ protection. Add gets declarations and
24937 definitions.
24938 * debug/tst-chk1.c: Don't declare gets here.
24939 * stdio-common/tst-gets.c: Likewise.
24940
a037381f
JM
249412012-01-24 Joseph Myers <joseph@codesourcery.com>
24942
24943 * posix/glob: Remove directory.
24944
f1d4aa75
JM
249452012-01-24 Joseph Myers <joseph@codesourcery.com>
24946
24947 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24948
81c0c964
PT
249492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24950
24951 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24952 of the non-standard EPFNOSUPPORT.
24953
0ea698ae
ST
249542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24955
24956 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24957 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24958 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24959
d220b117
UD
249602012-01-21 Ulrich Drepper <drepper@gmail.com>
24961
24962 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24963
3e1aa84e
UD
249642012-01-20 Ulrich Drepper <drepper@gmail.com>
24965
24966 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24967 transient errors.
24968 * nscd/grpcache.c (cache_addgr): Likewise.
24969 * nscd/hstcache.c (cache_addhst): Likewise.
24970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24971 * nscd/pwdcache.c (cache_addpw): Likewise.
24972 * nscd/servicescache.c (cache_addserv): Likewise.
24973
400aa020
UD
249742012-01-16 Ulrich Drepper <drepper@gmail.com>
24975
d77e7869
UD
24976 * malloc/malloc.c: Various cleanups.
24977 * malloc/hooks.c: Likewise.
24978
400aa020
UD
24979 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24980 * stdlib/bug-fmtmsg1.c: New file.
24981
24982 * stdlib/fmtmsg.c (init): Add missing unlock.
24983 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24984
e0a309cf
MP
249852012-01-12 Marek Polacek <polacek@redhat.com>
24986
24987 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24988 and _GNU_SOURCE.
24989
929d11c7
WS
249902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24991
24992 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24993 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24994 macro to ensure uniqueness of label name.
24995 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24996 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24997
41d0e869
UD
249982012-01-11 Ulrich Drepper <drepper@gmail.com>
24999
0cc5ed3b
UD
25000 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25001
41d0e869
UD
25002 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25003 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25006
a47a831a
UD
250072012-01-10 Ulrich Drepper <drepper@gmail.com>
25008
daa891c0
UD
25009 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25010
25011 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25013 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25014
e58ef0f2
UD
25015 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25016
a47a831a 25017 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25018 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25019 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25021
25022 * math/bits/math-finite.h: Add ldexp support.
25023
a0bfc9c7
MP
250242012-01-10 Marek Polacek <polacek@redhat.com>
25025
25026 * locale/programs/localedef.h (show_archive_content): Add noreturn
25027 attribute.
25028
d6e97a1d
UD
250292012-01-09 Ulrich Drepper <drepper@gmail.com>
25030
25031 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25032
d5835c26
UD
250332012-01-08 Ulrich Drepper <drepper@gmail.com>
25034
e5f484c6
UD
25035 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25036
d5835c26
UD
25037 * io/Makefile (headers): Add bits/poll2.h.
25038
d1f741e9
WS
250392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25040
25041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25042 typo #include statement.
25043
ec09c1c4
UD
250442012-01-08 Ulrich Drepper <drepper@gmail.com>
25045
25046 * include/sys/cdefs.h: Define __attribute_alloc_size.
25047 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25048 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25049 * elf/pldd.c: Likewise.
25050 * iconv/iconv_charmap.c: Likewise.
25051 * iconv/iconvconfig.c: Likewise.
25052 * iconv/strtab.c: Likewise.
25053 * locale/programs/locale.c: Likewise.
25054 * locale/programs/localedef.h: Likewise.
25055 * locale/programs/simple-hash.c: Likewise.
25056 * nscd/nscd.h: Likewise.
25057 * nss/makedb.c: Likewise.
25058 * sysdeps/generic/ldconfig.h: Likewise.
25059 * locale/programs/localedef.c: Remove xmalloc prototype.
25060 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25061
20b38e03
PP
250622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25063
25064 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25065 appropriate.
25066
a0da5fe1
UD
250672012-01-08 Ulrich Drepper <drepper@gmail.com>
25068
1d5a644a 25069 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25070 * math/tst-CMPLX.c: New file.
1d5a644a 25071
8784a6db
UD
25072 * math/complex.h (CMPLXL): Fix typo.
25073
d9a216c0
UD
25074 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25075 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25076 GLIBC_2.16.
25077 * debug/tst-chk1.c: Add poll and ppoll tests.
25078 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25079 * include/sys/poll.h: Add hidden proto for ppoll.
25080 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25081 * sysdeps/mach/hurd/ppoll.c: Likewise.
25082 * io/ppoll.c: Likewise.
25083 * debug/poll_chk.c: New file.
25084 * debug/ppoll_chk.c: New file.
25085 * include/bits/poll2.h: New file.
25086 * io/bits/poll2.h: New file.
25087
ac097f5c
UD
25088 [BZ #1350]
25089 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25090
2119dcfa
UD
25091 * configure.in: static is always set to yes. Remove.
25092 * config.make.in: Don't set build-static.
25093 * Makeconfig: Remove use of build-static.
25094 * dlfcn/Makefile: Likewise.
25095 * elf/Makefile: Likewise.
25096 * math/Makefile: Likewise.
25097 * misc/Makefile: Likewise.
25098 * nptl/Makefile: Likewise.
25099 * sysdeps/mach/hurd/Makefile: Likewise.
25100
121766a9
UD
25101 * configure.in: PWD_P is not used anymore.
25102 * config.make.in: Remove PWD_P entry.
25103
51a1d39c 25104 * configure.in: Remove last remnants of RANLIB.
8720d066 25105 No need to check for signed size_t anymore.
215f4bdc
UD
25106 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25107 and IA-64.
3857022a 25108 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25109 * aclocal.m4: Likewise.
25110
d3ed7225
UD
25111 * wcsmbs/mbrtoc16.c: Implement using towc function.
25112 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25113 * wcsmbs/wcsmbsload.c: Likewise.
25114 * iconv/gconv_simple.c: Likewise.
25115 * iconv/gconv_int.h: Likewise.
25116 * iconv/gconv_builtin.h: Likewise.
25117 * iconv/iconv_prog.c: Remove CHAR16 handling.
25118
25119 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25120
25121 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25122
a0da5fe1
UD
25123 * configure.in: Remove --with-elf and --enable-bounded options.
25124 Dont set base_machine for ia64. More non-ELF conditions removed.
25125 Remove testing and setting of leading underscore information.
25126 * config.make.in (build-bounded): Set to no.
25127 * config.h.in: Remove NO_UNDERSCORES entry.
25128 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25129 them.
25130 * csu/start.c: Remove !NO_UNDERSCORE code.
25131 * locale/localeinfo.h: Likewise.
25132 * sysdeps/generic/machine-gmon.h: Likewise.
25133 * sysdeps/generic/sysdep.h: Likewise.
25134 * sysdeps/i386/sysdep.h: Likewise.
25135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25136 * sysdeps/mach/sysdep.h: Likewise.
25137 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25139 * sysdeps/sh/sysdep.h: Likewise.
25140 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25141 * sysdeps/unix/i386/sysdep.S: Likewise.
25142 * sysdeps/unix/sparc/start.c: Likewise.
25143 * sysdeps/unix/sparc/sysdep.S: Likewise.
25144 * sysdeps/unix/sparc/sysdep.h: Likewise.
25145 * sysdeps/unix/start.c: Likewise.
25146 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25147 * sysdeps/x86_64/sysdep.h: Likewise.
25148
df78418a
UD
251492012-01-07 Ulrich Drepper <drepper@gmail.com>
25150
a784e502
UD
25151 [BZ #13553]
25152 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25153 for non-gcc.
25154 * argp/argp-fmtstream.h: Use const instead __const.
25155 * argp/argp.h: Likewise.
25156 * assert/assert.h: Likewise.
25157 * bits/fenv.h: Likewise.
25158 * bits/sched.h: Likewise.
25159 * bits/sigset.h: Likewise.
25160 * bits/sigthread.h: Likewise.
25161 * catgets/nl_types.h: Likewise.
25162 * conform/data/pthread.h-data: Likewise.
25163 * crypt/crypt-private.h: Likewise.
25164 * crypt/crypt.h: Likewise.
25165 * crypt/crypt_util.c: Likewise.
25166 * ctype/ctype.h: Likewise.
25167 * debug/execinfo.h: Likewise.
25168 * debug/mbsnrtowcs_chk.c: Likewise.
25169 * debug/mbsrtowcs_chk.c: Likewise.
25170 * debug/wcsnrtombs_chk.c: Likewise.
25171 * debug/wcsrtombs_chk.c: Likewise.
25172 * debug/wcstombs_chk.c: Likewise.
25173 * dirent/dirent.h: Likewise.
25174 * dlfcn/dlfcn.h: Likewise.
25175 * elf/neededtest4.c: Likewise.
25176 * grp/grp.h: Likewise.
25177 * gshadow/gshadow.h: Likewise.
25178 * iconv/gconv.h: Likewise.
25179 * iconv/gconv_int.h: Likewise.
25180 * iconv/gconv_simple.c: Likewise.
25181 * iconv/iconv.h: Likewise.
25182 * iconv/loop.c: Likewise.
25183 * iconv/skeleton.c: Likewise.
25184 * include/aio.h: Likewise.
25185 * include/aliases.h: Likewise.
25186 * include/argz.h: Likewise.
25187 * include/arpa/inet.h: Likewise.
25188 * include/assert.h: Likewise.
25189 * include/dirent.h: Likewise.
25190 * include/dlfcn.h: Likewise.
25191 * include/execinfo.h: Likewise.
25192 * include/fcntl.h: Likewise.
25193 * include/fenv.h: Likewise.
25194 * include/glob.h: Likewise.
25195 * include/grp.h: Likewise.
25196 * include/libintl.h: Likewise.
25197 * include/mntent.h: Likewise.
25198 * include/netdb.h: Likewise.
25199 * include/pwd.h: Likewise.
25200 * include/rpc/netdb.h: Likewise.
25201 * include/sched.h: Likewise.
25202 * include/search.h: Likewise.
25203 * include/shadow.h: Likewise.
25204 * include/signal.h: Likewise.
25205 * include/stdio.h: Likewise.
25206 * include/stdlib.h: Likewise.
25207 * include/string.h: Likewise.
25208 * include/sys/socket.h: Likewise.
25209 * include/sys/stat.h: Likewise.
25210 * include/sys/statfs.h: Likewise.
25211 * include/sys/statvfs.h: Likewise.
25212 * include/sys/syslog.h: Likewise.
25213 * include/sys/time.h: Likewise.
25214 * include/sys/uio.h: Likewise.
25215 * include/time.h: Likewise.
25216 * include/unistd.h: Likewise.
25217 * include/utmp.h: Likewise.
25218 * include/wchar.h: Likewise.
25219 * include/wctype.h: Likewise.
25220 * inet/aliases.h: Likewise.
25221 * inet/arpa/inet.h: Likewise.
25222 * inet/netinet/ether.h: Likewise.
25223 * inet/netinet/in.h: Likewise.
25224 * intl/libintl.h: Likewise.
25225 * io/bits/fcntl2.h: Likewise.
25226 * io/fcntl.h: Likewise.
25227 * io/ftw.h: Likewise.
25228 * io/sys/poll.h: Likewise.
25229 * io/sys/stat.h: Likewise.
25230 * io/sys/statfs.h: Likewise.
25231 * io/sys/statvfs.h: Likewise.
25232 * io/utime.h: Likewise.
25233 * libio/bits/stdio.h: Likewise.
25234 * libio/bits/stdio2.h: Likewise.
25235 * libio/libio.h: Likewise.
25236 * libio/libioP.h: Likewise.
25237 * libio/stdio.h: Likewise.
25238 * locale/lc-ctype.c: Likewise.
25239 * locale/locale.h: Likewise.
25240 * login/utmp.h: Likewise.
25241 * malloc/arena.c: Likewise.
25242 * malloc/malloc.c: Likewise.
25243 * malloc/malloc.h: Likewise.
25244 * malloc/mcheck.c: Likewise.
25245 * malloc/mtrace.c: Likewise.
25246 * math/bits/mathcalls.h: Likewise.
25247 * math/fenv.h: Likewise.
25248 * math/math_private.h: Likewise.
25249 * misc/bits/error.h: Likewise.
25250 * misc/bits/syslog.h: Likewise.
25251 * misc/err.h: Likewise.
25252 * misc/error.h: Likewise.
25253 * misc/fstab.h: Likewise.
25254 * misc/mntent.h: Likewise.
25255 * misc/regexp.h: Likewise.
25256 * misc/search.h: Likewise.
25257 * misc/sgtty.h: Likewise.
25258 * misc/sys/mman.h: Likewise.
25259 * misc/sys/syslog.h: Likewise.
25260 * misc/sys/uio.h: Likewise.
25261 * misc/sys/xattr.h: Likewise.
25262 * misc/ttyent.h: Likewise.
25263 * nis/rpcsvc/ypclnt.h: Likewise.
25264 * nss/nss.h: Likewise.
25265 * posix/bits/unistd.h: Likewise.
25266 * posix/fnmatch.h: Likewise.
25267 * posix/glob.h: Likewise.
25268 * posix/sched.h: Likewise.
25269 * posix/spawn.h: Likewise.
25270 * posix/sys/wait.h: Likewise.
25271 * posix/unistd.h: Likewise.
25272 * posix/wordexp.h: Likewise.
25273 * pwd/pwd.h: Likewise.
25274 * resolv/netdb.h: Likewise.
25275 * resource/sys/resource.h: Likewise.
25276 * rt/aio.h: Likewise.
25277 * rt/bits/mqueue2.h: Likewise.
25278 * rt/mqueue.h: Likewise.
25279 * shadow/shadow.h: Likewise.
25280 * signal/signal.h: Likewise.
25281 * socket/send.c: Likewise.
25282 * socket/sendto.c: Likewise.
25283 * socket/sys/socket.h: Likewise.
25284 * stdio-common/printf.h: Likewise.
25285 * stdlib/bits/stdlib.h: Likewise.
25286 * stdlib/fmtmsg.h: Likewise.
25287 * stdlib/monetary.h: Likewise.
25288 * stdlib/stdlib.h: Likewise.
25289 * stdlib/ucontext.h: Likewise.
25290 * streams/stropts.h: Likewise.
25291 * string/argz.h: Likewise.
25292 * string/bits/string2.h: Likewise.
25293 * string/string.h: Likewise.
25294 * string/strings.h: Likewise.
25295 * sunrpc/rpc/auth.h: Likewise.
25296 * sunrpc/rpc/auth_des.h: Likewise.
25297 * sunrpc/rpc/clnt.h: Likewise.
25298 * sunrpc/rpc/netdb.h: Likewise.
25299 * sunrpc/rpc/pmap_clnt.h: Likewise.
25300 * sunrpc/rpc/xdr.h: Likewise.
25301 * sysdeps/generic/inttypes.h: Likewise.
25302 * sysdeps/generic/net/if.h: Likewise.
25303 * sysdeps/generic/sys/swap.h: Likewise.
25304 * sysdeps/gnu/net/if.h: Likewise.
25305 * sysdeps/gnu/utmpx.h: Likewise.
25306 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25307 * sysdeps/i386/i486/bits/string.h: Likewise.
25308 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25309 * sysdeps/s390/bits/string.h: Likewise.
25310 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25311 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25312 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25313 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25314 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25315 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25316 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25317 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25318 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25319 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25320 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25321 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25322 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25323 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25324 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25325 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25326 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25329 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25330 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25331 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25332 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25333 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25334 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25335 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25336 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25338 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25339 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25340 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25341 * sysvipc/sys/ipc.h: Likewise.
25342 * sysvipc/sys/msg.h: Likewise.
25343 * sysvipc/sys/sem.h: Likewise.
25344 * sysvipc/sys/shm.h: Likewise.
25345 * termios/termios.h: Likewise.
25346 * time/sys/time.h: Likewise.
25347 * time/time.h: Likewise.
25348 * wcsmbs/bits/wchar2.h: Likewise.
25349 * wcsmbs/uchar.h: Likewise.
25350 * wcsmbs/wchar.h: Likewise.
25351 * wctype/wctype.h: Likewise.
25352
0269750c
UD
25353 [BZ #13551]
25354 * Makeconfig: Remove all but ELF support including AIX support.
25355 * Makerules: Likewise.
25356 * config.h.in: Likewise.
25357 * config.make.in: Likewise.
25358 * configure: Likewise.
25359 * configure.in: Likewise.
25360 * csu/Makefile: Likewise.
25361 * csu/version.c: Likewise.
25362 * debug/Makefile: Likewise.
25363 * dlfcn/Makefile: Likewise.
25364 * elf/Makefile: Likewise.
25365 * extra-lib.mk: Likewise.
25366 * iconv/Makefile: Likewise.
25367 * include/libc-symbols.h: Likewise.
25368 * include/shlib-compat.h: Likewise.
25369 * resolv/Makefile: Likewise.
25370 * resolv/res_libc.c: Likewise.
25371 * rt/Makefile: Likewise.
25372 * sysdeps/i386/asm-syntax.h: Likewise.
25373 * sysdeps/i386/sysdep.h: Likewise.
25374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25375 * sysdeps/mach/sysdep.h: Likewise.
25376 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25377 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25378 * sysdeps/s390/asm-syntax.h: Likewise.
25379 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25381 * sysdeps/sh/sysdep.h: Likewise.
25382 * sysdeps/unix/sparc/sysdep.h: Likewise.
25383 * sysdeps/wordsize-32/divdi3.c: Likewise.
25384 * sysdeps/x86_64/sysdep.h: Likewise.
25385
00bbd29b
UD
25386 * argp/Versions: Remove _argp_unlock_xxx.
25387
25388 [BZ #13559]
25389 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25390 * abilist/libBrokenLocale.abilist: Likewise.
25391 * abilist/libanl.abilist: Likewise.
25392 * abilist/libc.abilist: Likewise.
25393 * abilist/libcrypt.abilist: Likewise.
25394 * abilist/libdl.abilist: Likewise.
25395 * abilist/libm.abilist: Likewise.
25396 * abilist/libnsl.abilist: Likewise.
25397 * abilist/libpthread.abilist: Likewise.
25398 * abilist/libresolv.abilist: Likewise.
25399 * abilist/librt.abilist: Likewise.
25400 * abilist/libthread_db.abilist: Likewise.
25401 * abilist/libutil.abilist: Likewise.
25402 * abilist/libnss_db.abilist: New file.
25403
25404 * scripts/abilist.awk: Add support for indirect functions.
25405
a2693a0e
UD
25406 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25407
3f05895f
UD
25408 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25409
ecb6fb48
UD
25410 * shlib-versions: Remove entries for ports architectures.
25411
664f8cb9
UD
25412 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25413 files in ports.
25414 * elf/stackguard-macros.h: Remove support for IA-64.
25415 * elf/tst-auditmod1.c: Likewise.
25416 * sysdeps/generic/ldsodefs.h: Likewise.
25417
7ae81d88
UD
25418 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25419 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25420 configure files.
25421
bdeba135
UD
25422 [BZ #13552]
25423 * configure.in: Remove --enable-omitfp support.
25424 * FAQ.in: Adjust.
25425 * config.make.in: Likewise.
25426 * Makeconfig: Likewise.
25427 * manual/install.texi: Likewise.
25428
d75a0a62
UD
25429 In case anyone cares, the IA-64 architecture could move to ports.
25430 * sysdeps/ia64/*: Removed.
25431 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25432 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25433
dcc9756b
UD
25434 [BZ #13555]
25435 * configure.in: Remove entries for unsupported architectures.
25436
d3761ebc 25437 [BZ #13533]
9954432e
UD
25438 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25439 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25440 routines.
25441 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25442 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25443 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25444 fall back to using wcrtomb.
25445 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25446 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25447 renaming.
25448 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25449 * wcsmbs/tst-c16c32-1.c: New file.
25450
25451 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25452 local variable.
25453
c3a87236
UD
25454 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25455
28926a1b
UD
25456 * elf/tst-unique3.cc: Add explicit declaration of gets.
25457 * elf/tst-unique3lib.cc: Likewise.
25458 * elf/tst-unique3lib2.cc: Likewise.
25459 * elf/tst-unique4.cc: Likewise.
25460
df78418a
UD
25461 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25462
8ecd6b2a
JM
254632012-01-06 Joseph Myers <joseph@codesourcery.com>
25464
25465 [BZ #13566]
25466 * assert/assert.h (static_assert): Don't define for C++.
25467 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25468 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25469
9f115170
UD
254702012-01-03 Ulrich Drepper <drepper@gmail.com>
25471
5e0d0300
UD
25472 * iconv/loop.c (single loop): Fix assertion in storing of
25473 remaining bytes.
25474
9f115170
UD
25475 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25476
81fb02b0
UD
254772012-01-01 Ulrich Drepper <drepper@gmail.com>
25478
25479 * posix/getconf.c: Update copyright year.
25480 * nss/getent.c: Likewise.
a316c1f6 25481 * nss/makedb.c: Likewise.
81fb02b0
UD
25482 * iconv/iconvconfig.c: Likewise.
25483 * iconv/iconv_prog.c: Likewise.
25484 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25485 * elf/pldd.c: Likewise.
25486 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25487 * catgets/gencat.c: Likewise.
25488 * csu/version.c: Likewise.
25489 * elf/ldd.bash.in: Likewise.
25490 * elf/sprof.c (print_version): Likewise.
25491 * locale/programs/locale.c: Likewise.
25492 * locale/programs/localedef.c: Likewise.
a316c1f6 25493 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25494 * nscd/nscd.c (print_version): Likewise.
25495 * debug/xtrace.sh: Likewise.
25496 * malloc/memusage.sh: Likewise.
25497 * malloc/mtrace.pl: Likewise.
25498 * debug/catchsegv.sh: Likewise.
25499
2ba92745
JJ
255002011-12-30 Jakub Jelinek <jakub@redhat.com>
25501
25502 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25503 pure attribute.
25504
dadebdae
UD
255052011-12-24 Ulrich Drepper <drepper@gmail.com>
25506
d3761ebc 25507 [BZ #13533]
db6af3eb
UD
25508 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25509 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25510 transformations.
25511 * iconv/gconv_int.h: Likewise.
25512 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25513 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25514 from libc for GLIBC_2.16.
25515 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25516 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25517 * wcsmbs/uchar.h: Really define mbstate_t.
25518 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25519 * wcsmbs/c16rtomb.c: New file.
25520 * wcsmbs/mbrtoc16.c: New file.
25521 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25522 for C/POSIX locale.
25523 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25524 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25525
dadebdae
UD
25526 * wcsmbs/wchar.h: Add missing __restrict.
25527
67371b56
UD
255282011-12-23 Ulrich Drepper <drepper@gmail.com>
25529
74033a25
UD
25530 [BZ #13532]
25531 * time/Makefile (routines): Add timespec_get.
25532 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25533 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25534 timespec for ISO C11.
25535 * time/timespec_get.c: New file.
25536 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25537 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25538
380d7e87
UD
25539 [BZ #13531]
25540 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25541 * stdlib/stdlib.h: Declare aligned_alloc.
25542 * Versions.def: Add GLIBC_2.16 for libc.
25543 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25544
4e9e7a35
UD
25545 [BZ 13527]
25546 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25547 ISO C11.
25548
380d7e87 25549 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25550 code.
25551
03a71829
UD
25552 [BZ #13528]
25553 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25554
839e283e
UD
25555 [BZ #13529]
25556 * assert/assert.h (static_assert): Define.
25557
ce5294e2 25558 * version.h: Update for 2.16 development version.
90fa7312 25559
8d44e150 25560 [BZ #13526]
d7809905
UD
25561 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25562 _ISOC11_SOURCE.
25563
c0da14cd
UD
25564 * version.h (RELEASE): Bump for 2.15 release.
25565 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25566
530a3249
MP
25567 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25568 Patch by Marek Polacek <mpolacek@redhat.com>.
25569
67371b56
UD
25570 * bits/byteswap.h: Protect long long constants with __extension__.
25571 * sysdeps/i386/bits/byteswap.h: Likewise.
25572 * sysdeps/ia64/bits/byteswap.h: Likewise.
25573 * sysdeps/s390/bits/byteswap.h: Likewise.
25574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25575
15db4de1
LD
255762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25577
25578 [BZ #13540]
bbe315ea
LD
25579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25580 destination buffer.
15db4de1
LD
25581 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25582
2b2596b1
MP
255832011-12-23 Marek Polacek <polacek@redhat.com>
25584
25585 * elf/dl-addr.c (determine_info): Add inline keyword.
25586 * elf/tst-auditmod4b.c (check_avx): Likewise.
25587 * elf/tst-auditmod6b.c (check_avx): Likewise.
25588 * elf/tst-auditmod6c.c (check_avx): Likewise.
25589 * elf/tst-auditmod7b.c (check_avx): Likewise.
25590
70c6c246
UD
255912011-12-23 Ulrich Drepper <drepper@gmail.com>
25592
25593 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25594 !__SSE_MATH__.
25595
c044cf14
LD
255962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25597
15db4de1 25598 [BZ #13540]
c044cf14
LD
25599 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25600 processing for last bytes.
25601
6b13d9d9
BH
256022011-08-06 Bruno Haible <bruno@clisp.org>
25603
d455f537
BH
25604 [BZ #13061]
25605 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25606 U+0385, not to U+1FEE.
25607
6b13d9d9
BH
25608 [BZ #13062]
25609 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25610 entry for U+00A5 U+0301.
25611
db910efd
UD
256122011-12-22 Ulrich Drepper <drepper@gmail.com>
25613
27deeafc
UD
25614 [BZ #13166]
25615 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25616 buffer for the output is too small.
25617
aed9d171
UD
25618 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25619 optimization.
25620
db910efd
UD
25621 [BZ #13185]
25622 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25623 SSE flags if possible.
25624
2bd779ae
LD
256252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25626
e7f9dac3 25627 [BZ #13540]
2bd779ae
LD
25628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25629 processing for last bytes.
25630
154bfc16
JM
256312011-12-22 Joseph Myers <joseph@codesourcery.com>
25632
25633 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25634 (syscall-list-default-options, syscall-list-default-condition)
25635 (syscall-list-includes): Define.
25636 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25637 list of ABIs and options and #if conditions for each ABI. Do not
25638 handle common syscalls between ABIs specially.
25639 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25640 Remove.
25641 (syscall-list-variants, syscall-list-32bit-options)
25642 (syscall-list-32bit-condition, syscall-list-64bit-options)
25643 (syscall-list-64bit-condition): Define.
25644 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25645 (syscall-list-variants, syscall-list-32bit-options)
25646 (syscall-list-32bit-condition, syscall-list-64bit-options)
25647 (syscall-list-64bit-condition): Define.
25648 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25649 Remove.
25650 (syscall-list-variants, syscall-list-32bit-options)
25651 (syscall-list-32bit-condition, syscall-list-64bit-options)
25652 (syscall-list-64bit-condition): Define.
25653 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25654 Remove.
25655 (syscall-list-variants, syscall-list-32bit-options)
25656 (syscall-list-32bit-condition, syscall-list-64bit-options)
25657 (syscall-list-64bit-condition): Define.
25658
21eaf3a5
UD
256592011-12-22 Ulrich Drepper <drepper@gmail.com>
25660
16c6f992
UD
25661 * locale/iso-639.def: Add brx entry.
25662
41043168
UD
25663 [BZ #13328]
25664 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25665 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25666
21eaf3a5
UD
25667 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25668 __feraiseexcept_renamed.
25669
e3a851a2
UD
256702011-12-21 Ulrich Drepper <drepper@gmail.com>
25671
4920765e
UD
25672 [BZ #13538]
25673 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25674 EPOLLET with unsigned values.
25675 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25677
e3a851a2
UD
25678 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25679 to large cancellation.
25680 * math/s_cacoshf.c: Likewise.
25681 * math/s_cacoshl.c: Likewise.
25682
b27e24b8
RK
256832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25684
25685 [BZ #13305]
aebefeee 25686 [BZ #12786]
b27e24b8
RK
25687 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25688 * math/s_cacoshf.c: Likewise.
25689 * math/s_cacoshl.c: Likewise.
25690
ee190f67
UD
256912011-12-21 Ulrich Drepper <drepper@gmail.com>
25692
25693 [BZ #13439]
25694 * iconv/gconv.h: Define __GCONV_SWAP.
25695 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25696 * iconvdata/utf-16.c: Likewise.
25697 * iconvdata/utf-32.c: Likewise.
25698
707f25df
AS
256992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25700
25701 [BZ #13524]
25702 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25703 numerator after shifting it by one limb.
25704
d2daaa1e
RÁE
257052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25706
25707 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25708 under [__USE_EXTERN_INLINES].
25709
a4647e72
UD
257102011-12-17 Ulrich Drepper <drepper@gmail.com>
25711
25712 [BZ #13446]
25713 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25714
f0b264f1
AZ
257152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25716
25717 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25718 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25719 optimized code.
25720 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25721 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25722 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25723 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25724 for strncasecmp/strncasecmp_l compilation.
25725 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25726 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25727
8ef4f244
MP
257282011-12-08 Marek Polacek <mpolacek@redhat.com>
25729
25730 [BZ #13484]
25731 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25732 of __asm__.
25733
97ac2654
UD
257342011-12-17 Ulrich Drepper <drepper@gmail.com>
25735
25736 [BZ #13506]
25737 * time/tzfile.c (__tzfile_read): Check values from file header.
25738
91d2a845
WS
257392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25740
25741 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25742 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25743 * powerpc/powerpc32/dl-start.S: Likewise.
25744 * powerpc/powerpc32/elf/start.S: Likewise.
25745 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25746 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25747 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25748 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25749 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25750 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25751 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25752 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25753 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25754 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25755 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25756 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25757 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25758 * powerpc/powerpc32/memset.S: Likewise.
25759 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25760 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25761 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25762 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25763 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25764 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25765 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25766 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25767 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25768 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25769 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25770 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25771 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25772
a1267ba1
AZ
257732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25774
25775 * math/libm-test.inc: Added more nearbyint tests.
25776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25780
ad8ac1bd
RL
257812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25782
25783 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25784 FD_CLOEXEC.
25785
1d3e4b61
UD
257862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25787
25788 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25789 Add wcscpy-ssse3 wcscpy-c.
25790 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25791 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25792 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25793 * sysdeps/x86_64/wcschr.S: New file.
25794 * sysdeps/x86_64/wcsrchr.S: New file.
25795 * string/test-strcmp.c: Remove checking of wcscmp function for
25796 wrong alignments.
25797 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25798 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25799 wcsrchr-sse2 wcsrchr-c.
25800 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25801 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25802 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25803 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25804 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25805 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25806 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25807 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25808 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25809 * wcsmbc/wcschr.c (WCSCHR): New macro.
25810
5b330a2d
UD
258112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25812
25813 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25814 * wcsmbs/test-wcsrchr.c: New file.
25815 * string/test-strrchr.c: Add wcsrchr support.
25816 (WIDE): New macro.
25817 * wcsmbs/test-wcscpy.c: New file.
25818 * string/test-strcpy.c: Add wcscpy support.
25819 (WIDE): New macro.
26428b7c 25820
f039c043
UD
258212011-12-10 Ulrich Drepper <drepper@gmail.com>
25822
25823 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25824 the inner loop.
25825
850fb039
AS
258262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25827
25828 [BZ #13472]
25829 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25830
4efbd5cb
UD
258312011-12-04 Ulrich Drepper <drepper@gmail.com>
25832
52ff5dd0 25833 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25834 Minor optimizations.
52ff5dd0 25835
4efbd5cb
UD
25836 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25837 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25838 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25839
8a426e12
UD
258402011-12-03 Ulrich Drepper <drepper@gmail.com>
25841
aff2453d
UD
25842 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25843 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25844 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25845 for gcc to avoid warnings.
25846 * inet/Makefile (tests): Add tst-checks.
25847 * inet/tst-checks.c: New file.
25848
25849 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25850 warning.
25851
25852 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25853 __wmemcmp_sse2.
25854
25855 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25856 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25857
8a426e12
UD
25858 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25859
9bea3473
UD
258602011-12-02 Ulrich Drepper <drepper@gmail.com>
25861
3a965496
UD
25862 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25863 problem.
25864
9bea3473
UD
25865 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25866
f101631b
UD
258672011-11-29 Joseph Myers <joseph@codesourcery.com>
25868
25869 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25870 conditional on GCC version.
25871 (__arch_compare_and_exchange_val_8_acq)
25872 (__arch_compare_and_exchange_val_16_acq)
25873 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25874 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25875 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25876
a98275aa
UD
258772011-12-02 Joseph Myers <joseph@codesourcery.com>
25878
25879 * sysdeps/sh/backtrace.c: New file.
25880
d4cc29a2
AS
258812011-12-02 Andreas Schwab <schwab@redhat.com>
25882
25883 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25884 parenthesis.
25885
6257af2d
AS
258862011-12-01 Andreas Schwab <schwab@redhat.com>
25887
25888 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25889 falling back to utime.
25890
b5f44c1a
AS
258912011-11-30 Andreas Schwab <schwab@redhat.com>
25892
25893 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25894 expectations for float.
25895
f3a6cc0a
AS
258962011-11-29 Andreas Schwab <schwab@redhat.com>
25897
25898 * locale/weight.h (findidx): Add parameter len.
25899 * locale/weightwc.h (findidx): Likewise.
25900 * posix/fnmatch_loop.c (FCT): Adjust caller.
25901 * posix/regcomp.c (build_equiv_class): Likewise.
25902 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25903 * posix/regexec.c (check_node_accept_bytes): Likewise.
25904 * string/strcoll_l.c (STRCOLL): Likewise.
25905 * string/strxfrm_l.c (STRXFRM): Likewise.
25906
9d65ea3a
UD
259072011-11-17 Ulrich Drepper <drepper@gmail.com>
25908
25909 * Makefile.in: Remove CVSOPT handling.
25910 * configure.in: Remove use of AC_REVISION.
25911 * iconvdata/Makefile (distribute): No need to filter out CVS.
25912 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25913 handling.
25914
5583a086
AS
259152011-11-16 Andreas Schwab <schwab@redhat.com>
25916
25917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25918 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25919 [USE_AS_STRNCASECMP_L]: Likewise.
25920 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25921 NO_TLS_DIRECT_SEG_REFS.
25922 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25923 Fix argument offsets for non-PIC.
25924 [USE_AS_STRNCASECMP_L]: Likewise.
25925 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25926 NO_TLS_DIRECT_SEG_REFS.
25927
d62a8200
UD
259282011-11-15 Ulrich Drepper <drepper@gmail.com>
25929
9d65ea3a 25930 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25931 O_CLOEXEC.
25932 * locale/loadlocale.c (_nl_load_locale): Likewise.
25933
09f93bd3
AS
259342011-11-15 Andreas Schwab <schwab@redhat.com>
25935
446514f9
AS
25936 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25937 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25938 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25939 (SYSCALL_GETTIME): Set errno on error.
25940
09f93bd3
AS
25941 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25942 count references to noai6ai_cached.
25943
312be3f9
UD
259442011-11-15 Ulrich Drepper <drepper@gmail.com>
25945
25946 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25947
25948 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25949 FD_CLOEXEC for /proc/self/maps.
25950
25951 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25952 FD_CLOEXEC for /proc/meminfo.
25953
25954 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25955 gai.conf.
25956
25957 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25958 FD_CLOEXEC for given file.
25959
25960 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25961
25962 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25963 FD_CLOEXEC for /etc/hosts.
25964 (_gethtent): Likewise.
25965
25966 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25967
25968 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25969 cancellation and set FD_CLOEXEC for /etc/netgroup.
25970
25971 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25972 reading /etc/publickey.
25973
25974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25975 allow cancellation when reading /etc/group.
25976
25977 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25978 cancellation.
25979 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25980
25981 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25982 when using data file.
25983
25984 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25985
25986 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25987 (write_nis_obj): Use "c" and "e" in fopen.
25988
25989 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25990
25991 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25992
25993 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25994
25995 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25996
25997 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25998 locale.alias.
25999
26000 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26001
26002 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26003
26004 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26005
26006 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26007 file parsing and set FD_CLOEXEC.
26008
82af0fa8
UD
260092011-11-14 Ulrich Drepper <drepper@gmail.com>
26010
26011 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26012
a5fb313c
AS
260132011-11-14 Andreas Schwab <schwab@redhat.com>
26014
26015 * malloc/arena.c (arena_get2): Don't call reused_arena when
26016 _int_new_arena failed.
26017
6abf3465
UD
260182011-11-14 Ulrich Drepper <drepper@gmail.com>
26019
26020 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26021 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26022 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26023 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26024 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26026 to compile strcasecmp and strncasecmp.
26027 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26028 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26029
26030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26031
76e3966e
UD
260322011-11-13 Ulrich Drepper <drepper@gmail.com>
26033
26034 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26035 locale-defines.sym to gen-as-const-headers.
26036 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26037 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26038 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26039 to compile strcasecmp and strncasecmp.
26040 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26041 strcasecmp_l and strncasecmp_l.
26042 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26043 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26044 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26045 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26046 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26047 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26048 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26049 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26050 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26051 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26052 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26053
ab26144e
UD
260542011-11-12 Ulrich Drepper <drepper@gmail.com>
26055
7edb22ef
UD
26056 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26057 result of SYSDEP_GETTIME_CPU to retval.
26058 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26059 parameter list to macro. Remove trailing semicolon. Adjust users.
26060
9694fc44
UD
26061 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26062 variable.
26063
8ad89ef8
UD
26064 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26065 mantissa words.
26066 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26067
0c822ef9
UD
26068 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26069 from unused variable.
26070
874e0564
UD
26071 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26072 DWARF definitions.
26073 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26074 for assembling.
26075
3a2edc79
UD
26076 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26077 over namespaces.
26078
f3c2577f
UD
26079 * sunrpc/rpc_prot.c (rejected): Fix case value.
26080
294ce126
UD
26081 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26082 unsigned long long int to avoid warnings in shift.
26083
5e2b63c6
UD
26084 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26085 of use of trans.
26086 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26087 variable tmp.
26088
e7f4b08e
UD
26089 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26090 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26092
ab26144e
UD
26093 * nis/nis_table.c (nis_list): Use variable of correct type for
26094 result of __follow_path call.
26095
8a6d5255
AZ
260962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26097
26098 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26099 of math functions ceil, trunc, floor, round, and sqrt, when
26100 avaliable on the platform.
26101 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26102 name clash.
26103 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26104 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26105 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26106
aaddc98c
MP
261072011-10-30 Marek Polacek <mpolacek@redhat.com>
26108
26109 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26110 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26111
95b7042b
RM
261122011-11-11 Roland McGrath <roland@hack.frob.com>
26113
26114 * include/unistd.h: Fix __readlink return type.
26115 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26116
57769839
UD
261172011-11-11 Ulrich Drepper <drepper@gmail.com>
26118
26119 * stdlib/ucontext.h: Undo last change for makecontext.
26120
edc5984d
AS
261212011-11-11 Andreas Schwab <schwab@redhat.com>
26122
98591e58
AS
26123 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26124
edc5984d
AS
26125 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26126 * setjmp/setjmp.h: Mark functions as non-leaf.
26127 * setjmp/bits/setjmp2.h: Likewise.
26128 * stdlib/ucontext.h: Likewise.
26129
77cdc054
AS
261302011-11-10 Andreas Schwab <schwab@redhat.com>
26131
26132 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26133 (reused_arena): Don't check arena limit.
26134 (arena_get2): Atomically check arena limit.
26135
fe72eebd
UD
261362011-11-08 Ulrich Drepper <drepper@gmail.com>
26137
5f078c32
UD
26138 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26139 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26140
fe72eebd
UD
26141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26142 instructions.
26143
ae1bc2fa
AS
261442011-11-07 Andreas Schwab <schwab@redhat.com>
26145
7583a88d
AS
26146 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26147 handler when locking.
26148
ae1bc2fa
AS
26149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26150 Fix size of allocated buffer.
26151
10fb0bfa
AS
261522011-11-04 Andreas Schwab <schwab@redhat.com>
26153
998832a4
AS
26154 [BZ #10103]
26155 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26156 declarations for long double functions.
26157 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26158
10fb0bfa
AS
26159 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26160
3d7ba52b
AS
261612011-11-03 Andreas Schwab <schwab@redhat.com>
26162
a9ae54a1
AS
26163 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26164 installed.
26165
3d7ba52b
AS
26166 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26167 is disabled.
26168
bc8db248
ST
261692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26170
26171 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26172
45b96dd6
AS
261732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26174
647776f6
AS
26175 * include/alloca.h (stackinfo_alloca_round): Define.
26176 (extend_alloca): Use it.
26177 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26178 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26179 here.
26180
d91a8b93
AS
26181 * scripts/check-local-headers.sh: Ignore libaudit.h.
26182
45b96dd6
AS
26183 * nscd/Makefile (extra-objs): Make recursively expanded.
26184
432d41ce
UD
261852011-11-01 Ulrich Drepper <drepper@gmail.com>
26186
34372fc6
UD
26187 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26189
fadb59f8
UD
26190 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26191 * posix/tst-rfc3484-2.c: Likewise.
26192 * posix/tst-rfc3484-3.c: Likewise.
26193
78239589
UD
26194 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26195 process_vm_writev.
26196 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26197 process_vm_writev.
26198 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26199 process_vm_writev from libc using GLIBC_2.15 version.
26200
432d41ce
UD
26201 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26202
02f9c6cf
PP
262032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26204
26205 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26206 stack usage.
26207
3a2c0242
UD
262082011-10-31 Ulrich Drepper <drepper@gmail.com>
26209
f4ec4833
UD
26210 [BZ #13367]
26211 * nss/getent.c (initgroups_keys): Show error message in case no group
26212 names are given.
26213
3a2c0242
UD
26214 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26215 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26216 __bump_nl_timestamp.
26217 * nscd/connections (nscd_init): When host database is served open
26218 netlink socket and request notification about configuration changes.
26219 (main_loop_poll): Track netlink file descriptor and bump timestamp
26220 in case data becomes available.
26221 (main_loop_epoll): Likewise.
26222 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26223 (database_pers_head): Add extra_data fileds.
26224 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26225 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26226 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26227 Adjust caller.
26228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26229 in6ai data, call __free_in6ai.
26230 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26231 Add -DHAVE_NETLINK.
26232 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26233 interface information. Reuse previous data if netlink timestamp
26234 is not changed.
26235 (__bump_nl_timestamp): New function.
26236 (__free_in6ai): New function.
26237
636064eb
UD
262382011-10-30 Ulrich Drepper <drepper@gmail.com>
26239
26240 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26241 close_not_cancel_no_status here.
26242 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26243
9beb2334
UD
262442011-10-29 Ulrich Drepper <drepper@gmail.com>
26245
6ef76f3b
UD
26246 [BZ #13276]
26247 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26248 return value.
26249
0ffc4f3e 26250 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26251 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26252 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26253
cb95113e
UD
262542011-07-03 Andreas Jaeger <aj@suse.de>
26255
26256 [BZ #10709]
26257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26258 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26259 * math/libm-test.inc (sin_test): Add test case.
26260
a1b560ff
UD
262612011-10-29 Ulrich Drepper <drepper@gmail.com>
26262
c9aaface
UD
26263 [BZ #13337]
26264 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26265 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26266
d272e7f1
UD
26267 * elf/chroot_canon.c (chroot_canon): Cleanups.
26268
1bc33071
UD
26269 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26270
1760874d
TJ
26271 [BZ #13335]
26272 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26273 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26274
51d91b18
UD
26275 * string/test-strchr.c: Make usable for strchrnul testing.
26276 * string/test-strchrnul.c: New file.
26277 * string/Makefile (strop-tests): Add strchrnul.
26278
a1b560ff 26279 * po/it.po: Update from translation team.
b611fb81 26280 * po/es.po: Likewise.
a1b560ff 26281
a5b81e1f
UD
262822011-10-28 Ulrich Drepper <drepper@gmail.com>
26283
fd52bc6d
UD
26284 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26285 the three constants needed as parameters. Drop the others.
26286 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26287 __m128i_strloadu_tolower.
52e4b9eb
UD
26288 Create and initialize variable zero and use it in all the places
26289 where _mm_setzero_si128 was used.
fd52bc6d 26290
a5b81e1f
UD
26291 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26292 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26293 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26294 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26295 anymore.
26296 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26297 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26298 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26299 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26300 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26301 __mpranred, __mptan.
26302 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26303 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26304 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26305 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26306 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26307 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26308 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26309 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26310 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26311
b4343346
AS
263122011-10-28 Andreas Schwab <schwab@redhat.com>
26313
0c92d8a8
AS
26314 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26315 redefine if SHARED.
26316 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26317
b4343346
AS
26318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26319 wide char related routines to wcsmbs subdir.
26320
3871f58f
AS
263212011-10-27 Andreas Schwab <schwab@redhat.com>
26322
26323 [BZ #13344]
26324 * misc/sys/cdefs.h (__THROWNL): Define.
26325 * posix/unistd.h: Use __THREADNL instead of __THREAD
26326 for memory synchronization functions.
26327
94d44d9f
RM
263282011-10-26 Roland McGrath <roland@hack.frob.com>
26329
21b64b15 26330 [BZ #13349]
94d44d9f
RM
26331 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26332 doesn't exist.
26333 * manual/stdio.texi (Obstack Streams): Node removed.
26334
f6ce9294
AS
263352011-10-26 Andreas Schwab <schwab@redhat.com>
26336
80479147
AS
26337 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26338 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26340
f6ce9294
AS
26341 * math/math_private.h (math_force_eval): Allow non-addressable
26342 arguments.
26343 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26344
618280a1
UD
263452011-10-25 Ulrich Drepper <drepper@gmail.com>
26346
e0016b11
UD
26347 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26348 file is not needed.
26349
26350 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26351 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26353 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26354 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26355 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26357 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26358 Add AVX variants.
26359 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26361 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26362 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26363 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26365 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26366 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26367 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26368 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26369 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26370 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26371 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26372 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26373 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26374 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26375 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26376 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26377 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26378
26379 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26380 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26381
618280a1
UD
26382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26383 place. Use VEX encoding when compiling for AVX.
26384
37822576
AS
263852011-10-25 Andreas Schwab <schwab@redhat.com>
26386
1f1e1947
AS
26387 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26388 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26389
37822576
AS
26390 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26391
31ea014d
UD
263922011-10-25 Ulrich Drepper <drepper@gmail.com>
26393
d7826aa1 26394 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26395 useless if() expression.
d7826aa1
UD
26396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26408 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26409 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26410 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26411 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26412 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26413 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26414 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26415
31ea014d
UD
26416 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26417
16437fec
AS
264182011-10-25 Andreas Schwab <schwab@redhat.com>
26419
26420 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26421 condition.
26422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26423
31d3cc00
UD
264242011-10-25 Ulrich Drepper <drepper@gmail.com>
26425
26426 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26427 .text section. Avoid duplicate constants.
26428 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26438 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26440 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26445 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26451 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26452 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26453 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26454 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26456 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26457 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26458 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26459 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26460 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26461 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26462 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26463 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26464 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26466 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26467 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26468 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26469 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26470 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26471 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26472 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26473
58985aa9
UD
264742011-10-24 Ulrich Drepper <drepper@gmail.com>
26475
202c9deb
UD
26476 * sysdeps/x86_64/dla.h: Move to ...
26477 * sysdeps/x86_64/fpu/dla.h: ...here.
26478 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26479 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26480
af968f62
UD
26481 * config.make.in: Add have-mfma4 entry.
26482 * configure.in: Substitute libc_cv_cc_fma4.
26483 * math/Makefile (dbl-only-routines): Add sincostab.
26484 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26485 Use __sincostab not sincos.
26486 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26487 name is a macro.
26488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26492 using __copysign.
26493 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26494 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26495 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26496 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26497 and __inv.
26498 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26499 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26500 __copysign.
26501 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26502 define aliases when function name is a macro.
26503 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26504 sysdeps/ieee754/dbl-64/sincos.tbl.
26505 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26506 fma4-enabled routines.
26507 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26508 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26509 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26510 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26511 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26512 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26514 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26516 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26517 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26518 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26519 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26520 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26521 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26522 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26523 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26524 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26525 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26526 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26527 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26528 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26529 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26530 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26532 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26533 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26534 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26535 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26536 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26537
58985aa9
UD
26538 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26539 rename.
26540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26548
a201fbcf
AS
265492011-10-24 Andreas Schwab <schwab@redhat.com>
26550
26551 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26552
fc2ee42a
LD
265532011-10-23 Ulrich Drepper <drepper@gmail.com>
26554
bb3129bd
UD
26555 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26556
0275fff8
UD
26557 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26558 prediction.
26559 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26560
2fa2ae85
UD
26561 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26562 Remove unused variable magic_bits.
26563 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26564
fc2ee42a
LD
26565 * string/strnlen.c: Define and use STRNLEN macro.
26566 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26567 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26568 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26569 * wcsmbs/wcslen.c: Define and use WCSLEN.
26570 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26571 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26572 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26573 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26574 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26575 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26576 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26577
ce7dd29f
LD
265782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26579
26580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26581 strnlen-sse2-no-bsf.
26582 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26584 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26585 Add strnlen support.
26586 (USE_AS_STRNLEN): New macro.
26587 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26588 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26589 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26590 * sysdeps/x86_64/wcslen.S: New file.
26591
979c70a3
MZ
265922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26593
26594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26595 XMM-moves are used for copying on small sizes.
26596
2d09f82f
LD
265972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26598
26599 * wcsmbs/Makefile (strop-tests): Add wcschr.
26600 * wcsmbs/test-wcschr.c: New file.
26601 * string/test-strchr.c: Update.
26602 Add wcschr support.
26603 (WIDE): New macro.
26604
619fccca
LD
266052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26606
2d09f82f 26607 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26608 * wcsmbs/test-wcslen.c: New file.
26609 * string/test-strlen.c: Update.
26610 Add wcslen support.
26611 (WIDE): New macro.
26612
09f699ea
UD
266132011-10-23 Ulrich Drepper <drepper@gmail.com>
26614
26615 * po/it.po: Update from translation team.
26616
95584d3b
LD
266172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26618
26619 * sysdeps/x86_64/wcscmp.S: Update.
26620 Fix wrong comparison semantics.
26621 wcscmp shall use signed comparison not unsigned.
26622 Don't use substraction to avoid overflow bug.
26623 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26624 * wcsmbc/wcscmp.c: Likewise.
26625 * string/test-strcmp.c: Likewise.
26626 Add new tests to check cases with negative values.
26627
c8b3296b
UD
266282011-10-23 Ulrich Drepper <drepper@gmail.com>
26629
26630 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26631 * sysdeps/x86_64/dla.h: ...here. New file.
26632 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26633 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26641
246ad57a
AS
266422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26643
26644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26645 __ynl_finite aliases.
26646
a1a87169
UD
266472011-10-22 Ulrich Drepper <drepper@gmail.com>
26648
0d355eb7
UD
26649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26650
a1a87169
UD
26651 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26652 define DLA_FMA.
26653 [DLA_FMA] (EMULV): Use DLA_FMA.
26654 [DLA_FMA] (MUL12): Use EMULV.
26655 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26656 that are not needed.
26657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26664
ee2aafe0
AS
266652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26666
26667 * math/s_nan.c: Undef __nan.
26668 * math/s_nanf.c: Undef __nanf.
26669 * math/s_nanl.c: Undef __nanl.
26670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26671 "math_private.h".
26672
bc62c2fb
UD
266732011-10-22 Ulrich Drepper <drepper@gmail.com>
26674
77425c63
UD
26675 * math/s_catan.c: Add branch predictions.
26676 * math/s_catanf.c: Likewise.
26677 * math/s_catanh.c: Likewise.
26678 * math/s_catanhf.c: Likewise.
26679 * math/s_catanhl.c: Likewise.
26680 * math/s_catanl.c: Likewise.
26681 * math/s_cexp.c: Likewise.
26682 * math/s_cexpf.c: Likewise.
26683 * math/s_cexpl.c: Likewise.
26684 * math/s_clog.c: Likewise.
26685 * math/s_clog10.c: Likewise.
26686 * math/s_clog10f.c: Likewise.
26687 * math/s_clog10l.c: Likewise.
26688 * math/s_clogf.c: Likewise.
26689 * math/s_clogl.c: Likewise.
26690 * math/s_csqrt.c: Likewise.
26691 * math/s_csqrtf.c: Likewise.
26692 * math/s_csqrtl.c: Likewise.
26693 * math/s_ctanf.c: Likewise.
26694 * math/s_ctanh.c: Likewise.
26695 * math/s_ctanhf.c: Likewise.
26696 * math/s_ctanhl.c: Likewise.
26697 * math/s_ctanl.c: Likewise.
26698
bc62c2fb
UD
26699 * math/math_private.h: Define __nan, __nanf, __nanl.
26700 * math/s_cacosh.c: Include <math_private.h>.
26701 * math/s_cacoshl.c: Likewise.
26702 * math/s_casinh.c: Likewise.
26703 * math/s_casinhf.c: Likewise.
26704 * math/s_casinhl.c: Likewise.
26705 * math/s_ccos.c: Rely entire on ccosh.
26706 * math/s_ccosf.c: Rely entire on ccoshf.
26707 * math/s_ccosl.c: Rely entirely on ccoshl.
26708 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26709 Remove tests for FE_INVALID.
26710 * math/s_ccoshf.c: Likewise.
26711 * math/s_ccoshl.c: Likewise.
26712 * math/s_csin.c: Likewise.
26713 * math/s_csinf.c: Likewise.
26714 * math/s_csinh.c Likewise.
26715 * math/s_csinhf.c: Likewise.
26716 * math/s_csinhl.c: Likewise.
26717 * math/s_csinl.c: Likewise.
26718 * math/s_ctan.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26720 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26721 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26722
8ec250a4
UD
267232011-10-21 Ulrich Drepper <drepper@gmail.com>
26724
c196fed8
UD
26725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26726 compilation problems.
26727
8ec250a4
UD
26728 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26729 __builtin_expect.
26730
8d4f46c6
UD
267312011-10-20 Ulrich Drepper <drepper@gmail.com>
26732
ed72b654
UD
26733 * sysdeps/i386/configure.in: Test for -mfma4 option.
26734 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26735 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26736 COMMON_CPUID_INDEX_80000001.
26737 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26738 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26739 use it if FMA3 is not supported.
26740 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26741
8d4f46c6
UD
26742 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26743 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26744
d45c60c2
AS
267452011-10-20 Andreas Schwab <schwab@redhat.com>
26746
26747 [BZ #12892]
26748 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26749 it would create a cycle with a link time dependency.
26750
d9a4d2ab
UD
267512011-10-19 Ulrich Drepper <drepper@gmail.com>
26752
855d1560
UD
26753 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26754 instruction.
26755 * string/Makefile (strop-tests): Add rawmemchr.
26756 * string/test-rawmemchr.c: New file.
26757
d9a4d2ab
UD
26758 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26760 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26761 when compiling str{,n}casecmp and when AVX is available. Hook up
26762 new optimized code in initializers.
26763
8f3b1ffe
AS
267642011-10-19 Andreas Schwab <schwab@redhat.com>
26765
26766 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26767 __feraiseexcept instead of feraiseexcept.
26768
d38f1dba
UD
267692011-10-18 Ulrich Drepper <drepper@gmail.com>
26770
d9a8d0ab
UD
26771 * math/math_private.h: Define defaults for libc_fetestexcept and
26772 libc_feupdateenv.
26773 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26774 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26775 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26776 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26777 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26778 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26779 libc_fetestexcept and libc_feupdateenv.
26780
4855e3dd
UD
26781 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26782 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26783 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26784 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26785 libc_feholdexcept_setround.
26786
581d30e3
UD
26787 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26788 Add s_nearbyint-c and s_nearbyintf-c.
26789 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26790 nearbyintf inlines.
26791 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26792 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26793 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26794 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26795
d38f1dba
UD
26796 * math/math_private.h: Define defaults for libc_fegetround,
26797 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26798 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26799 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26800 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26801 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26802 standard functions.
26803 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26804 Remove comments and hacks for old compiler versions.
26805 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26806 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26807 libc_feholdexceptl.
26808
caa6c9d8
AS
268092011-10-18 Andreas Schwab <schwab@redhat.com>
26810
26811 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26812 (__feraiseexcept_renamed): Add __NTH.
26813 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26814 namespace violations.
26815
97c066e6
UD
268162011-10-17 Ulrich Drepper <drepper@gmail.com>
26817
99ce7b04
UD
26818 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26819
1004d182
UD
26820 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26821
228a984d
UD
26822 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26823 recently added interfaces.
26824 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26825
c8553a6a
UD
26826 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26827 about macro parameter expansion.
26828
ed22dcf6
UD
26829 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26830 __NO_MATH_INLINES is defined. Cleanups.
26831
26832 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26833 and __floorf is target has SSE4.1.
26834 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26835 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26836 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26837 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26838
b171c137
UD
26839 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26840 name.
26841 (floorf): Likewise.
26842
97c066e6
UD
26843 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26844
629f62ef
AS
268452011-10-17 Andreas Schwab <schwab@redhat.com>
26846
49a43d80
AS
26847 * misc/sys/cdefs.h: Fix last change.
26848
629f62ef
AS
26849 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26850 database lookup.
26851
e453f6cd
UD
268522011-10-16 Ulrich Drepper <drepper@gmail.com>
26853
aa78043a
UD
26854 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26855
ad0f5cad
UD
26856 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26862 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26863 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26864 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26865 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26866 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26867 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26868 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26869 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26870 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26871 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26872 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26873 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26874 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26875 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26876 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26877 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26878
26879 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26880 ceil, ceilf, floor, floorf.
26881
26882 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26883 Perform IRELATIVE relocations last.
26884
e453f6cd
UD
26885 * elf/do-rel.h: Add another parameter nrelative, replacing the
26886 local variable with the same name. Change name of the function
26887 to end in Rel or Rela (uppercase).
26888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26889 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26890 elf_dynamic_do_##reloc function.
26891
fd5bdc09
UD
268922011-10-15 Ulrich Drepper <drepper@gmail.com>
26893
79b195b5
UD
26894 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26895 is sufficient, at least on modern CPUs.
26896
d4a28569
UD
26897 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26898
b61099b5
UD
26899 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26900 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26901
bcf01e6d
UD
26902 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26903 __expl_finite.
26904 * math/bits/math-finite.h: Add entries for exp.
26905 * math/e_expl.c: Add __*_finite alias.
26906 * sysdeps/i386/fpu/e_exp.S: Likewise.
26907 * sysdeps/i386/fpu/e_expf.S: Likewise.
26908 * sysdeps/i386/fpu/e_expl.c: Likewise.
26909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26910 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26913 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26914 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26915 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26916
ba1a0d59
UD
26917 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26918 is sufficient, at least on modern CPUs.
26919
fd5bdc09
UD
26920 * ctype/ctype-info.c (__ctype_init): Define.
26921 * include/ctype.h (__ctype_init): Declare.
26922 (__ctype_b_loc): The variable is always initialized.
26923 (__ctype_toupper_loc): Likewise.
26924 (__ctype_tolower_loc): Likewise.
26925 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26926 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26927
7872cfb0
AS
269282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26929
b468825a
AS
26930 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26931
7872cfb0
AS
26932 * configure.in: Also look in $cxxmachine/include for C++ system
26933 headers.
26934
be13f7bf
LD
269352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26936
26937 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26938 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26939 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26940 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26941 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26942 (USE_AS_WMEMCMP): New macro.
26943 Fixing indents.
26944 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26945 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26946 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26947 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26949 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26950 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26951 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26952 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26953 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26954 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26955 (USE_AS_WMEMCMP): New macro.
26956 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26957 * sysdeps/string/test-memcmp.c: Update.
26958 Fix simple_wmemcmp.
26959 Add new tests.
26960 * wcsmbs/wmemcmp.c: Update.
26961 (WMEMCMP): New macro.
26962 Fix overflow bug.
26963
556a2007
AJ
269642011-10-12 Andreas Jaeger <aj@suse.de>
26965
26966 [BZ #13268]
26967 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26968
538faaa7
UD
269692011-10-15 Ulrich Drepper <drepper@gmail.com>
26970
ab6737ff
UD
26971 * libio/iofwide.c (do_length): Avoid warning.
26972
538faaa7
UD
26973 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26974
396a21b1
UD
269752011-10-14 Ulrich Drepper <drepper@gmail.com>
26976
cdf2901f
UD
26977 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26978
38ad40ce
UD
26979 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26980 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26981 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26982 * sysdeps/i386/i686/fpu/e_log.S: New file.
26983 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26984 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26985
396a21b1
UD
26986 * ctype/ctype.h: Add support for inlined isXXX functions when
26987 compiling C++ code.
26988
6b1f68c9
AS
269892011-10-14 Andreas Schwab <schwab@redhat.com>
26990
349290c0
AS
26991 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26992
6b1f68c9
AS
26993 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26994
f2282d42
RM
269952011-10-13 Roland McGrath <roland@hack.frob.com>
26996
26997 [BZ #13291]
26998 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26999
5298ffa8
AS
270002011-10-13 Andreas Schwab <schwab@redhat.com>
27001
714fad23
AS
27002 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27003 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27004 feraiseexcept.
27005
81dcc7fb
AS
27006 * sysdeps/x86_64/memrchr.S: Check for zero size.
27007
5298ffa8
AS
27008 * string/stratcliff.c: Add memrchr tests.
27009
951fbcec
LD
270102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27011
27012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27013 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27014 rawmemchr-sse2 rawmemchr-sse2-bsf.
27015 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27016 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27017 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27018 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27019 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27020 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27021 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27022 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27023 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27024 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27025 * string/memrchr.c (MEMRCHR): New macro.
27026
0ac5ae23
UD
270272011-10-12 Ulrich Drepper <drepper@gmail.com>
27028
27029 Add integration with gcc's -ffinite-math-only and optimize wrapper
27030 functions in libm.
27031 * Versions.def: Define GLIBC_2.15 version for libm.
27032 * math/Makefile (headers): Add bits/math-finite.h.
27033 * math/bits/math-finite.h: New file.
27034 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27035 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27036 * math/e_acoshl.c: Add __*_finite alias.
27037 * math/e_acosl.c: Likewise.
27038 * math/e_asinl.c: Likewise.
27039 * math/e_atan2l.c: Likewise.
27040 * math/e_atanhl.c: Likewise.
27041 * math/e_coshl.c: Likewise.
27042 * math/e_exp10.c: Likewise.
27043 * math/e_exp10f.c: Likewise.
27044 * math/e_exp10l.c: Likewise.
27045 * math/e_exp2l.c: Likewise.
27046 * math/e_fmodl.c: Likewise.
27047 * math/e_gammal_r.c: Likewise.
27048 * math/e_hypotl.c: Likewise.
27049 * math/e_j0l.c: Likewise.
27050 * math/e_j1l.c: Likewise.
27051 * math/e_jnl.c: Likewise.
27052 * math/e_lgammal_r.c: Likewise.
27053 * math/e_log10l.c: Likewise.
27054 * math/e_log2l.c: Likewise.
27055 * math/e_logl.c: Likewise.
27056 * math/e_powl.c: Likewise.
27057 * math/e_sinhl.c: Likewise.
27058 * math/e_sqrtl.c: Likewise.
27059 * math/e_scalb.c: Completely rewritten and optimized.
27060 * math/e_scalbf.c: Likewise.
27061 * math/e_scalbl.c: Likewise.
27062 * math/w_acos.c: Likewise.
27063 * math/w_acosf.c: Likewise.
27064 * math/w_acosl.c: Likewise.
27065 * math/w_acosh.c: Likewise.
27066 * math/w_acoshf.c: Likewise.
27067 * math/w_acoshl.c: Likewise.
27068 * math/w_asin.c: Likewise.
27069 * math/w_asinf.c: Likewise.
27070 * math/w_asinl.c: Likewise.
27071 * math/w_atan2.c: Likewise.
27072 * math/w_atan2f.c: Likewise.
27073 * math/w_atan2l.c: Likewise.
27074 * math/w_atanh.c: Likewise.
27075 * math/w_atanhf.c: Likewise.
27076 * math/w_atanhl.c: Likewise.
27077 * math/w_exp10.c: Likewise.
27078 * math/w_exp10f.c: Likewise.
27079 * math/w_exp10l.c: Likewise.
27080 * math/w_fmod.c: Likewise.
27081 * math/w_fmodf.c: Likewise.
27082 * math/w_fmodl.c: Likewise.
27083 * math/w_j0.c: Likewise.
27084 * math/w_j0f.c: Likewise.
27085 * math/w_j0l.c: Likewise.
27086 * math/w_j1.c: Likewise.
27087 * math/w_j1f.c: Likewise.
27088 * math/w_j1l.c: Likewise.
27089 * math/w_jn.c: Likewise.
27090 * math/w_jnf.c: Likewise.
27091 * math/w_log.c: Likewise.
27092 * math/w_logf.c: Likewise.
27093 * math/w_logl.c: Likewise.
27094 * math/w_log10.c: Likewise.
27095 * math/w_log10f.c: Likewise.
27096 * math/w_log10l.c: Likewise.
27097 * math/w_log2.c: Likewise.
27098 * math/w_log2f.c: Likewise.
27099 * math/w_log2l.c: Likewise.
27100 * math/w_pow.c: Likewise.
27101 * math/w_powf.c: Likewise.
27102 * math/w_powl.c: Likewise.
27103 * math/w_remainder.c: Likewise.
27104 * math/w_remainderf.c: Likewise.
27105 * math/w_remainderl.c: Likewise.
27106 * math/w_scalb.c: Likewise.
27107 * math/w_scalbf.c: Likewise.
27108 * math/w_scalbl.c: Likewise.
27109 * math/w_sqrt.c: Likewise.
27110 * math/w_sqrtf.c: Likewise.
27111 * math/w_sqrtl.c: Likewise.
27112 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27113 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27114 used.
27115 * math/math_private.h: Declare __kernel_standard_f.
27116 * math/w_cosh.c: Remove cruft and optimize a bit.
27117 * math/w_coshf.c: Likewise.
27118 * math/w_coshl.c: Likewise.
27119 * math/w_exp2.c: Likewise.
27120 * math/w_exp2f.c: Likewise.
27121 * math/w_exp2l.c: Likewise.
27122 * math/w_hypot.c: Likewise.
27123 * math/w_hypotf.c: Likewise.
27124 * math/w_hypotl.c: Likewise.
27125 * math/w_lgamma.c: Likewise.
27126 * math/w_lgamma_r.c: Likewise.
27127 * math/w_lgammaf.c: Likewise.
27128 * math/w_lgammaf_r.c: Likewise.
27129 * math/w_lgammal.c: Likewise.
27130 * math/w_lgammal_r.c: Likewise.
27131 * math/w_sinh.c: Likewise.
27132 * math/w_sinhf.c: Likewise.
27133 * math/w_sinhl.c: Likewise.
27134 * math/w_tgamma.c: Likewise.
27135 * math/w_tgammaf.c: Likewise.
27136 * math/w_tgammal.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27139 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27140 Minor optimizations. Pretty printing. Remove cruft.
27141 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27142 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27143 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27144 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27145 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27146 * sysdeps/i386/fpu/e_asin.S: Likewise.
27147 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27148 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27149 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27150 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27151 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27152 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27153 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27154 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27155 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27156 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27157 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27158 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27159 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27160 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27161 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27162 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27163 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27164 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27165 * sysdeps/i386/fpu/e_log.S: Likewise.
27166 * sysdeps/i386/fpu/e_log10.S: Likewise.
27167 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27168 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27169 * sysdeps/i386/fpu/e_log2.S: Likewise.
27170 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27171 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27172 * sysdeps/i386/fpu/e_logf.S: Likewise.
27173 * sysdeps/i386/fpu/e_logl.S: Likewise.
27174 * sysdeps/i386/fpu/e_pow.S: Likewise.
27175 * sysdeps/i386/fpu/e_powf.S: Likewise.
27176 * sysdeps/i386/fpu/e_powl.S: Likewise.
27177 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27178 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27179 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27180 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27181 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27182 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27183 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27184 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27185 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27207 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27208 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27209 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27210 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27211 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27212 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27213 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27214 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27215 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27216 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27217 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27219 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27220 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27221 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27222 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27223 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27224 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27225 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27226 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27227 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27266 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27269 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27271 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27272 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27274 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27277 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27278 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27279 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27280 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27281 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27282 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27283 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27284 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27285 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27286 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27287 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27288 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27289 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27290 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27291 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27292 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27294 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27295 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27296 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27297 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27298 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27299 (__isnanf): Likewise.
27300 (__isinf_ns): Likewise.
27301 (__isinf_nsf): Likewise.
27302 (__finite): Likewise.
27303 (__finitef): Likewise.
27304 (__ieee754_sqrt): Define as macro.
27305 (__ieee754_sqrtf): Define as macro.
27306 (__ieee754_sqrtl): Define as macro.
27307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27308 inlined copy.
27309 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27310 __FINITE_MATH_ONLY__ consistent.
27311 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27312
12cc2fcd
AS
273132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27314
a843a204
AS
27315 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27316 of rawmemchr.
27317
12cc2fcd
AS
27318 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27319
c853acd5
UD
273202011-10-09 Ulrich Drepper <drepper@gmail.com>
27321
27322 * po/ja.po: Update from translation team.
27323
c658d255
RM
273242011-10-08 Roland McGrath <roland@hack.frob.com>
27325
110946e4
RM
27326 * locale/programs/locarchive.c (prepare_address_space): New function.
27327 (create_archive, enlarge_archive, open_archive): Use it.
27328
50604220
RM
27329 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27330 inside [SHARED], where it is used.
27331
c658d255
RM
27332 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27333
27334 * nss/getent.c (netgroup_keys): Remove unused variable.
27335 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27336
6a621eb7
UD
273372011-10-08 Ulrich Drepper <drepper@gmail.com>
27338
7edb55ce
UD
27339 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27340 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27343 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27344 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27345 * math/Makefile (libm-calls): Add s_isinf_ns.
27346 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27347 * math/multc3.c: Likewise.
27348 * math/s_casin.c: Likewise.
27349 * math/s_casinf.c: Likewise.
27350 * math/s_casinl.c: Likewise.
27351 * math/s_ccos.c: Likewise.
27352 * math/s_ccosf.c: Likewise.
27353 * math/s_ccosl.c: Likewise.
27354 * math/s_ctan.c: Likewise.
27355 * math/s_ctanf.c: Likewise.
27356 * math/s_ctanh.c: Likewise.
27357 * math/s_ctanhf.c: Likewise.
27358 * math/s_ctanhl.c: Likewise.
27359 * math/s_ctanl.c: Likewise.
27360 * math/w_fmod.c: Likewise.
27361 * math/w_fmodf.c: Likewise.
27362 * math/w_fmodl.c: Likewise.
27363 * math/w_remainder.c: Likewise.
27364 * math/w_remainderf.c: Likewise.
27365 * math/w_remainderl.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27367 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27368 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27370 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27371 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27372 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27373 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27374
187da0ae
UD
27375 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27376 of the number.
27377 * stdio-common/printf_fphex.c: Likewise.
27378 * stdio-common/printf_size.c: Likewise.
27379
9277c064
UD
27380 * math/e_exp10.c: Include math_private.h using <...> not "...".
27381 * math/e_exp10f.c: Likewise.
27382 * math/e_exp10l.c: Likewise.
27383 * math/e_exp2l.c: Likewise.
27384 * math/e_j0l.c: Likewise.
27385 * math/e_j1l.c: Likewise.
27386 * math/e_jnl.c: Likewise.
27387 * math/e_lgammal_r.c: Likewise.
27388 * math/e_rem_pio2l.c: Likewise.
27389 * math/e_scalb.c: Likewise.
27390 * math/e_scalbf.c: Likewise.
27391 * math/e_scalbl.c: Likewise.
27392 * math/k_cosl.c: Likewise.
27393 * math/k_sinl.c: Likewise.
27394 * math/k_tanl.c: Likewise.
27395 * math/s_cacoshf.c: Likewise.
27396 * math/s_catan.c: Likewise.
27397 * math/s_catanf.c: Likewise.
27398 * math/s_catanh.c: Likewise.
27399 * math/s_catanhf.c: Likewise.
27400 * math/s_catanhl.c: Likewise.
27401 * math/s_catanl.c: Likewise.
27402 * math/s_ccosh.c: Likewise.
27403 * math/s_ccoshf.c: Likewise.
27404 * math/s_ccoshl.c: Likewise.
27405 * math/s_cexp.c: Likewise.
27406 * math/s_cexpf.c: Likewise.
27407 * math/s_cexpl.c: Likewise.
27408 * math/s_clog.c: Likewise.
27409 * math/s_clog10.c: Likewise.
27410 * math/s_clog10f.c: Likewise.
27411 * math/s_clog10l.c: Likewise.
27412 * math/s_clogf.c: Likewise.
27413 * math/s_clogl.c: Likewise.
27414 * math/s_csin.c: Likewise.
27415 * math/s_csinf.c: Likewise.
27416 * math/s_csinh.c: Likewise.
27417 * math/s_csinhf.c: Likewise.
27418 * math/s_csinhl.c: Likewise.
27419 * math/s_csinl.c: Likewise.
27420 * math/s_csqrt.c: Likewise.
27421 * math/s_csqrtf.c: Likewise.
27422 * math/s_csqrtl.c: Likewise.
27423 * math/s_ctan.c: Likewise.
27424 * math/s_ctanf.c: Likewise.
27425 * math/s_ctanh.c: Likewise.
27426 * math/s_ctanhf.c: Likewise.
27427 * math/s_ctanhl.c: Likewise.
27428 * math/s_ctanl.c: Likewise.
27429 * math/s_ldexp.c: Likewise.
27430 * math/s_ldexpf.c: Likewise.
27431 * math/s_ldexpl.c: Likewise.
27432 * math/s_significand.c: Likewise.
27433 * math/s_significandf.c: Likewise.
27434 * math/s_significandl.c: Likewise.
27435 * math/w_acos.c: Likewise.
27436 * math/w_acosf.c: Likewise.
27437 * math/w_acosh.c: Likewise.
27438 * math/w_acoshf.c: Likewise.
27439 * math/w_acoshl.c: Likewise.
27440 * math/w_acosl.c: Likewise.
27441 * math/w_asin.c: Likewise.
27442 * math/w_asinf.c: Likewise.
27443 * math/w_asinl.c: Likewise.
27444 * math/w_atan2.c: Likewise.
27445 * math/w_atan2f.c: Likewise.
27446 * math/w_atan2l.c: Likewise.
27447 * math/w_atanh.c: Likewise.
27448 * math/w_atanhf.c: Likewise.
27449 * math/w_atanhl.c: Likewise.
27450 * math/w_cosh.c: Likewise.
27451 * math/w_coshf.c: Likewise.
27452 * math/w_coshl.c: Likewise.
27453 * math/w_dremf.c: Likewise.
27454 * math/w_exp10.c: Likewise.
27455 * math/w_exp10f.c: Likewise.
27456 * math/w_exp10l.c: Likewise.
27457 * math/w_exp2.c: Likewise.
27458 * math/w_exp2f.c: Likewise.
27459 * math/w_fmod.c: Likewise.
27460 * math/w_fmodf.c: Likewise.
27461 * math/w_fmodl.c: Likewise.
27462 * math/w_hypot.c: Likewise.
27463 * math/w_hypotf.c: Likewise.
27464 * math/w_hypotl.c: Likewise.
27465 * math/w_j0.c: Likewise.
27466 * math/w_j0f.c: Likewise.
27467 * math/w_j0l.c: Likewise.
27468 * math/w_j1.c: Likewise.
27469 * math/w_j1f.c: Likewise.
27470 * math/w_j1l.c: Likewise.
27471 * math/w_jn.c: Likewise.
27472 * math/w_jnf.c: Likewise.
27473 * math/w_jnl.c: Likewise.
27474 * math/w_lgamma.c: Likewise.
27475 * math/w_lgamma_r.c: Likewise.
27476 * math/w_lgammaf.c: Likewise.
27477 * math/w_lgammaf_r.c: Likewise.
27478 * math/w_lgammal.c: Likewise.
27479 * math/w_lgammal_r.c: Likewise.
27480 * math/w_log.c: Likewise.
27481 * math/w_log10.c: Likewise.
27482 * math/w_log10f.c: Likewise.
27483 * math/w_log10l.c: Likewise.
27484 * math/w_log2.c: Likewise.
27485 * math/w_log2f.c: Likewise.
27486 * math/w_log2l.c: Likewise.
27487 * math/w_logf.c: Likewise.
27488 * math/w_logl.c: Likewise.
27489 * math/w_pow.c: Likewise.
27490 * math/w_powf.c: Likewise.
27491 * math/w_powl.c: Likewise.
27492 * math/w_remainder.c: Likewise.
27493 * math/w_remainderf.c: Likewise.
27494 * math/w_remainderl.c: Likewise.
27495 * math/w_scalb.c: Likewise.
27496 * math/w_scalbf.c: Likewise.
27497 * math/w_scalbl.c: Likewise.
27498 * math/w_sinh.c: Likewise.
27499 * math/w_sinhf.c: Likewise.
27500 * math/w_sinhl.c: Likewise.
27501 * math/w_sqrt.c: Likewise.
27502 * math/w_sqrtf.c: Likewise.
27503 * math/w_sqrtl.c: Likewise.
27504 * math/w_tgamma.c: Likewise.
27505 * math/w_tgammaf.c: Likewise.
27506 * math/w_tgammal.c: Likewise.
27507
6a621eb7
UD
27508 * po/ja.po: Update from translation team.
27509
bf582445
AJ
275102011-09-29 Andreas Jaeger <aj@suse.de>
27511
f9efbf3a
AJ
27512 [BZ #13179]
27513 * sunrpc/netname.c (netname2host): Fix logic.
27514
bf582445
AJ
27515 [BZ #6779]
27516 [BZ #6783]
27517 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27518 correctly.
27519 * math/w_remainder.c (__remainder): Likewise.
27520 * math/w_remainderf.c (__remainderf): Likewise.
27521 * math/libm-test.inc (remainder_test): Add test cases.
27522
48693bea
AK
275232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27524
27525 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27526 sdiv_qrnnd.
27527
42622229
LD
275282011-10-07 Ulrich Drepper <drepper@gmail.com>
27529
27530 * string/test-memcmp.c: Avoid unncessary #defines.
27531 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27532
093ecf92
LD
275332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27534
27535 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27536 Use new sse2 version for core i3 - i7 as it's faster
27537 than sse42 version.
27538 (bit_Prefer_PMINUB_for_stringop): New.
27539 * sysdeps/x86_64/rawmemchr.S: Update.
27540 Replace with faster SSE2 version.
27541 * sysdeps/x86_64/memrchr.S: New file.
27542 * sysdeps/x86_64/memchr.S: Update.
27543 Replace with faster SSE2 version.
27544
fde56e5c
MP
275452011-09-12 Marek Polacek <mpolacek@redhat.com>
27546
27547 * elf/dl-load.c (lose): Add cast to avoid warning.
27548
21fd49a9
UD
275492011-10-07 Ulrich Drepper <drepper@gmail.com>
27550
5a06e643
UD
27551 * po/ca.po: Update from translation team.
27552
684ae515
UD
27553 * inet/getnetgrent_r.c: Hook up nscd.
27554 * nscd/Makefile (routines): Add nscd_netgroup.
27555 (nscd-modules): Add netgroupcache.
27556 (CFLAGS-netgroupcache.c): Define.
27557 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27558 (cache_search): Add const to second parameter.
27559 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27560 INNETGR.
27561 (dbs): Add netgrdb entry.
27562 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27563 (verify_persistent_db): Handle netgrdb.
27564 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27565 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27566 GETFDNETGR.
27567 (netgroup_response_header): Define.
27568 (innetgroup_response_header): Define.
27569 (datahead): Add netgroup_response_header and innetgroup_response_header
27570 elements.
27571 * nscd/nscd.conf: Add entries for netgroup cache.
27572 * nscd/nscd.h (dbtype): Add netgrdb.
27573 (_PATH_NSCD_NETGROUP_DB): Define.
27574 (netgroup_iov_disabled): Declare.
27575 (xmalloc, xcalloc, xrealloc): Move declarations here.
27576 (cache_search): Adjust prototype.
27577 Add netgroup-related prototypes.
27578 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27579 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27580 (__nscd_innetgr): Declare.
27581 * nscd/selinux.c (perms): Use access_vector_t as element type and
27582 add netgroup-related initializers.
27583 * nscd/netgroupcache.c: New file.
27584 * nscd/nscd_netgroup.c: New file.
27585 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27586 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27587 For four parameters use innetgr.
27588 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27589 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27590 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27591 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27592
21fd49a9
UD
27593 * nscd/connections.c (register_traced_file): Don't register file
27594 for disabled databases.
27595
054c0457
UD
275962011-10-06 Ulrich Drepper <drepper@gmail.com>
27597
32b63198
UD
27598 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27599
054c0457
UD
27600 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27601 from tree and freeing node.
27602
64031225
JO
276032011-09-25 Jiri Olsa <jolsa@redhat.com>
27604
27605 * nss/nsswitch.c (__nss_database_lookup): Handle
27606 nss_parse_service_list out of memory case.
27607
0490345c
JO
276082011-09-15 Jiri Olsa <jolsa@redhat.com>
27609
27610 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27611 out of memory case.
27612
3a62d00d
AS
276132011-10-04 Andreas Schwab <schwab@redhat.com>
27614
27615 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27616 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27617 pass it down.
27618 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27619 elf_machine_rela, elf_machine_lazy_rel.
27620 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27621 (ELF_DYNAMIC_DO_REL): Likewise.
27622 (ELF_DYNAMIC_DO_RELA): Likewise.
27623 (ELF_DYNAMIC_RELOCATE): Likewise.
27624 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27625 to ELF_DYNAMIC_DO_REL.
27626 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27627 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27628 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27629 elf_machine_rela.
27630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27631 skip_ifunc, don't call ifunc function if non-zero.
27632 (elf_machine_rela): Likewise.
27633 (elf_machine_lazy_rel): Likewise.
27634 (elf_machine_lazy_rela): Likewise.
27635 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27636 (elf_machine_lazy_rel): Likewise.
27637 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27638 Likewise.
27639 (elf_machine_lazy_rel): Likewise.
27640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27641 Likewise.
27642 (elf_machine_lazy_rel): Likewise.
27643 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27644 (elf_machine_lazy_rel): Likewise.
27645 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27646 (elf_machine_lazy_rel): Likewise.
27647 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27648 (elf_machine_lazy_rel): Likewise.
27649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27650 (elf_machine_lazy_rel): Likewise.
27651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27652 (elf_machine_lazy_rel): Likewise.
27653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27654 (elf_machine_lazy_rel): Likewise.
27655
68577918
UD
276562011-09-28 Ulrich Drepper <drepper@gmail.com>
27657
27658 * nss/nss_files/files-init.c (_nss_files_init): Use static
27659 initialization for all the *_traced_file variables.
27660
68822d74
AS
276612011-09-28 Andreas Schwab <schwab@redhat.com>
27662
27663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27664
2056100b
RM
276652011-09-27 Roland McGrath <roland@hack.frob.com>
27666
27667 [BZ #13226]
27668 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27669
32c76b63
AS
276702011-09-27 Andreas Schwab <schwab@redhat.com>
27671
27672 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27673 Reread the line before reparsing it.
27674
bf972c9d
AS
276752011-09-26 Andreas Schwab <schwab@redhat.com>
27676
27677 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27678
e057a1b5
JM
276792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27680 Maxim Kuvyrkov <maxim@codesourcery.com>
27681 Joseph Myers <joseph@codesourcery.com>
27682
27683 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27684 if needed for __stack_chk_guard.
27685
bc7e1c36
RM
276862011-09-19 Roland McGrath <roland@hack.frob.com>
27687
ecb1482f
RM
27688 * sysdeps/posix/spawni.c (script_execute): Always define it.
27689 It will be optimized away if unused.
27690 (maybe_script_execute): New function.
27691 (__spawni): Call it.
27692
bc7e1c36
RM
27693 * Makerules: Don't include tls.make.
27694 (config-tls): Always set to thread.
27695 * tls.make.c: File removed.
27696
1c3b002b
MF
276972011-09-19 Mike Frysinger <vapier@gentoo.org>
27698
27699 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27700 * config.make.in (CPPFLAGS-config): New substituted variable.
27701
2840865d
UD
277022011-09-15 Ulrich Drepper <drepper@gmail.com>
27703
88738eb6
UD
27704 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27705
cbf645a6 27706 [BZ #13192]
2840865d
UD
27707 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27708 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27709
b402e91a
RM
277102011-09-15 Roland McGrath <roland@hack.frob.com>
27711
27712 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27713 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27715 (CALL_FAIL): Likewise.
27716 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27717 (CALL_FAIL): Macro removed.
27718 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27719
4c1a1f71
UD
277202011-09-15 Ulrich Drepper <drepper@gmail.com>
27721
27722 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27723 for __FINITE_MATH_ONLY__ == 1.
27724
edc121be
AS
277252011-09-15 Andreas Schwab <schwab@redhat.com>
27726
27727 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27728 __ieee754_sqrt instead of sqrt.
27729 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27730 __ieee754_sqrtf instead of sqrtf.
27731 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27732 __floorf instead of floorf.
27733 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27734 __floorf, __truncf instead of floorf, truncf.
27735
cd205654
UD
277362011-09-14 Ulrich Drepper <drepper@gmail.com>
27737
ee4d0315
UD
27738 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27739
cd205654
UD
27740 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27741 __extern_always_inline.
27742 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27743 32-bit.
27744
48b67d71
AS
277452011-09-14 Andreas Schwab <schwab@redhat.com>
27746
27747 * elf/rtld.c (dl_main): Also relocate in dependency order when
27748 doing symbol dependency testing.
27749
1ae12c75
AS
277502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27751
27752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27753 Always define `refsym'.
27754
995a80df
AS
277552011-09-13 Andreas Schwab <schwab@redhat.com>
27756
e529793b
AS
27757 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27758 (__FD_ELT): Renamed from __FDELT.
27759 * misc/bits/select2.h (__FD_ELT): Likewise.
27760 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27761 __FD_MASK instead of __FDELT, __FDMASK.
27762 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27763 Likewise.
27764 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27765 Likewise.
27766
52d4fef8
AS
27767 * elf/Makefile (gen-ldd): Fix pattern.
27768
995a80df
AS
27769 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27770 (init_tls): Likewise.
27771
8682f8b0
UD
277722011-09-12 Ulrich Drepper <drepper@gmail.com>
27773
27774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27775
de82006d
AS
277762011-09-12 Andreas Schwab <schwab@redhat.com>
27777
a7c8e6a1
AS
27778 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27779 `struct cmsghdr *' instead of `void *'.
27780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27781 Likewise.
27782
0f31fe77
AS
277832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27784
27785 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27786 if non-absolute.
27787 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27788 ldd_rewrite_script.
0f31fe77 27789
32b4c839
UD
277902011-09-11 Ulrich Drepper <drepper@gmail.com>
27791
83cd1420
UD
27792 * configure.in: Remove --with-tls option.
27793 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27794 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27795 out in case it is missing.
27796 * sysdeps/ia64/elf/configure.in: Likewise.
27797 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27798 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27799 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27800 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27801 * sysdeps/sh/elf/configure.in: Likewise.
27802 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27803 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27804 * sysdeps/x86_64/elf/configure.in: Likewise.
27805 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27806 * sysdeps/mach/hurd/tls.h: Likewise.
27807
633f745d
UD
27808 [BZ #13067]
27809 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27810
f318beb8
UD
27811 [BZ #13090]
27812 * configure.in: Fix use of AC_INIT.
27813
32b4c839
UD
27814 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27815
3ce1f295
UD
278162011-09-10 Ulrich Drepper <drepper@gmail.com>
27817
bb016596
UD
27818 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27819 __set_errno.
8e58439c
UD
27820 * malloc/hooks.c: Likewise.
27821
aebae053 27822 [BZ #11929]
02d46fc4
UD
27823 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27824 variables statically.
27825 (narenas): Initialize.
27826 (list_lock): Initialize.
bb016596
UD
27827 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27828 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27829 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27830 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27831 Add initializers to main_arena and mp_.
27832 (malloc_state): Remove pagesize member. Change all users to use
27833 GLRO(dl_pagesize).
27834
27835 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27836 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27837 is always initialized.
27838
22a89187
UD
27839 * malloc/malloc.c: Removed unused configurations and dead code.
27840 * malloc/arena.c: Likewise.
27841 * malloc/hooks.c: Likewise.
02d46fc4 27842 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27843
d063d164
UD
27844 * include/tls.h: Removed. USE___THREAD must always be defined.
27845 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27846 * elf/dl-libc.c: Likewise.
27847 * elf/dl-tsd.c: Likewise.
27848 * include/errno.h: Likewise.
27849 * include/netdb.h: Likewise.
27850 * include/resolv.h: Likewise.
27851 * inet/herrno-loc.c: Likewise.
27852 * inet/herrno.c: Likewise.
27853 * malloc/arena.c: Likewise.
27854 * malloc/hooks.c: Likewise.
27855 * malloc/malloc.c: Likewise.
27856 * resolv/res-state.c: Likewise.
27857 * resolv/res_libc.c: Likewise.
27858 * sysdeps/i386/dl-machine.h: Likewise.
27859 * sysdeps/ia64/dl-machine.h: Likewise.
27860 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27861 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27862 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27863 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27864 * sysdeps/sh/dl-machine.h: Likewise.
27865 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27867 * sysdeps/unix/i386/sysdep.S: Likewise.
27868 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27869 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27874 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27878 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27879 * sysdeps/x86_64/dl-machine.h: Likewise.
27880 * tls.make.c: Likewise.
27881
3ce1f295
UD
27882 * configure.in: Remove --with-__thread option. Make tests for
27883 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27884 tls_model attribute fail if no support is available. Remove
27885 USE_IN_LIBIO.
27886 * Makeconfig: Adjust for dropped configure option. All features are
27887 now mandatory.
27888 * Makerules: Likewise.
27889 * Versions.def: Likewise.
27890 * argp/argp-fmtstream.c: Likewise.
27891 * argp/argp-fmtstream.h: Likewise.
27892 * argp/argp-help.c: Likewise.
27893 * assert/assert.c: Likewise.
27894 * config.h.in: Likewise.
27895 * config.make.in: Likewise.
27896 * configure: Likewise.
27897 * configure.in: Likewise.
27898 * csu/Versions: Likewise.
27899 * csu/init.c: Likewise.
27900 * elf/tst-audit2.c: Likewise.
27901 * elf/tst-tls10.c: Likewise.
27902 * elf/tst-tls10.h: Likewise.
27903 * elf/tst-tls11.c: Likewise.
27904 * elf/tst-tls12.c: Likewise.
27905 * elf/tst-tls14.c: Likewise.
27906 * elf/tst-tlsmod11.c: Likewise.
27907 * elf/tst-tlsmod12.c: Likewise.
27908 * elf/tst-tlsmod13.c: Likewise.
27909 * elf/tst-tlsmod13a.c: Likewise.
27910 * elf/tst-tlsmod14a.c: Likewise.
27911 * elf/tst-tlsmod15b.c: Likewise.
27912 * elf/tst-tlsmod16a.c: Likewise.
27913 * elf/tst-tlsmod16b.c: Likewise.
27914 * elf/tst-tlsmod7.c: Likewise.
27915 * elf/tst-tlsmod8.c: Likewise.
27916 * elf/tst-tlsmod9.c: Likewise.
27917 * gmon/gmon.c: Likewise.
27918 * grp/fgetgrent_r.c: Likewise.
27919 * grp/putgrent.c: Likewise.
27920 * hurd/fopenport.c: Likewise.
27921 * include/libc-symbols.h: Likewise.
27922 * include/tls.h: Likewise.
27923 * intl/gettextP.h: Likewise.
27924 * intl/loadinfo.h: Likewise.
27925 * locale/global-locale.c: Likewise.
27926 * locale/localeinfo.h: Likewise.
27927 * mach/devstream.c: Likewise.
27928 * malloc/arena.c: Likewise.
27929 * malloc/set-freeres.c: Likewise.
27930 * misc/err.c: Likewise.
27931 * misc/getttyent.c: Likewise.
27932 * misc/mntent_r.c: Likewise.
27933 * posix/getopt.c: Likewise.
27934 * posix/wordexp.c: Likewise.
27935 * pwd/fgetpwent_r.c: Likewise.
27936 * resolv/Versions: Likewise.
27937 * resolv/res_hconf.c: Likewise.
27938 * shadow/fgetspent_r.c: Likewise.
27939 * shadow/putspent.c: Likewise.
27940 * stdio-common/printf_fphex.c: Likewise.
27941 * stdio-common/tmpfile.c: Likewise.
27942 * stdlib/abort.c: Likewise.
27943 * stdlib/fmtmsg.c: Likewise.
27944 * sunrpc/auth_unix.c: Likewise.
27945 * sunrpc/clnt_perr.c: Likewise.
27946 * sunrpc/clnt_tcp.c: Likewise.
27947 * sunrpc/clnt_udp.c: Likewise.
27948 * sunrpc/clnt_unix.c: Likewise.
27949 * sunrpc/openchild.c: Likewise.
27950 * sunrpc/svc_simple.c: Likewise.
27951 * sunrpc/svc_tcp.c: Likewise.
27952 * sunrpc/svc_udp.c: Likewise.
27953 * sunrpc/svc_unix.c: Likewise.
27954 * sunrpc/xdr.c: Likewise.
27955 * sunrpc/xdr_array.c: Likewise.
27956 * sunrpc/xdr_rec.c: Likewise.
27957 * sunrpc/xdr_ref.c: Likewise.
27958 * sunrpc/xdr_stdio.c: Likewise.
27959
1248c1c4
PB
279602011-09-09 Ulrich Drepper <drepper@gmail.com>
27961
27962 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27963
279642011-07-03 Andreas Jaeger <aj@suse.de>
27965
27966 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27967 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27968 regenerate with gen-libm-tests.pl.
27969
279702010-05-12 Petr Baudis <pasky@suse.cz>
27971
27972 [BZ #11589]
27973 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27974 around j0() zero points by switching to j1().
27975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27979
f22e1074
UD
279802011-09-09 Ulrich Drepper <drepper@gmail.com>
27981
f19009c1
UD
27982 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27983 instead of 0.
27984 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27985 instead of 0.
f19009c1
UD
27986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27987 Patch in part by Pavel Roskin <proski@gnu.org>.
27988
3f8cc204
UD
27989 [BZ #13138]
27990 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27991 realloc.
27992 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27993 Free memory block if necessary.
27994
f22e1074
UD
27995 [BZ #12847]
27996 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27997 be NULL. Don't lock in this case.
27998
0a2349f9
RM
279992011-09-09 Roland McGrath <roland@hack.frob.com>
28000
28001 * elf/elf.h (ELFOSABI_GNU): New macro.
28002 (ELFOSABI_LINUX): Define to that.
28003
f3cdd467
DZ
280042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28005
28006 * string/strncat.c (strncat): Undef the symbol in case it has been
28007 defined in bits/string.h.
28008
74718d13
UD
280092011-09-09 Ulrich Drepper <drepper@gmail.com>
28010
633e9e0f
UD
28011 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28012
0a2349f9 28013 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28014 link map.
28015
f9924780
AJ
280162011-08-17 Andreas Jaeger <aj@suse.de>
28017
28018 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28019
7f5517aa
PP
280202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28021 Ian Lance Taylor <iant@google.com>
28022
28023 * math/libm-test.inc (lround_test): New testcase.
28024 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28025
762011fe
UD
280262011-09-08 Ulrich Drepper <drepper@gmail.com>
28027
92963737
UD
28028 * Makefile: Remove support for automatic cvs check-ins.
28029 * Makerules: Likewise.
28030 * config.make.in: Likewise.
28031 * configure.in: Likewise.
28032 * intl/Makefile: Likewise.
28033 * locale/Makefile: Likewise.
28034 * po/Makefile: Likewise.
28035 * posix/Makefile: Likewise.
28036 * sysdeps/gnu/Makefile: Likewise.
28037 * sysdeps/mach/hurd/Makefile: Likewise.
28038 * sysdeps/sparc/sparc32/Makefile: Likewise.
28039
b0727fd8
JS
28040 [BZ #13118]
28041 * posix/Makefile (bug-regex32-ENV): Define.
28042 Patch by John Stanley <jpsinthemix@verizon.net>.
28043
a0f33f99
UD
28044 * misc/Makefile (headers): Add bits/select2.h.
28045 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28046 * misc/bits/select2.h: New file.
28047 * include/bits/select2.h: New file.
28048 * debug/Makefile (routines): Add fdelt_chk.
28049 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28050 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28051 FD_ISSET.
28052 * debug/fdelt_chk.c: New file.
28053
762011fe
UD
28054 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28055 * wcsmbs/test-wmemcmp.c: Likewise.
28056 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28057 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28058
280592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28060
28061 * string/Makefile (strop-tests): Add memcmp.
28062 * string/test-wmemcmp.c: New file.
28063 * string/test-memcmp.c: Add wmemcmp support.
28064
7f513ec8
RM
280652011-09-08 Roland McGrath <roland@hack.frob.com>
28066
0442afb4
RM
28067 [BZ #13153]
28068 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28069 2011-07-19 change.
28070
7f513ec8
RM
28071 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28072 garbage value in a __mach_port_mod_refs call in the cases of the
28073 task-self and thread-self ports.
28074
a12b2239
ST
280752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28076
28077 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28078
610f9ab4
AS
280792011-09-08 Andreas Schwab <schwab@redhat.com>
28080
7f513ec8 28081 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28082
48882a1a
LD
280832011-09-07 Ulrich Drepper <drepper@gmail.com>
28084
b49865be
UD
28085 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28086
fdc86bc9
UD
28087 * elf/dl-libc.c (dlerror_run): Pass back error code from
28088 dl_catch_error.
28089
c966526a
UD
28090 [BZ #13123]
28091 * elf/dl-load.c (lose): Free l_origin if it is valid.
28092
48882a1a
LD
28093 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28094 names.
28095 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28096 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28097 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28098 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28099 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28100 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28101
77a2a8b4
AZ
281022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28103
28104 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28105 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28106 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28107 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28108 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28109 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28110 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28111 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28112 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28113 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28114
24f579d8
AM
281152011-08-15 Alan Modra <amodra@gmail.com>
28116
28117 [BZ #13092]
28118 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28119 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28120 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28121 ppc_mcount to static-only-routines.
28122 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28123 __mcount_internal.
28124 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28125 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28126
3d4837df
UD
281272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28128
28129 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28130 for finite and infinity parameters.
28131
22700377
WS
281322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28133
28134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28135 and add nop instructions for throughput optimization.
28136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28137
5025581e
WS
281382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28139
28140 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28141 aligned copy for power7 with vector-scalar instructions.
28142 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28143
08a300c9
L
281442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28145
28146 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28147 AVX check.
28148
59178ef9
AS
281492011-09-07 Andreas Schwab <schwab@redhat.com>
28150
28151 [BZ #13144]
28152 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28153 last change.
28154
e38ba7ab
UD
281552011-09-07 Ulrich Drepper <drepper@gmail.com>
28156
28157 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28158 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28159 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28160 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28161 clock_gettime.
28162
d53a73ac
UD
281632011-09-06 Ulrich Drepper <drepper@gmail.com>
28164
fc8bffcc
UD
28165 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28166 Forgot to demangle the pointer.
28167
ceaa0c5d
UD
28168 * sysdeps/i386/sysdep.h: Define atom_text_section.
28169 * sysdeps/x86_64/sysdep.h: Likewise.
28170 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28171 section with atom_text_section.
28172 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28174 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28176 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28177
a77d3c17
UD
28178 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28179 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28180 already be defined. Change to take two parameters and don't assign
28181 result to variable. Adjust all users.
28182 Define INTERNAL_GETTIME if not already defined.
28183 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28184 call.
28185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28186 HAVE_CLOCK_GETTIME_VSYSCALL.
28187 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28188
d53a73ac
UD
28189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28190 gettimeofday vsyscall, just use time.
28191
a8f84144
AS
281922011-09-06 Andreas Schwab <schwab@redhat.com>
28193
28194 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28195 <errno.h>.
28196
ef606249
UD
281972011-09-06 Ulrich Drepper <drepper@gmail.com>
28198
28199 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28200 syscall on x86-64.
28201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28202 syscall.
28203 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28205 syscall if possible.
28206
6585cb60
UD
282072011-09-05 Ulrich Drepper <drepper@gmail.com>
28208
28209 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28210 e_ident. Don't pass to find_mapsXX.
28211 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28212
a5f524e4
LD
282132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28214
28215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28216 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28217 * sysdeps/x86_64/multiarch/strchr.S: Update.
28218 Check bit_slow_BSF bit.
28219 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28220 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28221 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28222
554881ef
UD
282232011-09-05 Ulrich Drepper <drepper@gmail.com>
28224
d96de963
UD
28225 [BZ #13134]
28226 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28227 before glibc 2.15.
28228 (tryshell): Define.
28229 (__spawni): Change last parameter to be flag. Test
28230 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28231 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28232 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28233 * posix/spawni.c: Likewise.
28234 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28235 * posix/spawnp.c: Likewise. Change normal version to use
28236 SPAWN_XFLAGS_USE_PATH.
28237 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28238 SPAWN_XFLAGS_TRY_SHELL.
28239
d48e5868
UD
28240 [BZ #13150]
28241 * posix/glob.h: Remove gcc 1.x support.
28242
554881ef
UD
28243 [BZ #13068]
28244 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28245
693fb948
LD
282462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28247
28248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28249 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28250 strrchr-sse2-bsf
28251 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28252 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28253 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28255 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28256 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28257
1b48c537
UD
282582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28259
49d42c37
UD
28260 * sysdeps/x86_64/wcscmp.S: New file.
28261
1b48c537
UD
28262 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28263 wcscmp-c wcscmp-sse2
28264 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28265 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28266 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28267 * wcsmbs/wcscmp.c: Allow renaming.
28268
15c95c5d
DM
282692011-09-05 David S. Miller <davem@davemloft.net>
28270
28271 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28272 stack slot, rather than the struct return pointer slot.
28273 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28274 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28276 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28277
2f0ad8f3
UD
282782011-09-05 Ulrich Drepper <drepper@gmail.com>
28279
d88ae418
UD
28280 * po/ja.po: Update from translation team.
28281
2f0ad8f3
UD
28282 [BZ #13144]
28283 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28284 kernel in 64-bit binaries.
28285
5f4318d1
DM
282862011-09-01 David S. Miller <davem@davemloft.net>
28287
28288 * elf/elf.h (HWCAP_SPARC_*): Move to..
28289 * sysdeps/sparc/sysdep.h: this new file and add new values.
28290 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28291 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28292 _DL_HWCAP_COUNT to 24.
28293 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28294 entries.
28295 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28296 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28297 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28299 instead of magic constants.
28300 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28301
3ba57516
DM
283022011-08-31 David S. Miller <davem@davemloft.net>
28303
28304 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28306 Reimplement to do errno handling inline.
28307 (SYSCALL_ERROR_HANDLER): New macro.
28308 (__SYSCALL_STRING): Do not do errno handling in asm.
28309 (__CLONE_SYSCALL_STRING): Delete.
28310 (__INTERNAL_SYSCALL_STRING): Delete.
28311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28312 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28313 (PSEUDO): Reimplement to do errno handling inline.
28314 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28315 (SYSCALL_ERROR_HANDLER): New macro.
28316 (__SYSCALL_STRING): Do not do errno handling in asm.
28317 (__CLONE_SYSCALL_STRING): Delete.
28318 (__INTERNAL_SYSCALL_STRING): Delete.
28319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28320 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28321 i386.
28322 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28323 (inline_syscall*): Add 'err' argument.
28324 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28325 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28326 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28327 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28328
28329 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28330 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28331
2bc17433
AS
283322011-08-30 Andreas Schwab <schwab@redhat.com>
28333
28334 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28335
fbeb5f4d
JO
283362011-08-29 Jiri Olsa <jolsa@redhat.com>
28337
28338 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28339 directive.
28340
ad69cc26
DM
283412011-08-24 David S. Miller <davem@davemloft.net>
28342
28343 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28344
39dd69df
AS
283452011-08-24 Andreas Schwab <schwab@redhat.com>
28346
28347 * elf/Makefile: Add rules to build and run unload8 test.
28348 * elf/unload8.c: New file.
28349 * elf/unload8mod1.c: New file.
28350 * elf/unload8mod1x.c: New file.
28351 * elf/unload8mod2.c: New file.
28352 * elf/unload8mod3.c: New file.
28353
28354 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28355 it wasn't used.
28356
2c0b250a
DM
283572011-08-23 David S. Miller <davem@davemloft.net>
28358
28359 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28360 subtract stack bias.
28361 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28362 %sp not %fp in calculations.
28363 (_JMPBUF_UNWINDS_ADJ): Likewise.
28364
22044b48
DM
28365 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28366 (aio_suspend): Call it to force an exception region around the
28367 AIO_MISC_WAIT() invocation.
28368
2cae4995
AS
283692011-08-23 Andreas Schwab <schwab@redhat.com>
28370
28371 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28372 backslash.
28373
873a772e
AJ
283742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28375
28376 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28377 protection macro.
28378 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28379 and <dl-machine.h>.
28380 (Elf64_FuncDesc): Remove.
28381
25ad0df1
DM
283822011-08-22 David S. Miller <davem@davemloft.net>
28383
28384 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28385 sigaltstack check, add missing cfi directives.
28386 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28387 missing cfi directives, and sigaltstack handling.
28388
e888bcbe
AS
283892011-08-16 Andreas Schwab <schwab@redhat.com>
28390
28391 [BZ #11724]
28392 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28393 object is seen twice.
28394 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28395
28396 * elf/Makefile (distribute): Add tst-initorder2.c.
28397 (tests): Add tst-initorder2.
28398 (modules-names): Add tst-initorder2a tst-initorder2b
28399 tst-initorder2c tst-initorder2d. Add rules to build them.
28400 ($(objpfx)tst-initorder2.out): New rule.
28401 * elf/tst-initorder2.c: New file.
28402 * elf/tst-initorder2.exp: New file.
28403
87162f46
AS
284042011-08-22 Andreas Schwab <schwab@redhat.com>
28405
70538b7f
AS
28406 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28407
f55ffe58
AS
28408 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28409 dependencies back to end of function.
28410
87162f46
AS
28411 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28412 $(elfobjdir)/ld.so.
28413
91b392a4
UD
284142011-08-21 Ulrich Drepper <drepper@gmail.com>
28415
28416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28417 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28419 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28420 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28421 of __vdso_gettimeofday.
28422 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28423 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28424 attribute_hidden.
28425 (_libc_vdso_platform_setup): Remove initialization of
28426 __vdso_gettimeofday and __vdso_time.
28427
5c43483f
UD
284282011-08-20 Ulrich Drepper <drepper@gmail.com>
28429
775a77e7
UD
28430 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28431 and fgetc_unlocked.
28432 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28433 getc_unlocked.
89f447ed 28434
49c74ba9
UD
28435 * elf/dl-open.c (add_to_global): Report additions to the global scope
28436 for LD_DEBUG=scopes.
28437 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28438 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28439
5c43483f
UD
28440 [BZ #13114]
28441 * stdio-common/Makefile (tests): Add bug24.
28442 * stdio-common/bug24.c: New file.
28443
a101b025
AJ
284442011-08-19 Andreas Jaeger <aj@suse.de>
28445
28446 [BZ #13114]
28447 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28448 non-existant file when using close-on-exec mode.
28449
c88f1766
UD
284502011-08-20 Ulrich Drepper <drepper@gmail.com>
28451
0276a718
UD
28452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28453 the very first instruction.
28454
c88f1766
UD
28455 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28456 the CFI state in the end.
28457 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28458 inclusion of dl-trampoline.h.
28459 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28460
51ccffa0
AS
284612011-08-19 Andreas Schwab <schwab@redhat.com>
28462
94d7165f
AS
28463 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28464 expectations for long double.
28465
51ccffa0
AS
28466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28467 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28468
fd708658 284692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28470
28471 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28472 artificual limit depends upon the system page size.
28473
44f0a71e
UD
284742011-08-17 Ulrich Drepper <drepper@gmail.com>
28475
28476 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28477 * resolv/Makefile: Define CFLAGS-libresolv.
28478
8de79a24
AS
284792011-08-17 Andreas Schwab <schwab@redhat.com>
28480
28481 * nss/makedb.c (compute_tables): Make variables used in nested
28482 function static.
28483
27724598
UD
284842011-08-17 Ulrich Drepper <drepper@gmail.com>
28485
c5305d88
UD
28486 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28487 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28488 if buffer was too small.
28489
27724598
UD
28490 * elf/pldd.c (main): Attach to all threads in the process.
28491 Rewrite /proc handling to use *at functions.
28492
076fe015
UD
284932011-08-16 Ulrich Drepper <drepper@gmail.com>
28494
174baab3
UD
28495 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28496 specifies first scope to show.
28497 (dl_open_worker): Update callers. Move printing scope of new
28498 object to before the relocation.
44f0a71e 28499 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28500 * sysdeps/generic/ldsodefs.h: Update declaration.
28501
076fe015
UD
28502 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28503 string for the scope number.
28504
a60df2c3
UD
285052011-08-14 Ulrich Drepper <drepper@gmail.com>
28506
28507 * nscd/servicescache.c (cache_addserv): Make sure written is always
28508 initialized.
28509
5e4287d1
RM
285102011-08-14 Roland McGrath <roland@hack.frob.com>
28511
85ae0589
RM
28512 * sysdeps/i386/i486/bits/atomic.h
28513 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28514 statement expression, so as to suppress "set but not used" warning.
28515 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28516
69f63097
RM
28517 * string/strncat.c (STRNCAT): Use prototype definition.
28518
675456ef
RM
28519 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28520 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28521 -Iprograms here.
28522 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28523 (localedef-modules): Add localedef.
28524 (locale-modules): Add locale.
28525
5e4287d1
RM
28526 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28527 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28528 to avoid a warning.
28529
9c96ff23
DM
285302011-08-14 David S. Miller <davem@davemloft.net>
28531
28532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28533 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28534
f9ddf089
UD
285352011-08-13 Ulrich Drepper <drepper@gmail.com>
28536
44f0a71e 28537 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28538 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28539 * elf/rtld.c (dl_main): Set l_name of vDSO.
28540 Call _dl_show_scope when DL_DEBUG_SCOPES.
28541 (process_dl_debug): Recognize scopes flag and also set it for all.
28542 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28543 Declare _dl_show_scope.
28544
1dc27704
UD
28545 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28546 (do_dlopen): Pass caller_dlopen to dl_open.
28547 (__libc_dlopen_mode): Initialize caller_dlopen.
28548
f9ddf089
UD
28549 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28550 of libc. Make tolower call locale-independent. Optimize a bit by
28551 using isdigit instead of isalnum.
28552 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28553
9ac533d3
UD
285542011-08-12 Ulrich Drepper <drepper@gmail.com>
28555
28556 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28557 was a dependency or dynamically loaded.
28558
89edf2e9
UD
285592011-08-11 Ulrich Drepper <drepper@gmail.com>
28560
8e999d29
UD
28561 * intl/l10nflist.c: Allow architecture-specific pop function.
28562 * sysdeps/x86_64/l10nflist.c: New file.
28563
89edf2e9
UD
28564 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28565 classification.
28566
14d96785
AS
285672011-08-10 Andreas Schwab <schwab@redhat.com>
28568
28569 * include/dirent.h: Add libc_hidden_proto for scandirat and
28570 scandirat64. Don't declare __scandirat64.
28571 * dirent/scandirat.c: Add libc_hidden_def.
28572 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28573 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28574
6761ac04
DM
285752011-08-10 David S. Miller <davem@davemloft.net>
28576
28577 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28578 enum.
28579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28582
c55fbd1e
UD
285832011-08-09 Ulrich Drepper <drepper@gmail.com>
28584
28585 * Versions.def [libc]: Add GLIBC_2.15.
28586 * dirent/Makefile (routines): Add scandirat and scandirat64.
28587 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28588 GLIBC_2.15.
28589 * dirent/dirent.h: Declare scandirat and scandirat64.
28590 * dirent/scandirat.c: New file.
28591 * dirent/scandirat64.c: New file.
28592 * sysdeps/wordsize-64/scandirat.c: New file.
28593 * sysdeps/wordsize-64/scandirat64.c: New file.
28594 * dirent/opendir.c: Define opendirat.
28595 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28596 using scandirat.
28597 * dirent/scandir64.c: Adjust for scandir.c change.
28598 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28599 __scandirat64, and __scandir_cancel_handler.
28600 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28601 additional parameter and use openat instead of open (outside of ld.so).
28602 Add new __opendir as wrapper around __opendirat.
28603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28604 here without requiring old scandirat implementation.
28605
879165f2
UD
286062011-08-08 Ulrich Drepper <drepper@gmail.com>
28607
28608 * dirent/scandir.c (cancel_handler): Renamed to
28609 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28610 defined. Adjust users.
28611 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28612 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28613
cb7e923b
UD
286142011-08-04 Ulrich Drepper <drepper@gmail.com>
28615
16292edd
UD
28616 * string/test-string.h (IMPL): Use __STRING to expand name and then
28617 stringify it.
28618
cb7e923b
UD
28619 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28620 of cleanups.
28621
cff82933
LD
286222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28623
28624 * string/Makefile: Update.
28625 (strop-tests): Append strncat.
28626 * string/test-wcscmp.c: New file.
28627 New comprehensive test for wcscmp.
28628 * string/test-strcmp.c: Update.
28629 (WIDE): New define.
28630
9be9bfcc
AS
286312011-07-22 Andreas Schwab <schwab@redhat.com>
28632
28633 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28634 line.
28635
2e96f1c7
AS
286362011-07-26 Andreas Schwab <schwab@redhat.com>
28637
28638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28639 encoding to ACE if AI_IDN.
28640
85188888
JJ
286412011-08-01 Jakub Jelinek <jakub@redhat.com>
28642
28643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28644 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28645
5fa16e9b
LD
286462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28647
28648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28649 Fix overflow bug in strncat.
28650 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28651
28652 * string/test-strncat.c: Update.
28653 Add new tests for checking overflow bugs.
28654
286552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28656
28657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28658 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28659 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28660 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28661 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28662 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28663 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28664 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28665 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28666
28667 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28668 (USE_AS_STRCAT): Define.
28669 Add strcat and strncat support.
28670 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28671
8c1a459f
AS
286722011-07-25 Andreas Schwab <schwab@redhat.com>
28673
28674 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28675 __n bigger than INT_MAX+1.
28676 (__strncmp_g): Likewise.
28677
bba33c28
UD
286782011-07-23 Ulrich Drepper <drepper@gmail.com>
28679
798be72d
UD
28680 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28681 * libio/stido.h: Likewise.
28682
8accd4dc
UD
28683 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28684 (AF_NFC): Define.
28685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28686 (AF_NFC): Define.
28687
cbff0d96
UD
28688 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28689 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28690 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28691 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28693
9191c04a
UD
28694 [BZ #13021]
28695 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28696 installed.
28697
bba33c28
UD
28698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28699 typo.
28700 (_dl_x86_64_save_sse): Likewise.
28701
90f139dd
UD
287022011-07-22 Ulrich Drepper <drepper@gmail.com>
28703
1aae088a
UD
28704 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28705 OSXSAVE.
28706 (_dl_x86_64_save_sse): Likewise.
28707
8e2045f5
UD
28708 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28709
90f139dd
UD
28710 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28711
1d002f25
AS
287122011-07-21 Andreas Schwab <schwab@redhat.com>
28713
28714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28715 change.
28716 (_dl_x86_64_save_sse): Use correct AVX check.
28717
21137f89
UD
287182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28719
28720 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28721 bug in strncpy/strncat.
28722 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28723
a65c0b7a
UD
287242011-07-21 Ulrich Drepper <drepper@gmail.com>
28725
28726 * string/tester.c (test_strcat): Add tests for different alignments
28727 of source and destination.
28728 (test_strncat): Likewise.
28729
6986b98a
UD
287302011-07-20 Ulrich Drepper <drepper@gmail.com>
28731
90bb2039
UD
28732 [BZ #12852]
28733 * posix/glob.c (glob): Check passed in values before using them in
28734 expressions to avoid some overflows.
28735 (glob_in_dir): Likewise.
28736
5644ef54
UD
28737 [BZ #13007]
28738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28739 check for AVX enablement so that we don't crash with old kernels and
28740 new hardware.
28741 * elf/tst-audit4.c: Add same checks here.
28742 * elf/tst-audit6.c: Likewise.
28743
28744 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28745
bfc9dc9b
AS
287462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28747
28748 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28749
702e64bb
UD
287502011-07-20 Ulrich Drepper <drepper@gmail.com>
28751
28752 * po/cs.po: Update from translation team.
28753 * po/bg.po: Likewise.
28754
295e904f
MP
287552011-07-12 Marek Polacek <mpolacek@redhat.com>
28756
28757 * misc/sys/cdefs.h: Add support for const attribute.
28758 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28759 to gnu_dev_{major,minor,makedev} functions.
28760
3ff94596
MP
287612011-07-20 Marek Polacek <mpolacek@redhat.com>
28762
28763 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28764
28b59fca
AS
287652011-07-20 Andreas Schwab <schwab@redhat.com>
28766
28767 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28768 strlen results.
28769
19df733e
AK
287702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28771
28772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28773 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28774 register in order to avoid conflicts with the soft frame pointer
28775 being held in r11 when necessary.
28776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28777 (INTERNAL_VSYSCALL_NCS): Likewise.
28778
c8835729
MP
287792011-07-14 Marek Polacek <mpolacek@redhat.com>
28780
28781 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28782 * elf/dl-fini.c (_dl_fini): Adjust caller.
28783 * elf/dl-close.c (_dl_close_worker): Likewise.
28784 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28785
b902330c
MP
287862011-07-15 Marek Polacek <mpolacek@redhat.com>
28787
8991e135
MP
28788 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28789 "aux_cache->nlibs < 0".
28790
b902330c
MP
28791 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28792 in the reload-count case.
28793
99710781
LD
287942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28795
28796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28797 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28798 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28799 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28800 * sysdeps/x86_64/multiarch/strcat.S: New file.
28801 * sysdeps/x86_64/multiarch/strncat.S: New file.
28802 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28803 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28804 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28805 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28806 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28807 (USE_AS_STRCAT): Define.
28808 Add strcat and strncat support.
28809 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28811 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28812 * string/strncat.c: Update.
28813 (USE_AS_STRNCAT): Define.
28814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28815 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28816 and i7.
28817 * sysdeps/x86_64/multiarch/init-arch.h
28818 (bit_Prefer_PMINUB_for_stringop): New.
28819 (index_Prefer_PMINUB_for_stringop): Likewise.
28820 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28821 bit_Prefer_PMINUB_for_stringop.
28822
7dc6bd90
UD
288232011-07-19 Ulrich Drepper <drepper@gmail.com>
28824
28825 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28826 buffer64.
28827 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28828 of casting of buffer.
28829 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28830 buffer32 and buffer64.
28831 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28832 writes instead of casting of buffer.
28833 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28834 buffer32.
28835 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28836 casting of buffer.
28837
e0e72284
AS
288382011-07-19 Andreas Schwab <schwab@redhat.com>
28839
28840 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28841
feb1eb0b
UD
288422011-07-19 Ulrich Drepper <drepper@gmail.com>
28843
28844 * nscd/nscd.c (termination_handler): Don't do anything for a database
28845 if it has not yet been initialized.
28846
298711ff
UD
288472011-07-18 Ulrich Drepper <drepper@gmail.com>
28848
28849 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28850
288512011-07-15 Marek Polacek <mpolacek@redhat.com>
28852
28853 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28854
f9d68389
UD
288552011-07-18 Ulrich Drepper <drepper@gmail.com>
28856
28857 * po/nl.po: Update from translation team.
28858 * po/sv.po: Likewise.
28859
db290cf5
RM
288602011-07-16 Roland McGrath <roland@hack.frob.com>
28861
28862 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28863 now disallowed by GCC.
5c550700 28864
fd5e21c7
RM
28865 * configure.in (use-default-link): Default to yes if a test -shared
28866 link meets our qualifications.
28867 * configure: Regenerated.
28868
5c550700
RM
28869 * config.make.in (output-format): New variable.
28870 * configure.in: Check for ld --print-output-format support.
28871 * configure: Regenerated.
28872 * Makerules ($(common-objpfx)format.lds)
28873 [$(output-format) != unknown]: Just use $(output-format),
28874 instead of the linker-script munging.
28875
9fa2c032
RM
288762011-07-14 Roland McGrath <roland@hack.frob.com>
28877
a6928d51
RM
28878 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28879 of $(common-objpfx)shlib.lds.
28880 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28881
661607b3
RM
28882 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28883 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28884
9fa2c032
RM
28885 * configure.in (-z relro check): Adjust test code to add a large
28886 writable data section after it.
28887 * configure: Regenerated.
28888
defe9061
RM
288892011-07-11 Roland McGrath <roland@hack.frob.com>
28890
28891 * configure.in (-z relro check): Fix test code to make the variable
28892 truly const.
28893 * configure: Regenerated.
28894
319b9ad4
UD
288952011-07-11 Ulrich Drepper <drepper@gmail.com>
28896
28897 * nscd/nscd.h (struct traced_file): Define.
28898 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28899 elements. Add traced_files.
28900 (inotify_fd): Declare.
28901 (register_traced_file): Declare.
28902 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28903 (inotify_fd): Export.
28904 (resolv_conf_descr): Remove.
28905 (nscd_init): Move inotify descriptor creation to main.
28906 Don't register files for notification here.
28907 (register_traced_file): New function.
28908 (invalidate_cache): Don't use reset_res to determine whether to call
28909 res_init, go through the list of registered files.
28910 (main_loop_poll): The inotify descriptors are now stored in the
28911 structures for the traced files.
28912 (main_loop_epoll): Likewise
28913 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28914 to __nss_disable_nscd.
28915 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28916 for a database anymore. Check the records for all the registered
28917 files instead.
28918 * nss/Makefile (libnss_files-routines): Add files-init.
28919 (libnss_db-routines): Add db-init.
28920 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28921 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28922 * nss/nss_db/db-init.c: New file.
28923 * nss/nss_files/files-init.c: New file.
28924 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28925 __nss_lookup_function.
28926 (__nss_lookup_function): Call nss_load_library.
28927 (nss_load_all_libraries): New function.
28928 (__nss_disable_nscd): Take parameter with callback function for files
28929 to register. Set is_nscd. Load all the DSOs for the NSS modules
28930 used for the cached services.
28931 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28932 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28933 options for features to all the files in nscd.
28934
28935 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28936
23bee3e8
RM
289372011-07-10 Roland McGrath <roland@hack.frob.com>
28938
28939 * csu/elf-init.c (__libc_csu_init): Comment typo.
28940
46a5b7f0
UD
289412011-07-09 Ulrich Drepper <drepper@gmail.com>
28942
28943 * po/pl.po: Update from translation team.
28944 * po/ja.po: Likewise.
28945 * po/ru.po: Likewise.
28946 * po/ko.po: Likewise.
28947 * po/fr.po: Likewise.
28948
d30cf5bb
RM
289492011-07-09 Roland McGrath <roland@hack.frob.com>
28950
113ddea4
RM
28951 * configure.in (.ctors/.dtors header and trailer check):
28952 Use an empirical test on a built program.
28953 * configure: Regenerated.
28954
574920b4
RM
28955 * configure.in (-z relro check): Use an empirical test on a built DSO.
28956 Detect, but do not require, on ia64.
28957 * configure: Regenerated.
28958
d30cf5bb
RM
28959 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28960 Update tests that use readelf to use $READELF instead.
28961 * configure: Regenerated.
28962
8538fdb3
UD
289632011-07-08 Ulrich Drepper <drepper@gmail.com>
28964
28965 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28966 if the result is not used.
28967
04d08991
AJ
289682011-07-05 Andreas Jaeger <aj@suse.de>
28969
28970 [BZ#9696]
28971 * stdlib/tst-strtod.c: Add testcase.
28972
de283087
AD
289732011-07-07 Ulrich Drepper <drepper@gmail.com>
28974
4e5f31c8 28975 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28976 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28977 The latter has a higher limit. Take additional parameter to pass to
28978 the new function.
28979 (__pathconf): Pass file to __statfs_link_max.
28980 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28981 __statfs_link_max.
28982 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28983 __statfs_link_max.
28984
de283087
AD
28985 [BZ #12868]
28986 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28988 Handle Lustre.
28989 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28990 (__statfs_filesize_max): Likewise.
28991 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28992
c75fa153
AJ
289932011-07-05 Andreas Jaeger <aj@suse.de>
28994
28995 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28996
1a544854
UD
289972011-07-06 Marek Polacek <mpolacek@redhat.com>
28998
28999 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29000 `status' variable.
29001 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29002 Likewise.
29003
6f0eec67
UD
290042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29005
29006 * Makefile (strop-tests): Add strncat.
29007 * string/test-strncat.c: New file.
29008
aae30307
UD
290092011-06-30 Marek Polacek <mpolacek@redhat.com>
29010
29011 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29012
c0cfb5eb
UD
290132011-06-21 Andreas Jaeger <aj@suse.de>
29014
29015 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29016 Copy rule from iconvdata/Makefile.
29017
01636b21
UD
290182011-07-06 Ulrich Drepper <drepper@gmail.com>
29019
29020 [BZ #12922]
29021 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29022 but no long options are defined, just return 'W'.
29023
9895c8bc
UD
290242011-06-22 Marek Polacek <mpolacek@redhat.com>
29025
29026 [BZ #9696]
29027 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29028
5d4cf042
UD
290292011-07-06 Ulrich Drepper <drepper@gmail.com>
29030
29031 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29032 netgroups to read.
960e5535 29033 (innetgr): Likewise.
5d4cf042 29034
751eb97e
RM
290352011-07-05 Roland McGrath <roland@hack.frob.com>
29036
29037 * config.make.in (install_root): Default to $(DESTDIR).
29038
f15f1e45
UD
290392011-07-05 Ulrich Drepper <drepper@gmail.com>
29040
29041 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29042
4e34ac6a
RM
290432011-07-02 Roland McGrath <roland@hack.frob.com>
29044
5e9b6af4
RM
29045 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29046
84f9ea0f
RM
29047 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29048 containing directory rather than embedding absolute directory names.
29049
ea5ee9f7
RM
29050 * scripts/check-local-headers.sh: Rewritten using awk.
29051 Match by word, not by line. Print error messages for matches.
29052 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29053
1b74661a
RM
29054 * Makerules [shlib-lds-flags empty]:
29055 ($(common-objpfx)libc_pic.opts): New target.
29056 ($(common-objpfx)libc_pic.os.clean): New target.
29057 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29058
29059 * config.make.in (OBJCOPY): New variable.
29060 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29061 * configure: Regenerated.
29062
f781ef40
RM
29063 * config.make.in (use-default-link): New variable.
29064 * configure.in (use_default_link): Grok --with-default-link to set it.
29065 * configure: Regenerated.
29066 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29067 (shlib-lds, shlib-lds-flags): Define to empty.
29068
2d4fa81e
RM
29069 * Makerules (shlib-lds): New variable.
29070 (shlib-lds-flags): New variable.
29071 (build-shlib, build-moduile, build-module-asneeded): Use it.
29072 ($(common-objpfx)libc.so): Use $(shlib-lds).
29073 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29074 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29075
31fffa6b
RM
29076 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29077 DT_FLAGS/DT_FLAGS_1 with zero flags.
29078
4e34ac6a
RM
29079 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29080 linker script munging.
29081
fcfc776b
UD
290822011-07-02 Ulrich Drepper <drepper@gmail.com>
29083
29084 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29085 as 128-bit value.
29086 * crypt/sha512.c (sha512_process_block): Perform total addition using
29087 128-bit if possible.
29088 (__sha512_finish_ctx): Likewise.
29089 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29090 as 64-bit value.
29091 * crypt/sha256.c (SWAP64): Define.
29092 (sha256_process_block): Perform total addition using 64-bit if
29093 possible.
29094 (__sha256_finish_ctx): Likewise.
29095
99231d9a
UD
290962011-07-01 Ulrich Drepper <drepper@gmail.com>
29097
29098 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29100 * nscd/hstcache.c (cache_addhst): Likewise.
29101 * nscd/grpcache.c (cache_addgr): Likewise.
29102 * nscd/aicache.c (addhstaiX): Likewise
29103 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29104
445b4a53
TK
291052011-07-01 Thorsten Kukuk <kukuk@suse.de>
29106
29107 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29109 * nscd/hstcache.c (cache_addhst): Likewise.
29110 * nscd/grpcache.c (cache_addgr): Likewise.
29111 * nscd/aicache.c (addhstaiX): Likewise
29112
6d4d8e8e
AS
291132011-07-01 Andreas Schwab <schwab@redhat.com>
29114
29115 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29116 domain only when needed.
29117
89f654c5
AS
291182011-06-30 Andreas Schwab <schwab@redhat.com>
29119
29120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29121 is always restored.
29122
cf3b23ff
UD
291232011-06-29 Ulrich Drepper <drepper@gmail.com>
29124
29125 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29126 are re-adding the entry.
29127 * nscd/servicescache.c (cache_addserv): Likewise.
29128
751626f9
AJ
291292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29130
29131 * sysdeps/generic/dl-irel.h: fix protection against multiple
29132 inclusions.
29133 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29134
9113ea1f
UD
291352011-06-28 Ulrich Drepper <drepper@gmail.com>
29136
5c0b8d90
UD
29137 [BZ #12935]
29138 * malloc/memusage.sh: Fix quoting in message.
29139 * debug/xtrace.sh: Likewise.
29140
9113ea1f
UD
29141 * configure.in: Remove support for --experimental-malloc option, make
29142 it the default.
29143 * config.make.in: Likewise.
29144 * malloc/Makefile: Likewise.
29145
a4172181
AS
291462011-06-27 Andreas Schwab <schwab@redhat.com>
29147
29148 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29149 two-byte characters.
29150
78a7eee7
RM
291512011-06-27 Roland McGrath <roland@hack.frob.com>
29152
62bede13
RM
29153 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29154 AC_CACHE_CHECK invocation.
29155 * configure: Regenerated.
29156
78a7eee7
RM
29157 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29158
5ce33a62
UD
291592011-06-27 Ulrich Drepper <drepper@gmail.com>
29160
034807a9
UD
29161 [BZ #12350]
29162 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29163 bit from old_res_options.
29164
4902da17
UD
29165 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29166
5ce33a62
UD
29167 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29168 value type for setfct.
29169
c2344f56
L
291702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29173 __gettimeofday instead of gettimeofday.
29174
68468076
UD
291752011-06-26 Ulrich Drepper <drepper@gmail.com>
29176
29177 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29178
acb0d739
L
291792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29180
29181 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29182
29183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29184 info.
29185
8912479f
L
291862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29187
29188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29189 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29190 strcpy-sse2-unaligned strncpy-sse2-unaligned
29191 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29192 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29193 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29194 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29195 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29197 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29198 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29199 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29200 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29201 (STRCPY): Support SSE2 and SSSE3 versions.
29202
d5495a11
UD
292032011-06-24 Ulrich Drepper <drepper@gmail.com>
29204
29205 [BZ #12874]
29206 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29207 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29208 kernels which artificially limit size of requests.
29209
0b1cbaae
L
292102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29213 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29214 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29215 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29216 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29217 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29218 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29219 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29220 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29222 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29223 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29224 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29225 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29226 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29228 Enable unaligned load optimization for Intel Core i3, i5 and i7
29229 processors.
29230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29231 Define.
29232 (index_Fast_Unaligned_Load): Define.
29233 (HAS_FAST_UNALIGNED_LOAD): Define.
29234
07f494a0
MP
292352011-06-23 Marek Polacek <mpolacek@redhat.com>
29236
29237 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29238
fa3fc0fe
UD
292392011-06-22 Ulrich Drepper <drepper@gmail.com>
29240
29241 [BZ #12907]
29242 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29243 until it is clear that the information is realy needed.
29244 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29245
e12df166
AS
292462011-06-22 Andreas Schwab <schwab@redhat.com>
29247
29248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29249
852eb34d
UD
292502011-06-22 Ulrich Drepper <drepper@gmail.com>
29251
84e2a551
UD
29252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29253 /sys/devices/system/cpu/online if it is usable.
29254
852eb34d
UD
29255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29256 reading the information from the /proc filesystem to once a second.
29257
6e502e19
UD
292582011-06-21 Andreas Jaeger <aj@suse.de>
29259
29260 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29261 NULL after inclusion of kernel headers.
29262
75d39ff2
UD
292632011-06-21 Ulrich Drepper <drepper@gmail.com>
29264
51f9aa6a
UD
29265 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29266 calls to internal_setent.
29267
c0244a9d
UD
29268 [BZ #12885]
29269 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29270 addresses using gethostbyname4_r ignore IPv4 addresses.
29271
c5e3c2ae
UD
29272 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29273 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29274
75d39ff2
UD
29275 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29276
42675c6f
DM
292772011-06-20 David S. Miller <davem@davemloft.net>
29278
29279 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29280 inclusions.
29281 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29282
29283 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29284 (elf_irel): Use it.
29285 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29286 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29287 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29288 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29289 * sysdeps/x86_64/dl-irel.h: Likewise.
29290
29291 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29292 * elf/dl-sym.c: Likewise.
29293
57912a71
UD
292942011-06-15 Ulrich Drepper <drepper@gmail.com>
29295
29296 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29297 need to dereference resplen2.
29298
ee22793d
AS
292992011-06-14 Andreas Schwab <schwab@redhat.com>
29300
29301 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29302
a9e836b0
UD
293032011-06-15 Ulrich Drepper <drepper@gmail.com>
29304
77fb9117
UD
29305 * Makeconfig: Define vardbdir and inst_vardbdir.
29306 * nss/Makefile: Add rules to install db-Makefile.
29307
40c1b22c
UD
29308 * nss/nss_db/db-XXX.c: Cleanup.
29309
9f2da732
UD
29310 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29311 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29312 GLIBC_PRIVATE.
29313 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29314 * nss/makedb.c: Implement -g option to specify that value strings
29315 are generated and should not be added to table iterated over for
29316 get*ent calls.
29317 * nss/nss_db/db-initgroups.c: New file.
29318
82e9a1f7
UD
29319 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29320 interface.
29321
c41af17e
UD
29322 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29323 (internal_getgrouplist): Adjust to name change.
29324 Update use_initgroups_entry if this is not the first call.
29325 * nss/databases.def: Add initgroups entry.
29326
a9e836b0
UD
29327 * nss/makedb.c (compute_tables): Check result of multiple hash table
29328 sizes to minimize maximum chain length.
29329
2666d441
UD
293302011-06-14 Ulrich Drepper <drepper@gmail.com>
29331
29332 * Versions.def: Add entry for libnss_db.
29333 * shlib-versions: Likewise.
29334 * nss/Makefile: Add rules to build libnss_db.
29335 * nss/Versions: Add libnss_db information. Organize libnss_files
29336 entries better.
29337 * nss/db-Makefile: Add gshadow support. Change rules for the new
29338 makedb progra. Some minor improvements to generate smaller files.
29339 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29340 here from...
29341 * nss/makedb.c: ...here.
29342 Improve database format to be smaller and require less memory at
29343 runtime.
29344 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29345 db anymore.
29346 * nss/nss_db/db-netgrp.c: Likewise.
29347 * nss/nss_db/db-open.c: Likewise.
29348 * nss/nss_files/flies-XXX.x: Adjust comments.
29349 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29350 * nss/nss_files/files-grp.c: Likewise.
29351 * nss/nss_files/files-hosts.c: Likewise.
29352 * nss/nss_files/files-network.c: Likewise.
29353 * nss/nss_files/files-proto.c: Likewise.
29354 * nss/nss_files/files-pwd.c: Likewise.
29355 * nss/nss_files/files-rpc.c: Likewise.
29356 * nss/nss_files/files-service.c: Likewise.
29357 * nss/nss_files/files-sgrp.c: Likewise.
29358 * nss/nss_files/files-spwd.c: Likewise.
29359 * nss/nss_db/db-alias.c: Removed.
29360 * nss/nss_db/dummy-db.h: Removed.
29361
9ee76b5a
UD
293622011-06-02 Ulrich Drepper <drepper@gmail.com>
29363
29364 * nss/makedb.c: Rewritten to not use database library.
29365 * nss/Makefile: Update to build new makedb program.
29366
c71ca1f8
AJ
293672011-06-14 Andreas Jaeger <aj@suse.de>
29368
29369 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29370 memset declaration.
29371
3154bfb8
UD
293722011-06-10 Andreas Schwab <schwab@redhat.com>
29373
29374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29375 tmpbuf.
29376
b350afab
RM
293772011-06-10 Roland McGrath <roland@hack.frob.com>
29378
decd4e50
RM
29379 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29380 * elf/Makefile ($(objpfx)ld.so): Likewise.
29381
5615eaf2
RM
29382 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29383 Don't list ld.so twice in dependencies.
29384
29385 * posix/bug-regex31.c: Include <stdlib.h>.
29386
29387 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29388
29389 * nis/nss_compat/compat-spwd.c
29390 (getspent_next_nss_netgr): Remove unused variable.
29391 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29392
29393 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29394 nonmembers" output to use the right array.
29395
29396 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29397
29398 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29399
29400 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29401 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29402 * catgets/gencat.c (read_input_file): Likewise.
29403 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29404
29405 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29406 variable definition inside #if's controlling its use.
29407
29408 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29409
29410 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29411
29412 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29413
29414 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29415 unreachable code.
29416
29417 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29418
b68e08db
RM
29419 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29420 * configure: Regenerated.
29421
b350afab
RM
29422 * Makerules: Revert last change.
29423 * elf/Makefile: Likewise.
29424
28368601
RM
294252011-06-09 Roland McGrath <roland@hack.frob.com>
29426
29427 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29428 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29429 (reloc-link): Likewise.
29430
11988f8f
UD
294312011-06-09 Ulrich Drepper <drepper@gmail.com>
29432
29433 * elf/Makefile: Add rules to build pldd.
29434 * elf/pldd.c: New file.
29435 * elf/pldd-xx.c: New file.
29436
e80fab37
UD
294372011-06-07 Ulrich Drepper <drepper@gmail.com>
29438
29439 * version.h: Update for 2.15 development version.
29440
9b849836
DM
294412011-06-07 David S. Miller <davem@davemloft.net>
29442
29443 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29444 ifuncs.
29445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29446 elf_machine_lazy_rel): Likewise.
29447 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29449 elf_machine_lazy_rel): Likewise.
29450 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29451 dl_hwcap via passed in argument.
29452 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29453 Likewise.
29454
5a31b283
AK
294552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29456
29457 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29458
069e52f8
RM
294592011-06-06 Roland McGrath <roland@hack.frob.com>
29460
29461 [BZ #12849]
29462 * manual/fdl-1.1.texi: New file, verbatim from:
29463 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29464 * manual/lgpl-2.1.texi: New file, verbatim from:
29465 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29466 * manual/Makefile (licenses): New variable, list those new file names.
29467 (texis): Use it.
29468 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29469
29470 * manual/fdl.texi: File removed.
29471 * manual/lesser.texi: File removed.
29472 * manual/libc.texinfo (Copying, Documentation License):
29473 Use new @include file names, put @appendix directive before @include.
29474
f16846a5
JJ
294752011-06-04 Jakub Jelinek <jakub@redhat.com>
29476
29477 [BZ #12841]
29478 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29479 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29480 (mq_open): Add __NTH.
29481
3d29045b
L
294822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29485 Assume Intel Core i3/i5/i7 processor if AVX is available.
29486
8c297311
UD
294872011-05-31 Ulrich Drepper <drepper@gmail.com>
29488
29489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29490 typo.
29491
c8fc0c91
UD
294922011-05-31 Andreas Schwab <schwab@redhat.com>
29493
29494 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29495 memory. Use alloca_account. Fix memory leak when retrying.
29496
5b27a807
UD
294972011-05-31 Ulrich Drepper <drepper@gmail.com>
29498
356f8bc6
UD
29499 * version.h (RELEASE): Bump for 2.14 release.
29500 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29501
5b27a807
UD
29502 * config.make.in (RANLIB): Remove entry.
29503
01f16ab0
UD
295042011-05-30 Ulrich Drepper <drepper@gmail.com>
29505
41fce8bd
UD
29506 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29507 (libc.pot): Work around missing support for .ksh extension in xgettext.
29508
4769ae77
UD
29509 [BZ #12684]
29510 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29511 if both request failed.
29512 (send_dg): In case of server errors clear resplen or *resplen2.
29513
6b1e7d19
UD
29514 [BZ #12454]
29515 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29516 when there are multiple maps.
29517 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29518 (_dl_fini): Remove test here.
29519
01f16ab0
UD
29520 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29521
b1ebd700
UD
295222011-05-29 Ulrich Drepper <drepper@gmail.com>
29523
7ae22829
UD
29524 [BZ #12350]
29525 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29526 bit from old_res_options.
29527 (gaih_inet): Likewise.
29528
553149f6 29529 [BZ #11099]
18a84741 29530 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29531 as signed.
29532
652ffab1
UD
29533 * resolv/res_init.c (res_setoptions): Make the code more compact.
29534
16985fd0
UD
29535 [BZ #11558]
29536 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29537 set RES_USEVC.
29538
0464f746
UD
29539 [BZ #11634]
29540 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29541
7d17596c
UD
29542 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29543
cf6bbbd7
UD
29544 [BZ #11781]
29545 * malloc/malloc.h: Declare malloc hook variables as volatile.
29546
13f1ab36
UD
29547 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29548 in last patch.
29549
b1ebd700
UD
29550 [BZ #11799]
29551 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29552 raise in the comment.
80e2212d
UD
29553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29554 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29555 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29556
ce67228d
UD
295572011-05-28 Ulrich Drepper <drepper@gmail.com>
29558
8887a920
UD
29559 [BZ #12811]
29560 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29561 grow the buffers more if it already has to be sufficient.
29562 (build_wcs_upper_buffer): Likewise.
29563 * posix/regexec.c (check_matching): Likewise.
29564 (clean_state_log_if_needed): Likewise.
29565 (extend_buffers): Don't enlarge buffers beyond size of the input
29566 buffer.
29567 Patches mostly by Emil Wojak <emil@wojak.eu>.
29568 * posix/bug-regex32.c: New file.
29569 * posix/Makefile (tests): Add bug-regex32.
29570
4f031072
UD
29571 * locale/findlocale.c (_nl_find_locale): Return right away if
29572 _nl_explode_name failed.
29573 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29574
d0478f0c
UD
29575 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29576
de81b246
UD
29577 * debug/xtrace.sh: Unify messages.
29578 * malloc/memusage.sh: Likewise.
29579
c738465a
UD
29580 [BZ #12813]
29581 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29582 time symbol from vDSO. Substitute with vsyscall if not available.
29583 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29584 __vdso_time.
29585
f1f929d7
UD
29586 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29587 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29588 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29589 Add sendmmsg and internal_sendmmsg.
29590 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29591 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29592 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29593
ce67228d
UD
29594 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29595 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29596 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29597
e57420c6
UD
295982011-05-27 Ulrich Drepper <drepper@gmail.com>
29599
a8509ca5
UD
29600 [BZ #12813]
29601 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29602 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29603 available.
29604 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29605 __vdso_getcpu.
29606
e57420c6
UD
29607 [BZ #12814]
29608 * iconvdata/Makefile (tests): Add bug-iconv9.
29609 * iconvdata/bug-iconv9.c: New file.
29610
4d07db15
AS
296112011-05-27 Andreas Schwab <schwab@redhat.com>
29612
29613 [BZ #12814]
29614 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29615
ea486f69
JJ
296162011-05-25 Jakub Jelinek <jakub@redhat.com>
29617
29618 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29619 (struct user_regs_struct): Change intcs field back to cs.
29620
6f038433
UD
296212011-05-25 Ulrich Drepper <drepper@gmail.com>
29622
29623 * po/ja.po: Update from translation team.
29624
67f86a25
UD
296252011-05-23 Ulrich Drepper <drepper@gmail.com>
29626
29627 [BZ #12795]
29628 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29629 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29630
def7fbd6
AS
296312011-05-20 Andreas Schwab <schwab@redhat.com>
29632
29633 * stdlib/longlong.h: Update from GCC.
29634
f50ef8f1
AS
296352011-05-23 Andreas Schwab <schwab@redhat.com>
29636
29637 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29638 parameter name.
29639 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29640 Add parameter name.
29641 (__sysconf): Pass it down.
29642
de7ce8f1
UD
296432011-05-22 Ulrich Drepper <drepper@gmail.com>
29644
f2962a71
UD
29645 [BZ #12671]
29646 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29647 some situations.
29648 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29649 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29650 add in in __libc_use_alloca calls. Adjust callers.
29651 (glob): Use malloc in some situations.
29652
de7ce8f1
UD
29653 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29654 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29655 pltexit.
29656
aec84f53
UD
296572011-05-21 Ulrich Drepper <drepper@gmail.com>
29658
05bb4a68
UD
29659 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29660 and CLOCK_BOOTTIME_ALARM.
29661
7ea72f99
UD
29662 [BZ #12782]
29663 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29664 is returned.
29665
7e4afad5
UD
29666 * string/_strerror.c (__strerror_r): Print negative errors as signed
29667 numbers.
29668
8e211fec
UD
29669 [BZ #12777]
29670 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29671 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29672 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29673
f7d82dc9
UD
29674 * configure.in: Fix typo in redirection and correct removal of test
29675 files in two cases.
29676
cc9e536d
UD
29677 [BZ #12788]
29678 * locale/setlocale.c (new_composite_name): Fix test to check for
29679 identical name of all categories.
29680
aec84f53
UD
29681 [BZ #12792]
29682 * libio/filedoalloc.c (local_isatty): New function.
29683 (_IO_file_doallocate): Use local_isatty.
29684 * stdio-common/perror.c (perror): In case a new stream is used
29685 forward the stream error.
29686 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29687 error flag.
29688
78e64fdc
RT
296892011-05-20 Ulrich Drepper <drepper@gmail.com>
29690
34a9094f
UD
29691 [BZ #11869]
29692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29693 alloca.
29694 * include/alloca.h (extend_alloca_account): Define.
29695
78e64fdc
RT
29696 [BZ #11857]
29697 * posix/regex.h: Fix comments with documentation of user-accessible
29698 fields after compilation and describe correct free'ing of pattern
29699 after re_compile_pattern.
29700 Patch by Reuben Thomas <rrt@sc3d.org>.
29701
457bddfc
RA
297022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29703
29704 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29705 and -mno-altivec to prevent the compiler from using Altivec and/or
29706 VSX instructions when the corresponding registers are not available.
29707
a4527b51
AS
297082011-05-19 Andreas Schwab <schwab@redhat.com>
29709
29710 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29711
ed690b2f
UD
297122011-05-19 Ulrich Drepper <drepper@gmail.com>
29713
29714 * libio/freopen.c (freopen): Use __dup2, not dup2.
29715 * libio/freopen64.c (freopen64): Likewise.
29716
8db73634
L
297172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29718
29719 [BZ #12775]
29720 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29721 * math/Makefile (tests): Add test-powl.
29722 (CFLAGS-test-powl.c): Define.
29723 * math/test-powl.c: New file.
29724
0a197a9d
L
297252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29726
29727 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29728
ee30c380
UD
297292011-05-17 Ulrich Drepper <drepper@gmail.com>
29730
29731 [BZ #11837]
29732 * iconvdata/gb18030.c: Update to GB18020-2005.
29733
6ce75379
UD
297342011-05-16 Ulrich Drepper <drepper@gmail.com>
29735
a4b89fd8
AR
29736 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29737 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29738 Patch by Aharon Robbins <arnold@skeeve.com>.
29739
ea389b12
UD
29740 [BZ #11892]
29741 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29742 on the stack.
29743
68a3f91f
UD
29744 [BZ #11895]
29745 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29746 through underflows.
29747
15cc7dd1
UD
29748 [BZ #12766]
29749 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29750 point to strings before performing equality test for error_one_per_line
29751 mode.
29752
f3799213
UD
29753 [BZ #11697]
29754 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29755
d79a9c94
UD
29756 [BZ #11820]
29757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29758 (struct user_fpregs_struct): Avoid __uint*_t types.
29759
56e5eb46
UD
29760 [BZ #6420]
29761 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29762 symbol info. Use it instead of calling _dl_addr locally.
29763 (lock_and_info): New function.
29764 (tr_freehook): Call lock_and_info and pass symbol info as additional
29765 parameter to tr_where.
29766 (tr_mallochook): Likewise.
29767 (tr_reallochook): Likewise.
29768 (tr_memalignhook): Likewise.
29769
6ce75379
UD
29770 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29771 used and couldn't be at all thread-safe.
29772
f8a3b5bf
UD
297732011-05-15 Ulrich Drepper <drepper@gmail.com>
29774
94b7cc37
UD
29775 * libio/freopen.c (freopen): Don't close old file descriptor
29776 before the new one is opened. Instead dup the new file descriptor
29777 to the old one after the new stream is created.
29778 * libio/freopen64.c (freopen64): Likewise.
29779 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29780 * libio/fileops.c (_IO_new_file_close_it): Handle new
29781 _IO_FLAGS2_NOCLOSE flag.
29782 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29783 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29784 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29785 _IO_FLAGS2_NOCLOSE flag.
29786 * include/unistd.h: Add hidden_proto for dup3.
29787 Define __have_dup3.
29788 * io/dup3.c: Define hidden symbol.
29789 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29790
bd25564e
UD
29791 [BZ #7101]
29792 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29793 when an incomplete long option is used.
29794 * posix/tst-getopt_long1.c: New file.
29795 * posix/Makefile (tests): Add tst-getopt_long1.
29796
c84cfef4
UD
29797 [BZ #10138]
29798 * scripts/config.guess: Update from autoconf-2.68.
29799 * scripts/config.sub: Likewise.
29800
3b85df27
UD
29801 [BZ #10157]
29802 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29803 tests into ...
29804 (has_cpuclock): ...this. New function.
29805 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29806 macro here based on has_cpuclock code.
29807
15a856b1
UD
29808 [BZ #10149]
29809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29810 First byte (not low byte) is now always NUL.
29811 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29812
05f399e6
UD
29813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29814 Use non-cancelable interfaces.
29815
10a52685 29816 [BZ #9809]
94ecc67d
UD
29817 * locale/iso-639.def: Add entry for Sorani.
29818
f8a3b5bf
UD
29819 [BZ #11901]
29820 * include/stdlib.h: Move include protection to the right place.
29821 Define abort_msg_s. Declare __abort_msg with it.
29822 * stdlib/abort.c (__abort_msg): Adjust type.
29823 * assert/assert.c (__assert_fail_base): New function. Majority
29824 of code from __assert_fail. Allocate memory for __abort_msg with
29825 mmap.
29826 (__assert_fail): Now call __assert_fail_base.
29827 * assert/assert-perr.c: Remove bulk of implementation. Use
29828 __assert_fail_base.
29829 * include/assert.hL Declare __assert_fail_base.
29830 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29831 mmap.
29832 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29833
1af4e298
UD
298342011-05-14 Ulrich Drepper <drepper@gmail.com>
29835
f8a3b5bf 29836 [BZ #11952]
d26dfc60
MG
29837 [BZ #12453]
29838 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29839 until all modules are registered in the DTV.
29840 * elf/Makefile: Add rules to build and run tst-tls19.
29841 * elf/tst-tls19.c: New file.
29842 * elf/tst-tls19mod1.c: New file.
29843 * elf/tst-tls19mod2.c: New file.
29844 * elf/tst-tls19mod3.c: New file.
29845 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29846
2fc54d6f
UD
29847 [BZ #12083]
29848 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29849 correctly.
29850
98d76b46
UD
29851 [BZ #12601]
29852 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29853 two-byte sequence errors.
29854 * iconvdata/Makefile (tests): Add bug-iconv8.
29855 * iconvdata/bug-iconv8.c: New file.
29856
da3c19ef
UD
29857 [BZ #12626]
29858 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29859 buf2 definition.
29860
ca408c15
UD
29861 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29862
d6f67f7d
UD
29863 [BZ #12432]
29864 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29865 (dummy_getcfa): New function.
29866 (init): Get _Unwind_GetCFA address, use dummy if not found.
29867 (backtrace_helper): In recursion check, also check whether CFA changes.
29868 (__backtrace): Completely initialize arg.
29869
1af4e298 29870 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29871 storing incomplete byte sequence in state object. Avoid testing for
29872 guaranteed too small input if we know there is enough data available.
1af4e298 29873
da62f81b
AS
298742011-05-11 Andreas Schwab <schwab@redhat.com>
29875
29876 * Makeconfig (+link-pie): Indent.
29877 * Rules (binaries-pie): Define if $(have-fpie) and
29878 $(build-shared).
29879 (binaries-shared): Also filter out $(binaries-pie).
29880 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29881 * nscd/Makefile (others-pie): Add nscd.
29882 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29883 ($(objpfx)nscd): Remove command override.
29884 * login/Makefile (others-pie): Add pt_chown.
29885 ($(objpfx)pt_chown): Remove command override.
29886 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29887 remove command overrides.
29888
fcabc0f8
UD
298892011-05-13 Ulrich Drepper <drepper@gmail.com>
29890
20030ae6
UD
29891 * libio/tst_putwc.c: Fix error messages.
29892
fcabc0f8
UD
29893 [BZ #12724]
29894 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29895 currently writing and seek to current position when not.
29896 * libio/Makefile (tests): Add bug-fclose1.
29897 * libio/bug-fclose1.c: New file.
29898
320a5dc0
PB
298992011-05-12 Ulrich Drepper <drepper@gmail.com>
29900
29901 [BZ #12511]
29902 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29903 don't set DF_1_NODELETE here.
29904 (do_lookup_x): When entering new entry test for copy relocation
29905 and if necessary set DF_1_NODELETE flag.
29906 * elf/tst-unique4.cc: New file.
29907 * elf/tst-unique4.h: New file.
29908 * elf/tst-unique4lib.cc: New file.
29909 * elf/Makefile: Add rules to build and run tst-unique4.
29910 Patch by Piotr Bury <pbury@goahead.com>.
29911
22836f52
UD
299122011-05-11 Ulrich Drepper <drepper@gmail.com>
29913
f574184a
UD
29914 [BZ #12052]
29915 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29916
e1fb097f
UD
29917 [BZ #12625]
29918 * misc/mntent_r.c (addmntent): Flush the stream after the output
29919
22836f52
UD
29920 [BZ #12393]
29921 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29922 (is_trusted_path_normalize): Skip initial colon. Append slash
29923 to empty buffer. Duplicate is_trusted_path code but allow
29924 constructed patch to be prefix.
29925 (is_dst): Allow $ORIGIN followed by /.
29926 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29927 Correct testing of result of is_trusted_path_normalize
29928 (decompose_rpath): Fix warning.
29929
7b3b0b2a
UD
299302011-05-10 Ulrich Drepper <drepper@gmail.com>
29931
29932 [BZ #11257]
29933 * grp/initgroups.c (internal_getgrouplist): When we found the service
29934 list through the initgroups entry in nsswitch.conf do not always
29935 continue on a successful lookup. Don't always use the
eac80ce2 29936 __nss_group_database value if it is set.
7b3b0b2a
UD
29937 * nss/nsswitch.conf (initgroups): Change action for successful db
29938 lookup to continue for compatibility.
29939
2a81eaa5
UD
299402011-05-09 Ulrich Drepper <drepper@gmail.com>
29941
be97a69e
UD
29942 [BZ #11532]
29943 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29944 and CP774 modules.
29945 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29946 and CP774 modules.
29947 * iconvdata/tst-tables.sh: Likewise.
29948 * iconvdata/cp770.c: New file.
29949 * iconvdata/cp771.c: New file.
29950 * iconvdata/cp772.c: New file.
29951 * iconvdata/cp773.c: New file.
29952 * iconvdata/cp774.c: New file.
29953 * iconvdata/testdata/CP770: New file.
29954 * iconvdata/testdata/CP770..UTF8: New file.
29955 * iconvdata/testdata/CP771: New file.
29956 * iconvdata/testdata/CP771..UTF8: New file.
29957 * iconvdata/testdata/CP772: New file.
29958 * iconvdata/testdata/CP772..UTF8: New file.
29959 * iconvdata/testdata/CP773: New file.
29960 * iconvdata/testdata/CP773..UTF8: New file.
29961 * iconvdata/testdata/CP774: New file.
29962 * iconvdata/testdata/CP774..UTF8: New file.
29963
29964 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29965 END CHARMAP line.
29966 * iconvdata/gen-8bit-gap.sh: Likewise.
29967 * iconvdata/gen-8bit.sh: Likewise.
29968
c1e9e399
UD
29969 * locale/iso-639.def: Add ary entry.
29970
24c55fb3 29971 [BZ #11258]
96b4b1b0
UD
29972 * locale/C-translit.h.in: Add U20A1 transliteration.
29973
bdc2f971
KB
29974 [BZ #12178]
29975 * locale/iso-639.def: Add wae entry.
29976 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29977
2952b117
UD
29978 [BZ #12545]
29979 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29980 for n.
29981
2a81eaa5
UD
29982 [BZ #12711]
29983 * locale/C-translit.h.in: Add entry for U20B9.
29984 Patch by pravin.d.s@gmail.com.
29985
28377d1b
UD
299862011-05-08 Ulrich Drepper <drepper@gmail.com>
29987
7fb90fb8
UD
29988 [BZ #12713]
29989 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29990 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29991 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29992 in rtld. Use *stat64.
7fb90fb8 29993 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29994 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29995 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29996 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29997 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29998 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29999 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30000 __fstatat64 macros.
7fb90fb8
UD
30001 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30002 * dirent/rewinddir.c: Add libc_hidden_def.
30003 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30004 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30005
28377d1b
UD
30006 * include/dirent.h (__alloc_dir): Add flags parameter.
30007 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30008 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30009 __alloc_dir.
30010 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30011 from fdopendir if O_CLOEXEC is already set.
30012
66bdbaa4
AM
300132011-03-15 Alan Modra <amodra@gmail.com>
30014
30015 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30016 l_tls_firstbyte_offset non-zero. Save padding offset in
30017 l_tls_firstbyte_offset for later use.
30018 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30019 freeing static tls block.
30020
95721191
JN
300212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30022
30023 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30024 where #ifdef was intended. The intent is to prevent ARG_MAX from
30025 being defined by the kernel headers.
30026
f87dfb1f
UD
300272011-05-07 Ulrich Drepper <drepper@gmail.com>
30028
30029 [BZ #12734]
30030 * resolv/resolv.h: Define RES_NOTLDQUERY.
30031 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30032 no-tld-query and set RES_NOTLDQUERY.
30033 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30034 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30035 modern BIND to search name as TLD unless forbidden.
30036
47c3cd7a
UD
300372011-05-07 Petr Baudis <pasky@suse.cz>
30038 Ulrich Drepper <drepper@gmail.com>
30039
30040 [BZ #12393]
30041 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30042 (is_trusted_path): ...to here.
c1e9ea35 30043 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30044 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30045 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30046
8a35c912
PP
300472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30048
30049 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30050 __BEGIN/__END_DECLS.
30051
acd41f47
UD
300522011-05-06 Ulrich Drepper <drepper@gmail.com>
30053
30054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30055 NSS_STATUS_NOTFOUND if no record was found.
30056
597df647
AS
300572011-05-05 Andreas Schwab <schwab@redhat.com>
30058
30059 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30060 (headers-not-in-tirpc): Remove rpc/netdb.h
30061 * resolv/netdb.h: Revert last change.
30062
b9af1301
PP
300632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30064
30065 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30066 circular dependency between libgcc.a and libc.a.
30067
4e34d5f5
AS
300682011-05-05 Andreas Schwab <schwab@redhat.com>
30069
30070 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30071 * nis/Makefile: Don't install rpcsvc/*.
30072 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30073 instead of <rpc/types.h>.
30074 (MAXHOSTNAMELEN): Define.
30075
00ee369c
AS
300762011-05-03 Andreas Schwab <schwab@redhat.com>
30077
30078 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30079
0b592a30
MB
300802011-04-28 Maciej Babinski <mbabinski@google.com>
30081
30082 [BZ #12714]
30083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30084 gethostbyname4_r when IPv6 results are possible.
30085
6e04cbbe
UD
300862011-05-02 Ulrich Drepper <drepper@gmail.com>
30087
30088 [BZ #12723]
30089 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30090 _PC_PIPE_BUF handling.
30091
e4ecafe0
BH
300922011-04-30 Bruno Haible <bruno@clisp.org>
30093
30094 [BZ #12717]
30095 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30096 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30097 to 'int'.
30098 * inet/getnameinfo.c (getnameinfo): Likewise.
30099
125ee683
UD
301002011-04-29 Ulrich Drepper <drepper@gmail.com>
30101
30102 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30103 to groups setting in database lookup.
30104 * nss/nsswitch.conf: Add initgroups entry.
30105
b722481a
EB
301062011-04-22 Ulrich Drepper <drepper@gmail.com>
30107
30108 [BZ #12685]
30109 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30110 mode string.
30111 Patch by Eric Blake <eblake@redhat.com>.
30112
4df46dbd
L
301132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30114
30115 * sunrpc/Makefile (need-export-routines): Add svc_run.
30116 (routines): Remove svc_run.
30117 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30118 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30119 * sunrpc/svc_run.c (svc_run): Likewise.
30120 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30121
e84142d2
UD
301222011-04-21 Ulrich Drepper <drepper@gmail.com>
30123
30124 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30125 problem in reallocation in last patch.
30126
877175d8
UD
301272011-04-20 Ulrich Drepper <drepper@gmail.com>
30128
30129 * sunrpc/Makefile: Move inclusion of Rules.
30130
ab8eed78
UD
301312011-04-19 Ulrich Drepper <drepper@gmail.com>
30132
30133 * nss/nss_files/files-initgroups.c: New file.
30134 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30135 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30136 _nss_files_initgroups_dyn.
30137
e3d8f584
RS
301382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30139
30140 * elf/elf.h (R_ARM_IRELATIVE): Define.
30141
af190f45
UD
301422011-04-19 Ulrich Drepper <drepper@gmail.com>
30143
30144 * po/ru.po: Update from translation team.
30145
53cf59ef
UD
301462011-04-17 Ulrich Drepper <drepper@gmail.com>
30147
30148 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30149 dependencies.
30150
4c559bcd
MF
301512011-02-06 Mike Frysinger <vapier@gentoo.org>
30152
30153 [BZ #12653]
30154 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30155 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30157 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30159
4420675c
AS
301602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30161
30162 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30163 differing bytes.
30164 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30167
75ea32ab
UD
301682011-04-17 Ulrich Drepper <drepper@gmail.com>
30169
30170 [BZ #12420]
30171 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30172 storing it.
30173 * stdlib/bug-getcontext.c: New file.
30174 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30175
27390476
AK
301762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30177
30178 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30179 instructions into .machine "z9-109".
30180 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30181 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30182
10442705
AK
301832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30184
30185 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30186 between environment variables and auxiliary vector.
30187
7b57bfe5
UD
301882011-04-16 Ulrich Drepper <drepper@gmail.com>
30189
30190 * Makefile: Add rules to build linkobj/libc.so.
30191 * include/libc-symbols.h: Define libc_hidden_nolink.
30192 * include/rpc/auth.h: Mark functions which are to be hidden.
30193 * include/rpc/auth_des.h: Likewise.
30194 * include/rpc/auth_unix.h: Likewise.
30195 * include/rpc/clnt.h: Likewise.
30196 * include/rpc/des_crypt.h: Likewise.
30197 * include/rpc/key_prot.h: Likewise.
30198 * include/rpc/pmap_clnt.h: Likewise.
30199 * include/rpc/pmap_prot.h: Likewise.
30200 * include/rpc/pmap_rmt.h: Likewise.
30201 * include/rpc/rpc_msg.h: Likewise.
30202 * include/rpc/svc.h: Likewise.
30203 * include/rpc/svc_auth.h: Likewise.
30204 * include/rpc/xdr.h: Likewise.
30205 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30206 * nss/Makefile: Likewise.
30207 * sunrpc/Makefile: Don't install headers. Build library with normal
30208 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30209 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30210 for the compat linking library. Remove use of INTDEF/INTUSE.
30211 * sunrpc/auth_none.c: Likewise.
30212 * sunrpc/auth_unix.c: Likewise.
30213 * sunrpc/authdes_prot.c: Likewise.
30214 * sunrpc/authuxprot.c: Likewise.
30215 * sunrpc/clnt_gen.c: Likewise.
30216 * sunrpc/clnt_perr.c: Likewise.
30217 * sunrpc/clnt_raw.c: Likewise.
30218 * sunrpc/clnt_simp.c: Likewise.
30219 * sunrpc/clnt_tcp.c: Likewise.
30220 * sunrpc/clnt_udp.c: Likewise.
30221 * sunrpc/clnt_unix.c: Likewise.
30222 * sunrpc/des_crypt.c: Likewise.
30223 * sunrpc/des_soft.c: Likewise.
30224 * sunrpc/get_myaddr.c: Likewise.
30225 * sunrpc/key_call.c: Likewise.
30226 * sunrpc/key_prot.c: Likewise.
30227 * sunrpc/netname.c: Likewise.
30228 * sunrpc/pm_getmaps.c: Likewise.
30229 * sunrpc/pm_getport.c: Likewise.
30230 * sunrpc/pmap_clnt.c: Likewise.
30231 * sunrpc/pmap_prot.c: Likewise.
30232 * sunrpc/pmap_prot2.c: Likewise.
30233 * sunrpc/pmap_rmt.c: Likewise.
30234 * sunrpc/publickey.c: Likewise.
30235 * sunrpc/rpc_cmsg.c: Likewise.
30236 * sunrpc/rpc_common.c: Likewise.
30237 * sunrpc/rpc_dtable.c: Likewise.
30238 * sunrpc/rpc_prot.c: Likewise.
30239 * sunrpc/rpc_thread.c: Likewise.
30240 * sunrpc/rtime.c: Likewise.
30241 * sunrpc/svc.c: Likewise.
30242 * sunrpc/svc_auth.c: Likewise.
30243 * sunrpc/svc_authux.c: Likewise.
30244 * sunrpc/svc_raw.c: Likewise.
30245 * sunrpc/svc_run.c: Likewise.
30246 * sunrpc/svc_simple.c: Likewise.
30247 * sunrpc/svc_tcp.c: Likewise.
30248 * sunrpc/svc_udp.c: Likewise.
30249 * sunrpc/svc_unix.c: Likewise.
30250 * sunrpc/svcauth_des.c: Likewise.
30251 * sunrpc/xcrypt.c: Likewise.
30252 * sunrpc/xdr.c: Likewise.
30253 * sunrpc/xdr_array.c: Likewise.
30254 * sunrpc/xdr_float.c: Likewise.
30255 * sunrpc/xdr_intXX_t.c: Likewise.
30256 * sunrpc/xdr_mem.c: Likewise.
30257 * sunrpc/xdr_rec.c: Likewise.
30258 * sunrpc/xdr_ref.c: Likewise.
30259 * sunrpc/xdr_sizeof.c: Likewise.
30260 * sunrpc/xdr_stdio.c: Likewise.
30261
e6c61494
UD
302622011-04-10 Ulrich Drepper <drepper@gmail.com>
30263
30264 [BZ #12650]
30265 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30266 * sysdeps/ia64/dl-tls.h: Likewise.
30267 * sysdeps/powerpc/dl-tls.h: Likewise.
30268 * sysdeps/s390/dl-tls.h: Likewise.
30269 * sysdeps/sh/dl-tls.h: Likewise.
30270 * sysdeps/sparc/dl-tls.h: Likewise.
30271 * sysdeps/x86_64/dl-tls.h: Likewise.
30272 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30273
34fe483e
AS
302742011-03-14 Andreas Schwab <schwab@redhat.com>
30275
30276 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30277 rpath element also skip the following colon.
30278 (expand_dynamic_string_token): Add is_path parameter and pass
30279 down to DL_DST_REQUIRED and _dl_dst_substitute.
30280 (decompose_rpath): Call expand_dynamic_string_token with
30281 non-zero is_path. Ignore empty rpaths.
30282 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30283 with zero is_path.
30284
f12a32e6
AS
302852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30286
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30288 Make cancelable.
30289
38a7d692
UD
302902011-04-09 Ulrich Drepper <drepper@gmail.com>
30291
30292 [BZ #12655]
30293 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30294 Patch by Filipe David Manana <fdmanana@apache.org>.
30295
e451d22b
AS
302962011-04-07 Andreas Schwab <schwab@redhat.com>
30297
30298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30299 Maintain aligned stack.
30300 (CHECK_RSP): Remove unused macro.
30301
dedc7c7b
UD
303022011-04-03 Ulrich Drepper <drepper@gmail.com>
30303
30304 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30305 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30306
94521213
UD
303072011-04-02 Ulrich Drepper <drepper@gmail.com>
30308
30309 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30310
8cb700c0 30311 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30312
0354e355
L
303132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30314
30315 [BZ #12518]
30316 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30317 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30318 * sysdeps/x86_64/memmove.c: New file.
30319 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30320 (memcpy): Renamed to ...
30321 (__new_memcpy): This.
30322 (memcpy): Provide GLIBC_2_14 memcpy.
30323 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30324 (memcpy): Provide GLIBC_2_2_5 memcpy.
30325
8593482f
UD
303262011-04-01 Ulrich Drepper <drepper@gmail.com>
30327
30328 [BZ #12631]
30329 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30330
81a5726b
AS
303312011-03-30 Andreas Schwab <schwab@redhat.com>
30332
30333 * misc/syncfs.c: New file.
30334 * misc/Makefile (routines): Add syncfs.
30335 * posix/unistd.h: Declare syncfs.
30336 * sysdeps/unix/syscalls.list: Add syncfs.
30337
00e5419f
AS
303382011-04-01 Andreas Schwab <schwab@redhat.com>
30339
30340 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30341 open_by_handle_at.
30342 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30343 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30347 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30349
748876bf
UD
303502011-04-01 Ulrich Drepper <drepper@gmail.com>
30351
658e451d
UD
30352 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30353 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30355 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30356 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30359
748876bf
UD
30360 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30361 sync_file_range.c with -fexceptions.
30362 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30363 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30364 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30365 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30366 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30367 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30369 sync_file_range as cancellation point
30370 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30371 now a wrapper around __call_sync_file_range with cancellation handling.
30372 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30373 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30374 function name to __call_sync_file_range.
30375 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30376 Add call_sync_file_range.
748876bf 30377
6e63d5e1
AS
303782011-04-01 Andreas Schwab <schwab@redhat.com>
30379
30380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30381 bits/timex.h.
6e63d5e1 30382
46998f74
UD
303832011-04-01 Ulrich Drepper <drepper@gmail.com>
30384
4c1423ed
UD
30385 * iconv/iconv.h: Fix typo in comment.
30386 * io/fcntl.h: Likewise.
30387 * libio/stdio.h: Likewise.
30388 * posix/spawn.h: Likewise.
30389 * posix/unistd.h: Likewise.
30390 * stdlib/stdlib.h: Likewise.
30391 * time/time.h: Likewise.
30392 * wcsmbs/wchar.h: Likewise.
30393
158648c0
UD
30394 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30395 open_by_handle): Add.
30396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30397 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30398 Augment a few comments.
30399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30403 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30404 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30405 open_by_handle.
30406
46998f74
UD
30407 * io/fcntl.h (AT_EMPTY_PATH): Define.
30408
83fe108b
UD
304092011-03-30 Ulrich Drepper <drepper@gmail.com>
30410
30411 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30412 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30413 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30414 to...
30415 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30416 * Versions.def: Add GLIBC_2.14.
30417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30418 Export.
83fe108b 30419
bb242059
UD
304202011-03-22 Ulrich Drepper <drepper@gmail.com>
30421
30422 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30423 round counter.
30424 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30425
c97a1282
L
304262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30427
30428 [BZ #12597]
30429 * string/test-strncmp.c (do_page_test): New function.
30430 (check2): Likewise.
30431 (test_main): Call check2.
30432 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30433
2a115601
UD
304342011-03-20 Ulrich Drepper <drepper@gmail.com>
30435
30436 [BZ #12587]
30437 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30438 Handle cache information in CPU leaf 4.
30439 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30440
8126d904
UD
304412011-03-18 Ulrich Drepper <drepper@gmail.com>
30442
042c49c6 30443 [BZ #12583]
8126d904
UD
30444 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30445 character representation.
30446 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30447
ccfe366e
RA
304482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30449
30450 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30451 END(__isnan) to END(__isnanf) to match function entry point/label
30452 EALIGN(__isnanf,...).
30453
c6e13027
JJ
304542011-03-10 Jakub Jelinek <jakub@redhat.com>
30455
30456 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30457
33f85a3f
UD
304582011-03-10 Ulrich Drepper <drepper@gmail.com>
30459
028478fa
UD
30460 [BZ #12510]
30461 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30462 copy from the symbol referenced in the relocation to initialize the
30463 used variable.
30464 Patch by Piotr Bury <pbury@goahead.com>.
30465 * elf/Makefile: Add rules to build and tst-unique3.
30466 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30467 * elf/tst-unique3.cc: New file.
30468 * elf/tst-unique3.h: New file.
30469 * elf/tst-unique3lib.cc: New file.
30470 * elf/tst-unique3lib2.cc: New file.
30471
33f85a3f
UD
30472 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30473
03592fc7
MF
304742011-03-10 Mike Frysinger <vapier@gentoo.org>
30475
30476 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30477 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30478 to _start.
03592fc7 30479
6a5ee102
UD
304802011-03-06 Ulrich Drepper <drepper@gmail.com>
30481
30482 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30483 to-be-loaded object along a path to loader is ld.so.
30484
7e4ba49c
HJ
304852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30486 Ulrich Drepper <drepper@gmail.com>
30487
30488 * sysdeps/x86_64/memset.S: After aligning destination, code
30489 branches to different locations depending on the value of
30490 misalignment, when multiarch is enabled. Fix this.
30491
304922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30493
30494 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30495 Set _x86_64_preferred_memory_instruction for AMD processsors.
30496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30497 Set bit_Prefer_SSE_for_memop for AMD processors.
30498
13a804de
UD
304992011-03-04 Ulrich Drepper <drepper@gmail.com>
30500
30501 * libio/fmemopen.c (fmemopen): Optimize a bit.
30502
9d25c392
AS
305032011-03-03 Andreas Schwab <schwab@redhat.com>
30504
30505 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30506
a5543c6a
RM
305072011-03-03 Roland McGrath <roland@redhat.com>
30508
30509 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30510
012d35f7
DM
305112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30512
7e4ba49c 30513 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30514 __bzero_ultra1 instead of __memset_ultra1.
30515
4bff6e01
AS
305162011-02-23 Andreas Schwab <schwab@redhat.com>
30517 Ulrich Drepper <drepper@gmail.com>
30518
30519 [BZ #12509]
30520 * include/link.h (struct link_map): Add l_orig_initfini.
30521 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30522 returning unsuccessfully.
30523 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30524 close of a file loaded at startup, restore the original l_initfini
30525 list.
30526 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30527 list, store the pointer.
30528 * elf/Makefile ($(objpfx)noload-mem): New rule.
30529 (noload-ENV): Define.
30530 (tests): Add $(objpfx)noload-mem.
30531 * elf/noload.c: Include <memcheck.h>.
30532 (main): Call mtrace. Close all opened handles.
30533
f2092faf
AS
305342011-02-17 Andreas Schwab <schwab@redhat.com>
30535
30536 [BZ #12454]
30537 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30538 dependencies are missing.
30539
6c8a2e88
ST
305402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30541
f2092faf 30542 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30543 Hurd needs munmap.
30544 * sysdeps/mach/hurd/ifreq.h: New file.
30545
84a42118
PB
305462011-01-27 Petr Baudis <pasky@suse.cz>
30547 Ulrich Drepper <drepper@gmail.com>
30548
071f805e 30549 [BZ 12445]#
84a42118
PB
30550 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30551 to extend_alloca().
30552 * stdio-common/bug23.c: New file.
30553 * stdio-common/Makefile (tests): Add bug23.
30554
e23fe25b
AS
305552010-09-28 Andreas Schwab <schwab@redhat.com>
30556 Ulrich Drepper <drepper@gmail.com>
30557
30558 [BZ #12489]
30559 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30560 before performing relro protection. At old place add assertion
30561 to make sure nothing changed.
30562
d3f02e10
NS
305632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30564 Glauber de Oliveira Costa <glommer@gmail.com>
30565
30566 * elf/elf.h: Add new ARM TLS relocs.
30567
d55fd7a5
RA
305682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30569
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30571 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30572 cast from r3.
30573 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30574 'tests' variable.
30575 * sysdeps/wordsize-64/tst-writev.c: New file.
30576
2206397e
RA
305772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30578
30579 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30580 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30581 insns in _dl_start to prevent a TOC reference before relocs are
30582 resolved.
30583
e9433893
UD
305842011-02-15 Ulrich Drepper <drepper@gmail.com>
30585
30586 [BZ #12469]
30587 * Makeconfig: Remove RANLIB definition.
30588 * Makerules: Don't use RANLIB.
30589 * aclocal.m4: Remove ranlib test.
30590 * configure.in: No need to check for ranlib.
30591 * elf/rtld-Rules: Don't use RANLIB.
30592
f75286c6
ST
305932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30594
8e31c82d
ST
30595 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30596 protection macro.
30597 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30598 inclusion protection macro.
30599
f75286c6
ST
30600 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30601 SIGRTMIN and SIGRTMAX and print information in that case only when
30602 SIGRTMIN is defined.
30603
c1d0e639
JJ
306042011-02-11 Jakub Jelinek <jakub@redhat.com>
30605
30606 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30607 arginfo fn returning -1.
30608
30609 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30610 and thousands string is zero terminated.
30611
edf9294e
AS
306122011-02-03 Andreas Schwab <schwab@redhat.com>
30613
30614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30615 sysdeps/unix/sysv/linux/bits/socket.h.
30616
2b7e92df
ST
306172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30618
edf9294e
AS
30619 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30620 (__CPU_COUNT): Remove old macros.
30621 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30622 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30623 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30624 (__sched_cpualloc, __sched_cpufree): Add declarations.
30625
a4c7ea7b
UD
306262011-02-05 Ulrich Drepper <drepper@gmail.com>
30627
30628 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30629 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30630 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30631 (readdhstai): Return value of addhstaiX call.
30632 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30633 (addgrbyX): Return value returned by cache_addgr.
30634 (readdgrbyname): Return value returned by addgrbyX.
30635 (readdgrbygid): Likewise.
30636 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30637 (addpwbyX): Return value returned by cache_addpw.
30638 (readdpwbyname): Return value returned by addhstbyX.
30639 (readdpwbyuid): Likewise.
30640 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30641 (addservbyX): Return value returned by cache_addserv.
30642 (readdservbyname): Return value returned by addservbyX:
30643 (readdservbyport): Likewise.
30644 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30645 (addhstbyX): Return value returned by cache_addhst.
30646 (readdhstbyname): Return value returned by addhstbyX.
30647 (readdhstbyaddr): Likewise.
30648 (readdhstbynamev6): Likewise.
30649 (readdhstbyaddrv6): Likewise.
30650 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30651 (readdinitgroups): Return value returned by addinitgroupsX.
30652 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30653 (prune_cache): Keep track of timeout value of re-added entries.
30654 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30655 * nscd/nscd.h: Adjust prototypes of readd* functions.
30656
a0bf67cc
RM
306572011-02-04 Roland McGrath <roland@redhat.com>
30658
30659 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30660 (nis_stats): Likewise.
30661 * nis/nis_modify.c (nis_modify): Likewise.
30662 * nis/nis_remove.c (nis_remove): Likewise.
30663 * nis/nis_add.c (nis_add): Likewise.
30664
30665 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30666
30667 * posix/fnmatch_loop.c: Add some consts.
30668
30669 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30670
435b95eb
L
306712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 [BZ #12460]
30674 * config.make.in (config-cflags-novzeroupper): Define.
30675 * configure.in: Substitute libc_cv_cc_novzeroupper.
30676 * elf/Makefile (AVX-CFLAGS): Define.
30677 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30678 (CFLAGS-tst-auditmod4a.c): Likewise.
30679 (CFLAGS-tst-auditmod4b.c): Likewise.
30680 (CFLAGS-tst-auditmod6b.c): Likewise.
30681 (CFLAGS-tst-auditmod6c.c): Likewise.
30682 (CFLAGS-tst-auditmod7b.c): Likewise.
30683 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30684
8517b15e
UD
306852011-02-02 Ulrich Drepper <drepper@gmail.com>
30686
30687 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30688 function to the callback.
30689 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30690
10a656fe
AS
306912011-02-02 Andreas Schwab <schwab@redhat.com>
30692
30693 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30694 of errno.
30695
968dad0a
UD
306962011-01-19 Ulrich Drepper <drepper@gmail.com>
30697
9f94d2ea 30698 [BZ #11724]
968dad0a
UD
30699 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30700 of constructors.
30701 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30702 of destructors.
30703 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30704
30705 [BZ #11724]
30706 * elf/Makefile: Add rules to build and run new test.
30707 * elf/tst-initorder.c: New file.
30708 * elf/tst-initorder.exp: New file.
30709 * elf/tst-initordera1.c: New file.
30710 * elf/tst-initordera2.c: New file.
30711 * elf/tst-initordera3.c: New file.
30712 * elf/tst-initordera4.c: New file.
30713 * elf/tst-initorderb1.c: New file.
30714 * elf/tst-initorderb2.c: New file.
30715 * elf/tst-order-a1.c: New file.
30716 * elf/tst-order-a2.c: New file.
30717 * elf/tst-order-a3.c: New file.
30718 * elf/tst-order-a4.c: New file.
30719 * elf/tst-order-b1.c: New file.
30720 * elf/tst-order-b2.c: New file.
30721 * elf/tst-order-main.c: New file.
30722 New test case by George Gensure <werkt0@gmail.com>.
30723
86e92359
UD
307242010-10-01 Andreas Schwab <schwab@redhat.com>
30725
30726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30727 decoding ACE if AI_CANONIDN.
30728
5d5732b0
UD
307292011-01-18 Ulrich Drepper <drepper@gmail.com>
30730
30731 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30732
a77e8cbc
UD
307332011-01-17 Ulrich Drepper <drepper@gmail.com>
30734
6392473f
UD
30735 * version.h (RELEASE): Bump for 2.13 release.
30736 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30737
620a0529
UD
30738 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30739
18ba70a5
UD
30740 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30741 MADV_NOHUGEPAGE.
32465c3e
UD
30742 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30744 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30745 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30747 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30748
c0dafcf1
UD
30749 * posix/getconf.c: Update copyright year.
30750 * catgets/gencat.c: Likewise.
30751 * csu/version.c: Likewise.
30752 * debug/catchsegv.sh: Likewise.
30753 * debug/xtrace.sh: Likewise.
30754 * elf/ldconfig.c: Likewise.
30755 * elf/ldd.bash.in: Likewise.
30756 * elf/sprof.c (print_version): Likewise.
30757 * iconv/iconv_prog.c: Likewise.
30758 * iconv/iconvconfig.c: Likewise.
30759 * locale/programs/locale.c: Likewise.
30760 * locale/programs/localedef.c: Likewise.
30761 * malloc/memusage.sh: Likewise.
30762 * malloc/mtrace.pl: Likewise.
30763 * nscd/nscd.c (print_version): Likewise.
30764 * nss/getent.c: Likewise.
30765
a77e8cbc
UD
30766 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30767 PF_CAIF, and PF_ALG.
30768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30769
77e8bddf
AS
307702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30771
1f20b93a
AS
30772 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30773 (modules-names): Use them.
30774 (ifunc-test-modules, ifunc-pie-tests): Define.
30775 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30776 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30777 (test-extras): Likewise.
30778 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30779 $(compile-command.c).
30780 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30781 (all-built-dso): Define.
30782 (check-textrel.out, check-execstack.out): Depend on it.
30783
77e8bddf
AS
30784 * configure.in: Don't override --enable-multi-arch.
30785
bc425b33
UD
307862011-01-15 Ulrich Drepper <drepper@gmail.com>
30787
30788 [BZ #6812]
30789 * nscd/hstcache.c (tryagain): Define.
30790 (cache_addhst): Return tryagain not notfound for temporary errors.
30791 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30792 failed.
30793
794c3ad3
UD
307942011-01-14 Ulrich Drepper <drepper@gmail.com>
30795
70181fdd
UD
30796 [BZ #10563]
30797 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30798 to make the syscall.
30799 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30800
794c3ad3
UD
30801 [BZ #12378]
30802 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30803 and fall back to matching as normal character if the string ends before
30804 the matching ']' is found. This is what POSIX requires.
30805 * posix/testfnm.c: Adjust test result.
30806 * posix/globtest.sh: Adjust test result. Add new test.
30807 * posix/tst-fnmatch.input: Likewise.
30808 * posix/tst-fnmatch2.c: Add new test.
30809
68dc9497
AS
308102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30811
30812 * elf/Makefile (check-execstack): Revert last change. Depend on
30813 check-execstack.h.
30814 (check-execstack.h): New target.
30815 (generated): Add check-execstack.h.
30816 * elf/check-execstack.c: Include "check-execstack.h".
30817 (main): Revert last change.
30818 (handle_file): Return zero if GNU_STACK is absent and
30819 DEFAULT_STACK_PERMS doesn't include PF_X.
30820
451f001b
UD
308212011-01-13 Ulrich Drepper <drepper@gmail.com>
30822
cfa28e56
UD
30823 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30824 in child fails because the descriptor is already closed.
8cf8ce17
UD
30825 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30826 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30827 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30828
1086d70d
UD
30829 [BZ #12397]
30830 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30831 syscall.
30832
451f001b
UD
30833 [BZ #10484]
30834 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30835 temporary buffer used to handle multi lookups locally.
a85b5cb4 30836 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30837
08769175
UD
308382011-01-12 Ulrich Drepper <drepper@gmail.com>
30839
30840 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30841 loader is ld.so.
30842
5e49c52e
UD
308432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30844
30845 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30846 alignment for SSE2.
30847
60522a5f
UD
308482011-01-12 Ulrich Drepper <drepper@gmail.com>
30849
30850 [BZ #12394]
30851 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30852 characters. When rounding increased number of integer digits recompute
30853 number of groups.
30854 * stdio-common/tst-grouping.c: New file.
30855 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30856
f257bbd7
UD
308572011-01-09 Ulrich Drepper <drepper@gmail.com>
30858
30859 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30860 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30861
30862 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30863 void.
30864 * bits/select.h: Likewise.
30865
fa9c15cb
UD
308662011-01-08 Ulrich Drepper <drepper@gmail.com>
30867
30868 * po/ja.po: Update from translation team.
30869
16c2895f
DM
308702011-01-04 David S. Miller <davem@sunset.davemloft.net>
30871
30872 [BZ #11155]
30873 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30874 implementation just like for lxstat, fxstatat, et al.
30875
2543fef2
JM
308762010-12-27 Jim Meyering <meyering@redhat.com>
30877
30878 [BZ #12348]
30879 * posix/regexec.c (build_trtable): Return failure indication upon
30880 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30881
98727dbe
UD
308822010-12-25 Ulrich Drepper <drepper@gmail.com>
30883
5bd6dc5c
UD
30884 [BZ #12201]
30885 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30886 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30887 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30888 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30889
97983464
UD
30890 [BZ #12207]
30891 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30892
98727dbe
UD
30893 [BZ #12204]
30894 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30895 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30896
4a531bb0
L
308972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30898
30899 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30900 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30901 script has SORT_BY_INIT_PRIORITY.
30902 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30903 NO_CTORS_DTORS_SECTIONS is defined.
30904 * elf/soinit.c: Likewise.
30905 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30906 NO_CTORS_DTORS_SECTIONS is defined.
30907 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30908 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30909 * sysdeps/sh/init-first.c: Likewise.
30910 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30911
07eb4b71
UD
309122010-12-24 Ulrich Drepper <drepper@gmail.com>
30913
30914 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30915 always use the slow path.
30916
30950a5f
RA
309172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30918
30919 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30920 similar rule which adds the sysdep directories to the header search in
30921 order to pick up the correct platform stackinfo.h.
30922 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30923 perform test if it is, otherwise return successfully without testing.
30924 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30925 DEFAULT_STACK_PERMS define in stackinfo.h.
30926 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30927 defined in stackinfo.h.
30928 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30929 DEFAULT_STACK_PERMS defined in stackinfo.h.
30930 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30931 * sysdeps/ia64/stackinfo.h: Likewise.
30932 * sysdeps/s390/stackinfo.h: Likewise.
30933 * sysdeps/sh/stackinfo.h: Likewise.
30934 * sysdeps/sparc/stackinfo.h: Likewise.
30935 * sysdeps/x86_64/stackinfo.h: Likewise.
30936 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30937 PF_X for powerpc64. Retain PF_X for powerpc32.
30938
db753e2c
UD
309392010-12-19 Ulrich Drepper <drepper@gmail.com>
30940
14b697f7
UD
30941 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30942 accurately.
db753e2c
UD
30943 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30944 GETDENTS_64BIT_ALIGNED.
30945
28300719
UD
309462010-12-14 Ulrich Drepper <dreper@gmail.com>
30947
14b697f7 30948 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30949
4f197237
AS
309502010-12-10 Andreas Schwab <schwab@redhat.com>
30951
dbb0472f
AS
30952 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30953 _GNU_SOURCE.
30954
4f197237
AS
30955 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30956 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30957 Remove __restrict.
30958 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30959 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30960
fb88ac72
UD
309612010-12-09 Ulrich Drepper <drepper@gmail.com>
30962
30963 [BZ #11655]
30964 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30965 are initialized.
30966
42acbb92
JJ
309672010-12-09 Jakub Jelinek <jakub@redhat.com>
30968
30969 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30970
c038d98d
UD
309712010-12-03 Ulrich Drepper <drepper@gmail.com>
30972
30973 * po/it.po: Update from translation team.
30974
3a4a2499
L
309752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30976
30977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30978 unused codes.
30979
1e24cf6e
UD
309802010-11-30 Ulrich Drepper <drepper@gmail.com>
30981
30982 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30983
a7690819
AS
309842010-11-24 Andreas Schwab <schwab@redhat.com>
30985
30986 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30987 specially.
30988 (gaih_getanswer_slice): Likewise.
30989
3bf8d1b1
JJ
309902010-10-20 Jakub Jelinek <jakub@redhat.com>
30991
30992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30993
6db52fbb
PB
309942010-05-31 Petr Baudis <pasky@suse.cz>
30995
30996 [BZ #11149]
30997 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30998 silently even in the chroot mode.
30999
eaca7569
UD
310002010-11-22 Ulrich Drepper <drepper@gmail.com>
31001
31002 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31003 last patch a bit. Pretty printing
31004
3056dcdb
UD
310052010-05-31 Petr Baudis <pasky@suse.cz>
31006
31007 [BZ #10085]
31008 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31009 initialization of skip_initgroups_dyn.
31010
cf7c9078
UD
310112010-11-19 Ulrich Drepper <drepper@gmail.com>
31012
31013 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31015
a1fb5e3e
UD
310162010-11-16 Ulrich Drepper <drepper@gmail.com>
31017
31018 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31019
3540d66b
AS
310202010-11-11 Andreas Schwab <schwab@redhat.com>
31021
31022 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31023 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31024 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31025 ($(objpfx)tst-fnmatch-mem): New rule.
31026 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31027 * posix/tst-fnmatch.c (main): Call mtrace.
31028
13b69574
L
310292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31032 Support Intel processor model 6 and model 0x2c.
31033
da93d214
LM
310342010-11-10 Luis Machado <luisgpm@br.ibm.com>
31035
31036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31037 signed comparison.
31038
8ca52c6e
L
310392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31040
31041 [BZ #12205]
31042 * string/test-strncasecmp.c (check_result): New function.
31043 (do_one_test): Use it.
31044 (check1): New function.
31045 (test_main): Use it.
31046 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31047 Support strcasecmp and strncasecmp.
31048
69da074d
UD
310492010-11-08 Ulrich Drepper <drepper@gmail.com>
31050
31051 [BZ #12194]
31052 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31053 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31054
ff02d528
L
310552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31056
31057 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31058 IFUNC support.
31059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31060 memset-x86-64.
31061 * sysdeps/x86_64/multiarch/bzero.S: New file.
31062 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31063 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31064 * sysdeps/x86_64/multiarch/memset.S: New file.
31065 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31067 Set bit_Prefer_SSE_for_memop for Intel processors.
31068 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31069 Define.
31070 (index_Prefer_SSE_for_memop): Define.
31071 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31072
344d0b54
LM
310732010-11-04 Luis Machado <luisgpm@br.ibm.com>
31074
31075 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31076 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31077
c0dde15b
UD
310782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31079
31080 [BZ #12191]
31081 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31082 (__x86_64_raw_data_cache_size_half): Likewise.
31083 (__x86_64_raw_shared_cache_size): Likewise.
31084 (__x86_64_raw_shared_cache_size_half): Likewise.
31085
31086 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31087 (__x86_64_raw_data_cache_size_half): Likewise.
31088 (__x86_64_raw_shared_cache_size): Likewise.
31089 (__x86_64_raw_shared_cache_size_half): Likewise.
31090 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31091 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31092 and __x86_64_raw_shared_cache_size_half. Round
31093 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31094 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31095 to multiple of 256 bytes.
31096
0e516e0e
MS
310972010-11-03 Ulrich Drepper <drepper@gmail.com>
31098
31099 [BZ #12167]
31100 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31101 of inacessible symlinks. Verify result of symlink before returning it.
31102 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31103 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31104
0e012e87
ER
311052010-10-28 Erich Ritz <erichritz@gmail.com>
31106
31107 * math/math.h (isinf): Fix typo in comment.
31108
de0ff7bc
UD
311092010-11-01 Ulrich Drepper <drepper@gmail.com>
31110
31111 * po/da.po: Update from translation team.
31112
fa41c84d
UD
311132010-10-26 Ulrich Drepper <drepper@gmail.com>
31114
31115 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31116 is added to the list.
31117
f0967738
AK
311182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31119 Ulrich Drepper <drepper@gmail.com>
31120
31121 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31122 the global list here. Move code to...
31123 (_dl_add_to_namespace_list): ...here. New function.
31124 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31125 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31126 * elf/dl-load.c (lose): Don't remove the element from the list.
31127 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31128 (_dl_map_object): Likewise.
31129
311302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31131
31132 [BZ #12159]
31133 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31134 into all bytes of SSE register.
31135 Patch by Richard Li <richardpku@gmail.com>.
31136
f0967738 311372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31138
31139 [BZ #12140]
31140 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31141 perturbing.
31142
d0b9e94f
MB
311432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31144
31145 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31146 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31147 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31148 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31150 submachine.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31152
8e9f92e9
AS
311532010-10-22 Andreas Schwab <schwab@redhat.com>
31154
31155 * include/dlfcn.h (__RTLD_SECURE): Define.
31156 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31157 mode & __RTLD_SECURE instead.
31158 (open_path): Rename preloaded parameter to secure.
31159 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31160 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31161 * elf/dl-deps.c (openaux): Likewise.
31162 * elf/rtld.c (struct map_args): Remove is_preloaded.
31163 (map_doit): Don't use it.
31164 (dl_main): Likewise.
31165 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31166 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31167
bc96fbda
AS
311682010-09-09 Andreas Schwab <schwab@redhat.com>
31169
31170 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31171 (sysd-rules-targets): Remove duplicates.
31172 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31173 rtld-%.$o dependency.
31174
22cd1c9b
AS
311752010-10-18 Andreas Schwab <schwab@redhat.com>
31176
31177 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31178 _dl_map_object do it.
31179
18edac48
UD
311802010-10-19 Ulrich Drepper <drepper@gmail.com>
31181
31182 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31183 fast fma builtins, define the macros in the C99 standard.
31184 (FP_FAST_FMAF): Likewise.
31185 (FP_FAST_FMAL): Likewise.
31186 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31187
31188 * bits/mathdef.h: Update copyright year.
31189 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31190
d2050124
MM
311912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31192
31193 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31194 builtins, define the macros in the C99 standard.
31195 (FP_FAST_FMAF): Likewise.
31196 (FP_FAST_FMAL): Likewise.
31197 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31198 multiply/add.
31199 (FP_FAST_FMAF): Likewise.
31200
475facd1
JJ
312012010-10-15 Jakub Jelinek <jakub@redhat.com>
31202
31203 [BZ #3268]
31204 * math/libm-test.inc (fma_test): Some new testcases.
31205 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31206 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31207 y and infinite z. Do multiplication by C already in long double.
31208 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31210 y and infinite z. Do bitwise or of inexact bit into u.d.
31211 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31212 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31213 * sysdeps/i386/fpu/s_fma.S: Removed.
31214 * sysdeps/i386/fpu/s_fmal.S: Removed.
31215
7c08a05c
JJ
312162010-10-16 Jakub Jelinek <jakub@redhat.com>
31217
31218 [BZ #3268]
31219 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31221 computation is not scheduled after fetestexcept. Fix value
31222 of minimum denormal long double.
31223
f3f7372d
JJ
312242010-10-14 Jakub Jelinek <jakub@redhat.com>
31225
31226 [BZ #3268]
31227 * math/libm-test.inc (fma_test): Add some more tests.
31228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31229 correctly.
31230
14d43591
AS
312312010-10-15 Andreas Schwab <schwab@redhat.com>
31232
31233 * scripts/data/localplt-s390-linux-gnu.data: New file.
31234 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31235
5e908464
JJ
312362010-10-13 Jakub Jelinek <jakub@redhat.com>
31237
31238 [BZ #3268]
31239 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31240 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31241 instead of dbl-64.
31242 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31243 inlines.
31244 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31246 if one of x and y is very large and the other is subnormal.
31247 * sysdeps/s390/fpu/s_fmaf.c: New file.
31248 * sysdeps/s390/fpu/s_fma.c: New file.
31249 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31250 * sysdeps/powerpc/fpu/s_fma.S: New file.
31251 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31252 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31253 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31254
312552010-10-12 Jakub Jelinek <jakub@redhat.com>
31256
31257 [BZ #3268]
31258 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31259 fma tests.
31260 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31261 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31262 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31263 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31264 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31265 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31267
b833d51f
UD
312682010-10-12 Ulrich Drepper <drepper@redhat.com>
31269
31270 [BZ #12078]
31271 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31272 * posix/bug-regex31.input: Add test case.
31273
1751705d
UD
312742010-10-11 Ulrich Drepper <drepper@gmail.com>
31275
e9b9cbf5
UD
31276 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31277 * posix/bug-regex31.input: New file.
31278
31279 [BZ #12078]
31280 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31281 (parse_sub_exp): Fix last change, use postorder.
31282
ef06edbe
UD
31283 * posix/bug-regex31.c: New file.
31284 * posix/Makefile: Add rules to build and run bug-regex31.
31285
a129c80d
UD
31286 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31287
31288 [BZ #12078]
31289 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31290
b76b818e
UD
31291 [BZ #12108]
31292 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31293 to have entries in sys_siglist.
31294
1751705d
UD
31295 [BZ #12093]
31296 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31297 be NULL.
31298
9ff8d36f
JJ
312992010-10-07 Jakub Jelinek <jakub@redhat.com>
31300
31301 [BZ #3268]
31302 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31303 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31304 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31305 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31306 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31307 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31308 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31309 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31310 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31311 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31312 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31313 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31314 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31315 * math/ftestexcept.c (fetestexcept): Likewise.
31316 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31317 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31318 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31319 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31320 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31321 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31322 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31323
af325969
UD
313242010-10-11 Ulrich Drepper <drepper@gmail.com>
31325
c579b202 31326 [BZ #12107]
af325969
UD
31327 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31328 newline.
31329
67a67b95
UD
313302010-10-06 Ulrich Drepper <drepper@gmail.com>
31331
31332 * string/bug-strstr1.c: New file.
31333 * string/Makefile: Add rules to build and run bug-strstr1.
31334
5fb308bc
EB
313352010-10-05 Eric Blake <eblake@redhat.com>
31336
31337 [BZ #12092]
31338 * string/str-two-way.h (two_way_long_needle): Always clear memory
31339 when skipping input due to the shift table.
31340
45db99c7
UD
313412010-10-03 Ulrich Drepper <drepper@gmail.com>
31342
3b111893
UD
31343 [BZ #12005]
31344 * malloc/mcheck.c: Handle large requests.
31345
45db99c7
UD
31346 [BZ #12077]
31347 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31348 for strncmp and strncasecmp.
31349 * string/stratcliff.c: Add tests for strcmp and strncmp.
31350 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31351
cf7a1eb8
NI
313522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31353
31354 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31355 __set_fpscr.
31356
6484ba5e
AJ
313572010-09-30 Andreas Jaeger <aj@suse.de>
31358
31359 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31360 (CGROUP_SUPER_MAGIC): Define.
31361 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31362 Handle btrfs and cgroup file systems.
31363 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31364 Likewise.
31365
91c42559
LM
313662010-09-27 Luis Machado <luisgpm@br.ibm.com>
31367
31368 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31369 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31370
87a97932
AK
313712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31372
31373 [BZ #12067]
31374 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31375 trying to locate the ELF header.
31376
c21cc9bc
AS
313772010-09-27 Andreas Schwab <schwab@redhat.com>
31378
31379 [BZ #11611]
31380 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31381 Mask out sign-bit copies when constructing f_fsid.
31382
315970f6
PB
313832010-09-24 Petr Baudis <pasky@suse.cz>
31384
31385 * debug/stack_chk_fail_local.c: Add missing licence exception.
31386 * debug/warning-nop.c: Likewise.
31387
1ac7a2c7
JM
313882010-09-15 Joseph Myers <joseph@codesourcery.com>
31389
31390 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31391 implementing getdents64 using getdents syscall, set d_type if
31392 __ASSUME_GETDENTS32_D_TYPE.
31393
56801c50
AS
313942010-09-16 Andreas Schwab <schwab@redhat.com>
31395
31396 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31397 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31398
dda51327
UD
313992010-09-21 Ulrich Drepper <drepper@redhat.com>
31400
31401 [BZ #12037]
31402 * posix/unistd.h: Undo change of feature selection for ftruncate from
31403 2010-01-11.
31404
8ffcee4a
UD
314052010-09-20 Ulrich Drepper <drepper@redhat.com>
31406
a545ecd9 31407 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31408 detection.
31409
e24f0a8b
AS
314102010-09-20 Andreas Schwab <schwab@redhat.com>
31411
31412 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31413 fanotify_mark.
31414 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31415
7291c56f
AS
314162010-09-14 Andreas Schwab <schwab@redhat.com>
31417
31418 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31419 variables after CHECK_SP call.
31420 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31421
bc5fb037
AS
314222010-09-13 Andreas Schwab <schwab@redhat.com>
31423 Ulrich Drepper <drepper@redhat.com>
31424
31425 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31426 re-relocationg ld.so.
31427 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31428 _dl_init_paths call.
31429 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31430 here anymore.
31431
e66e7419
UD
314322010-09-14 Ulrich Drepper <drepper@redhat.com>
31433
31434 * resolv/res_init.c (__res_vinit): Count the default server we added.
31435
c044aa75
CLT
314362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31437 Ulrich Drepper <drepper@redhat.com>
31438
31439 [BZ #11968]
31440 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31441 (____longjmp_chk): Use %ebx for saving value across system call.
31442 Add unwind info.
31443
32cf4069
AS
314442010-09-06 Andreas Schwab <schwab@redhat.com>
31445
31446 * manual/Makefile: Don't mix pattern rules with normal rules.
31447
817328ee
AS
314482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31449
31450 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31451 operation.
31452 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31453 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31454 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31455 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31457 Likewise.
31458
29fddf61
UD
314592010-09-04 Ulrich Drepper <drepper@redhat.com>
31460
31461 [BZ #11979]
31462 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31463 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31464
0959ffc9
UD
314652010-09-02 Ulrich Drepper <drepper@redhat.com>
31466
31467 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31468 * sysdeps/x86_64/addmul_1.S: Likewise.
31469 * sysdeps/x86_64/lshift.S: Likewise.
31470 * sysdeps/x86_64/mul_1.S: Likewise.
31471 * sysdeps/x86_64/rshift.S: Likewise.
31472 * sysdeps/x86_64/sub_n.S: Likewise.
31473 * sysdeps/x86_64/submul_1.S: Likewise.
31474
ece29840
ST
314752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31476
0959ffc9
UD
31477 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31478 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31479 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31480 * bits/sched.h [__need_schedparam]
ece29840 31481 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31482 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31483 (__defined_schedparam): Define to 1.
ece29840
ST
31484 (__sched_param): New structure, identical to sched_param.
31485 (__need_schedparam): Undefine.
31486
e53a31fe
MF
314872010-08-31 Mike Frysinger <vapier@gentoo.org>
31488
fdc0c10d
MF
31489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31490 (epoll_create1): Declare.
31491
e53a31fe
MF
31492 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31493
a726d796
AS
314942010-08-31 Andreas Schwab <schwab@redhat.com>
31495
31496 [BZ #7066]
31497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31498 shifting retval into place.
31499
2f3e3dc7
UD
315002010-09-01 Ulrich Drepper <drepper@redhat.com>
31501
f2933da9
UD
31502 * nis/rpcsvc/nis.h: Update copyright notice.
31503 * nis/rpcsvc/nis.x: Likewise.
31504 * nis/rpcsvc/nis_callback.h: Likewise.
31505 * nis/rpcsvc/nis_callback.x: Likewise.
31506 * nis/rpcsvc/nis_object.x: Likewise.
31507 * nis/rpcsvc/nis_tags.h: Likewise.
31508 * nis/rpcsvc/yp.h: Likewise.
31509 * nis/rpcsvc/yp.x: Likewise.
31510 * nis/rpcsvc/ypupd.h: Likewise.
31511 * nis/yp_xdr.c: Likewise.
31512 * nis/ypupdate_xdr.c: Likewise.
31513
2f3e3dc7
UD
31514 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31515 mainly the body of pmap_getport. Add parameters to specify timeouts.
31516 (pmap_getport): Use __libc_rpc_getport.
31517 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31518 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31519 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31520
f3dcc2f9
AS
315212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31522
31523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31524 fanotify_mark.
31525
6d34eb5b
RM
315262010-08-27 Roland McGrath <roland@redhat.com>
31527
31528 * sysdeps/i386/i686/multiarch/Makefile
31529 (CFLAGS-varshift.c): New variable.
31530
9ea3de11
UD
315312010-08-27 Ulrich Drepper <drepper@redhat.com>
31532
c96d23fc
UD
31533 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31534 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31535
9ea3de11
UD
31536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31537
31538 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31539
623aac7f
L
315402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31541
31542 * sysdeps/x86_64/strlen.S: Unroll the loop.
31543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31544 strlen-sse2 strlen-sse2-bsf.
31545 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31546 __strlen_no_bsf if bit_Slow_BSF is set.
31547 (__strlen_sse42): Removed.
31548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31549 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31550
8b2b7715
RM
315512010-08-25 Roland McGrath <roland@redhat.com>
31552
31553 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31554 * sysdeps/x86_64/multiarch/varshift.c: New file.
31555 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31556 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31557 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31558 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31559
e73015f2
L
315602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31561
31562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31563 strlen-sse2 strlen-sse2-bsf.
31564 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31565 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31566 (__strlen_sse2): Removed.
31567 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31568 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31570 bit_Slow_BSF for Atom.
31571 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31572 (index_Slow_BSF): Define.
31573 (HAS_SLOW_BSF): Define.
31574
df24a73e
UD
315752010-08-25 Ulrich Drepper <drepper@redhat.com>
31576
31577 [BZ #10851]
31578 * resolv/res_init.c (__res_vinit): When no server address at all
31579 is given default to loopback.
31580
f2ac4868
RM
315812010-08-24 Roland McGrath <roland@redhat.com>
31582
09055553
RM
31583 * configure.in: Remove config-name.h generation.
31584 * configure: Regenerated.
31585 * config-name.in: File removed.
31586 * scripts/config-uname.sh: New file.
31587 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31588 ($(objdir)config-name.h): New target.
31589
f2ac4868
RM
31590 * sunrpc/rpc_parse.h: Avoid nested comment.
31591
73f27d5e
RH
315922010-08-24 Richard Henderson <rth@redhat.com>
31593 Ulrich Drepper <drepper@redhat.com>
31594 H.J. Lu <hongjiu.lu@intel.com>
31595
31596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31598 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31599 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31600 _mm_alignr_epi8 with _mm_loadu_si128.
31601 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31602 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31603 (__m128i_shift_right): Removed.
31604 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31605 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31606 * sysdeps/x86_64/multiarch/varshift.h: New file.
31607 * sysdeps/x86_64/multiarch/varshift.S: New file.
31608
84b9230c
MF
316092010-08-21 Mike Frysinger <vapier@gentoo.org>
31610
31611 * configure.in: Move assembler checks to before sysdep dir checking.
31612
9bbd0ddc
PB
316132010-08-20 Petr Baudis <pasky@suse.cz>
31614
31615 * LICENSES: Sync the sunrpc license.
31616
9da4bb31
UD
316172010-08-19 Ulrich Drepper <drepper@redhat.com>
31618
a7ab6ec8
UD
31619 * sunrpc/auth_des.c: Update copyright notice once again.
31620 * sunrpc/auth_none.c: Likewise.
31621 * sunrpc/auth_unix.c: Likewise.
31622 * sunrpc/authdes_prot.c: Likewise.
31623 * sunrpc/authuxprot.c: Likewise.
31624 * sunrpc/bindrsvprt.c: Likewise.
31625 * sunrpc/clnt_gen.c: Likewise.
31626 * sunrpc/clnt_perr.c: Likewise.
31627 * sunrpc/clnt_raw.c: Likewise.
31628 * sunrpc/clnt_simp.c: Likewise.
31629 * sunrpc/clnt_tcp.c: Likewise.
31630 * sunrpc/clnt_udp.c: Likewise.
31631 * sunrpc/clnt_unix.c: Likewise.
31632 * sunrpc/des_crypt.c: Likewise.
31633 * sunrpc/des_soft.c: Likewise.
31634 * sunrpc/get_myaddr.c: Likewise.
31635 * sunrpc/getrpcport.c: Likewise.
31636 * sunrpc/key_call.c: Likewise.
31637 * sunrpc/key_prot.c: Likewise.
31638 * sunrpc/openchild.c: Likewise.
31639 * sunrpc/pm_getmaps.c: Likewise.
31640 * sunrpc/pm_getport.c: Likewise.
31641 * sunrpc/pmap_clnt.c: Likewise.
31642 * sunrpc/pmap_prot.c: Likewise.
31643 * sunrpc/pmap_prot2.c: Likewise.
31644 * sunrpc/pmap_rmt.c: Likewise.
31645 * sunrpc/rpc/auth.h: Likewise.
31646 * sunrpc/rpc/auth_unix.h: Likewise.
31647 * sunrpc/rpc/clnt.h: Likewise.
31648 * sunrpc/rpc/des_crypt.h: Likewise.
31649 * sunrpc/rpc/key_prot.h: Likewise.
31650 * sunrpc/rpc/netdb.h: Likewise.
31651 * sunrpc/rpc/pmap_clnt.h: Likewise.
31652 * sunrpc/rpc/pmap_prot.h: Likewise.
31653 * sunrpc/rpc/pmap_rmt.h: Likewise.
31654 * sunrpc/rpc/rpc.h: Likewise.
31655 * sunrpc/rpc/rpc_des.h: Likewise.
31656 * sunrpc/rpc/rpc_msg.h: Likewise.
31657 * sunrpc/rpc/svc.h: Likewise.
31658 * sunrpc/rpc/svc_auth.h: Likewise.
31659 * sunrpc/rpc/types.h: Likewise.
31660 * sunrpc/rpc/xdr.h: Likewise.
31661 * sunrpc/rpc_clntout.c: Likewise.
31662 * sunrpc/rpc_cmsg.c: Likewise.
31663 * sunrpc/rpc_common.c: Likewise.
31664 * sunrpc/rpc_cout.c: Likewise.
31665 * sunrpc/rpc_dtable.c: Likewise.
31666 * sunrpc/rpc_hout.c: Likewise.
31667 * sunrpc/rpc_main.c: Likewise.
31668 * sunrpc/rpc_parse.c: Likewise.
31669 * sunrpc/rpc_parse.h: Likewise.
31670 * sunrpc/rpc_prot.c: Likewise.
31671 * sunrpc/rpc_sample.c: Likewise.
31672 * sunrpc/rpc_scan.c: Likewise.
31673 * sunrpc/rpc_scan.h: Likewise.
31674 * sunrpc/rpc_svcout.c: Likewise.
31675 * sunrpc/rpc_tblout.c: Likewise.
31676 * sunrpc/rpc_util.c: Likewise.
31677 * sunrpc/rpc_util.h: Likewise.
31678 * sunrpc/rpcinfo.c: Likewise.
31679 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31680 * sunrpc/rpcsvc/key_prot.x: Likewise.
31681 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31682 * sunrpc/rpcsvc/mount.x: Likewise.
31683 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31684 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31685 * sunrpc/rpcsvc/rex.x: Likewise.
31686 * sunrpc/rpcsvc/rstat.x: Likewise.
31687 * sunrpc/rpcsvc/rusers.x: Likewise.
31688 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31689 * sunrpc/rpcsvc/spray.x: Likewise.
31690 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31691 * sunrpc/rtime.c: Likewise.
31692 * sunrpc/svc.c: Likewise.
31693 * sunrpc/svc_auth.c: Likewise.
31694 * sunrpc/svc_authux.c: Likewise.
31695 * sunrpc/svc_raw.c: Likewise.
31696 * sunrpc/svc_run.c: Likewise.
31697 * sunrpc/svc_simple.c: Likewise.
31698 * sunrpc/svc_tcp.c: Likewise.
31699 * sunrpc/svc_udp.c: Likewise.
31700 * sunrpc/svc_unix.c: Likewise.
31701 * sunrpc/svcauth_des.c: Likewise.
31702 * sunrpc/xcrypt.c: Likewise.
31703 * sunrpc/xdr.c: Likewise.
31704 * sunrpc/xdr_array.c: Likewise.
31705 * sunrpc/xdr_float.c: Likewise.
31706 * sunrpc/xdr_mem.c: Likewise.
31707 * sunrpc/xdr_rec.c: Likewise.
31708 * sunrpc/xdr_ref.c: Likewise.
31709 * sunrpc/xdr_sizeof.c: Likewise.
31710 * sunrpc/xdr_stdio.c: Likewise.
31711
9da4bb31
UD
31712 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31713 handling.
31714
bdaa77bc
AS
317152010-08-19 Andreas Schwab <schwab@redhat.com>
31716
31717 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31718
fe2f79db
LM
317192010-08-19 Luis Machado <luisgpm@br.ibm.com>
31720
31721 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31722 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31724 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31725 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31726 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31727 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31728 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31729 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31730 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31731 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31732 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31733 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31734 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31735
b9b42ee0
AB
317362010-07-26 Anton Blanchard <anton@samba.org>
31737
31738 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31739 * malloc/arena.c (heap_trim): Likewise.
31740
1c06ba31
UD
317412010-08-16 Ulrich Drepper <drepper@redhat.com>
31742
31743 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31744 here. Not...
31745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31746 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31747
f8392f40
L
317482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31749
31750 * sysdeps/i386/elf/Makefile: New file.
31751
3162f12e
AS
317522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31753
31754 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31755 from fanotify_init.
31756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31758
28c90b2c
UD
317592010-08-15 Ulrich Drepper <drepper@redhat.com>
31760
31761 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31762 of strncasecmp_l.
1feccb6c 31763 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31764
ca6bb004
UD
317652010-08-14 Ulrich Drepper <drepper@redhat.com>
31766
e9f82e0d
UD
31767 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31768 strncase_l-nonascii.
31769 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31770 Add strncase_l-ssse3.
31771 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31772 * sysdeps/x86_64/strcmp.S: Likewise.
31773 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31774 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31775 * sysdeps/x86_64/strncase.S: New file.
31776 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31777 * sysdeps/x86_64/strncase_l.S: New file.
31778 * string/Makefile (strop-tests): Add strncasecmp.
31779 * string/test-strncasecmp.c: New file.
31780
31781 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31782 warning.
31783
ca6bb004
UD
31784 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31785 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31786
052fa7b3
AS
317872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31788
31789 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31790
962dba78
UD
317912010-08-12 Ulrich Drepper <drepper@redhat.com>
31792
31793 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31796
bebff237
AM
317972010-05-01 Alan Modra <amodra@gmail.com>
31798
31799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31800 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31801 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31802 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31803 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31804 tidying. Don't tail-call __sigjmp_save for static lib.
31805 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31806 save location.
31807 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31808 (CALL_MCOUNT): Add eh info, and nop after bl.
31809 (TAIL_CALL_SYSCALL_ERROR): New macro.
31810 (PSEUDO_RET): Use it.
31811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31812 Correct save location of integer regs and cr.
31813 (_dl_profile_resolve): Correct cr save location. Delete nops
31814 after bl when SHARED. Reduce cfi size a little by better
31815 placement of cfi directives.
31816 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31817 make a stack frame. Instead use parm save area as a temp.
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31819 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31821 Don't make a stack frame for parent, use parm save area.
31822 Increase child stack frame to 112 bytes. Don't save unused reg,
31823 and adjust reg usage. Set up cfi on error recovery and
31824 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31826 (__makecontext): Add dummy nop after jump to exit.
31827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31828 Use correct parm save area and cr save, reduce stack frame.
31829 Correct cfi for possible PSEUDO_RET frame setup.
31830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31831 Branch to local label emitted by PSEUDO_RET rather than
31832 __syscall_error.
31833
02637374
AS
318342010-08-12 Andreas Schwab <schwab@redhat.com>
31835
31836 [BZ #11904]
31837 * locale/programs/locale.c (print_assignment): New function.
31838 (show_locale_vars): Use it.
31839
c3e2f19b
UD
318402010-08-11 Ulrich Drepper <drepper@redhat.com>
31841
3cdaa6ad
UD
31842 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31843 field.
31844 (struct statfs64): Likewise.
31845 (_STATFS_F_FLAGS): Define.
31846 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31848 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31849 (ST_VALID): Define locally.
31850 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31851 __statvfs_getflags, use the provided value.
31852 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31853 __ASSUME_STATFS_F_FLAGS.
31854
754f7da3
UD
31855 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31856
10b3bedc
UD
31857 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31858 Add sys/fanotify.h.
31859 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31860 fanotify_mask for GLIBC_2.13.
31861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31862 fanotify_init and fanotify_mark.
31863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31864 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31865
c08fb0d7
UD
31866 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31867 Add prlimit.
31868 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31869 prlimit64 for GLIBC_2.13.
31870 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31871 prlimit64.
31872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31873 syscall.
31874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31875 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31876 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31877 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31879 add prlimit alias.
31880 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31881
15bac72b
UD
31882 [BZ #11903]
31883 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31884 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31885
c3e2f19b
UD
31886 * nss/Makefile: Add rules to build and run tst-nss-test1.
31887 * shlib-versions: Add entry for libnss_test1.
31888 * nss/nss_test1.c: New file.
31889 * nss/tst-nss-test1.c: New file.
31890
31891 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31892 (__nss_configure_lookup): Set appropriate entry in
31893 __nss_configure_lookup to true.
31894 * nss/nsswitch.h: Define enum with indeces of databases in
31895 databases and __nss_database_custom arrays. Declare
31896 __nss_database_custom.
31897 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31898 to avoid using nscd when custom rules are installed.
31899 * nss/getXXbyYY_r.c: Likewise.
31900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31901
31902 * nss/nss_files/files-parse.c: Whitespace fixes.
31903
f15ce4d8
UD
319042010-08-09 Ulrich Drepper <drepper@redhat.com>
31905
31906 [BZ #11883]
31907 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31908 * posix/fnmatch_loop.c: Likewise.
31909
d22e4cc9
AK
319102010-07-17 Andi Kleen <ak@linux.intel.com>
31911
31912 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31913 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31914 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31915 * Versions.def [GLIBC_2.13]: Add.
31916
805bc17d
UD
319172010-08-06 Ulrich Drepper <drepper@redhat.com>
31918
31919 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31920 Also fail if tpwd after pwuid call is NULL.
31921
5a42321d
ST
319222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31923
31924 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31925 when converting to ms.
31926
fd3ebeda
ST
319272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31928
31929 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31930 EOPNOTSUPP errors with ENOTTY.
31931 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31932 EOPNOTSUPP errors with ENOTTY.
31933
73507d3a
UD
319342010-07-31 Ulrich Drepper <drepper@redhat.com>
31935
31936 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31937 Add strcasecmp_l-ssse3.
31938 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31939 strcasecmp.
31940 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31941 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31942 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31943
fe36dd02
UD
319442010-07-30 Ulrich Drepper <drepper@redhat.com>
31945
66f6765a
UD
31946 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31947
42e08a54
UD
31948 * string/Makefile (strop-tests): Add strcasecmp.
31949 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31950 strcasecmp_l-nonascii.
31951 (gen-as-const-headers): Add locale-defines.sym.
31952 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31953 * sysdeps/x86_64/strcasecmp.S: New file.
31954 * sysdeps/x86_64/strcasecmp_l.S: New file.
31955 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31956 * sysdeps/x86_64/locale-defines.sym: New file.
31957 * string/test-strcasecmp.c: New file.
31958
fe36dd02
UD
31959 * string/test-strcasestr.c: Test both ends of the range of characters.
31960 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31961
48cbc0d6
RM
319622010-07-29 Roland McGrath <roland@redhat.com>
31963
76e6d6bc 31964 [BZ #11856]
48cbc0d6
RM
31965 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31966
880113d9
UD
319672010-07-27 Ulrich Drepper <drepper@redhat.com>
31968
31969 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31970 for ld.so.
31971
deb9cabb
AS
319722010-07-27 Andreas Schwab <schwab@redhat.com>
31973
31974 * manual/memory.texi (Malloc Tunable Parameters): Document
31975 M_PERTURB.
31976
1c7570ff
RM
319772010-07-26 Roland McGrath <roland@redhat.com>
31978
31979 [BZ #11840]
31980 * configure.in (-fgnu89-inline check): Set and substitute
31981 gnu89_inline, not libc_cv_gnu89_inline.
31982 * configure: Regenerated.
31983 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31984
24fb0f88
UD
319852010-07-26 Ulrich Drepper <drepper@redhat.com>
31986
31987 * string/test-strnlen.c: New file.
31988 * string/Makefile (strop-tests): Add strnlen.
31989 * string/tester.c (test_strnlen): Add a few more test cases.
31990 * string/tst-strlen.c: Better error reporting.
31991
31992 * sysdeps/x86_64/strnlen.S: New file.
31993
8e96b93a
UD
319942010-07-24 Ulrich Drepper <drepper@redhat.com>
31995
31996 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31997 lower-latency instructions.
31998
dbc676d4
UD
319992010-07-23 Ulrich Drepper <drepper@redhat.com>
32000
32001 * string/test-strcasestr.c: New file.
32002 * string/test-strstr.c: New file.
32003 * string/Makefile (strop-tests): Add strstr and strcasestr.
32004 * string/str-two-way.h: Don't undefine MAX.
32005 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32006
f6a31e0e
AS
320072010-07-21 Andreas Schwab <schwab@redhat.com>
32008
32009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32010 strcasestr-nonascii.
32011 (CFLAGS-strcasestr-nonascii.c): Define.
32012 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32013 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32014 Remove unused attribute.
32015
5dbc3b6c
RM
320162010-07-20 Roland McGrath <roland@redhat.com>
32017
32018 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32019 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32020 ld.so.cache was broken. With it, there is no way to disable dsocaps
32021 like LD_HWCAP_MASK can disable hwcaps.
32022
23d101d8
EPM
320232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32024
32025 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32026
cc9f2e47
UD
320272010-07-16 Ulrich Drepper <drepper@redhat.com>
32028
32029 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32030 call in strcasestr.
32031 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32032 __strcasestr_sse42_nonascii.
32033 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32034 strcasestr-nonascii.c.
32035 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32036
77c1b069
LM
320372010-06-15 Luis Machado <luisgpm@br.ibm.com>
32038
32039 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32040 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32042 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32043
440566c3
UD
320442010-07-09 Ulrich Drepper <drepper@redhat.com>
32045
32046 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32047 fcntl.
32048
5be9d05d
AS
320492010-07-06 Andreas Schwab <schwab@redhat.com>
32050
c30b7ee2 32051 [BZ #11577]
5be9d05d
AS
32052 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32053 dl_signal_cerror.
32054
8a492a67
UD
320552010-07-06 Ulrich Drepper <drepper@redhat.com>
32056
32057 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32058 _PC_PIPE_BUF using F_GETPIPE_SZ.
32059
713df3d5
RM
320602010-07-05 Roland McGrath <roland@redhat.com>
32061
32062 * manual/arith.texi (Rounding Functions): Fix rint description
32063 implicit in round description.
32064
702e8f14
UD
320652010-07-02 Ulrich Drepper <drepper@redhat.com>
32066
32067 * elf/Makefile: Fix linking for a few tests to make recent linker
32068 happy.
32069
52ed8be9
AS
320702010-06-30 Andreas Schwab <schwab@redhat.com>
32071
32072 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32073 $(common-objpfx)libc_nonshared.a.
32074
f47c9a11
LM
320752010-06-21 Luis Machado <luisgpm@br.ibm.com>
32076
32077 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32078 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32079 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32080 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32081 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32082 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32083 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32084 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32099 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32100 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32101 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32102 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32103 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32104 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32105 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32106 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32107 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32108 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32109 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32110 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32125
6fb8cbcb
L
321262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32129 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32130 * string/memmove.c (memmove): Renamed to ...
32131 (MEMMOVE): ...this. Default to memmove.
32132 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32133 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32134 (END_CHK): Define.
32135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32136 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32137 mempcpy-ssse3-back memmove-ssse3-back.
32138 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32139 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32140 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32141 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32142 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32143 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32144 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32145 * sysdeps/x86_64/multiarch/memmove.c: New file.
32146 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32147 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32148 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32149 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32150 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32151 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32152 Define.
32153 (index_Fast_Copy_Backward): Define.
32154 (HAS_ARCH_FEATURE): Define.
32155 (HAS_FAST_REP_STRING): Define.
32156 (HAS_FAST_COPY_BACKWARD): Define.
32157
4e733bac 321582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32159
32160 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32161 Restore proper fallback handling.
32162
63c4ed22
UD
321632010-06-19 Ulrich Drepper <drepper@redhat.com>
32164
ac2b484c
UD
32165 [BZ #11701]
32166 * posix/group_member.c (__group_member): Correct checking loop.
32167
63c4ed22
UD
32168 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32169 OOM in getpwuid_r correctly. Return error number when the caller
32170 should return, otherwise -1.
32171 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32172 call returning > 0 value.
32173 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32174
765ade4b
AS
321752010-06-07 Andreas Schwab <schwab@redhat.com>
32176
32177 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32178 libc_nonshared.a from targets in modules-names.
32179
80da2e09
KS
321802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32181
32182 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32183 requires it.
32184
158db122
LM
321852010-06-10 Luis Machado <luisgpm@br.ibm.com>
32186
32187 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32188 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32191
caa78cf8
AS
321922010-06-02 Andreas Schwab <schwab@redhat.com>
32193
32194 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32195
b2ef2c01
UD
321962010-06-14 Ulrich Drepper <drepper@redhat.com>
32197
32198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32199 and F_GETPIPE_SZ.
32200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32204 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32205 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32206
fbd643b6
RM
322072010-06-14 Roland McGrath <roland@redhat.com>
32208
32209 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32210
f32f2869
JJ
322112010-06-07 Jakub Jelinek <jakub@redhat.com>
32212
32213 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32214 __REDIRECT followed by __THROW.
32215 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32216 * posix/getopt.h (getopt): Likewise.
32217
2a50c078
EPM
322182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32219
32220 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32221 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32222 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32223 in AT_FLAGS.
32224 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32225 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32226
eb5ad2eb
LM
322272010-05-28 Luis Machado <luisgpm@br.ibm.com>
32228
32229 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32230
3c88fe1e
L
322312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32232
32233 [BZ #11640]
32234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32235 Properly check family and model.
32236
d2f73151
TY
322372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32238
32239 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32240
ebd2e13d
LM
322412010-05-24 Luis Machado <luisgpm@br.ibm.com>
32242
32243 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32244
b32b8b45
UD
322452010-05-21 Ulrich Drepper <drepper@redhat.com>
32246
32247 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32248 symbol reference.
32249
9acbe24d
AS
322502010-05-19 Andreas Schwab <schwab@redhat.com>
32251
32252 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32253 symbol reference.
32254
f0ccf6ea
AS
322552010-05-21 Andreas Schwab <schwab@redhat.com>
32256
3d04ff3a
AS
32257 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32258 and internal_recvmmsg.
32259 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32260 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32261 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32262 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32263
f0ccf6ea
AS
32264 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32265 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32266 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32267
5b08ac57
AS
322682010-05-20 Andreas Schwab <schwab@redhat.com>
32269
32270 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32271
4828935d
LM
322722010-05-17 Luis Machado <luisgpm@br.ibm.com>
32273
32274 POWER7 optimizations.
32275 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32276 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32277
373d545e
UD
322782010-05-19 Ulrich Drepper <drepper@redhat.com>
32279
32280 * version.h: Update for 2.13 development version.
32281
21a2b1ae
AS
322822010-05-12 Andrew Stubbs <ams@codesourcery.com>
32283
32284 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32285 exceptions. Return 0.
32286
3f7dcb2b
RM
322872010-05-07 Roland McGrath <roland@redhat.com>
32288
32289 * elf/ldconfig.c (main): Add a const.
32290
5f24d53a 322912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32292
a160f8d8
UD
32293 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32294 (args_options): Add no-idn option.
32295 (ahosts_keys_int): Add idn_flags to ai_flags.
32296 (parse_option): Handle 'i' option to clear idn_flags.
32297
5f24d53a
UD
32298 * malloc/malloc.c (_int_free): Possible race in the most recently
32299 added check. Only act on the data if no current modification
32300 happened.
265bb1ce
UD
32301
32302See ChangeLog.17 for earlier changes.