]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unused sysdeps/unix/sysv/i386/time.S.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
097d59fa
JM
12012-04-20 Joseph Myers <joseph@codesourcery.com>
2
aa746595
JM
3 * sysdeps/unix/sysv/i386/time.S: Remove file.
4
cce5905e
JM
5 * sysdeps/unix/fxstat.c: Remove file.
6 * sysdeps/unix/xstat.c: Likewise.
7 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8
37fa3841
JM
9 * sysdeps/unix/sysv/sigaction.c: Remove file.
10
ff1962a3
JM
11 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12 (sysdep_headers): Remove variable.
13 [termio.h not in sysdep_headers] (generated): Likewise.
14 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17 * sysdeps/unix/sysv/tcflow.c: Likewise.
18 * sysdeps/unix/sysv/tcflush.c: Likewise.
19 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24
e7740d31
JM
25 * sysdeps/unix/siglist.c: Remove file.
26
ee06f18b
JM
27 * sysdeps/unix/getppid.S: Remove file.
28
097d59fa
JM
29 * sysdeps/unix/mkdir.c: Remove file.
30 * sysdeps/unix/rmdir.c: Likewise.
31
ff3d51ec
AS
322012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33
34 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35 ERR_MAX value.
36 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37 errlist-compat value.
38
50f81fd7
DM
392012-04-18 David S. Miller <davem@davemloft.net>
40
41 * sysdeps/generic/memcopy.h (reg_char): Delete.
42 * debug/strcat_chk.c: Use char, not reg_char.
43 * debug/strcpy_chk.c: Likewise.
44 * debug/strncat_chk.c: Likewise.
45 * debug/strncpy_chk.c: Likewise.
46 * string/memchr.c: Likewise.
47 * string/memrchr.c: Likewise.
48 * string/rawmemchr.c: Likewise.
49 * string/strcat.c: Likewise.
50 * string/strchr.c: Likewise.
51 * string/strchrnul.c: Likewise.
52 * string/strcmp.c: Likewise.
53 * string/strcpy.c: Likewise.
54 * string/strncat.c: Likewise.
55 * string/strncmp.c: Likewise.
56 * string/strncpy.c: Likewise.
57
8ff41c46
WS
582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
59
60 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61 __builtin_memcopy is called when src and dest ranges are known to not
62 overlap.
63
6b652f46
WS
642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65
66 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68 fwd_align_merge macro call.
69 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70 bwd_align_merge macro call.
71 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72
b282631e
WS
732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74
75 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76 bwd_align_merge macros.
77 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80
95aa737c
DM
812012-04-18 David S. Miller <davem@davemloft.net>
82
83 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84
7a99a614
AJ
852012-04-18 Andreas Jaeger <aj@suse.de>
86
87 [BZ# 6794]
88 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
89 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
90 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
91
92 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
93 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
94 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
95
96 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
97 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
98 Adjust for changed ldbl-128 files.
99
100 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
101 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
102 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
103
e5270c23
DM
1042012-04-17 David S. Miller <davem@davemloft.net>
105
106 * sysdeps/sparc/sparc32/memcopy.h: Delete.
107
fb5e92c9
AS
1082012-04-17 Andreas Schwab <schwab@linux-m68k.org>
109
110 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
111 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
112 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
113 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
114 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
115 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
116
76da7265
AZ
1172012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
118
119 [BZ #6794]
120 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
121 * math/libm-test.inc: Add ilogb errno and exception tests.
122 * math/w_ilogb.c: New file: ilogb wrapper.
123 * math/w_ilogbf.c: New file: ilogbf wrapper.
124 * math/w_ilogbl.c: New file: ilogbl wrapper.
125 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
126 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
127 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
128 exception being thrown with 0.0 as argument.
129 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
130 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
131 exception being thrown with 0.0 as argument.
132 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
133 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
134 exception being thrown with 0.0 as argument.
135 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
136 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
137 exception being thrown with 0.0 as argument.
138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
139 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
141 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
142 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
143 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
144 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
145 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
146 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
147
0396e69d
PB
1482012-04-17 Petr Baudis <pasky@ucw.cz>
149
150 * include/sys/uio.h: Change __vector to __iovec to avoid clash
151 with altivec.
152
750b5926
MP
1532012-04-16 Marek Polacek <polacek@redhat.com>
154
155 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
156
751728a1
MP
1572012-04-16 Marek Polacek <polacek@redhat.com>
158
159 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
160 operands of fdivp instruction.
161
34a27407
L
1622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
163
164 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
165 * elf/tst-auditmod3b.c: Likewise.
166 * elf/tst-auditmod4b.c: Likewise.
167 * elf/tst-auditmod5b.c: Likewise.
168 * elf/tst-auditmod6b.c: Likewise.
169 * elf/tst-auditmod6c.c: Likewise.
170 * elf/tst-auditmod7b.c: Likewise.
171 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
172 * sysdeps/x86_64/preconfigure.in: Likewise.
173 * sysdeps/x86_64/preconfigure: Regenerated.
174
7e73e17d
L
1752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
176
177 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
178 __ILP32__.
179
c7a6ab72
AB
1802012-04-13 Antoine Balestrat <merkil33@gmail.com>
181
182 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
183 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
184
a9e8e0e0
CL
1852012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
186
187 [BZ #13973]
188 * locale/iso-639.def: Fix gl language name. Spotted by
189 Yaron Shahrabani.
190
ec98af7d
RM
1912012-04-12 Roland McGrath <roland@hack.frob.com>
192
193 [BZ #2074]
194 * libio/libio.h (__io_write_fn): Update comment.
195
247c3ede
PB
1962012-04-12 Petr Baudis <pasky@ucw.cz>
197
198 [BZ #2074]
199 * stdio.texi (Hook Functions): The user provided writer function
200 is not allowed to return -1.
201
55939d6d
DM
2022012-04-11 David S. Miller <davem@davemloft.net>
203
204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
205
90020f5a
MF
2062012-04-11 Mike Frysinger <vapier@gentoo.org>
207
208 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
209 Add a leading slash to rtkaio.
210
288f9098
JM
2112012-04-11 Jim Meyering <meyering@redhat.com>
212
90020f5a
MF
213 [BZ #11959]
214 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
215 It is not necessarily an error to ignore fwrite's return
216 value. One can reliably use ferror to test for errors after
217 the fact.
288f9098 218
4be2b570
L
2192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
220
221 * bits/types.h (__snseconds_t): New type.
222 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
223
224 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
226 (__SNSECONDS_T_TYPE): Likewise.
227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
228 (__SNSECONDS_T_TYPE): Likewise.
229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
230 (__SNSECONDS_T_TYPE): Likewise.
231
288f9098 2322012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
233
234 [BZ #2636]
235 * manual/time.texi (Processor Time): Return type of times is
236 elapsed real time since an arbitrary point in the past.
237 (CPU Time): Move CLK_TCK from here...
238 (Processor Time): ...to here. Correct description.
239 * manual/conf.texi (Constants for Sysconf): Correct description of
240 _SC_CLK_TCK.
241
d7dd4413
DM
2422012-04-10 David S. Miller <davem@davemloft.net>
243
244 [BZ #13967]
245 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
246 where the is a gap between DT_REL(A) and DT_JMPREL.
247
b46068fc
L
2482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
249
250 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
251 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
252 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
253
73d65cc3
SP
2542012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
255
256 * elf/dl-support.c (_dl_inhibit_cache): New variable.
257 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
258 (dl_main): Handle --inhibit-cache.
259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
260 _dl_inhibit_cache.
261 * elf/dl-load.c (_dl_map_object): Use it.
262 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
263
bcc8d661
JM
2642012-04-09 Joseph Myers <joseph@codesourcery.com>
265
8f9a2fae
JM
266 [BZ #13872]
267 * sysdeps/i386/fpu/e_powl.S (p78): New object.
268 (__ieee754_powl): Saturate large exponents rather than testing for
269 overflow of y*log2(x).
270 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
271 * math/libm-test.inc (pow_test): Do not permit spurious overflow
272 exceptions.
273
bcc8d661
JM
274 [BZ #11521]
275 * math/s_ctan.c: Include <float.h>.
276 (__ctan): Avoid internal overflow or cancellation in calculating
277 denominator.
278 * math/s_ctanf.c: Likewise.
279 * math/s_ctanl.c: Likewise.
280 * math/s_ctanh.c: Likewise.
281 * math/s_ctanhf.c: Likewise.
282 * math/s_ctanhl.c: Likewise.
283 * math/libm-test.inc (ctan_test): Add more tests.
284 (ctanh_test): Likewise.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
823fbbb4
AJ
2882012-04-09 Andreas Jaeger <aj@suse.de>
289
03879793
AJ
290 [BZ #6894]
291 * manual/filesys.texi (Directory Entries): Mention that d_namlen
292 is an optional BSD extension.
293
823fbbb4
AJ
294 [BZ #10254]
295 * manual/stdio.texi (Opening Streams): Document additional fopen
296 parameters.
297
8de131cb
RM
2982012-04-09 Roland McGrath <roland@hack.frob.com>
299
300 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
301 %eax without telling the compiler.
302
c0ed9d7d
CD
3032012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
304
305 [BZ # 13963]
306 * manual/install.texi: Use sourceware.org.
307
c483f6b4
JM
3082012-04-09 Joseph Myers <joseph@codesourcery.com>
309
d7dd9453
JM
310 [BZ #13873]
311 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
312 (__ieee754_pow): Generate overflow and underflow using huge*huge
313 and tiny*tiny rather than just returning constant infinity or zero
314 for large exponents.
315 * math/libm-test.inc (pow_test): Require overflow exceptions for
316 applicable cases of large exponents.
317
c483f6b4
JM
318 [BZ #706]
319 * sysdeps/i386/fpu/e_pow.S (p10): New object.
320 (__ieee754_pow): Use iterative multiplication algorithm only for
321 integer exponents with absolute value below 1024. Check for odd
322 integer exponents when using algorithm for real exponents.
323 * math/libm-test.inc (pow_test): Add more tests.
324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
325
d2de7579
JM
3262012-04-08 Joseph Myers <joseph@codesourcery.com>
327
328 [BZ #13705]
329 * math/libm-test.inc (exp_test): Do not allow overflow exception
330 on underflow test.
331
f77f1232
AJ
3322012-04-08 Aurelien Jarno <aurelien@aurel32.net>
333
334 [BZ #13705]
335 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
336 instead of __kernel_standard_f.
337
3884932b
MF
3382012-04-08 Mike Frysinger <vapier@gentoo.org>
339
340 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
341 * sysdeps/x86_64/memset_chk.S: Likewise.
342
54472e9c
AJ
3432012-04-08 Andreas Jaeger <aj@suse.de>
344
6ab0fbfc
AJ
345 [BZ #10153]
346 * manual/startup.texi (Environment Access): Describe return value
347 for putenv and setenv.
348
61efba8c
AJ
349 [BZ #6895]
350 * manual/filesys.texi (Directory Entries): Add description for
351 DT_LNK.
352
95c3f29a
AJ
353 [BZ #6890]
354 * manual/filesys.texi (Directory Entries): Clarify that it's file
355 system not operating system in the description of DT_UNKNOWN.
356
54472e9c
AJ
357 [BZ #6578]
358 * manual/syslog.texi (closelog): Fix reference, it's openlog.
359
624254b1
SC
3602012-04-08 Stephen Compall <s11@member.fsf.org>
361
362 [BZ #6649]
363 * manual/llio.texi (Opening and Closing Files): Add cross
364 reference to explain mode argument.
365
1e4920e0
MF
3662012-04-07 Mike Frysinger <vapier@gentoo.org>
367
368 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
369 * sysdeps/x86_64/memset_chk.S: Likewise.
370
5ed848f3
DM
3712012-04-07 David S. Miller <davem@davemloft.net>
372
373 * elf/elf.h (R_SPARC_WDISP10): Define.
374 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
375 R_SPARC_SIZE32.
376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
377 R_SPARC_SIZE64 and R_SPARC_H34.
378
96154cd8
CD
3792012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
380
381 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
382 conditions and remove no longer applicable assertion.
383
9904dc47
L
3842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
385
386 * bits/byteswap.h: Include <features.h>.
387 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
388 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
389
f8887d0a
L
3902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
391
392 * bits/byteswap.h (__bswap_16): Removed.
393 Include <bits/byteswap-16.h> to get __bswap_16.
394 * sysdeps/i386/bits/byteswap.h: Likewise.
395 * sysdeps/s390/bits/byteswap.h: Likewise.
396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
397 * bits/byteswap-16.h: New file.
398 * sysdeps/i386/bits/byteswap-16.h: Likewise.
399 * sysdeps/s390/bits/byteswap-16.h: Likewise.
400 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
401 * string/Makefile (headers): Add bits/byteswap-16.h.
402
62470f60
PP
4032012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
404
405 [BZ #13895]
406 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
407 extra indirection.
408 * nss/Makefile (tests-static, tests): Add tst-nss-static.
409 * nss/tst-nss-static.c: New.
410
4dad7bab
RM
4112012-04-06 Robert Millan <rmh@gnu.org>
412
413 [BZ #6486]
414 * manual/llio.texi (File Position Primitive): lseek
415 refers to WHENCE when it really means OFFSET.
416
e9142a17
AJ
4172012-04-06 Andreas Jaeger <aj@suse.de>
418
2c040eff
AJ
419 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
420 strncmp declarations.
421
e9142a17
AJ
422 * abilist/libc.abilist: Add __poll and __ppoll.
423
ff9f1c5f
DM
4242012-04-05 David S. Miller <davem@davemloft.net>
425
dcd2ae90
DM
426 * scripts/check-local-headers.sh: Accept a host triplet in the
427 path matched by the exclude regexp.
428
993eb054
DM
429 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
430 definition.
431 * sysdeps/powerpc/powerpc32/dl-machine.h
432 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
433 * sysdeps/s390/s390-32/dl-machine.h
434 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
435 * sysdeps/sparc/sparc32/dl-machine.h
436 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
437 * sysdeps/sparc/sparc64/dl-machine.h
438 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
439
ff9f1c5f
DM
440 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
441 lazy binding.
48e2e132 442 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
443 undefined symbol errors.
444
48e2e132 445 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
446 DT_NEEDED entries.
447
e80d6f94
MM
4482012-04-05 Michael Matz <matz@suse.de>
449
450 [BZ #13592]
451 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
452
349fa79f
AJ
4532012-04-05 Andreas Jaeger <aj@suse.de>
454
455 [BZ #13908]
456 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
457 comment.
458
f402708f
KK
4592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
460
461 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
462 which ROUND is no valid rounding mode.
463
2ecccfc9
KK
4642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
465
466 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
467 read again.
468 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
469
8a53f50f
KK
4702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
471
472 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
473 an exception using FPU order intentionally.
474
4752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
476
477 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
478 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
479 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
480 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
481
d653abb7
SJ
4822012-04-05 Simon Josefsson <simon@josefsson.org>
483
484 [BZ #12340]
485 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
486 EINVAL when BUFLEN is too smal.
487
c3b1bf7d
TS
4882012-04-05 Thomas Schwinge <thomas@codesourcery.com>
489
490 [BZ #13553]
491 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
492 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
493
b1aa60f3
AJ
4942012-04-03 Andreas Jaeger <aj@suse.de>
495
c3b1bf7d 496 [BZ #13938]
67f60a26
AJ
497 * manual/setjmp.texi (System V contexts): Fix sentence.
498
b1aa60f3
AJ
499 [BZ #13926]
500 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
501 New macro for this case.
502 [!__GNUC__] (__bswap_64): New inline function for this case.
503 * sysdeps/x86_64/bits/byteswap.h: Likewise.
504 * bits/byteswap.h: Likewise.
505 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
506 ull, guard with __GLIBC_HAVE_LONG_LONG.
507
508 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
509 __GLIBC_HAVE_LONG_LONG.
510
511 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
512 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
513
39c59c35
TMQMF
5142012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
515
516 [BZ #13691]
517 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
518 inptr and inend, rather than using last_ch.
519
135ffda8
DM
5202012-04-02 David S. Miller <davem@davemloft.net>
521
522 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
523 * stdio-common/printf-parse.h (read_int): Change return type to
524 'int', return -1 on INT_MAX overflow.
525 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
526 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
527 overflows INT_MAX. Check for overflow of in-format-string precision
528 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
529 SIZE_MAX not INT_MAX for integer overflow test.
530 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
531 skip the construct in the format string but do not record anything.
532 * stdio-common/bug22.c: Adjust to test both width/prevision
533 INT_MAX overflow as well as total length INT_MAX overflow. Check
534 explicitly for proper errno values.
535
228c019e
TS
5362012-04-02 Thomas Schwinge <thomas@codesourcery.com>
537
302cadd3
TS
538 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
539 CHAR_MAX.
540 * string/test-strcmp.c [! WIDE]: Likewise.
541 * time/tst-mktime2.c: Likewise for INT_MAX.
542 * string/test-string.h: #include <sys/param.h> for MIN.
543
228c019e
TS
544 * csu/init-first.c (__libc_init_first): Call __ctype_init.
545 * sysdeps/i386/init-first.c (init): Likewise.
546 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
547 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
548 * sysdeps/sh/init-first.c (init): Likewise.
549
cfa633f5
UD
5502012-04-01 Ulrich Drepper <drepper@gmail.com>
551
552 * po/ru.po: Update from translation team.
d1635ef8 553 * po/vi.po: Likewise.
cfa633f5 554
6cd0a5ea
SP
5552012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
556
557 * resolv/nss_dns/dns-host.c: Merge copyright years.
558
4b43400f
LD
5592012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
560
561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
562 Optimize memcpy with prefetch if
563 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
564 src, dst pointers have unequal 16 byte alignments.
565
48c41d04
SP
5662012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
567
568 [BZ #13928]
569 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
570 from a CNAME entry and return the minimum ttl for the query.
571 (gaih_getanswer_slice): Likewise.
572
b8dc394d
JL
5732012-03-30 Jeff Law <law@redhat.com>
574
575 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
576 due to long keys.
577 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
578 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
579
2f5a5ed0
JL
580 * resolv/nss_dns/dns-host.c: Update copyright year.
581
1d39e359
UD
5822012-03-30 Ulrich Drepper <drepper@gmail.com>
583
c030f70c 584 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 585 requests to save a system call. Fix check that all bytes are sent.
c030f70c 586
1d39e359
UD
587 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
588 comments for sendmmsg.
589
5902012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
591
592 [BZ #13691]
593 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
594 with only 1 character between 0x0041 and 0x01b0.
595 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
596 * wcsmbs/tst-mbsnrtowcs.c: New file.
597
20fde227
DM
5982012-03-29 David S. Miller <davem@davemloft.net>
599
600 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
601 small copies by hand.
602
984a4237
JL
6032012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
604
605 [BZ #13761]
606 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
607 _nss_compat_initgroups_dyn): Fall back to malloc/free
608 for large group memberships.
609
18c9d62b
DM
6102012-03-28 David S. Miller <davem@davemloft.net>
611
88d85d4f
DM
612 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
613 that branches into memcpy.
614 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
615 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
617 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
619 bits.
620 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
621 implementation too.
622 * sysdeps/sparc/mempcpy.S: New file.
623
e5aa83e1
DM
624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
625 the IFUNC routine in the libc case.
626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
627
88570753
DM
628 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
629 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
630 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
631 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
632 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
633 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
634 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
635 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
636
249d7567
DM
637 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
638 loop to 256 bytes instead of 64 bytes and fix test signedness.
639
18c9d62b
DM
640 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
641 * sysdeps/sparc/sparc32/Makefile: rather than here...
642 * sysdeps/sparc/sparc64/Makefile: and here.
643
05f3d1f6
UD
6442012-03-28 Ulrich Drepper <drepper@gmail.com>
645
646 * malloc/mallocbug.c: Avoid warnings about unused variables.
647
86ae07a8
JL
6482012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
649
650 [BZ #13760]
651 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
652 in the right place. Discard and retry query if response is
653 larger than input buffer size.
654
41bf21a1
JM
6552012-03-28 Joseph Myers <joseph@codesourcery.com>
656
d6270972
JM
657 [BZ #369]
658 [BZ #2678]
659 [BZ #3866]
660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
661 x for large integer exponent.
662 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
663 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
664 sign of result as needed afterwards.
665 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
666 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
667 result for underflowing pow the same as for overflow.
668 (__kernel_standard_l): Handle powl overflow and underflow here
669 rather than calling __kernel_standard.
670 * math/libm-test.inc (pow_test): Add more tests.
671
414fca03 672 [BZ #3868]
41bf21a1
JM
673 [BZ #13879]
674 [BZ #13910]
675 [BZ #13911]
676 [BZ #13912]
677 [BZ #13913]
678 [BZ #13915]
679 [BZ #13916]
680 [BZ #13917]
681 [BZ #13918]
682 [BZ #13919]
683 [BZ #13920]
684 [BZ #13921]
685 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
686 * sysdeps/ieee754/k_standard.c: Include <float.h>.
687 (__kernel_standard_l): New function.
688 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
689 __kernel_standard.
690 * math/w_acosl.c (__acosl): Likewise.
691 * math/w_asinl.c (__asinl): Likewise.
692 * math/w_atan2l.c (__atan2l): Likewise.
693 * math/w_atanhl.c (__atanhl): Likewise.
694 * math/w_coshl.c (__coshl): Likewise.
695 * math/w_exp10l.c (__exp10l): Likewise.
696 * math/w_exp2l.c (__exp2l): Likewise.
697 * math/w_fmodl.c (__fmodl): Likewise.
698 * math/w_hypotl.c (__hypotl): Likewise.
699 * math/w_j0l.c (__j0l, __y0l): Likewise.
700 * math/w_j1l.c (__j1l, __y1l): Likewise.
701 * math/w_jnl.c (__jnl, __ynl): Likewise.
702 * math/w_lgammal.c (__lgammal): Likewise.
703 * math/w_log10l.c (__log10l): Likewise.
704 * math/w_log2l.c (__log2l): Likewise.
705 * math/w_logl.c (__logl): Likewise.
706 * math/w_powl.c (__powl): Likewise.
707 * math/w_remainderl.c (__remainderl): Likewise.
708 * math/w_scalbl.c (sysv_scalbl): Likewise.
709 * math/w_sinhl.c (__sinhl): Likewise.
710 * math/w_sqrtl.c (__sqrtl): Likewise.
711 * math/w_tgammal.c (__tgammal): Likewise.
712 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
713 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
714 * math/libm-test.inc (acos_test): Add more tests.
715 (acosh_test): Likewise.
716 (asin_test): Likewise.
717 (atanh_test): Likewise.
718 (exp_test): Likewise.
719 (exp10_test): Likewise.
720 (exp2_test): Likewise.
721 (expm1_test): Likewise.
722 (lgamma_test): Likewise.
723 (log_test): Likewise.
724 (log10_test): Likewise.
725 (log1p_test): Likewise.
726 (log2_test): Likewise.
727 (pow_test): Do not allow some spurious overflow exceptions.
728 (sqrt_test): Add more tests.
729 (tgamma_test): Likewise.
730 (y0_test): Likewise.
731 (y1_test): Likewise.
732 (yn_test): Likewise.
733
dd62fda6
AB
7342012-03-27 Anton Blanchard <anton@samba.org>
735
736 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
737 MAP_HUGETLB.
738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
741
1e3cdfda
AJ
7422012-03-27 David S. Miller <davem@davemloft.net>
743
b855ab85
DM
744 * conform/Makefile: Run run-conformtest.sh using $(BASH).
745
1e3cdfda
AJ
746 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
747 have-as-vis3 check.
748
7492012-03-27 Andreas Jaeger <aj@suse.de>
750
751 * sysdeps/x86_64/elf/configure.in: Moved to ...
752 * sysdeps/x86_64/configure.in: ... here.
753 * sysdeps/x86_64/elf/start.S: Moved to ...
754 * sysdeps/x86_64/start.S: ... here.
755 * sysdeps/x86_64/elf/configure: Delete.
756
757 * sysdeps/x86_64/configure.in: Merge contents from
758 sysdeps/i386/configure.in (without i686 check).
759
760 * sysdeps/i386/elf/Versions: Merge into ...
761 * sysdeps/i386/Versions: ... this.
762 * sysdeps/i386/elf/Versions: Delete file.
763 * sysdeps/i386/elf/start.S: Moved to ...
764 * sysdeps/i386/start.S: ...here.
765 * sysdeps/i386/elf/configure.in: Merge into...
766 * sysdeps/i386/configure.in: ...here.
767 * sysdeps/i386/elf/configure.in: Delete file.
768 * sysdeps/i386/elf/configure: Delete file.
769
770 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
771 * debug/backtracesyms.c: ... here.
772 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
773 * debug/backtracesymsfd.c: ... here.
774 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
775 * sysdeps/generic/ifunc-sel.h: ... here.
776
777 * sysdeps/unix/i386/start.c: Delete file.
778 * sysdeps/unix/sparc/start.c: Delete file.
779 * sysdeps/unix/start.c: Delete file.
780
781 * sysdeps/sh/elf/configure.in: Moved to ...
782 * sysdeps/sh/configure.in: ... here.
783 * sysdeps/sh/elf/start.S: Moved to ...
784 * sysdeps/sh/start.S: ... here.
785 * sysdeps/sh/elf/configure: Delete file.
786
787 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
788 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
789 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
790 * sysdeps/powerpc/powerpc64/entry.h: ... here.
791 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
792 * sysdeps/powerpc/powerpc64/start.S: here.
793 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
794 * sysdeps/powerpc/powerpc64/Makefile: ... this.
795 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
796 * sysdeps/powerpc/powerpc64/configure.in: ... this.
797 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
798
799 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
800 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
801 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
802 * sysdeps/powerpc/powerpc32/start.S: ... here.
803 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
804 * sysdeps/powerpc/powerpc32/configure.in: ... this.
805 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
806
807 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
808 * sysdeps/powerpc/ifunc-sel.h: ... here.
809 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
810 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
811
812 * sysdeps/sparc/elf/configure.in: Moved to ...
813 * sysdeps/sparc/configure.in: ... here.
814 * sysdeps/sparc/elf/configure: Delete file.
815 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
816 * sysdeps/sparc/sparc32/start.S: ... here.
817 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
818 * sysdeps/sparc/sparc64/start.S: ... here.
819 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
820 * sysdeps/sparc/sparc32/Makefile: ... this.
821 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
822 * sysdeps/sparc/sparc64/Makefile: ... this.
823
824 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
825 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
826 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
827 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
828 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
829 * sysdeps/s390/s390-32/setjmp.S: ... here.
830 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
831 * sysdeps/s390/s390-32/configure.in: ... here.
832 * sysdeps/s390/s390-32/elf/configure: Delete file.
833 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
834 * sysdeps/s390/s390-32/start.S: ... here.
835
836 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
837 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
838 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
839 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
840 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
841 * sysdeps/s390/s390-64/setjmp.S: ... here.
842 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
843 * sysdeps/s390/s390-64/configure.in: ... here
844 * sysdeps/s390/s390-64/elf/configure: Delete file.
845 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
846 * sysdeps/s390/s390-64/start.S: ... here.
847 * sysdeps/s390/s390-64/elf/configure: Delete.
848
849 * configure.in: Remove support for elf directories in sysdeps.
850
851 * configure: Regenerated.
852 * sysdeps/i386/configure: Regenerated.
853 * sysdeps/powerpc/powerpc32/configure: Regenerated.
854 * sysdeps/powerpc/powerpc64/configure: Regenerated.
855 * sysdeps/s390/s390-32/configure: Regenerated.
856 * sysdeps/s390/s390-64/configure: Regenerated.
857 * sysdeps/sh/configure: Regenerated.
858 * sysdeps/sparc/configure: Regenerated.
859 * sysdeps/x86_64/configure: Regenerated.
860
a3f61311
AS
8612012-03-26 Andreas Schwab <schwab@linux-m68k.org>
862
c876e002
AS
863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
864
a3f61311
AS
865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
866 denormal result into account.
867
ac4c54f0
RM
8682012-03-25 Roland McGrath <roland@hack.frob.com>
869
870 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
871 Reported by Allan McRae <allan@archlinux.org>.
872
6a9b9c02
JL
8732012-03-23 Jeff Law <law@redhat.com>
874
875 * nss/getnssent.c (__nss_getent): Fix typo.
876
4c42a0c1
DM
8772012-03-23 David S. Miller <davem@davemloft.net>
878
879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
880
1532c7ac
L
8812012-03-23 H.J. Lu <hongjiu.lu@intel.com>
882
883 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
884 to pad to uint64_t for each field.
885 (dl_tls_index): Replace unsigned long with uint64_t.
886
3ff42526
PP
8872012-03-23 Daniel Jacobowitz <dmj@google.com>
888 Paul Pluzhnikov <ppluzhnikov@google.com>
889
890 [BZ #6528]
891 * grp/Makefile (otherlibs): Don't set it.
892 * inet/Makefile (otherlibs): Likewise.
893 * login/Makefile (otherlibs): Likewise.
894 * nscd/Makefile (otherlibs): Likewise.
895 * posix/Makefile (otherlibs): Likewise.
896 * pwd/Makefile (otherlibs): Likewise.
897 * rt/Makefile (otherlibs): Likewise.
898 * sunrpc/Makefile (otherlibs): Likewise.
899 * nss/Makefile (otherlibs): Likewise.
900 Add libnss_files to routines and static-only-routines.
901 ($(objpfx)getent): Remove rule.
902 * resolv/Makefile: Add libnss_dns and libresolv to routines and
903 static-only-routines.
904
7c69cd14
JM
9052012-03-22 Joseph Myers <joseph@codesourcery.com>
906
907 [BZ #13892]
908 * math/s_cexp.c: Include <float.h>.
909 (__cexp): Handle exp result overflowing not necessarily
910 overflowing both real and imaginary parts of result.
911 * math/s_cexpf.c: Likewise.
912 * math/s_cexpl.c: Likewise.
913 * math/libm-test.inc (cexp_test): Add more tests.
914 * sysdeps/i386/fpu/libm-test-ulps: Update.
915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
916
81b035fe
L
9172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
918
919 * include/link.h (ELFW): New macro.
920 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
921 Replace ELF64_R_TYPE with ELFW(R_TYPE).
922
1da7940c
L
9232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
924
925 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
926 with uint64_t.
927
b749dbb9
L
9282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
929
930 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
931 declaration.
932 (struct La_x32_retval): Likewise.
933
2ff87f3f
L
9342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
935
936 * sysdeps/x86_64/preconfigure.in: New file.
937 * sysdeps/x86_64/preconfigure: New generated file.
938
c0df8e69
JM
9392012-03-22 Joseph Myers <joseph@codesourcery.com>
940
48e44791
JM
941 [BZ #13824]
942 * math/e_exp2l.c: Include <float.h>.
943 (__ieee754_exp2l): Handle overflow and underflow cases
944 separately. Only pass fractional part of argument to
945 __ieee754_expl.
946 * math/libm-test.inc (exp2_test): Add more tests.
947
c0df8e69
JM
948 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
949 negating x to take absolute value.
950 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
951 Likewise.
952 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
953 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
954 Likewise.
955 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
956 computing low part if x was negated.
957 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
958
c8e43ba7
L
9592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
960
961 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
962 la_x32_gnu_pltexit.
963 (pltexit): Cast int_retval to ptrdiff_t.
964 * elf/tst-auditmod3b.c: Likewise.
965 * elf/tst-auditmod4b.c: Likewise.
966 * elf/tst-auditmod5b.c: Likewise.
967 * elf/tst-auditmod6b.c: Likewise.
968 * elf/tst-auditmod6c.c: Likewise.
969 * elf/tst-auditmod7b.c: Likewise.
970
971 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
972 and x32_gnu_pltexit.
973
974 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
975 __ELF_NATIVE_CLASS.
976 (La_x32_regs): New macro.
977 (La_x32_retval): Likewise.
978 (la_x32_gnu_pltenter): New function prototype.
979 (la_x32_gnu_pltexit): Likewise.
980
7998fa78
AS
9812012-03-21 Andreas Schwab <schwab@linux-m68k.org>
982
dcb33988
AS
983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
984 exponent.
985
233fc563
AS
986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
987
7998fa78
AS
988 * configure.in (libc_cv_cc_nofma): Check for option to disable
989 generation of FMA instructions.
990 * configure: Regenerate.
991 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
992 * sysdeps/ieee754/dbl-64/Makefile: New file.
993 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
994 Remove brandred-fma4.
995 (CFLAGS-brandred-fma4.c): Remove.
996 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
997 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
998 define.
999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1000 define.
1001
8e95c99a
L
10022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1005 LLONG_MAX != LONG_MAX.
1006 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1007 (_fitoa_word): Likewise.
1008 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1009 LLONG_MAX != LONG_MAX.
1010 * stdio-common/_itowa.h: Include <_itoa.h>.
1011 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1012 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1013 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1014 only if not defined.
1015 (_ITOA_WORD_TYPE): Likewise.
1016 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1017 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1018
6f4db457
DM
10192012-03-21 David S. Miller <davem@davemloft.net>
1020
1021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1022
7785fe5a
L
10232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1026 of x86_64 when setting libc_cv_slibdir, libdir and
1027 libc_cv_localedir.
1028 * sysdeps/unix/sysv/linux/configure: Regenerated.
1029
4535cd55
JM
10302012-03-21 Joseph Myers <joseph@codesourcery.com>
1031
1032 * manual/lang.texi (Old Varargs): Remove section.
1033 (How Variadic): Update menu.
1034 (va_start): Do not mention varargs.h.
1035
17228132
TS
10362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1037 Joseph Myers <joseph@codesourcery.com>
1038
1039 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1040 link test.
1041 * configure: Regenerated.
1042
8149f976
TS
10432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1044
05f3d1f6
UD
1045 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1046 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1047 conformtest.pl
8149f976 1048
1a4ac776
JM
10492012-03-21 Joseph Myers <joseph@codesourcery.com>
1050
be22ce65
JM
1051 * NOTES: Remove.
1052 * Makefile (files-for-dist): Remove NOTES.
1053 (NOTES): Remove rule.
1054 * README: Don't refer to NOTES.
1055 * manual/creature.texi: Don't include macros.texi.
1056 * manual/intro.texi (creature.texi): Remove comment referring to
1057 NOTES.
1058
40b601fb
JM
1059 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1060 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1061 * configure: Regenerated.
1062 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1063 LIBC_TRY_CC_OPTION.
1064 (libc_cv_as_i686): Likewise.
1065 (libc_cv_cc_avx): Likewise.
1066 (libc_cv_cc_sse2avx): Likewise.
1067 (libc_cv_cc_fma4): Likewise.
1068 (libc_cv_cc_novzeroupper): Likewise.
1069 * sysdeps/i386/configure: Regenerated.
1070
1a4ac776
JM
1071 [BZ #13883]
1072 * sysdeps/i386/fpu/s_cexp.S: Remove.
1073 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1074 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1075 * math/libm-test.inc (cexp_test): Add more tests.
1076 * sysdeps/i386/fpu/libm-test-ulps: Update.
1077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1078
a458e7fe
AM
10792012-03-21 Allan McRae <allan@archlinux.org>
1080
1081 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1082
0cb7efc5
JM
10832012-03-21 Joseph Myers <joseph@codesourcery.com>
1084
1085 [BZ #13871]
1086 * math/w_exp2.c: Do not include <float.h>.
1087 (o_threshold, u_threshold): Remove.
1088 (__exp2): Calculate result before checking finiteness and calling
1089 __kernel_standard.
1090 * math/w_exp2f.c: Likewise.
1091 * math/w_exp2l.c: Likewise.
1092 * math/libm-test.inc (exp2_test): Require overflow exception for
1093 1e6 input.
2460d3aa
JM
1094
1095 [BZ #3866]
1096 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1097 range of signed 64-bit integers before using fistpll. Remove
1098 checks for whether integers fit in mantissa bits.
1099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1100 the range of signed 32-bit integers before using fistpl. Remove
1101 checks for whether integers fit in mantissa bits.
1102 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1103 (__ieee754_powl): Test for y outside the range of signed 64-bit
1104 integers before using fistpll. Reduce 64-bit values to 63-bit
1105 ones as needed.
1106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1107 divide-by-zero is raised for zero to large negative powers.
1108 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1109 (__ieee754_powl): Test for y outside the range of signed 64-bit
1110 integers before using fistpll. Reduce 64-bit values to 63-bit
1111 ones as needed.
1112 * math/libm-test.inc (pow_test): Add more tests.
1113
eb96ffb0
L
11142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1117 <stdio-common/_itoa.h>.
1118 * debug/segfault.c: Likewise.
1119 * elf/dl-cache.c: Likewise.
1120 * elf/dl-minimal.c: Likewise.
1121 * elf/dl-misc.c: Likewise.
1122 * elf/dl-sysdep.c: Likewise.
1123 * elf/dl-version.c: Likewise.
1124 * elf/rtld.c: Likewise.
1125 * hurd/hurdsock.c: Likewise.
1126 * hurd/lookup-retry.c: Likewise.
1127 * malloc/malloc.c: Likewise.
1128 * malloc/mtrace.c: Likewise.
1129 * nscd/nscd_getgr_r.c: Likewise.
1130 * nscd/nscd_getpw_r.c: Likewise.
1131 * nscd/nscd_getserv_r.c: Likewise.
1132 * posix/getopt_init.c: Likewise.
1133 * posix/wordexp.c: Likewise.
1134 * stdio-common/_itoa.c: Likewise.
1135 * stdio-common/printf_fphex.c: Likewise.
1136 * stdio-common/vfprintf.c: Likewise.
1137 * string/_strerror.c: Likewise.
1138 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1139 * sysdeps/i386/i686/hp-timing.h: Likewise.
1140 * sysdeps/mach/_strerror.c: Likewise.
1141 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1142 * sysdeps/mach/hurd/sethostid.c: Likewise.
1143 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1144 * sysdeps/mach/xpg-strerror.c: Likewise.
1145 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1146 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1147 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1148 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1149 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1150 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1151 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1152 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1153 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1154 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1155 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1156 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1159 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1160 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1162 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1163 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1164 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1165 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1166
1167 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1168
1169 * stdio-common/_itoa.h: Moved to ...
1170 * sysdeps/generic/_itoa.h: Here.
1171
1172 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1173
1174 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1175 instead of "_itoa.h" and "_itowa.h".
1176 * stdio-common/vfprintf.: Likewise.
1177
d1af992d
L
11782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1179
1180 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1181 <bits/wordsize.h>.
1182 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1183 (__signbit): Likwise.
1184 (llrintf): Likwise.
1185 (llrint): Likwise.
1186
114883e0
L
11872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1188
1189 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1190 __WORDSIZE != 64.
1191
c135cc1b
JM
11922012-03-20 Joseph Myers <joseph@codesourcery.com>
1193
1194 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1195 OVERFLOW_EXCEPTION_OK.
1196 * math/libm-test.inc ("Philosophy"): Update comment about
1197 exception testing.
1198 (OVERFLOW_EXCEPTION): Define.
1199 (OVERFLOW_EXCEPTION_OK): Likewise.
1200 (INVALID_EXCEPTION_OK): Renumber.
1201 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1202 (IGNORE_ZERO_INF_SIGN): Likewise.
1203 (test_exceptions): Handle FE_OVERFLOW.
1204 (exp10_test): Expect overflow exceptions.
1205 (exp2_test): Likewise.
1206 (expm1_test): Likewise.
1207 (nextafter_test): Likewise.
1208 (pow_test): Likewise.
1209 (scalbn_test): Likewise.
1210 (scalbln_test): Likewise.
1211
95443d88
L
12122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 * sysdeps/x86_64/bits/atomic.h
1215 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1216 64bit integer.
1217 (atomic_exchange_acq): Likewise.
1218 (__arch_exchange_and_add_body): Likewise.
1219 (__arch_add_body): Likewise.
1220 (atomic_add_negative): Likewise.
1221 (atomic_add_zero): Likewise.
1222
490df6c4
L
12232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1224
c2722551 1225 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1226 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1227
5e52b189
L
12282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1231 Check __x86_64__ instead of __WORDSIZE.
1232
a9879d4c
L
12332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1236
5df98260
DM
12372012-03-19 David S. Miller <davem@davemloft.net>
1238
e1497744
DM
1239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1240
5df98260
DM
1241 * sysdeps/sparc/fpu/fenv_private.h: New file.
1242 * sysdeps/sparc/fpu/math_private.h: Use it.
1243 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1244 Remove.
1245 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1246 (libc_feholdexcept_setroundl): Remove.
1247 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1248 Remove.
1249 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1250 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1251
b4c35121
L
12522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1255 int64_t instead of long int.
1256 (INSERT_WORDS64): Likwise.
1257
56965fd7
L
12582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1261 _Unwind_GetCFA return to _Unwind_Ptr first.
1262
83d1aec8
JM
12632012-03-19 Joseph Myers <joseph@codesourcery.com>
1264
1897ad44
JM
1265 [BZ #13629]
1266 * math/s_clog.c: Include <float.h>.
1267 (__clog): Scale large or subnormal inputs.
1268 * math/s_clogf.c: Likewise.
1269 * math/s_clogl.c: Likewise.
1270 * math/s_clog10.c: Include <float.h>.
1271 (M_LOG10_2): Define.
1272 (__clog10): Scale large or subnormal inputs.
1273 * math/s_clog10f.c: Likewise.
1274 * math/s_clog10l.c: Likewise.
1275 * math/libm-test.inc (clog_test): Add more tests.
1276 (clog10_test): Likewise.
1277 * sysdeps/i386/fpu/libm-test-ulps: Update.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279
7726d6a9
JM
1280 [BZ #11451]
1281 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1282 x and y.
1283 * math/libm-test.inc (atan2_test): Add another test.
1284
83d1aec8
JM
1285 * Makerules (common-objdir-compile): Remove.
1286 * sysdeps/unix/Makefile (config-generated): Do not add
1287 $(unix-generated) to variable.
1288 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1289 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1290 Remove rule.
1291 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1292 Likewise.
1293 [generic bits/local_lim.h] (before-compile): Do not append to
1294 variable.
1295 [generic bits/local_lim.h] (common-generated): Likewise.
1296 [generic sys/param.h] (before-compile): Do not append to variable.
1297 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1298 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1299 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1300 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1301 include.
1302 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1303 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1304 [generic sys/param.h] ($(addprefix
1305 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1306 [generic sys/param.h] (common-generated): Do not append to
1307 variable.
1308 [generic sys/param.h] (sysdep_headers): Likewise.
1309 [generic bits/errno.h] (before-compile): Do not append to
1310 variable.
1311 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1312 rule.
1313 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1314 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1315 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1316 [generic bits/errno.h] (common-generated): Do not append to
1317 variable.
1318 [generic bits/ioctls.h] (before-compile): Do not append to
1319 variable.
1320 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1321 rule.
1322 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1323 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1324 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1325 rule.
1326 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1327 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1328 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1329 [generic bits/ioctls.h] (common-generated): Do not append to
1330 variable.
1331 [generic sys/syscall.h] (syscall.h): Remove variable.
1332 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1333 rule.
1334 [generic sys/syscall.h] (before-compile): Do not append to
1335 variable.
1336 [generic sys/syscall.h] (common-generated): Likewise.
1337 * sysdeps/unix/errnos-tmpl.c: Remove file.
1338 * sysdeps/unix/errnos.awk: Likewise.
1339 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1340 * sysdeps/unix/ioctls.awk: Likewise.
1341 * sysdeps/unix/mk-local_lim.c: Likewise.
1342 * sysdeps/unix/snarf-ioctls: Likewise.
1343
4851a949
RH
13442012-03-19 Richard Henderson <rth@twiddle.net>
1345
bd37f2ee
RH
1346 * sysdeps/i386/fpu/fenv_private.h: New file.
1347 * sysdeps/i386/fpu/math_private.h: Use it.
1348 (math_opt_barrier, math_force_eval): Remove.
1349 (libc_feholdexcept_setround_53bit): Remove.
1350 (libc_feupdateenv_53bit): Remove.
1351 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1352 (math_opt_barrier, math_force_eval): Remove.
1353 (libc_feholdexcept): Remove.
1354 (libc_feholdexcept_setround): Remove.
1355 (libc_fetestexcept, libc_fesetenv): Remove.
1356 (libc_feupdateenv_test): Remove.
1357 (libc_feupdateenv, libc_feholdsetround): Remove.
1358 (libc_feresetround): Remove.
1359
d0adc922
RH
1360 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1361 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1362
0fe0f1f8
RH
1363 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1364 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1365 (libc_feupdateenv_testl): New.
1366 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1367 (libc_feupdateenv_testf): New.
1368 (libc_feupdateenv): Use libc_feupdateenv_test.
1369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1370 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1371
eb92c487
RH
1372 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1373 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1374 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1375 (libc_feresetround_noex): New.
1376 (libc_feresetround_noexf): New.
1377 (libc_feresetround_noexl): New.
1378 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1379 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1380 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1381 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1382 SET_RESTORE_ROUND.
1383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1385 (__cos): Likewise.
1386 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1387 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1388 SET_RESTORE_ROUND_NOEX.
1389 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1390 SET_RESTORE_ROUND_NOEXF.
1391 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1392 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1393 (libc_feholdsetroundf): New.
1394 (libc_feresetround, libc_feresetroundf): New.
1395
7d2e8012
RH
1396 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1397 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1398 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1399
b4dabbb4
RH
1400 * sysdeps/generic/math_private.h: Include <fenv.h>.
1401 (default_libc_feholdexcept): New.
1402 (default_libc_feholdexcept_setround): New.
1403 (default_libc_fesetenv, default_libc_feupdateenv): New.
1404 (libc_feholdexcept): Only define if undefined.
1405 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1406 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1407 (libc_feholdexcept_setroundl): Likewise.
1408 (libc_feholdexcept_setround_53bit): Likewise.
1409 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1410 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1411 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1412 (libc_feupdateenv_53bit): Likewise.
1413 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1414 (libc_feholdexcept): Convert from macro to inline function.
1415 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1416 (libc_fesetenv, libc_feupdateenv): Likewise.
1417
4851a949
RH
1418 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1419 not previously defined.
1420 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1421 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1422 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1423 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1424 * sysdeps/ieee754/flt-32/math_private.h: New file.
1425 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1426 math_private.h below SET_FLOAT_WORD.
1427 (__isnan, __isinf_ns, __finite): Remove.
1428 (__isnanf, __isinf_nsf, __finitef): Remove.
1429
e79d442e
AS
14302012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1431
1432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1433
90b80344
DM
14342012-03-17 David S. Miller <davem@davemloft.net>
1435
1436 [BZ #6471]
1437 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1438 for 2.16.
1439
edc21804
DM
14402012-03-16 David S. Miller <davem@davemloft.net>
1441
77e927af
DM
1442 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1443 warnings.
1444
374976dd
DM
1445 [BZ #6471]
1446 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1447 properly.
1448 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1449 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1450 sysdep_routines when subdir is sysvipc.
1451 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1452 __getshmlba helper.
1453
edc21804
DM
1454 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1455
473c3ef3
L
14562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1459 [__LP64__].
1460
eb0f39b6
L
14612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1464 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1465 (__lround): Renamed to ...
1466 (__llround): This. Replace long int with long long int.
1467 Define lround functions as aliases of llround functions.
1468 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1469
6b6cd74b
L
14702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1471
1472 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1473 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1474 adresses to uintptr_t. Replace "long int" and "unsigned long
1475 int" with "greg_t" on va_arg.
1476
f1a77b01
L
14772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1478
1479 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1480 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1481
1482 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1483 Move e_machine check before EI_CLASS check. Handle x32
1484 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1485 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1486 SKIP_EM_IA_64 and include
1487 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1488
1489 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1490 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1491 (add_system_dir): New macro.
1492
1493 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1494 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1495
11b90b9f
JM
14962012-03-16 Joseph Myers <joseph@codesourcery.com>
1497
c36e1d23
JM
1498 [BZ #2551]
1499 [BZ #2552]
1500 [BZ #2553]
1501 [BZ #2554]
1502 [BZ #2562]
1503 [BZ #2563]
1504 [BZ #2565]
1505 [BZ #2566]
1506 [BZ #2576]
1507 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1508 (y0): Likewise.
1509 * math/w_j0f.c (j0f): Likewise.
1510 (y0f): Likewise.
1511 * math/w_j0l.c (__j0l): Likewise.
1512 (__y0l): Likewise.
1513 * math/w_j1.c (j1): Likewise.
1514 (y1): Likewise.
1515 * math/w_j1f.c (j1f): Likewise.
1516 (y1f): Likewise.
1517 * math/w_j1l.c (__j1l): Likewise.
1518 (__y1l): Likewise.
1519 * math/w_jn.c (jn): Likewise.
1520 (yn): Likewise.
1521 * math/w_jnf.c (jnf): Likewise.
1522 (ynf): Likewise.
1523 * math/w_jnl.c (__jnl): Likewise.
1524 (__ynl): Likewise.
1525 * math/libm-test.inc (j0_test): Add more tests.
1526 (j1_test): Likewise.
1527 (jn_test): Likewise. Add trailing semicolon to existing test.
1528 (y0_test): Likewise.
1529 (y1_test): Likewise.
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1532
11b90b9f
JM
1533 [BZ #13851]
1534 [BZ #13854]
1535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1536 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1537 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1538 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1539 (__tanl): Set errno for infinite argument.
1540 * sysdeps/i386/fpu/mptan.c: Remove.
1541 * sysdeps/i386/fpu/s_tan.S: Likewise.
1542 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1543 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1544 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1545 * math/libm-test.inc (tan_test): Add more tests and enable more
1546 tests for double and long double.
1547 * sysdeps/i386/fpu/libm-test-ulps: Update.
1548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1549
6a1bd2a1
JK
15502012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1551
1552 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1553 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1554
10a803e0
RM
15552012-03-16 Roland McGrath <roland@hack.frob.com>
1556
1557 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1558 * configure.in: Use it for both main tree and add-ons.
1559 * configure: Regenerated.
1560
f196c7f7
L
15612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1564
8848d99d
JM
15652012-03-16 Joseph Myers <joseph@codesourcery.com>
1566
96cbe7f4
JM
1567 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1568 in comment.
1569
8848d99d
JM
1570 [BZ #13851]
1571 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1572 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1576 infinite argument.
1577 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1579 != 0 for prec == 2.
1580 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1581 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1582 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1583 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1584 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1585 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1586 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1587 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1588 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1589 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1590 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1591 * math/libm-test.inc (cos_test): Add more tests and enable more
1592 tests for long double.
1593 (sin_test): Likewise.
1594 (sincos_test): Likewise.
1595 * sysdeps/i386/fpu/libm-test-ulps: Update.
1596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1597
dd7f4703
DM
15982012-03-16 David S. Miller <davem@davemloft.net>
1599
1600 * sysdeps/sparc/fpu/math_private.h: New file.
1601
006f1daa
DM
16022012-03-15 David S. Miller <davem@davemloft.net>
1603
c0c83bc8
DM
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1605 file.
e6a62e18 1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1608 file.
e6a62e18
DM
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1615 sysdep routines.
1616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1617
88cb87d9
DM
1618 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1619 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1620
006f1daa 1621 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1623 sparc-ifunc.h
006f1daa 1624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1626 Likewise.
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1628 Likewise.
006f1daa
DM
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1633 Likewise.
006f1daa
DM
1634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1639 Likewise.
1640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1641 Likewise.
006f1daa
DM
1642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1666
11e0098e
AS
16672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1668
1669 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1670 scaling.
1671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1672
e85b09d0
AJ
16732012-03-15 Andreas Jaeger <aj@suse.de>
1674
1675 [BZ #13852]
1676 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1677 ieee754/flt-32 implementation for sin, cos and sincos.
1678 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1679 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1680 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1681 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1682 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1683 ieee754/flt-32 implementation for tan.
1684
1685 * math/libm-test.inc (cos_test): Enable some large input tests for
1686 float as well
1687 (sin_test): Likewise.
1688 (sincos_test): Likewise.
1689 (tan_test): Add tests for large input.
1690
1691 * sysdeps/i386/fpu/libm-test-ulps: Update.
1692
81c64153
AJ
16932012-03-15 Andreas Jaeger <aj@suse.de>
1694
1695 [BZ #13658]
1696 * math/libm-test.inc (cos_test): Add more test cases.
1697 (sin_test): Likewise.
1698 (sincos_test): Likewise.
1699
7bbfa5c6
AJ
17002012-03-15 Andreas Jaeger <aj@suse.de>
1701
1702 [BZ #13837]
1703 * math/libm-test.inc (cos_test): Add a test case for large input
1704 value.
1705 (sin_test): Likewise.
1706 (sincos_test): Likewise.
1707
17082012-03-15 Andreas Jaeger <aj@suse.de>,
1709 Joseph Myers <joseph@codesourcery.com>
1710
1711 [BZ #13658]
0671f479 1712 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1713 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1714 * sysdeps/i386/fpu/branred.c: Likewise.
1715 * sysdeps/i386/fpu/dosincos.c: Likewise.
1716 * sysdeps/i386/fpu/mpa.c: Likewise.
1717 * sysdeps/i386/fpu/s_cos.S: Likewise.
1718 * sysdeps/i386/fpu/s_sin.S: Likewise.
1719 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1720 * sysdeps/i386/fpu/sincos32.c: Likewise.
1721
1722 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1723 Define.
1724 (libc_feupdateenv_53bit): Define.
1725 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1726 Define.
1727 (libc_feupdateenv_53bit): Define.
1728
1729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1730 53 bit (without extend i386 double precision).
1731
1732 * math/libm-test.inc (sincos_test): Add tests for large input.
1733 (sin): Likewise.
1734 (cos): Likewise.
1735
1736 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1737
9cad04ea
AS
17382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1739
1740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1741
f7062b9a
DM
17422012-03-15 David S. Miller <davem@davemloft.net>
1743
1744 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1745 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1746 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1747 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1760 file.
f7062b9a 1761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1763 file.
f7062b9a 1764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1766 file.
f7062b9a 1767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1769 file.
f7062b9a
DM
1770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1772 fmin/fmax sysdep routines.
1773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1774
7bd951ff
DM
17752012-03-14 David S. Miller <davem@davemloft.net>
1776
559398ab
DM
1777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1806 routines.
1807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1808 file.
559398ab 1809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1811 file.
559398ab 1812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1814 file.
559398ab 1815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1817 file.
559398ab 1818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1820 file.
559398ab 1821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1823 file.
1824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1825 file.
1826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1827 file.
1828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1829 file.
1830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1831 New file.
1832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1833 file.
1834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1835 file.
559398ab 1836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1838 file.
559398ab 1839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1841 file.
559398ab 1842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1844 file.
559398ab 1845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1847 VIS3 routines.
559398ab
DM
1848
1849 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1850 New file.
1851
5a1c1e32
DM
1852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1853
eae47a36
DM
1854 * sysdeps/sparc/configure.in: New file.
1855 * sysdeps/sparc/configure: Generate.
1856 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1857 * configure: Regenerate.
1858 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1859 * config.make.in (have-as-vis3): New.
1860 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1861 available use -Av9d instead of -Av9a.
1862 * sysdeps/sparc/sparc64/Makefile: Likewise.
1863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1865 New file.
1866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1867 file.
1868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1869 New file.
1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1871 file.
eae47a36
DM
1872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1877
c0c83bc8
DM
1878 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1879 fzeros/fnegs to load 0x80000000 into a float register instead of
1880 using the stack.
7bd951ff
DM
1881 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1882
bd951ccb
JM
18832012-03-14 Joseph Myers <joseph@codesourcery.com>
1884
1885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1886 bits/syscall.h.
1887 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1888 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1889 ($(inst_includedir)/bits/syscall.h): Remove rule.
1890 ($(objpfx)bits/syscall.d): Include instead of
1891 $(objpfx)syscall-list.d.
1892 (generated): Change syscall-list.h and syscall-list.d to
1893 bits/syscall.h and bits/syscall.d.
1894
bb4e6db2
RM
18952012-03-14 Roland McGrath <roland@hack.frob.com>
1896
1897 [BZ #13846]
1898 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1899
aa4a2ae1
JM
19002012-03-14 Joseph Myers <joseph@codesourcery.com>
1901
e456826d
JM
1902 [BZ #13841]
1903 * math/s_csqrt.c: Include <float.h>.
1904 (__csqrt): Scale large or subnormal inputs.
1905 * math/s_csqrtf.c: Likewise.
1906 * math/s_csqrtl.c: Likewise.
1907 * math/libm-test.inc (csqrt_test): Add more tests.
1908 * sysdeps/i386/fpu/libm-test-ulps: Update.
1909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1910
aa4a2ae1
JM
1911 [BZ #13840]
1912 * math/libm-test.inc (hypot_test): Add more tests.
1913
7c10fd35
DM
19142012-03-13 David S. Miller <davem@davemloft.net>
1915
1916 [BZ #13840]
1917 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1918 double-precision for the calculation instead of scaling.
1919
f453b98b
JM
19202012-03-13 Joseph Myers <joseph@codesourcery.com>
1921
1922 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1923 manipulate bits before adding and subtracting TWO52[sx].
1924 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1925 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1926 Likewise.
1927 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1928
09a3453f
DM
19292012-03-13 David S. Miller <davem@davemloft.net>
1930
8e59da90
DM
1931 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1932 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1934 rtld-global-offsets.h
1935 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1936
2a8ab7f2
DM
1937 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1938 large parameters.
1939
10f62770
DM
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1941
5f0bdb18
DM
1942 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1943 'err' in the ifdef scope in which it is actually used.
1944
09a3453f
DM
1945 * nss/nss_db/db-init.c: Include string.h
1946
b4b2eb5e
DM
19472012-03-12 David S. Miller <davem@davemloft.net>
1948
98bb2f1c
DM
1949 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1950 masking out of the most significant byte of random value used.
1951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1952 Fix coding style in previous change.
1953
b4b2eb5e
DM
1954 * sysdeps/unix/sysv/linux/kernel-features.h
1955 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1956 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1957 expression.
1958 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1959 later.
1960
6e226b09
DM
19612012-03-11 David S. Miller <davem@davemloft.net>
1962
a1bcbd40
DM
1963 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1964 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1965 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1966 for 'resultvar' otherwise things get truncated on 64-bit.
1967
cb9d6174
DM
1968 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1969 Fix masking out of the most significant byte of random value used.
1970
6e226b09
DM
1971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1972
058c132d
AS
19732012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1974
1975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1976
2d2cd515
DM
19772012-03-09 David S. Miller <davem@davemloft.net>
1978
1979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1980 variables with appropriate CPP guards.
1981 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1982 frame pointer, not the stack pointer. Correct layout comments. Fix test
1983 on resulting framesize and the management of the outregs buffer for pltexit.
1984 Preserve floating point return values across _dl_call_pltexit call.
1985 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1986 framesize and the management of the outregs buffer for pltexit.
1987 Preserve floating point return values across _dl_call_pltexit
1988 call.
1989 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1990 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1991 (print_exit): Fix format string for return register value.
1992
9a07f9d0
JM
19932012-03-10 Joseph Myers <joseph@codesourcery.com>
1994
1995 * sunrpc/Makefile (others): Add rpcgen.
1996 ($(objpfx)rpcgen): Remove special build rule and dependency on
1997 libc.
1998 * sunrpc/rpcgen.c: New file.
1999
547b5e30
PE
20002012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2001
c524201a
PE
2002 [BZ #13673]
2003 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2004 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2005 * sysdeps/i386/crti.S: Likewise.
2006 * sysdeps/i386/crtn.S: Likewise.
2007 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2008 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2009 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2010 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2011 * sysdeps/sh/crti.S: Likewise.
2012 * sysdeps/sh/crtn.S: Likewise.
2013 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2014
7b6235f2
PE
2015 [BZ #13673]
2016 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2017 with URL.
2018 * locale/programs/locfile-kw.gperf: Likewise.
2019 * locale/programs/charmap-kw.h: Regenerated.
2020 * locale/programs/locfile-kw.h: Likewise.
2021
547b5e30
PE
2022 [BZ #13673]
2023 * intl/plural.y: Replace FSF snail mail address with URL.
2024 * intl/plural.c: Regenerated.
2025
5f0a5dae
RH
20262012-03-09 Richard Henderson <rth@twiddle.net>
2027
2028 * include/math_private.h: Remove file.
2029 * math/math_private.h: Move file ...
2030 * sysdeps/generic/math_private.h: ... here.
2031
b8c03620
RH
2032 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2033 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2034 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2035
4e234f5d 2036 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2037 and <math_private.h>.
2038 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2039 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2040 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2041 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2042 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2046 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2064 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2065 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2070 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2071 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2072 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2074 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2075 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2099 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2101 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2102 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2106 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2107 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2108 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2111 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2112 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2120 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2121 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2125 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2126 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2127 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2128 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2129 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2130 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2131 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2132 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2142 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2143 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2144 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2145 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2146 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2148 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2149 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2150 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2151 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2152 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2153 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2154 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2155 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2156 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2157 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2158 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2159 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2160 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2161 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2162 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2163 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2165 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2167 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2168 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2169 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2170 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2171 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2172 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2173 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2175 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2176 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2177 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2178 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2179 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2180 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2181 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2182 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2183 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2184 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2185 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2186 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2187 * sysdeps/ieee754/k_standard.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2202 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2204 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2326 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2336 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2337 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2338 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2343 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2348 * sysdeps/ieee754/s_lib_version.c: Likewise.
2349 * sysdeps/ieee754/s_matherr.c: Likewise.
2350 * sysdeps/ieee754/s_signgam.c: Likewise.
2351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2353 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2354 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2355 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2356 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2357 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2358 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2359 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2360 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2361 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2362 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2363 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2364 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2365 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2366 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2367 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2368 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2369 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2372
1991fa03
JM
23732012-03-09 Joseph Myers <joseph@codesourcery.com>
2374
2375 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2376 * sunrpc/rpc_main.c: Likewise.
2377 * sunrpc/rpc_svcout.c: Likewise.
2378
60d6f5a6
DM
23792012-03-09 David S. Miller <davem@davemloft.net>
2380
2381 * include/math_private.h: New file.
2382
4962050e
JM
23832012-03-09 Joseph Myers <joseph@codesourcery.com>
2384
02a6f887
JM
2385 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2386 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2387 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2388 from <bits/socket_type.h>.
2389 (enum __socket_type): Don't define here.
2390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2392 bits/socket_type.h.
2393
c6e013c1
JM
2394 [BZ #13566]
2395 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2396 checking __USE_GNU.
2397
4962050e
JM
2398 * Makerules ($(inst_includedir)/%.h): New rule.
2399 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2400 (install-others): Remove variable setting.
2401 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2402
38842f45
RH
24032012-03-08 Richard Henderson <rth@twiddle.net>
2404
67bb6da6
RH
2405 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2406 from macro to inline function; merge with the
2407 !__LIBC_INTERNAL_MATH_INLINES version.
2408 (__ieee754_sqrtf): Likewise.
2409
15194b4b
RH
2410 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2411 to inline function.
2412 (__rintf, __floor, __floorf): Likewise.
2413
64e21ede
RH
2414 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2415 macro to inline function.
2416 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2417
38842f45
RH
2418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2419 not <math/math_private.h>.
2420
c64bf5fe
DM
24212012-03-08 David S. Miller <davem@davemloft.net>
2422
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2424 copyright year.
2425 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2426
82d86f28
TS
24272012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2428
2429 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2430 normalization.
2431 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2432 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2433
aea5d727
UD
24342012-03-08 Ulrich Drepper <drepper@gmail.com>
2435
2436 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2437 be defined individually, they must be defined as a block. Define
2438 S for printing a string instead of hidint the different by using a
2439 macro for adding the 'l'.
2440 * stdio-common/tst-fphex-wide.c: Adjust.
2441
70bca0a3
MP
24422012-03-07 Marek Polacek <polacek@redhat.com>
2443
2444 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2445
65b81130
MP
24462012-03-08 Marek Polacek <polacek@redhat.com>
2447
2448 [BZ #13806]
2449 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2450 * stdio-common/tst-fphex.c: Define a few macros to make the
2451 test reusable. Use them.
2452 * stdio-common/tst-fphex-wide.c: New file.
2453
07037eeb
JM
24542012-03-08 Joseph Myers <joseph@codesourcery.com>
2455
a7a93d50
JM
2456 [BZ #6911]
2457 * manual/macros.texi (gnusystems): New macro.
2458 (nongnusystems): Likewise.
2459 (gnulinuxhurdsystems): Likewise.
2460 (gnuhurdsystems): Likewise..
2461 (gnulinuxsystems): Likewise.
2462 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2463 variants of the GNU system, not "GNU system".
2464 * manual/conf.texi: Likewise.
2465 * manual/errno.texi: Likewise. Update example of errno macro
2466 expansion.
2467 * manual/filesys.texi: Likewise.
2468 (getumask): Document as specific to GNU/Hurd.
2469 * manual/install.texi: Likewise. Reword some references to
2470 GNU/Linux.
2471 * manual/intro.texi: Likewise.
2472 * manual/io.texi: Likewise.
2473 (File Name Portability): Detail which constraints are inapplicable
2474 to all GNU systems and which are only inapplicable to GNU/Hurd.
2475 * manual/job.texi: Likewise.
2476 * manual/llio.texi: Likewise.
2477 (O_NOCTTY): Document as present on GNU/Linux.
2478 * manual/maint.texi: Likewise.
2479 * manual/memory.texi: Likewise.
2480 * manual/pattern.texi: Likewise.
2481 * manual/pipe.texi: Likewise.
2482 * manual/process.texi: Likewise.
2483 * manual/resource.texi: Likewise.
2484 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2485 child on GNU/Hurd.
2486 * manual/setjmp.texi: Likewise.
2487 * manual/signal.texi: Likewise.
2488 * manual/startup.texi: Likewise.
2489 * manual/stdio.texi: Likewise.
2490 * manual/terminal.texi: Likewise.
2491 (ONLCR): Document as POSIX.
2492 (OXTABS): Document availability on GNU/Linux as XTABS.
2493 (ONOEOT): Document availability separately from other bits.
2494 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2495 * manual/time.texi: Likewise.
2496 * manual/users.texi: Likewise.
2497 * INSTALL: Regenerated.
2498 * sysdeps/gnu/errlist.c: Regenerated.
2499
07037eeb
JM
2500 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2501 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2502 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2503 puts.
2504 * configure: Regenerated.
2505
d1d3431a
JM
25062012-03-07 Joseph Myers <joseph@codesourcery.com>
2507
af6a1e37
JM
2508 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2509 default includes instead of AC_HEADER_CHECK.
2510 * sysdeps/i386/configure: Regenerated.
2511
d1d3431a
JM
2512 [BZ #10716]
2513 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2514 * math/s_cacoshf.c (__cacoshf): Likewise.
2515 * math/s_cacoshl.c (__cacoshl): Likewise.
2516 * math/s_casinh.c (__casinh): Set signs of result from argument.
2517 * math/s_casinhf.c (__casinhf): Likewise.
2518 * math/s_casinhl.c (__casinhl): Likewise.
2519 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2520 (casinh_test): Add more tests.
2521 * sysdeps/i386/fpu/libm-test-ulps: Update.
2522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2523
482ff4da
UD
25242012-03-07 Ulrich Drepper <drepper@gmail.com>
2525
872fda05
UD
2526 * po/zh_TW.po: Update from translation team.
2527
a4300c7a
UD
2528 * login/Makefile (distribute): Remove variable.
2529 * catgets/Makefile: Likewise.
2530 * mach/Makefile: Likewise.
2531 * malloc/Makefile: Likewise.
2532 * misc/Makefile: Likewise.
2533 * iconv/Makefile: Likewise.
2534 * nscd/Makefile: Likewise.
2535 * hurd/Makefile: Likewise.
2536 * manual/Makefile: Likewise.
2537 * locale/Makefile: Likewise.
2538 * intl/Makefile: Likewise.
2539 * conform/Makefile: Likewise.
2540 * nss/Makefile: Likewise.
2541 * time/Makefile: Likewise.
2542 * soft-fp/Makefile: Likewise.
2543 * dirent/Makefile: Likewise.
2544 * gmon/Makefile: Likewise.
2545 * po/Makefile: Likewise.
2546 * rt/Makefile: Likewise.
2547 * socket/Makefile: Likewise.
2548 * math/Makefile: Likewise.
2549 * signal/Makefile: Likewise.
2550 * debug/Makefile: Likewise.
2551 * elf/Makefile: Likewise.
2552 * timezone/Makefile: Likewise.
2553 * stdlib/Makefile: Likewise.
2554 * iconvdata/Makefile: Likewise.
2555 * sunrpc/Makefile: Likewise.
2556 * io/Makefile: Likewise.
2557 * argp/Makefile: Likewise.
2558 * inet/Makefile: Likewise.
2559 * hesiod/Makefile: Likewise.
2560 * grp/Makefile: Likewise.
2561 * csu/Makefile: Likewise.
2562 * wctype/Makefile: Likewise.
2563 * crypt/Makefile: Likewise.
2564 * libio/Makefile: Likewise.
2565 * string/Makefile: Likewise.
2566 * nis/Makefile: Likewise.
2567 * resolv/Makefile: Likewise.
2568 * stdio-common/Makefile: Likewise.
2569 * wcsmbs/Makefile: Likewise.
2570 * dlfcn/Makefile: Likewise.
2571 * posix/Makefile: Likewise.
2572
482ff4da
UD
2573 * timezone/Makefile: Don't install timezone files, just the programs
2574 and scripts.
2575
f72ed77d
UD
25762012-03-06 Ulrich Drepper <drepper@gmail.com>
2577
a000466f
UD
2578 * nss/databases.def: Add missing gshadow entry.
2579
f72ed77d
UD
2580 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2581
a53b7a4e
MP
25822012-03-06 Marek Polacek <polacek@redhat.com>
2583
2584 [BZ #13726]
2585 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2586 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2587 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2588 * stdio-common/tst-long-dbl-fphex.c: New file.
2589
e9258400
DM
25902012-03-06 David S. Miller <davem@davemloft.net>
2591
2592 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2593 (set_obp_int): New function.
2594 (get_obp_int): New function.
2595 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2597 Avoid unused variable warnings on 'val' and use builtin_expect.
2598 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2599 __builtin_expect.
e9258400
DM
2600 (INLINE_CLONE_SYSCALL): Likewise.
2601
3bd2c723
DM
26022012-03-05 David S. Miller <davem@davemloft.net>
2603
2604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2605
bbb78d03
AS
26062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2607
884c5db4
AS
2608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2609
bbb78d03
AS
2610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2611 only for |x| >= 40.
2612 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2613
1c9f702a 26142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2615
2616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2617 Replace gettimeofday with __vdso_gettimeofday.
2618
7be16f82
RM
2619 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2620 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2621 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2622
2623 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2624 time with __vdso_time.
2625
ed58a00f
JM
26262012-03-05 Joseph Myers <joseph@codesourcery.com>
2627
2628 * manual/lang.texi (size_t): Note types to which size_t may be
2629 equivalent with the GNU C Library, but do not describe when
2630 differences between them are significant.
2631
30ee4ced
AJ
26322012-03-05 Andreas Jaeger <aj@suse.de>
2633
2634 * sysdeps/i386/fpu/libm-test-ulps: Update.
2635
b7cd39e8
JM
26362012-03-05 Joseph Myers <joseph@codesourcery.com>
2637
2638 [BZ #3976]
2639 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2640 (__ieee754_pow): Save and restore rounding mode and use
2641 round-to-nearest for main computations.
2642 * math/libm-test.inc (pow_test_tonearest): New function.
2643 (pow_test_towardzero): Likewise.
2644 (pow_test_downward): Likewise.
2645 (pow_test_upward): Likewise.
2646 (main): Call the new functions.
2647 * sysdeps/i386/fpu/libm-test-ulps: Update.
2648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2649
2650 [BZ #3976]
2651 * math/libm-test.inc (cosh_test_tonearest): New function.
2652 (cosh_test_towardzero): Likewise.
2653 (cosh_test_downward): Likewise.
2654 (cosh_test_upward): Likewise.
2655 (sinh_test_tonearest): Likewise.
2656 (sinh_test_towardzero): Likewise.
2657 (sinh_test_downward): Likewise.
2658 (sinh_test_upward): Likewise.
2659 (main): Call the new functions.
2660 * sysdeps/i386/fpu/libm-test-ulps: Update.
2661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2662
6c6a98c9
TV
26632012-03-05 Tom de Vries <tom@codesourcery.com>
2664
2665 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2666 default stack guard is set in last bytes.
2667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2668
21bb2d2e 26692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2670
21bb2d2e 2671 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2672
21bb2d2e
AJ
2673 [BZ #13656]
2674 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2675 possibly allocate from heap instead of stack.
2676 * stdio-common/bug-vfprintf-nargs.c: New file.
2677 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2678
c6922934
AS
26792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2680
2681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2682
bc957d53
MP
26832012-03-03 Marek Polacek <polacek@redhat.com>
2684
2685 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2686 * math/math_private.h: Likewise.
2687 * stdlib/tst-strtod.c: Likewise.
2688 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2689 * sysdeps/x86_64/bits/atomic.h: Likewise.
2690
6358490d
DM
26912012-03-02 David S. Miller <davem@davemloft.net>
2692
2693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2697 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2698 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2699 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2700 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2701
01ae168d
RM
27022012-03-02 Roland McGrath <roland@hack.frob.com>
2703
d9a17c07
RM
2704 [BZ #13792]
2705 * manual/examples/README: New file, says the example source files
2706 can be used under GPL>=2.
2707 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2708 line containing just "*/".
2709 * manual/examples/add.c: Add copyright header (GPL>=2).
2710 * manual/examples/argp-ex1.c: Likewise.
2711 * manual/examples/argp-ex2.c: Likewise.
2712 * manual/examples/argp-ex3.c: Likewise.
2713 * manual/examples/argp-ex4.c: Likewise.
2714 * manual/examples/atexit.c: Likewise.
2715 * manual/examples/db.c: Likewise.
2716 * manual/examples/dir.c: Likewise.
2717 * manual/examples/dir2.c: Likewise.
2718 * manual/examples/execinfo.c: Likewise.
2719 * manual/examples/filecli.c: Likewise.
2720 * manual/examples/filesrv.c: Likewise.
2721 * manual/examples/fmtmsgexpl.c: Likewise.
2722 * manual/examples/genpass.c: Likewise.
2723 * manual/examples/inetcli.c: Likewise.
2724 * manual/examples/inetsrv.c: Likewise.
2725 * manual/examples/isockad.c: Likewise.
2726 * manual/examples/longopt.c: Likewise.
2727 * manual/examples/memopen.c: Likewise.
2728 * manual/examples/memstrm.c: Likewise.
2729 * manual/examples/mkfsock.c: Likewise.
2730 * manual/examples/mkisock.c: Likewise.
2731 * manual/examples/mygetpass.c: Likewise.
2732 * manual/examples/pipe.c: Likewise.
2733 * manual/examples/popen.c: Likewise.
2734 * manual/examples/rprintf.c: Likewise.
2735 * manual/examples/search.c: Likewise.
2736 * manual/examples/select.c: Likewise.
2737 * manual/examples/setjmp.c: Likewise.
2738 * manual/examples/sigh1.c: Likewise.
2739 * manual/examples/sigusr.c: Likewise.
2740 * manual/examples/stpcpy.c: Likewise.
2741 * manual/examples/strdupa.c: Likewise.
2742 * manual/examples/strftim.c: Likewise.
2743 * manual/examples/strncat.c: Likewise.
2744 * manual/examples/subopt.c: Likewise.
2745 * manual/examples/swapcontext.c: Likewise.
2746 * manual/examples/termios.c: Likewise.
2747 * manual/examples/testopt.c: Likewise.
2748 * manual/examples/testpass.c: Likewise.
2749 * manual/examples/timeval_subtract.c: Likewise.
2750
01ae168d
RM
2751 [BZ #13792]
2752 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2753 function to ...
2754 * manual/timeval_subtract.c.texi: ... here, new file.
2755
49efa33d
DM
27562012-03-02 David S. Miller <davem@davemloft.net>
2757
2758 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2759
28afd92d
JM
27602012-03-02 Joseph Myers <joseph@codesourcery.com>
2761
804360ed
JM
2762 [BZ #3976]
2763 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2764 (__sin): Save and restore rounding mode and use round-to-nearest
2765 for all computations.
2766 (__cos): Save and restore rounding mode and use round-to-nearest
2767 for all computations.
2768 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2769 <fenv.h>.
2770 (tan): Save and restore rounding mode and use round-to-nearest for
2771 all computations.
2772 * math/libm-test.inc (cos_test_tonearest): New function.
2773 (cos_test_towardzero): Likewise.
2774 (cos_test_downward): Likewise.
2775 (cos_test_upward): Likewise.
2776 (sin_test_tonearest): Likewise.
2777 (sin_test_towardzero): Likewise.
2778 (sin_test_downward): Likewise.
2779 (sin_test_upward): Likewise.
2780 (tan_test_tonearest): Likewise.
2781 (tan_test_towardzero): Likewise.
2782 (tan_test_downward): Likewise.
2783 (tan_test_upward): Likewise.
2784 (main): Call the new functions.
2785 * sysdeps/i386/fpu/libm-test-ulps: Update.
2786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2787
a6d06d7b
JM
2788 [BZ #10135]
2789 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2790 small n, then large n, before computing and testing k+n.
2791 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2793 Likewise.
2794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2795 Likewise.
2796 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2797 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2799 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2802 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2804 * math/libm-test.inc (scalbn_test): Add more tests.
2805 (scalbln_test): Likewise.
2806
07e12bb3
JM
2807 * manual/filesys.texi (mode_t): Describe constraints on size and
2808 signedness, not exact equivalence to a particular type.
2809 (ino_t): Likewise.
2810 (ino64_t): Likewise.
2811 (dev_t): Likewise.
2812 (nlink_t): Likewise.
2813 (blkcnt_t): Likewise.
2814 (blkcnt64_t): Likewise.
2815 * manual/llio.texi (off_t): Likewise.
2816
28afd92d
JM
2817 [BZ #3976]
2818 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2819 (__ieee754_exp): Save and restore rounding mode and use
2820 round-to-nearest for all computations.
2821 * math/libm-test.inc (exp_test_tonearest): New function.
2822 (exp_test_towardzero): Likewise.
2823 (exp_test_downward): Likewise.
2824 (exp_test_upward): Likewise.
2825 (main): Call the new functions.
2826 * sysdeps/i386/fpu/libm-test-ulps: Update.
2827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2828
b1eeb65d
CD
28292012-03-01 Chris Demetriou <cgd@google.com>
2830
2831 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2832 have predictable order.
2833
53362a4b
DM
28342012-03-01 David S. Miller <davem@davemloft.net>
2835
3c969083
DM
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2837
759707de
DM
2838 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2839 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2840 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2841 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2842
dfdb8ff2
DM
2843 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2844 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2845 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2847 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2848 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2849 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2850 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2851 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2852
ead89f96
DM
2853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2854
7f66bd07
DM
2855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2856 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2857 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2858
53362a4b
DM
2859 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2860 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2862 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2863 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2867 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2868 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2869 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2873 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2875 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2876 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2877 * sysdeps/sparc/elf/configure: Regenerated.
2878
7b1902cb
JM
28792012-03-01 Joseph Myers <joseph@codesourcery.com>
2880
bec039bc
JM
2881 * configure.in (AS, LD): Require binutils 2.20 or later.
2882 * configure: Regenerated.
2883 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2884 as required minimum version.
2885 * INSTALL: Regenerated.
2886
7b1902cb
JM
2887 [BZ #2541]
2888 [BZ #4108]
2889 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2890 before squaring exponent.
2891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2892 bottom long double and 27 bits of top long double before squaring
2893 exponent.
2894 * math/libm-test.inc (erfc_test): Add more tests.
2895 * sysdeps/i386/fpu/libm-test-ulps: Update.
2896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2898
f775c276
KT
28992012-03-01 Kai Tietz <ktietz@redhat.com>
2900
2901 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2902 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2903 containing bit-fields.
2904 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2905 * soft-fp/single.h (_FP_UNION_S): Likewise.
2906 * soft-fp/double.h (_FP_UNION_D): Likewise.
2907
5b8a4d4a
JM
29082012-02-29 Joseph Myers <joseph@codesourcery.com>
2909
0bab47b6
JM
2910 [BZ #13786]
2911 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2912 not include ../strcmp.S.
2913 [USE_AS_STRNCASECMP_L]: Likewise.
2914 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2915 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2916 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2917 (__strncasecmp_l_ia32): Define as alias to
2918 __strncasecmp_l_nonascii.
2919
0fcad3e2
JM
2920 [BZ #5794]
2921 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2922 * sysdeps/i386/fpu/libm-test-ulps: Update.
2923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924
5b8a4d4a
JM
2925 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2927
8fdceb2e
JL
29282012-02-29 Jeff Law <law@redhat.com>
2929
2930 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2931 out of bounds read.
2932
1f393a11
MP
29332012-02-29 Marek Polacek <polacek@redhat.com>
2934
2935 [BZ #13706]
2936 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2937 * elf/Makefile: Add rules to run tst-unused-dep.out.
2938
8847f037
DM
29392012-02-28 David S. Miller <davem@davemloft.net>
2940
2941 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2942 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2945 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2946 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2947
169d7f11
JM
29482012-02-29 Joseph Myers <joseph@codesourcery.com>
2949
2950 * math/libm-test.inc (llround_test): Move one test from
2951 lround_test. Use TEST_f_L in moved test.
2952 (lround_test): Move misplaced test to llround_test. Add testcase
2953 from bug 2561.
2954
39adf059
UD
29552012-02-28 Ulrich Drepper <drepper@gmail.com>
2956
2957 * sysdeps/x86_64/fpu/e_expf.S: New file.
2958 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2959
71b5d1c5
SB
29602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2961
2962 [BZ #13637]
2963 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2964 of remain_len that may cause incomplete multi-byte character and
2965 false match.
2966 * posix/bug-regex33.c: New file.
2967 * posix/Makefile (tests): Add bug-regex33.
2968
1f77f049
JM
29692012-02-28 Joseph Myers <joseph@codesourcery.com>
2970
2971 * manual/macros.texi: New file.
2972 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2973 * manual/libc.texinfo: Include macros.texi.
2974 * manual/creatute.texi: Likewise.
2975 * manual/install.texi: Likewise.
2976 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2977 @glibcadj{} in references to the GNU C Library.
2978 * manual/charset.texi: Likewise.
2979 * manual/conf.texi: Likewise.
2980 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2981 when not using those macros.
2982 * manual/creature.texi: Likewise.
2983 * manual/crypt.texi: Likewise.
2984 * manual/errno.texi: Likewise.
2985 * manual/filesys.texi: Likewise.
2986 * manual/header.texi: Likewise.
2987 * manual/install.texi: Likewise.
2988 * manual/intro.texi: Likewise.
2989 * manual/io.texi: Likewise.
2990 * manual/job.texi: Likewise.
2991 * manual/lang.texi: Likewise.
2992 * manual/libc.texiinfo: Likewise.
2993 * manual/llio.texi: Likewise.
2994 * manual/locale.texi: Likewise.
2995 * manual/maint.texi: Likewise.
2996 * manual/math.texi: Likewise.
2997 * manual/memory.texi: Likewise.
2998 * manual/message.texi: Likewise.
2999 * manual/nss.texi: Likewise.
3000 * manual/pattern.texi: Likewise.
3001 * manual/process.texi: Likewise.
3002 * manual/resource.texi: Likewise.
3003 * manual/search.texi: Likewise.
3004 * manual/setjmp.texi: Likewise.
3005 * manual/signal.texi: Likewise.
3006 * manual/socket.texi: Likewise.
3007 * manual/startup.texi: Likewise.
3008 * manual/stdio.texi: Likewise.
3009 * manual/string.texi: Likewise.
3010 * manual/sysinfo.texi: Likewise.
3011 * manual/syslog.texi: Likewise.
3012 * manual/terminal.texi: Likewise.
3013 * manual/time.texi: Likewise.
3014 * manual/users.texi: Likewise.
3015 * INSTALL: Regenerated.
3016 * NOTES: Regenerated.
d40c5d54 3017 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3018
450bf206
AS
30192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3020
3021 * include/dirent.h: Include <dirstream.h> before
3022 <dirent/dirent.h>.
3023
741a235b
DM
30242012-02-28 David S. Miller <davem@davemloft.net>
3025
3026 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3027 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3028 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3029 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3030
d6b5aa58
DM
30312012-02-27 David S. Miller <davem@davemloft.net>
3032
1aff59a3
DM
3033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3035 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3036 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3037
d6b5aa58
DM
3038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3039 frame pointer instead of stack pointer relative arg slot.
3040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3041 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3042 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3043
433f48bf
CD
30442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3045
3046 [BZ #3992]
3047 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3048
d674b76d
DM
30492012-02-27 David S. Miller <davem@davemloft.net>
3050
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3055 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3056 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3057 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3058 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3059
0e7727f7
JM
30602012-02-27 Joseph Myers <joseph@codesourcery.com>
3061
3062 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3063 later. Allow versions 5-9.
43be4ca2 3064 * configure: Regenerated.
0e7727f7
JM
3065 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3066 required minimum version and 4.6 as recommended version. Do not
3067 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3068 * INSTALL: Regenerated.
0e7727f7 3069
a78bc654
DM
30702012-02-27 David S. Miller <davem@davemloft.net>
3071
428d5830
DM
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3076 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3077 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3078 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3079 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3080
a78bc654
DM
3081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3082 manipulate bits before adding and subtracting TWO112[sx].
3083 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3084
4579f81c
RM
30852012-02-27 Roland McGrath <roland@hack.frob.com>
3086
36c8acb4
RM
3087 [BZ #13775]
3088 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3089 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3090 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3091 being in POSIX, because they are in 1003.1-2008.
3092
84ad622b
RM
3093 * rt/tst-aio.c: Include <fcntl.h>.
3094 * rt/tst-aio7.c: Likewise.
3095 * rt/tst-aio64.c: Likewise.
3096
4579f81c
RM
3097 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3098
abd923db
JM
30992012-02-27 Joseph Myers <joseph@codesourcery.com>
3100
3101 * manual/install.texi (--with-headers): Describe headers as
3102 interface headers, not private headers.
3103 (Specific advice for GNU/Linux systems): Describe use of headers
3104 from "make headers_install", not private headers from older
3105 kernels.
43be4ca2 3106 * INSTALL: Regenerated.
abd923db
JM
3107 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3108 Change to 2.6.19.
3109 * sysdeps/unix/sysv/linux/configure: Regenerated.
3110
6664049b
JM
3111 * manual/llio.texi (fclean): Remove documentation.
3112
bb8b6697
JM
3113 * manual/Makefile (libc-texi-generated): New variable. Include
3114 version.texi.
3115 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3116 $(libc-texi-generated), not duplicated list of files.
3117 (version.texi, stamp-version): New rules.
3118 (realclean): Remove $(libc-texi-generated), not individual files
3119 from that list. Do not remove dir-add.texinfo.
3120 * manual/libc.texinfo: Comment out uses of edition numbers and
3121 references to printed manual. Remove last-updated dates.
3122 (EDITION): Comment out.
3123 (ISBN): Likewise.
3124 (VERSION, UPDATED): Remove.
3125 (version.texi): Include.
3126
12e5c3b9
AS
31272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3128
3129 * sysdeps/posix/spawni.c: Include <signal.h>.
3130 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3131 * sysdeps/pthread/aio_fsync.c: Likewise.
3132
4efeffc1 31332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3134
ba63ba08
UD
3135 * conform/Makefile (tests): Run only when not cross-compiling and
3136 when fast-check is not defined.
3137
d94a4670
UD
3138 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3139 * conform/data/limits.h-data: Fixes for POSIX2008.
3140 * conform/run-conformtest.sh: Run all tests.
3141 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3142 headers.
3143 * include/bits/dlfcn.h: Likewise.
3144 * include/langinfo.h: Likewise.
3145 * include/monetary.h: Likewise.
3146 * include/sys/poll.h: Likewise.
3147
3148 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3149 for __USE_GNU.
3150 * posix/spawn.h: Define __need_sigset_t.
3151 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3152 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3153 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3154 to get sigevent_t only.
3155 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3156 only for __USE_GNU.
3157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3158 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3159 process_vm_writev only for __USE_GNU.
3160 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3161
3162 * conform/Makefile: For now ignore errors from run-conformtest.
3163 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3164 POSIX to avoid namespace pollution. Don't prepend headers.
3165 * conform/data/aio.h-data: Fixes for POSIX testing.
3166 * conform/data/fcntl.h-data: Likewise.
3167 * conform/data/glob.h-data: Likewise.
3168 * conform/data/grp.h-data: Likewise.
3169 * conform/data/pthread.h-data: Likewise.
3170 * conform/data/pwd.h-data: Likewise.
3171 * conform/data/signal.h-data: Likewise.
3172 * conform/data/spawn.h-data: Likewise.
3173 * conform/data/stdio.h-data: Likewise.
3174 * conform/data/stdlib.h-data: Likewise.
3175 * conform/data/stropts.h-data: Likewise.
3176 * conform/data/sys/mman.h-data: Likewise.
3177 * conform/data/sys/stat.h-data: Likewise.
3178 * conform/data/sys/types.h-data: Likewise.
3179 * conform/data/sys/wait.h-data: Likewise.
3180 * conform/data/time.h-data: Likewise.
3181 * conform/data/unistd.h-data: Likewise.
3182 * conform/data/utime.h-data: Likewise.
3183
3184 * io/sys/stat.h: fchmod was always in POSIX.
3185 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3186 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3187 * rt/aio.h: Define __need_timespec before including <time.h>.
3188 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3189 struct. Add forward declaration of pthread_attr_t and use it in
3190 sigevent.
3191 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3192 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3193 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3194 always remove CLK_TCK definition.
3195
c20105c3
AS
31962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3197
3198 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3199
7a270350
UD
32002012-02-25 Ulrich Drepper <drepper@gmail.com>
3201
31341567
UD
3202 * conform/run-conformtest.sh: New file.
3203 * conform/Makefile: Run run-conformtest for tests.
3204 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3205 support.
3206
3207 * conform/data/uchar.h-data: New file.
3208 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3209 * conform/data/arpa/inet.h-data: Likewise.
3210 * conform/data/assert.h-data: Likewise.
3211 * conform/data/complex.h-data: Likewise.
3212 * conform/data/cpio.h-data: Likewise.
3213 * conform/data/ctype.h-data: Likewise.
3214 * conform/data/dirent.h-data: Likewise.
3215 * conform/data/dlfcn.h-data: Likewise.
3216 * conform/data/errno.h-data: Likewise.
3217 * conform/data/fcntl.h-data: Likewise.
3218 * conform/data/float.h-data: Likewise.
3219 * conform/data/fmtmsg.h-data: Likewise.
3220 * conform/data/fnmatch.h-data: Likewise.
3221 * conform/data/ftw.h-data: Likewise.
3222 * conform/data/glob.h-data: Likewise.
3223 * conform/data/grp.h-data: Likewise.
3224 * conform/data/iconv.h-data: Likewise.
3225 * conform/data/inttypes.h-data: Likewise.
3226 * conform/data/langinfo.h-data: Likewise.
3227 * conform/data/libgen.h-data: Likewise.
3228 * conform/data/limits.h-data: Likewise.
3229 * conform/data/locale.h-data: Likewise.
3230 * conform/data/math.h-data: Likewise.
3231 * conform/data/monetary.h-data: Likewise.
3232 * conform/data/mqueue.h-data: Likewise.
3233 * conform/data/ndbm.h-data: Likewise.
3234 * conform/data/net/if.h-data: Likewise.
3235 * conform/data/netdb.h-data: Likewise.
3236 * conform/data/netinet/in.h-data: Likewise.
3237 * conform/data/nl_types.h-data: Likewise.
3238 * conform/data/poll.h-data: Likewise.
3239 * conform/data/pthread.h-data: Likewise.
3240 * conform/data/pwd.h-data: Likewise.
3241 * conform/data/regex.h-data: Likewise.
3242 * conform/data/sched.h-data: Likewise.
3243 * conform/data/search.h-data: Likewise.
3244 * conform/data/semaphore.h-data: Likewise.
3245 * conform/data/setjmp.h-data: Likewise.
3246 * conform/data/signal.h-data: Likewise.
3247 * conform/data/spawn.h-data: Likewise.
3248 * conform/data/stdarg.h-data: Likewise.
3249 * conform/data/stdio.h-data: Likewise.
3250 * conform/data/stdlib.h-data: Likewise.
3251 * conform/data/string.h-data: Likewise.
3252 * conform/data/strings.h-data: Likewise.
3253 * conform/data/stropts.h-data: Likewise.
3254 * conform/data/sys/ipc.h-data: Likewise.
3255 * conform/data/sys/mman.h-data: Likewise.
3256 * conform/data/sys/msg.h-data: Likewise.
3257 * conform/data/sys/resource.h-data: Likewise.
3258 * conform/data/sys/select.h-data: Likewise.
3259 * conform/data/sys/sem.h-data: Likewise.
3260 * conform/data/sys/shm.h-data: Likewise.
3261 * conform/data/sys/socket.h-data: Likewise.
3262 * conform/data/sys/stat.h-data: Likewise.
3263 * conform/data/sys/statvfs.h-data: Likewise.
3264 * conform/data/sys/time.h-data: Likewise.
3265 * conform/data/sys/timeb.h-data: Likewise.
3266 * conform/data/sys/times.h-data: Likewise.
3267 * conform/data/sys/types.h-data: Likewise.
3268 * conform/data/sys/uio.h-data: Likewise.
3269 * conform/data/sys/un.h-data: Likewise.
3270 * conform/data/sys/utsname.h-data: Likewise.
3271 * conform/data/sys/wait.h-data: Likewise.
3272 * conform/data/syslog.h-data: Likewise.
3273 * conform/data/tar.h-data: Likewise.
3274 * conform/data/termios.h-data: Likewise.
3275 * conform/data/utime.h-data: Likewise.
3276 * conform/data/utmpx.h-data: Likewise.
3277 * conform/data/varargs.h-data: Likewise.
3278 * conform/data/wchar.h-data: Likewise.
3279 * conform/data/wctype.h-data: Likewise.
3280 * conform/data/wordexp.h-data: Likewise.
3281
3282 * include/stropts.h: New file.
3283 * include/uchar.h: New file.
3284 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3285 * include/assert.h: Likewise.
3286 * include/ctype.h: Likewise.
3287 * include/dirent.h: Likewise.
3288 * include/dlfcn.h: Likewise.
3289 * include/fcntl.h: Likewise.
3290 * include/fnmatch.h: Likewise.
3291 * include/glob.h: Likewise.
3292 * include/grp.h: Likewise.
3293 * include/libio.h: Likewise.
3294 * include/locale.h: Likewise.
3295 * include/math.h: Likewise.
3296 * include/net/if.h: Likewise.
3297 * include/netdb.h: Likewise.
3298 * include/netinet/in.h: Likewise.
3299 * include/pthread.h: Likewise.
3300 * include/pwd.h: Likewise.
3301 * include/regex.h: Likewise.
3302 * include/sched.h: Likewise.
3303 * include/search.h: Likewise.
3304 * include/setjmp.h: Likewise.
3305 * include/signal.h: Likewise.
3306 * include/stdio.h: Likewise.
3307 * include/stdlib.h: Likewise.
3308 * include/string.h: Likewise.
3309 * include/sys/cdefs.h: Likewise.
3310 * include/sys/mman.h: Likewise.
3311 * include/sys/msg.h: Likewise.
3312 * include/sys/resource.h: Likewise.
3313 * include/sys/select.h: Likewise.
3314 * include/sys/socket.h: Likewise.
3315 * include/sys/stat.h: Likewise.
3316 * include/sys/statvfs.h: Likewise.
3317 * include/sys/time.h: Likewise.
3318 * include/sys/times.h: Likewise.
3319 * include/sys/uio.h: Likewise.
3320 * include/sys/utsname.h: Likewise.
3321 * include/sys/wait.h: Likewise.
3322 * include/termios.h: Likewise.
3323 * include/time.h: Likewise.
3324 * include/ulimit.h: Likewise.
3325 * include/unistd.h: Likewise.
3326 * include/utime.h: Likewise.
3327 * include/wchar.h: Likewise.
3328 * include/wctype.h: Likewise.
3329 * include/wordexp.h: Likewise.
3330
3331 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3332
7a270350
UD
3333 * time/time.h: TIME_UTC must be a macro.
3334 Make timespec_get available for ISO C11 only as well.
3335
7724defc
UD
33362012-02-24 Ulrich Drepper <drepper@gmail.com>
3337
3338 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3339 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3340
6b1d1d46
JM
33412012-02-24 Joseph Myers <joseph@codesourcery.com>
3342
3343 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3344
0f8bbd69
JM
33452012-02-24 Joseph Myers <joseph@codesourcery.com>
3346
3347 * manual/texinfo.tex: Update to version 2012-01-19.16.
3348
66ab80bc
JM
33492012-02-24 Joseph Myers <joseph@codesourcery.com>
3350
3351 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3352
74981cc5
RM
33532012-02-24 Roland McGrath <roland@hack.frob.com>
3354
ee968201
RM
3355 [BZ #13738]
3356 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3357 * manual/fdl-1.3.texi: New file.
3358 * manual/fdl-1.1.texi: File removed.
3359
74981cc5
RM
3360 [BZ #13738]
3361 * manual/libc.texinfo (FDL_VERSION): New @set.
3362 Use it for mention of FDL in cover text.
3363 (Documentation License): Use it in @include file name.
3364
7bb764bc
JM
33652012-02-22 Joseph Myers <joseph@codesourcery.com>
3366 Roland McGrath <roland@hack.frob.com>
3367
3368 [BZ #5461]
3369 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3370 not LONG_LONG_MAX and LONG_LONG_MIN.
3371 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3372 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3373 name.
3374 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3375
6cbeae47
JM
33762012-02-22 Joseph Myers <joseph@codesourcery.com>
3377
3378 [BZ #2547]
3379 [BZ #11365]
3380 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3381 manipulate bits before adding and subtracting TWO23[sx].
3382 * math/libm-test.inc (nearbyint_test): Add more tests.
3383
fe45ce09
JM
33842012-02-22 Joseph Myers <joseph@codesourcery.com>
3385
3386 [BZ #2548]
3387 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3388 bits before adding and subtracting TWO23[sx].
3389 * math/libm-test.inc (rint_test): Add more tests.
3390 (rint_test_tonearest): Likewise.
3391 (rint_test_towardzero): Likewise.
3392 (rint_test_downward): Likewise.
3393 (rint_test_upward: Likewise.
3394
ff3b3d82
JM
33952012-02-22 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #10110]
3398 * include/stdc-predef.h: New file. Extracted from features.h.
3399 * include/features.h: Include stdc-predef.h.
3400 * Makefile (headers): Add stdc-predef.h.
3401 * CONFORMANCE (Compiler limitations): Update.
3402
ef0aab35
JM
34032012-02-22 Joseph Myers <joseph@codesourcery.com>
3404
3405 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3406
58639409
DM
34072012-02-21 David S. Miller <davem@davemloft.net>
3408
3409 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3410 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3411
c0e70b25
DM
34122012-02-20 David S. Miller <davem@davemloft.net>
3413
3414 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3415 using a normal save/restore sequence, rather than allocating a
3416 dummy stack frame just to store a frame pointer and restore.
3417 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3418
fb06851d
JM
34192012-02-21 Joseph Myers <joseph@codesourcery.com>
3420
3421 * manual/install.texi: Fix stray word in line-wrapped comment.
3422
7a8b71c3
DM
34232012-02-20 David S. Miller <davem@davemloft.net>
3424
d510c123
DM
3425 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3426 both binutils and gcc support GOTDATA.
3427
0722d7c2
DM
3428 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3429 "rd %pc" in the PIC register setup sequences.
3430
3d2b3019
DM
3431 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3432 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3433 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3434 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3435 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3440 (SYSCALL_ERROR_HANDLER): Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3444 (SYSCALL_ERROR_HANDLER): Likewise.
3445
c80098a9
DM
3446 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3447 (HAVE_GCC_GOTDATA): New.
3448 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3449 relocation support in both binutils and gcc.
3450 * sysdeps/sparc/elf/configure: Regenerate.
3451
3a2545a0
DM
3452 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3453 * sysdeps/sparc/sparc32/elf/configure: Delete.
3454 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3455 * sysdeps/sparc/sparc64/elf/configure: Delete.
3456 * sysdeps/sparc/elf/configure.in: New file.
3457 * sysdeps/sparc/elf/configure: Generate.
3458
7a8b71c3
DM
3459 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3460 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3461 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3462 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3463 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3464
f1e86fca
JM
34652012-02-21 Joseph Myers <joseph@codesourcery.com>
3466
3467 * manual/install.texi: Do not mention specific glibc version
3468 numbers.
3469 * manual/libc.texinfo (VERSION, UPDATED): Update.
3470 (@copying): Use @copyright{} and range of years.
3471
0e7dfaef
JM
34722012-02-21 Joseph Myers <joseph@codesourcery.com>
3473
3474 [BZ #13695]
3475 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3476 [crti.S not in sysdirs] (generated): Do not append.
3477 [crti.S not in sysdirs] (omit-deps): Likewise.
3478 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3479 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3480 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3481 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3482 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3483 Likewise.
3484 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3485 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3486 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3487 * csu/defs.awk: Remove file.
3488 * sysdeps/generic/initfini.c: Likewise.
3489 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3490 variable.
3491 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3492 Likewise.
3493
599af3ca
JM
34942012-02-20 Joseph Myers <joseph@codesourcery.com>
3495
3496 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3497 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3500 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3501 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3502 <bits/epoll.h>.
3503 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3504 (__EPOLL_PACKED): Define to empty if not defined by
3505 <bits/epoll.h>.
3506 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3508 bits/epoll.h.
3509
0e499750
JM
35102012-02-20 Joseph Myers <joseph@codesourcery.com>
3511
3512 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3513 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3514 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3515 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3516 <bits/timerfd.h>.
3517 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3519 bits/timerfd.h.
3520
5ad91f6e
JM
35212012-02-20 Joseph Myers <joseph@codesourcery.com>
3522
3523 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3524 in C locale.
3525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3526 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3527 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3529
06b99b02
AJ
35302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3531
3532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3534
7638c0fd
AS
35352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3536
3537 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3538 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3539 defined.
3540 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3541 Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3543 entry for 2.16.
3544
92221550
AJ
35452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3546
3547 * math/w_acos.c: Use non-signaling floating-point comparisons.
3548 * math/w_acosf.c: Likewise.
3549 * math/w_acosh.c: Likewise.
3550 * math/w_acoshf.c: Likewise.
3551 * math/w_acoshl.c: Likewise.
3552 * math/w_acosl.c: Likewise.
3553 * math/w_asin.c: Likewise.
3554 * math/w_asinf.c: Likewise.
3555 * math/w_asinl.c: Likewise.
3556 * math/w_atanh.c: Likewise.
3557 * math/w_atanhf.c: Likewise.
3558 * math/w_atanhl.c: Likewise.
3559 * math/w_exp2.c: Likewise.
3560 * math/w_exp2f.c: Likewise.
3561 * math/w_exp2l.c: Likewise.
3562 * math/w_j0.c: Likewise.
3563 * math/w_j0f.c: Likewise.
3564 * math/w_j0l.c: Likewise.
3565 * math/w_j1.c: Likewise.
3566 * math/w_j1f.c: Likewise.
3567 * math/w_j1l.c: Likewise.
3568 * math/w_jn.c: Likewise.
3569 * math/w_jnf.c: Likewise.
3570 * math/w_log.c: Likewise.
3571 * math/w_log10.c: Likewise.
3572 * math/w_log10f.c: Likewise.
3573 * math/w_log10l.c: Likewise.
3574 * math/w_log2.c: Likewise.
3575 * math/w_log2f.c: Likewise.
3576 * math/w_log2l.c: Likewise.
3577 * math/w_logf.c: Likewise.
3578 * math/w_logl.c: Likewise.
3579 * math/w_sqrt.c: Likewise.
3580 * math/w_sqrtf.c: Likewise.
3581 * math/w_sqrtl.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3584 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3585 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3586 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3587
ebaf36eb
JM
35882012-02-19 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #9739]
3591 * manual/string.texi (strnlen): Use correct parameter name in
3592 equivalent expression.
3593
71c254a6
JM
35942012-02-19 Joseph Myers <joseph@codesourcery.com>
3595
3596 [BZ #11174]
3597 * manual/users.texi (seteuid): Consistently use neweuid for
3598 argument name.
3599
16d2c631
JM
36002012-02-19 Joseph Myers <joseph@codesourcery.com>
3601
3602 [BZ #13704]
3603 * manual/nss.texi (Services in the NSS configuration): Correct
3604 list of services in example configuration file.
3605
cd837b09
NB
36062012-02-19 Nick Bowler <nbowler@draconx.ca>
3607
3608 [BZ #11322]
3609 * manual/arith.texi: Remove statements about negative zero
3610 behaving identically to zero.
3611
02c4bbad
JM
36122012-02-18 Joseph Myers <joseph@codesourcery.com>
3613
3614 [BZ #5993]
3615 * manual/install.texi: Do not document upgrading from libc5.
3616
366842e7
JM
36172012-02-18 Joseph Myers <joseph@codesourcery.com>
3618
3619 [BZ #4596]
3620 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3621
dd54084d
DM
36222012-02-18 David S. Miller <davem@davemloft.net>
3623
3624 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3625 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3626 %o7 across the call.
3627 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3628 instead.
3629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3630 SETUP_PIC_REG_LEAF.
3631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3632 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3633 * sysdeps/sparc/crtn.S: Likewise.
3634
2bcc53a3
UD
36352012-02-17 Ulrich Drepper <drepper@gmail.com>
3636
3637 * aout/Makefile: Remove.
3638
09c093b5
RK
36392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3640
3641 [BZ #13058]
3642 * manual/examples/argp-ex1.c (main): Format definition in GNU
3643 style.
3644 * manual/examples/argp-ex2.c (main): Likewise.
3645 * manual/examples/argp-ex3.c (main): Likewise.
3646 * manual/examples/argp-ex4.c (main): Likewise.
3647 * manual/examples/longopt.c (main): Use new-style prototype
3648 definition.
3649 * manual/examples/strncat.c (main): Specify return type and use
3650 (void) for arguments.
3651 * manual/examples/subopt.c (main): Use char **argv argument.
3652
2ee633a2
JM
36532012-02-17 Joseph Myers <joseph@codesourcery.com>
3654
3655 [BZ #5077]
3656 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3657 rounding modes.
3658
0520adde
FB
36592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3660
3661 [BZ #6907]
3662 * manual/string.texi (strchr): Change when strchrnul is
3663 recommended.
3664
3f4081cd
DGM
36652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3666
3667 [BZ #174]
3668 * manual/locale.texi (setlocale): Document LOCPATH.
3669
d1b10e78
JM
36702012-02-17 Joseph Myers <joseph@codesourcery.com>
3671
3672 [BZ #10210]
3673 * manual/process.texi (execle): Move @dots{} before last argument.
3674
79c6869c
PB
36752012-02-17 Paul Bolle <pebolle@tiscali.nl>
3676
3677 [BZ #12047]
3678 * manual/charset.texi (Generic Charset Conversion): Fix typo
3679 (LC_TYPE -> LC_CTYPE).
3680
cc6e48bc
NB
36812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3682
3683 [BZ #5805]
3684 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3685 (scalbnf): Likewise.
3686 (scalbnl): Likewise.
3687 (scalbln): Likewise.
3688 (scalblnf): Likewise.
3689 (scalblnl): Likewise.
3690 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3691 (vwarnx): Likewise.
3692 (verr): Likewise.
3693 (verrx): Likewise.
3694 * manual/filesys.texi (telldir): Use braces around return type.
3695 * manual/llio.texi (mmap): Add space after comma.
3696 (mmap64): Likewise.
3697 * manual/math.texi (jn): Use @var{} on parameter names.
3698 (jnf): Likewise.
3699 (jnl): Likewise.
3700 (yn): Likewise.
3701 (ynf): Likewise.
3702 (ynl): Likewise.
3703 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3704 line.
3705 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3706 "...".
3707 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3708 (sched_get_priority_max): Likewise.
3709 * manual/signal.texi (sigvec): Add space after comma.
3710 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3711 names.
3712 (if_indextoname): Likewise.
3713 (if_freenameindex): Likewise.
3714 (sendto): Use ',' instead of '.' in prototype.
3715 * manual/startup.texi (syscall): Use @dots{} instead of literal
3716 "...".
3717 * manual/stdio.texi (__fpending): Separate initial words of
3718 paragraph from @deftypefun line.
3719 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3720 "...".
3721 (vsyslog): Use @var{} on parameter names.
3722 * manual/terminal.texi (stty): Use @var{} on parameter names.
3723 * manual/users.texi (getutmp): Use @var{} on parameter names.
3724 (getutmpx): Likewise.
3725
5b23062f
JM
37262012-02-17 Joseph Myers <joseph@codesourcery.com>
3727
3728 [BZ #6884]
3729 * manual/stdio.texi (fopen): Fix typos in description of
3730 ",ccs=STRING".
3731
8dee4833
AJ
37322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3733
3734 [BZ #4026]
3735 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3736 get clock_id definition.
3737
9078ce93
TS
37382012-02-17 Thomas Schwinge <thomas@schwinge.name>
3739
3740 [BZ #4822]
3741 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3742 (madvise): Cast every argument to void on its own.
3743
3835c55f
JM
37442012-02-17 Joseph Myers <joseph@codesourcery.com>
3745
3746 [BZ #9902]
3747 * manual/startup.texi (Exit Status): Fix typo.
3748
35c47e37
JM
37492012-02-17 Joseph Myers <joseph@codesourcery.com>
3750
3751 [BZ #10140]
3752 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3753 * manual/examples/argp-ex2.c: Likewise.
3754 * manual/examples/argp-ex3.c: Likewise.
3755
e3b69ca7
RH
37562012-02-16 Richard Henderson <rth@redhat.com>
3757
3758 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3759 * sysdeps/s390/s390-32/initfini.c: Remove.
3760 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3761 * sysdeps/s390/s390-64/initfini.c: Remove.
3762
df83af67
KK
37632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3764
3765 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3766 compiler output for sysdeps/generic/initfini.c.
3767 * sysdeps/sh/elf/initfini.c: Remove file.
3768
f63f3380
DM
37692012-02-16 David S. Miller <davem@davemloft.net>
3770
fb59b3a4
DM
3771 [BZ #11494]
3772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3773
f63f3380
DM
3774 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3775 * sysdeps/sparc/crti.S: New file.
3776 * sysdeps/sparc/crtn.S: New file.
3777 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3778 * sysdeps/sparc/sparc64/Makefile: Likewise.
3779
df6a4a4a
MF
37802012-02-15 Mike Frysinger <vapier@gentoo.org>
3781
6dd8f3dc 3782 [BZ #3335]
df6a4a4a
MF
3783 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3784
1cac7236
RM
37852012-02-15 Roland McGrath <roland@hack.frob.com>
3786
d2c736f8
RM
3787 [BZ #4822]
3788 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3789
1cac7236
RM
3790 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3791 (write, read, close): Likewise.
3792 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3793
8e475601
JM
37942012-02-15 Joseph Myers <joseph@codesourcery.com>
3795
3796 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3797 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3798 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3799 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3800 <bits/signalfd.h>.
3801 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3803 bits/signalfd.h.
3804
ed656b40
MP
38052012-02-14 Marek Polacek <polacek@redhat.com>
3806
3807 * sysdeps/x86_64/crti.S: New file.
3808 * sysdeps/x86_64/crtn.S: New file.
3809 * sysdeps/x86_64/elf/initfini.c: Remove file.
3810
2a979d3a
JM
38112012-02-13 Joseph Myers <joseph@codesourcery.com>
3812
3813 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3814 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3815 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3816 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3817 <bits/inotify.h>.
3818 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3820 bits/inotify.h.
3821
2a418ac3
JM
38222012-02-13 Joseph Myers <joseph@codesourcery.com>
3823
3824 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3825 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3826 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3827 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3828 <bits/eventfd.h>.
3829 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3831 bits/eventfd.h.
3832
fb779be7
TS
38332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3834
e19e83c5
RM
3835 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3836 __feraiseexcept instead of feraiseexcept.
7c35ffed 3837
fb779be7
TS
3838 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3839 nanosleep invocations.
3840 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3841 strings, and add error checking for a nanosleep invocations.
3842
59ba27a6
PE
38432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3844
3845 Replace FSF snail mail address with URLs, as per GNU coding standards.
3846 Most of the snail mail addresses were wrong anyway, and omitting
3847 them makes the source code easier to maintain. Almost all of the
3848 changes are to license notices and to locale LC_IDENTIFICATION
3849 addresses, except for this one:
3850 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3851 not its snail mail address.
3852
57b957eb
RH
38532012-02-09 Richard Henderson <rth@twiddle.net>
3854
af850b1c
RH
3855 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3856 of kernel-features.h.
3857
57b957eb
RH
3858 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3859
6b73181a
MP
38602012-02-08 Marek Polacek <polacek@redhat.com>
3861
3862 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3863 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3864 * sysdeps/gnu/_G_config.h: Likewise.
3865 * sysdeps/generic/_G_config.h: Likewise.
3866
26ecc33a
AS
38672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3868
6c6dbc63
AS
3869 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3870 tests.
3871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3872
e216c012
AS
3873 * sysdeps/powerpc/powerpc32/crti.S: New file.
3874 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3875 * sysdeps/powerpc/powerpc64/crti.S: New file.
3876 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3877
26ecc33a
AS
3878 * Makeconfig (have-initfini): Don't set.
3879 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3880 * configure.in (nopic_initfini): Don't substitute.
3881 * config.h.in (HAVE_INITFINI): Don't #undef.
3882 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3883 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3884
3add8e13
JM
38852012-02-08 Joseph Myers <joseph@codesourcery.com>
3886
3887 Support crti.S and crtn.S provided directly by architectures.
3888 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3889 [crti.S in sysdirs] (omit-deps): Likewise.
3890 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3891 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3892 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3893 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3894 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3895 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3896 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3897 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3898 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3899 compiler output for sysdeps/generic/initfini.c.
3900 * sysdeps/i386/elf/Makefile: Remove file.
3901 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3902
a22f12b4
MP
39032012-02-07 Marek Polacek <polacek@redhat.com>
3904
3905 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3906 * sysdeps/gnu/_G_config.h: Likewise.
3907 * sysdeps/mach/hurd/_G_config.h: Likewise.
3908
148cf100
MP
39092012-02-07 Marek Polacek <polacek@redhat.com>
3910
3911 * math/Makefile (tests): Add tst-CMPLX2.
3912 * math/tst-CMPLX2.c: New file.
3913
cfdc0dd7
AS
39142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3915
84ba42c4
AS
3916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3917
cfdc0dd7
AS
3918 * math/libm-test.inc (jn_test): Add missing L suffix.
3919
622c86f4
MP
39202012-02-06 Marek Polacek <polacek@redhat.com>
3921
3922 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3923 * sysdeps/i386/fpu/e_powf.S: Likewise.
3924 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3925 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3926 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3927 * sysdeps/i386/fpu/e_pow.S: Likewise.
3928 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3929 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3930 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3931 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3932 * sysdeps/i386/fpu/e_log2.S: Likewise.
3933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3934 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3935 * sysdeps/i386/fpu/e_powl.S: Likewise.
3936 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3937 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3938 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3939 * sysdeps/i386/fpu/e_logl.S: Likewise.
3940 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3941 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3942 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3943 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3945 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3946 * sysdeps/i386/fpu/e_log.S: Likewise.
3947 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3949 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3950 * sysdeps/i386/fpu/e_logf.S: Likewise.
3951 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3952 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3953 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3954 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3955 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3956 * sysdeps/i386/fpu/e_log10.S: Likewise.
3957 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3958 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3959 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3960 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3961 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3962 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3963 * sysdeps/i386/asm-syntax.h: Likewise.
3964 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3965 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3966 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3967 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3968 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3969 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3970 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3971 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3972 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3973 * sysdeps/powerpc/sysdep.h: Likewise.
3974 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3976
d4a54ac6
JM
39772012-02-06 Joseph Myers <joseph@codesourcery.com>
3978
3979 [BZ #411]
3980 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3981
314054ea
JM
39822012-02-06 Joseph Myers <joseph@codesourcery.com>
3983
3984 * sysdeps/i386/sysdep.h: Include <features.h>.
3985 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3986 version.
3987
d8e0ca50
JM
39882012-02-05 Joseph Myers <joseph@codesourcery.com>
3989
3990 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3991 Define.
3992 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3993 LOAD_PIC_REG_STR.
3994
b1da7dd9
JM
39952012-02-03 Joseph Myers <joseph@codesourcery.com>
3996
3997 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3998 (SETUP_PIC_REG): Use GET_PC_THUNK.
3999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4000 macro.
4001
9a1d9254
JM
40022012-02-03 Joseph Myers <joseph@codesourcery.com>
4003
4004 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4005 for non-PIC compilation.
4006 (SETUP_PIC_REG): Add .p2align directive.
4007 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4008 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4023 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4025 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4026 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4039 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4040 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4041 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4042 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4043 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4044 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4045 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4046 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4047 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4048
65dc3b75
JM
40492012-02-03 Joseph Myers <joseph@codesourcery.com>
4050
4051 * math/tst-CMPLX.c: Include <stdio.h>.
4052
d55bf177
JM
40532012-01-31 Joseph Myers <joseph@codesourcery.com>
4054
4055 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4056 float.
4057 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4058 * sysdeps/sparc/bits/mathdef.h: Likewise.
4059
69db4f8f
MP
40602012-01-31 Marek Polacek <polacek@redhat.com>
4061
4062 * libio/libio.h: Don't define _PARAMS.
4063 * locale/programs/config.h: Don't define PARAMS.
4064 * stdlib/strtol_l.c: Likewise.
4065 (__strtol_l): Remove PARAMS from the prototype.
4066
41b81892
UD
40672012-01-31 Ulrich Drepper <drepper@gmail.com>
4068
3b49edc0
UD
4069 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4070 names. Just use the correct names. Remove unnecessary wrapper
4071 functions.
4072 * malloc/arena.c: Likewise.
4073 * malloc/hooks.c: Likewise.
4074
41b81892
UD
4075 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4076 ARENA_TEST says not to. Simplify test for creation of a new arena.
4077 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4078
27a25b6e
UD
40792012-01-30 Ulrich Drepper <drepper@gmail.com>
4080
4081 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4082 into tail calls.
4083 (update_get_addr): New function.
4084 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4085 GET_ADDR_MODULE parameter.
4086
c8a89e7d
JM
40872012-01-30 Joseph Myers <joseph@codesourcery.com>
4088
4089 * crypt/cert.c: Remove __STDC__ conditionals.
4090 * crypt/crypt-entry.c: Likewise.
4091 * crypt/crypt_util.c: Likewise.
4092 * libio/filedoalloc.c: Likewise.
4093 * libio/fileops.c: Likewise.
4094 * libio/genops.c: Likewise.
4095 * libio/iofclose.c: Likewise.
4096 * libio/iofdopen.c: Likewise.
4097 * libio/iofopen.c: Likewise.
4098 * libio/iofopen64.c: Likewise.
4099 * libio/iogetdelim.c: Likewise.
4100 * libio/iopopen.c: Likewise.
4101 * libio/obprintf.c: Likewise.
4102 * libio/oldfileops.c: Likewise.
4103 * libio/oldiofclose.c: Likewise.
4104 * libio/oldiofdopen.c: Likewise.
4105 * libio/oldiofopen.c: Likewise.
4106 * libio/oldiopopen.c: Likewise.
4107 * libio/wfiledoalloc.c: Likewise.
4108 * libio/wgenops.c: Likewise.
4109 * locale/programs/xmalloc.c: Likewise.
4110 * misc/syslog.c: Likewise.
4111 * stdio-common/xbug.c: Likewise.
4112 * string/memchr.c: Likewise.
4113 * string/memcmp.c: Likewise.
4114 * string/memrchr.c: Likewise.
4115 * string/rawmemchr.c: Likewise.
4116 * sysdeps/posix/getcwd.c: Likewise.
4117 * time/strftime_l.c: Likewise.
4118
3b100462
JM
41192012-01-30 Joseph Myers <joseph@codesourcery.com>
4120
4121 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4122 * config.make.in (config-cflags-sse2avx): Define.
4123 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4124 Fix typo.
4125
607998af
CM
41262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4127
4128 * scripts/config.guess: Update from upstream config git repository.
4129 * scripts/config.sub: Likewise.
4130
3601428f
CM
41312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4132
3ac8b282
CM
4133 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4134 (EM_NUM): Update.
4135 (R_TILEPRO_*, R_TILEGX_*): New macros.
4136
e034841e
CM
4137 * scripts/firstversions.awk: Fix bug in version range handling.
4138
540d7568
CM
4139 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4140
3601428f
CM
4141 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4142
463de862
CM
4143 * include/sys/epoll.h: New file.
4144 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4145 libc_hidden_def.
4146
73139a76
UD
41472012-01-28 Ulrich Drepper <drepper@gmail.com>
4148
96bc5b45
UD
4149 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4150 Avoid unnecessary __WORDSIZE == 64 test.
4151 (fmaxf): Use VEX format if possible.
4152 (fmax): Likewise.
4153 (fminf): Likewise.
4154 (fmin): Likewise.
4155
56f6f6a2
UD
4156 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4157 * math/math_private.h: Remove libc_fegetround* and
4158 libc_fesetround*.
4159 * sysdeps/i386/configure.in: Check for -msse2avx.
4160 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4161 also if SSE2AVX is defined.
4162 Remove libc_fegetround* and libc_fesetround*.
4163 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4164 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4165 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4166 of HAS_YMM_USABLE.
4167 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4168 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4169 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4170 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4171 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4172
73139a76
UD
4173 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4174
d73f93a4
AZ
41752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176
4177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4178 size is not set.
4179 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4180
6ee65ed6
UD
41812012-01-27 Ulrich Drepper <drepper@gmail.com>
4182
4183 [BZ #13618]
4184 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4185 relocation.
4186 * Makeconfig (libm): Define.
4187 * elf/Makefile: Add rules to build and run tst-relsort1.
4188 * elf/tst-relsort1.c: New file.
4189 * elf/tst-relsort1mod1.c: New file.
4190 * elf/tst-relsort1mod2.c: New file.
4191
8db21882
JM
41922012-01-27 Joseph Myers <joseph@codesourcery.com>
4193
4194 * math/s_ldexp.c: Remove __STDC__ conditionals.
4195 * math/s_ldexpf.c: Likewise.
4196 * math/s_ldexpl.c: Likewise.
4197 * math/s_nextafter.c: Likewise.
4198 * math/s_nexttowardf.c: Likewise.
4199 * math/s_significand.c: Likewise.
4200 * math/s_significandf.c: Likewise.
4201 * math/s_significandl.c: Likewise.
4202 * math/w_jnl.c: Likewise.
4203 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4204 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4205 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4206 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4207 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4222 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4223 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4225 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4227 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4228 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4231 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4232 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4233 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4234 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4237 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4239 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4240 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4241 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4242 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4243 * sysdeps/ieee754/k_standard.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4305 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4319 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4323 * sysdeps/ieee754/s_matherr.c: Likewise.
4324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4328
965a54a4
JM
43292012-01-26 Joseph Myers <joseph@codesourcery.com>
4330
4331 * crypt/md5.h: Remove __STDC__ conditionals.
4332 * libio/libioP.h: Likewise.
4333 * locale/programs/config.h: Likewise.
4334 * sysdeps/generic/sysdep.h: Likewise.
4335 * sysdeps/i386/asm-syntax.h: Likewise.
4336 * sysdeps/s390/asm-syntax.h: Likewise.
4337 * sysdeps/unix/sysdep.h: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4340
7071ad79
JM
43412012-01-26 Joseph Myers <joseph@codesourcery.com>
4342
4343 * libio/libio.h: Remove __STDC__ conditionals.
4344 * malloc/obstack.h: Likewise.
4345 * math/complex.h: Likewise.
4346 * math/math.h: Likewise.
4347 * sysdeps/generic/_G_config.h: Likewise.
4348 * sysdeps/gnu/_G_config.h: Likewise.
4349 * sysdeps/mach/hurd/_G_config.h: Likewise.
4350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4352 * sysdeps/sparc/bits/mathdef.h: Likewise.
4353
afc5ed09
UD
43542012-01-26 Ulrich Drepper <drepper@gmail.com>
4355
4356 [BZ #13583]
4357 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4358 Clean up HAS_* macros.
afc5ed09 4359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4360 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4361 possible.
4362 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4363 HAS_AVX.
4364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4369
bdb6de1d
JM
43702012-01-25 Joseph Myers <joseph@codesourcery.com>
4371
4372 * elf/tst-unique3.cc (gets): Remove declaration.
4373 * elf/tst-unique3lib.cc (gets): Likewise.
4374 * elf/tst-unique3lib2.cc (gets): Likewise.
4375 * elf/tst-unique4.cc (gets): Likewise.
4376
b15549e6
UD
43772012-01-24 Ulrich Drepper <drepper@gmail.com>
4378
4379 * include/stdio.h: Add C++ protection. Add gets declarations and
4380 definitions.
4381 * debug/tst-chk1.c: Don't declare gets here.
4382 * stdio-common/tst-gets.c: Likewise.
4383
a037381f
JM
43842012-01-24 Joseph Myers <joseph@codesourcery.com>
4385
4386 * posix/glob: Remove directory.
4387
f1d4aa75
JM
43882012-01-24 Joseph Myers <joseph@codesourcery.com>
4389
4390 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4391
81c0c964
PT
43922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4393
4394 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4395 of the non-standard EPFNOSUPPORT.
4396
0ea698ae
ST
43972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4398
4399 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4400 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4401 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4402
d220b117
UD
44032012-01-21 Ulrich Drepper <drepper@gmail.com>
4404
4405 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4406
3e1aa84e
UD
44072012-01-20 Ulrich Drepper <drepper@gmail.com>
4408
4409 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4410 transient errors.
4411 * nscd/grpcache.c (cache_addgr): Likewise.
4412 * nscd/hstcache.c (cache_addhst): Likewise.
4413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4414 * nscd/pwdcache.c (cache_addpw): Likewise.
4415 * nscd/servicescache.c (cache_addserv): Likewise.
4416
400aa020
UD
44172012-01-16 Ulrich Drepper <drepper@gmail.com>
4418
d77e7869
UD
4419 * malloc/malloc.c: Various cleanups.
4420 * malloc/hooks.c: Likewise.
4421
400aa020
UD
4422 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4423 * stdlib/bug-fmtmsg1.c: New file.
4424
4425 * stdlib/fmtmsg.c (init): Add missing unlock.
4426 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4427
e0a309cf
MP
44282012-01-12 Marek Polacek <polacek@redhat.com>
4429
4430 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4431 and _GNU_SOURCE.
4432
929d11c7
WS
44332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4434
4435 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4436 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4437 macro to ensure uniqueness of label name.
4438 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4439 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4440
41d0e869
UD
44412012-01-11 Ulrich Drepper <drepper@gmail.com>
4442
0cc5ed3b
UD
4443 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4444
41d0e869
UD
4445 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4446 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4449
a47a831a
UD
44502012-01-10 Ulrich Drepper <drepper@gmail.com>
4451
daa891c0
UD
4452 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4453
4454 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4455 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4457
e58ef0f2
UD
4458 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4459
a47a831a 4460 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4461 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4464
4465 * math/bits/math-finite.h: Add ldexp support.
4466
a0bfc9c7
MP
44672012-01-10 Marek Polacek <polacek@redhat.com>
4468
4469 * locale/programs/localedef.h (show_archive_content): Add noreturn
4470 attribute.
4471
d6e97a1d
UD
44722012-01-09 Ulrich Drepper <drepper@gmail.com>
4473
4474 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4475
d5835c26
UD
44762012-01-08 Ulrich Drepper <drepper@gmail.com>
4477
e5f484c6
UD
4478 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4479
d5835c26
UD
4480 * io/Makefile (headers): Add bits/poll2.h.
4481
d1f741e9
WS
44822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4483
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4485 typo #include statement.
4486
ec09c1c4
UD
44872012-01-08 Ulrich Drepper <drepper@gmail.com>
4488
4489 * include/sys/cdefs.h: Define __attribute_alloc_size.
4490 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4491 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4492 * elf/pldd.c: Likewise.
4493 * iconv/iconv_charmap.c: Likewise.
4494 * iconv/iconvconfig.c: Likewise.
4495 * iconv/strtab.c: Likewise.
4496 * locale/programs/locale.c: Likewise.
4497 * locale/programs/localedef.h: Likewise.
4498 * locale/programs/simple-hash.c: Likewise.
4499 * nscd/nscd.h: Likewise.
4500 * nss/makedb.c: Likewise.
4501 * sysdeps/generic/ldconfig.h: Likewise.
4502 * locale/programs/localedef.c: Remove xmalloc prototype.
4503 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4504
20b38e03
PP
45052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4506
4507 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4508 appropriate.
4509
a0da5fe1
UD
45102012-01-08 Ulrich Drepper <drepper@gmail.com>
4511
1d5a644a 4512 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4513 * math/tst-CMPLX.c: New file.
1d5a644a 4514
8784a6db
UD
4515 * math/complex.h (CMPLXL): Fix typo.
4516
d9a216c0
UD
4517 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4518 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4519 GLIBC_2.16.
4520 * debug/tst-chk1.c: Add poll and ppoll tests.
4521 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4522 * include/sys/poll.h: Add hidden proto for ppoll.
4523 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4524 * sysdeps/mach/hurd/ppoll.c: Likewise.
4525 * io/ppoll.c: Likewise.
4526 * debug/poll_chk.c: New file.
4527 * debug/ppoll_chk.c: New file.
4528 * include/bits/poll2.h: New file.
4529 * io/bits/poll2.h: New file.
4530
ac097f5c
UD
4531 [BZ #1350]
4532 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4533
2119dcfa
UD
4534 * configure.in: static is always set to yes. Remove.
4535 * config.make.in: Don't set build-static.
4536 * Makeconfig: Remove use of build-static.
4537 * dlfcn/Makefile: Likewise.
4538 * elf/Makefile: Likewise.
4539 * math/Makefile: Likewise.
4540 * misc/Makefile: Likewise.
4541 * nptl/Makefile: Likewise.
4542 * sysdeps/mach/hurd/Makefile: Likewise.
4543
121766a9
UD
4544 * configure.in: PWD_P is not used anymore.
4545 * config.make.in: Remove PWD_P entry.
4546
51a1d39c 4547 * configure.in: Remove last remnants of RANLIB.
8720d066 4548 No need to check for signed size_t anymore.
215f4bdc
UD
4549 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4550 and IA-64.
3857022a 4551 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4552 * aclocal.m4: Likewise.
4553
d3ed7225
UD
4554 * wcsmbs/mbrtoc16.c: Implement using towc function.
4555 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4556 * wcsmbs/wcsmbsload.c: Likewise.
4557 * iconv/gconv_simple.c: Likewise.
4558 * iconv/gconv_int.h: Likewise.
4559 * iconv/gconv_builtin.h: Likewise.
4560 * iconv/iconv_prog.c: Remove CHAR16 handling.
4561
4562 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4563
4564 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4565
a0da5fe1
UD
4566 * configure.in: Remove --with-elf and --enable-bounded options.
4567 Dont set base_machine for ia64. More non-ELF conditions removed.
4568 Remove testing and setting of leading underscore information.
4569 * config.make.in (build-bounded): Set to no.
4570 * config.h.in: Remove NO_UNDERSCORES entry.
4571 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4572 them.
4573 * csu/start.c: Remove !NO_UNDERSCORE code.
4574 * locale/localeinfo.h: Likewise.
4575 * sysdeps/generic/machine-gmon.h: Likewise.
4576 * sysdeps/generic/sysdep.h: Likewise.
4577 * sysdeps/i386/sysdep.h: Likewise.
4578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4579 * sysdeps/mach/sysdep.h: Likewise.
4580 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4581 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4582 * sysdeps/sh/sysdep.h: Likewise.
4583 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4584 * sysdeps/unix/i386/sysdep.S: Likewise.
4585 * sysdeps/unix/sparc/start.c: Likewise.
4586 * sysdeps/unix/sparc/sysdep.S: Likewise.
4587 * sysdeps/unix/sparc/sysdep.h: Likewise.
4588 * sysdeps/unix/start.c: Likewise.
4589 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4590 * sysdeps/x86_64/sysdep.h: Likewise.
4591
df78418a
UD
45922012-01-07 Ulrich Drepper <drepper@gmail.com>
4593
a784e502
UD
4594 [BZ #13553]
4595 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4596 for non-gcc.
4597 * argp/argp-fmtstream.h: Use const instead __const.
4598 * argp/argp.h: Likewise.
4599 * assert/assert.h: Likewise.
4600 * bits/fenv.h: Likewise.
4601 * bits/sched.h: Likewise.
4602 * bits/sigset.h: Likewise.
4603 * bits/sigthread.h: Likewise.
4604 * catgets/nl_types.h: Likewise.
4605 * conform/data/pthread.h-data: Likewise.
4606 * crypt/crypt-private.h: Likewise.
4607 * crypt/crypt.h: Likewise.
4608 * crypt/crypt_util.c: Likewise.
4609 * ctype/ctype.h: Likewise.
4610 * debug/execinfo.h: Likewise.
4611 * debug/mbsnrtowcs_chk.c: Likewise.
4612 * debug/mbsrtowcs_chk.c: Likewise.
4613 * debug/wcsnrtombs_chk.c: Likewise.
4614 * debug/wcsrtombs_chk.c: Likewise.
4615 * debug/wcstombs_chk.c: Likewise.
4616 * dirent/dirent.h: Likewise.
4617 * dlfcn/dlfcn.h: Likewise.
4618 * elf/neededtest4.c: Likewise.
4619 * grp/grp.h: Likewise.
4620 * gshadow/gshadow.h: Likewise.
4621 * iconv/gconv.h: Likewise.
4622 * iconv/gconv_int.h: Likewise.
4623 * iconv/gconv_simple.c: Likewise.
4624 * iconv/iconv.h: Likewise.
4625 * iconv/loop.c: Likewise.
4626 * iconv/skeleton.c: Likewise.
4627 * include/aio.h: Likewise.
4628 * include/aliases.h: Likewise.
4629 * include/argz.h: Likewise.
4630 * include/arpa/inet.h: Likewise.
4631 * include/assert.h: Likewise.
4632 * include/dirent.h: Likewise.
4633 * include/dlfcn.h: Likewise.
4634 * include/execinfo.h: Likewise.
4635 * include/fcntl.h: Likewise.
4636 * include/fenv.h: Likewise.
4637 * include/glob.h: Likewise.
4638 * include/grp.h: Likewise.
4639 * include/libintl.h: Likewise.
4640 * include/mntent.h: Likewise.
4641 * include/netdb.h: Likewise.
4642 * include/pwd.h: Likewise.
4643 * include/rpc/netdb.h: Likewise.
4644 * include/sched.h: Likewise.
4645 * include/search.h: Likewise.
4646 * include/shadow.h: Likewise.
4647 * include/signal.h: Likewise.
4648 * include/stdio.h: Likewise.
4649 * include/stdlib.h: Likewise.
4650 * include/string.h: Likewise.
4651 * include/sys/socket.h: Likewise.
4652 * include/sys/stat.h: Likewise.
4653 * include/sys/statfs.h: Likewise.
4654 * include/sys/statvfs.h: Likewise.
4655 * include/sys/syslog.h: Likewise.
4656 * include/sys/time.h: Likewise.
4657 * include/sys/uio.h: Likewise.
4658 * include/time.h: Likewise.
4659 * include/unistd.h: Likewise.
4660 * include/utmp.h: Likewise.
4661 * include/wchar.h: Likewise.
4662 * include/wctype.h: Likewise.
4663 * inet/aliases.h: Likewise.
4664 * inet/arpa/inet.h: Likewise.
4665 * inet/netinet/ether.h: Likewise.
4666 * inet/netinet/in.h: Likewise.
4667 * intl/libintl.h: Likewise.
4668 * io/bits/fcntl2.h: Likewise.
4669 * io/fcntl.h: Likewise.
4670 * io/ftw.h: Likewise.
4671 * io/sys/poll.h: Likewise.
4672 * io/sys/stat.h: Likewise.
4673 * io/sys/statfs.h: Likewise.
4674 * io/sys/statvfs.h: Likewise.
4675 * io/utime.h: Likewise.
4676 * libio/bits/stdio.h: Likewise.
4677 * libio/bits/stdio2.h: Likewise.
4678 * libio/libio.h: Likewise.
4679 * libio/libioP.h: Likewise.
4680 * libio/stdio.h: Likewise.
4681 * locale/lc-ctype.c: Likewise.
4682 * locale/locale.h: Likewise.
4683 * login/utmp.h: Likewise.
4684 * malloc/arena.c: Likewise.
4685 * malloc/malloc.c: Likewise.
4686 * malloc/malloc.h: Likewise.
4687 * malloc/mcheck.c: Likewise.
4688 * malloc/mtrace.c: Likewise.
4689 * math/bits/mathcalls.h: Likewise.
4690 * math/fenv.h: Likewise.
4691 * math/math_private.h: Likewise.
4692 * misc/bits/error.h: Likewise.
4693 * misc/bits/syslog.h: Likewise.
4694 * misc/err.h: Likewise.
4695 * misc/error.h: Likewise.
4696 * misc/fstab.h: Likewise.
4697 * misc/mntent.h: Likewise.
4698 * misc/regexp.h: Likewise.
4699 * misc/search.h: Likewise.
4700 * misc/sgtty.h: Likewise.
4701 * misc/sys/mman.h: Likewise.
4702 * misc/sys/syslog.h: Likewise.
4703 * misc/sys/uio.h: Likewise.
4704 * misc/sys/xattr.h: Likewise.
4705 * misc/ttyent.h: Likewise.
4706 * nis/rpcsvc/ypclnt.h: Likewise.
4707 * nss/nss.h: Likewise.
4708 * posix/bits/unistd.h: Likewise.
4709 * posix/fnmatch.h: Likewise.
4710 * posix/glob.h: Likewise.
4711 * posix/sched.h: Likewise.
4712 * posix/spawn.h: Likewise.
4713 * posix/sys/wait.h: Likewise.
4714 * posix/unistd.h: Likewise.
4715 * posix/wordexp.h: Likewise.
4716 * pwd/pwd.h: Likewise.
4717 * resolv/netdb.h: Likewise.
4718 * resource/sys/resource.h: Likewise.
4719 * rt/aio.h: Likewise.
4720 * rt/bits/mqueue2.h: Likewise.
4721 * rt/mqueue.h: Likewise.
4722 * shadow/shadow.h: Likewise.
4723 * signal/signal.h: Likewise.
4724 * socket/send.c: Likewise.
4725 * socket/sendto.c: Likewise.
4726 * socket/sys/socket.h: Likewise.
4727 * stdio-common/printf.h: Likewise.
4728 * stdlib/bits/stdlib.h: Likewise.
4729 * stdlib/fmtmsg.h: Likewise.
4730 * stdlib/monetary.h: Likewise.
4731 * stdlib/stdlib.h: Likewise.
4732 * stdlib/ucontext.h: Likewise.
4733 * streams/stropts.h: Likewise.
4734 * string/argz.h: Likewise.
4735 * string/bits/string2.h: Likewise.
4736 * string/string.h: Likewise.
4737 * string/strings.h: Likewise.
4738 * sunrpc/rpc/auth.h: Likewise.
4739 * sunrpc/rpc/auth_des.h: Likewise.
4740 * sunrpc/rpc/clnt.h: Likewise.
4741 * sunrpc/rpc/netdb.h: Likewise.
4742 * sunrpc/rpc/pmap_clnt.h: Likewise.
4743 * sunrpc/rpc/xdr.h: Likewise.
4744 * sysdeps/generic/inttypes.h: Likewise.
4745 * sysdeps/generic/net/if.h: Likewise.
4746 * sysdeps/generic/sys/swap.h: Likewise.
4747 * sysdeps/gnu/net/if.h: Likewise.
4748 * sysdeps/gnu/utmpx.h: Likewise.
4749 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4750 * sysdeps/i386/i486/bits/string.h: Likewise.
4751 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4752 * sysdeps/s390/bits/string.h: Likewise.
4753 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4754 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4755 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4756 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4757 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4758 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4759 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4760 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4761 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4762 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4763 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4764 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4765 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4766 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4767 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4768 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4769 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4774 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4775 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4776 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4777 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4778 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4779 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4781 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4783 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4784 * sysvipc/sys/ipc.h: Likewise.
4785 * sysvipc/sys/msg.h: Likewise.
4786 * sysvipc/sys/sem.h: Likewise.
4787 * sysvipc/sys/shm.h: Likewise.
4788 * termios/termios.h: Likewise.
4789 * time/sys/time.h: Likewise.
4790 * time/time.h: Likewise.
4791 * wcsmbs/bits/wchar2.h: Likewise.
4792 * wcsmbs/uchar.h: Likewise.
4793 * wcsmbs/wchar.h: Likewise.
4794 * wctype/wctype.h: Likewise.
4795
0269750c
UD
4796 [BZ #13551]
4797 * Makeconfig: Remove all but ELF support including AIX support.
4798 * Makerules: Likewise.
4799 * config.h.in: Likewise.
4800 * config.make.in: Likewise.
4801 * configure: Likewise.
4802 * configure.in: Likewise.
4803 * csu/Makefile: Likewise.
4804 * csu/version.c: Likewise.
4805 * debug/Makefile: Likewise.
4806 * dlfcn/Makefile: Likewise.
4807 * elf/Makefile: Likewise.
4808 * extra-lib.mk: Likewise.
4809 * iconv/Makefile: Likewise.
4810 * include/libc-symbols.h: Likewise.
4811 * include/shlib-compat.h: Likewise.
4812 * resolv/Makefile: Likewise.
4813 * resolv/res_libc.c: Likewise.
4814 * rt/Makefile: Likewise.
4815 * sysdeps/i386/asm-syntax.h: Likewise.
4816 * sysdeps/i386/sysdep.h: Likewise.
4817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4818 * sysdeps/mach/sysdep.h: Likewise.
4819 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4820 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4821 * sysdeps/s390/asm-syntax.h: Likewise.
4822 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4823 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4824 * sysdeps/sh/sysdep.h: Likewise.
4825 * sysdeps/unix/sparc/sysdep.h: Likewise.
4826 * sysdeps/wordsize-32/divdi3.c: Likewise.
4827 * sysdeps/x86_64/sysdep.h: Likewise.
4828
00bbd29b
UD
4829 * argp/Versions: Remove _argp_unlock_xxx.
4830
4831 [BZ #13559]
4832 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4833 * abilist/libBrokenLocale.abilist: Likewise.
4834 * abilist/libanl.abilist: Likewise.
4835 * abilist/libc.abilist: Likewise.
4836 * abilist/libcrypt.abilist: Likewise.
4837 * abilist/libdl.abilist: Likewise.
4838 * abilist/libm.abilist: Likewise.
4839 * abilist/libnsl.abilist: Likewise.
4840 * abilist/libpthread.abilist: Likewise.
4841 * abilist/libresolv.abilist: Likewise.
4842 * abilist/librt.abilist: Likewise.
4843 * abilist/libthread_db.abilist: Likewise.
4844 * abilist/libutil.abilist: Likewise.
4845 * abilist/libnss_db.abilist: New file.
4846
4847 * scripts/abilist.awk: Add support for indirect functions.
4848
a2693a0e
UD
4849 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4850
3f05895f
UD
4851 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4852
ecb6fb48
UD
4853 * shlib-versions: Remove entries for ports architectures.
4854
664f8cb9
UD
4855 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4856 files in ports.
4857 * elf/stackguard-macros.h: Remove support for IA-64.
4858 * elf/tst-auditmod1.c: Likewise.
4859 * sysdeps/generic/ldsodefs.h: Likewise.
4860
7ae81d88
UD
4861 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4862 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4863 configure files.
4864
bdeba135
UD
4865 [BZ #13552]
4866 * configure.in: Remove --enable-omitfp support.
4867 * FAQ.in: Adjust.
4868 * config.make.in: Likewise.
4869 * Makeconfig: Likewise.
4870 * manual/install.texi: Likewise.
4871
d75a0a62
UD
4872 In case anyone cares, the IA-64 architecture could move to ports.
4873 * sysdeps/ia64/*: Removed.
4874 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4875 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4876
dcc9756b
UD
4877 [BZ #13555]
4878 * configure.in: Remove entries for unsupported architectures.
4879
d3761ebc 4880 [BZ #13533]
9954432e
UD
4881 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4882 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4883 routines.
4884 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4885 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4886 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4887 fall back to using wcrtomb.
4888 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4889 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4890 renaming.
4891 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4892 * wcsmbs/tst-c16c32-1.c: New file.
4893
4894 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4895 local variable.
4896
c3a87236
UD
4897 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4898
28926a1b
UD
4899 * elf/tst-unique3.cc: Add explicit declaration of gets.
4900 * elf/tst-unique3lib.cc: Likewise.
4901 * elf/tst-unique3lib2.cc: Likewise.
4902 * elf/tst-unique4.cc: Likewise.
4903
df78418a
UD
4904 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4905
8ecd6b2a
JM
49062012-01-06 Joseph Myers <joseph@codesourcery.com>
4907
4908 [BZ #13566]
4909 * assert/assert.h (static_assert): Don't define for C++.
4910 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4911 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4912
9f115170
UD
49132012-01-03 Ulrich Drepper <drepper@gmail.com>
4914
5e0d0300
UD
4915 * iconv/loop.c (single loop): Fix assertion in storing of
4916 remaining bytes.
4917
9f115170
UD
4918 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4919
81fb02b0
UD
49202012-01-01 Ulrich Drepper <drepper@gmail.com>
4921
4922 * posix/getconf.c: Update copyright year.
4923 * nss/getent.c: Likewise.
a316c1f6 4924 * nss/makedb.c: Likewise.
81fb02b0
UD
4925 * iconv/iconvconfig.c: Likewise.
4926 * iconv/iconv_prog.c: Likewise.
4927 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4928 * elf/pldd.c: Likewise.
4929 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4930 * catgets/gencat.c: Likewise.
4931 * csu/version.c: Likewise.
4932 * elf/ldd.bash.in: Likewise.
4933 * elf/sprof.c (print_version): Likewise.
4934 * locale/programs/locale.c: Likewise.
4935 * locale/programs/localedef.c: Likewise.
a316c1f6 4936 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4937 * nscd/nscd.c (print_version): Likewise.
4938 * debug/xtrace.sh: Likewise.
4939 * malloc/memusage.sh: Likewise.
4940 * malloc/mtrace.pl: Likewise.
4941 * debug/catchsegv.sh: Likewise.
4942
2ba92745
JJ
49432011-12-30 Jakub Jelinek <jakub@redhat.com>
4944
4945 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4946 pure attribute.
4947
dadebdae
UD
49482011-12-24 Ulrich Drepper <drepper@gmail.com>
4949
d3761ebc 4950 [BZ #13533]
db6af3eb
UD
4951 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4952 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4953 transformations.
4954 * iconv/gconv_int.h: Likewise.
4955 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4956 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4957 from libc for GLIBC_2.16.
4958 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4959 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4960 * wcsmbs/uchar.h: Really define mbstate_t.
4961 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4962 * wcsmbs/c16rtomb.c: New file.
4963 * wcsmbs/mbrtoc16.c: New file.
4964 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4965 for C/POSIX locale.
4966 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4967 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4968
dadebdae
UD
4969 * wcsmbs/wchar.h: Add missing __restrict.
4970
67371b56
UD
49712011-12-23 Ulrich Drepper <drepper@gmail.com>
4972
74033a25
UD
4973 [BZ #13532]
4974 * time/Makefile (routines): Add timespec_get.
4975 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4976 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4977 timespec for ISO C11.
4978 * time/timespec_get.c: New file.
4979 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4980 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4981
380d7e87
UD
4982 [BZ #13531]
4983 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4984 * stdlib/stdlib.h: Declare aligned_alloc.
4985 * Versions.def: Add GLIBC_2.16 for libc.
4986 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4987
4e9e7a35
UD
4988 [BZ 13527]
4989 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4990 ISO C11.
4991
380d7e87 4992 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4993 code.
4994
03a71829
UD
4995 [BZ #13528]
4996 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4997
839e283e
UD
4998 [BZ #13529]
4999 * assert/assert.h (static_assert): Define.
5000
ce5294e2 5001 * version.h: Update for 2.16 development version.
90fa7312 5002
8d44e150 5003 [BZ #13526]
d7809905
UD
5004 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5005 _ISOC11_SOURCE.
5006
c0da14cd
UD
5007 * version.h (RELEASE): Bump for 2.15 release.
5008 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5009
530a3249
MP
5010 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5011 Patch by Marek Polacek <mpolacek@redhat.com>.
5012
67371b56
UD
5013 * bits/byteswap.h: Protect long long constants with __extension__.
5014 * sysdeps/i386/bits/byteswap.h: Likewise.
5015 * sysdeps/ia64/bits/byteswap.h: Likewise.
5016 * sysdeps/s390/bits/byteswap.h: Likewise.
5017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5018
15db4de1
LD
50192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5020
5021 [BZ #13540]
bbe315ea
LD
5022 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5023 destination buffer.
15db4de1
LD
5024 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5025
2b2596b1
MP
50262011-12-23 Marek Polacek <polacek@redhat.com>
5027
5028 * elf/dl-addr.c (determine_info): Add inline keyword.
5029 * elf/tst-auditmod4b.c (check_avx): Likewise.
5030 * elf/tst-auditmod6b.c (check_avx): Likewise.
5031 * elf/tst-auditmod6c.c (check_avx): Likewise.
5032 * elf/tst-auditmod7b.c (check_avx): Likewise.
5033
70c6c246
UD
50342011-12-23 Ulrich Drepper <drepper@gmail.com>
5035
5036 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5037 !__SSE_MATH__.
5038
c044cf14
LD
50392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5040
15db4de1 5041 [BZ #13540]
c044cf14
LD
5042 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5043 processing for last bytes.
5044
6b13d9d9
BH
50452011-08-06 Bruno Haible <bruno@clisp.org>
5046
d455f537
BH
5047 [BZ #13061]
5048 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5049 U+0385, not to U+1FEE.
5050
6b13d9d9
BH
5051 [BZ #13062]
5052 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5053 entry for U+00A5 U+0301.
5054
db910efd
UD
50552011-12-22 Ulrich Drepper <drepper@gmail.com>
5056
27deeafc
UD
5057 [BZ #13166]
5058 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5059 buffer for the output is too small.
5060
aed9d171
UD
5061 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5062 optimization.
5063
db910efd
UD
5064 [BZ #13185]
5065 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5066 SSE flags if possible.
5067
2bd779ae
LD
50682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5069
e7f9dac3 5070 [BZ #13540]
2bd779ae
LD
5071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5072 processing for last bytes.
5073
154bfc16
JM
50742011-12-22 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5077 (syscall-list-default-options, syscall-list-default-condition)
5078 (syscall-list-includes): Define.
5079 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5080 list of ABIs and options and #if conditions for each ABI. Do not
5081 handle common syscalls between ABIs specially.
5082 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5083 Remove.
5084 (syscall-list-variants, syscall-list-32bit-options)
5085 (syscall-list-32bit-condition, syscall-list-64bit-options)
5086 (syscall-list-64bit-condition): Define.
5087 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5088 (syscall-list-variants, syscall-list-32bit-options)
5089 (syscall-list-32bit-condition, syscall-list-64bit-options)
5090 (syscall-list-64bit-condition): Define.
5091 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5092 Remove.
5093 (syscall-list-variants, syscall-list-32bit-options)
5094 (syscall-list-32bit-condition, syscall-list-64bit-options)
5095 (syscall-list-64bit-condition): Define.
5096 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5097 Remove.
5098 (syscall-list-variants, syscall-list-32bit-options)
5099 (syscall-list-32bit-condition, syscall-list-64bit-options)
5100 (syscall-list-64bit-condition): Define.
5101
21eaf3a5
UD
51022011-12-22 Ulrich Drepper <drepper@gmail.com>
5103
16c6f992
UD
5104 * locale/iso-639.def: Add brx entry.
5105
41043168
UD
5106 [BZ #13328]
5107 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5108 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5109
21eaf3a5
UD
5110 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5111 __feraiseexcept_renamed.
5112
e3a851a2
UD
51132011-12-21 Ulrich Drepper <drepper@gmail.com>
5114
4920765e
UD
5115 [BZ #13538]
5116 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5117 EPOLLET with unsigned values.
5118 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5119 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5120
e3a851a2
UD
5121 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5122 to large cancellation.
5123 * math/s_cacoshf.c: Likewise.
5124 * math/s_cacoshl.c: Likewise.
5125
b27e24b8
RK
51262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5127
5128 [BZ #13305]
aebefeee 5129 [BZ #12786]
b27e24b8
RK
5130 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5131 * math/s_cacoshf.c: Likewise.
5132 * math/s_cacoshl.c: Likewise.
5133
ee190f67
UD
51342011-12-21 Ulrich Drepper <drepper@gmail.com>
5135
5136 [BZ #13439]
5137 * iconv/gconv.h: Define __GCONV_SWAP.
5138 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5139 * iconvdata/utf-16.c: Likewise.
5140 * iconvdata/utf-32.c: Likewise.
5141
707f25df
AS
51422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5143
5144 [BZ #13524]
5145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5146 numerator after shifting it by one limb.
5147
d2daaa1e
RÁE
51482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5149
5150 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5151 under [__USE_EXTERN_INLINES].
5152
a4647e72
UD
51532011-12-17 Ulrich Drepper <drepper@gmail.com>
5154
5155 [BZ #13446]
5156 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5157
f0b264f1
AZ
51582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5159
5160 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5161 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5162 optimized code.
5163 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5164 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5165 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5166 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5167 for strncasecmp/strncasecmp_l compilation.
5168 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5169 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5170
8ef4f244
MP
51712011-12-08 Marek Polacek <mpolacek@redhat.com>
5172
5173 [BZ #13484]
5174 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5175 of __asm__.
5176
97ac2654
UD
51772011-12-17 Ulrich Drepper <drepper@gmail.com>
5178
5179 [BZ #13506]
5180 * time/tzfile.c (__tzfile_read): Check values from file header.
5181
91d2a845
WS
51822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5183
5184 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5185 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5186 * powerpc/powerpc32/dl-start.S: Likewise.
5187 * powerpc/powerpc32/elf/start.S: Likewise.
5188 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5189 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5190 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5191 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5192 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5193 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5194 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5195 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5196 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5197 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5198 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5199 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5200 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5201 * powerpc/powerpc32/memset.S: Likewise.
5202 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5203 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5204 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5205 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5206 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5207 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5208 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5209 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5210 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5211 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5212 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5213 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5214 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5215
a1267ba1
AZ
52162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * math/libm-test.inc: Added more nearbyint tests.
5219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5223
ad8ac1bd
RL
52242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5225
5226 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5227 FD_CLOEXEC.
5228
1d3e4b61
UD
52292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5230
5231 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5232 Add wcscpy-ssse3 wcscpy-c.
5233 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5234 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5235 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5236 * sysdeps/x86_64/wcschr.S: New file.
5237 * sysdeps/x86_64/wcsrchr.S: New file.
5238 * string/test-strcmp.c: Remove checking of wcscmp function for
5239 wrong alignments.
5240 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5241 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5242 wcsrchr-sse2 wcsrchr-c.
5243 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5244 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5245 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5246 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5247 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5248 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5249 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5250 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5251 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5252 * wcsmbc/wcschr.c (WCSCHR): New macro.
5253
5b330a2d
UD
52542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5255
5256 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5257 * wcsmbs/test-wcsrchr.c: New file.
5258 * string/test-strrchr.c: Add wcsrchr support.
5259 (WIDE): New macro.
5260 * wcsmbs/test-wcscpy.c: New file.
5261 * string/test-strcpy.c: Add wcscpy support.
5262 (WIDE): New macro.
26428b7c 5263
f039c043
UD
52642011-12-10 Ulrich Drepper <drepper@gmail.com>
5265
5266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5267 the inner loop.
5268
850fb039
AS
52692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5270
5271 [BZ #13472]
5272 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5273
4efbd5cb
UD
52742011-12-04 Ulrich Drepper <drepper@gmail.com>
5275
52ff5dd0 5276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5277 Minor optimizations.
52ff5dd0 5278
4efbd5cb
UD
5279 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5280 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5281 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5282
8a426e12
UD
52832011-12-03 Ulrich Drepper <drepper@gmail.com>
5284
aff2453d
UD
5285 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5286 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5287 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5288 for gcc to avoid warnings.
5289 * inet/Makefile (tests): Add tst-checks.
5290 * inet/tst-checks.c: New file.
5291
5292 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5293 warning.
5294
5295 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5296 __wmemcmp_sse2.
5297
5298 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5299 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5300
8a426e12
UD
5301 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5302
9bea3473
UD
53032011-12-02 Ulrich Drepper <drepper@gmail.com>
5304
3a965496
UD
5305 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5306 problem.
5307
9bea3473
UD
5308 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5309
f101631b
UD
53102011-11-29 Joseph Myers <joseph@codesourcery.com>
5311
5312 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5313 conditional on GCC version.
5314 (__arch_compare_and_exchange_val_8_acq)
5315 (__arch_compare_and_exchange_val_16_acq)
5316 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5317 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5318 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5319
a98275aa
UD
53202011-12-02 Joseph Myers <joseph@codesourcery.com>
5321
5322 * sysdeps/sh/backtrace.c: New file.
5323
d4cc29a2
AS
53242011-12-02 Andreas Schwab <schwab@redhat.com>
5325
5326 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5327 parenthesis.
5328
6257af2d
AS
53292011-12-01 Andreas Schwab <schwab@redhat.com>
5330
5331 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5332 falling back to utime.
5333
b5f44c1a
AS
53342011-11-30 Andreas Schwab <schwab@redhat.com>
5335
5336 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5337 expectations for float.
5338
f3a6cc0a
AS
53392011-11-29 Andreas Schwab <schwab@redhat.com>
5340
5341 * locale/weight.h (findidx): Add parameter len.
5342 * locale/weightwc.h (findidx): Likewise.
5343 * posix/fnmatch_loop.c (FCT): Adjust caller.
5344 * posix/regcomp.c (build_equiv_class): Likewise.
5345 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5346 * posix/regexec.c (check_node_accept_bytes): Likewise.
5347 * string/strcoll_l.c (STRCOLL): Likewise.
5348 * string/strxfrm_l.c (STRXFRM): Likewise.
5349
9d65ea3a
UD
53502011-11-17 Ulrich Drepper <drepper@gmail.com>
5351
5352 * Makefile.in: Remove CVSOPT handling.
5353 * configure.in: Remove use of AC_REVISION.
5354 * iconvdata/Makefile (distribute): No need to filter out CVS.
5355 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5356 handling.
5357
5583a086
AS
53582011-11-16 Andreas Schwab <schwab@redhat.com>
5359
5360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5361 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5362 [USE_AS_STRNCASECMP_L]: Likewise.
5363 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5364 NO_TLS_DIRECT_SEG_REFS.
5365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5366 Fix argument offsets for non-PIC.
5367 [USE_AS_STRNCASECMP_L]: Likewise.
5368 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5369 NO_TLS_DIRECT_SEG_REFS.
5370
d62a8200
UD
53712011-11-15 Ulrich Drepper <drepper@gmail.com>
5372
9d65ea3a 5373 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5374 O_CLOEXEC.
5375 * locale/loadlocale.c (_nl_load_locale): Likewise.
5376
09f93bd3
AS
53772011-11-15 Andreas Schwab <schwab@redhat.com>
5378
446514f9
AS
5379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5380 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5381 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5382 (SYSCALL_GETTIME): Set errno on error.
5383
09f93bd3
AS
5384 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5385 count references to noai6ai_cached.
5386
312be3f9
UD
53872011-11-15 Ulrich Drepper <drepper@gmail.com>
5388
5389 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5390
5391 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5392 FD_CLOEXEC for /proc/self/maps.
5393
5394 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5395 FD_CLOEXEC for /proc/meminfo.
5396
5397 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5398 gai.conf.
5399
5400 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5401 FD_CLOEXEC for given file.
5402
5403 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5404
5405 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5406 FD_CLOEXEC for /etc/hosts.
5407 (_gethtent): Likewise.
5408
5409 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5410
5411 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5412 cancellation and set FD_CLOEXEC for /etc/netgroup.
5413
5414 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5415 reading /etc/publickey.
5416
5417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5418 allow cancellation when reading /etc/group.
5419
5420 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5421 cancellation.
5422 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5423
5424 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5425 when using data file.
5426
5427 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5428
5429 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5430 (write_nis_obj): Use "c" and "e" in fopen.
5431
5432 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5433
5434 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5435
5436 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5437
5438 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5439
5440 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5441 locale.alias.
5442
5443 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5444
5445 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5446
5447 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5448
5449 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5450 file parsing and set FD_CLOEXEC.
5451
82af0fa8
UD
54522011-11-14 Ulrich Drepper <drepper@gmail.com>
5453
5454 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5455
a5fb313c
AS
54562011-11-14 Andreas Schwab <schwab@redhat.com>
5457
5458 * malloc/arena.c (arena_get2): Don't call reused_arena when
5459 _int_new_arena failed.
5460
6abf3465
UD
54612011-11-14 Ulrich Drepper <drepper@gmail.com>
5462
5463 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5464 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5467 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5468 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5469 to compile strcasecmp and strncasecmp.
5470 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5471 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5472
5473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5474
76e3966e
UD
54752011-11-13 Ulrich Drepper <drepper@gmail.com>
5476
5477 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5478 locale-defines.sym to gen-as-const-headers.
5479 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5480 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5482 to compile strcasecmp and strncasecmp.
5483 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5484 strcasecmp_l and strncasecmp_l.
5485 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5486 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5487 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5488 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5489 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5490 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5491 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5492 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5493 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5494 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5495 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5496
ab26144e
UD
54972011-11-12 Ulrich Drepper <drepper@gmail.com>
5498
7edb22ef
UD
5499 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5500 result of SYSDEP_GETTIME_CPU to retval.
5501 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5502 parameter list to macro. Remove trailing semicolon. Adjust users.
5503
9694fc44
UD
5504 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5505 variable.
5506
8ad89ef8
UD
5507 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5508 mantissa words.
5509 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5510
0c822ef9
UD
5511 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5512 from unused variable.
5513
874e0564
UD
5514 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5515 DWARF definitions.
5516 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5517 for assembling.
5518
3a2edc79
UD
5519 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5520 over namespaces.
5521
f3c2577f
UD
5522 * sunrpc/rpc_prot.c (rejected): Fix case value.
5523
294ce126
UD
5524 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5525 unsigned long long int to avoid warnings in shift.
5526
5e2b63c6
UD
5527 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5528 of use of trans.
5529 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5530 variable tmp.
5531
e7f4b08e
UD
5532 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5533 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5534 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5535
ab26144e
UD
5536 * nis/nis_table.c (nis_list): Use variable of correct type for
5537 result of __follow_path call.
5538
8a6d5255
AZ
55392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540
5541 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5542 of math functions ceil, trunc, floor, round, and sqrt, when
5543 avaliable on the platform.
5544 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5545 name clash.
5546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5547 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5548 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5549
aaddc98c
MP
55502011-10-30 Marek Polacek <mpolacek@redhat.com>
5551
5552 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5553 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5554
95b7042b
RM
55552011-11-11 Roland McGrath <roland@hack.frob.com>
5556
5557 * include/unistd.h: Fix __readlink return type.
5558 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5559
57769839
UD
55602011-11-11 Ulrich Drepper <drepper@gmail.com>
5561
5562 * stdlib/ucontext.h: Undo last change for makecontext.
5563
edc5984d
AS
55642011-11-11 Andreas Schwab <schwab@redhat.com>
5565
98591e58
AS
5566 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5567
edc5984d
AS
5568 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5569 * setjmp/setjmp.h: Mark functions as non-leaf.
5570 * setjmp/bits/setjmp2.h: Likewise.
5571 * stdlib/ucontext.h: Likewise.
5572
77cdc054
AS
55732011-11-10 Andreas Schwab <schwab@redhat.com>
5574
5575 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5576 (reused_arena): Don't check arena limit.
5577 (arena_get2): Atomically check arena limit.
5578
fe72eebd
UD
55792011-11-08 Ulrich Drepper <drepper@gmail.com>
5580
5f078c32
UD
5581 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5582 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5583
fe72eebd
UD
5584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5585 instructions.
5586
ae1bc2fa
AS
55872011-11-07 Andreas Schwab <schwab@redhat.com>
5588
7583a88d
AS
5589 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5590 handler when locking.
5591
ae1bc2fa
AS
5592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5593 Fix size of allocated buffer.
5594
10fb0bfa
AS
55952011-11-04 Andreas Schwab <schwab@redhat.com>
5596
998832a4
AS
5597 [BZ #10103]
5598 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5599 declarations for long double functions.
5600 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5601
10fb0bfa
AS
5602 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5603
3d7ba52b
AS
56042011-11-03 Andreas Schwab <schwab@redhat.com>
5605
a9ae54a1
AS
5606 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5607 installed.
5608
3d7ba52b
AS
5609 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5610 is disabled.
5611
bc8db248
ST
56122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5613
5614 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5615
45b96dd6
AS
56162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5617
647776f6
AS
5618 * include/alloca.h (stackinfo_alloca_round): Define.
5619 (extend_alloca): Use it.
5620 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5621 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5622 here.
5623
d91a8b93
AS
5624 * scripts/check-local-headers.sh: Ignore libaudit.h.
5625
45b96dd6
AS
5626 * nscd/Makefile (extra-objs): Make recursively expanded.
5627
432d41ce
UD
56282011-11-01 Ulrich Drepper <drepper@gmail.com>
5629
34372fc6
UD
5630 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5632
fadb59f8
UD
5633 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5634 * posix/tst-rfc3484-2.c: Likewise.
5635 * posix/tst-rfc3484-3.c: Likewise.
5636
78239589
UD
5637 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5638 process_vm_writev.
5639 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5640 process_vm_writev.
5641 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5642 process_vm_writev from libc using GLIBC_2.15 version.
5643
432d41ce
UD
5644 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5645
02f9c6cf
PP
56462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5647
5648 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5649 stack usage.
5650
3a2c0242
UD
56512011-10-31 Ulrich Drepper <drepper@gmail.com>
5652
f4ec4833
UD
5653 [BZ #13367]
5654 * nss/getent.c (initgroups_keys): Show error message in case no group
5655 names are given.
5656
3a2c0242
UD
5657 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5658 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5659 __bump_nl_timestamp.
5660 * nscd/connections (nscd_init): When host database is served open
5661 netlink socket and request notification about configuration changes.
5662 (main_loop_poll): Track netlink file descriptor and bump timestamp
5663 in case data becomes available.
5664 (main_loop_epoll): Likewise.
5665 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5666 (database_pers_head): Add extra_data fileds.
5667 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5668 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5669 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5670 Adjust caller.
5671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5672 in6ai data, call __free_in6ai.
5673 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5674 Add -DHAVE_NETLINK.
5675 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5676 interface information. Reuse previous data if netlink timestamp
5677 is not changed.
5678 (__bump_nl_timestamp): New function.
5679 (__free_in6ai): New function.
5680
636064eb
UD
56812011-10-30 Ulrich Drepper <drepper@gmail.com>
5682
5683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5684 close_not_cancel_no_status here.
5685 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5686
9beb2334
UD
56872011-10-29 Ulrich Drepper <drepper@gmail.com>
5688
6ef76f3b
UD
5689 [BZ #13276]
5690 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5691 return value.
5692
0ffc4f3e 5693 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5694 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5695 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5696
cb95113e
UD
56972011-07-03 Andreas Jaeger <aj@suse.de>
5698
5699 [BZ #10709]
5700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5701 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5702 * math/libm-test.inc (sin_test): Add test case.
5703
a1b560ff
UD
57042011-10-29 Ulrich Drepper <drepper@gmail.com>
5705
c9aaface
UD
5706 [BZ #13337]
5707 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5708 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5709
d272e7f1
UD
5710 * elf/chroot_canon.c (chroot_canon): Cleanups.
5711
1bc33071
UD
5712 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5713
1760874d
TJ
5714 [BZ #13335]
5715 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5716 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5717
51d91b18
UD
5718 * string/test-strchr.c: Make usable for strchrnul testing.
5719 * string/test-strchrnul.c: New file.
5720 * string/Makefile (strop-tests): Add strchrnul.
5721
a1b560ff 5722 * po/it.po: Update from translation team.
b611fb81 5723 * po/es.po: Likewise.
a1b560ff 5724
a5b81e1f
UD
57252011-10-28 Ulrich Drepper <drepper@gmail.com>
5726
fd52bc6d
UD
5727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5728 the three constants needed as parameters. Drop the others.
5729 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5730 __m128i_strloadu_tolower.
52e4b9eb
UD
5731 Create and initialize variable zero and use it in all the places
5732 where _mm_setzero_si128 was used.
fd52bc6d 5733
a5b81e1f
UD
5734 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5735 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5736 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5738 anymore.
5739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5740 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5741 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5742 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5743 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5744 __mpranred, __mptan.
5745 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5746 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5747 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5748 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5753 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5754
b4343346
AS
57552011-10-28 Andreas Schwab <schwab@redhat.com>
5756
0c92d8a8
AS
5757 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5758 redefine if SHARED.
5759 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5760
b4343346
AS
5761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5762 wide char related routines to wcsmbs subdir.
5763
3871f58f
AS
57642011-10-27 Andreas Schwab <schwab@redhat.com>
5765
5766 [BZ #13344]
5767 * misc/sys/cdefs.h (__THROWNL): Define.
5768 * posix/unistd.h: Use __THREADNL instead of __THREAD
5769 for memory synchronization functions.
5770
94d44d9f
RM
57712011-10-26 Roland McGrath <roland@hack.frob.com>
5772
21b64b15 5773 [BZ #13349]
94d44d9f
RM
5774 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5775 doesn't exist.
5776 * manual/stdio.texi (Obstack Streams): Node removed.
5777
f6ce9294
AS
57782011-10-26 Andreas Schwab <schwab@redhat.com>
5779
80479147
AS
5780 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5783
f6ce9294
AS
5784 * math/math_private.h (math_force_eval): Allow non-addressable
5785 arguments.
5786 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5787
618280a1
UD
57882011-10-25 Ulrich Drepper <drepper@gmail.com>
5789
e0016b11
UD
5790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5791 file is not needed.
5792
5793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5800 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5801 Add AVX variants.
5802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5807 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5808 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5809 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5810 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5811 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5812 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5813 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5817 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5820 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5821
5822 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5823 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5824
618280a1
UD
5825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5826 place. Use VEX encoding when compiling for AVX.
5827
37822576
AS
58282011-10-25 Andreas Schwab <schwab@redhat.com>
5829
1f1e1947
AS
5830 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5831 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5832
37822576
AS
5833 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5834
31ea014d
UD
58352011-10-25 Ulrich Drepper <drepper@gmail.com>
5836
d7826aa1 5837 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5838 useless if() expression.
d7826aa1
UD
5839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5840 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5843 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5849 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5851 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5852 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5853 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5854 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5855 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5857 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5858
31ea014d
UD
5859 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5860
16437fec
AS
58612011-10-25 Andreas Schwab <schwab@redhat.com>
5862
5863 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5864 condition.
5865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5866
31d3cc00
UD
58672011-10-25 Ulrich Drepper <drepper@gmail.com>
5868
5869 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5870 .text section. Avoid duplicate constants.
5871 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5881 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5883 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5886 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5888 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5894 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5895 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5896 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5897 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5898 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5899 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5900 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5901 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5913 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5914 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5915 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5916
58985aa9
UD
59172011-10-24 Ulrich Drepper <drepper@gmail.com>
5918
202c9deb
UD
5919 * sysdeps/x86_64/dla.h: Move to ...
5920 * sysdeps/x86_64/fpu/dla.h: ...here.
5921 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5922 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5923
af968f62
UD
5924 * config.make.in: Add have-mfma4 entry.
5925 * configure.in: Substitute libc_cv_cc_fma4.
5926 * math/Makefile (dbl-only-routines): Add sincostab.
5927 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5928 Use __sincostab not sincos.
5929 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5930 name is a macro.
5931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5935 using __copysign.
5936 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5937 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5938 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5939 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5940 and __inv.
5941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5942 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5943 __copysign.
5944 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5945 define aliases when function name is a macro.
5946 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5947 sysdeps/ieee754/dbl-64/sincos.tbl.
5948 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5949 fma4-enabled routines.
5950 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5951 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5952 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5953 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5957 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5960 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5961 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5962 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5963 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5964 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5965 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5966 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5967 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5968 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5969 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5970 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5971 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5972 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5976 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5977 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5979 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5980
58985aa9
UD
5981 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5982 rename.
5983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5991
a201fbcf
AS
59922011-10-24 Andreas Schwab <schwab@redhat.com>
5993
5994 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5995
fc2ee42a
LD
59962011-10-23 Ulrich Drepper <drepper@gmail.com>
5997
bb3129bd
UD
5998 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5999
0275fff8
UD
6000 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6001 prediction.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6003
2fa2ae85
UD
6004 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6005 Remove unused variable magic_bits.
6006 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6007
fc2ee42a
LD
6008 * string/strnlen.c: Define and use STRNLEN macro.
6009 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6010 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6012 * wcsmbs/wcslen.c: Define and use WCSLEN.
6013 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6014 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6015 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6016 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6017 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6018 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6019 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6020
ce7dd29f
LD
60212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6022
6023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6024 strnlen-sse2-no-bsf.
6025 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6026 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6027 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6028 Add strnlen support.
6029 (USE_AS_STRNLEN): New macro.
6030 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6032 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6033 * sysdeps/x86_64/wcslen.S: New file.
6034
979c70a3
MZ
60352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6036
6037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6038 XMM-moves are used for copying on small sizes.
6039
2d09f82f
LD
60402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6041
6042 * wcsmbs/Makefile (strop-tests): Add wcschr.
6043 * wcsmbs/test-wcschr.c: New file.
6044 * string/test-strchr.c: Update.
6045 Add wcschr support.
6046 (WIDE): New macro.
6047
619fccca
LD
60482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6049
2d09f82f 6050 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6051 * wcsmbs/test-wcslen.c: New file.
6052 * string/test-strlen.c: Update.
6053 Add wcslen support.
6054 (WIDE): New macro.
6055
09f699ea
UD
60562011-10-23 Ulrich Drepper <drepper@gmail.com>
6057
6058 * po/it.po: Update from translation team.
6059
95584d3b
LD
60602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6061
6062 * sysdeps/x86_64/wcscmp.S: Update.
6063 Fix wrong comparison semantics.
6064 wcscmp shall use signed comparison not unsigned.
6065 Don't use substraction to avoid overflow bug.
6066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6067 * wcsmbc/wcscmp.c: Likewise.
6068 * string/test-strcmp.c: Likewise.
6069 Add new tests to check cases with negative values.
6070
c8b3296b
UD
60712011-10-23 Ulrich Drepper <drepper@gmail.com>
6072
6073 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6074 * sysdeps/x86_64/dla.h: ...here. New file.
6075 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6084
246ad57a
AS
60852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6086
6087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6088 __ynl_finite aliases.
6089
a1a87169
UD
60902011-10-22 Ulrich Drepper <drepper@gmail.com>
6091
0d355eb7
UD
6092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6093
a1a87169
UD
6094 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6095 define DLA_FMA.
6096 [DLA_FMA] (EMULV): Use DLA_FMA.
6097 [DLA_FMA] (MUL12): Use EMULV.
6098 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6099 that are not needed.
6100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6107
ee2aafe0
AS
61082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6109
6110 * math/s_nan.c: Undef __nan.
6111 * math/s_nanf.c: Undef __nanf.
6112 * math/s_nanl.c: Undef __nanl.
6113 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6114 "math_private.h".
6115
bc62c2fb
UD
61162011-10-22 Ulrich Drepper <drepper@gmail.com>
6117
77425c63
UD
6118 * math/s_catan.c: Add branch predictions.
6119 * math/s_catanf.c: Likewise.
6120 * math/s_catanh.c: Likewise.
6121 * math/s_catanhf.c: Likewise.
6122 * math/s_catanhl.c: Likewise.
6123 * math/s_catanl.c: Likewise.
6124 * math/s_cexp.c: Likewise.
6125 * math/s_cexpf.c: Likewise.
6126 * math/s_cexpl.c: Likewise.
6127 * math/s_clog.c: Likewise.
6128 * math/s_clog10.c: Likewise.
6129 * math/s_clog10f.c: Likewise.
6130 * math/s_clog10l.c: Likewise.
6131 * math/s_clogf.c: Likewise.
6132 * math/s_clogl.c: Likewise.
6133 * math/s_csqrt.c: Likewise.
6134 * math/s_csqrtf.c: Likewise.
6135 * math/s_csqrtl.c: Likewise.
6136 * math/s_ctanf.c: Likewise.
6137 * math/s_ctanh.c: Likewise.
6138 * math/s_ctanhf.c: Likewise.
6139 * math/s_ctanhl.c: Likewise.
6140 * math/s_ctanl.c: Likewise.
6141
bc62c2fb
UD
6142 * math/math_private.h: Define __nan, __nanf, __nanl.
6143 * math/s_cacosh.c: Include <math_private.h>.
6144 * math/s_cacoshl.c: Likewise.
6145 * math/s_casinh.c: Likewise.
6146 * math/s_casinhf.c: Likewise.
6147 * math/s_casinhl.c: Likewise.
6148 * math/s_ccos.c: Rely entire on ccosh.
6149 * math/s_ccosf.c: Rely entire on ccoshf.
6150 * math/s_ccosl.c: Rely entirely on ccoshl.
6151 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6152 Remove tests for FE_INVALID.
6153 * math/s_ccoshf.c: Likewise.
6154 * math/s_ccoshl.c: Likewise.
6155 * math/s_csin.c: Likewise.
6156 * math/s_csinf.c: Likewise.
6157 * math/s_csinh.c Likewise.
6158 * math/s_csinhf.c: Likewise.
6159 * math/s_csinhl.c: Likewise.
6160 * math/s_csinl.c: Likewise.
6161 * math/s_ctan.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6163 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6164 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6165
8ec250a4
UD
61662011-10-21 Ulrich Drepper <drepper@gmail.com>
6167
c196fed8
UD
6168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6169 compilation problems.
6170
8ec250a4
UD
6171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6172 __builtin_expect.
6173
8d4f46c6
UD
61742011-10-20 Ulrich Drepper <drepper@gmail.com>
6175
ed72b654
UD
6176 * sysdeps/i386/configure.in: Test for -mfma4 option.
6177 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6178 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6179 COMMON_CPUID_INDEX_80000001.
6180 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6181 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6182 use it if FMA3 is not supported.
6183 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6184
8d4f46c6
UD
6185 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6186 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6187
d45c60c2
AS
61882011-10-20 Andreas Schwab <schwab@redhat.com>
6189
6190 [BZ #12892]
6191 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6192 it would create a cycle with a link time dependency.
6193
d9a4d2ab
UD
61942011-10-19 Ulrich Drepper <drepper@gmail.com>
6195
855d1560
UD
6196 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6197 instruction.
6198 * string/Makefile (strop-tests): Add rawmemchr.
6199 * string/test-rawmemchr.c: New file.
6200
d9a4d2ab
UD
6201 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6203 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6204 when compiling str{,n}casecmp and when AVX is available. Hook up
6205 new optimized code in initializers.
6206
8f3b1ffe
AS
62072011-10-19 Andreas Schwab <schwab@redhat.com>
6208
6209 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6210 __feraiseexcept instead of feraiseexcept.
6211
d38f1dba
UD
62122011-10-18 Ulrich Drepper <drepper@gmail.com>
6213
d9a8d0ab
UD
6214 * math/math_private.h: Define defaults for libc_fetestexcept and
6215 libc_feupdateenv.
6216 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6217 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6219 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6220 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6221 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6222 libc_fetestexcept and libc_feupdateenv.
6223
4855e3dd
UD
6224 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6225 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6226 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6227 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6228 libc_feholdexcept_setround.
6229
581d30e3
UD
6230 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6231 Add s_nearbyint-c and s_nearbyintf-c.
6232 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6233 nearbyintf inlines.
6234 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6235 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6236 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6237 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6238
d38f1dba
UD
6239 * math/math_private.h: Define defaults for libc_fegetround,
6240 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6241 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6242 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6244 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6245 standard functions.
6246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6247 Remove comments and hacks for old compiler versions.
6248 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6249 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6250 libc_feholdexceptl.
6251
caa6c9d8
AS
62522011-10-18 Andreas Schwab <schwab@redhat.com>
6253
6254 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6255 (__feraiseexcept_renamed): Add __NTH.
6256 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6257 namespace violations.
6258
97c066e6
UD
62592011-10-17 Ulrich Drepper <drepper@gmail.com>
6260
99ce7b04
UD
6261 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6262
1004d182
UD
6263 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6264
228a984d
UD
6265 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6266 recently added interfaces.
6267 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6268
c8553a6a
UD
6269 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6270 about macro parameter expansion.
6271
ed22dcf6
UD
6272 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6273 __NO_MATH_INLINES is defined. Cleanups.
6274
6275 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6276 and __floorf is target has SSE4.1.
6277 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6278 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6280 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6281
b171c137
UD
6282 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6283 name.
6284 (floorf): Likewise.
6285
97c066e6
UD
6286 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6287
629f62ef
AS
62882011-10-17 Andreas Schwab <schwab@redhat.com>
6289
49a43d80
AS
6290 * misc/sys/cdefs.h: Fix last change.
6291
629f62ef
AS
6292 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6293 database lookup.
6294
e453f6cd
UD
62952011-10-16 Ulrich Drepper <drepper@gmail.com>
6296
aa78043a
UD
6297 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6298
ad0f5cad
UD
6299 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6300 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6305 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6306 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6307 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6308 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6309 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6310 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6311 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6312 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6313 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6314 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6315 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6316 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6317 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6318 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6319 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6320 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6321
6322 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6323 ceil, ceilf, floor, floorf.
6324
6325 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6326 Perform IRELATIVE relocations last.
6327
e453f6cd
UD
6328 * elf/do-rel.h: Add another parameter nrelative, replacing the
6329 local variable with the same name. Change name of the function
6330 to end in Rel or Rela (uppercase).
6331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6332 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6333 elf_dynamic_do_##reloc function.
6334
fd5bdc09
UD
63352011-10-15 Ulrich Drepper <drepper@gmail.com>
6336
79b195b5
UD
6337 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6338 is sufficient, at least on modern CPUs.
6339
d4a28569
UD
6340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6341
b61099b5
UD
6342 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6344
bcf01e6d
UD
6345 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6346 __expl_finite.
6347 * math/bits/math-finite.h: Add entries for exp.
6348 * math/e_expl.c: Add __*_finite alias.
6349 * sysdeps/i386/fpu/e_exp.S: Likewise.
6350 * sysdeps/i386/fpu/e_expf.S: Likewise.
6351 * sysdeps/i386/fpu/e_expl.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6353 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6359
ba1a0d59
UD
6360 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6361 is sufficient, at least on modern CPUs.
6362
fd5bdc09
UD
6363 * ctype/ctype-info.c (__ctype_init): Define.
6364 * include/ctype.h (__ctype_init): Declare.
6365 (__ctype_b_loc): The variable is always initialized.
6366 (__ctype_toupper_loc): Likewise.
6367 (__ctype_tolower_loc): Likewise.
6368 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6369 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6370
7872cfb0
AS
63712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6372
b468825a
AS
6373 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6374
7872cfb0
AS
6375 * configure.in: Also look in $cxxmachine/include for C++ system
6376 headers.
6377
be13f7bf
LD
63782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6379
6380 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6381 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6382 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6383 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6384 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6385 (USE_AS_WMEMCMP): New macro.
6386 Fixing indents.
6387 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6388 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6389 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6390 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6392 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6393 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6394 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6395 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6396 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6397 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6398 (USE_AS_WMEMCMP): New macro.
6399 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6400 * sysdeps/string/test-memcmp.c: Update.
6401 Fix simple_wmemcmp.
6402 Add new tests.
6403 * wcsmbs/wmemcmp.c: Update.
6404 (WMEMCMP): New macro.
6405 Fix overflow bug.
6406
556a2007
AJ
64072011-10-12 Andreas Jaeger <aj@suse.de>
6408
6409 [BZ #13268]
6410 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6411
538faaa7
UD
64122011-10-15 Ulrich Drepper <drepper@gmail.com>
6413
ab6737ff
UD
6414 * libio/iofwide.c (do_length): Avoid warning.
6415
538faaa7
UD
6416 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6417
396a21b1
UD
64182011-10-14 Ulrich Drepper <drepper@gmail.com>
6419
cdf2901f
UD
6420 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6421
38ad40ce
UD
6422 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6423 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6424 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6425 * sysdeps/i386/i686/fpu/e_log.S: New file.
6426 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6427 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6428
396a21b1
UD
6429 * ctype/ctype.h: Add support for inlined isXXX functions when
6430 compiling C++ code.
6431
6b1f68c9
AS
64322011-10-14 Andreas Schwab <schwab@redhat.com>
6433
349290c0
AS
6434 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6435
6b1f68c9
AS
6436 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6437
f2282d42
RM
64382011-10-13 Roland McGrath <roland@hack.frob.com>
6439
6440 [BZ #13291]
6441 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6442
5298ffa8
AS
64432011-10-13 Andreas Schwab <schwab@redhat.com>
6444
714fad23
AS
6445 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6446 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6447 feraiseexcept.
6448
81dcc7fb
AS
6449 * sysdeps/x86_64/memrchr.S: Check for zero size.
6450
5298ffa8
AS
6451 * string/stratcliff.c: Add memrchr tests.
6452
951fbcec
LD
64532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6454
6455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6456 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6457 rawmemchr-sse2 rawmemchr-sse2-bsf.
6458 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6459 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6460 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6461 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6462 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6463 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6464 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6465 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6466 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6467 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6468 * string/memrchr.c (MEMRCHR): New macro.
6469
0ac5ae23
UD
64702011-10-12 Ulrich Drepper <drepper@gmail.com>
6471
6472 Add integration with gcc's -ffinite-math-only and optimize wrapper
6473 functions in libm.
6474 * Versions.def: Define GLIBC_2.15 version for libm.
6475 * math/Makefile (headers): Add bits/math-finite.h.
6476 * math/bits/math-finite.h: New file.
6477 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6478 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6479 * math/e_acoshl.c: Add __*_finite alias.
6480 * math/e_acosl.c: Likewise.
6481 * math/e_asinl.c: Likewise.
6482 * math/e_atan2l.c: Likewise.
6483 * math/e_atanhl.c: Likewise.
6484 * math/e_coshl.c: Likewise.
6485 * math/e_exp10.c: Likewise.
6486 * math/e_exp10f.c: Likewise.
6487 * math/e_exp10l.c: Likewise.
6488 * math/e_exp2l.c: Likewise.
6489 * math/e_fmodl.c: Likewise.
6490 * math/e_gammal_r.c: Likewise.
6491 * math/e_hypotl.c: Likewise.
6492 * math/e_j0l.c: Likewise.
6493 * math/e_j1l.c: Likewise.
6494 * math/e_jnl.c: Likewise.
6495 * math/e_lgammal_r.c: Likewise.
6496 * math/e_log10l.c: Likewise.
6497 * math/e_log2l.c: Likewise.
6498 * math/e_logl.c: Likewise.
6499 * math/e_powl.c: Likewise.
6500 * math/e_sinhl.c: Likewise.
6501 * math/e_sqrtl.c: Likewise.
6502 * math/e_scalb.c: Completely rewritten and optimized.
6503 * math/e_scalbf.c: Likewise.
6504 * math/e_scalbl.c: Likewise.
6505 * math/w_acos.c: Likewise.
6506 * math/w_acosf.c: Likewise.
6507 * math/w_acosl.c: Likewise.
6508 * math/w_acosh.c: Likewise.
6509 * math/w_acoshf.c: Likewise.
6510 * math/w_acoshl.c: Likewise.
6511 * math/w_asin.c: Likewise.
6512 * math/w_asinf.c: Likewise.
6513 * math/w_asinl.c: Likewise.
6514 * math/w_atan2.c: Likewise.
6515 * math/w_atan2f.c: Likewise.
6516 * math/w_atan2l.c: Likewise.
6517 * math/w_atanh.c: Likewise.
6518 * math/w_atanhf.c: Likewise.
6519 * math/w_atanhl.c: Likewise.
6520 * math/w_exp10.c: Likewise.
6521 * math/w_exp10f.c: Likewise.
6522 * math/w_exp10l.c: Likewise.
6523 * math/w_fmod.c: Likewise.
6524 * math/w_fmodf.c: Likewise.
6525 * math/w_fmodl.c: Likewise.
6526 * math/w_j0.c: Likewise.
6527 * math/w_j0f.c: Likewise.
6528 * math/w_j0l.c: Likewise.
6529 * math/w_j1.c: Likewise.
6530 * math/w_j1f.c: Likewise.
6531 * math/w_j1l.c: Likewise.
6532 * math/w_jn.c: Likewise.
6533 * math/w_jnf.c: Likewise.
6534 * math/w_log.c: Likewise.
6535 * math/w_logf.c: Likewise.
6536 * math/w_logl.c: Likewise.
6537 * math/w_log10.c: Likewise.
6538 * math/w_log10f.c: Likewise.
6539 * math/w_log10l.c: Likewise.
6540 * math/w_log2.c: Likewise.
6541 * math/w_log2f.c: Likewise.
6542 * math/w_log2l.c: Likewise.
6543 * math/w_pow.c: Likewise.
6544 * math/w_powf.c: Likewise.
6545 * math/w_powl.c: Likewise.
6546 * math/w_remainder.c: Likewise.
6547 * math/w_remainderf.c: Likewise.
6548 * math/w_remainderl.c: Likewise.
6549 * math/w_scalb.c: Likewise.
6550 * math/w_scalbf.c: Likewise.
6551 * math/w_scalbl.c: Likewise.
6552 * math/w_sqrt.c: Likewise.
6553 * math/w_sqrtf.c: Likewise.
6554 * math/w_sqrtl.c: Likewise.
6555 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6556 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6557 used.
6558 * math/math_private.h: Declare __kernel_standard_f.
6559 * math/w_cosh.c: Remove cruft and optimize a bit.
6560 * math/w_coshf.c: Likewise.
6561 * math/w_coshl.c: Likewise.
6562 * math/w_exp2.c: Likewise.
6563 * math/w_exp2f.c: Likewise.
6564 * math/w_exp2l.c: Likewise.
6565 * math/w_hypot.c: Likewise.
6566 * math/w_hypotf.c: Likewise.
6567 * math/w_hypotl.c: Likewise.
6568 * math/w_lgamma.c: Likewise.
6569 * math/w_lgamma_r.c: Likewise.
6570 * math/w_lgammaf.c: Likewise.
6571 * math/w_lgammaf_r.c: Likewise.
6572 * math/w_lgammal.c: Likewise.
6573 * math/w_lgammal_r.c: Likewise.
6574 * math/w_sinh.c: Likewise.
6575 * math/w_sinhf.c: Likewise.
6576 * math/w_sinhl.c: Likewise.
6577 * math/w_tgamma.c: Likewise.
6578 * math/w_tgammaf.c: Likewise.
6579 * math/w_tgammal.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6582 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6583 Minor optimizations. Pretty printing. Remove cruft.
6584 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6585 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6587 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6588 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6589 * sysdeps/i386/fpu/e_asin.S: Likewise.
6590 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6591 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6592 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6593 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6594 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6595 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6596 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6597 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6598 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6599 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6600 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6601 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6602 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6603 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6604 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6605 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6606 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6607 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6608 * sysdeps/i386/fpu/e_log.S: Likewise.
6609 * sysdeps/i386/fpu/e_log10.S: Likewise.
6610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6612 * sysdeps/i386/fpu/e_log2.S: Likewise.
6613 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6614 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6615 * sysdeps/i386/fpu/e_logf.S: Likewise.
6616 * sysdeps/i386/fpu/e_logl.S: Likewise.
6617 * sysdeps/i386/fpu/e_pow.S: Likewise.
6618 * sysdeps/i386/fpu/e_powf.S: Likewise.
6619 * sysdeps/i386/fpu/e_powl.S: Likewise.
6620 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6621 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6622 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6623 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6624 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6625 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6626 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6627 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6628 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6654 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6657 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6658 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6660 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6661 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6663 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6664 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6665 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6722 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6723 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6724 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6725 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6726 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6727 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6728 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6729 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6730 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6731 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6732 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6734 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6737 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6739 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6740 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6741 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6742 (__isnanf): Likewise.
6743 (__isinf_ns): Likewise.
6744 (__isinf_nsf): Likewise.
6745 (__finite): Likewise.
6746 (__finitef): Likewise.
6747 (__ieee754_sqrt): Define as macro.
6748 (__ieee754_sqrtf): Define as macro.
6749 (__ieee754_sqrtl): Define as macro.
6750 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6751 inlined copy.
6752 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6753 __FINITE_MATH_ONLY__ consistent.
6754 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6755
12cc2fcd
AS
67562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6757
a843a204
AS
6758 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6759 of rawmemchr.
6760
12cc2fcd
AS
6761 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6762
c853acd5
UD
67632011-10-09 Ulrich Drepper <drepper@gmail.com>
6764
6765 * po/ja.po: Update from translation team.
6766
c658d255
RM
67672011-10-08 Roland McGrath <roland@hack.frob.com>
6768
110946e4
RM
6769 * locale/programs/locarchive.c (prepare_address_space): New function.
6770 (create_archive, enlarge_archive, open_archive): Use it.
6771
50604220
RM
6772 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6773 inside [SHARED], where it is used.
6774
c658d255
RM
6775 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6776
6777 * nss/getent.c (netgroup_keys): Remove unused variable.
6778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6779
6a621eb7
UD
67802011-10-08 Ulrich Drepper <drepper@gmail.com>
6781
7edb55ce
UD
6782 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6783 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6785 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6787 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6788 * math/Makefile (libm-calls): Add s_isinf_ns.
6789 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6790 * math/multc3.c: Likewise.
6791 * math/s_casin.c: Likewise.
6792 * math/s_casinf.c: Likewise.
6793 * math/s_casinl.c: Likewise.
6794 * math/s_ccos.c: Likewise.
6795 * math/s_ccosf.c: Likewise.
6796 * math/s_ccosl.c: Likewise.
6797 * math/s_ctan.c: Likewise.
6798 * math/s_ctanf.c: Likewise.
6799 * math/s_ctanh.c: Likewise.
6800 * math/s_ctanhf.c: Likewise.
6801 * math/s_ctanhl.c: Likewise.
6802 * math/s_ctanl.c: Likewise.
6803 * math/w_fmod.c: Likewise.
6804 * math/w_fmodf.c: Likewise.
6805 * math/w_fmodl.c: Likewise.
6806 * math/w_remainder.c: Likewise.
6807 * math/w_remainderf.c: Likewise.
6808 * math/w_remainderl.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6810 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6813 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6814 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6815 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6816 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6817
187da0ae
UD
6818 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6819 of the number.
6820 * stdio-common/printf_fphex.c: Likewise.
6821 * stdio-common/printf_size.c: Likewise.
6822
9277c064
UD
6823 * math/e_exp10.c: Include math_private.h using <...> not "...".
6824 * math/e_exp10f.c: Likewise.
6825 * math/e_exp10l.c: Likewise.
6826 * math/e_exp2l.c: Likewise.
6827 * math/e_j0l.c: Likewise.
6828 * math/e_j1l.c: Likewise.
6829 * math/e_jnl.c: Likewise.
6830 * math/e_lgammal_r.c: Likewise.
6831 * math/e_rem_pio2l.c: Likewise.
6832 * math/e_scalb.c: Likewise.
6833 * math/e_scalbf.c: Likewise.
6834 * math/e_scalbl.c: Likewise.
6835 * math/k_cosl.c: Likewise.
6836 * math/k_sinl.c: Likewise.
6837 * math/k_tanl.c: Likewise.
6838 * math/s_cacoshf.c: Likewise.
6839 * math/s_catan.c: Likewise.
6840 * math/s_catanf.c: Likewise.
6841 * math/s_catanh.c: Likewise.
6842 * math/s_catanhf.c: Likewise.
6843 * math/s_catanhl.c: Likewise.
6844 * math/s_catanl.c: Likewise.
6845 * math/s_ccosh.c: Likewise.
6846 * math/s_ccoshf.c: Likewise.
6847 * math/s_ccoshl.c: Likewise.
6848 * math/s_cexp.c: Likewise.
6849 * math/s_cexpf.c: Likewise.
6850 * math/s_cexpl.c: Likewise.
6851 * math/s_clog.c: Likewise.
6852 * math/s_clog10.c: Likewise.
6853 * math/s_clog10f.c: Likewise.
6854 * math/s_clog10l.c: Likewise.
6855 * math/s_clogf.c: Likewise.
6856 * math/s_clogl.c: Likewise.
6857 * math/s_csin.c: Likewise.
6858 * math/s_csinf.c: Likewise.
6859 * math/s_csinh.c: Likewise.
6860 * math/s_csinhf.c: Likewise.
6861 * math/s_csinhl.c: Likewise.
6862 * math/s_csinl.c: Likewise.
6863 * math/s_csqrt.c: Likewise.
6864 * math/s_csqrtf.c: Likewise.
6865 * math/s_csqrtl.c: Likewise.
6866 * math/s_ctan.c: Likewise.
6867 * math/s_ctanf.c: Likewise.
6868 * math/s_ctanh.c: Likewise.
6869 * math/s_ctanhf.c: Likewise.
6870 * math/s_ctanhl.c: Likewise.
6871 * math/s_ctanl.c: Likewise.
6872 * math/s_ldexp.c: Likewise.
6873 * math/s_ldexpf.c: Likewise.
6874 * math/s_ldexpl.c: Likewise.
6875 * math/s_significand.c: Likewise.
6876 * math/s_significandf.c: Likewise.
6877 * math/s_significandl.c: Likewise.
6878 * math/w_acos.c: Likewise.
6879 * math/w_acosf.c: Likewise.
6880 * math/w_acosh.c: Likewise.
6881 * math/w_acoshf.c: Likewise.
6882 * math/w_acoshl.c: Likewise.
6883 * math/w_acosl.c: Likewise.
6884 * math/w_asin.c: Likewise.
6885 * math/w_asinf.c: Likewise.
6886 * math/w_asinl.c: Likewise.
6887 * math/w_atan2.c: Likewise.
6888 * math/w_atan2f.c: Likewise.
6889 * math/w_atan2l.c: Likewise.
6890 * math/w_atanh.c: Likewise.
6891 * math/w_atanhf.c: Likewise.
6892 * math/w_atanhl.c: Likewise.
6893 * math/w_cosh.c: Likewise.
6894 * math/w_coshf.c: Likewise.
6895 * math/w_coshl.c: Likewise.
6896 * math/w_dremf.c: Likewise.
6897 * math/w_exp10.c: Likewise.
6898 * math/w_exp10f.c: Likewise.
6899 * math/w_exp10l.c: Likewise.
6900 * math/w_exp2.c: Likewise.
6901 * math/w_exp2f.c: Likewise.
6902 * math/w_fmod.c: Likewise.
6903 * math/w_fmodf.c: Likewise.
6904 * math/w_fmodl.c: Likewise.
6905 * math/w_hypot.c: Likewise.
6906 * math/w_hypotf.c: Likewise.
6907 * math/w_hypotl.c: Likewise.
6908 * math/w_j0.c: Likewise.
6909 * math/w_j0f.c: Likewise.
6910 * math/w_j0l.c: Likewise.
6911 * math/w_j1.c: Likewise.
6912 * math/w_j1f.c: Likewise.
6913 * math/w_j1l.c: Likewise.
6914 * math/w_jn.c: Likewise.
6915 * math/w_jnf.c: Likewise.
6916 * math/w_jnl.c: Likewise.
6917 * math/w_lgamma.c: Likewise.
6918 * math/w_lgamma_r.c: Likewise.
6919 * math/w_lgammaf.c: Likewise.
6920 * math/w_lgammaf_r.c: Likewise.
6921 * math/w_lgammal.c: Likewise.
6922 * math/w_lgammal_r.c: Likewise.
6923 * math/w_log.c: Likewise.
6924 * math/w_log10.c: Likewise.
6925 * math/w_log10f.c: Likewise.
6926 * math/w_log10l.c: Likewise.
6927 * math/w_log2.c: Likewise.
6928 * math/w_log2f.c: Likewise.
6929 * math/w_log2l.c: Likewise.
6930 * math/w_logf.c: Likewise.
6931 * math/w_logl.c: Likewise.
6932 * math/w_pow.c: Likewise.
6933 * math/w_powf.c: Likewise.
6934 * math/w_powl.c: Likewise.
6935 * math/w_remainder.c: Likewise.
6936 * math/w_remainderf.c: Likewise.
6937 * math/w_remainderl.c: Likewise.
6938 * math/w_scalb.c: Likewise.
6939 * math/w_scalbf.c: Likewise.
6940 * math/w_scalbl.c: Likewise.
6941 * math/w_sinh.c: Likewise.
6942 * math/w_sinhf.c: Likewise.
6943 * math/w_sinhl.c: Likewise.
6944 * math/w_sqrt.c: Likewise.
6945 * math/w_sqrtf.c: Likewise.
6946 * math/w_sqrtl.c: Likewise.
6947 * math/w_tgamma.c: Likewise.
6948 * math/w_tgammaf.c: Likewise.
6949 * math/w_tgammal.c: Likewise.
6950
6a621eb7
UD
6951 * po/ja.po: Update from translation team.
6952
bf582445
AJ
69532011-09-29 Andreas Jaeger <aj@suse.de>
6954
f9efbf3a
AJ
6955 [BZ #13179]
6956 * sunrpc/netname.c (netname2host): Fix logic.
6957
bf582445
AJ
6958 [BZ #6779]
6959 [BZ #6783]
6960 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6961 correctly.
6962 * math/w_remainder.c (__remainder): Likewise.
6963 * math/w_remainderf.c (__remainderf): Likewise.
6964 * math/libm-test.inc (remainder_test): Add test cases.
6965
48693bea
AK
69662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6967
6968 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6969 sdiv_qrnnd.
6970
42622229
LD
69712011-10-07 Ulrich Drepper <drepper@gmail.com>
6972
6973 * string/test-memcmp.c: Avoid unncessary #defines.
6974 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6975
093ecf92
LD
69762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6977
6978 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6979 Use new sse2 version for core i3 - i7 as it's faster
6980 than sse42 version.
6981 (bit_Prefer_PMINUB_for_stringop): New.
6982 * sysdeps/x86_64/rawmemchr.S: Update.
6983 Replace with faster SSE2 version.
6984 * sysdeps/x86_64/memrchr.S: New file.
6985 * sysdeps/x86_64/memchr.S: Update.
6986 Replace with faster SSE2 version.
6987
fde56e5c
MP
69882011-09-12 Marek Polacek <mpolacek@redhat.com>
6989
6990 * elf/dl-load.c (lose): Add cast to avoid warning.
6991
21fd49a9
UD
69922011-10-07 Ulrich Drepper <drepper@gmail.com>
6993
5a06e643
UD
6994 * po/ca.po: Update from translation team.
6995
684ae515
UD
6996 * inet/getnetgrent_r.c: Hook up nscd.
6997 * nscd/Makefile (routines): Add nscd_netgroup.
6998 (nscd-modules): Add netgroupcache.
6999 (CFLAGS-netgroupcache.c): Define.
7000 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7001 (cache_search): Add const to second parameter.
7002 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7003 INNETGR.
7004 (dbs): Add netgrdb entry.
7005 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7006 (verify_persistent_db): Handle netgrdb.
7007 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7008 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7009 GETFDNETGR.
7010 (netgroup_response_header): Define.
7011 (innetgroup_response_header): Define.
7012 (datahead): Add netgroup_response_header and innetgroup_response_header
7013 elements.
7014 * nscd/nscd.conf: Add entries for netgroup cache.
7015 * nscd/nscd.h (dbtype): Add netgrdb.
7016 (_PATH_NSCD_NETGROUP_DB): Define.
7017 (netgroup_iov_disabled): Declare.
7018 (xmalloc, xcalloc, xrealloc): Move declarations here.
7019 (cache_search): Adjust prototype.
7020 Add netgroup-related prototypes.
7021 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7022 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7023 (__nscd_innetgr): Declare.
7024 * nscd/selinux.c (perms): Use access_vector_t as element type and
7025 add netgroup-related initializers.
7026 * nscd/netgroupcache.c: New file.
7027 * nscd/nscd_netgroup.c: New file.
7028 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7029 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7030 For four parameters use innetgr.
7031 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7032 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7033 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7034 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7035
21fd49a9
UD
7036 * nscd/connections.c (register_traced_file): Don't register file
7037 for disabled databases.
7038
054c0457
UD
70392011-10-06 Ulrich Drepper <drepper@gmail.com>
7040
32b63198
UD
7041 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7042
054c0457
UD
7043 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7044 from tree and freeing node.
7045
64031225
JO
70462011-09-25 Jiri Olsa <jolsa@redhat.com>
7047
7048 * nss/nsswitch.c (__nss_database_lookup): Handle
7049 nss_parse_service_list out of memory case.
7050
0490345c
JO
70512011-09-15 Jiri Olsa <jolsa@redhat.com>
7052
7053 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7054 out of memory case.
7055
3a62d00d
AS
70562011-10-04 Andreas Schwab <schwab@redhat.com>
7057
7058 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7059 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7060 pass it down.
7061 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7062 elf_machine_rela, elf_machine_lazy_rel.
7063 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7064 (ELF_DYNAMIC_DO_REL): Likewise.
7065 (ELF_DYNAMIC_DO_RELA): Likewise.
7066 (ELF_DYNAMIC_RELOCATE): Likewise.
7067 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7068 to ELF_DYNAMIC_DO_REL.
7069 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7070 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7071 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7072 elf_machine_rela.
7073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7074 skip_ifunc, don't call ifunc function if non-zero.
7075 (elf_machine_rela): Likewise.
7076 (elf_machine_lazy_rel): Likewise.
7077 (elf_machine_lazy_rela): Likewise.
7078 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7079 (elf_machine_lazy_rel): Likewise.
7080 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7081 Likewise.
7082 (elf_machine_lazy_rel): Likewise.
7083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7084 Likewise.
7085 (elf_machine_lazy_rel): Likewise.
7086 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7087 (elf_machine_lazy_rel): Likewise.
7088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7089 (elf_machine_lazy_rel): Likewise.
7090 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7091 (elf_machine_lazy_rel): Likewise.
7092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7093 (elf_machine_lazy_rel): Likewise.
7094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7095 (elf_machine_lazy_rel): Likewise.
7096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7097 (elf_machine_lazy_rel): Likewise.
7098
68577918
UD
70992011-09-28 Ulrich Drepper <drepper@gmail.com>
7100
7101 * nss/nss_files/files-init.c (_nss_files_init): Use static
7102 initialization for all the *_traced_file variables.
7103
68822d74
AS
71042011-09-28 Andreas Schwab <schwab@redhat.com>
7105
7106 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7107
2056100b
RM
71082011-09-27 Roland McGrath <roland@hack.frob.com>
7109
7110 [BZ #13226]
7111 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7112
32c76b63
AS
71132011-09-27 Andreas Schwab <schwab@redhat.com>
7114
7115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7116 Reread the line before reparsing it.
7117
bf972c9d
AS
71182011-09-26 Andreas Schwab <schwab@redhat.com>
7119
7120 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7121
e057a1b5
JM
71222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7123 Maxim Kuvyrkov <maxim@codesourcery.com>
7124 Joseph Myers <joseph@codesourcery.com>
7125
7126 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7127 if needed for __stack_chk_guard.
7128
bc7e1c36
RM
71292011-09-19 Roland McGrath <roland@hack.frob.com>
7130
ecb1482f
RM
7131 * sysdeps/posix/spawni.c (script_execute): Always define it.
7132 It will be optimized away if unused.
7133 (maybe_script_execute): New function.
7134 (__spawni): Call it.
7135
bc7e1c36
RM
7136 * Makerules: Don't include tls.make.
7137 (config-tls): Always set to thread.
7138 * tls.make.c: File removed.
7139
1c3b002b
MF
71402011-09-19 Mike Frysinger <vapier@gentoo.org>
7141
7142 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7143 * config.make.in (CPPFLAGS-config): New substituted variable.
7144
2840865d
UD
71452011-09-15 Ulrich Drepper <drepper@gmail.com>
7146
88738eb6
UD
7147 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7148
cbf645a6 7149 [BZ #13192]
2840865d
UD
7150 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7151 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7152
b402e91a
RM
71532011-09-15 Roland McGrath <roland@hack.frob.com>
7154
7155 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7156 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7158 (CALL_FAIL): Likewise.
7159 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7160 (CALL_FAIL): Macro removed.
7161 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7162
4c1a1f71
UD
71632011-09-15 Ulrich Drepper <drepper@gmail.com>
7164
7165 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7166 for __FINITE_MATH_ONLY__ == 1.
7167
edc121be
AS
71682011-09-15 Andreas Schwab <schwab@redhat.com>
7169
7170 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7171 __ieee754_sqrt instead of sqrt.
7172 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7173 __ieee754_sqrtf instead of sqrtf.
7174 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7175 __floorf instead of floorf.
7176 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7177 __floorf, __truncf instead of floorf, truncf.
7178
cd205654
UD
71792011-09-14 Ulrich Drepper <drepper@gmail.com>
7180
ee4d0315
UD
7181 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7182
cd205654
UD
7183 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7184 __extern_always_inline.
7185 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7186 32-bit.
7187
48b67d71
AS
71882011-09-14 Andreas Schwab <schwab@redhat.com>
7189
7190 * elf/rtld.c (dl_main): Also relocate in dependency order when
7191 doing symbol dependency testing.
7192
1ae12c75
AS
71932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7194
7195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7196 Always define `refsym'.
7197
995a80df
AS
71982011-09-13 Andreas Schwab <schwab@redhat.com>
7199
e529793b
AS
7200 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7201 (__FD_ELT): Renamed from __FDELT.
7202 * misc/bits/select2.h (__FD_ELT): Likewise.
7203 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7204 __FD_MASK instead of __FDELT, __FDMASK.
7205 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7206 Likewise.
7207 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7208 Likewise.
7209
52d4fef8
AS
7210 * elf/Makefile (gen-ldd): Fix pattern.
7211
995a80df
AS
7212 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7213 (init_tls): Likewise.
7214
8682f8b0
UD
72152011-09-12 Ulrich Drepper <drepper@gmail.com>
7216
7217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7218
de82006d
AS
72192011-09-12 Andreas Schwab <schwab@redhat.com>
7220
a7c8e6a1
AS
7221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7222 `struct cmsghdr *' instead of `void *'.
7223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7224 Likewise.
7225
0f31fe77
AS
72262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7227
7228 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7229 if non-absolute.
7230 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7231 ldd_rewrite_script.
0f31fe77 7232
32b4c839
UD
72332011-09-11 Ulrich Drepper <drepper@gmail.com>
7234
83cd1420
UD
7235 * configure.in: Remove --with-tls option.
7236 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7237 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7238 out in case it is missing.
7239 * sysdeps/ia64/elf/configure.in: Likewise.
7240 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7241 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7242 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7243 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7244 * sysdeps/sh/elf/configure.in: Likewise.
7245 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7247 * sysdeps/x86_64/elf/configure.in: Likewise.
7248 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7249 * sysdeps/mach/hurd/tls.h: Likewise.
7250
633f745d
UD
7251 [BZ #13067]
7252 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7253
f318beb8
UD
7254 [BZ #13090]
7255 * configure.in: Fix use of AC_INIT.
7256
32b4c839
UD
7257 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7258
3ce1f295
UD
72592011-09-10 Ulrich Drepper <drepper@gmail.com>
7260
bb016596
UD
7261 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7262 __set_errno.
8e58439c
UD
7263 * malloc/hooks.c: Likewise.
7264
aebae053 7265 [BZ #11929]
02d46fc4
UD
7266 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7267 variables statically.
7268 (narenas): Initialize.
7269 (list_lock): Initialize.
bb016596
UD
7270 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7271 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7272 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7273 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7274 Add initializers to main_arena and mp_.
7275 (malloc_state): Remove pagesize member. Change all users to use
7276 GLRO(dl_pagesize).
7277
7278 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7279 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7280 is always initialized.
7281
22a89187
UD
7282 * malloc/malloc.c: Removed unused configurations and dead code.
7283 * malloc/arena.c: Likewise.
7284 * malloc/hooks.c: Likewise.
02d46fc4 7285 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7286
d063d164
UD
7287 * include/tls.h: Removed. USE___THREAD must always be defined.
7288 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7289 * elf/dl-libc.c: Likewise.
7290 * elf/dl-tsd.c: Likewise.
7291 * include/errno.h: Likewise.
7292 * include/netdb.h: Likewise.
7293 * include/resolv.h: Likewise.
7294 * inet/herrno-loc.c: Likewise.
7295 * inet/herrno.c: Likewise.
7296 * malloc/arena.c: Likewise.
7297 * malloc/hooks.c: Likewise.
7298 * malloc/malloc.c: Likewise.
7299 * resolv/res-state.c: Likewise.
7300 * resolv/res_libc.c: Likewise.
7301 * sysdeps/i386/dl-machine.h: Likewise.
7302 * sysdeps/ia64/dl-machine.h: Likewise.
7303 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7304 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7305 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7306 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7307 * sysdeps/sh/dl-machine.h: Likewise.
7308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7309 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7310 * sysdeps/unix/i386/sysdep.S: Likewise.
7311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7312 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7317 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7321 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7322 * sysdeps/x86_64/dl-machine.h: Likewise.
7323 * tls.make.c: Likewise.
7324
3ce1f295
UD
7325 * configure.in: Remove --with-__thread option. Make tests for
7326 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7327 tls_model attribute fail if no support is available. Remove
7328 USE_IN_LIBIO.
7329 * Makeconfig: Adjust for dropped configure option. All features are
7330 now mandatory.
7331 * Makerules: Likewise.
7332 * Versions.def: Likewise.
7333 * argp/argp-fmtstream.c: Likewise.
7334 * argp/argp-fmtstream.h: Likewise.
7335 * argp/argp-help.c: Likewise.
7336 * assert/assert.c: Likewise.
7337 * config.h.in: Likewise.
7338 * config.make.in: Likewise.
7339 * configure: Likewise.
7340 * configure.in: Likewise.
7341 * csu/Versions: Likewise.
7342 * csu/init.c: Likewise.
7343 * elf/tst-audit2.c: Likewise.
7344 * elf/tst-tls10.c: Likewise.
7345 * elf/tst-tls10.h: Likewise.
7346 * elf/tst-tls11.c: Likewise.
7347 * elf/tst-tls12.c: Likewise.
7348 * elf/tst-tls14.c: Likewise.
7349 * elf/tst-tlsmod11.c: Likewise.
7350 * elf/tst-tlsmod12.c: Likewise.
7351 * elf/tst-tlsmod13.c: Likewise.
7352 * elf/tst-tlsmod13a.c: Likewise.
7353 * elf/tst-tlsmod14a.c: Likewise.
7354 * elf/tst-tlsmod15b.c: Likewise.
7355 * elf/tst-tlsmod16a.c: Likewise.
7356 * elf/tst-tlsmod16b.c: Likewise.
7357 * elf/tst-tlsmod7.c: Likewise.
7358 * elf/tst-tlsmod8.c: Likewise.
7359 * elf/tst-tlsmod9.c: Likewise.
7360 * gmon/gmon.c: Likewise.
7361 * grp/fgetgrent_r.c: Likewise.
7362 * grp/putgrent.c: Likewise.
7363 * hurd/fopenport.c: Likewise.
7364 * include/libc-symbols.h: Likewise.
7365 * include/tls.h: Likewise.
7366 * intl/gettextP.h: Likewise.
7367 * intl/loadinfo.h: Likewise.
7368 * locale/global-locale.c: Likewise.
7369 * locale/localeinfo.h: Likewise.
7370 * mach/devstream.c: Likewise.
7371 * malloc/arena.c: Likewise.
7372 * malloc/set-freeres.c: Likewise.
7373 * misc/err.c: Likewise.
7374 * misc/getttyent.c: Likewise.
7375 * misc/mntent_r.c: Likewise.
7376 * posix/getopt.c: Likewise.
7377 * posix/wordexp.c: Likewise.
7378 * pwd/fgetpwent_r.c: Likewise.
7379 * resolv/Versions: Likewise.
7380 * resolv/res_hconf.c: Likewise.
7381 * shadow/fgetspent_r.c: Likewise.
7382 * shadow/putspent.c: Likewise.
7383 * stdio-common/printf_fphex.c: Likewise.
7384 * stdio-common/tmpfile.c: Likewise.
7385 * stdlib/abort.c: Likewise.
7386 * stdlib/fmtmsg.c: Likewise.
7387 * sunrpc/auth_unix.c: Likewise.
7388 * sunrpc/clnt_perr.c: Likewise.
7389 * sunrpc/clnt_tcp.c: Likewise.
7390 * sunrpc/clnt_udp.c: Likewise.
7391 * sunrpc/clnt_unix.c: Likewise.
7392 * sunrpc/openchild.c: Likewise.
7393 * sunrpc/svc_simple.c: Likewise.
7394 * sunrpc/svc_tcp.c: Likewise.
7395 * sunrpc/svc_udp.c: Likewise.
7396 * sunrpc/svc_unix.c: Likewise.
7397 * sunrpc/xdr.c: Likewise.
7398 * sunrpc/xdr_array.c: Likewise.
7399 * sunrpc/xdr_rec.c: Likewise.
7400 * sunrpc/xdr_ref.c: Likewise.
7401 * sunrpc/xdr_stdio.c: Likewise.
7402
1248c1c4
PB
74032011-09-09 Ulrich Drepper <drepper@gmail.com>
7404
7405 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7406
74072011-07-03 Andreas Jaeger <aj@suse.de>
7408
7409 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7410 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7411 regenerate with gen-libm-tests.pl.
7412
74132010-05-12 Petr Baudis <pasky@suse.cz>
7414
7415 [BZ #11589]
7416 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7417 around j0() zero points by switching to j1().
7418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7422
f22e1074
UD
74232011-09-09 Ulrich Drepper <drepper@gmail.com>
7424
f19009c1
UD
7425 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7426 instead of 0.
7427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7428 instead of 0. .
7429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7430 Patch in part by Pavel Roskin <proski@gnu.org>.
7431
3f8cc204
UD
7432 [BZ #13138]
7433 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7434 realloc.
7435 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7436 Free memory block if necessary.
7437
f22e1074
UD
7438 [BZ #12847]
7439 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7440 be NULL. Don't lock in this case.
7441
0a2349f9
RM
74422011-09-09 Roland McGrath <roland@hack.frob.com>
7443
7444 * elf/elf.h (ELFOSABI_GNU): New macro.
7445 (ELFOSABI_LINUX): Define to that.
7446
f3cdd467
DZ
74472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7448
7449 * string/strncat.c (strncat): Undef the symbol in case it has been
7450 defined in bits/string.h.
7451
74718d13
UD
74522011-09-09 Ulrich Drepper <drepper@gmail.com>
7453
633e9e0f
UD
7454 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7455
0a2349f9 7456 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7457 link map.
7458
f9924780
AJ
74592011-08-17 Andreas Jaeger <aj@suse.de>
7460
7461 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7462
7f5517aa
PP
74632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7464 Ian Lance Taylor <iant@google.com>
7465
7466 * math/libm-test.inc (lround_test): New testcase.
7467 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7468
762011fe
UD
74692011-09-08 Ulrich Drepper <drepper@gmail.com>
7470
92963737
UD
7471 * Makefile: Remove support for automatic cvs check-ins.
7472 * Makerules: Likewise.
7473 * config.make.in: Likewise.
7474 * configure.in: Likewise.
7475 * intl/Makefile: Likewise.
7476 * locale/Makefile: Likewise.
7477 * po/Makefile: Likewise.
7478 * posix/Makefile: Likewise.
7479 * sysdeps/gnu/Makefile: Likewise.
7480 * sysdeps/mach/hurd/Makefile: Likewise.
7481 * sysdeps/sparc/sparc32/Makefile: Likewise.
7482
b0727fd8
JS
7483 [BZ #13118]
7484 * posix/Makefile (bug-regex32-ENV): Define.
7485 Patch by John Stanley <jpsinthemix@verizon.net>.
7486
a0f33f99
UD
7487 * misc/Makefile (headers): Add bits/select2.h.
7488 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7489 * misc/bits/select2.h: New file.
7490 * include/bits/select2.h: New file.
7491 * debug/Makefile (routines): Add fdelt_chk.
7492 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7493 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7494 FD_ISSET.
7495 * debug/fdelt_chk.c: New file.
7496
762011fe
UD
7497 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7498 * wcsmbs/test-wmemcmp.c: Likewise.
7499 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7500 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7501
75022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7503
7504 * string/Makefile (strop-tests): Add memcmp.
7505 * string/test-wmemcmp.c: New file.
7506 * string/test-memcmp.c: Add wmemcmp support.
7507
7f513ec8
RM
75082011-09-08 Roland McGrath <roland@hack.frob.com>
7509
0442afb4
RM
7510 [BZ #13153]
7511 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7512 2011-07-19 change.
7513
7f513ec8
RM
7514 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7515 garbage value in a __mach_port_mod_refs call in the cases of the
7516 task-self and thread-self ports.
7517
a12b2239
ST
75182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7519
7520 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7521
610f9ab4
AS
75222011-09-08 Andreas Schwab <schwab@redhat.com>
7523
7f513ec8 7524 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7525
48882a1a
LD
75262011-09-07 Ulrich Drepper <drepper@gmail.com>
7527
b49865be
UD
7528 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7529
fdc86bc9
UD
7530 * elf/dl-libc.c (dlerror_run): Pass back error code from
7531 dl_catch_error.
7532
c966526a
UD
7533 [BZ #13123]
7534 * elf/dl-load.c (lose): Free l_origin if it is valid.
7535
48882a1a
LD
7536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7537 names.
7538 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7543 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7544
77a2a8b4
AZ
75452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7546
7547 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7548 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7549 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7550 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7551 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7552 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7553 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7554 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7555 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7556 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7557
24f579d8
AM
75582011-08-15 Alan Modra <amodra@gmail.com>
7559
7560 [BZ #13092]
7561 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7562 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7563 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7564 ppc_mcount to static-only-routines.
7565 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7566 __mcount_internal.
7567 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7568 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7569
3d4837df
UD
75702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7571
7572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7573 for finite and infinity parameters.
7574
22700377
WS
75752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7576
7577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7578 and add nop instructions for throughput optimization.
7579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7580
5025581e
WS
75812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7582
7583 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7584 aligned copy for power7 with vector-scalar instructions.
7585 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7586
08a300c9
L
75872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7588
7589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7590 AVX check.
7591
59178ef9
AS
75922011-09-07 Andreas Schwab <schwab@redhat.com>
7593
7594 [BZ #13144]
7595 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7596 last change.
7597
e38ba7ab
UD
75982011-09-07 Ulrich Drepper <drepper@gmail.com>
7599
7600 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7601 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7602 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7603 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7604 clock_gettime.
7605
d53a73ac
UD
76062011-09-06 Ulrich Drepper <drepper@gmail.com>
7607
fc8bffcc
UD
7608 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7609 Forgot to demangle the pointer.
7610
ceaa0c5d
UD
7611 * sysdeps/i386/sysdep.h: Define atom_text_section.
7612 * sysdeps/x86_64/sysdep.h: Likewise.
7613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7614 section with atom_text_section.
7615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7616 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7619 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7620
a77d3c17
UD
7621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7622 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7623 already be defined. Change to take two parameters and don't assign
7624 result to variable. Adjust all users.
7625 Define INTERNAL_GETTIME if not already defined.
7626 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7627 call.
7628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7629 HAVE_CLOCK_GETTIME_VSYSCALL.
7630 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7631
d53a73ac
UD
7632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7633 gettimeofday vsyscall, just use time.
7634
a8f84144
AS
76352011-09-06 Andreas Schwab <schwab@redhat.com>
7636
7637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7638 <errno.h>.
7639
ef606249
UD
76402011-09-06 Ulrich Drepper <drepper@gmail.com>
7641
7642 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7643 syscall on x86-64.
7644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7645 syscall.
7646 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7648 syscall if possible.
7649
6585cb60
UD
76502011-09-05 Ulrich Drepper <drepper@gmail.com>
7651
7652 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7653 e_ident. Don't pass to find_mapsXX.
7654 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7655
a5f524e4
LD
76562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7657
7658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7659 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7660 * sysdeps/x86_64/multiarch/strchr.S: Update.
7661 Check bit_slow_BSF bit.
7662 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7663 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7664 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7665
554881ef
UD
76662011-09-05 Ulrich Drepper <drepper@gmail.com>
7667
d96de963
UD
7668 [BZ #13134]
7669 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7670 before glibc 2.15.
7671 (tryshell): Define.
7672 (__spawni): Change last parameter to be flag. Test
7673 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7674 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7675 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7676 * posix/spawni.c: Likewise.
7677 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7678 * posix/spawnp.c: Likewise. Change normal version to use
7679 SPAWN_XFLAGS_USE_PATH.
7680 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7681 SPAWN_XFLAGS_TRY_SHELL.
7682
d48e5868
UD
7683 [BZ #13150]
7684 * posix/glob.h: Remove gcc 1.x support.
7685
554881ef
UD
7686 [BZ #13068]
7687 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7688
693fb948
LD
76892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7690
7691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7692 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7693 strrchr-sse2-bsf
7694 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7695 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7696 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7698 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7700
1b48c537
UD
77012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7702
49d42c37
UD
7703 * sysdeps/x86_64/wcscmp.S: New file.
7704
1b48c537
UD
7705 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7706 wcscmp-c wcscmp-sse2
7707 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7708 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7709 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7710 * wcsmbs/wcscmp.c: Allow renaming.
7711
15c95c5d
DM
77122011-09-05 David S. Miller <davem@davemloft.net>
7713
7714 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7715 stack slot, rather than the struct return pointer slot.
7716 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7717 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7720
2f0ad8f3
UD
77212011-09-05 Ulrich Drepper <drepper@gmail.com>
7722
d88ae418
UD
7723 * po/ja.po: Update from translation team.
7724
2f0ad8f3
UD
7725 [BZ #13144]
7726 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7727 kernel in 64-bit binaries.
7728
5f4318d1
DM
77292011-09-01 David S. Miller <davem@davemloft.net>
7730
7731 * elf/elf.h (HWCAP_SPARC_*): Move to..
7732 * sysdeps/sparc/sysdep.h: this new file and add new values.
7733 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7734 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7735 _DL_HWCAP_COUNT to 24.
7736 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7737 entries.
7738 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7739 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7740 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7742 instead of magic constants.
7743 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7744
3ba57516
DM
77452011-08-31 David S. Miller <davem@davemloft.net>
7746
7747 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7749 Reimplement to do errno handling inline.
7750 (SYSCALL_ERROR_HANDLER): New macro.
7751 (__SYSCALL_STRING): Do not do errno handling in asm.
7752 (__CLONE_SYSCALL_STRING): Delete.
7753 (__INTERNAL_SYSCALL_STRING): Delete.
7754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7755 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7756 (PSEUDO): Reimplement to do errno handling inline.
7757 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7758 (SYSCALL_ERROR_HANDLER): New macro.
7759 (__SYSCALL_STRING): Do not do errno handling in asm.
7760 (__CLONE_SYSCALL_STRING): Delete.
7761 (__INTERNAL_SYSCALL_STRING): Delete.
7762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7763 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7764 i386.
7765 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7766 (inline_syscall*): Add 'err' argument.
7767 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7768 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7769 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7770 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7771
7772 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7773 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7774
2bc17433
AS
77752011-08-30 Andreas Schwab <schwab@redhat.com>
7776
7777 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7778
fbeb5f4d
JO
77792011-08-29 Jiri Olsa <jolsa@redhat.com>
7780
7781 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7782 directive.
7783
ad69cc26
DM
77842011-08-24 David S. Miller <davem@davemloft.net>
7785
7786 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7787
39dd69df
AS
77882011-08-24 Andreas Schwab <schwab@redhat.com>
7789
7790 * elf/Makefile: Add rules to build and run unload8 test.
7791 * elf/unload8.c: New file.
7792 * elf/unload8mod1.c: New file.
7793 * elf/unload8mod1x.c: New file.
7794 * elf/unload8mod2.c: New file.
7795 * elf/unload8mod3.c: New file.
7796
7797 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7798 it wasn't used.
7799
2c0b250a
DM
78002011-08-23 David S. Miller <davem@davemloft.net>
7801
7802 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7803 subtract stack bias.
7804 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7805 %sp not %fp in calculations.
7806 (_JMPBUF_UNWINDS_ADJ): Likewise.
7807
22044b48
DM
7808 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7809 (aio_suspend): Call it to force an exception region around the
7810 AIO_MISC_WAIT() invocation.
7811
2cae4995
AS
78122011-08-23 Andreas Schwab <schwab@redhat.com>
7813
7814 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7815 backslash.
7816
873a772e
AJ
78172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7818
7819 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7820 protection macro.
7821 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7822 and <dl-machine.h>.
7823 (Elf64_FuncDesc): Remove.
7824
25ad0df1
DM
78252011-08-22 David S. Miller <davem@davemloft.net>
7826
7827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7828 sigaltstack check, add missing cfi directives.
7829 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7830 missing cfi directives, and sigaltstack handling.
7831
e888bcbe
AS
78322011-08-16 Andreas Schwab <schwab@redhat.com>
7833
7834 [BZ #11724]
7835 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7836 object is seen twice.
7837 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7838
7839 * elf/Makefile (distribute): Add tst-initorder2.c.
7840 (tests): Add tst-initorder2.
7841 (modules-names): Add tst-initorder2a tst-initorder2b
7842 tst-initorder2c tst-initorder2d. Add rules to build them.
7843 ($(objpfx)tst-initorder2.out): New rule.
7844 * elf/tst-initorder2.c: New file.
7845 * elf/tst-initorder2.exp: New file.
7846
87162f46
AS
78472011-08-22 Andreas Schwab <schwab@redhat.com>
7848
70538b7f
AS
7849 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7850
f55ffe58
AS
7851 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7852 dependencies back to end of function.
7853
87162f46
AS
7854 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7855 $(elfobjdir)/ld.so.
7856
91b392a4
UD
78572011-08-21 Ulrich Drepper <drepper@gmail.com>
7858
7859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7860 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7862 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7863 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7864 of __vdso_gettimeofday.
7865 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7866 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7867 attribute_hidden.
7868 (_libc_vdso_platform_setup): Remove initialization of
7869 __vdso_gettimeofday and __vdso_time.
7870
5c43483f
UD
78712011-08-20 Ulrich Drepper <drepper@gmail.com>
7872
775a77e7
UD
7873 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7874 and fgetc_unlocked.
7875 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7876 getc_unlocked.
89f447ed 7877
49c74ba9
UD
7878 * elf/dl-open.c (add_to_global): Report additions to the global scope
7879 for LD_DEBUG=scopes.
7880 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7881 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7882
5c43483f
UD
7883 [BZ #13114]
7884 * stdio-common/Makefile (tests): Add bug24.
7885 * stdio-common/bug24.c: New file.
7886
a101b025
AJ
78872011-08-19 Andreas Jaeger <aj@suse.de>
7888
7889 [BZ #13114]
7890 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7891 non-existant file when using close-on-exec mode.
7892
c88f1766
UD
78932011-08-20 Ulrich Drepper <drepper@gmail.com>
7894
0276a718
UD
7895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7896 the very first instruction.
7897
c88f1766
UD
7898 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7899 the CFI state in the end.
7900 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7901 inclusion of dl-trampoline.h.
7902 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7903
51ccffa0
AS
79042011-08-19 Andreas Schwab <schwab@redhat.com>
7905
94d7165f
AS
7906 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7907 expectations for long double.
7908
51ccffa0
AS
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7910 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7911
fd708658 79122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7913
7914 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7915 artificual limit depends upon the system page size.
7916
44f0a71e
UD
79172011-08-17 Ulrich Drepper <drepper@gmail.com>
7918
7919 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7920 * resolv/Makefile: Define CFLAGS-libresolv.
7921
8de79a24
AS
79222011-08-17 Andreas Schwab <schwab@redhat.com>
7923
7924 * nss/makedb.c (compute_tables): Make variables used in nested
7925 function static.
7926
27724598
UD
79272011-08-17 Ulrich Drepper <drepper@gmail.com>
7928
c5305d88
UD
7929 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7930 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7931 if buffer was too small.
7932
27724598
UD
7933 * elf/pldd.c (main): Attach to all threads in the process.
7934 Rewrite /proc handling to use *at functions.
7935
076fe015
UD
79362011-08-16 Ulrich Drepper <drepper@gmail.com>
7937
174baab3
UD
7938 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7939 specifies first scope to show.
7940 (dl_open_worker): Update callers. Move printing scope of new
7941 object to before the relocation.
44f0a71e 7942 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7943 * sysdeps/generic/ldsodefs.h: Update declaration.
7944
076fe015
UD
7945 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7946 string for the scope number.
7947
a60df2c3
UD
79482011-08-14 Ulrich Drepper <drepper@gmail.com>
7949
7950 * nscd/servicescache.c (cache_addserv): Make sure written is always
7951 initialized.
7952
5e4287d1
RM
79532011-08-14 Roland McGrath <roland@hack.frob.com>
7954
85ae0589
RM
7955 * sysdeps/i386/i486/bits/atomic.h
7956 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7957 statement expression, so as to suppress "set but not used" warning.
7958 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7959
69f63097
RM
7960 * string/strncat.c (STRNCAT): Use prototype definition.
7961
675456ef
RM
7962 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7963 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7964 -Iprograms here.
7965 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7966 (localedef-modules): Add localedef.
7967 (locale-modules): Add locale.
7968
5e4287d1
RM
7969 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7970 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7971 to avoid a warning.
7972
9c96ff23
DM
79732011-08-14 David S. Miller <davem@davemloft.net>
7974
7975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7976 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7977
f9ddf089
UD
79782011-08-13 Ulrich Drepper <drepper@gmail.com>
7979
44f0a71e 7980 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7981 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7982 * elf/rtld.c (dl_main): Set l_name of vDSO.
7983 Call _dl_show_scope when DL_DEBUG_SCOPES.
7984 (process_dl_debug): Recognize scopes flag and also set it for all.
7985 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7986 Declare _dl_show_scope.
7987
1dc27704
UD
7988 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7989 (do_dlopen): Pass caller_dlopen to dl_open.
7990 (__libc_dlopen_mode): Initialize caller_dlopen.
7991
f9ddf089
UD
7992 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7993 of libc. Make tolower call locale-independent. Optimize a bit by
7994 using isdigit instead of isalnum.
7995 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7996
9ac533d3
UD
79972011-08-12 Ulrich Drepper <drepper@gmail.com>
7998
7999 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8000 was a dependency or dynamically loaded.
8001
89edf2e9
UD
80022011-08-11 Ulrich Drepper <drepper@gmail.com>
8003
8e999d29
UD
8004 * intl/l10nflist.c: Allow architecture-specific pop function.
8005 * sysdeps/x86_64/l10nflist.c: New file.
8006
89edf2e9
UD
8007 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8008 classification.
8009
14d96785
AS
80102011-08-10 Andreas Schwab <schwab@redhat.com>
8011
8012 * include/dirent.h: Add libc_hidden_proto for scandirat and
8013 scandirat64. Don't declare __scandirat64.
8014 * dirent/scandirat.c: Add libc_hidden_def.
8015 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8016 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8017
6761ac04
DM
80182011-08-10 David S. Miller <davem@davemloft.net>
8019
8020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8021 enum.
8022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8024 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8025
c55fbd1e
UD
80262011-08-09 Ulrich Drepper <drepper@gmail.com>
8027
8028 * Versions.def [libc]: Add GLIBC_2.15.
8029 * dirent/Makefile (routines): Add scandirat and scandirat64.
8030 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8031 GLIBC_2.15.
8032 * dirent/dirent.h: Declare scandirat and scandirat64.
8033 * dirent/scandirat.c: New file.
8034 * dirent/scandirat64.c: New file.
8035 * sysdeps/wordsize-64/scandirat.c: New file.
8036 * sysdeps/wordsize-64/scandirat64.c: New file.
8037 * dirent/opendir.c: Define opendirat.
8038 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8039 using scandirat.
8040 * dirent/scandir64.c: Adjust for scandir.c change.
8041 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8042 __scandirat64, and __scandir_cancel_handler.
8043 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8044 additional parameter and use openat instead of open (outside of ld.so).
8045 Add new __opendir as wrapper around __opendirat.
8046 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8047 here without requiring old scandirat implementation.
8048
879165f2
UD
80492011-08-08 Ulrich Drepper <drepper@gmail.com>
8050
8051 * dirent/scandir.c (cancel_handler): Renamed to
8052 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8053 defined. Adjust users.
8054 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8056
cb7e923b
UD
80572011-08-04 Ulrich Drepper <drepper@gmail.com>
8058
16292edd
UD
8059 * string/test-string.h (IMPL): Use __STRING to expand name and then
8060 stringify it.
8061
cb7e923b
UD
8062 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8063 of cleanups.
8064
cff82933
LD
80652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8066
8067 * string/Makefile: Update.
8068 (strop-tests): Append strncat.
8069 * string/test-wcscmp.c: New file.
8070 New comprehensive test for wcscmp.
8071 * string/test-strcmp.c: Update.
8072 (WIDE): New define.
8073
9be9bfcc
AS
80742011-07-22 Andreas Schwab <schwab@redhat.com>
8075
8076 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8077 line.
8078
2e96f1c7
AS
80792011-07-26 Andreas Schwab <schwab@redhat.com>
8080
8081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8082 encoding to ACE if AI_IDN.
8083
85188888
JJ
80842011-08-01 Jakub Jelinek <jakub@redhat.com>
8085
8086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8087 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8088
5fa16e9b
LD
80892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8090
8091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8092 Fix overflow bug in strncat.
8093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8094
8095 * string/test-strncat.c: Update.
8096 Add new tests for checking overflow bugs.
8097
80982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8099
8100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8101 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8102 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8103 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8105 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8106 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8107 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8108 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8109
8110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8111 (USE_AS_STRCAT): Define.
8112 Add strcat and strncat support.
8113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8114
8c1a459f
AS
81152011-07-25 Andreas Schwab <schwab@redhat.com>
8116
8117 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8118 __n bigger than INT_MAX+1.
8119 (__strncmp_g): Likewise.
8120
bba33c28
UD
81212011-07-23 Ulrich Drepper <drepper@gmail.com>
8122
798be72d
UD
8123 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8124 * libio/stido.h: Likewise.
8125
8accd4dc
UD
8126 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8127 (AF_NFC): Define.
8128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8129 (AF_NFC): Define.
8130
cbff0d96
UD
8131 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8132 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8136
9191c04a
UD
8137 [BZ #13021]
8138 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8139 installed.
8140
bba33c28
UD
8141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8142 typo.
8143 (_dl_x86_64_save_sse): Likewise.
8144
90f139dd
UD
81452011-07-22 Ulrich Drepper <drepper@gmail.com>
8146
1aae088a
UD
8147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8148 OSXSAVE.
8149 (_dl_x86_64_save_sse): Likewise.
8150
8e2045f5
UD
8151 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8152
90f139dd
UD
8153 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8154
1d002f25
AS
81552011-07-21 Andreas Schwab <schwab@redhat.com>
8156
8157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8158 change.
8159 (_dl_x86_64_save_sse): Use correct AVX check.
8160
21137f89
UD
81612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8162
8163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8164 bug in strncpy/strncat.
8165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8166
a65c0b7a
UD
81672011-07-21 Ulrich Drepper <drepper@gmail.com>
8168
8169 * string/tester.c (test_strcat): Add tests for different alignments
8170 of source and destination.
8171 (test_strncat): Likewise.
8172
6986b98a
UD
81732011-07-20 Ulrich Drepper <drepper@gmail.com>
8174
90bb2039
UD
8175 [BZ #12852]
8176 * posix/glob.c (glob): Check passed in values before using them in
8177 expressions to avoid some overflows.
8178 (glob_in_dir): Likewise.
8179
5644ef54
UD
8180 [BZ #13007]
8181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8182 check for AVX enablement so that we don't crash with old kernels and
8183 new hardware.
8184 * elf/tst-audit4.c: Add same checks here.
8185 * elf/tst-audit6.c: Likewise.
8186
8187 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8188
bfc9dc9b
AS
81892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8190
8191 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8192
702e64bb
UD
81932011-07-20 Ulrich Drepper <drepper@gmail.com>
8194
8195 * po/cs.po: Update from translation team.
8196 * po/bg.po: Likewise.
8197
295e904f
MP
81982011-07-12 Marek Polacek <mpolacek@redhat.com>
8199
8200 * misc/sys/cdefs.h: Add support for const attribute.
8201 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8202 to gnu_dev_{major,minor,makedev} functions.
8203
3ff94596
MP
82042011-07-20 Marek Polacek <mpolacek@redhat.com>
8205
8206 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8207
28b59fca
AS
82082011-07-20 Andreas Schwab <schwab@redhat.com>
8209
8210 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8211 strlen results.
8212
19df733e
AK
82132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8214
8215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8216 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8217 register in order to avoid conflicts with the soft frame pointer
8218 being held in r11 when necessary.
8219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8220 (INTERNAL_VSYSCALL_NCS): Likewise.
8221
c8835729
MP
82222011-07-14 Marek Polacek <mpolacek@redhat.com>
8223
8224 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8225 * elf/dl-fini.c (_dl_fini): Adjust caller.
8226 * elf/dl-close.c (_dl_close_worker): Likewise.
8227 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8228
b902330c
MP
82292011-07-15 Marek Polacek <mpolacek@redhat.com>
8230
8991e135
MP
8231 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8232 "aux_cache->nlibs < 0".
8233
b902330c
MP
8234 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8235 in the reload-count case.
8236
99710781
LD
82372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8238
8239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8240 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8241 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8242 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8243 * sysdeps/x86_64/multiarch/strcat.S: New file.
8244 * sysdeps/x86_64/multiarch/strncat.S: New file.
8245 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8246 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8247 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8248 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8250 (USE_AS_STRCAT): Define.
8251 Add strcat and strncat support.
8252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8254 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8255 * string/strncat.c: Update.
8256 (USE_AS_STRNCAT): Define.
8257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8258 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8259 and i7.
8260 * sysdeps/x86_64/multiarch/init-arch.h
8261 (bit_Prefer_PMINUB_for_stringop): New.
8262 (index_Prefer_PMINUB_for_stringop): Likewise.
8263 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8264 bit_Prefer_PMINUB_for_stringop.
8265
7dc6bd90
UD
82662011-07-19 Ulrich Drepper <drepper@gmail.com>
8267
8268 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8269 buffer64.
8270 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8271 of casting of buffer.
8272 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8273 buffer32 and buffer64.
8274 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8275 writes instead of casting of buffer.
8276 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8277 buffer32.
8278 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8279 casting of buffer.
8280
e0e72284
AS
82812011-07-19 Andreas Schwab <schwab@redhat.com>
8282
8283 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8284
feb1eb0b
UD
82852011-07-19 Ulrich Drepper <drepper@gmail.com>
8286
8287 * nscd/nscd.c (termination_handler): Don't do anything for a database
8288 if it has not yet been initialized.
8289
298711ff
UD
82902011-07-18 Ulrich Drepper <drepper@gmail.com>
8291
8292 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8293
82942011-07-15 Marek Polacek <mpolacek@redhat.com>
8295
8296 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8297
f9d68389
UD
82982011-07-18 Ulrich Drepper <drepper@gmail.com>
8299
8300 * po/nl.po: Update from translation team.
8301 * po/sv.po: Likewise.
8302
db290cf5
RM
83032011-07-16 Roland McGrath <roland@hack.frob.com>
8304
8305 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8306 now disallowed by GCC.
5c550700 8307
fd5e21c7
RM
8308 * configure.in (use-default-link): Default to yes if a test -shared
8309 link meets our qualifications.
8310 * configure: Regenerated.
8311
5c550700
RM
8312 * config.make.in (output-format): New variable.
8313 * configure.in: Check for ld --print-output-format support.
8314 * configure: Regenerated.
8315 * Makerules ($(common-objpfx)format.lds)
8316 [$(output-format) != unknown]: Just use $(output-format),
8317 instead of the linker-script munging.
8318
9fa2c032
RM
83192011-07-14 Roland McGrath <roland@hack.frob.com>
8320
a6928d51
RM
8321 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8322 of $(common-objpfx)shlib.lds.
8323 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8324
661607b3
RM
8325 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8326 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8327
9fa2c032
RM
8328 * configure.in (-z relro check): Adjust test code to add a large
8329 writable data section after it.
8330 * configure: Regenerated.
8331
defe9061
RM
83322011-07-11 Roland McGrath <roland@hack.frob.com>
8333
8334 * configure.in (-z relro check): Fix test code to make the variable
8335 truly const.
8336 * configure: Regenerated.
8337
319b9ad4
UD
83382011-07-11 Ulrich Drepper <drepper@gmail.com>
8339
8340 * nscd/nscd.h (struct traced_file): Define.
8341 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8342 elements. Add traced_files.
8343 (inotify_fd): Declare.
8344 (register_traced_file): Declare.
8345 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8346 (inotify_fd): Export.
8347 (resolv_conf_descr): Remove.
8348 (nscd_init): Move inotify descriptor creation to main.
8349 Don't register files for notification here.
8350 (register_traced_file): New function.
8351 (invalidate_cache): Don't use reset_res to determine whether to call
8352 res_init, go through the list of registered files.
8353 (main_loop_poll): The inotify descriptors are now stored in the
8354 structures for the traced files.
8355 (main_loop_epoll): Likewise
8356 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8357 to __nss_disable_nscd.
8358 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8359 for a database anymore. Check the records for all the registered
8360 files instead.
8361 * nss/Makefile (libnss_files-routines): Add files-init.
8362 (libnss_db-routines): Add db-init.
8363 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8364 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8365 * nss/nss_db/db-init.c: New file.
8366 * nss/nss_files/files-init.c: New file.
8367 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8368 __nss_lookup_function.
8369 (__nss_lookup_function): Call nss_load_library.
8370 (nss_load_all_libraries): New function.
8371 (__nss_disable_nscd): Take parameter with callback function for files
8372 to register. Set is_nscd. Load all the DSOs for the NSS modules
8373 used for the cached services.
8374 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8375 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8376 options for features to all the files in nscd.
8377
8378 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8379
23bee3e8
RM
83802011-07-10 Roland McGrath <roland@hack.frob.com>
8381
8382 * csu/elf-init.c (__libc_csu_init): Comment typo.
8383
46a5b7f0
UD
83842011-07-09 Ulrich Drepper <drepper@gmail.com>
8385
8386 * po/pl.po: Update from translation team.
8387 * po/ja.po: Likewise.
8388 * po/ru.po: Likewise.
8389 * po/ko.po: Likewise.
8390 * po/fr.po: Likewise.
8391
d30cf5bb
RM
83922011-07-09 Roland McGrath <roland@hack.frob.com>
8393
113ddea4
RM
8394 * configure.in (.ctors/.dtors header and trailer check):
8395 Use an empirical test on a built program.
8396 * configure: Regenerated.
8397
574920b4
RM
8398 * configure.in (-z relro check): Use an empirical test on a built DSO.
8399 Detect, but do not require, on ia64.
8400 * configure: Regenerated.
8401
d30cf5bb
RM
8402 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8403 Update tests that use readelf to use $READELF instead.
8404 * configure: Regenerated.
8405
8538fdb3
UD
84062011-07-08 Ulrich Drepper <drepper@gmail.com>
8407
8408 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8409 if the result is not used.
8410
04d08991
AJ
84112011-07-05 Andreas Jaeger <aj@suse.de>
8412
8413 [BZ#9696]
8414 * stdlib/tst-strtod.c: Add testcase.
8415
de283087
AD
84162011-07-07 Ulrich Drepper <drepper@gmail.com>
8417
4e5f31c8 8418 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8419 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8420 The latter has a higher limit. Take additional parameter to pass to
8421 the new function.
8422 (__pathconf): Pass file to __statfs_link_max.
8423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8424 __statfs_link_max.
8425 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8426 __statfs_link_max.
8427
de283087
AD
8428 [BZ #12868]
8429 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8431 Handle Lustre.
8432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8433 (__statfs_filesize_max): Likewise.
8434 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8435
c75fa153
AJ
84362011-07-05 Andreas Jaeger <aj@suse.de>
8437
8438 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8439
1a544854
UD
84402011-07-06 Marek Polacek <mpolacek@redhat.com>
8441
8442 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8443 `status' variable.
8444 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8445 Likewise.
8446
6f0eec67
UD
84472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8448
8449 * Makefile (strop-tests): Add strncat.
8450 * string/test-strncat.c: New file.
8451
aae30307
UD
84522011-06-30 Marek Polacek <mpolacek@redhat.com>
8453
8454 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8455
c0cfb5eb
UD
84562011-06-21 Andreas Jaeger <aj@suse.de>
8457
8458 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8459 Copy rule from iconvdata/Makefile.
8460
01636b21
UD
84612011-07-06 Ulrich Drepper <drepper@gmail.com>
8462
8463 [BZ #12922]
8464 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8465 but no long options are defined, just return 'W'.
8466
9895c8bc
UD
84672011-06-22 Marek Polacek <mpolacek@redhat.com>
8468
8469 [BZ #9696]
8470 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8471
5d4cf042
UD
84722011-07-06 Ulrich Drepper <drepper@gmail.com>
8473
8474 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8475 netgroups to read.
960e5535 8476 (innetgr): Likewise.
5d4cf042 8477
751eb97e
RM
84782011-07-05 Roland McGrath <roland@hack.frob.com>
8479
8480 * config.make.in (install_root): Default to $(DESTDIR).
8481
f15f1e45
UD
84822011-07-05 Ulrich Drepper <drepper@gmail.com>
8483
8484 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8485
4e34ac6a
RM
84862011-07-02 Roland McGrath <roland@hack.frob.com>
8487
5e9b6af4
RM
8488 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8489
84f9ea0f
RM
8490 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8491 containing directory rather than embedding absolute directory names.
8492
ea5ee9f7
RM
8493 * scripts/check-local-headers.sh: Rewritten using awk.
8494 Match by word, not by line. Print error messages for matches.
8495 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8496
1b74661a
RM
8497 * Makerules [shlib-lds-flags empty]:
8498 ($(common-objpfx)libc_pic.opts): New target.
8499 ($(common-objpfx)libc_pic.os.clean): New target.
8500 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8501
8502 * config.make.in (OBJCOPY): New variable.
8503 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8504 * configure: Regenerated.
8505
f781ef40
RM
8506 * config.make.in (use-default-link): New variable.
8507 * configure.in (use_default_link): Grok --with-default-link to set it.
8508 * configure: Regenerated.
8509 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8510 (shlib-lds, shlib-lds-flags): Define to empty.
8511
2d4fa81e
RM
8512 * Makerules (shlib-lds): New variable.
8513 (shlib-lds-flags): New variable.
8514 (build-shlib, build-moduile, build-module-asneeded): Use it.
8515 ($(common-objpfx)libc.so): Use $(shlib-lds).
8516 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8517 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8518
31fffa6b
RM
8519 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8520 DT_FLAGS/DT_FLAGS_1 with zero flags.
8521
4e34ac6a
RM
8522 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8523 linker script munging.
8524
fcfc776b
UD
85252011-07-02 Ulrich Drepper <drepper@gmail.com>
8526
8527 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8528 as 128-bit value.
8529 * crypt/sha512.c (sha512_process_block): Perform total addition using
8530 128-bit if possible.
8531 (__sha512_finish_ctx): Likewise.
8532 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8533 as 64-bit value.
8534 * crypt/sha256.c (SWAP64): Define.
8535 (sha256_process_block): Perform total addition using 64-bit if
8536 possible.
8537 (__sha256_finish_ctx): Likewise.
8538
99231d9a
UD
85392011-07-01 Ulrich Drepper <drepper@gmail.com>
8540
8541 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8543 * nscd/hstcache.c (cache_addhst): Likewise.
8544 * nscd/grpcache.c (cache_addgr): Likewise.
8545 * nscd/aicache.c (addhstaiX): Likewise
8546 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8547
445b4a53
TK
85482011-07-01 Thorsten Kukuk <kukuk@suse.de>
8549
8550 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8552 * nscd/hstcache.c (cache_addhst): Likewise.
8553 * nscd/grpcache.c (cache_addgr): Likewise.
8554 * nscd/aicache.c (addhstaiX): Likewise
8555
6d4d8e8e
AS
85562011-07-01 Andreas Schwab <schwab@redhat.com>
8557
8558 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8559 domain only when needed.
8560
89f654c5
AS
85612011-06-30 Andreas Schwab <schwab@redhat.com>
8562
8563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8564 is always restored.
8565
cf3b23ff
UD
85662011-06-29 Ulrich Drepper <drepper@gmail.com>
8567
8568 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8569 are re-adding the entry.
8570 * nscd/servicescache.c (cache_addserv): Likewise.
8571
751626f9
AJ
85722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8573
8574 * sysdeps/generic/dl-irel.h: fix protection against multiple
8575 inclusions.
8576 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8577
9113ea1f
UD
85782011-06-28 Ulrich Drepper <drepper@gmail.com>
8579
5c0b8d90
UD
8580 [BZ #12935]
8581 * malloc/memusage.sh: Fix quoting in message.
8582 * debug/xtrace.sh: Likewise.
8583
9113ea1f
UD
8584 * configure.in: Remove support for --experimental-malloc option, make
8585 it the default.
8586 * config.make.in: Likewise.
8587 * malloc/Makefile: Likewise.
8588
a4172181
AS
85892011-06-27 Andreas Schwab <schwab@redhat.com>
8590
8591 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8592 two-byte characters.
8593
78a7eee7
RM
85942011-06-27 Roland McGrath <roland@hack.frob.com>
8595
62bede13
RM
8596 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8597 AC_CACHE_CHECK invocation.
8598 * configure: Regenerated.
8599
78a7eee7
RM
8600 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8601
5ce33a62
UD
86022011-06-27 Ulrich Drepper <drepper@gmail.com>
8603
034807a9
UD
8604 [BZ #12350]
8605 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8606 bit from old_res_options.
8607
4902da17
UD
8608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8609
5ce33a62
UD
8610 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8611 value type for setfct.
8612
c2344f56
L
86132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8614
8615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8616 __gettimeofday instead of gettimeofday.
8617
68468076
UD
86182011-06-26 Ulrich Drepper <drepper@gmail.com>
8619
8620 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8621
acb0d739
L
86222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8623
8624 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8625
8626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8627 info.
8628
8912479f
L
86292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8630
8631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8632 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8633 strcpy-sse2-unaligned strncpy-sse2-unaligned
8634 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8635 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8636 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8637 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8638 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8641 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8642 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8643 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8644 (STRCPY): Support SSE2 and SSSE3 versions.
8645
d5495a11
UD
86462011-06-24 Ulrich Drepper <drepper@gmail.com>
8647
8648 [BZ #12874]
8649 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8650 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8651 kernels which artificially limit size of requests.
8652
0b1cbaae
L
86532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8654
8655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8656 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8657 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8658 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8659 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8660 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8661 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8662 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8665 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8666 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8667 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8668 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8669 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8671 Enable unaligned load optimization for Intel Core i3, i5 and i7
8672 processors.
8673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8674 Define.
8675 (index_Fast_Unaligned_Load): Define.
8676 (HAS_FAST_UNALIGNED_LOAD): Define.
8677
07f494a0
MP
86782011-06-23 Marek Polacek <mpolacek@redhat.com>
8679
8680 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8681
fa3fc0fe
UD
86822011-06-22 Ulrich Drepper <drepper@gmail.com>
8683
8684 [BZ #12907]
8685 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8686 until it is clear that the information is realy needed.
8687 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8688
e12df166
AS
86892011-06-22 Andreas Schwab <schwab@redhat.com>
8690
8691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8692
852eb34d
UD
86932011-06-22 Ulrich Drepper <drepper@gmail.com>
8694
84e2a551
UD
8695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8696 /sys/devices/system/cpu/online if it is usable.
8697
852eb34d
UD
8698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8699 reading the information from the /proc filesystem to once a second.
8700
6e502e19
UD
87012011-06-21 Andreas Jaeger <aj@suse.de>
8702
8703 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8704 NULL after inclusion of kernel headers.
8705
75d39ff2
UD
87062011-06-21 Ulrich Drepper <drepper@gmail.com>
8707
51f9aa6a
UD
8708 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8709 calls to internal_setent.
8710
c0244a9d
UD
8711 [BZ #12885]
8712 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8713 addresses using gethostbyname4_r ignore IPv4 addresses.
8714
c5e3c2ae
UD
8715 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8716 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8717
75d39ff2
UD
8718 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8719
42675c6f
DM
87202011-06-20 David S. Miller <davem@davemloft.net>
8721
8722 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8723 inclusions.
8724 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8725
8726 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8727 (elf_irel): Use it.
8728 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8729 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8730 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8731 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8732 * sysdeps/x86_64/dl-irel.h: Likewise.
8733
8734 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8735 * elf/dl-sym.c: Likewise.
8736
57912a71
UD
87372011-06-15 Ulrich Drepper <drepper@gmail.com>
8738
8739 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8740 need to dereference resplen2.
8741
ee22793d
AS
87422011-06-14 Andreas Schwab <schwab@redhat.com>
8743
8744 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8745
a9e836b0
UD
87462011-06-15 Ulrich Drepper <drepper@gmail.com>
8747
77fb9117
UD
8748 * Makeconfig: Define vardbdir and inst_vardbdir.
8749 * nss/Makefile: Add rules to install db-Makefile.
8750
40c1b22c
UD
8751 * nss/nss_db/db-XXX.c: Cleanup.
8752
9f2da732
UD
8753 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8754 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8755 GLIBC_PRIVATE.
8756 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8757 * nss/makedb.c: Implement -g option to specify that value strings
8758 are generated and should not be added to table iterated over for
8759 get*ent calls.
8760 * nss/nss_db/db-initgroups.c: New file.
8761
82e9a1f7
UD
8762 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8763 interface.
8764
c41af17e
UD
8765 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8766 (internal_getgrouplist): Adjust to name change.
8767 Update use_initgroups_entry if this is not the first call.
8768 * nss/databases.def: Add initgroups entry.
8769
a9e836b0
UD
8770 * nss/makedb.c (compute_tables): Check result of multiple hash table
8771 sizes to minimize maximum chain length.
8772
2666d441
UD
87732011-06-14 Ulrich Drepper <drepper@gmail.com>
8774
8775 * Versions.def: Add entry for libnss_db.
8776 * shlib-versions: Likewise.
8777 * nss/Makefile: Add rules to build libnss_db.
8778 * nss/Versions: Add libnss_db information. Organize libnss_files
8779 entries better.
8780 * nss/db-Makefile: Add gshadow support. Change rules for the new
8781 makedb progra. Some minor improvements to generate smaller files.
8782 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8783 here from...
8784 * nss/makedb.c: ...here.
8785 Improve database format to be smaller and require less memory at
8786 runtime.
8787 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8788 db anymore.
8789 * nss/nss_db/db-netgrp.c: Likewise.
8790 * nss/nss_db/db-open.c: Likewise.
8791 * nss/nss_files/flies-XXX.x: Adjust comments.
8792 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8793 * nss/nss_files/files-grp.c: Likewise.
8794 * nss/nss_files/files-hosts.c: Likewise.
8795 * nss/nss_files/files-network.c: Likewise.
8796 * nss/nss_files/files-proto.c: Likewise.
8797 * nss/nss_files/files-pwd.c: Likewise.
8798 * nss/nss_files/files-rpc.c: Likewise.
8799 * nss/nss_files/files-service.c: Likewise.
8800 * nss/nss_files/files-sgrp.c: Likewise.
8801 * nss/nss_files/files-spwd.c: Likewise.
8802 * nss/nss_db/db-alias.c: Removed.
8803 * nss/nss_db/dummy-db.h: Removed.
8804
9ee76b5a
UD
88052011-06-02 Ulrich Drepper <drepper@gmail.com>
8806
8807 * nss/makedb.c: Rewritten to not use database library.
8808 * nss/Makefile: Update to build new makedb program.
8809
c71ca1f8
AJ
88102011-06-14 Andreas Jaeger <aj@suse.de>
8811
8812 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8813 memset declaration.
8814
3154bfb8
UD
88152011-06-10 Andreas Schwab <schwab@redhat.com>
8816
8817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8818 tmpbuf.
8819
b350afab
RM
88202011-06-10 Roland McGrath <roland@hack.frob.com>
8821
decd4e50
RM
8822 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8823 * elf/Makefile ($(objpfx)ld.so): Likewise.
8824
5615eaf2
RM
8825 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8826 Don't list ld.so twice in dependencies.
8827
8828 * posix/bug-regex31.c: Include <stdlib.h>.
8829
8830 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8831
8832 * nis/nss_compat/compat-spwd.c
8833 (getspent_next_nss_netgr): Remove unused variable.
8834 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8835
8836 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8837 nonmembers" output to use the right array.
8838
8839 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8840
8841 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8842
8843 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8844 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8845 * catgets/gencat.c (read_input_file): Likewise.
8846 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8847
8848 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8849 variable definition inside #if's controlling its use.
8850
8851 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8852
8853 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8854
8855 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8856
8857 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8858 unreachable code.
8859
8860 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8861
b68e08db
RM
8862 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8863 * configure: Regenerated.
8864
b350afab
RM
8865 * Makerules: Revert last change.
8866 * elf/Makefile: Likewise.
8867
28368601
RM
88682011-06-09 Roland McGrath <roland@hack.frob.com>
8869
8870 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8871 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8872 (reloc-link): Likewise.
8873
11988f8f
UD
88742011-06-09 Ulrich Drepper <drepper@gmail.com>
8875
8876 * elf/Makefile: Add rules to build pldd.
8877 * elf/pldd.c: New file.
8878 * elf/pldd-xx.c: New file.
8879
e80fab37
UD
88802011-06-07 Ulrich Drepper <drepper@gmail.com>
8881
8882 * version.h: Update for 2.15 development version.
8883
9b849836
DM
88842011-06-07 David S. Miller <davem@davemloft.net>
8885
8886 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8887 ifuncs.
8888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8889 elf_machine_lazy_rel): Likewise.
8890 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8892 elf_machine_lazy_rel): Likewise.
8893 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8894 dl_hwcap via passed in argument.
8895 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8896 Likewise.
8897
5a31b283
AK
88982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8899
8900 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8901
069e52f8
RM
89022011-06-06 Roland McGrath <roland@hack.frob.com>
8903
8904 [BZ #12849]
8905 * manual/fdl-1.1.texi: New file, verbatim from:
8906 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8907 * manual/lgpl-2.1.texi: New file, verbatim from:
8908 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8909 * manual/Makefile (licenses): New variable, list those new file names.
8910 (texis): Use it.
8911 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8912
8913 * manual/fdl.texi: File removed.
8914 * manual/lesser.texi: File removed.
8915 * manual/libc.texinfo (Copying, Documentation License):
8916 Use new @include file names, put @appendix directive before @include.
8917
f16846a5
JJ
89182011-06-04 Jakub Jelinek <jakub@redhat.com>
8919
8920 [BZ #12841]
8921 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8922 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8923 (mq_open): Add __NTH.
8924
3d29045b
L
89252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8926
8927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8928 Assume Intel Core i3/i5/i7 processor if AVX is available.
8929
8c297311
UD
89302011-05-31 Ulrich Drepper <drepper@gmail.com>
8931
8932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8933 typo.
8934
c8fc0c91
UD
89352011-05-31 Andreas Schwab <schwab@redhat.com>
8936
8937 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8938 memory. Use alloca_account. Fix memory leak when retrying.
8939
5b27a807
UD
89402011-05-31 Ulrich Drepper <drepper@gmail.com>
8941
356f8bc6
UD
8942 * version.h (RELEASE): Bump for 2.14 release.
8943 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8944
5b27a807
UD
8945 * config.make.in (RANLIB): Remove entry.
8946
01f16ab0
UD
89472011-05-30 Ulrich Drepper <drepper@gmail.com>
8948
41fce8bd
UD
8949 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8950 (libc.pot): Work around missing support for .ksh extension in xgettext.
8951
4769ae77
UD
8952 [BZ #12684]
8953 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8954 if both request failed.
8955 (send_dg): In case of server errors clear resplen or *resplen2.
8956
6b1e7d19
UD
8957 [BZ #12454]
8958 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8959 when there are multiple maps.
8960 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8961 (_dl_fini): Remove test here.
8962
01f16ab0
UD
8963 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8964
b1ebd700
UD
89652011-05-29 Ulrich Drepper <drepper@gmail.com>
8966
7ae22829
UD
8967 [BZ #12350]
8968 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8969 bit from old_res_options.
8970 (gaih_inet): Likewise.
8971
553149f6 8972 [BZ #11099]
18a84741 8973 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8974 as signed.
8975
652ffab1
UD
8976 * resolv/res_init.c (res_setoptions): Make the code more compact.
8977
16985fd0
UD
8978 [BZ #11558]
8979 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8980 set RES_USEVC.
8981
0464f746
UD
8982 [BZ #11634]
8983 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8984
7d17596c
UD
8985 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8986
cf6bbbd7
UD
8987 [BZ #11781]
8988 * malloc/malloc.h: Declare malloc hook variables as volatile.
8989
13f1ab36
UD
8990 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8991 in last patch.
8992
b1ebd700
UD
8993 [BZ #11799]
8994 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8995 raise in the comment.
80e2212d
UD
8996 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8998 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8999
ce67228d
UD
90002011-05-28 Ulrich Drepper <drepper@gmail.com>
9001
8887a920
UD
9002 [BZ #12811]
9003 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9004 grow the buffers more if it already has to be sufficient.
9005 (build_wcs_upper_buffer): Likewise.
9006 * posix/regexec.c (check_matching): Likewise.
9007 (clean_state_log_if_needed): Likewise.
9008 (extend_buffers): Don't enlarge buffers beyond size of the input
9009 buffer.
9010 Patches mostly by Emil Wojak <emil@wojak.eu>.
9011 * posix/bug-regex32.c: New file.
9012 * posix/Makefile (tests): Add bug-regex32.
9013
4f031072
UD
9014 * locale/findlocale.c (_nl_find_locale): Return right away if
9015 _nl_explode_name failed.
9016 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9017
d0478f0c
UD
9018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9019
de81b246
UD
9020 * debug/xtrace.sh: Unify messages.
9021 * malloc/memusage.sh: Likewise.
9022
c738465a
UD
9023 [BZ #12813]
9024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9025 time symbol from vDSO. Substitute with vsyscall if not available.
9026 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9027 __vdso_time.
9028
f1f929d7
UD
9029 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9030 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9031 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9032 Add sendmmsg and internal_sendmmsg.
9033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9034 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9035 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9036
ce67228d
UD
9037 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9038 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9040
e57420c6
UD
90412011-05-27 Ulrich Drepper <drepper@gmail.com>
9042
a8509ca5
UD
9043 [BZ #12813]
9044 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9045 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9046 available.
9047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9048 __vdso_getcpu.
9049
e57420c6
UD
9050 [BZ #12814]
9051 * iconvdata/Makefile (tests): Add bug-iconv9.
9052 * iconvdata/bug-iconv9.c: New file.
9053
4d07db15
AS
90542011-05-27 Andreas Schwab <schwab@redhat.com>
9055
9056 [BZ #12814]
9057 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9058
ea486f69
JJ
90592011-05-25 Jakub Jelinek <jakub@redhat.com>
9060
9061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9062 (struct user_regs_struct): Change intcs field back to cs.
9063
6f038433
UD
90642011-05-25 Ulrich Drepper <drepper@gmail.com>
9065
9066 * po/ja.po: Update from translation team.
9067
67f86a25
UD
90682011-05-23 Ulrich Drepper <drepper@gmail.com>
9069
9070 [BZ #12795]
9071 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9072 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9073
def7fbd6
AS
90742011-05-20 Andreas Schwab <schwab@redhat.com>
9075
9076 * stdlib/longlong.h: Update from GCC.
9077
f50ef8f1
AS
90782011-05-23 Andreas Schwab <schwab@redhat.com>
9079
9080 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9081 parameter name.
9082 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9083 Add parameter name.
9084 (__sysconf): Pass it down.
9085
de7ce8f1
UD
90862011-05-22 Ulrich Drepper <drepper@gmail.com>
9087
f2962a71
UD
9088 [BZ #12671]
9089 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9090 some situations.
9091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9092 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9093 add in in __libc_use_alloca calls. Adjust callers.
9094 (glob): Use malloc in some situations.
9095
de7ce8f1
UD
9096 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9097 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9098 pltexit.
9099
aec84f53
UD
91002011-05-21 Ulrich Drepper <drepper@gmail.com>
9101
05bb4a68
UD
9102 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9103 and CLOCK_BOOTTIME_ALARM.
9104
7ea72f99
UD
9105 [BZ #12782]
9106 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9107 is returned.
9108
7e4afad5
UD
9109 * string/_strerror.c (__strerror_r): Print negative errors as signed
9110 numbers.
9111
8e211fec
UD
9112 [BZ #12777]
9113 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9114 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9115 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9116
f7d82dc9
UD
9117 * configure.in: Fix typo in redirection and correct removal of test
9118 files in two cases.
9119
cc9e536d
UD
9120 [BZ #12788]
9121 * locale/setlocale.c (new_composite_name): Fix test to check for
9122 identical name of all categories.
9123
aec84f53
UD
9124 [BZ #12792]
9125 * libio/filedoalloc.c (local_isatty): New function.
9126 (_IO_file_doallocate): Use local_isatty.
9127 * stdio-common/perror.c (perror): In case a new stream is used
9128 forward the stream error.
9129 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9130 error flag.
9131
78e64fdc
RT
91322011-05-20 Ulrich Drepper <drepper@gmail.com>
9133
34a9094f
UD
9134 [BZ #11869]
9135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9136 alloca.
9137 * include/alloca.h (extend_alloca_account): Define.
9138
78e64fdc
RT
9139 [BZ #11857]
9140 * posix/regex.h: Fix comments with documentation of user-accessible
9141 fields after compilation and describe correct free'ing of pattern
9142 after re_compile_pattern.
9143 Patch by Reuben Thomas <rrt@sc3d.org>.
9144
457bddfc
RA
91452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9146
9147 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9148 and -mno-altivec to prevent the compiler from using Altivec and/or
9149 VSX instructions when the corresponding registers are not available.
9150
a4527b51
AS
91512011-05-19 Andreas Schwab <schwab@redhat.com>
9152
9153 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9154
ed690b2f
UD
91552011-05-19 Ulrich Drepper <drepper@gmail.com>
9156
9157 * libio/freopen.c (freopen): Use __dup2, not dup2.
9158 * libio/freopen64.c (freopen64): Likewise.
9159
8db73634
L
91602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9161
9162 [BZ #12775]
9163 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9164 * math/Makefile (tests): Add test-powl.
9165 (CFLAGS-test-powl.c): Define.
9166 * math/test-powl.c: New file.
9167
0a197a9d
L
91682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9169
9170 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9171
ee30c380
UD
91722011-05-17 Ulrich Drepper <drepper@gmail.com>
9173
9174 [BZ #11837]
9175 * iconvdata/gb18030.c: Update to GB18020-2005.
9176
6ce75379
UD
91772011-05-16 Ulrich Drepper <drepper@gmail.com>
9178
a4b89fd8
AR
9179 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9180 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9181 Patch by Aharon Robbins <arnold@skeeve.com>.
9182
ea389b12
UD
9183 [BZ #11892]
9184 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9185 on the stack.
9186
68a3f91f
UD
9187 [BZ #11895]
9188 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9189 through underflows.
9190
15cc7dd1
UD
9191 [BZ #12766]
9192 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9193 point to strings before performing equality test for error_one_per_line
9194 mode.
9195
f3799213
UD
9196 [BZ #11697]
9197 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9198
d79a9c94
UD
9199 [BZ #11820]
9200 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9201 (struct user_fpregs_struct): Avoid __uint*_t types.
9202
56e5eb46
UD
9203 [BZ #6420]
9204 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9205 symbol info. Use it instead of calling _dl_addr locally.
9206 (lock_and_info): New function.
9207 (tr_freehook): Call lock_and_info and pass symbol info as additional
9208 parameter to tr_where.
9209 (tr_mallochook): Likewise.
9210 (tr_reallochook): Likewise.
9211 (tr_memalignhook): Likewise.
9212
6ce75379
UD
9213 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9214 used and couldn't be at all thread-safe.
9215
f8a3b5bf
UD
92162011-05-15 Ulrich Drepper <drepper@gmail.com>
9217
94b7cc37
UD
9218 * libio/freopen.c (freopen): Don't close old file descriptor
9219 before the new one is opened. Instead dup the new file descriptor
9220 to the old one after the new stream is created.
9221 * libio/freopen64.c (freopen64): Likewise.
9222 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9223 * libio/fileops.c (_IO_new_file_close_it): Handle new
9224 _IO_FLAGS2_NOCLOSE flag.
9225 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9226 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9227 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9228 _IO_FLAGS2_NOCLOSE flag.
9229 * include/unistd.h: Add hidden_proto for dup3.
9230 Define __have_dup3.
9231 * io/dup3.c: Define hidden symbol.
9232 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9233
bd25564e
UD
9234 [BZ #7101]
9235 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9236 when an incomplete long option is used.
9237 * posix/tst-getopt_long1.c: New file.
9238 * posix/Makefile (tests): Add tst-getopt_long1.
9239
c84cfef4
UD
9240 [BZ #10138]
9241 * scripts/config.guess: Update from autoconf-2.68.
9242 * scripts/config.sub: Likewise.
9243
3b85df27
UD
9244 [BZ #10157]
9245 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9246 tests into ...
9247 (has_cpuclock): ...this. New function.
9248 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9249 macro here based on has_cpuclock code.
9250
15a856b1
UD
9251 [BZ #10149]
9252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9253 First byte (not low byte) is now always NUL.
9254 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9255
05f399e6
UD
9256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9257 Use non-cancelable interfaces.
9258
10a52685 9259 [BZ #9809]
94ecc67d
UD
9260 * locale/iso-639.def: Add entry for Sorani.
9261
f8a3b5bf
UD
9262 [BZ #11901]
9263 * include/stdlib.h: Move include protection to the right place.
9264 Define abort_msg_s. Declare __abort_msg with it.
9265 * stdlib/abort.c (__abort_msg): Adjust type.
9266 * assert/assert.c (__assert_fail_base): New function. Majority
9267 of code from __assert_fail. Allocate memory for __abort_msg with
9268 mmap.
9269 (__assert_fail): Now call __assert_fail_base.
9270 * assert/assert-perr.c: Remove bulk of implementation. Use
9271 __assert_fail_base.
9272 * include/assert.hL Declare __assert_fail_base.
9273 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9274 mmap.
9275 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9276
1af4e298
UD
92772011-05-14 Ulrich Drepper <drepper@gmail.com>
9278
f8a3b5bf 9279 [BZ #11952]
d26dfc60
MG
9280 [BZ #12453]
9281 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9282 until all modules are registered in the DTV.
9283 * elf/Makefile: Add rules to build and run tst-tls19.
9284 * elf/tst-tls19.c: New file.
9285 * elf/tst-tls19mod1.c: New file.
9286 * elf/tst-tls19mod2.c: New file.
9287 * elf/tst-tls19mod3.c: New file.
9288 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9289
2fc54d6f
UD
9290 [BZ #12083]
9291 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9292 correctly.
9293
98d76b46
UD
9294 [BZ #12601]
9295 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9296 two-byte sequence errors.
9297 * iconvdata/Makefile (tests): Add bug-iconv8.
9298 * iconvdata/bug-iconv8.c: New file.
9299
da3c19ef
UD
9300 [BZ #12626]
9301 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9302 buf2 definition.
9303
ca408c15
UD
9304 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9305
d6f67f7d
UD
9306 [BZ #12432]
9307 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9308 (dummy_getcfa): New function.
9309 (init): Get _Unwind_GetCFA address, use dummy if not found.
9310 (backtrace_helper): In recursion check, also check whether CFA changes.
9311 (__backtrace): Completely initialize arg.
9312
1af4e298 9313 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9314 storing incomplete byte sequence in state object. Avoid testing for
9315 guaranteed too small input if we know there is enough data available.
1af4e298 9316
da62f81b
AS
93172011-05-11 Andreas Schwab <schwab@redhat.com>
9318
9319 * Makeconfig (+link-pie): Indent.
9320 * Rules (binaries-pie): Define if $(have-fpie) and
9321 $(build-shared).
9322 (binaries-shared): Also filter out $(binaries-pie).
9323 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9324 * nscd/Makefile (others-pie): Add nscd.
9325 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9326 ($(objpfx)nscd): Remove command override.
9327 * login/Makefile (others-pie): Add pt_chown.
9328 ($(objpfx)pt_chown): Remove command override.
9329 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9330 remove command overrides.
9331
fcabc0f8
UD
93322011-05-13 Ulrich Drepper <drepper@gmail.com>
9333
20030ae6
UD
9334 * libio/tst_putwc.c: Fix error messages.
9335
fcabc0f8
UD
9336 [BZ #12724]
9337 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9338 currently writing and seek to current position when not.
9339 * libio/Makefile (tests): Add bug-fclose1.
9340 * libio/bug-fclose1.c: New file.
9341
320a5dc0
PB
93422011-05-12 Ulrich Drepper <drepper@gmail.com>
9343
9344 [BZ #12511]
9345 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9346 don't set DF_1_NODELETE here.
9347 (do_lookup_x): When entering new entry test for copy relocation
9348 and if necessary set DF_1_NODELETE flag.
9349 * elf/tst-unique4.cc: New file.
9350 * elf/tst-unique4.h: New file.
9351 * elf/tst-unique4lib.cc: New file.
9352 * elf/Makefile: Add rules to build and run tst-unique4.
9353 Patch by Piotr Bury <pbury@goahead.com>.
9354
22836f52
UD
93552011-05-11 Ulrich Drepper <drepper@gmail.com>
9356
f574184a
UD
9357 [BZ #12052]
9358 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9359
e1fb097f
UD
9360 [BZ #12625]
9361 * misc/mntent_r.c (addmntent): Flush the stream after the output
9362
22836f52
UD
9363 [BZ #12393]
9364 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9365 (is_trusted_path_normalize): Skip initial colon. Append slash
9366 to empty buffer. Duplicate is_trusted_path code but allow
9367 constructed patch to be prefix.
9368 (is_dst): Allow $ORIGIN followed by /.
9369 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9370 Correct testing of result of is_trusted_path_normalize
9371 (decompose_rpath): Fix warning.
9372
7b3b0b2a
UD
93732011-05-10 Ulrich Drepper <drepper@gmail.com>
9374
9375 [BZ #11257]
9376 * grp/initgroups.c (internal_getgrouplist): When we found the service
9377 list through the initgroups entry in nsswitch.conf do not always
9378 continue on a successful lookup. Don't always use the
eac80ce2 9379 __nss_group_database value if it is set.
7b3b0b2a
UD
9380 * nss/nsswitch.conf (initgroups): Change action for successful db
9381 lookup to continue for compatibility.
9382
2a81eaa5
UD
93832011-05-09 Ulrich Drepper <drepper@gmail.com>
9384
be97a69e
UD
9385 [BZ #11532]
9386 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9387 and CP774 modules.
9388 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9389 and CP774 modules.
9390 * iconvdata/tst-tables.sh: Likewise.
9391 * iconvdata/cp770.c: New file.
9392 * iconvdata/cp771.c: New file.
9393 * iconvdata/cp772.c: New file.
9394 * iconvdata/cp773.c: New file.
9395 * iconvdata/cp774.c: New file.
9396 * iconvdata/testdata/CP770: New file.
9397 * iconvdata/testdata/CP770..UTF8: New file.
9398 * iconvdata/testdata/CP771: New file.
9399 * iconvdata/testdata/CP771..UTF8: New file.
9400 * iconvdata/testdata/CP772: New file.
9401 * iconvdata/testdata/CP772..UTF8: New file.
9402 * iconvdata/testdata/CP773: New file.
9403 * iconvdata/testdata/CP773..UTF8: New file.
9404 * iconvdata/testdata/CP774: New file.
9405 * iconvdata/testdata/CP774..UTF8: New file.
9406
9407 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9408 END CHARMAP line.
9409 * iconvdata/gen-8bit-gap.sh: Likewise.
9410 * iconvdata/gen-8bit.sh: Likewise.
9411
c1e9e399
UD
9412 * locale/iso-639.def: Add ary entry.
9413
24c55fb3 9414 [BZ #11258]
96b4b1b0
UD
9415 * locale/C-translit.h.in: Add U20A1 transliteration.
9416
bdc2f971
KB
9417 [BZ #12178]
9418 * locale/iso-639.def: Add wae entry.
9419 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9420
2952b117
UD
9421 [BZ #12545]
9422 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9423 for n.
9424
2a81eaa5
UD
9425 [BZ #12711]
9426 * locale/C-translit.h.in: Add entry for U20B9.
9427 Patch by pravin.d.s@gmail.com.
9428
28377d1b
UD
94292011-05-08 Ulrich Drepper <drepper@gmail.com>
9430
7fb90fb8
UD
9431 [BZ #12713]
9432 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9433 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9434 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9435 in rtld. Use *stat64.
7fb90fb8 9436 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9437 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9438 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9439 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9440 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9441 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9442 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9443 __fstatat64 macros.
7fb90fb8
UD
9444 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9445 * dirent/rewinddir.c: Add libc_hidden_def.
9446 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9447 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9448
28377d1b
UD
9449 * include/dirent.h (__alloc_dir): Add flags parameter.
9450 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9451 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9452 __alloc_dir.
9453 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9454 from fdopendir if O_CLOEXEC is already set.
9455
66bdbaa4
AM
94562011-03-15 Alan Modra <amodra@gmail.com>
9457
9458 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9459 l_tls_firstbyte_offset non-zero. Save padding offset in
9460 l_tls_firstbyte_offset for later use.
9461 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9462 freeing static tls block.
9463
95721191
JN
94642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9465
9466 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9467 where #ifdef was intended. The intent is to prevent ARG_MAX from
9468 being defined by the kernel headers.
9469
f87dfb1f
UD
94702011-05-07 Ulrich Drepper <drepper@gmail.com>
9471
9472 [BZ #12734]
9473 * resolv/resolv.h: Define RES_NOTLDQUERY.
9474 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9475 no-tld-query and set RES_NOTLDQUERY.
9476 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9477 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9478 modern BIND to search name as TLD unless forbidden.
9479
47c3cd7a
UD
94802011-05-07 Petr Baudis <pasky@suse.cz>
9481 Ulrich Drepper <drepper@gmail.com>
9482
9483 [BZ #12393]
9484 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9485 (is_trusted_path): ...to here.
c1e9ea35 9486 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9487 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9488 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9489
8a35c912
PP
94902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9491
9492 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9493 __BEGIN/__END_DECLS.
9494
acd41f47
UD
94952011-05-06 Ulrich Drepper <drepper@gmail.com>
9496
9497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9498 NSS_STATUS_NOTFOUND if no record was found.
9499
597df647
AS
95002011-05-05 Andreas Schwab <schwab@redhat.com>
9501
9502 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9503 (headers-not-in-tirpc): Remove rpc/netdb.h
9504 * resolv/netdb.h: Revert last change.
9505
b9af1301
PP
95062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9507
9508 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9509 circular dependency between libgcc.a and libc.a.
9510
4e34d5f5
AS
95112011-05-05 Andreas Schwab <schwab@redhat.com>
9512
9513 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9514 * nis/Makefile: Don't install rpcsvc/*.
9515 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9516 instead of <rpc/types.h>.
9517 (MAXHOSTNAMELEN): Define.
9518
00ee369c
AS
95192011-05-03 Andreas Schwab <schwab@redhat.com>
9520
9521 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9522
0b592a30
MB
95232011-04-28 Maciej Babinski <mbabinski@google.com>
9524
9525 [BZ #12714]
9526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9527 gethostbyname4_r when IPv6 results are possible.
9528
6e04cbbe
UD
95292011-05-02 Ulrich Drepper <drepper@gmail.com>
9530
9531 [BZ #12723]
9532 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9533 _PC_PIPE_BUF handling.
9534
e4ecafe0
BH
95352011-04-30 Bruno Haible <bruno@clisp.org>
9536
9537 [BZ #12717]
9538 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9539 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9540 to 'int'.
9541 * inet/getnameinfo.c (getnameinfo): Likewise.
9542
125ee683
UD
95432011-04-29 Ulrich Drepper <drepper@gmail.com>
9544
9545 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9546 to groups setting in database lookup.
9547 * nss/nsswitch.conf: Add initgroups entry.
9548
b722481a
EB
95492011-04-22 Ulrich Drepper <drepper@gmail.com>
9550
9551 [BZ #12685]
9552 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9553 mode string.
9554 Patch by Eric Blake <eblake@redhat.com>.
9555
4df46dbd
L
95562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 * sunrpc/Makefile (need-export-routines): Add svc_run.
9559 (routines): Remove svc_run.
9560 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9561 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9562 * sunrpc/svc_run.c (svc_run): Likewise.
9563 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9564
e84142d2
UD
95652011-04-21 Ulrich Drepper <drepper@gmail.com>
9566
9567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9568 problem in reallocation in last patch.
9569
877175d8
UD
95702011-04-20 Ulrich Drepper <drepper@gmail.com>
9571
9572 * sunrpc/Makefile: Move inclusion of Rules.
9573
ab8eed78
UD
95742011-04-19 Ulrich Drepper <drepper@gmail.com>
9575
9576 * nss/nss_files/files-initgroups.c: New file.
9577 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9578 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9579 _nss_files_initgroups_dyn.
9580
e3d8f584
RS
95812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9582
9583 * elf/elf.h (R_ARM_IRELATIVE): Define.
9584
af190f45
UD
95852011-04-19 Ulrich Drepper <drepper@gmail.com>
9586
9587 * po/ru.po: Update from translation team.
9588
53cf59ef
UD
95892011-04-17 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9592 dependencies.
9593
4c559bcd
MF
95942011-02-06 Mike Frysinger <vapier@gentoo.org>
9595
9596 [BZ #12653]
9597 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9598 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9602
4420675c
AS
96032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9604
9605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9606 differing bytes.
9607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9610
75ea32ab
UD
96112011-04-17 Ulrich Drepper <drepper@gmail.com>
9612
9613 [BZ #12420]
9614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9615 storing it.
9616 * stdlib/bug-getcontext.c: New file.
9617 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9618
27390476
AK
96192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9620
9621 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9622 instructions into .machine "z9-109".
9623 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9624 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9625
10442705
AK
96262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9627
9628 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9629 between environment variables and auxiliary vector.
9630
7b57bfe5
UD
96312011-04-16 Ulrich Drepper <drepper@gmail.com>
9632
9633 * Makefile: Add rules to build linkobj/libc.so.
9634 * include/libc-symbols.h: Define libc_hidden_nolink.
9635 * include/rpc/auth.h: Mark functions which are to be hidden.
9636 * include/rpc/auth_des.h: Likewise.
9637 * include/rpc/auth_unix.h: Likewise.
9638 * include/rpc/clnt.h: Likewise.
9639 * include/rpc/des_crypt.h: Likewise.
9640 * include/rpc/key_prot.h: Likewise.
9641 * include/rpc/pmap_clnt.h: Likewise.
9642 * include/rpc/pmap_prot.h: Likewise.
9643 * include/rpc/pmap_rmt.h: Likewise.
9644 * include/rpc/rpc_msg.h: Likewise.
9645 * include/rpc/svc.h: Likewise.
9646 * include/rpc/svc_auth.h: Likewise.
9647 * include/rpc/xdr.h: Likewise.
9648 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9649 * nss/Makefile: Likewise.
9650 * sunrpc/Makefile: Don't install headers. Build library with normal
9651 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9652 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9653 for the compat linking library. Remove use of INTDEF/INTUSE.
9654 * sunrpc/auth_none.c: Likewise.
9655 * sunrpc/auth_unix.c: Likewise.
9656 * sunrpc/authdes_prot.c: Likewise.
9657 * sunrpc/authuxprot.c: Likewise.
9658 * sunrpc/clnt_gen.c: Likewise.
9659 * sunrpc/clnt_perr.c: Likewise.
9660 * sunrpc/clnt_raw.c: Likewise.
9661 * sunrpc/clnt_simp.c: Likewise.
9662 * sunrpc/clnt_tcp.c: Likewise.
9663 * sunrpc/clnt_udp.c: Likewise.
9664 * sunrpc/clnt_unix.c: Likewise.
9665 * sunrpc/des_crypt.c: Likewise.
9666 * sunrpc/des_soft.c: Likewise.
9667 * sunrpc/get_myaddr.c: Likewise.
9668 * sunrpc/key_call.c: Likewise.
9669 * sunrpc/key_prot.c: Likewise.
9670 * sunrpc/netname.c: Likewise.
9671 * sunrpc/pm_getmaps.c: Likewise.
9672 * sunrpc/pm_getport.c: Likewise.
9673 * sunrpc/pmap_clnt.c: Likewise.
9674 * sunrpc/pmap_prot.c: Likewise.
9675 * sunrpc/pmap_prot2.c: Likewise.
9676 * sunrpc/pmap_rmt.c: Likewise.
9677 * sunrpc/publickey.c: Likewise.
9678 * sunrpc/rpc_cmsg.c: Likewise.
9679 * sunrpc/rpc_common.c: Likewise.
9680 * sunrpc/rpc_dtable.c: Likewise.
9681 * sunrpc/rpc_prot.c: Likewise.
9682 * sunrpc/rpc_thread.c: Likewise.
9683 * sunrpc/rtime.c: Likewise.
9684 * sunrpc/svc.c: Likewise.
9685 * sunrpc/svc_auth.c: Likewise.
9686 * sunrpc/svc_authux.c: Likewise.
9687 * sunrpc/svc_raw.c: Likewise.
9688 * sunrpc/svc_run.c: Likewise.
9689 * sunrpc/svc_simple.c: Likewise.
9690 * sunrpc/svc_tcp.c: Likewise.
9691 * sunrpc/svc_udp.c: Likewise.
9692 * sunrpc/svc_unix.c: Likewise.
9693 * sunrpc/svcauth_des.c: Likewise.
9694 * sunrpc/xcrypt.c: Likewise.
9695 * sunrpc/xdr.c: Likewise.
9696 * sunrpc/xdr_array.c: Likewise.
9697 * sunrpc/xdr_float.c: Likewise.
9698 * sunrpc/xdr_intXX_t.c: Likewise.
9699 * sunrpc/xdr_mem.c: Likewise.
9700 * sunrpc/xdr_rec.c: Likewise.
9701 * sunrpc/xdr_ref.c: Likewise.
9702 * sunrpc/xdr_sizeof.c: Likewise.
9703 * sunrpc/xdr_stdio.c: Likewise.
9704
e6c61494
UD
97052011-04-10 Ulrich Drepper <drepper@gmail.com>
9706
9707 [BZ #12650]
9708 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9709 * sysdeps/ia64/dl-tls.h: Likewise.
9710 * sysdeps/powerpc/dl-tls.h: Likewise.
9711 * sysdeps/s390/dl-tls.h: Likewise.
9712 * sysdeps/sh/dl-tls.h: Likewise.
9713 * sysdeps/sparc/dl-tls.h: Likewise.
9714 * sysdeps/x86_64/dl-tls.h: Likewise.
9715 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9716
34fe483e
AS
97172011-03-14 Andreas Schwab <schwab@redhat.com>
9718
9719 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9720 rpath element also skip the following colon.
9721 (expand_dynamic_string_token): Add is_path parameter and pass
9722 down to DL_DST_REQUIRED and _dl_dst_substitute.
9723 (decompose_rpath): Call expand_dynamic_string_token with
9724 non-zero is_path. Ignore empty rpaths.
9725 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9726 with zero is_path.
9727
f12a32e6
AS
97282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9729
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9731 Make cancelable.
9732
38a7d692
UD
97332011-04-09 Ulrich Drepper <drepper@gmail.com>
9734
9735 [BZ #12655]
9736 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9737 Patch by Filipe David Manana <fdmanana@apache.org>.
9738
e451d22b
AS
97392011-04-07 Andreas Schwab <schwab@redhat.com>
9740
9741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9742 Maintain aligned stack.
9743 (CHECK_RSP): Remove unused macro.
9744
dedc7c7b
UD
97452011-04-03 Ulrich Drepper <drepper@gmail.com>
9746
9747 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9749
94521213
UD
97502011-04-02 Ulrich Drepper <drepper@gmail.com>
9751
9752 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9753
8cb700c0 9754 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9755
0354e355
L
97562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 [BZ #12518]
9759 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9760 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9761 * sysdeps/x86_64/memmove.c: New file.
9762 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9763 (memcpy): Renamed to ...
9764 (__new_memcpy): This.
9765 (memcpy): Provide GLIBC_2_14 memcpy.
9766 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9767 (memcpy): Provide GLIBC_2_2_5 memcpy.
9768
8593482f
UD
97692011-04-01 Ulrich Drepper <drepper@gmail.com>
9770
9771 [BZ #12631]
9772 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9773
81a5726b
AS
97742011-03-30 Andreas Schwab <schwab@redhat.com>
9775
9776 * misc/syncfs.c: New file.
9777 * misc/Makefile (routines): Add syncfs.
9778 * posix/unistd.h: Declare syncfs.
9779 * sysdeps/unix/syscalls.list: Add syncfs.
9780
00e5419f
AS
97812011-04-01 Andreas Schwab <schwab@redhat.com>
9782
9783 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9784 open_by_handle_at.
9785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9788 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9790 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9792
748876bf
UD
97932011-04-01 Ulrich Drepper <drepper@gmail.com>
9794
658e451d
UD
9795 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9799 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9802
748876bf
UD
9803 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9804 sync_file_range.c with -fexceptions.
9805 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9806 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9807 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9808 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9809 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9810 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9812 sync_file_range as cancellation point
9813 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9814 now a wrapper around __call_sync_file_range with cancellation handling.
9815 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9816 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9817 function name to __call_sync_file_range.
9818 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9819 Add call_sync_file_range.
748876bf 9820
6e63d5e1
AS
98212011-04-01 Andreas Schwab <schwab@redhat.com>
9822
9823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9824 bits/timex.h.
6e63d5e1 9825
46998f74
UD
98262011-04-01 Ulrich Drepper <drepper@gmail.com>
9827
4c1423ed
UD
9828 * iconv/iconv.h: Fix typo in comment.
9829 * io/fcntl.h: Likewise.
9830 * libio/stdio.h: Likewise.
9831 * posix/spawn.h: Likewise.
9832 * posix/unistd.h: Likewise.
9833 * stdlib/stdlib.h: Likewise.
9834 * time/time.h: Likewise.
9835 * wcsmbs/wchar.h: Likewise.
9836
158648c0
UD
9837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9838 open_by_handle): Add.
9839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9840 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9841 Augment a few comments.
9842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9847 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9848 open_by_handle.
9849
46998f74
UD
9850 * io/fcntl.h (AT_EMPTY_PATH): Define.
9851
83fe108b
UD
98522011-03-30 Ulrich Drepper <drepper@gmail.com>
9853
9854 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9855 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9856 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9857 to...
9858 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9859 * Versions.def: Add GLIBC_2.14.
9860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9861 Export.
83fe108b 9862
bb242059
UD
98632011-03-22 Ulrich Drepper <drepper@gmail.com>
9864
9865 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9866 round counter.
9867 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9868
c97a1282
L
98692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9870
9871 [BZ #12597]
9872 * string/test-strncmp.c (do_page_test): New function.
9873 (check2): Likewise.
9874 (test_main): Call check2.
9875 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9876
2a115601
UD
98772011-03-20 Ulrich Drepper <drepper@gmail.com>
9878
9879 [BZ #12587]
9880 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9881 Handle cache information in CPU leaf 4.
9882 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9883
8126d904
UD
98842011-03-18 Ulrich Drepper <drepper@gmail.com>
9885
042c49c6 9886 [BZ #12583]
8126d904
UD
9887 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9888 character representation.
9889 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9890
ccfe366e
RA
98912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9892
9893 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9894 END(__isnan) to END(__isnanf) to match function entry point/label
9895 EALIGN(__isnanf,...).
9896
c6e13027
JJ
98972011-03-10 Jakub Jelinek <jakub@redhat.com>
9898
9899 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9900
33f85a3f
UD
99012011-03-10 Ulrich Drepper <drepper@gmail.com>
9902
028478fa
UD
9903 [BZ #12510]
9904 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9905 copy from the symbol referenced in the relocation to initialize the
9906 used variable.
9907 Patch by Piotr Bury <pbury@goahead.com>.
9908 * elf/Makefile: Add rules to build and tst-unique3.
9909 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9910 * elf/tst-unique3.cc: New file.
9911 * elf/tst-unique3.h: New file.
9912 * elf/tst-unique3lib.cc: New file.
9913 * elf/tst-unique3lib2.cc: New file.
9914
33f85a3f
UD
9915 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9916
03592fc7
MF
99172011-03-10 Mike Frysinger <vapier@gentoo.org>
9918
9919 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9920 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9921 to _start.
03592fc7 9922
6a5ee102
UD
99232011-03-06 Ulrich Drepper <drepper@gmail.com>
9924
9925 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9926 to-be-loaded object along a path to loader is ld.so.
9927
7e4ba49c
HJ
99282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9929 Ulrich Drepper <drepper@gmail.com>
9930
9931 * sysdeps/x86_64/memset.S: After aligning destination, code
9932 branches to different locations depending on the value of
9933 misalignment, when multiarch is enabled. Fix this.
9934
99352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9936
9937 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9938 Set _x86_64_preferred_memory_instruction for AMD processsors.
9939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9940 Set bit_Prefer_SSE_for_memop for AMD processors.
9941
13a804de
UD
99422011-03-04 Ulrich Drepper <drepper@gmail.com>
9943
9944 * libio/fmemopen.c (fmemopen): Optimize a bit.
9945
9d25c392
AS
99462011-03-03 Andreas Schwab <schwab@redhat.com>
9947
9948 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9949
a5543c6a
RM
99502011-03-03 Roland McGrath <roland@redhat.com>
9951
9952 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9953
012d35f7
DM
99542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9955
7e4ba49c 9956 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9957 __bzero_ultra1 instead of __memset_ultra1.
9958
4bff6e01
AS
99592011-02-23 Andreas Schwab <schwab@redhat.com>
9960 Ulrich Drepper <drepper@gmail.com>
9961
9962 [BZ #12509]
9963 * include/link.h (struct link_map): Add l_orig_initfini.
9964 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9965 returning unsuccessfully.
9966 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9967 close of a file loaded at startup, restore the original l_initfini
9968 list.
9969 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9970 list, store the pointer.
9971 * elf/Makefile ($(objpfx)noload-mem): New rule.
9972 (noload-ENV): Define.
9973 (tests): Add $(objpfx)noload-mem.
9974 * elf/noload.c: Include <memcheck.h>.
9975 (main): Call mtrace. Close all opened handles.
9976
f2092faf
AS
99772011-02-17 Andreas Schwab <schwab@redhat.com>
9978
9979 [BZ #12454]
9980 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9981 dependencies are missing.
9982
6c8a2e88
ST
99832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9984
f2092faf 9985 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9986 Hurd needs munmap.
9987 * sysdeps/mach/hurd/ifreq.h: New file.
9988
84a42118
PB
99892011-01-27 Petr Baudis <pasky@suse.cz>
9990 Ulrich Drepper <drepper@gmail.com>
9991
071f805e 9992 [BZ 12445]#
84a42118
PB
9993 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9994 to extend_alloca().
9995 * stdio-common/bug23.c: New file.
9996 * stdio-common/Makefile (tests): Add bug23.
9997
e23fe25b
AS
99982010-09-28 Andreas Schwab <schwab@redhat.com>
9999 Ulrich Drepper <drepper@gmail.com>
10000
10001 [BZ #12489]
10002 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10003 before performing relro protection. At old place add assertion
10004 to make sure nothing changed.
10005
d3f02e10
NS
100062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10007 Glauber de Oliveira Costa <glommer@gmail.com>
10008
10009 * elf/elf.h: Add new ARM TLS relocs.
10010
d55fd7a5
RA
100112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10012
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10014 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10015 cast from r3.
10016 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10017 'tests' variable.
10018 * sysdeps/wordsize-64/tst-writev.c: New file.
10019
2206397e
RA
100202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10021
10022 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10023 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10024 insns in _dl_start to prevent a TOC reference before relocs are
10025 resolved.
10026
e9433893
UD
100272011-02-15 Ulrich Drepper <drepper@gmail.com>
10028
10029 [BZ #12469]
10030 * Makeconfig: Remove RANLIB definition.
10031 * Makerules: Don't use RANLIB.
10032 * aclocal.m4: Remove ranlib test.
10033 * configure.in: No need to check for ranlib.
10034 * elf/rtld-Rules: Don't use RANLIB.
10035
f75286c6
ST
100362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10037
8e31c82d
ST
10038 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10039 protection macro.
10040 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10041 inclusion protection macro.
10042
f75286c6
ST
10043 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10044 SIGRTMIN and SIGRTMAX and print information in that case only when
10045 SIGRTMIN is defined.
10046
c1d0e639
JJ
100472011-02-11 Jakub Jelinek <jakub@redhat.com>
10048
10049 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10050 arginfo fn returning -1.
10051
10052 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10053 and thousands string is zero terminated.
10054
edf9294e
AS
100552011-02-03 Andreas Schwab <schwab@redhat.com>
10056
10057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10058 sysdeps/unix/sysv/linux/bits/socket.h.
10059
2b7e92df
ST
100602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10061
edf9294e
AS
10062 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10063 (__CPU_COUNT): Remove old macros.
10064 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10065 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10066 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10067 (__sched_cpualloc, __sched_cpufree): Add declarations.
10068
a4c7ea7b
UD
100692011-02-05 Ulrich Drepper <drepper@gmail.com>
10070
10071 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10072 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10073 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10074 (readdhstai): Return value of addhstaiX call.
10075 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10076 (addgrbyX): Return value returned by cache_addgr.
10077 (readdgrbyname): Return value returned by addgrbyX.
10078 (readdgrbygid): Likewise.
10079 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10080 (addpwbyX): Return value returned by cache_addpw.
10081 (readdpwbyname): Return value returned by addhstbyX.
10082 (readdpwbyuid): Likewise.
10083 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10084 (addservbyX): Return value returned by cache_addserv.
10085 (readdservbyname): Return value returned by addservbyX:
10086 (readdservbyport): Likewise.
10087 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10088 (addhstbyX): Return value returned by cache_addhst.
10089 (readdhstbyname): Return value returned by addhstbyX.
10090 (readdhstbyaddr): Likewise.
10091 (readdhstbynamev6): Likewise.
10092 (readdhstbyaddrv6): Likewise.
10093 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10094 (readdinitgroups): Return value returned by addinitgroupsX.
10095 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10096 (prune_cache): Keep track of timeout value of re-added entries.
10097 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10098 * nscd/nscd.h: Adjust prototypes of readd* functions.
10099
a0bf67cc
RM
101002011-02-04 Roland McGrath <roland@redhat.com>
10101
10102 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10103 (nis_stats): Likewise.
10104 * nis/nis_modify.c (nis_modify): Likewise.
10105 * nis/nis_remove.c (nis_remove): Likewise.
10106 * nis/nis_add.c (nis_add): Likewise.
10107
10108 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10109
10110 * posix/fnmatch_loop.c: Add some consts.
10111
10112 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10113
435b95eb
L
101142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 [BZ #12460]
10117 * config.make.in (config-cflags-novzeroupper): Define.
10118 * configure.in: Substitute libc_cv_cc_novzeroupper.
10119 * elf/Makefile (AVX-CFLAGS): Define.
10120 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10121 (CFLAGS-tst-auditmod4a.c): Likewise.
10122 (CFLAGS-tst-auditmod4b.c): Likewise.
10123 (CFLAGS-tst-auditmod6b.c): Likewise.
10124 (CFLAGS-tst-auditmod6c.c): Likewise.
10125 (CFLAGS-tst-auditmod7b.c): Likewise.
10126 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10127
8517b15e
UD
101282011-02-02 Ulrich Drepper <drepper@gmail.com>
10129
10130 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10131 function to the callback.
10132 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10133
10a656fe
AS
101342011-02-02 Andreas Schwab <schwab@redhat.com>
10135
10136 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10137 of errno.
10138
968dad0a
UD
101392011-01-19 Ulrich Drepper <drepper@gmail.com>
10140
9f94d2ea 10141 [BZ #11724]
968dad0a
UD
10142 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10143 of constructors.
10144 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10145 of destructors.
10146 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10147
10148 [BZ #11724]
10149 * elf/Makefile: Add rules to build and run new test.
10150 * elf/tst-initorder.c: New file.
10151 * elf/tst-initorder.exp: New file.
10152 * elf/tst-initordera1.c: New file.
10153 * elf/tst-initordera2.c: New file.
10154 * elf/tst-initordera3.c: New file.
10155 * elf/tst-initordera4.c: New file.
10156 * elf/tst-initorderb1.c: New file.
10157 * elf/tst-initorderb2.c: New file.
10158 * elf/tst-order-a1.c: New file.
10159 * elf/tst-order-a2.c: New file.
10160 * elf/tst-order-a3.c: New file.
10161 * elf/tst-order-a4.c: New file.
10162 * elf/tst-order-b1.c: New file.
10163 * elf/tst-order-b2.c: New file.
10164 * elf/tst-order-main.c: New file.
10165 New test case by George Gensure <werkt0@gmail.com>.
10166
86e92359
UD
101672010-10-01 Andreas Schwab <schwab@redhat.com>
10168
10169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10170 decoding ACE if AI_CANONIDN.
10171
5d5732b0
UD
101722011-01-18 Ulrich Drepper <drepper@gmail.com>
10173
10174 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10175
a77e8cbc
UD
101762011-01-17 Ulrich Drepper <drepper@gmail.com>
10177
6392473f
UD
10178 * version.h (RELEASE): Bump for 2.13 release.
10179 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10180
620a0529
UD
10181 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10182
18ba70a5
UD
10183 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10184 MADV_NOHUGEPAGE.
32465c3e
UD
10185 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10187 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10188 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10191
c0dafcf1
UD
10192 * posix/getconf.c: Update copyright year.
10193 * catgets/gencat.c: Likewise.
10194 * csu/version.c: Likewise.
10195 * debug/catchsegv.sh: Likewise.
10196 * debug/xtrace.sh: Likewise.
10197 * elf/ldconfig.c: Likewise.
10198 * elf/ldd.bash.in: Likewise.
10199 * elf/sprof.c (print_version): Likewise.
10200 * iconv/iconv_prog.c: Likewise.
10201 * iconv/iconvconfig.c: Likewise.
10202 * locale/programs/locale.c: Likewise.
10203 * locale/programs/localedef.c: Likewise.
10204 * malloc/memusage.sh: Likewise.
10205 * malloc/mtrace.pl: Likewise.
10206 * nscd/nscd.c (print_version): Likewise.
10207 * nss/getent.c: Likewise.
10208
a77e8cbc
UD
10209 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10210 PF_CAIF, and PF_ALG.
10211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10212
77e8bddf
AS
102132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10214
1f20b93a
AS
10215 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10216 (modules-names): Use them.
10217 (ifunc-test-modules, ifunc-pie-tests): Define.
10218 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10219 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10220 (test-extras): Likewise.
10221 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10222 $(compile-command.c).
10223 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10224 (all-built-dso): Define.
10225 (check-textrel.out, check-execstack.out): Depend on it.
10226
77e8bddf
AS
10227 * configure.in: Don't override --enable-multi-arch.
10228
bc425b33
UD
102292011-01-15 Ulrich Drepper <drepper@gmail.com>
10230
10231 [BZ #6812]
10232 * nscd/hstcache.c (tryagain): Define.
10233 (cache_addhst): Return tryagain not notfound for temporary errors.
10234 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10235 failed.
10236
794c3ad3
UD
102372011-01-14 Ulrich Drepper <drepper@gmail.com>
10238
70181fdd
UD
10239 [BZ #10563]
10240 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10241 to make the syscall.
10242 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10243
794c3ad3
UD
10244 [BZ #12378]
10245 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10246 and fall back to matching as normal character if the string ends before
10247 the matching ']' is found. This is what POSIX requires.
10248 * posix/testfnm.c: Adjust test result.
10249 * posix/globtest.sh: Adjust test result. Add new test.
10250 * posix/tst-fnmatch.input: Likewise.
10251 * posix/tst-fnmatch2.c: Add new test.
10252
68dc9497
AS
102532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10254
10255 * elf/Makefile (check-execstack): Revert last change. Depend on
10256 check-execstack.h.
10257 (check-execstack.h): New target.
10258 (generated): Add check-execstack.h.
10259 * elf/check-execstack.c: Include "check-execstack.h".
10260 (main): Revert last change.
10261 (handle_file): Return zero if GNU_STACK is absent and
10262 DEFAULT_STACK_PERMS doesn't include PF_X.
10263
451f001b
UD
102642011-01-13 Ulrich Drepper <drepper@gmail.com>
10265
cfa28e56
UD
10266 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10267 in child fails because the descriptor is already closed.
8cf8ce17
UD
10268 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10269 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10270 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10271
1086d70d
UD
10272 [BZ #12397]
10273 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10274 syscall.
10275
451f001b
UD
10276 [BZ #10484]
10277 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10278 temporary buffer used to handle multi lookups locally.
a85b5cb4 10279 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10280
08769175
UD
102812011-01-12 Ulrich Drepper <drepper@gmail.com>
10282
10283 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10284 loader is ld.so.
10285
5e49c52e
UD
102862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10287
10288 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10289 alignment for SSE2.
10290
60522a5f
UD
102912011-01-12 Ulrich Drepper <drepper@gmail.com>
10292
10293 [BZ #12394]
10294 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10295 characters. When rounding increased number of integer digits recompute
10296 number of groups.
10297 * stdio-common/tst-grouping.c: New file.
10298 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10299
f257bbd7
UD
103002011-01-09 Ulrich Drepper <drepper@gmail.com>
10301
10302 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10303 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10304
10305 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10306 void.
10307 * bits/select.h: Likewise.
10308
fa9c15cb
UD
103092011-01-08 Ulrich Drepper <drepper@gmail.com>
10310
10311 * po/ja.po: Update from translation team.
10312
16c2895f
DM
103132011-01-04 David S. Miller <davem@sunset.davemloft.net>
10314
10315 [BZ #11155]
10316 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10317 implementation just like for lxstat, fxstatat, et al.
10318
2543fef2
JM
103192010-12-27 Jim Meyering <meyering@redhat.com>
10320
10321 [BZ #12348]
10322 * posix/regexec.c (build_trtable): Return failure indication upon
10323 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10324
98727dbe
UD
103252010-12-25 Ulrich Drepper <drepper@gmail.com>
10326
5bd6dc5c
UD
10327 [BZ #12201]
10328 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10329 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10330 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10331 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10332
97983464
UD
10333 [BZ #12207]
10334 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10335
98727dbe
UD
10336 [BZ #12204]
10337 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10338 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10339
4a531bb0
L
103402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10343 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10344 script has SORT_BY_INIT_PRIORITY.
10345 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10346 NO_CTORS_DTORS_SECTIONS is defined.
10347 * elf/soinit.c: Likewise.
10348 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10349 NO_CTORS_DTORS_SECTIONS is defined.
10350 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10351 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10352 * sysdeps/sh/init-first.c: Likewise.
10353 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10354
07eb4b71
UD
103552010-12-24 Ulrich Drepper <drepper@gmail.com>
10356
10357 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10358 always use the slow path.
10359
30950a5f
RA
103602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10361
10362 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10363 similar rule which adds the sysdep directories to the header search in
10364 order to pick up the correct platform stackinfo.h.
10365 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10366 perform test if it is, otherwise return successfully without testing.
10367 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10368 DEFAULT_STACK_PERMS define in stackinfo.h.
10369 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10370 defined in stackinfo.h.
10371 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10372 DEFAULT_STACK_PERMS defined in stackinfo.h.
10373 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10374 * sysdeps/ia64/stackinfo.h: Likewise.
10375 * sysdeps/s390/stackinfo.h: Likewise.
10376 * sysdeps/sh/stackinfo.h: Likewise.
10377 * sysdeps/sparc/stackinfo.h: Likewise.
10378 * sysdeps/x86_64/stackinfo.h: Likewise.
10379 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10380 PF_X for powerpc64. Retain PF_X for powerpc32.
10381
db753e2c
UD
103822010-12-19 Ulrich Drepper <drepper@gmail.com>
10383
14b697f7
UD
10384 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10385 accurately.
db753e2c
UD
10386 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10387 GETDENTS_64BIT_ALIGNED.
10388
28300719
UD
103892010-12-14 Ulrich Drepper <dreper@gmail.com>
10390
14b697f7 10391 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10392
4f197237
AS
103932010-12-10 Andreas Schwab <schwab@redhat.com>
10394
dbb0472f
AS
10395 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10396 _GNU_SOURCE.
10397
4f197237
AS
10398 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10399 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10400 Remove __restrict.
10401 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10402 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10403
fb88ac72
UD
104042010-12-09 Ulrich Drepper <drepper@gmail.com>
10405
10406 [BZ #11655]
10407 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10408 are initialized.
10409
42acbb92
JJ
104102010-12-09 Jakub Jelinek <jakub@redhat.com>
10411
10412 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10413
c038d98d
UD
104142010-12-03 Ulrich Drepper <drepper@gmail.com>
10415
10416 * po/it.po: Update from translation team.
10417
3a4a2499
L
104182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10419
10420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10421 unused codes.
10422
1e24cf6e
UD
104232010-11-30 Ulrich Drepper <drepper@gmail.com>
10424
10425 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10426
a7690819
AS
104272010-11-24 Andreas Schwab <schwab@redhat.com>
10428
10429 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10430 specially.
10431 (gaih_getanswer_slice): Likewise.
10432
3bf8d1b1
JJ
104332010-10-20 Jakub Jelinek <jakub@redhat.com>
10434
10435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10436
6db52fbb
PB
104372010-05-31 Petr Baudis <pasky@suse.cz>
10438
10439 [BZ #11149]
10440 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10441 silently even in the chroot mode.
10442
eaca7569
UD
104432010-11-22 Ulrich Drepper <drepper@gmail.com>
10444
10445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10446 last patch a bit. Pretty printing
10447
3056dcdb
UD
104482010-05-31 Petr Baudis <pasky@suse.cz>
10449
10450 [BZ #10085]
10451 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10452 initialization of skip_initgroups_dyn.
10453
cf7c9078
UD
104542010-11-19 Ulrich Drepper <drepper@gmail.com>
10455
10456 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10458
a1fb5e3e
UD
104592010-11-16 Ulrich Drepper <drepper@gmail.com>
10460
10461 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10462
3540d66b
AS
104632010-11-11 Andreas Schwab <schwab@redhat.com>
10464
10465 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10466 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10467 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10468 ($(objpfx)tst-fnmatch-mem): New rule.
10469 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10470 * posix/tst-fnmatch.c (main): Call mtrace.
10471
13b69574
L
104722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10473
10474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10475 Support Intel processor model 6 and model 0x2c.
10476
da93d214
LM
104772010-11-10 Luis Machado <luisgpm@br.ibm.com>
10478
10479 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10480 signed comparison.
10481
8ca52c6e
L
104822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10483
10484 [BZ #12205]
10485 * string/test-strncasecmp.c (check_result): New function.
10486 (do_one_test): Use it.
10487 (check1): New function.
10488 (test_main): Use it.
10489 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10490 Support strcasecmp and strncasecmp.
10491
69da074d
UD
104922010-11-08 Ulrich Drepper <drepper@gmail.com>
10493
10494 [BZ #12194]
10495 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10497
ff02d528
L
104982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10499
10500 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10501 IFUNC support.
10502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10503 memset-x86-64.
10504 * sysdeps/x86_64/multiarch/bzero.S: New file.
10505 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10506 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10507 * sysdeps/x86_64/multiarch/memset.S: New file.
10508 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10510 Set bit_Prefer_SSE_for_memop for Intel processors.
10511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10512 Define.
10513 (index_Prefer_SSE_for_memop): Define.
10514 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10515
344d0b54
LM
105162010-11-04 Luis Machado <luisgpm@br.ibm.com>
10517
10518 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10520
c0dde15b
UD
105212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10522
10523 [BZ #12191]
10524 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10525 (__x86_64_raw_data_cache_size_half): Likewise.
10526 (__x86_64_raw_shared_cache_size): Likewise.
10527 (__x86_64_raw_shared_cache_size_half): Likewise.
10528
10529 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10530 (__x86_64_raw_data_cache_size_half): Likewise.
10531 (__x86_64_raw_shared_cache_size): Likewise.
10532 (__x86_64_raw_shared_cache_size_half): Likewise.
10533 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10534 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10535 and __x86_64_raw_shared_cache_size_half. Round
10536 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10537 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10538 to multiple of 256 bytes.
10539
0e516e0e
MS
105402010-11-03 Ulrich Drepper <drepper@gmail.com>
10541
10542 [BZ #12167]
10543 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10544 of inacessible symlinks. Verify result of symlink before returning it.
10545 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10546 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10547
0e012e87
ER
105482010-10-28 Erich Ritz <erichritz@gmail.com>
10549
10550 * math/math.h (isinf): Fix typo in comment.
10551
de0ff7bc
UD
105522010-11-01 Ulrich Drepper <drepper@gmail.com>
10553
10554 * po/da.po: Update from translation team.
10555
fa41c84d
UD
105562010-10-26 Ulrich Drepper <drepper@gmail.com>
10557
10558 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10559 is added to the list.
10560
f0967738
AK
105612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10562 Ulrich Drepper <drepper@gmail.com>
10563
10564 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10565 the global list here. Move code to...
10566 (_dl_add_to_namespace_list): ...here. New function.
10567 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10568 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10569 * elf/dl-load.c (lose): Don't remove the element from the list.
10570 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10571 (_dl_map_object): Likewise.
10572
105732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10574
10575 [BZ #12159]
10576 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10577 into all bytes of SSE register.
10578 Patch by Richard Li <richardpku@gmail.com>.
10579
f0967738 105802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10581
10582 [BZ #12140]
10583 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10584 perturbing.
10585
d0b9e94f
MB
105862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10587
10588 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10589 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10590 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10591 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10593 submachine.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10595
8e9f92e9
AS
105962010-10-22 Andreas Schwab <schwab@redhat.com>
10597
10598 * include/dlfcn.h (__RTLD_SECURE): Define.
10599 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10600 mode & __RTLD_SECURE instead.
10601 (open_path): Rename preloaded parameter to secure.
10602 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10603 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10604 * elf/dl-deps.c (openaux): Likewise.
10605 * elf/rtld.c (struct map_args): Remove is_preloaded.
10606 (map_doit): Don't use it.
10607 (dl_main): Likewise.
10608 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10609 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10610
bc96fbda
AS
106112010-09-09 Andreas Schwab <schwab@redhat.com>
10612
10613 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10614 (sysd-rules-targets): Remove duplicates.
10615 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10616 rtld-%.$o dependency.
10617
22cd1c9b
AS
106182010-10-18 Andreas Schwab <schwab@redhat.com>
10619
10620 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10621 _dl_map_object do it.
10622
18edac48
UD
106232010-10-19 Ulrich Drepper <drepper@gmail.com>
10624
10625 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10626 fast fma builtins, define the macros in the C99 standard.
10627 (FP_FAST_FMAF): Likewise.
10628 (FP_FAST_FMAL): Likewise.
10629 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10630
10631 * bits/mathdef.h: Update copyright year.
10632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10633
d2050124
MM
106342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10635
10636 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10637 builtins, define the macros in the C99 standard.
10638 (FP_FAST_FMAF): Likewise.
10639 (FP_FAST_FMAL): Likewise.
10640 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10641 multiply/add.
10642 (FP_FAST_FMAF): Likewise.
10643
475facd1
JJ
106442010-10-15 Jakub Jelinek <jakub@redhat.com>
10645
10646 [BZ #3268]
10647 * math/libm-test.inc (fma_test): Some new testcases.
10648 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10649 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10650 y and infinite z. Do multiplication by C already in long double.
10651 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10653 y and infinite z. Do bitwise or of inexact bit into u.d.
10654 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10655 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10656 * sysdeps/i386/fpu/s_fma.S: Removed.
10657 * sysdeps/i386/fpu/s_fmal.S: Removed.
10658
7c08a05c
JJ
106592010-10-16 Jakub Jelinek <jakub@redhat.com>
10660
10661 [BZ #3268]
10662 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10664 computation is not scheduled after fetestexcept. Fix value
10665 of minimum denormal long double.
10666
f3f7372d
JJ
106672010-10-14 Jakub Jelinek <jakub@redhat.com>
10668
10669 [BZ #3268]
10670 * math/libm-test.inc (fma_test): Add some more tests.
10671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10672 correctly.
10673
14d43591
AS
106742010-10-15 Andreas Schwab <schwab@redhat.com>
10675
10676 * scripts/data/localplt-s390-linux-gnu.data: New file.
10677 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10678
5e908464
JJ
106792010-10-13 Jakub Jelinek <jakub@redhat.com>
10680
10681 [BZ #3268]
10682 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10683 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10684 instead of dbl-64.
10685 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10686 inlines.
10687 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10689 if one of x and y is very large and the other is subnormal.
10690 * sysdeps/s390/fpu/s_fmaf.c: New file.
10691 * sysdeps/s390/fpu/s_fma.c: New file.
10692 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10693 * sysdeps/powerpc/fpu/s_fma.S: New file.
10694 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10695 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10696 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10697
106982010-10-12 Jakub Jelinek <jakub@redhat.com>
10699
10700 [BZ #3268]
10701 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10702 fma tests.
10703 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10704 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10705 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10706 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10707 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10708 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10710
b833d51f
UD
107112010-10-12 Ulrich Drepper <drepper@redhat.com>
10712
10713 [BZ #12078]
10714 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10715 * posix/bug-regex31.input: Add test case.
10716
1751705d
UD
107172010-10-11 Ulrich Drepper <drepper@gmail.com>
10718
e9b9cbf5
UD
10719 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10720 * posix/bug-regex31.input: New file.
10721
10722 [BZ #12078]
10723 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10724 (parse_sub_exp): Fix last change, use postorder.
10725
ef06edbe
UD
10726 * posix/bug-regex31.c: New file.
10727 * posix/Makefile: Add rules to build and run bug-regex31.
10728
a129c80d
UD
10729 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10730
10731 [BZ #12078]
10732 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10733
b76b818e
UD
10734 [BZ #12108]
10735 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10736 to have entries in sys_siglist.
10737
1751705d
UD
10738 [BZ #12093]
10739 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10740 be NULL.
10741
9ff8d36f
JJ
107422010-10-07 Jakub Jelinek <jakub@redhat.com>
10743
10744 [BZ #3268]
10745 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10746 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10747 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10748 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10749 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10750 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10751 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10752 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10753 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10754 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10755 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10756 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10757 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10758 * math/ftestexcept.c (fetestexcept): Likewise.
10759 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10760 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10761 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10762 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10763 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10764 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10765 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10766
af325969
UD
107672010-10-11 Ulrich Drepper <drepper@gmail.com>
10768
c579b202 10769 [BZ #12107]
af325969
UD
10770 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10771 newline.
10772
67a67b95
UD
107732010-10-06 Ulrich Drepper <drepper@gmail.com>
10774
10775 * string/bug-strstr1.c: New file.
10776 * string/Makefile: Add rules to build and run bug-strstr1.
10777
5fb308bc
EB
107782010-10-05 Eric Blake <eblake@redhat.com>
10779
10780 [BZ #12092]
10781 * string/str-two-way.h (two_way_long_needle): Always clear memory
10782 when skipping input due to the shift table.
10783
45db99c7
UD
107842010-10-03 Ulrich Drepper <drepper@gmail.com>
10785
3b111893
UD
10786 [BZ #12005]
10787 * malloc/mcheck.c: Handle large requests.
10788
45db99c7
UD
10789 [BZ #12077]
10790 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10791 for strncmp and strncasecmp.
10792 * string/stratcliff.c: Add tests for strcmp and strncmp.
10793 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10794
cf7a1eb8
NI
107952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10796
10797 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10798 __set_fpscr.
10799
6484ba5e
AJ
108002010-09-30 Andreas Jaeger <aj@suse.de>
10801
10802 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10803 (CGROUP_SUPER_MAGIC): Define.
10804 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10805 Handle btrfs and cgroup file systems.
10806 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10807 Likewise.
10808
91c42559
LM
108092010-09-27 Luis Machado <luisgpm@br.ibm.com>
10810
10811 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10812 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10813
87a97932
AK
108142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10815
10816 [BZ #12067]
10817 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10818 trying to locate the ELF header.
10819
c21cc9bc
AS
108202010-09-27 Andreas Schwab <schwab@redhat.com>
10821
10822 [BZ #11611]
10823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10824 Mask out sign-bit copies when constructing f_fsid.
10825
315970f6
PB
108262010-09-24 Petr Baudis <pasky@suse.cz>
10827
10828 * debug/stack_chk_fail_local.c: Add missing licence exception.
10829 * debug/warning-nop.c: Likewise.
10830
1ac7a2c7
JM
108312010-09-15 Joseph Myers <joseph@codesourcery.com>
10832
10833 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10834 implementing getdents64 using getdents syscall, set d_type if
10835 __ASSUME_GETDENTS32_D_TYPE.
10836
56801c50
AS
108372010-09-16 Andreas Schwab <schwab@redhat.com>
10838
10839 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10840 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10841
dda51327
UD
108422010-09-21 Ulrich Drepper <drepper@redhat.com>
10843
10844 [BZ #12037]
10845 * posix/unistd.h: Undo change of feature selection for ftruncate from
10846 2010-01-11.
10847
8ffcee4a
UD
108482010-09-20 Ulrich Drepper <drepper@redhat.com>
10849
a545ecd9 10850 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10851 detection.
10852
e24f0a8b
AS
108532010-09-20 Andreas Schwab <schwab@redhat.com>
10854
10855 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10856 fanotify_mark.
10857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10858
7291c56f
AS
108592010-09-14 Andreas Schwab <schwab@redhat.com>
10860
10861 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10862 variables after CHECK_SP call.
10863 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10864
bc5fb037
AS
108652010-09-13 Andreas Schwab <schwab@redhat.com>
10866 Ulrich Drepper <drepper@redhat.com>
10867
10868 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10869 re-relocationg ld.so.
10870 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10871 _dl_init_paths call.
10872 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10873 here anymore.
10874
e66e7419
UD
108752010-09-14 Ulrich Drepper <drepper@redhat.com>
10876
10877 * resolv/res_init.c (__res_vinit): Count the default server we added.
10878
c044aa75
CLT
108792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10880 Ulrich Drepper <drepper@redhat.com>
10881
10882 [BZ #11968]
10883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10884 (____longjmp_chk): Use %ebx for saving value across system call.
10885 Add unwind info.
10886
32cf4069
AS
108872010-09-06 Andreas Schwab <schwab@redhat.com>
10888
10889 * manual/Makefile: Don't mix pattern rules with normal rules.
10890
817328ee
AS
108912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10892
10893 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10894 operation.
10895 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10896 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10897 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10898 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10900 Likewise.
10901
29fddf61
UD
109022010-09-04 Ulrich Drepper <drepper@redhat.com>
10903
10904 [BZ #11979]
10905 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10906 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10907
0959ffc9
UD
109082010-09-02 Ulrich Drepper <drepper@redhat.com>
10909
10910 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10911 * sysdeps/x86_64/addmul_1.S: Likewise.
10912 * sysdeps/x86_64/lshift.S: Likewise.
10913 * sysdeps/x86_64/mul_1.S: Likewise.
10914 * sysdeps/x86_64/rshift.S: Likewise.
10915 * sysdeps/x86_64/sub_n.S: Likewise.
10916 * sysdeps/x86_64/submul_1.S: Likewise.
10917
ece29840
ST
109182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10919
0959ffc9
UD
10920 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10921 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10922 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10923 * bits/sched.h [__need_schedparam]
ece29840 10924 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10925 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10926 (__defined_schedparam): Define to 1.
ece29840
ST
10927 (__sched_param): New structure, identical to sched_param.
10928 (__need_schedparam): Undefine.
10929
e53a31fe
MF
109302010-08-31 Mike Frysinger <vapier@gentoo.org>
10931
fdc0c10d
MF
10932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10933 (epoll_create1): Declare.
10934
e53a31fe
MF
10935 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10936
a726d796
AS
109372010-08-31 Andreas Schwab <schwab@redhat.com>
10938
10939 [BZ #7066]
10940 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10941 shifting retval into place.
10942
2f3e3dc7
UD
109432010-09-01 Ulrich Drepper <drepper@redhat.com>
10944
f2933da9
UD
10945 * nis/rpcsvc/nis.h: Update copyright notice.
10946 * nis/rpcsvc/nis.x: Likewise.
10947 * nis/rpcsvc/nis_callback.h: Likewise.
10948 * nis/rpcsvc/nis_callback.x: Likewise.
10949 * nis/rpcsvc/nis_object.x: Likewise.
10950 * nis/rpcsvc/nis_tags.h: Likewise.
10951 * nis/rpcsvc/yp.h: Likewise.
10952 * nis/rpcsvc/yp.x: Likewise.
10953 * nis/rpcsvc/ypupd.h: Likewise.
10954 * nis/yp_xdr.c: Likewise.
10955 * nis/ypupdate_xdr.c: Likewise.
10956
2f3e3dc7
UD
10957 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10958 mainly the body of pmap_getport. Add parameters to specify timeouts.
10959 (pmap_getport): Use __libc_rpc_getport.
10960 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10961 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10962 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10963
f3dcc2f9
AS
109642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10965
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10967 fanotify_mark.
10968
6d34eb5b
RM
109692010-08-27 Roland McGrath <roland@redhat.com>
10970
10971 * sysdeps/i386/i686/multiarch/Makefile
10972 (CFLAGS-varshift.c): New variable.
10973
9ea3de11
UD
109742010-08-27 Ulrich Drepper <drepper@redhat.com>
10975
c96d23fc
UD
10976 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10977 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10978
9ea3de11
UD
10979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10980
10981 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10982
623aac7f
L
109832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10984
10985 * sysdeps/x86_64/strlen.S: Unroll the loop.
10986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10987 strlen-sse2 strlen-sse2-bsf.
10988 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10989 __strlen_no_bsf if bit_Slow_BSF is set.
10990 (__strlen_sse42): Removed.
10991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10992 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10993
8b2b7715
RM
109942010-08-25 Roland McGrath <roland@redhat.com>
10995
10996 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10997 * sysdeps/x86_64/multiarch/varshift.c: New file.
10998 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10999 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11000 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11001 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11002
e73015f2
L
110032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11004
11005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11006 strlen-sse2 strlen-sse2-bsf.
11007 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11008 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11009 (__strlen_sse2): Removed.
11010 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11013 bit_Slow_BSF for Atom.
11014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11015 (index_Slow_BSF): Define.
11016 (HAS_SLOW_BSF): Define.
11017
df24a73e
UD
110182010-08-25 Ulrich Drepper <drepper@redhat.com>
11019
11020 [BZ #10851]
11021 * resolv/res_init.c (__res_vinit): When no server address at all
11022 is given default to loopback.
11023
f2ac4868
RM
110242010-08-24 Roland McGrath <roland@redhat.com>
11025
09055553
RM
11026 * configure.in: Remove config-name.h generation.
11027 * configure: Regenerated.
11028 * config-name.in: File removed.
11029 * scripts/config-uname.sh: New file.
11030 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11031 ($(objdir)config-name.h): New target.
11032
f2ac4868
RM
11033 * sunrpc/rpc_parse.h: Avoid nested comment.
11034
73f27d5e
RH
110352010-08-24 Richard Henderson <rth@redhat.com>
11036 Ulrich Drepper <drepper@redhat.com>
11037 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11041 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11042 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11043 _mm_alignr_epi8 with _mm_loadu_si128.
11044 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11045 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11046 (__m128i_shift_right): Removed.
11047 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11048 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11049 * sysdeps/x86_64/multiarch/varshift.h: New file.
11050 * sysdeps/x86_64/multiarch/varshift.S: New file.
11051
84b9230c
MF
110522010-08-21 Mike Frysinger <vapier@gentoo.org>
11053
11054 * configure.in: Move assembler checks to before sysdep dir checking.
11055
9bbd0ddc
PB
110562010-08-20 Petr Baudis <pasky@suse.cz>
11057
11058 * LICENSES: Sync the sunrpc license.
11059
9da4bb31
UD
110602010-08-19 Ulrich Drepper <drepper@redhat.com>
11061
a7ab6ec8
UD
11062 * sunrpc/auth_des.c: Update copyright notice once again.
11063 * sunrpc/auth_none.c: Likewise.
11064 * sunrpc/auth_unix.c: Likewise.
11065 * sunrpc/authdes_prot.c: Likewise.
11066 * sunrpc/authuxprot.c: Likewise.
11067 * sunrpc/bindrsvprt.c: Likewise.
11068 * sunrpc/clnt_gen.c: Likewise.
11069 * sunrpc/clnt_perr.c: Likewise.
11070 * sunrpc/clnt_raw.c: Likewise.
11071 * sunrpc/clnt_simp.c: Likewise.
11072 * sunrpc/clnt_tcp.c: Likewise.
11073 * sunrpc/clnt_udp.c: Likewise.
11074 * sunrpc/clnt_unix.c: Likewise.
11075 * sunrpc/des_crypt.c: Likewise.
11076 * sunrpc/des_soft.c: Likewise.
11077 * sunrpc/get_myaddr.c: Likewise.
11078 * sunrpc/getrpcport.c: Likewise.
11079 * sunrpc/key_call.c: Likewise.
11080 * sunrpc/key_prot.c: Likewise.
11081 * sunrpc/openchild.c: Likewise.
11082 * sunrpc/pm_getmaps.c: Likewise.
11083 * sunrpc/pm_getport.c: Likewise.
11084 * sunrpc/pmap_clnt.c: Likewise.
11085 * sunrpc/pmap_prot.c: Likewise.
11086 * sunrpc/pmap_prot2.c: Likewise.
11087 * sunrpc/pmap_rmt.c: Likewise.
11088 * sunrpc/rpc/auth.h: Likewise.
11089 * sunrpc/rpc/auth_unix.h: Likewise.
11090 * sunrpc/rpc/clnt.h: Likewise.
11091 * sunrpc/rpc/des_crypt.h: Likewise.
11092 * sunrpc/rpc/key_prot.h: Likewise.
11093 * sunrpc/rpc/netdb.h: Likewise.
11094 * sunrpc/rpc/pmap_clnt.h: Likewise.
11095 * sunrpc/rpc/pmap_prot.h: Likewise.
11096 * sunrpc/rpc/pmap_rmt.h: Likewise.
11097 * sunrpc/rpc/rpc.h: Likewise.
11098 * sunrpc/rpc/rpc_des.h: Likewise.
11099 * sunrpc/rpc/rpc_msg.h: Likewise.
11100 * sunrpc/rpc/svc.h: Likewise.
11101 * sunrpc/rpc/svc_auth.h: Likewise.
11102 * sunrpc/rpc/types.h: Likewise.
11103 * sunrpc/rpc/xdr.h: Likewise.
11104 * sunrpc/rpc_clntout.c: Likewise.
11105 * sunrpc/rpc_cmsg.c: Likewise.
11106 * sunrpc/rpc_common.c: Likewise.
11107 * sunrpc/rpc_cout.c: Likewise.
11108 * sunrpc/rpc_dtable.c: Likewise.
11109 * sunrpc/rpc_hout.c: Likewise.
11110 * sunrpc/rpc_main.c: Likewise.
11111 * sunrpc/rpc_parse.c: Likewise.
11112 * sunrpc/rpc_parse.h: Likewise.
11113 * sunrpc/rpc_prot.c: Likewise.
11114 * sunrpc/rpc_sample.c: Likewise.
11115 * sunrpc/rpc_scan.c: Likewise.
11116 * sunrpc/rpc_scan.h: Likewise.
11117 * sunrpc/rpc_svcout.c: Likewise.
11118 * sunrpc/rpc_tblout.c: Likewise.
11119 * sunrpc/rpc_util.c: Likewise.
11120 * sunrpc/rpc_util.h: Likewise.
11121 * sunrpc/rpcinfo.c: Likewise.
11122 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11123 * sunrpc/rpcsvc/key_prot.x: Likewise.
11124 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11125 * sunrpc/rpcsvc/mount.x: Likewise.
11126 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11127 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11128 * sunrpc/rpcsvc/rex.x: Likewise.
11129 * sunrpc/rpcsvc/rstat.x: Likewise.
11130 * sunrpc/rpcsvc/rusers.x: Likewise.
11131 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11132 * sunrpc/rpcsvc/spray.x: Likewise.
11133 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11134 * sunrpc/rtime.c: Likewise.
11135 * sunrpc/svc.c: Likewise.
11136 * sunrpc/svc_auth.c: Likewise.
11137 * sunrpc/svc_authux.c: Likewise.
11138 * sunrpc/svc_raw.c: Likewise.
11139 * sunrpc/svc_run.c: Likewise.
11140 * sunrpc/svc_simple.c: Likewise.
11141 * sunrpc/svc_tcp.c: Likewise.
11142 * sunrpc/svc_udp.c: Likewise.
11143 * sunrpc/svc_unix.c: Likewise.
11144 * sunrpc/svcauth_des.c: Likewise.
11145 * sunrpc/xcrypt.c: Likewise.
11146 * sunrpc/xdr.c: Likewise.
11147 * sunrpc/xdr_array.c: Likewise.
11148 * sunrpc/xdr_float.c: Likewise.
11149 * sunrpc/xdr_mem.c: Likewise.
11150 * sunrpc/xdr_rec.c: Likewise.
11151 * sunrpc/xdr_ref.c: Likewise.
11152 * sunrpc/xdr_sizeof.c: Likewise.
11153 * sunrpc/xdr_stdio.c: Likewise.
11154
9da4bb31
UD
11155 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11156 handling.
11157
bdaa77bc
AS
111582010-08-19 Andreas Schwab <schwab@redhat.com>
11159
11160 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11161
fe2f79db
LM
111622010-08-19 Luis Machado <luisgpm@br.ibm.com>
11163
11164 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11165 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11166 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11167 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11169 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11170 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11171 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11173 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11174 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11175 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11176 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11177 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11178
b9b42ee0
AB
111792010-07-26 Anton Blanchard <anton@samba.org>
11180
11181 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11182 * malloc/arena.c (heap_trim): Likewise.
11183
1c06ba31
UD
111842010-08-16 Ulrich Drepper <drepper@redhat.com>
11185
11186 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11187 here. Not...
11188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11189 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11190
f8392f40
L
111912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 * sysdeps/i386/elf/Makefile: New file.
11194
3162f12e
AS
111952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11196
11197 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11198 from fanotify_init.
11199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11201
28c90b2c
UD
112022010-08-15 Ulrich Drepper <drepper@redhat.com>
11203
11204 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11205 of strncasecmp_l.
1feccb6c 11206 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11207
ca6bb004
UD
112082010-08-14 Ulrich Drepper <drepper@redhat.com>
11209
e9f82e0d
UD
11210 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11211 strncase_l-nonascii.
11212 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11213 Add strncase_l-ssse3.
11214 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11215 * sysdeps/x86_64/strcmp.S: Likewise.
11216 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11217 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11218 * sysdeps/x86_64/strncase.S: New file.
11219 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11220 * sysdeps/x86_64/strncase_l.S: New file.
11221 * string/Makefile (strop-tests): Add strncasecmp.
11222 * string/test-strncasecmp.c: New file.
11223
11224 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11225 warning.
11226
ca6bb004
UD
11227 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11228 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11229
052fa7b3
AS
112302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11231
11232 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11233
962dba78
UD
112342010-08-12 Ulrich Drepper <drepper@redhat.com>
11235
11236 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11238 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11239
bebff237
AM
112402010-05-01 Alan Modra <amodra@gmail.com>
11241
11242 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11243 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11244 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11245 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11246 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11247 tidying. Don't tail-call __sigjmp_save for static lib.
11248 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11249 save location.
11250 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11251 (CALL_MCOUNT): Add eh info, and nop after bl.
11252 (TAIL_CALL_SYSCALL_ERROR): New macro.
11253 (PSEUDO_RET): Use it.
11254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11255 Correct save location of integer regs and cr.
11256 (_dl_profile_resolve): Correct cr save location. Delete nops
11257 after bl when SHARED. Reduce cfi size a little by better
11258 placement of cfi directives.
11259 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11260 make a stack frame. Instead use parm save area as a temp.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11262 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11264 Don't make a stack frame for parent, use parm save area.
11265 Increase child stack frame to 112 bytes. Don't save unused reg,
11266 and adjust reg usage. Set up cfi on error recovery and
11267 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11269 (__makecontext): Add dummy nop after jump to exit.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11271 Use correct parm save area and cr save, reduce stack frame.
11272 Correct cfi for possible PSEUDO_RET frame setup.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11274 Branch to local label emitted by PSEUDO_RET rather than
11275 __syscall_error.
11276
02637374
AS
112772010-08-12 Andreas Schwab <schwab@redhat.com>
11278
11279 [BZ #11904]
11280 * locale/programs/locale.c (print_assignment): New function.
11281 (show_locale_vars): Use it.
11282
c3e2f19b
UD
112832010-08-11 Ulrich Drepper <drepper@redhat.com>
11284
3cdaa6ad
UD
11285 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11286 field.
11287 (struct statfs64): Likewise.
11288 (_STATFS_F_FLAGS): Define.
11289 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11291 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11292 (ST_VALID): Define locally.
11293 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11294 __statvfs_getflags, use the provided value.
11295 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11296 __ASSUME_STATFS_F_FLAGS.
11297
754f7da3
UD
11298 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11299
10b3bedc
UD
11300 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11301 Add sys/fanotify.h.
11302 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11303 fanotify_mask for GLIBC_2.13.
11304 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11305 fanotify_init and fanotify_mark.
11306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11307 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11308
c08fb0d7
UD
11309 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11310 Add prlimit.
11311 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11312 prlimit64 for GLIBC_2.13.
11313 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11314 prlimit64.
11315 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11316 syscall.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11318 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11319 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11320 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11322 add prlimit alias.
11323 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11324
15bac72b
UD
11325 [BZ #11903]
11326 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11327 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11328
c3e2f19b
UD
11329 * nss/Makefile: Add rules to build and run tst-nss-test1.
11330 * shlib-versions: Add entry for libnss_test1.
11331 * nss/nss_test1.c: New file.
11332 * nss/tst-nss-test1.c: New file.
11333
11334 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11335 (__nss_configure_lookup): Set appropriate entry in
11336 __nss_configure_lookup to true.
11337 * nss/nsswitch.h: Define enum with indeces of databases in
11338 databases and __nss_database_custom arrays. Declare
11339 __nss_database_custom.
11340 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11341 to avoid using nscd when custom rules are installed.
11342 * nss/getXXbyYY_r.c: Likewise.
11343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11344
11345 * nss/nss_files/files-parse.c: Whitespace fixes.
11346
f15ce4d8
UD
113472010-08-09 Ulrich Drepper <drepper@redhat.com>
11348
11349 [BZ #11883]
11350 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11351 * posix/fnmatch_loop.c: Likewise.
11352
d22e4cc9
AK
113532010-07-17 Andi Kleen <ak@linux.intel.com>
11354
11355 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11356 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11357 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11358 * Versions.def [GLIBC_2.13]: Add.
11359
805bc17d
UD
113602010-08-06 Ulrich Drepper <drepper@redhat.com>
11361
11362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11363 Also fail if tpwd after pwuid call is NULL.
11364
5a42321d
ST
113652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11366
11367 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11368 when converting to ms.
11369
fd3ebeda
ST
113702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11371
11372 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11373 EOPNOTSUPP errors with ENOTTY.
11374 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11375 EOPNOTSUPP errors with ENOTTY.
11376
73507d3a
UD
113772010-07-31 Ulrich Drepper <drepper@redhat.com>
11378
11379 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11380 Add strcasecmp_l-ssse3.
11381 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11382 strcasecmp.
11383 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11384 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11385 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11386
fe36dd02
UD
113872010-07-30 Ulrich Drepper <drepper@redhat.com>
11388
66f6765a
UD
11389 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11390
42e08a54
UD
11391 * string/Makefile (strop-tests): Add strcasecmp.
11392 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11393 strcasecmp_l-nonascii.
11394 (gen-as-const-headers): Add locale-defines.sym.
11395 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11396 * sysdeps/x86_64/strcasecmp.S: New file.
11397 * sysdeps/x86_64/strcasecmp_l.S: New file.
11398 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11399 * sysdeps/x86_64/locale-defines.sym: New file.
11400 * string/test-strcasecmp.c: New file.
11401
fe36dd02
UD
11402 * string/test-strcasestr.c: Test both ends of the range of characters.
11403 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11404
48cbc0d6
RM
114052010-07-29 Roland McGrath <roland@redhat.com>
11406
76e6d6bc 11407 [BZ #11856]
48cbc0d6
RM
11408 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11409
880113d9
UD
114102010-07-27 Ulrich Drepper <drepper@redhat.com>
11411
11412 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11413 for ld.so.
11414
deb9cabb
AS
114152010-07-27 Andreas Schwab <schwab@redhat.com>
11416
11417 * manual/memory.texi (Malloc Tunable Parameters): Document
11418 M_PERTURB.
11419
1c7570ff
RM
114202010-07-26 Roland McGrath <roland@redhat.com>
11421
11422 [BZ #11840]
11423 * configure.in (-fgnu89-inline check): Set and substitute
11424 gnu89_inline, not libc_cv_gnu89_inline.
11425 * configure: Regenerated.
11426 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11427
24fb0f88
UD
114282010-07-26 Ulrich Drepper <drepper@redhat.com>
11429
11430 * string/test-strnlen.c: New file.
11431 * string/Makefile (strop-tests): Add strnlen.
11432 * string/tester.c (test_strnlen): Add a few more test cases.
11433 * string/tst-strlen.c: Better error reporting.
11434
11435 * sysdeps/x86_64/strnlen.S: New file.
11436
8e96b93a
UD
114372010-07-24 Ulrich Drepper <drepper@redhat.com>
11438
11439 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11440 lower-latency instructions.
11441
dbc676d4
UD
114422010-07-23 Ulrich Drepper <drepper@redhat.com>
11443
11444 * string/test-strcasestr.c: New file.
11445 * string/test-strstr.c: New file.
11446 * string/Makefile (strop-tests): Add strstr and strcasestr.
11447 * string/str-two-way.h: Don't undefine MAX.
11448 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11449
f6a31e0e
AS
114502010-07-21 Andreas Schwab <schwab@redhat.com>
11451
11452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11453 strcasestr-nonascii.
11454 (CFLAGS-strcasestr-nonascii.c): Define.
11455 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11457 Remove unused attribute.
11458
5dbc3b6c
RM
114592010-07-20 Roland McGrath <roland@redhat.com>
11460
11461 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11462 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11463 ld.so.cache was broken. With it, there is no way to disable dsocaps
11464 like LD_HWCAP_MASK can disable hwcaps.
11465
23d101d8
EPM
114662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11467
11468 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11469
cc9f2e47
UD
114702010-07-16 Ulrich Drepper <drepper@redhat.com>
11471
11472 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11473 call in strcasestr.
11474 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11475 __strcasestr_sse42_nonascii.
11476 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11477 strcasestr-nonascii.c.
11478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11479
77c1b069
LM
114802010-06-15 Luis Machado <luisgpm@br.ibm.com>
11481
11482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11483 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11485 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11486
440566c3
UD
114872010-07-09 Ulrich Drepper <drepper@redhat.com>
11488
11489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11490 fcntl.
11491
5be9d05d
AS
114922010-07-06 Andreas Schwab <schwab@redhat.com>
11493
c30b7ee2 11494 [BZ #11577]
5be9d05d
AS
11495 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11496 dl_signal_cerror.
11497
8a492a67
UD
114982010-07-06 Ulrich Drepper <drepper@redhat.com>
11499
11500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11501 _PC_PIPE_BUF using F_GETPIPE_SZ.
11502
713df3d5
RM
115032010-07-05 Roland McGrath <roland@redhat.com>
11504
11505 * manual/arith.texi (Rounding Functions): Fix rint description
11506 implicit in round description.
11507
702e8f14
UD
115082010-07-02 Ulrich Drepper <drepper@redhat.com>
11509
11510 * elf/Makefile: Fix linking for a few tests to make recent linker
11511 happy.
11512
52ed8be9
AS
115132010-06-30 Andreas Schwab <schwab@redhat.com>
11514
11515 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11516 $(common-objpfx)libc_nonshared.a.
11517
f47c9a11
LM
115182010-06-21 Luis Machado <luisgpm@br.ibm.com>
11519
11520 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11521 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11522 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11523 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11524 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11525 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11526 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11527 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11542 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11543 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11544 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11545 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11546 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11547 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11548 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11549 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11550 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11551 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11552 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11553 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11568
6fb8cbcb
L
115692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11570
11571 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11572 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11573 * string/memmove.c (memmove): Renamed to ...
11574 (MEMMOVE): ...this. Default to memmove.
11575 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11576 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11577 (END_CHK): Define.
11578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11579 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11580 mempcpy-ssse3-back memmove-ssse3-back.
11581 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11583 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11584 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11585 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11586 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11587 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11588 * sysdeps/x86_64/multiarch/memmove.c: New file.
11589 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11590 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11591 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11592 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11593 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11595 Define.
11596 (index_Fast_Copy_Backward): Define.
11597 (HAS_ARCH_FEATURE): Define.
11598 (HAS_FAST_REP_STRING): Define.
11599 (HAS_FAST_COPY_BACKWARD): Define.
11600
4e733bac 116012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11602
11603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11604 Restore proper fallback handling.
11605
63c4ed22
UD
116062010-06-19 Ulrich Drepper <drepper@redhat.com>
11607
ac2b484c
UD
11608 [BZ #11701]
11609 * posix/group_member.c (__group_member): Correct checking loop.
11610
63c4ed22
UD
11611 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11612 OOM in getpwuid_r correctly. Return error number when the caller
11613 should return, otherwise -1.
11614 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11615 call returning > 0 value.
11616 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11617
765ade4b
AS
116182010-06-07 Andreas Schwab <schwab@redhat.com>
11619
11620 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11621 libc_nonshared.a from targets in modules-names.
11622
80da2e09
KS
116232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11624
11625 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11626 requires it.
11627
158db122
LM
116282010-06-10 Luis Machado <luisgpm@br.ibm.com>
11629
11630 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11631 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11634
caa78cf8
AS
116352010-06-02 Andreas Schwab <schwab@redhat.com>
11636
11637 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11638
b2ef2c01
UD
116392010-06-14 Ulrich Drepper <drepper@redhat.com>
11640
11641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11642 and F_GETPIPE_SZ.
11643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11648 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11649
fbd643b6
RM
116502010-06-14 Roland McGrath <roland@redhat.com>
11651
11652 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11653
f32f2869
JJ
116542010-06-07 Jakub Jelinek <jakub@redhat.com>
11655
11656 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11657 __REDIRECT followed by __THROW.
11658 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11659 * posix/getopt.h (getopt): Likewise.
11660
2a50c078
EPM
116612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11662
11663 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11664 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11665 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11666 in AT_FLAGS.
11667 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11668 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11669
eb5ad2eb
LM
116702010-05-28 Luis Machado <luisgpm@br.ibm.com>
11671
11672 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11673
3c88fe1e
L
116742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11675
11676 [BZ #11640]
11677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11678 Properly check family and model.
11679
d2f73151
TY
116802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11681
11682 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11683
ebd2e13d
LM
116842010-05-24 Luis Machado <luisgpm@br.ibm.com>
11685
11686 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11687
b32b8b45
UD
116882010-05-21 Ulrich Drepper <drepper@redhat.com>
11689
11690 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11691 symbol reference.
11692
9acbe24d
AS
116932010-05-19 Andreas Schwab <schwab@redhat.com>
11694
11695 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11696 symbol reference.
11697
f0ccf6ea
AS
116982010-05-21 Andreas Schwab <schwab@redhat.com>
11699
3d04ff3a
AS
11700 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11701 and internal_recvmmsg.
11702 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11703 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11704 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11705 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11706
f0ccf6ea
AS
11707 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11708 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11709 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11710
5b08ac57
AS
117112010-05-20 Andreas Schwab <schwab@redhat.com>
11712
11713 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11714
4828935d
LM
117152010-05-17 Luis Machado <luisgpm@br.ibm.com>
11716
11717 POWER7 optimizations.
11718 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11719 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11720
373d545e
UD
117212010-05-19 Ulrich Drepper <drepper@redhat.com>
11722
11723 * version.h: Update for 2.13 development version.
11724
21a2b1ae
AS
117252010-05-12 Andrew Stubbs <ams@codesourcery.com>
11726
11727 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11728 exceptions. Return 0.
11729
3f7dcb2b
RM
117302010-05-07 Roland McGrath <roland@redhat.com>
11731
11732 * elf/ldconfig.c (main): Add a const.
11733
5f24d53a 117342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11735
a160f8d8
UD
11736 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11737 (args_options): Add no-idn option.
11738 (ahosts_keys_int): Add idn_flags to ai_flags.
11739 (parse_option): Handle 'i' option to clear idn_flags.
11740
5f24d53a
UD
11741 * malloc/malloc.c (_int_free): Possible race in the most recently
11742 added check. Only act on the data if no current modification
11743 happened.
265bb1ce
UD
11744
11745See ChangeLog.17 for earlier changes.