]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove sysdeps/unix/sysv/Makefile.
[glibc.git] / ChangeLog
CommitLineData
097d59fa
JM
12012-04-20 Joseph Myers <joseph@codesourcery.com>
2
edc7ea78
JM
3 * sysdeps/unix/sysv/Makefile: Remove file.
4
cb78c221
JM
5 * sysdeps/unix/sysv/direct.h: Remove file.
6
efa6a45f
JM
7 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14
9c9f2d0c
JM
15 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16
4541c83b
JM
17 * sysdeps/unix/xmknod.c: Remove file.
18 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19
f5d153a0
JM
20 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21
aa746595
JM
22 * sysdeps/unix/sysv/i386/time.S: Remove file.
23
cce5905e
JM
24 * sysdeps/unix/fxstat.c: Remove file.
25 * sysdeps/unix/xstat.c: Likewise.
26 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27
37fa3841
JM
28 * sysdeps/unix/sysv/sigaction.c: Remove file.
29
ff1962a3
JM
30 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31 (sysdep_headers): Remove variable.
32 [termio.h not in sysdep_headers] (generated): Likewise.
33 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36 * sysdeps/unix/sysv/tcflow.c: Likewise.
37 * sysdeps/unix/sysv/tcflush.c: Likewise.
38 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43
e7740d31
JM
44 * sysdeps/unix/siglist.c: Remove file.
45
ee06f18b
JM
46 * sysdeps/unix/getppid.S: Remove file.
47
097d59fa
JM
48 * sysdeps/unix/mkdir.c: Remove file.
49 * sysdeps/unix/rmdir.c: Likewise.
50
ff3d51ec
AS
512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
52
53 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54 ERR_MAX value.
55 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
56 errlist-compat value.
57
50f81fd7
DM
582012-04-18 David S. Miller <davem@davemloft.net>
59
60 * sysdeps/generic/memcopy.h (reg_char): Delete.
61 * debug/strcat_chk.c: Use char, not reg_char.
62 * debug/strcpy_chk.c: Likewise.
63 * debug/strncat_chk.c: Likewise.
64 * debug/strncpy_chk.c: Likewise.
65 * string/memchr.c: Likewise.
66 * string/memrchr.c: Likewise.
67 * string/rawmemchr.c: Likewise.
68 * string/strcat.c: Likewise.
69 * string/strchr.c: Likewise.
70 * string/strchrnul.c: Likewise.
71 * string/strcmp.c: Likewise.
72 * string/strcpy.c: Likewise.
73 * string/strncat.c: Likewise.
74 * string/strncmp.c: Likewise.
75 * string/strncpy.c: Likewise.
76
8ff41c46
WS
772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
78
79 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80 __builtin_memcopy is called when src and dest ranges are known to not
81 overlap.
82
6b652f46
WS
832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84
85 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
86 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
87 fwd_align_merge macro call.
88 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
89 bwd_align_merge macro call.
90 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
91
b282631e
WS
922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
93
94 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
95 bwd_align_merge macros.
96 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
97 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
98 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
99
95aa737c
DM
1002012-04-18 David S. Miller <davem@davemloft.net>
101
102 * sysdeps/sparc/sparc64/memcopy.h: Delete.
103
7a99a614
AJ
1042012-04-18 Andreas Jaeger <aj@suse.de>
105
106 [BZ# 6794]
107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
108 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
109 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
110
111 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
112 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
114
115 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
116 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
117 Adjust for changed ldbl-128 files.
118
119 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
120 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
122
e5270c23
DM
1232012-04-17 David S. Miller <davem@davemloft.net>
124
125 * sysdeps/sparc/sparc32/memcopy.h: Delete.
126
fb5e92c9
AS
1272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
128
129 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
130 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
131 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
132 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
133 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
134 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
135
76da7265
AZ
1362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 [BZ #6794]
139 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
140 * math/libm-test.inc: Add ilogb errno and exception tests.
141 * math/w_ilogb.c: New file: ilogb wrapper.
142 * math/w_ilogbf.c: New file: ilogbf wrapper.
143 * math/w_ilogbl.c: New file: ilogbl wrapper.
144 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
145 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
146 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
147 exception being thrown with 0.0 as argument.
148 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
149 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
150 exception being thrown with 0.0 as argument.
151 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
152 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
153 exception being thrown with 0.0 as argument.
154 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
155 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
156 exception being thrown with 0.0 as argument.
157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
158 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
160 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
162 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
163 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
164 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
165 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
166
0396e69d
PB
1672012-04-17 Petr Baudis <pasky@ucw.cz>
168
169 * include/sys/uio.h: Change __vector to __iovec to avoid clash
170 with altivec.
171
750b5926
MP
1722012-04-16 Marek Polacek <polacek@redhat.com>
173
174 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
175
751728a1
MP
1762012-04-16 Marek Polacek <polacek@redhat.com>
177
178 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
179 operands of fdivp instruction.
180
34a27407
L
1812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
182
183 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
184 * elf/tst-auditmod3b.c: Likewise.
185 * elf/tst-auditmod4b.c: Likewise.
186 * elf/tst-auditmod5b.c: Likewise.
187 * elf/tst-auditmod6b.c: Likewise.
188 * elf/tst-auditmod6c.c: Likewise.
189 * elf/tst-auditmod7b.c: Likewise.
190 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
191 * sysdeps/x86_64/preconfigure.in: Likewise.
192 * sysdeps/x86_64/preconfigure: Regenerated.
193
7e73e17d
L
1942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
195
196 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
197 __ILP32__.
198
c7a6ab72
AB
1992012-04-13 Antoine Balestrat <merkil33@gmail.com>
200
201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
202 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
203
a9e8e0e0
CL
2042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
205
206 [BZ #13973]
207 * locale/iso-639.def: Fix gl language name. Spotted by
208 Yaron Shahrabani.
209
ec98af7d
RM
2102012-04-12 Roland McGrath <roland@hack.frob.com>
211
212 [BZ #2074]
213 * libio/libio.h (__io_write_fn): Update comment.
214
247c3ede
PB
2152012-04-12 Petr Baudis <pasky@ucw.cz>
216
217 [BZ #2074]
218 * stdio.texi (Hook Functions): The user provided writer function
219 is not allowed to return -1.
220
55939d6d
DM
2212012-04-11 David S. Miller <davem@davemloft.net>
222
223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
224
90020f5a
MF
2252012-04-11 Mike Frysinger <vapier@gentoo.org>
226
227 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
228 Add a leading slash to rtkaio.
229
288f9098
JM
2302012-04-11 Jim Meyering <meyering@redhat.com>
231
90020f5a
MF
232 [BZ #11959]
233 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
234 It is not necessarily an error to ignore fwrite's return
235 value. One can reliably use ferror to test for errors after
236 the fact.
288f9098 237
4be2b570
L
2382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
239
240 * bits/types.h (__snseconds_t): New type.
241 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
242
243 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
245 (__SNSECONDS_T_TYPE): Likewise.
246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
247 (__SNSECONDS_T_TYPE): Likewise.
248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
249 (__SNSECONDS_T_TYPE): Likewise.
250
288f9098 2512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
252
253 [BZ #2636]
254 * manual/time.texi (Processor Time): Return type of times is
255 elapsed real time since an arbitrary point in the past.
256 (CPU Time): Move CLK_TCK from here...
257 (Processor Time): ...to here. Correct description.
258 * manual/conf.texi (Constants for Sysconf): Correct description of
259 _SC_CLK_TCK.
260
d7dd4413
DM
2612012-04-10 David S. Miller <davem@davemloft.net>
262
263 [BZ #13967]
264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
265 where the is a gap between DT_REL(A) and DT_JMPREL.
266
b46068fc
L
2672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
268
269 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
270 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
271 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
272
73d65cc3
SP
2732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
274
275 * elf/dl-support.c (_dl_inhibit_cache): New variable.
276 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
277 (dl_main): Handle --inhibit-cache.
278 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
279 _dl_inhibit_cache.
280 * elf/dl-load.c (_dl_map_object): Use it.
281 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
282
bcc8d661
JM
2832012-04-09 Joseph Myers <joseph@codesourcery.com>
284
8f9a2fae
JM
285 [BZ #13872]
286 * sysdeps/i386/fpu/e_powl.S (p78): New object.
287 (__ieee754_powl): Saturate large exponents rather than testing for
288 overflow of y*log2(x).
289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
290 * math/libm-test.inc (pow_test): Do not permit spurious overflow
291 exceptions.
292
bcc8d661
JM
293 [BZ #11521]
294 * math/s_ctan.c: Include <float.h>.
295 (__ctan): Avoid internal overflow or cancellation in calculating
296 denominator.
297 * math/s_ctanf.c: Likewise.
298 * math/s_ctanl.c: Likewise.
299 * math/s_ctanh.c: Likewise.
300 * math/s_ctanhf.c: Likewise.
301 * math/s_ctanhl.c: Likewise.
302 * math/libm-test.inc (ctan_test): Add more tests.
303 (ctanh_test): Likewise.
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306
823fbbb4
AJ
3072012-04-09 Andreas Jaeger <aj@suse.de>
308
03879793
AJ
309 [BZ #6894]
310 * manual/filesys.texi (Directory Entries): Mention that d_namlen
311 is an optional BSD extension.
312
823fbbb4
AJ
313 [BZ #10254]
314 * manual/stdio.texi (Opening Streams): Document additional fopen
315 parameters.
316
8de131cb
RM
3172012-04-09 Roland McGrath <roland@hack.frob.com>
318
319 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
320 %eax without telling the compiler.
321
c0ed9d7d
CD
3222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
323
324 [BZ # 13963]
325 * manual/install.texi: Use sourceware.org.
326
c483f6b4
JM
3272012-04-09 Joseph Myers <joseph@codesourcery.com>
328
d7dd9453
JM
329 [BZ #13873]
330 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
331 (__ieee754_pow): Generate overflow and underflow using huge*huge
332 and tiny*tiny rather than just returning constant infinity or zero
333 for large exponents.
334 * math/libm-test.inc (pow_test): Require overflow exceptions for
335 applicable cases of large exponents.
336
c483f6b4
JM
337 [BZ #706]
338 * sysdeps/i386/fpu/e_pow.S (p10): New object.
339 (__ieee754_pow): Use iterative multiplication algorithm only for
340 integer exponents with absolute value below 1024. Check for odd
341 integer exponents when using algorithm for real exponents.
342 * math/libm-test.inc (pow_test): Add more tests.
343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
344
d2de7579
JM
3452012-04-08 Joseph Myers <joseph@codesourcery.com>
346
347 [BZ #13705]
348 * math/libm-test.inc (exp_test): Do not allow overflow exception
349 on underflow test.
350
f77f1232
AJ
3512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
352
353 [BZ #13705]
354 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
355 instead of __kernel_standard_f.
356
3884932b
MF
3572012-04-08 Mike Frysinger <vapier@gentoo.org>
358
359 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
360 * sysdeps/x86_64/memset_chk.S: Likewise.
361
54472e9c
AJ
3622012-04-08 Andreas Jaeger <aj@suse.de>
363
6ab0fbfc
AJ
364 [BZ #10153]
365 * manual/startup.texi (Environment Access): Describe return value
366 for putenv and setenv.
367
61efba8c
AJ
368 [BZ #6895]
369 * manual/filesys.texi (Directory Entries): Add description for
370 DT_LNK.
371
95c3f29a
AJ
372 [BZ #6890]
373 * manual/filesys.texi (Directory Entries): Clarify that it's file
374 system not operating system in the description of DT_UNKNOWN.
375
54472e9c
AJ
376 [BZ #6578]
377 * manual/syslog.texi (closelog): Fix reference, it's openlog.
378
624254b1
SC
3792012-04-08 Stephen Compall <s11@member.fsf.org>
380
381 [BZ #6649]
382 * manual/llio.texi (Opening and Closing Files): Add cross
383 reference to explain mode argument.
384
1e4920e0
MF
3852012-04-07 Mike Frysinger <vapier@gentoo.org>
386
387 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
388 * sysdeps/x86_64/memset_chk.S: Likewise.
389
5ed848f3
DM
3902012-04-07 David S. Miller <davem@davemloft.net>
391
392 * elf/elf.h (R_SPARC_WDISP10): Define.
393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
394 R_SPARC_SIZE32.
395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
396 R_SPARC_SIZE64 and R_SPARC_H34.
397
96154cd8
CD
3982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
399
400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
401 conditions and remove no longer applicable assertion.
402
9904dc47
L
4032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
404
405 * bits/byteswap.h: Include <features.h>.
406 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
407 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
408
f8887d0a
L
4092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
410
411 * bits/byteswap.h (__bswap_16): Removed.
412 Include <bits/byteswap-16.h> to get __bswap_16.
413 * sysdeps/i386/bits/byteswap.h: Likewise.
414 * sysdeps/s390/bits/byteswap.h: Likewise.
415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
416 * bits/byteswap-16.h: New file.
417 * sysdeps/i386/bits/byteswap-16.h: Likewise.
418 * sysdeps/s390/bits/byteswap-16.h: Likewise.
419 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
420 * string/Makefile (headers): Add bits/byteswap-16.h.
421
62470f60
PP
4222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
423
424 [BZ #13895]
425 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
426 extra indirection.
427 * nss/Makefile (tests-static, tests): Add tst-nss-static.
428 * nss/tst-nss-static.c: New.
429
4dad7bab
RM
4302012-04-06 Robert Millan <rmh@gnu.org>
431
432 [BZ #6486]
433 * manual/llio.texi (File Position Primitive): lseek
434 refers to WHENCE when it really means OFFSET.
435
e9142a17
AJ
4362012-04-06 Andreas Jaeger <aj@suse.de>
437
2c040eff
AJ
438 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
439 strncmp declarations.
440
e9142a17
AJ
441 * abilist/libc.abilist: Add __poll and __ppoll.
442
ff9f1c5f
DM
4432012-04-05 David S. Miller <davem@davemloft.net>
444
dcd2ae90
DM
445 * scripts/check-local-headers.sh: Accept a host triplet in the
446 path matched by the exclude regexp.
447
993eb054
DM
448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
449 definition.
450 * sysdeps/powerpc/powerpc32/dl-machine.h
451 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
452 * sysdeps/s390/s390-32/dl-machine.h
453 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
454 * sysdeps/sparc/sparc32/dl-machine.h
455 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
456 * sysdeps/sparc/sparc64/dl-machine.h
457 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
458
ff9f1c5f
DM
459 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
460 lazy binding.
48e2e132 461 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
462 undefined symbol errors.
463
48e2e132 464 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
465 DT_NEEDED entries.
466
e80d6f94
MM
4672012-04-05 Michael Matz <matz@suse.de>
468
469 [BZ #13592]
470 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
471
349fa79f
AJ
4722012-04-05 Andreas Jaeger <aj@suse.de>
473
474 [BZ #13908]
475 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
476 comment.
477
f402708f
KK
4782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
479
480 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
481 which ROUND is no valid rounding mode.
482
2ecccfc9
KK
4832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
484
485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
486 read again.
487 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
488
8a53f50f
KK
4892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
490
491 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
492 an exception using FPU order intentionally.
493
4942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
495
496 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
497 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
498 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
499 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
500
d653abb7
SJ
5012012-04-05 Simon Josefsson <simon@josefsson.org>
502
503 [BZ #12340]
504 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
505 EINVAL when BUFLEN is too smal.
506
c3b1bf7d
TS
5072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
508
509 [BZ #13553]
510 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
511 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
512
b1aa60f3
AJ
5132012-04-03 Andreas Jaeger <aj@suse.de>
514
c3b1bf7d 515 [BZ #13938]
67f60a26
AJ
516 * manual/setjmp.texi (System V contexts): Fix sentence.
517
b1aa60f3
AJ
518 [BZ #13926]
519 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
520 New macro for this case.
521 [!__GNUC__] (__bswap_64): New inline function for this case.
522 * sysdeps/x86_64/bits/byteswap.h: Likewise.
523 * bits/byteswap.h: Likewise.
524 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
525 ull, guard with __GLIBC_HAVE_LONG_LONG.
526
527 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
528 __GLIBC_HAVE_LONG_LONG.
529
530 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
531 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
532
39c59c35
TMQMF
5332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
534
535 [BZ #13691]
536 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
537 inptr and inend, rather than using last_ch.
538
135ffda8
DM
5392012-04-02 David S. Miller <davem@davemloft.net>
540
541 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
542 * stdio-common/printf-parse.h (read_int): Change return type to
543 'int', return -1 on INT_MAX overflow.
544 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
545 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
546 overflows INT_MAX. Check for overflow of in-format-string precision
547 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
548 SIZE_MAX not INT_MAX for integer overflow test.
549 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
550 skip the construct in the format string but do not record anything.
551 * stdio-common/bug22.c: Adjust to test both width/prevision
552 INT_MAX overflow as well as total length INT_MAX overflow. Check
553 explicitly for proper errno values.
554
228c019e
TS
5552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
556
302cadd3
TS
557 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
558 CHAR_MAX.
559 * string/test-strcmp.c [! WIDE]: Likewise.
560 * time/tst-mktime2.c: Likewise for INT_MAX.
561 * string/test-string.h: #include <sys/param.h> for MIN.
562
228c019e
TS
563 * csu/init-first.c (__libc_init_first): Call __ctype_init.
564 * sysdeps/i386/init-first.c (init): Likewise.
565 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
566 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
567 * sysdeps/sh/init-first.c (init): Likewise.
568
cfa633f5
UD
5692012-04-01 Ulrich Drepper <drepper@gmail.com>
570
571 * po/ru.po: Update from translation team.
d1635ef8 572 * po/vi.po: Likewise.
cfa633f5 573
6cd0a5ea
SP
5742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
575
576 * resolv/nss_dns/dns-host.c: Merge copyright years.
577
4b43400f
LD
5782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
579
580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
581 Optimize memcpy with prefetch if
582 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
583 src, dst pointers have unequal 16 byte alignments.
584
48c41d04
SP
5852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
586
587 [BZ #13928]
588 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
589 from a CNAME entry and return the minimum ttl for the query.
590 (gaih_getanswer_slice): Likewise.
591
b8dc394d
JL
5922012-03-30 Jeff Law <law@redhat.com>
593
594 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
595 due to long keys.
596 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
597 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
598
2f5a5ed0
JL
599 * resolv/nss_dns/dns-host.c: Update copyright year.
600
1d39e359
UD
6012012-03-30 Ulrich Drepper <drepper@gmail.com>
602
c030f70c 603 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 604 requests to save a system call. Fix check that all bytes are sent.
c030f70c 605
1d39e359
UD
606 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
607 comments for sendmmsg.
608
6092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
610
611 [BZ #13691]
612 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
613 with only 1 character between 0x0041 and 0x01b0.
614 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
615 * wcsmbs/tst-mbsnrtowcs.c: New file.
616
20fde227
DM
6172012-03-29 David S. Miller <davem@davemloft.net>
618
619 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
620 small copies by hand.
621
984a4237
JL
6222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
623
624 [BZ #13761]
625 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
626 _nss_compat_initgroups_dyn): Fall back to malloc/free
627 for large group memberships.
628
18c9d62b
DM
6292012-03-28 David S. Miller <davem@davemloft.net>
630
88d85d4f
DM
631 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
632 that branches into memcpy.
633 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
636 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
638 bits.
639 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
640 implementation too.
641 * sysdeps/sparc/mempcpy.S: New file.
642
e5aa83e1
DM
643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
644 the IFUNC routine in the libc case.
645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
646
88570753
DM
647 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
648 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
649 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
650 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
651 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
652 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
653 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
654 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
655
249d7567
DM
656 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
657 loop to 256 bytes instead of 64 bytes and fix test signedness.
658
18c9d62b
DM
659 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
660 * sysdeps/sparc/sparc32/Makefile: rather than here...
661 * sysdeps/sparc/sparc64/Makefile: and here.
662
05f3d1f6
UD
6632012-03-28 Ulrich Drepper <drepper@gmail.com>
664
665 * malloc/mallocbug.c: Avoid warnings about unused variables.
666
86ae07a8
JL
6672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
668
669 [BZ #13760]
670 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
671 in the right place. Discard and retry query if response is
672 larger than input buffer size.
673
41bf21a1
JM
6742012-03-28 Joseph Myers <joseph@codesourcery.com>
675
d6270972
JM
676 [BZ #369]
677 [BZ #2678]
678 [BZ #3866]
679 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
680 x for large integer exponent.
681 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
682 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
683 sign of result as needed afterwards.
684 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
685 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
686 result for underflowing pow the same as for overflow.
687 (__kernel_standard_l): Handle powl overflow and underflow here
688 rather than calling __kernel_standard.
689 * math/libm-test.inc (pow_test): Add more tests.
690
414fca03 691 [BZ #3868]
41bf21a1
JM
692 [BZ #13879]
693 [BZ #13910]
694 [BZ #13911]
695 [BZ #13912]
696 [BZ #13913]
697 [BZ #13915]
698 [BZ #13916]
699 [BZ #13917]
700 [BZ #13918]
701 [BZ #13919]
702 [BZ #13920]
703 [BZ #13921]
704 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
705 * sysdeps/ieee754/k_standard.c: Include <float.h>.
706 (__kernel_standard_l): New function.
707 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
708 __kernel_standard.
709 * math/w_acosl.c (__acosl): Likewise.
710 * math/w_asinl.c (__asinl): Likewise.
711 * math/w_atan2l.c (__atan2l): Likewise.
712 * math/w_atanhl.c (__atanhl): Likewise.
713 * math/w_coshl.c (__coshl): Likewise.
714 * math/w_exp10l.c (__exp10l): Likewise.
715 * math/w_exp2l.c (__exp2l): Likewise.
716 * math/w_fmodl.c (__fmodl): Likewise.
717 * math/w_hypotl.c (__hypotl): Likewise.
718 * math/w_j0l.c (__j0l, __y0l): Likewise.
719 * math/w_j1l.c (__j1l, __y1l): Likewise.
720 * math/w_jnl.c (__jnl, __ynl): Likewise.
721 * math/w_lgammal.c (__lgammal): Likewise.
722 * math/w_log10l.c (__log10l): Likewise.
723 * math/w_log2l.c (__log2l): Likewise.
724 * math/w_logl.c (__logl): Likewise.
725 * math/w_powl.c (__powl): Likewise.
726 * math/w_remainderl.c (__remainderl): Likewise.
727 * math/w_scalbl.c (sysv_scalbl): Likewise.
728 * math/w_sinhl.c (__sinhl): Likewise.
729 * math/w_sqrtl.c (__sqrtl): Likewise.
730 * math/w_tgammal.c (__tgammal): Likewise.
731 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
732 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
733 * math/libm-test.inc (acos_test): Add more tests.
734 (acosh_test): Likewise.
735 (asin_test): Likewise.
736 (atanh_test): Likewise.
737 (exp_test): Likewise.
738 (exp10_test): Likewise.
739 (exp2_test): Likewise.
740 (expm1_test): Likewise.
741 (lgamma_test): Likewise.
742 (log_test): Likewise.
743 (log10_test): Likewise.
744 (log1p_test): Likewise.
745 (log2_test): Likewise.
746 (pow_test): Do not allow some spurious overflow exceptions.
747 (sqrt_test): Add more tests.
748 (tgamma_test): Likewise.
749 (y0_test): Likewise.
750 (y1_test): Likewise.
751 (yn_test): Likewise.
752
dd62fda6
AB
7532012-03-27 Anton Blanchard <anton@samba.org>
754
755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
756 MAP_HUGETLB.
757 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
760
1e3cdfda
AJ
7612012-03-27 David S. Miller <davem@davemloft.net>
762
b855ab85
DM
763 * conform/Makefile: Run run-conformtest.sh using $(BASH).
764
1e3cdfda
AJ
765 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
766 have-as-vis3 check.
767
7682012-03-27 Andreas Jaeger <aj@suse.de>
769
770 * sysdeps/x86_64/elf/configure.in: Moved to ...
771 * sysdeps/x86_64/configure.in: ... here.
772 * sysdeps/x86_64/elf/start.S: Moved to ...
773 * sysdeps/x86_64/start.S: ... here.
774 * sysdeps/x86_64/elf/configure: Delete.
775
776 * sysdeps/x86_64/configure.in: Merge contents from
777 sysdeps/i386/configure.in (without i686 check).
778
779 * sysdeps/i386/elf/Versions: Merge into ...
780 * sysdeps/i386/Versions: ... this.
781 * sysdeps/i386/elf/Versions: Delete file.
782 * sysdeps/i386/elf/start.S: Moved to ...
783 * sysdeps/i386/start.S: ...here.
784 * sysdeps/i386/elf/configure.in: Merge into...
785 * sysdeps/i386/configure.in: ...here.
786 * sysdeps/i386/elf/configure.in: Delete file.
787 * sysdeps/i386/elf/configure: Delete file.
788
789 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
790 * debug/backtracesyms.c: ... here.
791 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
792 * debug/backtracesymsfd.c: ... here.
793 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
794 * sysdeps/generic/ifunc-sel.h: ... here.
795
796 * sysdeps/unix/i386/start.c: Delete file.
797 * sysdeps/unix/sparc/start.c: Delete file.
798 * sysdeps/unix/start.c: Delete file.
799
800 * sysdeps/sh/elf/configure.in: Moved to ...
801 * sysdeps/sh/configure.in: ... here.
802 * sysdeps/sh/elf/start.S: Moved to ...
803 * sysdeps/sh/start.S: ... here.
804 * sysdeps/sh/elf/configure: Delete file.
805
806 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
807 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
808 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
809 * sysdeps/powerpc/powerpc64/entry.h: ... here.
810 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
811 * sysdeps/powerpc/powerpc64/start.S: here.
812 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
813 * sysdeps/powerpc/powerpc64/Makefile: ... this.
814 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
815 * sysdeps/powerpc/powerpc64/configure.in: ... this.
816 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
817
818 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
819 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
820 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
821 * sysdeps/powerpc/powerpc32/start.S: ... here.
822 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
823 * sysdeps/powerpc/powerpc32/configure.in: ... this.
824 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
825
826 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
827 * sysdeps/powerpc/ifunc-sel.h: ... here.
828 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
829 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
830
831 * sysdeps/sparc/elf/configure.in: Moved to ...
832 * sysdeps/sparc/configure.in: ... here.
833 * sysdeps/sparc/elf/configure: Delete file.
834 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
835 * sysdeps/sparc/sparc32/start.S: ... here.
836 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
837 * sysdeps/sparc/sparc64/start.S: ... here.
838 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
839 * sysdeps/sparc/sparc32/Makefile: ... this.
840 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
841 * sysdeps/sparc/sparc64/Makefile: ... this.
842
843 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
844 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
845 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
846 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
847 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
848 * sysdeps/s390/s390-32/setjmp.S: ... here.
849 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
850 * sysdeps/s390/s390-32/configure.in: ... here.
851 * sysdeps/s390/s390-32/elf/configure: Delete file.
852 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
853 * sysdeps/s390/s390-32/start.S: ... here.
854
855 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
856 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
857 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
858 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
859 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
860 * sysdeps/s390/s390-64/setjmp.S: ... here.
861 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
862 * sysdeps/s390/s390-64/configure.in: ... here
863 * sysdeps/s390/s390-64/elf/configure: Delete file.
864 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
865 * sysdeps/s390/s390-64/start.S: ... here.
866 * sysdeps/s390/s390-64/elf/configure: Delete.
867
868 * configure.in: Remove support for elf directories in sysdeps.
869
870 * configure: Regenerated.
871 * sysdeps/i386/configure: Regenerated.
872 * sysdeps/powerpc/powerpc32/configure: Regenerated.
873 * sysdeps/powerpc/powerpc64/configure: Regenerated.
874 * sysdeps/s390/s390-32/configure: Regenerated.
875 * sysdeps/s390/s390-64/configure: Regenerated.
876 * sysdeps/sh/configure: Regenerated.
877 * sysdeps/sparc/configure: Regenerated.
878 * sysdeps/x86_64/configure: Regenerated.
879
a3f61311
AS
8802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
881
c876e002
AS
882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
883
a3f61311
AS
884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
885 denormal result into account.
886
ac4c54f0
RM
8872012-03-25 Roland McGrath <roland@hack.frob.com>
888
889 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
890 Reported by Allan McRae <allan@archlinux.org>.
891
6a9b9c02
JL
8922012-03-23 Jeff Law <law@redhat.com>
893
894 * nss/getnssent.c (__nss_getent): Fix typo.
895
4c42a0c1
DM
8962012-03-23 David S. Miller <davem@davemloft.net>
897
898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
899
1532c7ac
L
9002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
901
902 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
903 to pad to uint64_t for each field.
904 (dl_tls_index): Replace unsigned long with uint64_t.
905
3ff42526
PP
9062012-03-23 Daniel Jacobowitz <dmj@google.com>
907 Paul Pluzhnikov <ppluzhnikov@google.com>
908
909 [BZ #6528]
910 * grp/Makefile (otherlibs): Don't set it.
911 * inet/Makefile (otherlibs): Likewise.
912 * login/Makefile (otherlibs): Likewise.
913 * nscd/Makefile (otherlibs): Likewise.
914 * posix/Makefile (otherlibs): Likewise.
915 * pwd/Makefile (otherlibs): Likewise.
916 * rt/Makefile (otherlibs): Likewise.
917 * sunrpc/Makefile (otherlibs): Likewise.
918 * nss/Makefile (otherlibs): Likewise.
919 Add libnss_files to routines and static-only-routines.
920 ($(objpfx)getent): Remove rule.
921 * resolv/Makefile: Add libnss_dns and libresolv to routines and
922 static-only-routines.
923
7c69cd14
JM
9242012-03-22 Joseph Myers <joseph@codesourcery.com>
925
926 [BZ #13892]
927 * math/s_cexp.c: Include <float.h>.
928 (__cexp): Handle exp result overflowing not necessarily
929 overflowing both real and imaginary parts of result.
930 * math/s_cexpf.c: Likewise.
931 * math/s_cexpl.c: Likewise.
932 * math/libm-test.inc (cexp_test): Add more tests.
933 * sysdeps/i386/fpu/libm-test-ulps: Update.
934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935
81b035fe
L
9362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
937
938 * include/link.h (ELFW): New macro.
939 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
940 Replace ELF64_R_TYPE with ELFW(R_TYPE).
941
1da7940c
L
9422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
943
944 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
945 with uint64_t.
946
b749dbb9
L
9472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
948
949 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
950 declaration.
951 (struct La_x32_retval): Likewise.
952
2ff87f3f
L
9532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
954
955 * sysdeps/x86_64/preconfigure.in: New file.
956 * sysdeps/x86_64/preconfigure: New generated file.
957
c0df8e69
JM
9582012-03-22 Joseph Myers <joseph@codesourcery.com>
959
48e44791
JM
960 [BZ #13824]
961 * math/e_exp2l.c: Include <float.h>.
962 (__ieee754_exp2l): Handle overflow and underflow cases
963 separately. Only pass fractional part of argument to
964 __ieee754_expl.
965 * math/libm-test.inc (exp2_test): Add more tests.
966
c0df8e69
JM
967 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
968 negating x to take absolute value.
969 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
970 Likewise.
971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
973 Likewise.
974 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
975 computing low part if x was negated.
976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
977
c8e43ba7
L
9782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
979
980 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
981 la_x32_gnu_pltexit.
982 (pltexit): Cast int_retval to ptrdiff_t.
983 * elf/tst-auditmod3b.c: Likewise.
984 * elf/tst-auditmod4b.c: Likewise.
985 * elf/tst-auditmod5b.c: Likewise.
986 * elf/tst-auditmod6b.c: Likewise.
987 * elf/tst-auditmod6c.c: Likewise.
988 * elf/tst-auditmod7b.c: Likewise.
989
990 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
991 and x32_gnu_pltexit.
992
993 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
994 __ELF_NATIVE_CLASS.
995 (La_x32_regs): New macro.
996 (La_x32_retval): Likewise.
997 (la_x32_gnu_pltenter): New function prototype.
998 (la_x32_gnu_pltexit): Likewise.
999
7998fa78
AS
10002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1001
dcb33988
AS
1002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1003 exponent.
1004
233fc563
AS
1005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1006
7998fa78
AS
1007 * configure.in (libc_cv_cc_nofma): Check for option to disable
1008 generation of FMA instructions.
1009 * configure: Regenerate.
1010 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1011 * sysdeps/ieee754/dbl-64/Makefile: New file.
1012 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1013 Remove brandred-fma4.
1014 (CFLAGS-brandred-fma4.c): Remove.
1015 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1016 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1017 define.
1018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1019 define.
1020
8e95c99a
L
10212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1024 LLONG_MAX != LONG_MAX.
1025 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1026 (_fitoa_word): Likewise.
1027 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1028 LLONG_MAX != LONG_MAX.
1029 * stdio-common/_itowa.h: Include <_itoa.h>.
1030 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1031 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1032 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1033 only if not defined.
1034 (_ITOA_WORD_TYPE): Likewise.
1035 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1036 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1037
6f4db457
DM
10382012-03-21 David S. Miller <davem@davemloft.net>
1039
1040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1041
7785fe5a
L
10422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1045 of x86_64 when setting libc_cv_slibdir, libdir and
1046 libc_cv_localedir.
1047 * sysdeps/unix/sysv/linux/configure: Regenerated.
1048
4535cd55
JM
10492012-03-21 Joseph Myers <joseph@codesourcery.com>
1050
1051 * manual/lang.texi (Old Varargs): Remove section.
1052 (How Variadic): Update menu.
1053 (va_start): Do not mention varargs.h.
1054
17228132
TS
10552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1056 Joseph Myers <joseph@codesourcery.com>
1057
1058 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1059 link test.
1060 * configure: Regenerated.
1061
8149f976
TS
10622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1063
05f3d1f6
UD
1064 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1065 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1066 conformtest.pl
8149f976 1067
1a4ac776
JM
10682012-03-21 Joseph Myers <joseph@codesourcery.com>
1069
be22ce65
JM
1070 * NOTES: Remove.
1071 * Makefile (files-for-dist): Remove NOTES.
1072 (NOTES): Remove rule.
1073 * README: Don't refer to NOTES.
1074 * manual/creature.texi: Don't include macros.texi.
1075 * manual/intro.texi (creature.texi): Remove comment referring to
1076 NOTES.
1077
40b601fb
JM
1078 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1079 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1080 * configure: Regenerated.
1081 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1082 LIBC_TRY_CC_OPTION.
1083 (libc_cv_as_i686): Likewise.
1084 (libc_cv_cc_avx): Likewise.
1085 (libc_cv_cc_sse2avx): Likewise.
1086 (libc_cv_cc_fma4): Likewise.
1087 (libc_cv_cc_novzeroupper): Likewise.
1088 * sysdeps/i386/configure: Regenerated.
1089
1a4ac776
JM
1090 [BZ #13883]
1091 * sysdeps/i386/fpu/s_cexp.S: Remove.
1092 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1093 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1094 * math/libm-test.inc (cexp_test): Add more tests.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1097
a458e7fe
AM
10982012-03-21 Allan McRae <allan@archlinux.org>
1099
1100 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1101
0cb7efc5
JM
11022012-03-21 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #13871]
1105 * math/w_exp2.c: Do not include <float.h>.
1106 (o_threshold, u_threshold): Remove.
1107 (__exp2): Calculate result before checking finiteness and calling
1108 __kernel_standard.
1109 * math/w_exp2f.c: Likewise.
1110 * math/w_exp2l.c: Likewise.
1111 * math/libm-test.inc (exp2_test): Require overflow exception for
1112 1e6 input.
2460d3aa
JM
1113
1114 [BZ #3866]
1115 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1116 range of signed 64-bit integers before using fistpll. Remove
1117 checks for whether integers fit in mantissa bits.
1118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1119 the range of signed 32-bit integers before using fistpl. Remove
1120 checks for whether integers fit in mantissa bits.
1121 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1122 (__ieee754_powl): Test for y outside the range of signed 64-bit
1123 integers before using fistpll. Reduce 64-bit values to 63-bit
1124 ones as needed.
1125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1126 divide-by-zero is raised for zero to large negative powers.
1127 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1128 (__ieee754_powl): Test for y outside the range of signed 64-bit
1129 integers before using fistpll. Reduce 64-bit values to 63-bit
1130 ones as needed.
1131 * math/libm-test.inc (pow_test): Add more tests.
1132
eb96ffb0
L
11332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1136 <stdio-common/_itoa.h>.
1137 * debug/segfault.c: Likewise.
1138 * elf/dl-cache.c: Likewise.
1139 * elf/dl-minimal.c: Likewise.
1140 * elf/dl-misc.c: Likewise.
1141 * elf/dl-sysdep.c: Likewise.
1142 * elf/dl-version.c: Likewise.
1143 * elf/rtld.c: Likewise.
1144 * hurd/hurdsock.c: Likewise.
1145 * hurd/lookup-retry.c: Likewise.
1146 * malloc/malloc.c: Likewise.
1147 * malloc/mtrace.c: Likewise.
1148 * nscd/nscd_getgr_r.c: Likewise.
1149 * nscd/nscd_getpw_r.c: Likewise.
1150 * nscd/nscd_getserv_r.c: Likewise.
1151 * posix/getopt_init.c: Likewise.
1152 * posix/wordexp.c: Likewise.
1153 * stdio-common/_itoa.c: Likewise.
1154 * stdio-common/printf_fphex.c: Likewise.
1155 * stdio-common/vfprintf.c: Likewise.
1156 * string/_strerror.c: Likewise.
1157 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1158 * sysdeps/i386/i686/hp-timing.h: Likewise.
1159 * sysdeps/mach/_strerror.c: Likewise.
1160 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1161 * sysdeps/mach/hurd/sethostid.c: Likewise.
1162 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1163 * sysdeps/mach/xpg-strerror.c: Likewise.
1164 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1166 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1167 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1168 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1169 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1170 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1171 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1172 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1173 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1174 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1175 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1177 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1178 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1179 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1180 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1182 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1183 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1184 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1185
1186 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1187
1188 * stdio-common/_itoa.h: Moved to ...
1189 * sysdeps/generic/_itoa.h: Here.
1190
1191 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1192
1193 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1194 instead of "_itoa.h" and "_itowa.h".
1195 * stdio-common/vfprintf.: Likewise.
1196
d1af992d
L
11972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1200 <bits/wordsize.h>.
1201 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1202 (__signbit): Likwise.
1203 (llrintf): Likwise.
1204 (llrint): Likwise.
1205
114883e0
L
12062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1209 __WORDSIZE != 64.
1210
c135cc1b
JM
12112012-03-20 Joseph Myers <joseph@codesourcery.com>
1212
1213 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1214 OVERFLOW_EXCEPTION_OK.
1215 * math/libm-test.inc ("Philosophy"): Update comment about
1216 exception testing.
1217 (OVERFLOW_EXCEPTION): Define.
1218 (OVERFLOW_EXCEPTION_OK): Likewise.
1219 (INVALID_EXCEPTION_OK): Renumber.
1220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1221 (IGNORE_ZERO_INF_SIGN): Likewise.
1222 (test_exceptions): Handle FE_OVERFLOW.
1223 (exp10_test): Expect overflow exceptions.
1224 (exp2_test): Likewise.
1225 (expm1_test): Likewise.
1226 (nextafter_test): Likewise.
1227 (pow_test): Likewise.
1228 (scalbn_test): Likewise.
1229 (scalbln_test): Likewise.
1230
95443d88
L
12312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1232
1233 * sysdeps/x86_64/bits/atomic.h
1234 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1235 64bit integer.
1236 (atomic_exchange_acq): Likewise.
1237 (__arch_exchange_and_add_body): Likewise.
1238 (__arch_add_body): Likewise.
1239 (atomic_add_negative): Likewise.
1240 (atomic_add_zero): Likewise.
1241
490df6c4
L
12422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1243
c2722551 1244 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1245 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1246
5e52b189
L
12472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1250 Check __x86_64__ instead of __WORDSIZE.
1251
a9879d4c
L
12522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1255
5df98260
DM
12562012-03-19 David S. Miller <davem@davemloft.net>
1257
e1497744
DM
1258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1259
5df98260
DM
1260 * sysdeps/sparc/fpu/fenv_private.h: New file.
1261 * sysdeps/sparc/fpu/math_private.h: Use it.
1262 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1263 Remove.
1264 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1265 (libc_feholdexcept_setroundl): Remove.
1266 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1267 Remove.
1268 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1269 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1270
b4c35121
L
12712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1272
1273 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1274 int64_t instead of long int.
1275 (INSERT_WORDS64): Likwise.
1276
56965fd7
L
12772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1278
1279 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1280 _Unwind_GetCFA return to _Unwind_Ptr first.
1281
83d1aec8
JM
12822012-03-19 Joseph Myers <joseph@codesourcery.com>
1283
1897ad44
JM
1284 [BZ #13629]
1285 * math/s_clog.c: Include <float.h>.
1286 (__clog): Scale large or subnormal inputs.
1287 * math/s_clogf.c: Likewise.
1288 * math/s_clogl.c: Likewise.
1289 * math/s_clog10.c: Include <float.h>.
1290 (M_LOG10_2): Define.
1291 (__clog10): Scale large or subnormal inputs.
1292 * math/s_clog10f.c: Likewise.
1293 * math/s_clog10l.c: Likewise.
1294 * math/libm-test.inc (clog_test): Add more tests.
1295 (clog10_test): Likewise.
1296 * sysdeps/i386/fpu/libm-test-ulps: Update.
1297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1298
7726d6a9
JM
1299 [BZ #11451]
1300 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1301 x and y.
1302 * math/libm-test.inc (atan2_test): Add another test.
1303
83d1aec8
JM
1304 * Makerules (common-objdir-compile): Remove.
1305 * sysdeps/unix/Makefile (config-generated): Do not add
1306 $(unix-generated) to variable.
1307 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1308 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1309 Remove rule.
1310 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1311 Likewise.
1312 [generic bits/local_lim.h] (before-compile): Do not append to
1313 variable.
1314 [generic bits/local_lim.h] (common-generated): Likewise.
1315 [generic sys/param.h] (before-compile): Do not append to variable.
1316 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1317 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1318 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1319 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1320 include.
1321 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1322 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1323 [generic sys/param.h] ($(addprefix
1324 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1325 [generic sys/param.h] (common-generated): Do not append to
1326 variable.
1327 [generic sys/param.h] (sysdep_headers): Likewise.
1328 [generic bits/errno.h] (before-compile): Do not append to
1329 variable.
1330 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1331 rule.
1332 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1333 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1334 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1335 [generic bits/errno.h] (common-generated): Do not append to
1336 variable.
1337 [generic bits/ioctls.h] (before-compile): Do not append to
1338 variable.
1339 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1340 rule.
1341 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1342 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1343 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1344 rule.
1345 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1346 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1347 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1348 [generic bits/ioctls.h] (common-generated): Do not append to
1349 variable.
1350 [generic sys/syscall.h] (syscall.h): Remove variable.
1351 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1352 rule.
1353 [generic sys/syscall.h] (before-compile): Do not append to
1354 variable.
1355 [generic sys/syscall.h] (common-generated): Likewise.
1356 * sysdeps/unix/errnos-tmpl.c: Remove file.
1357 * sysdeps/unix/errnos.awk: Likewise.
1358 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1359 * sysdeps/unix/ioctls.awk: Likewise.
1360 * sysdeps/unix/mk-local_lim.c: Likewise.
1361 * sysdeps/unix/snarf-ioctls: Likewise.
1362
4851a949
RH
13632012-03-19 Richard Henderson <rth@twiddle.net>
1364
bd37f2ee
RH
1365 * sysdeps/i386/fpu/fenv_private.h: New file.
1366 * sysdeps/i386/fpu/math_private.h: Use it.
1367 (math_opt_barrier, math_force_eval): Remove.
1368 (libc_feholdexcept_setround_53bit): Remove.
1369 (libc_feupdateenv_53bit): Remove.
1370 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1371 (math_opt_barrier, math_force_eval): Remove.
1372 (libc_feholdexcept): Remove.
1373 (libc_feholdexcept_setround): Remove.
1374 (libc_fetestexcept, libc_fesetenv): Remove.
1375 (libc_feupdateenv_test): Remove.
1376 (libc_feupdateenv, libc_feholdsetround): Remove.
1377 (libc_feresetround): Remove.
1378
d0adc922
RH
1379 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1380 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1381
0fe0f1f8
RH
1382 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1383 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1384 (libc_feupdateenv_testl): New.
1385 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1386 (libc_feupdateenv_testf): New.
1387 (libc_feupdateenv): Use libc_feupdateenv_test.
1388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1389 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1390
eb92c487
RH
1391 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1392 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1393 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1394 (libc_feresetround_noex): New.
1395 (libc_feresetround_noexf): New.
1396 (libc_feresetround_noexl): New.
1397 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1398 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1399 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1400 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1401 SET_RESTORE_ROUND.
1402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1403 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1404 (__cos): Likewise.
1405 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1406 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1407 SET_RESTORE_ROUND_NOEX.
1408 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1409 SET_RESTORE_ROUND_NOEXF.
1410 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1411 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1412 (libc_feholdsetroundf): New.
1413 (libc_feresetround, libc_feresetroundf): New.
1414
7d2e8012
RH
1415 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1416 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1417 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1418
b4dabbb4
RH
1419 * sysdeps/generic/math_private.h: Include <fenv.h>.
1420 (default_libc_feholdexcept): New.
1421 (default_libc_feholdexcept_setround): New.
1422 (default_libc_fesetenv, default_libc_feupdateenv): New.
1423 (libc_feholdexcept): Only define if undefined.
1424 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1425 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1426 (libc_feholdexcept_setroundl): Likewise.
1427 (libc_feholdexcept_setround_53bit): Likewise.
1428 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1429 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1430 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1431 (libc_feupdateenv_53bit): Likewise.
1432 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1433 (libc_feholdexcept): Convert from macro to inline function.
1434 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1435 (libc_fesetenv, libc_feupdateenv): Likewise.
1436
4851a949
RH
1437 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1438 not previously defined.
1439 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1440 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1441 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1442 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1443 * sysdeps/ieee754/flt-32/math_private.h: New file.
1444 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1445 math_private.h below SET_FLOAT_WORD.
1446 (__isnan, __isinf_ns, __finite): Remove.
1447 (__isnanf, __isinf_nsf, __finitef): Remove.
1448
e79d442e
AS
14492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1450
1451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1452
90b80344
DM
14532012-03-17 David S. Miller <davem@davemloft.net>
1454
1455 [BZ #6471]
1456 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1457 for 2.16.
1458
edc21804
DM
14592012-03-16 David S. Miller <davem@davemloft.net>
1460
77e927af
DM
1461 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1462 warnings.
1463
374976dd
DM
1464 [BZ #6471]
1465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1466 properly.
1467 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1468 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1469 sysdep_routines when subdir is sysvipc.
1470 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1471 __getshmlba helper.
1472
edc21804
DM
1473 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1474
473c3ef3
L
14752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1478 [__LP64__].
1479
eb0f39b6
L
14802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1483 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1484 (__lround): Renamed to ...
1485 (__llround): This. Replace long int with long long int.
1486 Define lround functions as aliases of llround functions.
1487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1488
6b6cd74b
L
14892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1492 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1493 adresses to uintptr_t. Replace "long int" and "unsigned long
1494 int" with "greg_t" on va_arg.
1495
f1a77b01
L
14962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1497
1498 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1499 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1500
1501 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1502 Move e_machine check before EI_CLASS check. Handle x32
1503 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1504 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1505 SKIP_EM_IA_64 and include
1506 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1507
1508 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1509 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1510 (add_system_dir): New macro.
1511
1512 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1513 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1514
11b90b9f
JM
15152012-03-16 Joseph Myers <joseph@codesourcery.com>
1516
c36e1d23
JM
1517 [BZ #2551]
1518 [BZ #2552]
1519 [BZ #2553]
1520 [BZ #2554]
1521 [BZ #2562]
1522 [BZ #2563]
1523 [BZ #2565]
1524 [BZ #2566]
1525 [BZ #2576]
1526 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1527 (y0): Likewise.
1528 * math/w_j0f.c (j0f): Likewise.
1529 (y0f): Likewise.
1530 * math/w_j0l.c (__j0l): Likewise.
1531 (__y0l): Likewise.
1532 * math/w_j1.c (j1): Likewise.
1533 (y1): Likewise.
1534 * math/w_j1f.c (j1f): Likewise.
1535 (y1f): Likewise.
1536 * math/w_j1l.c (__j1l): Likewise.
1537 (__y1l): Likewise.
1538 * math/w_jn.c (jn): Likewise.
1539 (yn): Likewise.
1540 * math/w_jnf.c (jnf): Likewise.
1541 (ynf): Likewise.
1542 * math/w_jnl.c (__jnl): Likewise.
1543 (__ynl): Likewise.
1544 * math/libm-test.inc (j0_test): Add more tests.
1545 (j1_test): Likewise.
1546 (jn_test): Likewise. Add trailing semicolon to existing test.
1547 (y0_test): Likewise.
1548 (y1_test): Likewise.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551
11b90b9f
JM
1552 [BZ #13851]
1553 [BZ #13854]
1554 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1555 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1556 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1558 (__tanl): Set errno for infinite argument.
1559 * sysdeps/i386/fpu/mptan.c: Remove.
1560 * sysdeps/i386/fpu/s_tan.S: Likewise.
1561 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1562 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1563 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1564 * math/libm-test.inc (tan_test): Add more tests and enable more
1565 tests for double and long double.
1566 * sysdeps/i386/fpu/libm-test-ulps: Update.
1567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1568
6a1bd2a1
JK
15692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1570
1571 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1572 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1573
10a803e0
RM
15742012-03-16 Roland McGrath <roland@hack.frob.com>
1575
1576 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1577 * configure.in: Use it for both main tree and add-ons.
1578 * configure: Regenerated.
1579
f196c7f7
L
15802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1581
1582 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1583
8848d99d
JM
15842012-03-16 Joseph Myers <joseph@codesourcery.com>
1585
96cbe7f4
JM
1586 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1587 in comment.
1588
8848d99d
JM
1589 [BZ #13851]
1590 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1591 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1595 infinite argument.
1596 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1598 != 0 for prec == 2.
1599 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1600 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1601 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1602 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1603 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1604 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1605 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1606 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1607 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1608 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1609 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1610 * math/libm-test.inc (cos_test): Add more tests and enable more
1611 tests for long double.
1612 (sin_test): Likewise.
1613 (sincos_test): Likewise.
1614 * sysdeps/i386/fpu/libm-test-ulps: Update.
1615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1616
dd7f4703
DM
16172012-03-16 David S. Miller <davem@davemloft.net>
1618
1619 * sysdeps/sparc/fpu/math_private.h: New file.
1620
006f1daa
DM
16212012-03-15 David S. Miller <davem@davemloft.net>
1622
c0c83bc8
DM
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1624 file.
e6a62e18 1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1627 file.
e6a62e18
DM
1628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1634 sysdep routines.
1635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1636
88cb87d9
DM
1637 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1638 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1639
006f1daa 1640 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1642 sparc-ifunc.h
006f1daa 1643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1645 Likewise.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1647 Likewise.
006f1daa
DM
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1652 Likewise.
006f1daa
DM
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1658 Likewise.
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1660 Likewise.
006f1daa
DM
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1685
11e0098e
AS
16862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1687
1688 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1689 scaling.
1690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1691
e85b09d0
AJ
16922012-03-15 Andreas Jaeger <aj@suse.de>
1693
1694 [BZ #13852]
1695 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1696 ieee754/flt-32 implementation for sin, cos and sincos.
1697 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1698 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1699 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1700 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1701 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1702 ieee754/flt-32 implementation for tan.
1703
1704 * math/libm-test.inc (cos_test): Enable some large input tests for
1705 float as well
1706 (sin_test): Likewise.
1707 (sincos_test): Likewise.
1708 (tan_test): Add tests for large input.
1709
1710 * sysdeps/i386/fpu/libm-test-ulps: Update.
1711
81c64153
AJ
17122012-03-15 Andreas Jaeger <aj@suse.de>
1713
1714 [BZ #13658]
1715 * math/libm-test.inc (cos_test): Add more test cases.
1716 (sin_test): Likewise.
1717 (sincos_test): Likewise.
1718
7bbfa5c6
AJ
17192012-03-15 Andreas Jaeger <aj@suse.de>
1720
1721 [BZ #13837]
1722 * math/libm-test.inc (cos_test): Add a test case for large input
1723 value.
1724 (sin_test): Likewise.
1725 (sincos_test): Likewise.
1726
17272012-03-15 Andreas Jaeger <aj@suse.de>,
1728 Joseph Myers <joseph@codesourcery.com>
1729
1730 [BZ #13658]
0671f479 1731 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1732 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1733 * sysdeps/i386/fpu/branred.c: Likewise.
1734 * sysdeps/i386/fpu/dosincos.c: Likewise.
1735 * sysdeps/i386/fpu/mpa.c: Likewise.
1736 * sysdeps/i386/fpu/s_cos.S: Likewise.
1737 * sysdeps/i386/fpu/s_sin.S: Likewise.
1738 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1739 * sysdeps/i386/fpu/sincos32.c: Likewise.
1740
1741 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1742 Define.
1743 (libc_feupdateenv_53bit): Define.
1744 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1745 Define.
1746 (libc_feupdateenv_53bit): Define.
1747
1748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1749 53 bit (without extend i386 double precision).
1750
1751 * math/libm-test.inc (sincos_test): Add tests for large input.
1752 (sin): Likewise.
1753 (cos): Likewise.
1754
1755 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1756
9cad04ea
AS
17572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1758
1759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1760
f7062b9a
DM
17612012-03-15 David S. Miller <davem@davemloft.net>
1762
1763 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1764 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1765 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1766 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1779 file.
f7062b9a 1780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1782 file.
f7062b9a 1783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1785 file.
f7062b9a 1786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1788 file.
f7062b9a
DM
1789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1791 fmin/fmax sysdep routines.
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1793
7bd951ff
DM
17942012-03-14 David S. Miller <davem@davemloft.net>
1795
559398ab
DM
1796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1825 routines.
1826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1827 file.
559398ab 1828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1830 file.
559398ab 1831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1833 file.
559398ab 1834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1836 file.
559398ab 1837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1839 file.
559398ab 1840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1842 file.
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1844 file.
1845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1846 file.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1848 file.
1849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1850 New file.
1851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1852 file.
1853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1854 file.
559398ab 1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1857 file.
559398ab 1858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1860 file.
559398ab 1861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1863 file.
559398ab 1864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1866 VIS3 routines.
559398ab
DM
1867
1868 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1869 New file.
1870
5a1c1e32
DM
1871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1872
eae47a36
DM
1873 * sysdeps/sparc/configure.in: New file.
1874 * sysdeps/sparc/configure: Generate.
1875 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1876 * configure: Regenerate.
1877 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1878 * config.make.in (have-as-vis3): New.
1879 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1880 available use -Av9d instead of -Av9a.
1881 * sysdeps/sparc/sparc64/Makefile: Likewise.
1882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1884 New file.
1885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1886 file.
1887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1888 New file.
1889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1890 file.
eae47a36
DM
1891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1892 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1893 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1894 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1896
c0c83bc8
DM
1897 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1898 fzeros/fnegs to load 0x80000000 into a float register instead of
1899 using the stack.
7bd951ff
DM
1900 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1901
bd951ccb
JM
19022012-03-14 Joseph Myers <joseph@codesourcery.com>
1903
1904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1905 bits/syscall.h.
1906 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1907 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1908 ($(inst_includedir)/bits/syscall.h): Remove rule.
1909 ($(objpfx)bits/syscall.d): Include instead of
1910 $(objpfx)syscall-list.d.
1911 (generated): Change syscall-list.h and syscall-list.d to
1912 bits/syscall.h and bits/syscall.d.
1913
bb4e6db2
RM
19142012-03-14 Roland McGrath <roland@hack.frob.com>
1915
1916 [BZ #13846]
1917 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1918
aa4a2ae1
JM
19192012-03-14 Joseph Myers <joseph@codesourcery.com>
1920
e456826d
JM
1921 [BZ #13841]
1922 * math/s_csqrt.c: Include <float.h>.
1923 (__csqrt): Scale large or subnormal inputs.
1924 * math/s_csqrtf.c: Likewise.
1925 * math/s_csqrtl.c: Likewise.
1926 * math/libm-test.inc (csqrt_test): Add more tests.
1927 * sysdeps/i386/fpu/libm-test-ulps: Update.
1928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1929
aa4a2ae1
JM
1930 [BZ #13840]
1931 * math/libm-test.inc (hypot_test): Add more tests.
1932
7c10fd35
DM
19332012-03-13 David S. Miller <davem@davemloft.net>
1934
1935 [BZ #13840]
1936 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1937 double-precision for the calculation instead of scaling.
1938
f453b98b
JM
19392012-03-13 Joseph Myers <joseph@codesourcery.com>
1940
1941 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1942 manipulate bits before adding and subtracting TWO52[sx].
1943 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1944 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1945 Likewise.
1946 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1947
09a3453f
DM
19482012-03-13 David S. Miller <davem@davemloft.net>
1949
8e59da90
DM
1950 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1951 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1953 rtld-global-offsets.h
1954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1955
2a8ab7f2
DM
1956 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1957 large parameters.
1958
10f62770
DM
1959 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1960
5f0bdb18
DM
1961 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1962 'err' in the ifdef scope in which it is actually used.
1963
09a3453f
DM
1964 * nss/nss_db/db-init.c: Include string.h
1965
b4b2eb5e
DM
19662012-03-12 David S. Miller <davem@davemloft.net>
1967
98bb2f1c
DM
1968 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1969 masking out of the most significant byte of random value used.
1970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1971 Fix coding style in previous change.
1972
b4b2eb5e
DM
1973 * sysdeps/unix/sysv/linux/kernel-features.h
1974 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1975 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1976 expression.
1977 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1978 later.
1979
6e226b09
DM
19802012-03-11 David S. Miller <davem@davemloft.net>
1981
a1bcbd40
DM
1982 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1983 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1984 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1985 for 'resultvar' otherwise things get truncated on 64-bit.
1986
cb9d6174
DM
1987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1988 Fix masking out of the most significant byte of random value used.
1989
6e226b09
DM
1990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1991
058c132d
AS
19922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1993
1994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1995
2d2cd515
DM
19962012-03-09 David S. Miller <davem@davemloft.net>
1997
1998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1999 variables with appropriate CPP guards.
2000 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2001 frame pointer, not the stack pointer. Correct layout comments. Fix test
2002 on resulting framesize and the management of the outregs buffer for pltexit.
2003 Preserve floating point return values across _dl_call_pltexit call.
2004 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2005 framesize and the management of the outregs buffer for pltexit.
2006 Preserve floating point return values across _dl_call_pltexit
2007 call.
2008 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2009 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2010 (print_exit): Fix format string for return register value.
2011
9a07f9d0
JM
20122012-03-10 Joseph Myers <joseph@codesourcery.com>
2013
2014 * sunrpc/Makefile (others): Add rpcgen.
2015 ($(objpfx)rpcgen): Remove special build rule and dependency on
2016 libc.
2017 * sunrpc/rpcgen.c: New file.
2018
547b5e30
PE
20192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2020
c524201a
PE
2021 [BZ #13673]
2022 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2023 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2024 * sysdeps/i386/crti.S: Likewise.
2025 * sysdeps/i386/crtn.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2027 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2028 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2030 * sysdeps/sh/crti.S: Likewise.
2031 * sysdeps/sh/crtn.S: Likewise.
2032 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2033
7b6235f2
PE
2034 [BZ #13673]
2035 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2036 with URL.
2037 * locale/programs/locfile-kw.gperf: Likewise.
2038 * locale/programs/charmap-kw.h: Regenerated.
2039 * locale/programs/locfile-kw.h: Likewise.
2040
547b5e30
PE
2041 [BZ #13673]
2042 * intl/plural.y: Replace FSF snail mail address with URL.
2043 * intl/plural.c: Regenerated.
2044
5f0a5dae
RH
20452012-03-09 Richard Henderson <rth@twiddle.net>
2046
2047 * include/math_private.h: Remove file.
2048 * math/math_private.h: Move file ...
2049 * sysdeps/generic/math_private.h: ... here.
2050
b8c03620
RH
2051 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2052 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2053 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2054
4e234f5d 2055 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2056 and <math_private.h>.
2057 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2058 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2059 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2060 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2061 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2065 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2069 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2071 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2072 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2074 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2075 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2099 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2100 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2101 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2103 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2104 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2105 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2106 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2107 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2108 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2109 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2110 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2111 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2112 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2113 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2115 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2116 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2120 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2121 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2124 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2125 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2126 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2128 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2137 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2138 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2139 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2140 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2143 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2144 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2145 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2148 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2149 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2150 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2151 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2152 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2153 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2154 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2155 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2156 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2157 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2158 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2159 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2160 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2162 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2164 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2165 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2166 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2167 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2168 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2169 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2170 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2171 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2172 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2173 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2174 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2175 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2176 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2177 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2178 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2179 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2180 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2181 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2183 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2184 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2185 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2186 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2187 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2188 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2189 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2190 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2191 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2192 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2193 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2194 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2195 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2196 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2197 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2198 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2199 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2200 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2201 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2205 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2206 * sysdeps/ieee754/k_standard.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2326 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2327 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2329 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2334 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2339 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2343 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2355 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2356 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2357 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2367 * sysdeps/ieee754/s_lib_version.c: Likewise.
2368 * sysdeps/ieee754/s_matherr.c: Likewise.
2369 * sysdeps/ieee754/s_signgam.c: Likewise.
2370 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2371 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2372 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2373 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2374 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2375 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2376 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2377 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2378 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2379 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2380 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2381 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2382 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2383 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2384 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2385 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2387 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2388 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2391
1991fa03
JM
23922012-03-09 Joseph Myers <joseph@codesourcery.com>
2393
2394 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2395 * sunrpc/rpc_main.c: Likewise.
2396 * sunrpc/rpc_svcout.c: Likewise.
2397
60d6f5a6
DM
23982012-03-09 David S. Miller <davem@davemloft.net>
2399
2400 * include/math_private.h: New file.
2401
4962050e
JM
24022012-03-09 Joseph Myers <joseph@codesourcery.com>
2403
02a6f887
JM
2404 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2405 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2406 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2407 from <bits/socket_type.h>.
2408 (enum __socket_type): Don't define here.
2409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2411 bits/socket_type.h.
2412
c6e013c1
JM
2413 [BZ #13566]
2414 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2415 checking __USE_GNU.
2416
4962050e
JM
2417 * Makerules ($(inst_includedir)/%.h): New rule.
2418 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2419 (install-others): Remove variable setting.
2420 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2421
38842f45
RH
24222012-03-08 Richard Henderson <rth@twiddle.net>
2423
67bb6da6
RH
2424 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2425 from macro to inline function; merge with the
2426 !__LIBC_INTERNAL_MATH_INLINES version.
2427 (__ieee754_sqrtf): Likewise.
2428
15194b4b
RH
2429 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2430 to inline function.
2431 (__rintf, __floor, __floorf): Likewise.
2432
64e21ede
RH
2433 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2434 macro to inline function.
2435 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2436
38842f45
RH
2437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2438 not <math/math_private.h>.
2439
c64bf5fe
DM
24402012-03-08 David S. Miller <davem@davemloft.net>
2441
2442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2443 copyright year.
2444 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2445
82d86f28
TS
24462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2447
2448 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2449 normalization.
2450 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2451 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2452
aea5d727
UD
24532012-03-08 Ulrich Drepper <drepper@gmail.com>
2454
2455 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2456 be defined individually, they must be defined as a block. Define
2457 S for printing a string instead of hidint the different by using a
2458 macro for adding the 'l'.
2459 * stdio-common/tst-fphex-wide.c: Adjust.
2460
70bca0a3
MP
24612012-03-07 Marek Polacek <polacek@redhat.com>
2462
2463 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2464
65b81130
MP
24652012-03-08 Marek Polacek <polacek@redhat.com>
2466
2467 [BZ #13806]
2468 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2469 * stdio-common/tst-fphex.c: Define a few macros to make the
2470 test reusable. Use them.
2471 * stdio-common/tst-fphex-wide.c: New file.
2472
07037eeb
JM
24732012-03-08 Joseph Myers <joseph@codesourcery.com>
2474
a7a93d50
JM
2475 [BZ #6911]
2476 * manual/macros.texi (gnusystems): New macro.
2477 (nongnusystems): Likewise.
2478 (gnulinuxhurdsystems): Likewise.
2479 (gnuhurdsystems): Likewise..
2480 (gnulinuxsystems): Likewise.
2481 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2482 variants of the GNU system, not "GNU system".
2483 * manual/conf.texi: Likewise.
2484 * manual/errno.texi: Likewise. Update example of errno macro
2485 expansion.
2486 * manual/filesys.texi: Likewise.
2487 (getumask): Document as specific to GNU/Hurd.
2488 * manual/install.texi: Likewise. Reword some references to
2489 GNU/Linux.
2490 * manual/intro.texi: Likewise.
2491 * manual/io.texi: Likewise.
2492 (File Name Portability): Detail which constraints are inapplicable
2493 to all GNU systems and which are only inapplicable to GNU/Hurd.
2494 * manual/job.texi: Likewise.
2495 * manual/llio.texi: Likewise.
2496 (O_NOCTTY): Document as present on GNU/Linux.
2497 * manual/maint.texi: Likewise.
2498 * manual/memory.texi: Likewise.
2499 * manual/pattern.texi: Likewise.
2500 * manual/pipe.texi: Likewise.
2501 * manual/process.texi: Likewise.
2502 * manual/resource.texi: Likewise.
2503 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2504 child on GNU/Hurd.
2505 * manual/setjmp.texi: Likewise.
2506 * manual/signal.texi: Likewise.
2507 * manual/startup.texi: Likewise.
2508 * manual/stdio.texi: Likewise.
2509 * manual/terminal.texi: Likewise.
2510 (ONLCR): Document as POSIX.
2511 (OXTABS): Document availability on GNU/Linux as XTABS.
2512 (ONOEOT): Document availability separately from other bits.
2513 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2514 * manual/time.texi: Likewise.
2515 * manual/users.texi: Likewise.
2516 * INSTALL: Regenerated.
2517 * sysdeps/gnu/errlist.c: Regenerated.
2518
07037eeb
JM
2519 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2520 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2521 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2522 puts.
2523 * configure: Regenerated.
2524
d1d3431a
JM
25252012-03-07 Joseph Myers <joseph@codesourcery.com>
2526
af6a1e37
JM
2527 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2528 default includes instead of AC_HEADER_CHECK.
2529 * sysdeps/i386/configure: Regenerated.
2530
d1d3431a
JM
2531 [BZ #10716]
2532 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2533 * math/s_cacoshf.c (__cacoshf): Likewise.
2534 * math/s_cacoshl.c (__cacoshl): Likewise.
2535 * math/s_casinh.c (__casinh): Set signs of result from argument.
2536 * math/s_casinhf.c (__casinhf): Likewise.
2537 * math/s_casinhl.c (__casinhl): Likewise.
2538 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2539 (casinh_test): Add more tests.
2540 * sysdeps/i386/fpu/libm-test-ulps: Update.
2541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2542
482ff4da
UD
25432012-03-07 Ulrich Drepper <drepper@gmail.com>
2544
872fda05
UD
2545 * po/zh_TW.po: Update from translation team.
2546
a4300c7a
UD
2547 * login/Makefile (distribute): Remove variable.
2548 * catgets/Makefile: Likewise.
2549 * mach/Makefile: Likewise.
2550 * malloc/Makefile: Likewise.
2551 * misc/Makefile: Likewise.
2552 * iconv/Makefile: Likewise.
2553 * nscd/Makefile: Likewise.
2554 * hurd/Makefile: Likewise.
2555 * manual/Makefile: Likewise.
2556 * locale/Makefile: Likewise.
2557 * intl/Makefile: Likewise.
2558 * conform/Makefile: Likewise.
2559 * nss/Makefile: Likewise.
2560 * time/Makefile: Likewise.
2561 * soft-fp/Makefile: Likewise.
2562 * dirent/Makefile: Likewise.
2563 * gmon/Makefile: Likewise.
2564 * po/Makefile: Likewise.
2565 * rt/Makefile: Likewise.
2566 * socket/Makefile: Likewise.
2567 * math/Makefile: Likewise.
2568 * signal/Makefile: Likewise.
2569 * debug/Makefile: Likewise.
2570 * elf/Makefile: Likewise.
2571 * timezone/Makefile: Likewise.
2572 * stdlib/Makefile: Likewise.
2573 * iconvdata/Makefile: Likewise.
2574 * sunrpc/Makefile: Likewise.
2575 * io/Makefile: Likewise.
2576 * argp/Makefile: Likewise.
2577 * inet/Makefile: Likewise.
2578 * hesiod/Makefile: Likewise.
2579 * grp/Makefile: Likewise.
2580 * csu/Makefile: Likewise.
2581 * wctype/Makefile: Likewise.
2582 * crypt/Makefile: Likewise.
2583 * libio/Makefile: Likewise.
2584 * string/Makefile: Likewise.
2585 * nis/Makefile: Likewise.
2586 * resolv/Makefile: Likewise.
2587 * stdio-common/Makefile: Likewise.
2588 * wcsmbs/Makefile: Likewise.
2589 * dlfcn/Makefile: Likewise.
2590 * posix/Makefile: Likewise.
2591
482ff4da
UD
2592 * timezone/Makefile: Don't install timezone files, just the programs
2593 and scripts.
2594
f72ed77d
UD
25952012-03-06 Ulrich Drepper <drepper@gmail.com>
2596
a000466f
UD
2597 * nss/databases.def: Add missing gshadow entry.
2598
f72ed77d
UD
2599 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2600
a53b7a4e
MP
26012012-03-06 Marek Polacek <polacek@redhat.com>
2602
2603 [BZ #13726]
2604 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2605 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2606 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2607 * stdio-common/tst-long-dbl-fphex.c: New file.
2608
e9258400
DM
26092012-03-06 David S. Miller <davem@davemloft.net>
2610
2611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2612 (set_obp_int): New function.
2613 (get_obp_int): New function.
2614 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2616 Avoid unused variable warnings on 'val' and use builtin_expect.
2617 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2618 __builtin_expect.
e9258400
DM
2619 (INLINE_CLONE_SYSCALL): Likewise.
2620
3bd2c723
DM
26212012-03-05 David S. Miller <davem@davemloft.net>
2622
2623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2624
bbb78d03
AS
26252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2626
884c5db4
AS
2627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2628
bbb78d03
AS
2629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2630 only for |x| >= 40.
2631 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2632
1c9f702a 26332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2634
2635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2636 Replace gettimeofday with __vdso_gettimeofday.
2637
7be16f82
RM
2638 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2639 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2640 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2641
2642 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2643 time with __vdso_time.
2644
ed58a00f
JM
26452012-03-05 Joseph Myers <joseph@codesourcery.com>
2646
2647 * manual/lang.texi (size_t): Note types to which size_t may be
2648 equivalent with the GNU C Library, but do not describe when
2649 differences between them are significant.
2650
30ee4ced
AJ
26512012-03-05 Andreas Jaeger <aj@suse.de>
2652
2653 * sysdeps/i386/fpu/libm-test-ulps: Update.
2654
b7cd39e8
JM
26552012-03-05 Joseph Myers <joseph@codesourcery.com>
2656
2657 [BZ #3976]
2658 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2659 (__ieee754_pow): Save and restore rounding mode and use
2660 round-to-nearest for main computations.
2661 * math/libm-test.inc (pow_test_tonearest): New function.
2662 (pow_test_towardzero): Likewise.
2663 (pow_test_downward): Likewise.
2664 (pow_test_upward): Likewise.
2665 (main): Call the new functions.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update.
2667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2668
2669 [BZ #3976]
2670 * math/libm-test.inc (cosh_test_tonearest): New function.
2671 (cosh_test_towardzero): Likewise.
2672 (cosh_test_downward): Likewise.
2673 (cosh_test_upward): Likewise.
2674 (sinh_test_tonearest): Likewise.
2675 (sinh_test_towardzero): Likewise.
2676 (sinh_test_downward): Likewise.
2677 (sinh_test_upward): Likewise.
2678 (main): Call the new functions.
2679 * sysdeps/i386/fpu/libm-test-ulps: Update.
2680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2681
6c6a98c9
TV
26822012-03-05 Tom de Vries <tom@codesourcery.com>
2683
2684 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2685 default stack guard is set in last bytes.
2686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2687
21bb2d2e 26882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2689
21bb2d2e 2690 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2691
21bb2d2e
AJ
2692 [BZ #13656]
2693 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2694 possibly allocate from heap instead of stack.
2695 * stdio-common/bug-vfprintf-nargs.c: New file.
2696 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2697
c6922934
AS
26982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2699
2700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2701
bc957d53
MP
27022012-03-03 Marek Polacek <polacek@redhat.com>
2703
2704 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2705 * math/math_private.h: Likewise.
2706 * stdlib/tst-strtod.c: Likewise.
2707 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2708 * sysdeps/x86_64/bits/atomic.h: Likewise.
2709
6358490d
DM
27102012-03-02 David S. Miller <davem@davemloft.net>
2711
2712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2719 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2720
01ae168d
RM
27212012-03-02 Roland McGrath <roland@hack.frob.com>
2722
d9a17c07
RM
2723 [BZ #13792]
2724 * manual/examples/README: New file, says the example source files
2725 can be used under GPL>=2.
2726 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2727 line containing just "*/".
2728 * manual/examples/add.c: Add copyright header (GPL>=2).
2729 * manual/examples/argp-ex1.c: Likewise.
2730 * manual/examples/argp-ex2.c: Likewise.
2731 * manual/examples/argp-ex3.c: Likewise.
2732 * manual/examples/argp-ex4.c: Likewise.
2733 * manual/examples/atexit.c: Likewise.
2734 * manual/examples/db.c: Likewise.
2735 * manual/examples/dir.c: Likewise.
2736 * manual/examples/dir2.c: Likewise.
2737 * manual/examples/execinfo.c: Likewise.
2738 * manual/examples/filecli.c: Likewise.
2739 * manual/examples/filesrv.c: Likewise.
2740 * manual/examples/fmtmsgexpl.c: Likewise.
2741 * manual/examples/genpass.c: Likewise.
2742 * manual/examples/inetcli.c: Likewise.
2743 * manual/examples/inetsrv.c: Likewise.
2744 * manual/examples/isockad.c: Likewise.
2745 * manual/examples/longopt.c: Likewise.
2746 * manual/examples/memopen.c: Likewise.
2747 * manual/examples/memstrm.c: Likewise.
2748 * manual/examples/mkfsock.c: Likewise.
2749 * manual/examples/mkisock.c: Likewise.
2750 * manual/examples/mygetpass.c: Likewise.
2751 * manual/examples/pipe.c: Likewise.
2752 * manual/examples/popen.c: Likewise.
2753 * manual/examples/rprintf.c: Likewise.
2754 * manual/examples/search.c: Likewise.
2755 * manual/examples/select.c: Likewise.
2756 * manual/examples/setjmp.c: Likewise.
2757 * manual/examples/sigh1.c: Likewise.
2758 * manual/examples/sigusr.c: Likewise.
2759 * manual/examples/stpcpy.c: Likewise.
2760 * manual/examples/strdupa.c: Likewise.
2761 * manual/examples/strftim.c: Likewise.
2762 * manual/examples/strncat.c: Likewise.
2763 * manual/examples/subopt.c: Likewise.
2764 * manual/examples/swapcontext.c: Likewise.
2765 * manual/examples/termios.c: Likewise.
2766 * manual/examples/testopt.c: Likewise.
2767 * manual/examples/testpass.c: Likewise.
2768 * manual/examples/timeval_subtract.c: Likewise.
2769
01ae168d
RM
2770 [BZ #13792]
2771 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2772 function to ...
2773 * manual/timeval_subtract.c.texi: ... here, new file.
2774
49efa33d
DM
27752012-03-02 David S. Miller <davem@davemloft.net>
2776
2777 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2778
28afd92d
JM
27792012-03-02 Joseph Myers <joseph@codesourcery.com>
2780
804360ed
JM
2781 [BZ #3976]
2782 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2783 (__sin): Save and restore rounding mode and use round-to-nearest
2784 for all computations.
2785 (__cos): Save and restore rounding mode and use round-to-nearest
2786 for all computations.
2787 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2788 <fenv.h>.
2789 (tan): Save and restore rounding mode and use round-to-nearest for
2790 all computations.
2791 * math/libm-test.inc (cos_test_tonearest): New function.
2792 (cos_test_towardzero): Likewise.
2793 (cos_test_downward): Likewise.
2794 (cos_test_upward): Likewise.
2795 (sin_test_tonearest): Likewise.
2796 (sin_test_towardzero): Likewise.
2797 (sin_test_downward): Likewise.
2798 (sin_test_upward): Likewise.
2799 (tan_test_tonearest): Likewise.
2800 (tan_test_towardzero): Likewise.
2801 (tan_test_downward): Likewise.
2802 (tan_test_upward): Likewise.
2803 (main): Call the new functions.
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2806
a6d06d7b
JM
2807 [BZ #10135]
2808 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2809 small n, then large n, before computing and testing k+n.
2810 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2812 Likewise.
2813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2814 Likewise.
2815 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2816 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2822 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2823 * math/libm-test.inc (scalbn_test): Add more tests.
2824 (scalbln_test): Likewise.
2825
07e12bb3
JM
2826 * manual/filesys.texi (mode_t): Describe constraints on size and
2827 signedness, not exact equivalence to a particular type.
2828 (ino_t): Likewise.
2829 (ino64_t): Likewise.
2830 (dev_t): Likewise.
2831 (nlink_t): Likewise.
2832 (blkcnt_t): Likewise.
2833 (blkcnt64_t): Likewise.
2834 * manual/llio.texi (off_t): Likewise.
2835
28afd92d
JM
2836 [BZ #3976]
2837 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2838 (__ieee754_exp): Save and restore rounding mode and use
2839 round-to-nearest for all computations.
2840 * math/libm-test.inc (exp_test_tonearest): New function.
2841 (exp_test_towardzero): Likewise.
2842 (exp_test_downward): Likewise.
2843 (exp_test_upward): Likewise.
2844 (main): Call the new functions.
2845 * sysdeps/i386/fpu/libm-test-ulps: Update.
2846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2847
b1eeb65d
CD
28482012-03-01 Chris Demetriou <cgd@google.com>
2849
2850 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2851 have predictable order.
2852
53362a4b
DM
28532012-03-01 David S. Miller <davem@davemloft.net>
2854
3c969083
DM
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2856
759707de
DM
2857 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2858 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2859 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2860 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2861
dfdb8ff2
DM
2862 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2863 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2864 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2866 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2868 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2869 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2870 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2871
ead89f96
DM
2872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2873
7f66bd07
DM
2874 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2875 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2876 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2877
53362a4b
DM
2878 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2880 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2881 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2882 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2884 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2886 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2887 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2888 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2894 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2895 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2896 * sysdeps/sparc/elf/configure: Regenerated.
2897
7b1902cb
JM
28982012-03-01 Joseph Myers <joseph@codesourcery.com>
2899
bec039bc
JM
2900 * configure.in (AS, LD): Require binutils 2.20 or later.
2901 * configure: Regenerated.
2902 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2903 as required minimum version.
2904 * INSTALL: Regenerated.
2905
7b1902cb
JM
2906 [BZ #2541]
2907 [BZ #4108]
2908 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2909 before squaring exponent.
2910 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2911 bottom long double and 27 bits of top long double before squaring
2912 exponent.
2913 * math/libm-test.inc (erfc_test): Add more tests.
2914 * sysdeps/i386/fpu/libm-test-ulps: Update.
2915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2917
f775c276
KT
29182012-03-01 Kai Tietz <ktietz@redhat.com>
2919
2920 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2921 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2922 containing bit-fields.
2923 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2924 * soft-fp/single.h (_FP_UNION_S): Likewise.
2925 * soft-fp/double.h (_FP_UNION_D): Likewise.
2926
5b8a4d4a
JM
29272012-02-29 Joseph Myers <joseph@codesourcery.com>
2928
0bab47b6
JM
2929 [BZ #13786]
2930 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2931 not include ../strcmp.S.
2932 [USE_AS_STRNCASECMP_L]: Likewise.
2933 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2934 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2935 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2936 (__strncasecmp_l_ia32): Define as alias to
2937 __strncasecmp_l_nonascii.
2938
0fcad3e2
JM
2939 [BZ #5794]
2940 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2941 * sysdeps/i386/fpu/libm-test-ulps: Update.
2942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2943
5b8a4d4a
JM
2944 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2946
8fdceb2e
JL
29472012-02-29 Jeff Law <law@redhat.com>
2948
2949 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2950 out of bounds read.
2951
1f393a11
MP
29522012-02-29 Marek Polacek <polacek@redhat.com>
2953
2954 [BZ #13706]
2955 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2956 * elf/Makefile: Add rules to run tst-unused-dep.out.
2957
8847f037
DM
29582012-02-28 David S. Miller <davem@davemloft.net>
2959
2960 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2961 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2964 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2965 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2966
169d7f11
JM
29672012-02-29 Joseph Myers <joseph@codesourcery.com>
2968
2969 * math/libm-test.inc (llround_test): Move one test from
2970 lround_test. Use TEST_f_L in moved test.
2971 (lround_test): Move misplaced test to llround_test. Add testcase
2972 from bug 2561.
2973
39adf059
UD
29742012-02-28 Ulrich Drepper <drepper@gmail.com>
2975
2976 * sysdeps/x86_64/fpu/e_expf.S: New file.
2977 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2978
71b5d1c5
SB
29792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2980
2981 [BZ #13637]
2982 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2983 of remain_len that may cause incomplete multi-byte character and
2984 false match.
2985 * posix/bug-regex33.c: New file.
2986 * posix/Makefile (tests): Add bug-regex33.
2987
1f77f049
JM
29882012-02-28 Joseph Myers <joseph@codesourcery.com>
2989
2990 * manual/macros.texi: New file.
2991 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2992 * manual/libc.texinfo: Include macros.texi.
2993 * manual/creatute.texi: Likewise.
2994 * manual/install.texi: Likewise.
2995 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2996 @glibcadj{} in references to the GNU C Library.
2997 * manual/charset.texi: Likewise.
2998 * manual/conf.texi: Likewise.
2999 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3000 when not using those macros.
3001 * manual/creature.texi: Likewise.
3002 * manual/crypt.texi: Likewise.
3003 * manual/errno.texi: Likewise.
3004 * manual/filesys.texi: Likewise.
3005 * manual/header.texi: Likewise.
3006 * manual/install.texi: Likewise.
3007 * manual/intro.texi: Likewise.
3008 * manual/io.texi: Likewise.
3009 * manual/job.texi: Likewise.
3010 * manual/lang.texi: Likewise.
3011 * manual/libc.texiinfo: Likewise.
3012 * manual/llio.texi: Likewise.
3013 * manual/locale.texi: Likewise.
3014 * manual/maint.texi: Likewise.
3015 * manual/math.texi: Likewise.
3016 * manual/memory.texi: Likewise.
3017 * manual/message.texi: Likewise.
3018 * manual/nss.texi: Likewise.
3019 * manual/pattern.texi: Likewise.
3020 * manual/process.texi: Likewise.
3021 * manual/resource.texi: Likewise.
3022 * manual/search.texi: Likewise.
3023 * manual/setjmp.texi: Likewise.
3024 * manual/signal.texi: Likewise.
3025 * manual/socket.texi: Likewise.
3026 * manual/startup.texi: Likewise.
3027 * manual/stdio.texi: Likewise.
3028 * manual/string.texi: Likewise.
3029 * manual/sysinfo.texi: Likewise.
3030 * manual/syslog.texi: Likewise.
3031 * manual/terminal.texi: Likewise.
3032 * manual/time.texi: Likewise.
3033 * manual/users.texi: Likewise.
3034 * INSTALL: Regenerated.
3035 * NOTES: Regenerated.
d40c5d54 3036 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3037
450bf206
AS
30382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3039
3040 * include/dirent.h: Include <dirstream.h> before
3041 <dirent/dirent.h>.
3042
741a235b
DM
30432012-02-28 David S. Miller <davem@davemloft.net>
3044
3045 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3046 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3047 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3048 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3049
d6b5aa58
DM
30502012-02-27 David S. Miller <davem@davemloft.net>
3051
1aff59a3
DM
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3054 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3055 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3056
d6b5aa58
DM
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3058 frame pointer instead of stack pointer relative arg slot.
3059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3060 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3061 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3062
433f48bf
CD
30632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3064
3065 [BZ #3992]
3066 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3067
d674b76d
DM
30682012-02-27 David S. Miller <davem@davemloft.net>
3069
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3076 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3077 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3078
0e7727f7
JM
30792012-02-27 Joseph Myers <joseph@codesourcery.com>
3080
3081 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3082 later. Allow versions 5-9.
43be4ca2 3083 * configure: Regenerated.
0e7727f7
JM
3084 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3085 required minimum version and 4.6 as recommended version. Do not
3086 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3087 * INSTALL: Regenerated.
0e7727f7 3088
a78bc654
DM
30892012-02-27 David S. Miller <davem@davemloft.net>
3090
428d5830
DM
3091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3095 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3096 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3097 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3098 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3099
a78bc654
DM
3100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3101 manipulate bits before adding and subtracting TWO112[sx].
3102 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3103
4579f81c
RM
31042012-02-27 Roland McGrath <roland@hack.frob.com>
3105
36c8acb4
RM
3106 [BZ #13775]
3107 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3108 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3109 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3110 being in POSIX, because they are in 1003.1-2008.
3111
84ad622b
RM
3112 * rt/tst-aio.c: Include <fcntl.h>.
3113 * rt/tst-aio7.c: Likewise.
3114 * rt/tst-aio64.c: Likewise.
3115
4579f81c
RM
3116 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3117
abd923db
JM
31182012-02-27 Joseph Myers <joseph@codesourcery.com>
3119
3120 * manual/install.texi (--with-headers): Describe headers as
3121 interface headers, not private headers.
3122 (Specific advice for GNU/Linux systems): Describe use of headers
3123 from "make headers_install", not private headers from older
3124 kernels.
43be4ca2 3125 * INSTALL: Regenerated.
abd923db
JM
3126 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3127 Change to 2.6.19.
3128 * sysdeps/unix/sysv/linux/configure: Regenerated.
3129
6664049b
JM
3130 * manual/llio.texi (fclean): Remove documentation.
3131
bb8b6697
JM
3132 * manual/Makefile (libc-texi-generated): New variable. Include
3133 version.texi.
3134 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3135 $(libc-texi-generated), not duplicated list of files.
3136 (version.texi, stamp-version): New rules.
3137 (realclean): Remove $(libc-texi-generated), not individual files
3138 from that list. Do not remove dir-add.texinfo.
3139 * manual/libc.texinfo: Comment out uses of edition numbers and
3140 references to printed manual. Remove last-updated dates.
3141 (EDITION): Comment out.
3142 (ISBN): Likewise.
3143 (VERSION, UPDATED): Remove.
3144 (version.texi): Include.
3145
12e5c3b9
AS
31462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3147
3148 * sysdeps/posix/spawni.c: Include <signal.h>.
3149 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3150 * sysdeps/pthread/aio_fsync.c: Likewise.
3151
4efeffc1 31522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3153
ba63ba08
UD
3154 * conform/Makefile (tests): Run only when not cross-compiling and
3155 when fast-check is not defined.
3156
d94a4670
UD
3157 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3158 * conform/data/limits.h-data: Fixes for POSIX2008.
3159 * conform/run-conformtest.sh: Run all tests.
3160 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3161 headers.
3162 * include/bits/dlfcn.h: Likewise.
3163 * include/langinfo.h: Likewise.
3164 * include/monetary.h: Likewise.
3165 * include/sys/poll.h: Likewise.
3166
3167 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3168 for __USE_GNU.
3169 * posix/spawn.h: Define __need_sigset_t.
3170 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3171 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3172 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3173 to get sigevent_t only.
3174 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3175 only for __USE_GNU.
3176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3177 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3178 process_vm_writev only for __USE_GNU.
3179 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3180
3181 * conform/Makefile: For now ignore errors from run-conformtest.
3182 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3183 POSIX to avoid namespace pollution. Don't prepend headers.
3184 * conform/data/aio.h-data: Fixes for POSIX testing.
3185 * conform/data/fcntl.h-data: Likewise.
3186 * conform/data/glob.h-data: Likewise.
3187 * conform/data/grp.h-data: Likewise.
3188 * conform/data/pthread.h-data: Likewise.
3189 * conform/data/pwd.h-data: Likewise.
3190 * conform/data/signal.h-data: Likewise.
3191 * conform/data/spawn.h-data: Likewise.
3192 * conform/data/stdio.h-data: Likewise.
3193 * conform/data/stdlib.h-data: Likewise.
3194 * conform/data/stropts.h-data: Likewise.
3195 * conform/data/sys/mman.h-data: Likewise.
3196 * conform/data/sys/stat.h-data: Likewise.
3197 * conform/data/sys/types.h-data: Likewise.
3198 * conform/data/sys/wait.h-data: Likewise.
3199 * conform/data/time.h-data: Likewise.
3200 * conform/data/unistd.h-data: Likewise.
3201 * conform/data/utime.h-data: Likewise.
3202
3203 * io/sys/stat.h: fchmod was always in POSIX.
3204 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3205 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3206 * rt/aio.h: Define __need_timespec before including <time.h>.
3207 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3208 struct. Add forward declaration of pthread_attr_t and use it in
3209 sigevent.
3210 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3211 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3212 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3213 always remove CLK_TCK definition.
3214
c20105c3
AS
32152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3216
3217 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3218
7a270350
UD
32192012-02-25 Ulrich Drepper <drepper@gmail.com>
3220
31341567
UD
3221 * conform/run-conformtest.sh: New file.
3222 * conform/Makefile: Run run-conformtest for tests.
3223 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3224 support.
3225
3226 * conform/data/uchar.h-data: New file.
3227 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3228 * conform/data/arpa/inet.h-data: Likewise.
3229 * conform/data/assert.h-data: Likewise.
3230 * conform/data/complex.h-data: Likewise.
3231 * conform/data/cpio.h-data: Likewise.
3232 * conform/data/ctype.h-data: Likewise.
3233 * conform/data/dirent.h-data: Likewise.
3234 * conform/data/dlfcn.h-data: Likewise.
3235 * conform/data/errno.h-data: Likewise.
3236 * conform/data/fcntl.h-data: Likewise.
3237 * conform/data/float.h-data: Likewise.
3238 * conform/data/fmtmsg.h-data: Likewise.
3239 * conform/data/fnmatch.h-data: Likewise.
3240 * conform/data/ftw.h-data: Likewise.
3241 * conform/data/glob.h-data: Likewise.
3242 * conform/data/grp.h-data: Likewise.
3243 * conform/data/iconv.h-data: Likewise.
3244 * conform/data/inttypes.h-data: Likewise.
3245 * conform/data/langinfo.h-data: Likewise.
3246 * conform/data/libgen.h-data: Likewise.
3247 * conform/data/limits.h-data: Likewise.
3248 * conform/data/locale.h-data: Likewise.
3249 * conform/data/math.h-data: Likewise.
3250 * conform/data/monetary.h-data: Likewise.
3251 * conform/data/mqueue.h-data: Likewise.
3252 * conform/data/ndbm.h-data: Likewise.
3253 * conform/data/net/if.h-data: Likewise.
3254 * conform/data/netdb.h-data: Likewise.
3255 * conform/data/netinet/in.h-data: Likewise.
3256 * conform/data/nl_types.h-data: Likewise.
3257 * conform/data/poll.h-data: Likewise.
3258 * conform/data/pthread.h-data: Likewise.
3259 * conform/data/pwd.h-data: Likewise.
3260 * conform/data/regex.h-data: Likewise.
3261 * conform/data/sched.h-data: Likewise.
3262 * conform/data/search.h-data: Likewise.
3263 * conform/data/semaphore.h-data: Likewise.
3264 * conform/data/setjmp.h-data: Likewise.
3265 * conform/data/signal.h-data: Likewise.
3266 * conform/data/spawn.h-data: Likewise.
3267 * conform/data/stdarg.h-data: Likewise.
3268 * conform/data/stdio.h-data: Likewise.
3269 * conform/data/stdlib.h-data: Likewise.
3270 * conform/data/string.h-data: Likewise.
3271 * conform/data/strings.h-data: Likewise.
3272 * conform/data/stropts.h-data: Likewise.
3273 * conform/data/sys/ipc.h-data: Likewise.
3274 * conform/data/sys/mman.h-data: Likewise.
3275 * conform/data/sys/msg.h-data: Likewise.
3276 * conform/data/sys/resource.h-data: Likewise.
3277 * conform/data/sys/select.h-data: Likewise.
3278 * conform/data/sys/sem.h-data: Likewise.
3279 * conform/data/sys/shm.h-data: Likewise.
3280 * conform/data/sys/socket.h-data: Likewise.
3281 * conform/data/sys/stat.h-data: Likewise.
3282 * conform/data/sys/statvfs.h-data: Likewise.
3283 * conform/data/sys/time.h-data: Likewise.
3284 * conform/data/sys/timeb.h-data: Likewise.
3285 * conform/data/sys/times.h-data: Likewise.
3286 * conform/data/sys/types.h-data: Likewise.
3287 * conform/data/sys/uio.h-data: Likewise.
3288 * conform/data/sys/un.h-data: Likewise.
3289 * conform/data/sys/utsname.h-data: Likewise.
3290 * conform/data/sys/wait.h-data: Likewise.
3291 * conform/data/syslog.h-data: Likewise.
3292 * conform/data/tar.h-data: Likewise.
3293 * conform/data/termios.h-data: Likewise.
3294 * conform/data/utime.h-data: Likewise.
3295 * conform/data/utmpx.h-data: Likewise.
3296 * conform/data/varargs.h-data: Likewise.
3297 * conform/data/wchar.h-data: Likewise.
3298 * conform/data/wctype.h-data: Likewise.
3299 * conform/data/wordexp.h-data: Likewise.
3300
3301 * include/stropts.h: New file.
3302 * include/uchar.h: New file.
3303 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3304 * include/assert.h: Likewise.
3305 * include/ctype.h: Likewise.
3306 * include/dirent.h: Likewise.
3307 * include/dlfcn.h: Likewise.
3308 * include/fcntl.h: Likewise.
3309 * include/fnmatch.h: Likewise.
3310 * include/glob.h: Likewise.
3311 * include/grp.h: Likewise.
3312 * include/libio.h: Likewise.
3313 * include/locale.h: Likewise.
3314 * include/math.h: Likewise.
3315 * include/net/if.h: Likewise.
3316 * include/netdb.h: Likewise.
3317 * include/netinet/in.h: Likewise.
3318 * include/pthread.h: Likewise.
3319 * include/pwd.h: Likewise.
3320 * include/regex.h: Likewise.
3321 * include/sched.h: Likewise.
3322 * include/search.h: Likewise.
3323 * include/setjmp.h: Likewise.
3324 * include/signal.h: Likewise.
3325 * include/stdio.h: Likewise.
3326 * include/stdlib.h: Likewise.
3327 * include/string.h: Likewise.
3328 * include/sys/cdefs.h: Likewise.
3329 * include/sys/mman.h: Likewise.
3330 * include/sys/msg.h: Likewise.
3331 * include/sys/resource.h: Likewise.
3332 * include/sys/select.h: Likewise.
3333 * include/sys/socket.h: Likewise.
3334 * include/sys/stat.h: Likewise.
3335 * include/sys/statvfs.h: Likewise.
3336 * include/sys/time.h: Likewise.
3337 * include/sys/times.h: Likewise.
3338 * include/sys/uio.h: Likewise.
3339 * include/sys/utsname.h: Likewise.
3340 * include/sys/wait.h: Likewise.
3341 * include/termios.h: Likewise.
3342 * include/time.h: Likewise.
3343 * include/ulimit.h: Likewise.
3344 * include/unistd.h: Likewise.
3345 * include/utime.h: Likewise.
3346 * include/wchar.h: Likewise.
3347 * include/wctype.h: Likewise.
3348 * include/wordexp.h: Likewise.
3349
3350 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3351
7a270350
UD
3352 * time/time.h: TIME_UTC must be a macro.
3353 Make timespec_get available for ISO C11 only as well.
3354
7724defc
UD
33552012-02-24 Ulrich Drepper <drepper@gmail.com>
3356
3357 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3358 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3359
6b1d1d46
JM
33602012-02-24 Joseph Myers <joseph@codesourcery.com>
3361
3362 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3363
0f8bbd69
JM
33642012-02-24 Joseph Myers <joseph@codesourcery.com>
3365
3366 * manual/texinfo.tex: Update to version 2012-01-19.16.
3367
66ab80bc
JM
33682012-02-24 Joseph Myers <joseph@codesourcery.com>
3369
3370 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3371
74981cc5
RM
33722012-02-24 Roland McGrath <roland@hack.frob.com>
3373
ee968201
RM
3374 [BZ #13738]
3375 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3376 * manual/fdl-1.3.texi: New file.
3377 * manual/fdl-1.1.texi: File removed.
3378
74981cc5
RM
3379 [BZ #13738]
3380 * manual/libc.texinfo (FDL_VERSION): New @set.
3381 Use it for mention of FDL in cover text.
3382 (Documentation License): Use it in @include file name.
3383
7bb764bc
JM
33842012-02-22 Joseph Myers <joseph@codesourcery.com>
3385 Roland McGrath <roland@hack.frob.com>
3386
3387 [BZ #5461]
3388 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3389 not LONG_LONG_MAX and LONG_LONG_MIN.
3390 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3391 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3392 name.
3393 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3394
6cbeae47
JM
33952012-02-22 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #2547]
3398 [BZ #11365]
3399 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3400 manipulate bits before adding and subtracting TWO23[sx].
3401 * math/libm-test.inc (nearbyint_test): Add more tests.
3402
fe45ce09
JM
34032012-02-22 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #2548]
3406 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3407 bits before adding and subtracting TWO23[sx].
3408 * math/libm-test.inc (rint_test): Add more tests.
3409 (rint_test_tonearest): Likewise.
3410 (rint_test_towardzero): Likewise.
3411 (rint_test_downward): Likewise.
3412 (rint_test_upward: Likewise.
3413
ff3b3d82
JM
34142012-02-22 Joseph Myers <joseph@codesourcery.com>
3415
3416 [BZ #10110]
3417 * include/stdc-predef.h: New file. Extracted from features.h.
3418 * include/features.h: Include stdc-predef.h.
3419 * Makefile (headers): Add stdc-predef.h.
3420 * CONFORMANCE (Compiler limitations): Update.
3421
ef0aab35
JM
34222012-02-22 Joseph Myers <joseph@codesourcery.com>
3423
3424 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3425
58639409
DM
34262012-02-21 David S. Miller <davem@davemloft.net>
3427
3428 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3429 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3430
c0e70b25
DM
34312012-02-20 David S. Miller <davem@davemloft.net>
3432
3433 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3434 using a normal save/restore sequence, rather than allocating a
3435 dummy stack frame just to store a frame pointer and restore.
3436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3437
fb06851d
JM
34382012-02-21 Joseph Myers <joseph@codesourcery.com>
3439
3440 * manual/install.texi: Fix stray word in line-wrapped comment.
3441
7a8b71c3
DM
34422012-02-20 David S. Miller <davem@davemloft.net>
3443
d510c123
DM
3444 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3445 both binutils and gcc support GOTDATA.
3446
0722d7c2
DM
3447 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3448 "rd %pc" in the PIC register setup sequences.
3449
3d2b3019
DM
3450 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3451 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3452 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3453 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3454 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3456 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3459 (SYSCALL_ERROR_HANDLER): Likewise.
3460 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3461 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3463 (SYSCALL_ERROR_HANDLER): Likewise.
3464
c80098a9
DM
3465 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3466 (HAVE_GCC_GOTDATA): New.
3467 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3468 relocation support in both binutils and gcc.
3469 * sysdeps/sparc/elf/configure: Regenerate.
3470
3a2545a0
DM
3471 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3472 * sysdeps/sparc/sparc32/elf/configure: Delete.
3473 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3474 * sysdeps/sparc/sparc64/elf/configure: Delete.
3475 * sysdeps/sparc/elf/configure.in: New file.
3476 * sysdeps/sparc/elf/configure: Generate.
3477
7a8b71c3
DM
3478 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3479 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3480 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3481 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3482 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3483
f1e86fca
JM
34842012-02-21 Joseph Myers <joseph@codesourcery.com>
3485
3486 * manual/install.texi: Do not mention specific glibc version
3487 numbers.
3488 * manual/libc.texinfo (VERSION, UPDATED): Update.
3489 (@copying): Use @copyright{} and range of years.
3490
0e7dfaef
JM
34912012-02-21 Joseph Myers <joseph@codesourcery.com>
3492
3493 [BZ #13695]
3494 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3495 [crti.S not in sysdirs] (generated): Do not append.
3496 [crti.S not in sysdirs] (omit-deps): Likewise.
3497 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3498 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3499 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3500 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3501 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3502 Likewise.
3503 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3504 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3505 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3506 * csu/defs.awk: Remove file.
3507 * sysdeps/generic/initfini.c: Likewise.
3508 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3509 variable.
3510 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3511 Likewise.
3512
599af3ca
JM
35132012-02-20 Joseph Myers <joseph@codesourcery.com>
3514
3515 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3516 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3517 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3518 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3520 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3521 <bits/epoll.h>.
3522 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3523 (__EPOLL_PACKED): Define to empty if not defined by
3524 <bits/epoll.h>.
3525 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3527 bits/epoll.h.
3528
0e499750
JM
35292012-02-20 Joseph Myers <joseph@codesourcery.com>
3530
3531 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3532 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3533 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3534 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3535 <bits/timerfd.h>.
3536 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3538 bits/timerfd.h.
3539
5ad91f6e
JM
35402012-02-20 Joseph Myers <joseph@codesourcery.com>
3541
3542 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3543 in C locale.
3544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3545 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3548
06b99b02
AJ
35492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3550
3551 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3552 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3553
7638c0fd
AS
35542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3555
3556 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3557 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3558 defined.
3559 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3560 Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3562 entry for 2.16.
3563
92221550
AJ
35642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3565
3566 * math/w_acos.c: Use non-signaling floating-point comparisons.
3567 * math/w_acosf.c: Likewise.
3568 * math/w_acosh.c: Likewise.
3569 * math/w_acoshf.c: Likewise.
3570 * math/w_acoshl.c: Likewise.
3571 * math/w_acosl.c: Likewise.
3572 * math/w_asin.c: Likewise.
3573 * math/w_asinf.c: Likewise.
3574 * math/w_asinl.c: Likewise.
3575 * math/w_atanh.c: Likewise.
3576 * math/w_atanhf.c: Likewise.
3577 * math/w_atanhl.c: Likewise.
3578 * math/w_exp2.c: Likewise.
3579 * math/w_exp2f.c: Likewise.
3580 * math/w_exp2l.c: Likewise.
3581 * math/w_j0.c: Likewise.
3582 * math/w_j0f.c: Likewise.
3583 * math/w_j0l.c: Likewise.
3584 * math/w_j1.c: Likewise.
3585 * math/w_j1f.c: Likewise.
3586 * math/w_j1l.c: Likewise.
3587 * math/w_jn.c: Likewise.
3588 * math/w_jnf.c: Likewise.
3589 * math/w_log.c: Likewise.
3590 * math/w_log10.c: Likewise.
3591 * math/w_log10f.c: Likewise.
3592 * math/w_log10l.c: Likewise.
3593 * math/w_log2.c: Likewise.
3594 * math/w_log2f.c: Likewise.
3595 * math/w_log2l.c: Likewise.
3596 * math/w_logf.c: Likewise.
3597 * math/w_logl.c: Likewise.
3598 * math/w_sqrt.c: Likewise.
3599 * math/w_sqrtf.c: Likewise.
3600 * math/w_sqrtl.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3603 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3604 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3605 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3606
ebaf36eb
JM
36072012-02-19 Joseph Myers <joseph@codesourcery.com>
3608
3609 [BZ #9739]
3610 * manual/string.texi (strnlen): Use correct parameter name in
3611 equivalent expression.
3612
71c254a6
JM
36132012-02-19 Joseph Myers <joseph@codesourcery.com>
3614
3615 [BZ #11174]
3616 * manual/users.texi (seteuid): Consistently use neweuid for
3617 argument name.
3618
16d2c631
JM
36192012-02-19 Joseph Myers <joseph@codesourcery.com>
3620
3621 [BZ #13704]
3622 * manual/nss.texi (Services in the NSS configuration): Correct
3623 list of services in example configuration file.
3624
cd837b09
NB
36252012-02-19 Nick Bowler <nbowler@draconx.ca>
3626
3627 [BZ #11322]
3628 * manual/arith.texi: Remove statements about negative zero
3629 behaving identically to zero.
3630
02c4bbad
JM
36312012-02-18 Joseph Myers <joseph@codesourcery.com>
3632
3633 [BZ #5993]
3634 * manual/install.texi: Do not document upgrading from libc5.
3635
366842e7
JM
36362012-02-18 Joseph Myers <joseph@codesourcery.com>
3637
3638 [BZ #4596]
3639 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3640
dd54084d
DM
36412012-02-18 David S. Miller <davem@davemloft.net>
3642
3643 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3644 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3645 %o7 across the call.
3646 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3647 instead.
3648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3649 SETUP_PIC_REG_LEAF.
3650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3651 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3652 * sysdeps/sparc/crtn.S: Likewise.
3653
2bcc53a3
UD
36542012-02-17 Ulrich Drepper <drepper@gmail.com>
3655
3656 * aout/Makefile: Remove.
3657
09c093b5
RK
36582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3659
3660 [BZ #13058]
3661 * manual/examples/argp-ex1.c (main): Format definition in GNU
3662 style.
3663 * manual/examples/argp-ex2.c (main): Likewise.
3664 * manual/examples/argp-ex3.c (main): Likewise.
3665 * manual/examples/argp-ex4.c (main): Likewise.
3666 * manual/examples/longopt.c (main): Use new-style prototype
3667 definition.
3668 * manual/examples/strncat.c (main): Specify return type and use
3669 (void) for arguments.
3670 * manual/examples/subopt.c (main): Use char **argv argument.
3671
2ee633a2
JM
36722012-02-17 Joseph Myers <joseph@codesourcery.com>
3673
3674 [BZ #5077]
3675 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3676 rounding modes.
3677
0520adde
FB
36782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3679
3680 [BZ #6907]
3681 * manual/string.texi (strchr): Change when strchrnul is
3682 recommended.
3683
3f4081cd
DGM
36842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3685
3686 [BZ #174]
3687 * manual/locale.texi (setlocale): Document LOCPATH.
3688
d1b10e78
JM
36892012-02-17 Joseph Myers <joseph@codesourcery.com>
3690
3691 [BZ #10210]
3692 * manual/process.texi (execle): Move @dots{} before last argument.
3693
79c6869c
PB
36942012-02-17 Paul Bolle <pebolle@tiscali.nl>
3695
3696 [BZ #12047]
3697 * manual/charset.texi (Generic Charset Conversion): Fix typo
3698 (LC_TYPE -> LC_CTYPE).
3699
cc6e48bc
NB
37002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3701
3702 [BZ #5805]
3703 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3704 (scalbnf): Likewise.
3705 (scalbnl): Likewise.
3706 (scalbln): Likewise.
3707 (scalblnf): Likewise.
3708 (scalblnl): Likewise.
3709 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3710 (vwarnx): Likewise.
3711 (verr): Likewise.
3712 (verrx): Likewise.
3713 * manual/filesys.texi (telldir): Use braces around return type.
3714 * manual/llio.texi (mmap): Add space after comma.
3715 (mmap64): Likewise.
3716 * manual/math.texi (jn): Use @var{} on parameter names.
3717 (jnf): Likewise.
3718 (jnl): Likewise.
3719 (yn): Likewise.
3720 (ynf): Likewise.
3721 (ynl): Likewise.
3722 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3723 line.
3724 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3725 "...".
3726 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3727 (sched_get_priority_max): Likewise.
3728 * manual/signal.texi (sigvec): Add space after comma.
3729 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3730 names.
3731 (if_indextoname): Likewise.
3732 (if_freenameindex): Likewise.
3733 (sendto): Use ',' instead of '.' in prototype.
3734 * manual/startup.texi (syscall): Use @dots{} instead of literal
3735 "...".
3736 * manual/stdio.texi (__fpending): Separate initial words of
3737 paragraph from @deftypefun line.
3738 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3739 "...".
3740 (vsyslog): Use @var{} on parameter names.
3741 * manual/terminal.texi (stty): Use @var{} on parameter names.
3742 * manual/users.texi (getutmp): Use @var{} on parameter names.
3743 (getutmpx): Likewise.
3744
5b23062f
JM
37452012-02-17 Joseph Myers <joseph@codesourcery.com>
3746
3747 [BZ #6884]
3748 * manual/stdio.texi (fopen): Fix typos in description of
3749 ",ccs=STRING".
3750
8dee4833
AJ
37512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3752
3753 [BZ #4026]
3754 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3755 get clock_id definition.
3756
9078ce93
TS
37572012-02-17 Thomas Schwinge <thomas@schwinge.name>
3758
3759 [BZ #4822]
3760 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3761 (madvise): Cast every argument to void on its own.
3762
3835c55f
JM
37632012-02-17 Joseph Myers <joseph@codesourcery.com>
3764
3765 [BZ #9902]
3766 * manual/startup.texi (Exit Status): Fix typo.
3767
35c47e37
JM
37682012-02-17 Joseph Myers <joseph@codesourcery.com>
3769
3770 [BZ #10140]
3771 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3772 * manual/examples/argp-ex2.c: Likewise.
3773 * manual/examples/argp-ex3.c: Likewise.
3774
e3b69ca7
RH
37752012-02-16 Richard Henderson <rth@redhat.com>
3776
3777 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3778 * sysdeps/s390/s390-32/initfini.c: Remove.
3779 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3780 * sysdeps/s390/s390-64/initfini.c: Remove.
3781
df83af67
KK
37822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3783
3784 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3785 compiler output for sysdeps/generic/initfini.c.
3786 * sysdeps/sh/elf/initfini.c: Remove file.
3787
f63f3380
DM
37882012-02-16 David S. Miller <davem@davemloft.net>
3789
fb59b3a4
DM
3790 [BZ #11494]
3791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3792
f63f3380
DM
3793 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3794 * sysdeps/sparc/crti.S: New file.
3795 * sysdeps/sparc/crtn.S: New file.
3796 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3797 * sysdeps/sparc/sparc64/Makefile: Likewise.
3798
df6a4a4a
MF
37992012-02-15 Mike Frysinger <vapier@gentoo.org>
3800
6dd8f3dc 3801 [BZ #3335]
df6a4a4a
MF
3802 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3803
1cac7236
RM
38042012-02-15 Roland McGrath <roland@hack.frob.com>
3805
d2c736f8
RM
3806 [BZ #4822]
3807 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3808
1cac7236
RM
3809 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3810 (write, read, close): Likewise.
3811 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3812
8e475601
JM
38132012-02-15 Joseph Myers <joseph@codesourcery.com>
3814
3815 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3816 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3817 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3818 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3819 <bits/signalfd.h>.
3820 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3822 bits/signalfd.h.
3823
ed656b40
MP
38242012-02-14 Marek Polacek <polacek@redhat.com>
3825
3826 * sysdeps/x86_64/crti.S: New file.
3827 * sysdeps/x86_64/crtn.S: New file.
3828 * sysdeps/x86_64/elf/initfini.c: Remove file.
3829
2a979d3a
JM
38302012-02-13 Joseph Myers <joseph@codesourcery.com>
3831
3832 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3833 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3834 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3835 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3836 <bits/inotify.h>.
3837 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3839 bits/inotify.h.
3840
2a418ac3
JM
38412012-02-13 Joseph Myers <joseph@codesourcery.com>
3842
3843 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3844 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3845 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3846 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3847 <bits/eventfd.h>.
3848 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3850 bits/eventfd.h.
3851
fb779be7
TS
38522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3853
e19e83c5
RM
3854 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3855 __feraiseexcept instead of feraiseexcept.
7c35ffed 3856
fb779be7
TS
3857 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3858 nanosleep invocations.
3859 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3860 strings, and add error checking for a nanosleep invocations.
3861
59ba27a6
PE
38622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3863
3864 Replace FSF snail mail address with URLs, as per GNU coding standards.
3865 Most of the snail mail addresses were wrong anyway, and omitting
3866 them makes the source code easier to maintain. Almost all of the
3867 changes are to license notices and to locale LC_IDENTIFICATION
3868 addresses, except for this one:
3869 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3870 not its snail mail address.
3871
57b957eb
RH
38722012-02-09 Richard Henderson <rth@twiddle.net>
3873
af850b1c
RH
3874 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3875 of kernel-features.h.
3876
57b957eb
RH
3877 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3878
6b73181a
MP
38792012-02-08 Marek Polacek <polacek@redhat.com>
3880
3881 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3882 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3883 * sysdeps/gnu/_G_config.h: Likewise.
3884 * sysdeps/generic/_G_config.h: Likewise.
3885
26ecc33a
AS
38862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3887
6c6dbc63
AS
3888 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3889 tests.
3890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3891
e216c012
AS
3892 * sysdeps/powerpc/powerpc32/crti.S: New file.
3893 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3894 * sysdeps/powerpc/powerpc64/crti.S: New file.
3895 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3896
26ecc33a
AS
3897 * Makeconfig (have-initfini): Don't set.
3898 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3899 * configure.in (nopic_initfini): Don't substitute.
3900 * config.h.in (HAVE_INITFINI): Don't #undef.
3901 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3902 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3903
3add8e13
JM
39042012-02-08 Joseph Myers <joseph@codesourcery.com>
3905
3906 Support crti.S and crtn.S provided directly by architectures.
3907 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3908 [crti.S in sysdirs] (omit-deps): Likewise.
3909 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3910 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3911 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3912 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3913 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3914 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3915 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3916 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3917 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3918 compiler output for sysdeps/generic/initfini.c.
3919 * sysdeps/i386/elf/Makefile: Remove file.
3920 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3921
a22f12b4
MP
39222012-02-07 Marek Polacek <polacek@redhat.com>
3923
3924 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3925 * sysdeps/gnu/_G_config.h: Likewise.
3926 * sysdeps/mach/hurd/_G_config.h: Likewise.
3927
148cf100
MP
39282012-02-07 Marek Polacek <polacek@redhat.com>
3929
3930 * math/Makefile (tests): Add tst-CMPLX2.
3931 * math/tst-CMPLX2.c: New file.
3932
cfdc0dd7
AS
39332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3934
84ba42c4
AS
3935 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3936
cfdc0dd7
AS
3937 * math/libm-test.inc (jn_test): Add missing L suffix.
3938
622c86f4
MP
39392012-02-06 Marek Polacek <polacek@redhat.com>
3940
3941 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3942 * sysdeps/i386/fpu/e_powf.S: Likewise.
3943 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3944 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3945 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3946 * sysdeps/i386/fpu/e_pow.S: Likewise.
3947 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3949 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3950 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3951 * sysdeps/i386/fpu/e_log2.S: Likewise.
3952 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3954 * sysdeps/i386/fpu/e_powl.S: Likewise.
3955 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3956 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3957 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3958 * sysdeps/i386/fpu/e_logl.S: Likewise.
3959 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3960 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3961 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3962 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3963 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3964 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3965 * sysdeps/i386/fpu/e_log.S: Likewise.
3966 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3967 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3968 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3969 * sysdeps/i386/fpu/e_logf.S: Likewise.
3970 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3971 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3972 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3973 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3974 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3975 * sysdeps/i386/fpu/e_log10.S: Likewise.
3976 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3977 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3978 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3979 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3980 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3981 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3982 * sysdeps/i386/asm-syntax.h: Likewise.
3983 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3984 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3985 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3986 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3987 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3988 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3989 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3990 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3991 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3992 * sysdeps/powerpc/sysdep.h: Likewise.
3993 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3994 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3995
d4a54ac6
JM
39962012-02-06 Joseph Myers <joseph@codesourcery.com>
3997
3998 [BZ #411]
3999 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4000
314054ea
JM
40012012-02-06 Joseph Myers <joseph@codesourcery.com>
4002
4003 * sysdeps/i386/sysdep.h: Include <features.h>.
4004 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4005 version.
4006
d8e0ca50
JM
40072012-02-05 Joseph Myers <joseph@codesourcery.com>
4008
4009 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4010 Define.
4011 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4012 LOAD_PIC_REG_STR.
4013
b1da7dd9
JM
40142012-02-03 Joseph Myers <joseph@codesourcery.com>
4015
4016 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4017 (SETUP_PIC_REG): Use GET_PC_THUNK.
4018 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4019 macro.
4020
9a1d9254
JM
40212012-02-03 Joseph Myers <joseph@codesourcery.com>
4022
4023 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4024 for non-PIC compilation.
4025 (SETUP_PIC_REG): Add .p2align directive.
4026 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4027 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4028 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4032 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4039 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4040 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4041 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4042 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4043 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4044 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4045 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4047 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4048 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4049 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4054 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4055 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4056 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4057 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4058 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4067
65dc3b75
JM
40682012-02-03 Joseph Myers <joseph@codesourcery.com>
4069
4070 * math/tst-CMPLX.c: Include <stdio.h>.
4071
d55bf177
JM
40722012-01-31 Joseph Myers <joseph@codesourcery.com>
4073
4074 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4075 float.
4076 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4077 * sysdeps/sparc/bits/mathdef.h: Likewise.
4078
69db4f8f
MP
40792012-01-31 Marek Polacek <polacek@redhat.com>
4080
4081 * libio/libio.h: Don't define _PARAMS.
4082 * locale/programs/config.h: Don't define PARAMS.
4083 * stdlib/strtol_l.c: Likewise.
4084 (__strtol_l): Remove PARAMS from the prototype.
4085
41b81892
UD
40862012-01-31 Ulrich Drepper <drepper@gmail.com>
4087
3b49edc0
UD
4088 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4089 names. Just use the correct names. Remove unnecessary wrapper
4090 functions.
4091 * malloc/arena.c: Likewise.
4092 * malloc/hooks.c: Likewise.
4093
41b81892
UD
4094 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4095 ARENA_TEST says not to. Simplify test for creation of a new arena.
4096 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4097
27a25b6e
UD
40982012-01-30 Ulrich Drepper <drepper@gmail.com>
4099
4100 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4101 into tail calls.
4102 (update_get_addr): New function.
4103 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4104 GET_ADDR_MODULE parameter.
4105
c8a89e7d
JM
41062012-01-30 Joseph Myers <joseph@codesourcery.com>
4107
4108 * crypt/cert.c: Remove __STDC__ conditionals.
4109 * crypt/crypt-entry.c: Likewise.
4110 * crypt/crypt_util.c: Likewise.
4111 * libio/filedoalloc.c: Likewise.
4112 * libio/fileops.c: Likewise.
4113 * libio/genops.c: Likewise.
4114 * libio/iofclose.c: Likewise.
4115 * libio/iofdopen.c: Likewise.
4116 * libio/iofopen.c: Likewise.
4117 * libio/iofopen64.c: Likewise.
4118 * libio/iogetdelim.c: Likewise.
4119 * libio/iopopen.c: Likewise.
4120 * libio/obprintf.c: Likewise.
4121 * libio/oldfileops.c: Likewise.
4122 * libio/oldiofclose.c: Likewise.
4123 * libio/oldiofdopen.c: Likewise.
4124 * libio/oldiofopen.c: Likewise.
4125 * libio/oldiopopen.c: Likewise.
4126 * libio/wfiledoalloc.c: Likewise.
4127 * libio/wgenops.c: Likewise.
4128 * locale/programs/xmalloc.c: Likewise.
4129 * misc/syslog.c: Likewise.
4130 * stdio-common/xbug.c: Likewise.
4131 * string/memchr.c: Likewise.
4132 * string/memcmp.c: Likewise.
4133 * string/memrchr.c: Likewise.
4134 * string/rawmemchr.c: Likewise.
4135 * sysdeps/posix/getcwd.c: Likewise.
4136 * time/strftime_l.c: Likewise.
4137
3b100462
JM
41382012-01-30 Joseph Myers <joseph@codesourcery.com>
4139
4140 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4141 * config.make.in (config-cflags-sse2avx): Define.
4142 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4143 Fix typo.
4144
607998af
CM
41452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4146
4147 * scripts/config.guess: Update from upstream config git repository.
4148 * scripts/config.sub: Likewise.
4149
3601428f
CM
41502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4151
3ac8b282
CM
4152 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4153 (EM_NUM): Update.
4154 (R_TILEPRO_*, R_TILEGX_*): New macros.
4155
e034841e
CM
4156 * scripts/firstversions.awk: Fix bug in version range handling.
4157
540d7568
CM
4158 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4159
3601428f
CM
4160 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4161
463de862
CM
4162 * include/sys/epoll.h: New file.
4163 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4164 libc_hidden_def.
4165
73139a76
UD
41662012-01-28 Ulrich Drepper <drepper@gmail.com>
4167
96bc5b45
UD
4168 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4169 Avoid unnecessary __WORDSIZE == 64 test.
4170 (fmaxf): Use VEX format if possible.
4171 (fmax): Likewise.
4172 (fminf): Likewise.
4173 (fmin): Likewise.
4174
56f6f6a2
UD
4175 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4176 * math/math_private.h: Remove libc_fegetround* and
4177 libc_fesetround*.
4178 * sysdeps/i386/configure.in: Check for -msse2avx.
4179 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4180 also if SSE2AVX is defined.
4181 Remove libc_fegetround* and libc_fesetround*.
4182 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4183 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4185 of HAS_YMM_USABLE.
4186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4191
73139a76
UD
4192 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4193
d73f93a4
AZ
41942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4195
4196 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4197 size is not set.
4198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4199
6ee65ed6
UD
42002012-01-27 Ulrich Drepper <drepper@gmail.com>
4201
4202 [BZ #13618]
4203 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4204 relocation.
4205 * Makeconfig (libm): Define.
4206 * elf/Makefile: Add rules to build and run tst-relsort1.
4207 * elf/tst-relsort1.c: New file.
4208 * elf/tst-relsort1mod1.c: New file.
4209 * elf/tst-relsort1mod2.c: New file.
4210
8db21882
JM
42112012-01-27 Joseph Myers <joseph@codesourcery.com>
4212
4213 * math/s_ldexp.c: Remove __STDC__ conditionals.
4214 * math/s_ldexpf.c: Likewise.
4215 * math/s_ldexpl.c: Likewise.
4216 * math/s_nextafter.c: Likewise.
4217 * math/s_nexttowardf.c: Likewise.
4218 * math/s_significand.c: Likewise.
4219 * math/s_significandf.c: Likewise.
4220 * math/s_significandl.c: Likewise.
4221 * math/w_jnl.c: Likewise.
4222 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4223 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4224 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4225 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4226 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4243 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4244 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4245 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4246 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4247 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4248 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4249 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4250 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4253 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4254 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4255 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4257 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4258 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4259 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4260 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4262 * sysdeps/ieee754/k_standard.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4324 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4329 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4338 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4342 * sysdeps/ieee754/s_matherr.c: Likewise.
4343 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4344 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4347
965a54a4
JM
43482012-01-26 Joseph Myers <joseph@codesourcery.com>
4349
4350 * crypt/md5.h: Remove __STDC__ conditionals.
4351 * libio/libioP.h: Likewise.
4352 * locale/programs/config.h: Likewise.
4353 * sysdeps/generic/sysdep.h: Likewise.
4354 * sysdeps/i386/asm-syntax.h: Likewise.
4355 * sysdeps/s390/asm-syntax.h: Likewise.
4356 * sysdeps/unix/sysdep.h: Likewise.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4359
7071ad79
JM
43602012-01-26 Joseph Myers <joseph@codesourcery.com>
4361
4362 * libio/libio.h: Remove __STDC__ conditionals.
4363 * malloc/obstack.h: Likewise.
4364 * math/complex.h: Likewise.
4365 * math/math.h: Likewise.
4366 * sysdeps/generic/_G_config.h: Likewise.
4367 * sysdeps/gnu/_G_config.h: Likewise.
4368 * sysdeps/mach/hurd/_G_config.h: Likewise.
4369 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4370 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4371 * sysdeps/sparc/bits/mathdef.h: Likewise.
4372
afc5ed09
UD
43732012-01-26 Ulrich Drepper <drepper@gmail.com>
4374
4375 [BZ #13583]
4376 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4377 Clean up HAS_* macros.
afc5ed09 4378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4379 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4380 possible.
4381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4382 HAS_AVX.
4383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4384 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4386 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4387 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4388
bdb6de1d
JM
43892012-01-25 Joseph Myers <joseph@codesourcery.com>
4390
4391 * elf/tst-unique3.cc (gets): Remove declaration.
4392 * elf/tst-unique3lib.cc (gets): Likewise.
4393 * elf/tst-unique3lib2.cc (gets): Likewise.
4394 * elf/tst-unique4.cc (gets): Likewise.
4395
b15549e6
UD
43962012-01-24 Ulrich Drepper <drepper@gmail.com>
4397
4398 * include/stdio.h: Add C++ protection. Add gets declarations and
4399 definitions.
4400 * debug/tst-chk1.c: Don't declare gets here.
4401 * stdio-common/tst-gets.c: Likewise.
4402
a037381f
JM
44032012-01-24 Joseph Myers <joseph@codesourcery.com>
4404
4405 * posix/glob: Remove directory.
4406
f1d4aa75
JM
44072012-01-24 Joseph Myers <joseph@codesourcery.com>
4408
4409 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4410
81c0c964
PT
44112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4412
4413 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4414 of the non-standard EPFNOSUPPORT.
4415
0ea698ae
ST
44162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4417
4418 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4419 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4420 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4421
d220b117
UD
44222012-01-21 Ulrich Drepper <drepper@gmail.com>
4423
4424 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4425
3e1aa84e
UD
44262012-01-20 Ulrich Drepper <drepper@gmail.com>
4427
4428 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4429 transient errors.
4430 * nscd/grpcache.c (cache_addgr): Likewise.
4431 * nscd/hstcache.c (cache_addhst): Likewise.
4432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4433 * nscd/pwdcache.c (cache_addpw): Likewise.
4434 * nscd/servicescache.c (cache_addserv): Likewise.
4435
400aa020
UD
44362012-01-16 Ulrich Drepper <drepper@gmail.com>
4437
d77e7869
UD
4438 * malloc/malloc.c: Various cleanups.
4439 * malloc/hooks.c: Likewise.
4440
400aa020
UD
4441 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4442 * stdlib/bug-fmtmsg1.c: New file.
4443
4444 * stdlib/fmtmsg.c (init): Add missing unlock.
4445 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4446
e0a309cf
MP
44472012-01-12 Marek Polacek <polacek@redhat.com>
4448
4449 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4450 and _GNU_SOURCE.
4451
929d11c7
WS
44522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4453
4454 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4455 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4456 macro to ensure uniqueness of label name.
4457 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4458 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4459
41d0e869
UD
44602012-01-11 Ulrich Drepper <drepper@gmail.com>
4461
0cc5ed3b
UD
4462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4463
41d0e869
UD
4464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4465 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4468
a47a831a
UD
44692012-01-10 Ulrich Drepper <drepper@gmail.com>
4470
daa891c0
UD
4471 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4472
4473 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4474 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4476
e58ef0f2
UD
4477 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4478
a47a831a 4479 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4480 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4483
4484 * math/bits/math-finite.h: Add ldexp support.
4485
a0bfc9c7
MP
44862012-01-10 Marek Polacek <polacek@redhat.com>
4487
4488 * locale/programs/localedef.h (show_archive_content): Add noreturn
4489 attribute.
4490
d6e97a1d
UD
44912012-01-09 Ulrich Drepper <drepper@gmail.com>
4492
4493 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4494
d5835c26
UD
44952012-01-08 Ulrich Drepper <drepper@gmail.com>
4496
e5f484c6
UD
4497 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4498
d5835c26
UD
4499 * io/Makefile (headers): Add bits/poll2.h.
4500
d1f741e9
WS
45012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4502
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4504 typo #include statement.
4505
ec09c1c4
UD
45062012-01-08 Ulrich Drepper <drepper@gmail.com>
4507
4508 * include/sys/cdefs.h: Define __attribute_alloc_size.
4509 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4510 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4511 * elf/pldd.c: Likewise.
4512 * iconv/iconv_charmap.c: Likewise.
4513 * iconv/iconvconfig.c: Likewise.
4514 * iconv/strtab.c: Likewise.
4515 * locale/programs/locale.c: Likewise.
4516 * locale/programs/localedef.h: Likewise.
4517 * locale/programs/simple-hash.c: Likewise.
4518 * nscd/nscd.h: Likewise.
4519 * nss/makedb.c: Likewise.
4520 * sysdeps/generic/ldconfig.h: Likewise.
4521 * locale/programs/localedef.c: Remove xmalloc prototype.
4522 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4523
20b38e03
PP
45242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4525
4526 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4527 appropriate.
4528
a0da5fe1
UD
45292012-01-08 Ulrich Drepper <drepper@gmail.com>
4530
1d5a644a 4531 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4532 * math/tst-CMPLX.c: New file.
1d5a644a 4533
8784a6db
UD
4534 * math/complex.h (CMPLXL): Fix typo.
4535
d9a216c0
UD
4536 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4537 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4538 GLIBC_2.16.
4539 * debug/tst-chk1.c: Add poll and ppoll tests.
4540 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4541 * include/sys/poll.h: Add hidden proto for ppoll.
4542 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4543 * sysdeps/mach/hurd/ppoll.c: Likewise.
4544 * io/ppoll.c: Likewise.
4545 * debug/poll_chk.c: New file.
4546 * debug/ppoll_chk.c: New file.
4547 * include/bits/poll2.h: New file.
4548 * io/bits/poll2.h: New file.
4549
ac097f5c
UD
4550 [BZ #1350]
4551 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4552
2119dcfa
UD
4553 * configure.in: static is always set to yes. Remove.
4554 * config.make.in: Don't set build-static.
4555 * Makeconfig: Remove use of build-static.
4556 * dlfcn/Makefile: Likewise.
4557 * elf/Makefile: Likewise.
4558 * math/Makefile: Likewise.
4559 * misc/Makefile: Likewise.
4560 * nptl/Makefile: Likewise.
4561 * sysdeps/mach/hurd/Makefile: Likewise.
4562
121766a9
UD
4563 * configure.in: PWD_P is not used anymore.
4564 * config.make.in: Remove PWD_P entry.
4565
51a1d39c 4566 * configure.in: Remove last remnants of RANLIB.
8720d066 4567 No need to check for signed size_t anymore.
215f4bdc
UD
4568 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4569 and IA-64.
3857022a 4570 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4571 * aclocal.m4: Likewise.
4572
d3ed7225
UD
4573 * wcsmbs/mbrtoc16.c: Implement using towc function.
4574 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4575 * wcsmbs/wcsmbsload.c: Likewise.
4576 * iconv/gconv_simple.c: Likewise.
4577 * iconv/gconv_int.h: Likewise.
4578 * iconv/gconv_builtin.h: Likewise.
4579 * iconv/iconv_prog.c: Remove CHAR16 handling.
4580
4581 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4582
4583 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4584
a0da5fe1
UD
4585 * configure.in: Remove --with-elf and --enable-bounded options.
4586 Dont set base_machine for ia64. More non-ELF conditions removed.
4587 Remove testing and setting of leading underscore information.
4588 * config.make.in (build-bounded): Set to no.
4589 * config.h.in: Remove NO_UNDERSCORES entry.
4590 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4591 them.
4592 * csu/start.c: Remove !NO_UNDERSCORE code.
4593 * locale/localeinfo.h: Likewise.
4594 * sysdeps/generic/machine-gmon.h: Likewise.
4595 * sysdeps/generic/sysdep.h: Likewise.
4596 * sysdeps/i386/sysdep.h: Likewise.
4597 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4598 * sysdeps/mach/sysdep.h: Likewise.
4599 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4601 * sysdeps/sh/sysdep.h: Likewise.
4602 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4603 * sysdeps/unix/i386/sysdep.S: Likewise.
4604 * sysdeps/unix/sparc/start.c: Likewise.
4605 * sysdeps/unix/sparc/sysdep.S: Likewise.
4606 * sysdeps/unix/sparc/sysdep.h: Likewise.
4607 * sysdeps/unix/start.c: Likewise.
4608 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4609 * sysdeps/x86_64/sysdep.h: Likewise.
4610
df78418a
UD
46112012-01-07 Ulrich Drepper <drepper@gmail.com>
4612
a784e502
UD
4613 [BZ #13553]
4614 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4615 for non-gcc.
4616 * argp/argp-fmtstream.h: Use const instead __const.
4617 * argp/argp.h: Likewise.
4618 * assert/assert.h: Likewise.
4619 * bits/fenv.h: Likewise.
4620 * bits/sched.h: Likewise.
4621 * bits/sigset.h: Likewise.
4622 * bits/sigthread.h: Likewise.
4623 * catgets/nl_types.h: Likewise.
4624 * conform/data/pthread.h-data: Likewise.
4625 * crypt/crypt-private.h: Likewise.
4626 * crypt/crypt.h: Likewise.
4627 * crypt/crypt_util.c: Likewise.
4628 * ctype/ctype.h: Likewise.
4629 * debug/execinfo.h: Likewise.
4630 * debug/mbsnrtowcs_chk.c: Likewise.
4631 * debug/mbsrtowcs_chk.c: Likewise.
4632 * debug/wcsnrtombs_chk.c: Likewise.
4633 * debug/wcsrtombs_chk.c: Likewise.
4634 * debug/wcstombs_chk.c: Likewise.
4635 * dirent/dirent.h: Likewise.
4636 * dlfcn/dlfcn.h: Likewise.
4637 * elf/neededtest4.c: Likewise.
4638 * grp/grp.h: Likewise.
4639 * gshadow/gshadow.h: Likewise.
4640 * iconv/gconv.h: Likewise.
4641 * iconv/gconv_int.h: Likewise.
4642 * iconv/gconv_simple.c: Likewise.
4643 * iconv/iconv.h: Likewise.
4644 * iconv/loop.c: Likewise.
4645 * iconv/skeleton.c: Likewise.
4646 * include/aio.h: Likewise.
4647 * include/aliases.h: Likewise.
4648 * include/argz.h: Likewise.
4649 * include/arpa/inet.h: Likewise.
4650 * include/assert.h: Likewise.
4651 * include/dirent.h: Likewise.
4652 * include/dlfcn.h: Likewise.
4653 * include/execinfo.h: Likewise.
4654 * include/fcntl.h: Likewise.
4655 * include/fenv.h: Likewise.
4656 * include/glob.h: Likewise.
4657 * include/grp.h: Likewise.
4658 * include/libintl.h: Likewise.
4659 * include/mntent.h: Likewise.
4660 * include/netdb.h: Likewise.
4661 * include/pwd.h: Likewise.
4662 * include/rpc/netdb.h: Likewise.
4663 * include/sched.h: Likewise.
4664 * include/search.h: Likewise.
4665 * include/shadow.h: Likewise.
4666 * include/signal.h: Likewise.
4667 * include/stdio.h: Likewise.
4668 * include/stdlib.h: Likewise.
4669 * include/string.h: Likewise.
4670 * include/sys/socket.h: Likewise.
4671 * include/sys/stat.h: Likewise.
4672 * include/sys/statfs.h: Likewise.
4673 * include/sys/statvfs.h: Likewise.
4674 * include/sys/syslog.h: Likewise.
4675 * include/sys/time.h: Likewise.
4676 * include/sys/uio.h: Likewise.
4677 * include/time.h: Likewise.
4678 * include/unistd.h: Likewise.
4679 * include/utmp.h: Likewise.
4680 * include/wchar.h: Likewise.
4681 * include/wctype.h: Likewise.
4682 * inet/aliases.h: Likewise.
4683 * inet/arpa/inet.h: Likewise.
4684 * inet/netinet/ether.h: Likewise.
4685 * inet/netinet/in.h: Likewise.
4686 * intl/libintl.h: Likewise.
4687 * io/bits/fcntl2.h: Likewise.
4688 * io/fcntl.h: Likewise.
4689 * io/ftw.h: Likewise.
4690 * io/sys/poll.h: Likewise.
4691 * io/sys/stat.h: Likewise.
4692 * io/sys/statfs.h: Likewise.
4693 * io/sys/statvfs.h: Likewise.
4694 * io/utime.h: Likewise.
4695 * libio/bits/stdio.h: Likewise.
4696 * libio/bits/stdio2.h: Likewise.
4697 * libio/libio.h: Likewise.
4698 * libio/libioP.h: Likewise.
4699 * libio/stdio.h: Likewise.
4700 * locale/lc-ctype.c: Likewise.
4701 * locale/locale.h: Likewise.
4702 * login/utmp.h: Likewise.
4703 * malloc/arena.c: Likewise.
4704 * malloc/malloc.c: Likewise.
4705 * malloc/malloc.h: Likewise.
4706 * malloc/mcheck.c: Likewise.
4707 * malloc/mtrace.c: Likewise.
4708 * math/bits/mathcalls.h: Likewise.
4709 * math/fenv.h: Likewise.
4710 * math/math_private.h: Likewise.
4711 * misc/bits/error.h: Likewise.
4712 * misc/bits/syslog.h: Likewise.
4713 * misc/err.h: Likewise.
4714 * misc/error.h: Likewise.
4715 * misc/fstab.h: Likewise.
4716 * misc/mntent.h: Likewise.
4717 * misc/regexp.h: Likewise.
4718 * misc/search.h: Likewise.
4719 * misc/sgtty.h: Likewise.
4720 * misc/sys/mman.h: Likewise.
4721 * misc/sys/syslog.h: Likewise.
4722 * misc/sys/uio.h: Likewise.
4723 * misc/sys/xattr.h: Likewise.
4724 * misc/ttyent.h: Likewise.
4725 * nis/rpcsvc/ypclnt.h: Likewise.
4726 * nss/nss.h: Likewise.
4727 * posix/bits/unistd.h: Likewise.
4728 * posix/fnmatch.h: Likewise.
4729 * posix/glob.h: Likewise.
4730 * posix/sched.h: Likewise.
4731 * posix/spawn.h: Likewise.
4732 * posix/sys/wait.h: Likewise.
4733 * posix/unistd.h: Likewise.
4734 * posix/wordexp.h: Likewise.
4735 * pwd/pwd.h: Likewise.
4736 * resolv/netdb.h: Likewise.
4737 * resource/sys/resource.h: Likewise.
4738 * rt/aio.h: Likewise.
4739 * rt/bits/mqueue2.h: Likewise.
4740 * rt/mqueue.h: Likewise.
4741 * shadow/shadow.h: Likewise.
4742 * signal/signal.h: Likewise.
4743 * socket/send.c: Likewise.
4744 * socket/sendto.c: Likewise.
4745 * socket/sys/socket.h: Likewise.
4746 * stdio-common/printf.h: Likewise.
4747 * stdlib/bits/stdlib.h: Likewise.
4748 * stdlib/fmtmsg.h: Likewise.
4749 * stdlib/monetary.h: Likewise.
4750 * stdlib/stdlib.h: Likewise.
4751 * stdlib/ucontext.h: Likewise.
4752 * streams/stropts.h: Likewise.
4753 * string/argz.h: Likewise.
4754 * string/bits/string2.h: Likewise.
4755 * string/string.h: Likewise.
4756 * string/strings.h: Likewise.
4757 * sunrpc/rpc/auth.h: Likewise.
4758 * sunrpc/rpc/auth_des.h: Likewise.
4759 * sunrpc/rpc/clnt.h: Likewise.
4760 * sunrpc/rpc/netdb.h: Likewise.
4761 * sunrpc/rpc/pmap_clnt.h: Likewise.
4762 * sunrpc/rpc/xdr.h: Likewise.
4763 * sysdeps/generic/inttypes.h: Likewise.
4764 * sysdeps/generic/net/if.h: Likewise.
4765 * sysdeps/generic/sys/swap.h: Likewise.
4766 * sysdeps/gnu/net/if.h: Likewise.
4767 * sysdeps/gnu/utmpx.h: Likewise.
4768 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4769 * sysdeps/i386/i486/bits/string.h: Likewise.
4770 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4771 * sysdeps/s390/bits/string.h: Likewise.
4772 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4773 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4774 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4775 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4776 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4777 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4778 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4779 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4780 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4781 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4782 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4783 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4784 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4785 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4786 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4787 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4790 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4793 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4794 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4795 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4796 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4797 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4798 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4800 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4801 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4802 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4803 * sysvipc/sys/ipc.h: Likewise.
4804 * sysvipc/sys/msg.h: Likewise.
4805 * sysvipc/sys/sem.h: Likewise.
4806 * sysvipc/sys/shm.h: Likewise.
4807 * termios/termios.h: Likewise.
4808 * time/sys/time.h: Likewise.
4809 * time/time.h: Likewise.
4810 * wcsmbs/bits/wchar2.h: Likewise.
4811 * wcsmbs/uchar.h: Likewise.
4812 * wcsmbs/wchar.h: Likewise.
4813 * wctype/wctype.h: Likewise.
4814
0269750c
UD
4815 [BZ #13551]
4816 * Makeconfig: Remove all but ELF support including AIX support.
4817 * Makerules: Likewise.
4818 * config.h.in: Likewise.
4819 * config.make.in: Likewise.
4820 * configure: Likewise.
4821 * configure.in: Likewise.
4822 * csu/Makefile: Likewise.
4823 * csu/version.c: Likewise.
4824 * debug/Makefile: Likewise.
4825 * dlfcn/Makefile: Likewise.
4826 * elf/Makefile: Likewise.
4827 * extra-lib.mk: Likewise.
4828 * iconv/Makefile: Likewise.
4829 * include/libc-symbols.h: Likewise.
4830 * include/shlib-compat.h: Likewise.
4831 * resolv/Makefile: Likewise.
4832 * resolv/res_libc.c: Likewise.
4833 * rt/Makefile: Likewise.
4834 * sysdeps/i386/asm-syntax.h: Likewise.
4835 * sysdeps/i386/sysdep.h: Likewise.
4836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4837 * sysdeps/mach/sysdep.h: Likewise.
4838 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4839 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4840 * sysdeps/s390/asm-syntax.h: Likewise.
4841 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4843 * sysdeps/sh/sysdep.h: Likewise.
4844 * sysdeps/unix/sparc/sysdep.h: Likewise.
4845 * sysdeps/wordsize-32/divdi3.c: Likewise.
4846 * sysdeps/x86_64/sysdep.h: Likewise.
4847
00bbd29b
UD
4848 * argp/Versions: Remove _argp_unlock_xxx.
4849
4850 [BZ #13559]
4851 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4852 * abilist/libBrokenLocale.abilist: Likewise.
4853 * abilist/libanl.abilist: Likewise.
4854 * abilist/libc.abilist: Likewise.
4855 * abilist/libcrypt.abilist: Likewise.
4856 * abilist/libdl.abilist: Likewise.
4857 * abilist/libm.abilist: Likewise.
4858 * abilist/libnsl.abilist: Likewise.
4859 * abilist/libpthread.abilist: Likewise.
4860 * abilist/libresolv.abilist: Likewise.
4861 * abilist/librt.abilist: Likewise.
4862 * abilist/libthread_db.abilist: Likewise.
4863 * abilist/libutil.abilist: Likewise.
4864 * abilist/libnss_db.abilist: New file.
4865
4866 * scripts/abilist.awk: Add support for indirect functions.
4867
a2693a0e
UD
4868 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4869
3f05895f
UD
4870 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4871
ecb6fb48
UD
4872 * shlib-versions: Remove entries for ports architectures.
4873
664f8cb9
UD
4874 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4875 files in ports.
4876 * elf/stackguard-macros.h: Remove support for IA-64.
4877 * elf/tst-auditmod1.c: Likewise.
4878 * sysdeps/generic/ldsodefs.h: Likewise.
4879
7ae81d88
UD
4880 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4881 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4882 configure files.
4883
bdeba135
UD
4884 [BZ #13552]
4885 * configure.in: Remove --enable-omitfp support.
4886 * FAQ.in: Adjust.
4887 * config.make.in: Likewise.
4888 * Makeconfig: Likewise.
4889 * manual/install.texi: Likewise.
4890
d75a0a62
UD
4891 In case anyone cares, the IA-64 architecture could move to ports.
4892 * sysdeps/ia64/*: Removed.
4893 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4894 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4895
dcc9756b
UD
4896 [BZ #13555]
4897 * configure.in: Remove entries for unsupported architectures.
4898
d3761ebc 4899 [BZ #13533]
9954432e
UD
4900 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4901 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4902 routines.
4903 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4904 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4905 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4906 fall back to using wcrtomb.
4907 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4908 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4909 renaming.
4910 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4911 * wcsmbs/tst-c16c32-1.c: New file.
4912
4913 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4914 local variable.
4915
c3a87236
UD
4916 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4917
28926a1b
UD
4918 * elf/tst-unique3.cc: Add explicit declaration of gets.
4919 * elf/tst-unique3lib.cc: Likewise.
4920 * elf/tst-unique3lib2.cc: Likewise.
4921 * elf/tst-unique4.cc: Likewise.
4922
df78418a
UD
4923 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4924
8ecd6b2a
JM
49252012-01-06 Joseph Myers <joseph@codesourcery.com>
4926
4927 [BZ #13566]
4928 * assert/assert.h (static_assert): Don't define for C++.
4929 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4930 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4931
9f115170
UD
49322012-01-03 Ulrich Drepper <drepper@gmail.com>
4933
5e0d0300
UD
4934 * iconv/loop.c (single loop): Fix assertion in storing of
4935 remaining bytes.
4936
9f115170
UD
4937 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4938
81fb02b0
UD
49392012-01-01 Ulrich Drepper <drepper@gmail.com>
4940
4941 * posix/getconf.c: Update copyright year.
4942 * nss/getent.c: Likewise.
a316c1f6 4943 * nss/makedb.c: Likewise.
81fb02b0
UD
4944 * iconv/iconvconfig.c: Likewise.
4945 * iconv/iconv_prog.c: Likewise.
4946 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4947 * elf/pldd.c: Likewise.
4948 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4949 * catgets/gencat.c: Likewise.
4950 * csu/version.c: Likewise.
4951 * elf/ldd.bash.in: Likewise.
4952 * elf/sprof.c (print_version): Likewise.
4953 * locale/programs/locale.c: Likewise.
4954 * locale/programs/localedef.c: Likewise.
a316c1f6 4955 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4956 * nscd/nscd.c (print_version): Likewise.
4957 * debug/xtrace.sh: Likewise.
4958 * malloc/memusage.sh: Likewise.
4959 * malloc/mtrace.pl: Likewise.
4960 * debug/catchsegv.sh: Likewise.
4961
2ba92745
JJ
49622011-12-30 Jakub Jelinek <jakub@redhat.com>
4963
4964 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4965 pure attribute.
4966
dadebdae
UD
49672011-12-24 Ulrich Drepper <drepper@gmail.com>
4968
d3761ebc 4969 [BZ #13533]
db6af3eb
UD
4970 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4971 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4972 transformations.
4973 * iconv/gconv_int.h: Likewise.
4974 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4975 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4976 from libc for GLIBC_2.16.
4977 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4978 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4979 * wcsmbs/uchar.h: Really define mbstate_t.
4980 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4981 * wcsmbs/c16rtomb.c: New file.
4982 * wcsmbs/mbrtoc16.c: New file.
4983 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4984 for C/POSIX locale.
4985 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4986 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4987
dadebdae
UD
4988 * wcsmbs/wchar.h: Add missing __restrict.
4989
67371b56
UD
49902011-12-23 Ulrich Drepper <drepper@gmail.com>
4991
74033a25
UD
4992 [BZ #13532]
4993 * time/Makefile (routines): Add timespec_get.
4994 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4995 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4996 timespec for ISO C11.
4997 * time/timespec_get.c: New file.
4998 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4999 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5000
380d7e87
UD
5001 [BZ #13531]
5002 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5003 * stdlib/stdlib.h: Declare aligned_alloc.
5004 * Versions.def: Add GLIBC_2.16 for libc.
5005 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5006
4e9e7a35
UD
5007 [BZ 13527]
5008 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5009 ISO C11.
5010
380d7e87 5011 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5012 code.
5013
03a71829
UD
5014 [BZ #13528]
5015 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5016
839e283e
UD
5017 [BZ #13529]
5018 * assert/assert.h (static_assert): Define.
5019
ce5294e2 5020 * version.h: Update for 2.16 development version.
90fa7312 5021
8d44e150 5022 [BZ #13526]
d7809905
UD
5023 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5024 _ISOC11_SOURCE.
5025
c0da14cd
UD
5026 * version.h (RELEASE): Bump for 2.15 release.
5027 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5028
530a3249
MP
5029 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5030 Patch by Marek Polacek <mpolacek@redhat.com>.
5031
67371b56
UD
5032 * bits/byteswap.h: Protect long long constants with __extension__.
5033 * sysdeps/i386/bits/byteswap.h: Likewise.
5034 * sysdeps/ia64/bits/byteswap.h: Likewise.
5035 * sysdeps/s390/bits/byteswap.h: Likewise.
5036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5037
15db4de1
LD
50382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5039
5040 [BZ #13540]
bbe315ea
LD
5041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5042 destination buffer.
15db4de1
LD
5043 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5044
2b2596b1
MP
50452011-12-23 Marek Polacek <polacek@redhat.com>
5046
5047 * elf/dl-addr.c (determine_info): Add inline keyword.
5048 * elf/tst-auditmod4b.c (check_avx): Likewise.
5049 * elf/tst-auditmod6b.c (check_avx): Likewise.
5050 * elf/tst-auditmod6c.c (check_avx): Likewise.
5051 * elf/tst-auditmod7b.c (check_avx): Likewise.
5052
70c6c246
UD
50532011-12-23 Ulrich Drepper <drepper@gmail.com>
5054
5055 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5056 !__SSE_MATH__.
5057
c044cf14
LD
50582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5059
15db4de1 5060 [BZ #13540]
c044cf14
LD
5061 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5062 processing for last bytes.
5063
6b13d9d9
BH
50642011-08-06 Bruno Haible <bruno@clisp.org>
5065
d455f537
BH
5066 [BZ #13061]
5067 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5068 U+0385, not to U+1FEE.
5069
6b13d9d9
BH
5070 [BZ #13062]
5071 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5072 entry for U+00A5 U+0301.
5073
db910efd
UD
50742011-12-22 Ulrich Drepper <drepper@gmail.com>
5075
27deeafc
UD
5076 [BZ #13166]
5077 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5078 buffer for the output is too small.
5079
aed9d171
UD
5080 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5081 optimization.
5082
db910efd
UD
5083 [BZ #13185]
5084 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5085 SSE flags if possible.
5086
2bd779ae
LD
50872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5088
e7f9dac3 5089 [BZ #13540]
2bd779ae
LD
5090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5091 processing for last bytes.
5092
154bfc16
JM
50932011-12-22 Joseph Myers <joseph@codesourcery.com>
5094
5095 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5096 (syscall-list-default-options, syscall-list-default-condition)
5097 (syscall-list-includes): Define.
5098 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5099 list of ABIs and options and #if conditions for each ABI. Do not
5100 handle common syscalls between ABIs specially.
5101 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5102 Remove.
5103 (syscall-list-variants, syscall-list-32bit-options)
5104 (syscall-list-32bit-condition, syscall-list-64bit-options)
5105 (syscall-list-64bit-condition): Define.
5106 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5107 (syscall-list-variants, syscall-list-32bit-options)
5108 (syscall-list-32bit-condition, syscall-list-64bit-options)
5109 (syscall-list-64bit-condition): Define.
5110 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5111 Remove.
5112 (syscall-list-variants, syscall-list-32bit-options)
5113 (syscall-list-32bit-condition, syscall-list-64bit-options)
5114 (syscall-list-64bit-condition): Define.
5115 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5116 Remove.
5117 (syscall-list-variants, syscall-list-32bit-options)
5118 (syscall-list-32bit-condition, syscall-list-64bit-options)
5119 (syscall-list-64bit-condition): Define.
5120
21eaf3a5
UD
51212011-12-22 Ulrich Drepper <drepper@gmail.com>
5122
16c6f992
UD
5123 * locale/iso-639.def: Add brx entry.
5124
41043168
UD
5125 [BZ #13328]
5126 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5127 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5128
21eaf3a5
UD
5129 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5130 __feraiseexcept_renamed.
5131
e3a851a2
UD
51322011-12-21 Ulrich Drepper <drepper@gmail.com>
5133
4920765e
UD
5134 [BZ #13538]
5135 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5136 EPOLLET with unsigned values.
5137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5139
e3a851a2
UD
5140 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5141 to large cancellation.
5142 * math/s_cacoshf.c: Likewise.
5143 * math/s_cacoshl.c: Likewise.
5144
b27e24b8
RK
51452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5146
5147 [BZ #13305]
aebefeee 5148 [BZ #12786]
b27e24b8
RK
5149 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5150 * math/s_cacoshf.c: Likewise.
5151 * math/s_cacoshl.c: Likewise.
5152
ee190f67
UD
51532011-12-21 Ulrich Drepper <drepper@gmail.com>
5154
5155 [BZ #13439]
5156 * iconv/gconv.h: Define __GCONV_SWAP.
5157 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5158 * iconvdata/utf-16.c: Likewise.
5159 * iconvdata/utf-32.c: Likewise.
5160
707f25df
AS
51612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5162
5163 [BZ #13524]
5164 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5165 numerator after shifting it by one limb.
5166
d2daaa1e
RÁE
51672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5168
5169 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5170 under [__USE_EXTERN_INLINES].
5171
a4647e72
UD
51722011-12-17 Ulrich Drepper <drepper@gmail.com>
5173
5174 [BZ #13446]
5175 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5176
f0b264f1
AZ
51772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5178
5179 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5180 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5181 optimized code.
5182 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5183 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5184 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5185 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5186 for strncasecmp/strncasecmp_l compilation.
5187 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5188 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5189
8ef4f244
MP
51902011-12-08 Marek Polacek <mpolacek@redhat.com>
5191
5192 [BZ #13484]
5193 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5194 of __asm__.
5195
97ac2654
UD
51962011-12-17 Ulrich Drepper <drepper@gmail.com>
5197
5198 [BZ #13506]
5199 * time/tzfile.c (__tzfile_read): Check values from file header.
5200
91d2a845
WS
52012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5202
5203 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5204 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5205 * powerpc/powerpc32/dl-start.S: Likewise.
5206 * powerpc/powerpc32/elf/start.S: Likewise.
5207 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5208 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5209 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5210 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5211 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5212 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5213 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5214 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5215 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5216 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5217 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5218 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5219 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5220 * powerpc/powerpc32/memset.S: Likewise.
5221 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5222 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5223 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5224 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5225 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5226 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5227 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5228 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5229 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5230 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5231 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5232 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5233 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5234
a1267ba1
AZ
52352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236
5237 * math/libm-test.inc: Added more nearbyint tests.
5238 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5241 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5242
ad8ac1bd
RL
52432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5244
5245 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5246 FD_CLOEXEC.
5247
1d3e4b61
UD
52482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5249
5250 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5251 Add wcscpy-ssse3 wcscpy-c.
5252 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5253 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5254 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5255 * sysdeps/x86_64/wcschr.S: New file.
5256 * sysdeps/x86_64/wcsrchr.S: New file.
5257 * string/test-strcmp.c: Remove checking of wcscmp function for
5258 wrong alignments.
5259 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5260 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5261 wcsrchr-sse2 wcsrchr-c.
5262 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5263 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5264 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5265 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5266 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5267 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5268 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5269 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5270 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5271 * wcsmbc/wcschr.c (WCSCHR): New macro.
5272
5b330a2d
UD
52732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5274
5275 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5276 * wcsmbs/test-wcsrchr.c: New file.
5277 * string/test-strrchr.c: Add wcsrchr support.
5278 (WIDE): New macro.
5279 * wcsmbs/test-wcscpy.c: New file.
5280 * string/test-strcpy.c: Add wcscpy support.
5281 (WIDE): New macro.
26428b7c 5282
f039c043
UD
52832011-12-10 Ulrich Drepper <drepper@gmail.com>
5284
5285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5286 the inner loop.
5287
850fb039
AS
52882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5289
5290 [BZ #13472]
5291 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5292
4efbd5cb
UD
52932011-12-04 Ulrich Drepper <drepper@gmail.com>
5294
52ff5dd0 5295 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5296 Minor optimizations.
52ff5dd0 5297
4efbd5cb
UD
5298 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5299 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5300 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5301
8a426e12
UD
53022011-12-03 Ulrich Drepper <drepper@gmail.com>
5303
aff2453d
UD
5304 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5305 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5306 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5307 for gcc to avoid warnings.
5308 * inet/Makefile (tests): Add tst-checks.
5309 * inet/tst-checks.c: New file.
5310
5311 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5312 warning.
5313
5314 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5315 __wmemcmp_sse2.
5316
5317 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5318 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5319
8a426e12
UD
5320 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5321
9bea3473
UD
53222011-12-02 Ulrich Drepper <drepper@gmail.com>
5323
3a965496
UD
5324 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5325 problem.
5326
9bea3473
UD
5327 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5328
f101631b
UD
53292011-11-29 Joseph Myers <joseph@codesourcery.com>
5330
5331 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5332 conditional on GCC version.
5333 (__arch_compare_and_exchange_val_8_acq)
5334 (__arch_compare_and_exchange_val_16_acq)
5335 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5336 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5337 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5338
a98275aa
UD
53392011-12-02 Joseph Myers <joseph@codesourcery.com>
5340
5341 * sysdeps/sh/backtrace.c: New file.
5342
d4cc29a2
AS
53432011-12-02 Andreas Schwab <schwab@redhat.com>
5344
5345 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5346 parenthesis.
5347
6257af2d
AS
53482011-12-01 Andreas Schwab <schwab@redhat.com>
5349
5350 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5351 falling back to utime.
5352
b5f44c1a
AS
53532011-11-30 Andreas Schwab <schwab@redhat.com>
5354
5355 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5356 expectations for float.
5357
f3a6cc0a
AS
53582011-11-29 Andreas Schwab <schwab@redhat.com>
5359
5360 * locale/weight.h (findidx): Add parameter len.
5361 * locale/weightwc.h (findidx): Likewise.
5362 * posix/fnmatch_loop.c (FCT): Adjust caller.
5363 * posix/regcomp.c (build_equiv_class): Likewise.
5364 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5365 * posix/regexec.c (check_node_accept_bytes): Likewise.
5366 * string/strcoll_l.c (STRCOLL): Likewise.
5367 * string/strxfrm_l.c (STRXFRM): Likewise.
5368
9d65ea3a
UD
53692011-11-17 Ulrich Drepper <drepper@gmail.com>
5370
5371 * Makefile.in: Remove CVSOPT handling.
5372 * configure.in: Remove use of AC_REVISION.
5373 * iconvdata/Makefile (distribute): No need to filter out CVS.
5374 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5375 handling.
5376
5583a086
AS
53772011-11-16 Andreas Schwab <schwab@redhat.com>
5378
5379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5380 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5381 [USE_AS_STRNCASECMP_L]: Likewise.
5382 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5383 NO_TLS_DIRECT_SEG_REFS.
5384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5385 Fix argument offsets for non-PIC.
5386 [USE_AS_STRNCASECMP_L]: Likewise.
5387 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5388 NO_TLS_DIRECT_SEG_REFS.
5389
d62a8200
UD
53902011-11-15 Ulrich Drepper <drepper@gmail.com>
5391
9d65ea3a 5392 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5393 O_CLOEXEC.
5394 * locale/loadlocale.c (_nl_load_locale): Likewise.
5395
09f93bd3
AS
53962011-11-15 Andreas Schwab <schwab@redhat.com>
5397
446514f9
AS
5398 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5399 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5400 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5401 (SYSCALL_GETTIME): Set errno on error.
5402
09f93bd3
AS
5403 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5404 count references to noai6ai_cached.
5405
312be3f9
UD
54062011-11-15 Ulrich Drepper <drepper@gmail.com>
5407
5408 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5409
5410 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5411 FD_CLOEXEC for /proc/self/maps.
5412
5413 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5414 FD_CLOEXEC for /proc/meminfo.
5415
5416 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5417 gai.conf.
5418
5419 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5420 FD_CLOEXEC for given file.
5421
5422 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5423
5424 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5425 FD_CLOEXEC for /etc/hosts.
5426 (_gethtent): Likewise.
5427
5428 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5429
5430 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5431 cancellation and set FD_CLOEXEC for /etc/netgroup.
5432
5433 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5434 reading /etc/publickey.
5435
5436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5437 allow cancellation when reading /etc/group.
5438
5439 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5440 cancellation.
5441 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5442
5443 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5444 when using data file.
5445
5446 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5447
5448 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5449 (write_nis_obj): Use "c" and "e" in fopen.
5450
5451 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5452
5453 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5454
5455 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5456
5457 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5458
5459 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5460 locale.alias.
5461
5462 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5463
5464 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5465
5466 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5467
5468 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5469 file parsing and set FD_CLOEXEC.
5470
82af0fa8
UD
54712011-11-14 Ulrich Drepper <drepper@gmail.com>
5472
5473 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5474
a5fb313c
AS
54752011-11-14 Andreas Schwab <schwab@redhat.com>
5476
5477 * malloc/arena.c (arena_get2): Don't call reused_arena when
5478 _int_new_arena failed.
5479
6abf3465
UD
54802011-11-14 Ulrich Drepper <drepper@gmail.com>
5481
5482 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5483 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5485 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5487 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5488 to compile strcasecmp and strncasecmp.
5489 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5490 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5491
5492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5493
76e3966e
UD
54942011-11-13 Ulrich Drepper <drepper@gmail.com>
5495
5496 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5497 locale-defines.sym to gen-as-const-headers.
5498 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5499 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5501 to compile strcasecmp and strncasecmp.
5502 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5503 strcasecmp_l and strncasecmp_l.
5504 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5505 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5506 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5507 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5508 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5509 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5510 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5511 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5512 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5513 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5514 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5515
ab26144e
UD
55162011-11-12 Ulrich Drepper <drepper@gmail.com>
5517
7edb22ef
UD
5518 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5519 result of SYSDEP_GETTIME_CPU to retval.
5520 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5521 parameter list to macro. Remove trailing semicolon. Adjust users.
5522
9694fc44
UD
5523 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5524 variable.
5525
8ad89ef8
UD
5526 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5527 mantissa words.
5528 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5529
0c822ef9
UD
5530 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5531 from unused variable.
5532
874e0564
UD
5533 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5534 DWARF definitions.
5535 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5536 for assembling.
5537
3a2edc79
UD
5538 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5539 over namespaces.
5540
f3c2577f
UD
5541 * sunrpc/rpc_prot.c (rejected): Fix case value.
5542
294ce126
UD
5543 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5544 unsigned long long int to avoid warnings in shift.
5545
5e2b63c6
UD
5546 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5547 of use of trans.
5548 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5549 variable tmp.
5550
e7f4b08e
UD
5551 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5552 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5553 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5554
ab26144e
UD
5555 * nis/nis_table.c (nis_list): Use variable of correct type for
5556 result of __follow_path call.
5557
8a6d5255
AZ
55582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559
5560 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5561 of math functions ceil, trunc, floor, round, and sqrt, when
5562 avaliable on the platform.
5563 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5564 name clash.
5565 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5566 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5567 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5568
aaddc98c
MP
55692011-10-30 Marek Polacek <mpolacek@redhat.com>
5570
5571 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5572 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5573
95b7042b
RM
55742011-11-11 Roland McGrath <roland@hack.frob.com>
5575
5576 * include/unistd.h: Fix __readlink return type.
5577 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5578
57769839
UD
55792011-11-11 Ulrich Drepper <drepper@gmail.com>
5580
5581 * stdlib/ucontext.h: Undo last change for makecontext.
5582
edc5984d
AS
55832011-11-11 Andreas Schwab <schwab@redhat.com>
5584
98591e58
AS
5585 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5586
edc5984d
AS
5587 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5588 * setjmp/setjmp.h: Mark functions as non-leaf.
5589 * setjmp/bits/setjmp2.h: Likewise.
5590 * stdlib/ucontext.h: Likewise.
5591
77cdc054
AS
55922011-11-10 Andreas Schwab <schwab@redhat.com>
5593
5594 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5595 (reused_arena): Don't check arena limit.
5596 (arena_get2): Atomically check arena limit.
5597
fe72eebd
UD
55982011-11-08 Ulrich Drepper <drepper@gmail.com>
5599
5f078c32
UD
5600 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5601 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5602
fe72eebd
UD
5603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5604 instructions.
5605
ae1bc2fa
AS
56062011-11-07 Andreas Schwab <schwab@redhat.com>
5607
7583a88d
AS
5608 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5609 handler when locking.
5610
ae1bc2fa
AS
5611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5612 Fix size of allocated buffer.
5613
10fb0bfa
AS
56142011-11-04 Andreas Schwab <schwab@redhat.com>
5615
998832a4
AS
5616 [BZ #10103]
5617 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5618 declarations for long double functions.
5619 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5620
10fb0bfa
AS
5621 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5622
3d7ba52b
AS
56232011-11-03 Andreas Schwab <schwab@redhat.com>
5624
a9ae54a1
AS
5625 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5626 installed.
5627
3d7ba52b
AS
5628 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5629 is disabled.
5630
bc8db248
ST
56312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5632
5633 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5634
45b96dd6
AS
56352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5636
647776f6
AS
5637 * include/alloca.h (stackinfo_alloca_round): Define.
5638 (extend_alloca): Use it.
5639 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5640 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5641 here.
5642
d91a8b93
AS
5643 * scripts/check-local-headers.sh: Ignore libaudit.h.
5644
45b96dd6
AS
5645 * nscd/Makefile (extra-objs): Make recursively expanded.
5646
432d41ce
UD
56472011-11-01 Ulrich Drepper <drepper@gmail.com>
5648
34372fc6
UD
5649 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5651
fadb59f8
UD
5652 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5653 * posix/tst-rfc3484-2.c: Likewise.
5654 * posix/tst-rfc3484-3.c: Likewise.
5655
78239589
UD
5656 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5657 process_vm_writev.
5658 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5659 process_vm_writev.
5660 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5661 process_vm_writev from libc using GLIBC_2.15 version.
5662
432d41ce
UD
5663 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5664
02f9c6cf
PP
56652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5666
5667 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5668 stack usage.
5669
3a2c0242
UD
56702011-10-31 Ulrich Drepper <drepper@gmail.com>
5671
f4ec4833
UD
5672 [BZ #13367]
5673 * nss/getent.c (initgroups_keys): Show error message in case no group
5674 names are given.
5675
3a2c0242
UD
5676 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5677 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5678 __bump_nl_timestamp.
5679 * nscd/connections (nscd_init): When host database is served open
5680 netlink socket and request notification about configuration changes.
5681 (main_loop_poll): Track netlink file descriptor and bump timestamp
5682 in case data becomes available.
5683 (main_loop_epoll): Likewise.
5684 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5685 (database_pers_head): Add extra_data fileds.
5686 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5687 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5688 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5689 Adjust caller.
5690 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5691 in6ai data, call __free_in6ai.
5692 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5693 Add -DHAVE_NETLINK.
5694 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5695 interface information. Reuse previous data if netlink timestamp
5696 is not changed.
5697 (__bump_nl_timestamp): New function.
5698 (__free_in6ai): New function.
5699
636064eb
UD
57002011-10-30 Ulrich Drepper <drepper@gmail.com>
5701
5702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5703 close_not_cancel_no_status here.
5704 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5705
9beb2334
UD
57062011-10-29 Ulrich Drepper <drepper@gmail.com>
5707
6ef76f3b
UD
5708 [BZ #13276]
5709 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5710 return value.
5711
0ffc4f3e 5712 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5713 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5714 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5715
cb95113e
UD
57162011-07-03 Andreas Jaeger <aj@suse.de>
5717
5718 [BZ #10709]
5719 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5720 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5721 * math/libm-test.inc (sin_test): Add test case.
5722
a1b560ff
UD
57232011-10-29 Ulrich Drepper <drepper@gmail.com>
5724
c9aaface
UD
5725 [BZ #13337]
5726 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5727 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5728
d272e7f1
UD
5729 * elf/chroot_canon.c (chroot_canon): Cleanups.
5730
1bc33071
UD
5731 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5732
1760874d
TJ
5733 [BZ #13335]
5734 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5735 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5736
51d91b18
UD
5737 * string/test-strchr.c: Make usable for strchrnul testing.
5738 * string/test-strchrnul.c: New file.
5739 * string/Makefile (strop-tests): Add strchrnul.
5740
a1b560ff 5741 * po/it.po: Update from translation team.
b611fb81 5742 * po/es.po: Likewise.
a1b560ff 5743
a5b81e1f
UD
57442011-10-28 Ulrich Drepper <drepper@gmail.com>
5745
fd52bc6d
UD
5746 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5747 the three constants needed as parameters. Drop the others.
5748 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5749 __m128i_strloadu_tolower.
52e4b9eb
UD
5750 Create and initialize variable zero and use it in all the places
5751 where _mm_setzero_si128 was used.
fd52bc6d 5752
a5b81e1f
UD
5753 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5754 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5755 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5757 anymore.
5758 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5759 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5760 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5761 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5762 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5763 __mpranred, __mptan.
5764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5768 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5769 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5770 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5771 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5772 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5773
b4343346
AS
57742011-10-28 Andreas Schwab <schwab@redhat.com>
5775
0c92d8a8
AS
5776 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5777 redefine if SHARED.
5778 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5779
b4343346
AS
5780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5781 wide char related routines to wcsmbs subdir.
5782
3871f58f
AS
57832011-10-27 Andreas Schwab <schwab@redhat.com>
5784
5785 [BZ #13344]
5786 * misc/sys/cdefs.h (__THROWNL): Define.
5787 * posix/unistd.h: Use __THREADNL instead of __THREAD
5788 for memory synchronization functions.
5789
94d44d9f
RM
57902011-10-26 Roland McGrath <roland@hack.frob.com>
5791
21b64b15 5792 [BZ #13349]
94d44d9f
RM
5793 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5794 doesn't exist.
5795 * manual/stdio.texi (Obstack Streams): Node removed.
5796
f6ce9294
AS
57972011-10-26 Andreas Schwab <schwab@redhat.com>
5798
80479147
AS
5799 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5800 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5801 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5802
f6ce9294
AS
5803 * math/math_private.h (math_force_eval): Allow non-addressable
5804 arguments.
5805 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5806
618280a1
UD
58072011-10-25 Ulrich Drepper <drepper@gmail.com>
5808
e0016b11
UD
5809 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5810 file is not needed.
5811
5812 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5814 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5815 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5819 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5820 Add AVX variants.
5821 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5822 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5823 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5824 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5825 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5826 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5827 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5828 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5829 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5830 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5831 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5832 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5833 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5834 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5835 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5836 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5837 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5838 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5839 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5840
5841 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5842 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5843
618280a1
UD
5844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5845 place. Use VEX encoding when compiling for AVX.
5846
37822576
AS
58472011-10-25 Andreas Schwab <schwab@redhat.com>
5848
1f1e1947
AS
5849 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5850 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5851
37822576
AS
5852 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5853
31ea014d
UD
58542011-10-25 Ulrich Drepper <drepper@gmail.com>
5855
d7826aa1 5856 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5857 useless if() expression.
d7826aa1
UD
5858 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5859 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5866 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5867 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5868 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5869 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5870 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5871 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5872 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5873 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5874 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5875 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5876 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5877
31ea014d
UD
5878 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5879
16437fec
AS
58802011-10-25 Andreas Schwab <schwab@redhat.com>
5881
5882 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5883 condition.
5884 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5885
31d3cc00
UD
58862011-10-25 Ulrich Drepper <drepper@gmail.com>
5887
5888 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5889 .text section. Avoid duplicate constants.
5890 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5900 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5902 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5907 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5913 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5914 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5915 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5916 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5919 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5920 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5921 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5922 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5923 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5924 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5925 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5926 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5928 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5929 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5930 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5931 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5932 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5933 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5934 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5935
58985aa9
UD
59362011-10-24 Ulrich Drepper <drepper@gmail.com>
5937
202c9deb
UD
5938 * sysdeps/x86_64/dla.h: Move to ...
5939 * sysdeps/x86_64/fpu/dla.h: ...here.
5940 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5941 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5942
af968f62
UD
5943 * config.make.in: Add have-mfma4 entry.
5944 * configure.in: Substitute libc_cv_cc_fma4.
5945 * math/Makefile (dbl-only-routines): Add sincostab.
5946 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5947 Use __sincostab not sincos.
5948 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5949 name is a macro.
5950 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5954 using __copysign.
5955 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5956 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5957 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5958 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5959 and __inv.
5960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5961 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5962 __copysign.
5963 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5964 define aliases when function name is a macro.
5965 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5966 sysdeps/ieee754/dbl-64/sincos.tbl.
5967 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5968 fma4-enabled routines.
5969 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5970 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5971 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5972 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5973 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5974 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5975 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5979 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5980 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5981 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5982 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5983 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5984 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5985 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5986 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5987 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5989 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5990 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5992 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5994 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5996 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5997 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5998 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5999
58985aa9
UD
6000 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6001 rename.
6002 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6010
a201fbcf
AS
60112011-10-24 Andreas Schwab <schwab@redhat.com>
6012
6013 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6014
fc2ee42a
LD
60152011-10-23 Ulrich Drepper <drepper@gmail.com>
6016
bb3129bd
UD
6017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6018
0275fff8
UD
6019 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6020 prediction.
6021 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6022
2fa2ae85
UD
6023 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6024 Remove unused variable magic_bits.
6025 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6026
fc2ee42a
LD
6027 * string/strnlen.c: Define and use STRNLEN macro.
6028 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6029 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6031 * wcsmbs/wcslen.c: Define and use WCSLEN.
6032 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6033 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6034 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6035 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6036 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6037 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6038 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6039
ce7dd29f
LD
60402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6041
6042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6043 strnlen-sse2-no-bsf.
6044 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6046 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6047 Add strnlen support.
6048 (USE_AS_STRNLEN): New macro.
6049 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6050 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6051 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6052 * sysdeps/x86_64/wcslen.S: New file.
6053
979c70a3
MZ
60542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6055
6056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6057 XMM-moves are used for copying on small sizes.
6058
2d09f82f
LD
60592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6060
6061 * wcsmbs/Makefile (strop-tests): Add wcschr.
6062 * wcsmbs/test-wcschr.c: New file.
6063 * string/test-strchr.c: Update.
6064 Add wcschr support.
6065 (WIDE): New macro.
6066
619fccca
LD
60672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6068
2d09f82f 6069 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6070 * wcsmbs/test-wcslen.c: New file.
6071 * string/test-strlen.c: Update.
6072 Add wcslen support.
6073 (WIDE): New macro.
6074
09f699ea
UD
60752011-10-23 Ulrich Drepper <drepper@gmail.com>
6076
6077 * po/it.po: Update from translation team.
6078
95584d3b
LD
60792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6080
6081 * sysdeps/x86_64/wcscmp.S: Update.
6082 Fix wrong comparison semantics.
6083 wcscmp shall use signed comparison not unsigned.
6084 Don't use substraction to avoid overflow bug.
6085 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6086 * wcsmbc/wcscmp.c: Likewise.
6087 * string/test-strcmp.c: Likewise.
6088 Add new tests to check cases with negative values.
6089
c8b3296b
UD
60902011-10-23 Ulrich Drepper <drepper@gmail.com>
6091
6092 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6093 * sysdeps/x86_64/dla.h: ...here. New file.
6094 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6095 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6103
246ad57a
AS
61042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6105
6106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6107 __ynl_finite aliases.
6108
a1a87169
UD
61092011-10-22 Ulrich Drepper <drepper@gmail.com>
6110
0d355eb7
UD
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6112
a1a87169
UD
6113 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6114 define DLA_FMA.
6115 [DLA_FMA] (EMULV): Use DLA_FMA.
6116 [DLA_FMA] (MUL12): Use EMULV.
6117 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6118 that are not needed.
6119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6126
ee2aafe0
AS
61272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6128
6129 * math/s_nan.c: Undef __nan.
6130 * math/s_nanf.c: Undef __nanf.
6131 * math/s_nanl.c: Undef __nanl.
6132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6133 "math_private.h".
6134
bc62c2fb
UD
61352011-10-22 Ulrich Drepper <drepper@gmail.com>
6136
77425c63
UD
6137 * math/s_catan.c: Add branch predictions.
6138 * math/s_catanf.c: Likewise.
6139 * math/s_catanh.c: Likewise.
6140 * math/s_catanhf.c: Likewise.
6141 * math/s_catanhl.c: Likewise.
6142 * math/s_catanl.c: Likewise.
6143 * math/s_cexp.c: Likewise.
6144 * math/s_cexpf.c: Likewise.
6145 * math/s_cexpl.c: Likewise.
6146 * math/s_clog.c: Likewise.
6147 * math/s_clog10.c: Likewise.
6148 * math/s_clog10f.c: Likewise.
6149 * math/s_clog10l.c: Likewise.
6150 * math/s_clogf.c: Likewise.
6151 * math/s_clogl.c: Likewise.
6152 * math/s_csqrt.c: Likewise.
6153 * math/s_csqrtf.c: Likewise.
6154 * math/s_csqrtl.c: Likewise.
6155 * math/s_ctanf.c: Likewise.
6156 * math/s_ctanh.c: Likewise.
6157 * math/s_ctanhf.c: Likewise.
6158 * math/s_ctanhl.c: Likewise.
6159 * math/s_ctanl.c: Likewise.
6160
bc62c2fb
UD
6161 * math/math_private.h: Define __nan, __nanf, __nanl.
6162 * math/s_cacosh.c: Include <math_private.h>.
6163 * math/s_cacoshl.c: Likewise.
6164 * math/s_casinh.c: Likewise.
6165 * math/s_casinhf.c: Likewise.
6166 * math/s_casinhl.c: Likewise.
6167 * math/s_ccos.c: Rely entire on ccosh.
6168 * math/s_ccosf.c: Rely entire on ccoshf.
6169 * math/s_ccosl.c: Rely entirely on ccoshl.
6170 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6171 Remove tests for FE_INVALID.
6172 * math/s_ccoshf.c: Likewise.
6173 * math/s_ccoshl.c: Likewise.
6174 * math/s_csin.c: Likewise.
6175 * math/s_csinf.c: Likewise.
6176 * math/s_csinh.c Likewise.
6177 * math/s_csinhf.c: Likewise.
6178 * math/s_csinhl.c: Likewise.
6179 * math/s_csinl.c: Likewise.
6180 * math/s_ctan.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6182 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6184
8ec250a4
UD
61852011-10-21 Ulrich Drepper <drepper@gmail.com>
6186
c196fed8
UD
6187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6188 compilation problems.
6189
8ec250a4
UD
6190 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6191 __builtin_expect.
6192
8d4f46c6
UD
61932011-10-20 Ulrich Drepper <drepper@gmail.com>
6194
ed72b654
UD
6195 * sysdeps/i386/configure.in: Test for -mfma4 option.
6196 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6197 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6198 COMMON_CPUID_INDEX_80000001.
6199 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6200 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6201 use it if FMA3 is not supported.
6202 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6203
8d4f46c6
UD
6204 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6205 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6206
d45c60c2
AS
62072011-10-20 Andreas Schwab <schwab@redhat.com>
6208
6209 [BZ #12892]
6210 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6211 it would create a cycle with a link time dependency.
6212
d9a4d2ab
UD
62132011-10-19 Ulrich Drepper <drepper@gmail.com>
6214
855d1560
UD
6215 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6216 instruction.
6217 * string/Makefile (strop-tests): Add rawmemchr.
6218 * string/test-rawmemchr.c: New file.
6219
d9a4d2ab
UD
6220 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6221 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6222 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6223 when compiling str{,n}casecmp and when AVX is available. Hook up
6224 new optimized code in initializers.
6225
8f3b1ffe
AS
62262011-10-19 Andreas Schwab <schwab@redhat.com>
6227
6228 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6229 __feraiseexcept instead of feraiseexcept.
6230
d38f1dba
UD
62312011-10-18 Ulrich Drepper <drepper@gmail.com>
6232
d9a8d0ab
UD
6233 * math/math_private.h: Define defaults for libc_fetestexcept and
6234 libc_feupdateenv.
6235 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6236 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6237 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6240 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6241 libc_fetestexcept and libc_feupdateenv.
6242
4855e3dd
UD
6243 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6244 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6245 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6246 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6247 libc_feholdexcept_setround.
6248
581d30e3
UD
6249 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6250 Add s_nearbyint-c and s_nearbyintf-c.
6251 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6252 nearbyintf inlines.
6253 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6254 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6255 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6256 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6257
d38f1dba
UD
6258 * math/math_private.h: Define defaults for libc_fegetround,
6259 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6260 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6261 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6263 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6264 standard functions.
6265 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6266 Remove comments and hacks for old compiler versions.
6267 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6268 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6269 libc_feholdexceptl.
6270
caa6c9d8
AS
62712011-10-18 Andreas Schwab <schwab@redhat.com>
6272
6273 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6274 (__feraiseexcept_renamed): Add __NTH.
6275 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6276 namespace violations.
6277
97c066e6
UD
62782011-10-17 Ulrich Drepper <drepper@gmail.com>
6279
99ce7b04
UD
6280 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6281
1004d182
UD
6282 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6283
228a984d
UD
6284 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6285 recently added interfaces.
6286 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6287
c8553a6a
UD
6288 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6289 about macro parameter expansion.
6290
ed22dcf6
UD
6291 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6292 __NO_MATH_INLINES is defined. Cleanups.
6293
6294 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6295 and __floorf is target has SSE4.1.
6296 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6297 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6298 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6299 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6300
b171c137
UD
6301 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6302 name.
6303 (floorf): Likewise.
6304
97c066e6
UD
6305 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6306
629f62ef
AS
63072011-10-17 Andreas Schwab <schwab@redhat.com>
6308
49a43d80
AS
6309 * misc/sys/cdefs.h: Fix last change.
6310
629f62ef
AS
6311 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6312 database lookup.
6313
e453f6cd
UD
63142011-10-16 Ulrich Drepper <drepper@gmail.com>
6315
aa78043a
UD
6316 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6317
ad0f5cad
UD
6318 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6324 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6325 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6326 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6327 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6328 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6329 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6330 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6331 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6332 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6333 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6334 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6335 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6337 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6338 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6339 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6340
6341 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6342 ceil, ceilf, floor, floorf.
6343
6344 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6345 Perform IRELATIVE relocations last.
6346
e453f6cd
UD
6347 * elf/do-rel.h: Add another parameter nrelative, replacing the
6348 local variable with the same name. Change name of the function
6349 to end in Rel or Rela (uppercase).
6350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6351 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6352 elf_dynamic_do_##reloc function.
6353
fd5bdc09
UD
63542011-10-15 Ulrich Drepper <drepper@gmail.com>
6355
79b195b5
UD
6356 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6357 is sufficient, at least on modern CPUs.
6358
d4a28569
UD
6359 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6360
b61099b5
UD
6361 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6362 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6363
bcf01e6d
UD
6364 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6365 __expl_finite.
6366 * math/bits/math-finite.h: Add entries for exp.
6367 * math/e_expl.c: Add __*_finite alias.
6368 * sysdeps/i386/fpu/e_exp.S: Likewise.
6369 * sysdeps/i386/fpu/e_expf.S: Likewise.
6370 * sysdeps/i386/fpu/e_expl.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6372 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6376 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6378
ba1a0d59
UD
6379 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6380 is sufficient, at least on modern CPUs.
6381
fd5bdc09
UD
6382 * ctype/ctype-info.c (__ctype_init): Define.
6383 * include/ctype.h (__ctype_init): Declare.
6384 (__ctype_b_loc): The variable is always initialized.
6385 (__ctype_toupper_loc): Likewise.
6386 (__ctype_tolower_loc): Likewise.
6387 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6388 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6389
7872cfb0
AS
63902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6391
b468825a
AS
6392 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6393
7872cfb0
AS
6394 * configure.in: Also look in $cxxmachine/include for C++ system
6395 headers.
6396
be13f7bf
LD
63972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6398
6399 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6400 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6401 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6402 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6404 (USE_AS_WMEMCMP): New macro.
6405 Fixing indents.
6406 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6407 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6408 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6409 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6411 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6412 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6414 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6415 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6416 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6417 (USE_AS_WMEMCMP): New macro.
6418 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6419 * sysdeps/string/test-memcmp.c: Update.
6420 Fix simple_wmemcmp.
6421 Add new tests.
6422 * wcsmbs/wmemcmp.c: Update.
6423 (WMEMCMP): New macro.
6424 Fix overflow bug.
6425
556a2007
AJ
64262011-10-12 Andreas Jaeger <aj@suse.de>
6427
6428 [BZ #13268]
6429 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6430
538faaa7
UD
64312011-10-15 Ulrich Drepper <drepper@gmail.com>
6432
ab6737ff
UD
6433 * libio/iofwide.c (do_length): Avoid warning.
6434
538faaa7
UD
6435 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6436
396a21b1
UD
64372011-10-14 Ulrich Drepper <drepper@gmail.com>
6438
cdf2901f
UD
6439 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6440
38ad40ce
UD
6441 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6442 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6443 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6444 * sysdeps/i386/i686/fpu/e_log.S: New file.
6445 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6446 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6447
396a21b1
UD
6448 * ctype/ctype.h: Add support for inlined isXXX functions when
6449 compiling C++ code.
6450
6b1f68c9
AS
64512011-10-14 Andreas Schwab <schwab@redhat.com>
6452
349290c0
AS
6453 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6454
6b1f68c9
AS
6455 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6456
f2282d42
RM
64572011-10-13 Roland McGrath <roland@hack.frob.com>
6458
6459 [BZ #13291]
6460 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6461
5298ffa8
AS
64622011-10-13 Andreas Schwab <schwab@redhat.com>
6463
714fad23
AS
6464 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6465 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6466 feraiseexcept.
6467
81dcc7fb
AS
6468 * sysdeps/x86_64/memrchr.S: Check for zero size.
6469
5298ffa8
AS
6470 * string/stratcliff.c: Add memrchr tests.
6471
951fbcec
LD
64722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6473
6474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6475 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6476 rawmemchr-sse2 rawmemchr-sse2-bsf.
6477 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6478 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6479 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6480 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6481 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6482 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6483 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6484 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6485 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6486 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6487 * string/memrchr.c (MEMRCHR): New macro.
6488
0ac5ae23
UD
64892011-10-12 Ulrich Drepper <drepper@gmail.com>
6490
6491 Add integration with gcc's -ffinite-math-only and optimize wrapper
6492 functions in libm.
6493 * Versions.def: Define GLIBC_2.15 version for libm.
6494 * math/Makefile (headers): Add bits/math-finite.h.
6495 * math/bits/math-finite.h: New file.
6496 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6497 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6498 * math/e_acoshl.c: Add __*_finite alias.
6499 * math/e_acosl.c: Likewise.
6500 * math/e_asinl.c: Likewise.
6501 * math/e_atan2l.c: Likewise.
6502 * math/e_atanhl.c: Likewise.
6503 * math/e_coshl.c: Likewise.
6504 * math/e_exp10.c: Likewise.
6505 * math/e_exp10f.c: Likewise.
6506 * math/e_exp10l.c: Likewise.
6507 * math/e_exp2l.c: Likewise.
6508 * math/e_fmodl.c: Likewise.
6509 * math/e_gammal_r.c: Likewise.
6510 * math/e_hypotl.c: Likewise.
6511 * math/e_j0l.c: Likewise.
6512 * math/e_j1l.c: Likewise.
6513 * math/e_jnl.c: Likewise.
6514 * math/e_lgammal_r.c: Likewise.
6515 * math/e_log10l.c: Likewise.
6516 * math/e_log2l.c: Likewise.
6517 * math/e_logl.c: Likewise.
6518 * math/e_powl.c: Likewise.
6519 * math/e_sinhl.c: Likewise.
6520 * math/e_sqrtl.c: Likewise.
6521 * math/e_scalb.c: Completely rewritten and optimized.
6522 * math/e_scalbf.c: Likewise.
6523 * math/e_scalbl.c: Likewise.
6524 * math/w_acos.c: Likewise.
6525 * math/w_acosf.c: Likewise.
6526 * math/w_acosl.c: Likewise.
6527 * math/w_acosh.c: Likewise.
6528 * math/w_acoshf.c: Likewise.
6529 * math/w_acoshl.c: Likewise.
6530 * math/w_asin.c: Likewise.
6531 * math/w_asinf.c: Likewise.
6532 * math/w_asinl.c: Likewise.
6533 * math/w_atan2.c: Likewise.
6534 * math/w_atan2f.c: Likewise.
6535 * math/w_atan2l.c: Likewise.
6536 * math/w_atanh.c: Likewise.
6537 * math/w_atanhf.c: Likewise.
6538 * math/w_atanhl.c: Likewise.
6539 * math/w_exp10.c: Likewise.
6540 * math/w_exp10f.c: Likewise.
6541 * math/w_exp10l.c: Likewise.
6542 * math/w_fmod.c: Likewise.
6543 * math/w_fmodf.c: Likewise.
6544 * math/w_fmodl.c: Likewise.
6545 * math/w_j0.c: Likewise.
6546 * math/w_j0f.c: Likewise.
6547 * math/w_j0l.c: Likewise.
6548 * math/w_j1.c: Likewise.
6549 * math/w_j1f.c: Likewise.
6550 * math/w_j1l.c: Likewise.
6551 * math/w_jn.c: Likewise.
6552 * math/w_jnf.c: Likewise.
6553 * math/w_log.c: Likewise.
6554 * math/w_logf.c: Likewise.
6555 * math/w_logl.c: Likewise.
6556 * math/w_log10.c: Likewise.
6557 * math/w_log10f.c: Likewise.
6558 * math/w_log10l.c: Likewise.
6559 * math/w_log2.c: Likewise.
6560 * math/w_log2f.c: Likewise.
6561 * math/w_log2l.c: Likewise.
6562 * math/w_pow.c: Likewise.
6563 * math/w_powf.c: Likewise.
6564 * math/w_powl.c: Likewise.
6565 * math/w_remainder.c: Likewise.
6566 * math/w_remainderf.c: Likewise.
6567 * math/w_remainderl.c: Likewise.
6568 * math/w_scalb.c: Likewise.
6569 * math/w_scalbf.c: Likewise.
6570 * math/w_scalbl.c: Likewise.
6571 * math/w_sqrt.c: Likewise.
6572 * math/w_sqrtf.c: Likewise.
6573 * math/w_sqrtl.c: Likewise.
6574 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6575 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6576 used.
6577 * math/math_private.h: Declare __kernel_standard_f.
6578 * math/w_cosh.c: Remove cruft and optimize a bit.
6579 * math/w_coshf.c: Likewise.
6580 * math/w_coshl.c: Likewise.
6581 * math/w_exp2.c: Likewise.
6582 * math/w_exp2f.c: Likewise.
6583 * math/w_exp2l.c: Likewise.
6584 * math/w_hypot.c: Likewise.
6585 * math/w_hypotf.c: Likewise.
6586 * math/w_hypotl.c: Likewise.
6587 * math/w_lgamma.c: Likewise.
6588 * math/w_lgamma_r.c: Likewise.
6589 * math/w_lgammaf.c: Likewise.
6590 * math/w_lgammaf_r.c: Likewise.
6591 * math/w_lgammal.c: Likewise.
6592 * math/w_lgammal_r.c: Likewise.
6593 * math/w_sinh.c: Likewise.
6594 * math/w_sinhf.c: Likewise.
6595 * math/w_sinhl.c: Likewise.
6596 * math/w_tgamma.c: Likewise.
6597 * math/w_tgammaf.c: Likewise.
6598 * math/w_tgammal.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6600 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6601 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6602 Minor optimizations. Pretty printing. Remove cruft.
6603 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6604 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6605 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6606 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6607 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6608 * sysdeps/i386/fpu/e_asin.S: Likewise.
6609 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6610 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6611 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6612 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6613 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6615 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6616 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6617 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6618 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6619 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6620 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6621 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6622 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6623 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6624 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6625 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6626 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6627 * sysdeps/i386/fpu/e_log.S: Likewise.
6628 * sysdeps/i386/fpu/e_log10.S: Likewise.
6629 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6630 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6631 * sysdeps/i386/fpu/e_log2.S: Likewise.
6632 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6633 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6634 * sysdeps/i386/fpu/e_logf.S: Likewise.
6635 * sysdeps/i386/fpu/e_logl.S: Likewise.
6636 * sysdeps/i386/fpu/e_pow.S: Likewise.
6637 * sysdeps/i386/fpu/e_powf.S: Likewise.
6638 * sysdeps/i386/fpu/e_powl.S: Likewise.
6639 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6640 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6641 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6643 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6644 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6645 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6646 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6647 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6669 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6672 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6674 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6675 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6676 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6677 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6679 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6680 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6682 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6683 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6684 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6685 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6686 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6687 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6688 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6689 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6739 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6741 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6742 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6743 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6744 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6745 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6746 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6747 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6748 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6749 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6750 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6751 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6752 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6753 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6756 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6758 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6759 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6760 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6761 (__isnanf): Likewise.
6762 (__isinf_ns): Likewise.
6763 (__isinf_nsf): Likewise.
6764 (__finite): Likewise.
6765 (__finitef): Likewise.
6766 (__ieee754_sqrt): Define as macro.
6767 (__ieee754_sqrtf): Define as macro.
6768 (__ieee754_sqrtl): Define as macro.
6769 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6770 inlined copy.
6771 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6772 __FINITE_MATH_ONLY__ consistent.
6773 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6774
12cc2fcd
AS
67752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6776
a843a204
AS
6777 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6778 of rawmemchr.
6779
12cc2fcd
AS
6780 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6781
c853acd5
UD
67822011-10-09 Ulrich Drepper <drepper@gmail.com>
6783
6784 * po/ja.po: Update from translation team.
6785
c658d255
RM
67862011-10-08 Roland McGrath <roland@hack.frob.com>
6787
110946e4
RM
6788 * locale/programs/locarchive.c (prepare_address_space): New function.
6789 (create_archive, enlarge_archive, open_archive): Use it.
6790
50604220
RM
6791 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6792 inside [SHARED], where it is used.
6793
c658d255
RM
6794 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6795
6796 * nss/getent.c (netgroup_keys): Remove unused variable.
6797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6798
6a621eb7
UD
67992011-10-08 Ulrich Drepper <drepper@gmail.com>
6800
7edb55ce
UD
6801 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6802 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6805 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6806 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6807 * math/Makefile (libm-calls): Add s_isinf_ns.
6808 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6809 * math/multc3.c: Likewise.
6810 * math/s_casin.c: Likewise.
6811 * math/s_casinf.c: Likewise.
6812 * math/s_casinl.c: Likewise.
6813 * math/s_ccos.c: Likewise.
6814 * math/s_ccosf.c: Likewise.
6815 * math/s_ccosl.c: Likewise.
6816 * math/s_ctan.c: Likewise.
6817 * math/s_ctanf.c: Likewise.
6818 * math/s_ctanh.c: Likewise.
6819 * math/s_ctanhf.c: Likewise.
6820 * math/s_ctanhl.c: Likewise.
6821 * math/s_ctanl.c: Likewise.
6822 * math/w_fmod.c: Likewise.
6823 * math/w_fmodf.c: Likewise.
6824 * math/w_fmodl.c: Likewise.
6825 * math/w_remainder.c: Likewise.
6826 * math/w_remainderf.c: Likewise.
6827 * math/w_remainderl.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6829 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6832 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6833 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6834 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6835 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6836
187da0ae
UD
6837 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6838 of the number.
6839 * stdio-common/printf_fphex.c: Likewise.
6840 * stdio-common/printf_size.c: Likewise.
6841
9277c064
UD
6842 * math/e_exp10.c: Include math_private.h using <...> not "...".
6843 * math/e_exp10f.c: Likewise.
6844 * math/e_exp10l.c: Likewise.
6845 * math/e_exp2l.c: Likewise.
6846 * math/e_j0l.c: Likewise.
6847 * math/e_j1l.c: Likewise.
6848 * math/e_jnl.c: Likewise.
6849 * math/e_lgammal_r.c: Likewise.
6850 * math/e_rem_pio2l.c: Likewise.
6851 * math/e_scalb.c: Likewise.
6852 * math/e_scalbf.c: Likewise.
6853 * math/e_scalbl.c: Likewise.
6854 * math/k_cosl.c: Likewise.
6855 * math/k_sinl.c: Likewise.
6856 * math/k_tanl.c: Likewise.
6857 * math/s_cacoshf.c: Likewise.
6858 * math/s_catan.c: Likewise.
6859 * math/s_catanf.c: Likewise.
6860 * math/s_catanh.c: Likewise.
6861 * math/s_catanhf.c: Likewise.
6862 * math/s_catanhl.c: Likewise.
6863 * math/s_catanl.c: Likewise.
6864 * math/s_ccosh.c: Likewise.
6865 * math/s_ccoshf.c: Likewise.
6866 * math/s_ccoshl.c: Likewise.
6867 * math/s_cexp.c: Likewise.
6868 * math/s_cexpf.c: Likewise.
6869 * math/s_cexpl.c: Likewise.
6870 * math/s_clog.c: Likewise.
6871 * math/s_clog10.c: Likewise.
6872 * math/s_clog10f.c: Likewise.
6873 * math/s_clog10l.c: Likewise.
6874 * math/s_clogf.c: Likewise.
6875 * math/s_clogl.c: Likewise.
6876 * math/s_csin.c: Likewise.
6877 * math/s_csinf.c: Likewise.
6878 * math/s_csinh.c: Likewise.
6879 * math/s_csinhf.c: Likewise.
6880 * math/s_csinhl.c: Likewise.
6881 * math/s_csinl.c: Likewise.
6882 * math/s_csqrt.c: Likewise.
6883 * math/s_csqrtf.c: Likewise.
6884 * math/s_csqrtl.c: Likewise.
6885 * math/s_ctan.c: Likewise.
6886 * math/s_ctanf.c: Likewise.
6887 * math/s_ctanh.c: Likewise.
6888 * math/s_ctanhf.c: Likewise.
6889 * math/s_ctanhl.c: Likewise.
6890 * math/s_ctanl.c: Likewise.
6891 * math/s_ldexp.c: Likewise.
6892 * math/s_ldexpf.c: Likewise.
6893 * math/s_ldexpl.c: Likewise.
6894 * math/s_significand.c: Likewise.
6895 * math/s_significandf.c: Likewise.
6896 * math/s_significandl.c: Likewise.
6897 * math/w_acos.c: Likewise.
6898 * math/w_acosf.c: Likewise.
6899 * math/w_acosh.c: Likewise.
6900 * math/w_acoshf.c: Likewise.
6901 * math/w_acoshl.c: Likewise.
6902 * math/w_acosl.c: Likewise.
6903 * math/w_asin.c: Likewise.
6904 * math/w_asinf.c: Likewise.
6905 * math/w_asinl.c: Likewise.
6906 * math/w_atan2.c: Likewise.
6907 * math/w_atan2f.c: Likewise.
6908 * math/w_atan2l.c: Likewise.
6909 * math/w_atanh.c: Likewise.
6910 * math/w_atanhf.c: Likewise.
6911 * math/w_atanhl.c: Likewise.
6912 * math/w_cosh.c: Likewise.
6913 * math/w_coshf.c: Likewise.
6914 * math/w_coshl.c: Likewise.
6915 * math/w_dremf.c: Likewise.
6916 * math/w_exp10.c: Likewise.
6917 * math/w_exp10f.c: Likewise.
6918 * math/w_exp10l.c: Likewise.
6919 * math/w_exp2.c: Likewise.
6920 * math/w_exp2f.c: Likewise.
6921 * math/w_fmod.c: Likewise.
6922 * math/w_fmodf.c: Likewise.
6923 * math/w_fmodl.c: Likewise.
6924 * math/w_hypot.c: Likewise.
6925 * math/w_hypotf.c: Likewise.
6926 * math/w_hypotl.c: Likewise.
6927 * math/w_j0.c: Likewise.
6928 * math/w_j0f.c: Likewise.
6929 * math/w_j0l.c: Likewise.
6930 * math/w_j1.c: Likewise.
6931 * math/w_j1f.c: Likewise.
6932 * math/w_j1l.c: Likewise.
6933 * math/w_jn.c: Likewise.
6934 * math/w_jnf.c: Likewise.
6935 * math/w_jnl.c: Likewise.
6936 * math/w_lgamma.c: Likewise.
6937 * math/w_lgamma_r.c: Likewise.
6938 * math/w_lgammaf.c: Likewise.
6939 * math/w_lgammaf_r.c: Likewise.
6940 * math/w_lgammal.c: Likewise.
6941 * math/w_lgammal_r.c: Likewise.
6942 * math/w_log.c: Likewise.
6943 * math/w_log10.c: Likewise.
6944 * math/w_log10f.c: Likewise.
6945 * math/w_log10l.c: Likewise.
6946 * math/w_log2.c: Likewise.
6947 * math/w_log2f.c: Likewise.
6948 * math/w_log2l.c: Likewise.
6949 * math/w_logf.c: Likewise.
6950 * math/w_logl.c: Likewise.
6951 * math/w_pow.c: Likewise.
6952 * math/w_powf.c: Likewise.
6953 * math/w_powl.c: Likewise.
6954 * math/w_remainder.c: Likewise.
6955 * math/w_remainderf.c: Likewise.
6956 * math/w_remainderl.c: Likewise.
6957 * math/w_scalb.c: Likewise.
6958 * math/w_scalbf.c: Likewise.
6959 * math/w_scalbl.c: Likewise.
6960 * math/w_sinh.c: Likewise.
6961 * math/w_sinhf.c: Likewise.
6962 * math/w_sinhl.c: Likewise.
6963 * math/w_sqrt.c: Likewise.
6964 * math/w_sqrtf.c: Likewise.
6965 * math/w_sqrtl.c: Likewise.
6966 * math/w_tgamma.c: Likewise.
6967 * math/w_tgammaf.c: Likewise.
6968 * math/w_tgammal.c: Likewise.
6969
6a621eb7
UD
6970 * po/ja.po: Update from translation team.
6971
bf582445
AJ
69722011-09-29 Andreas Jaeger <aj@suse.de>
6973
f9efbf3a
AJ
6974 [BZ #13179]
6975 * sunrpc/netname.c (netname2host): Fix logic.
6976
bf582445
AJ
6977 [BZ #6779]
6978 [BZ #6783]
6979 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6980 correctly.
6981 * math/w_remainder.c (__remainder): Likewise.
6982 * math/w_remainderf.c (__remainderf): Likewise.
6983 * math/libm-test.inc (remainder_test): Add test cases.
6984
48693bea
AK
69852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6986
6987 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6988 sdiv_qrnnd.
6989
42622229
LD
69902011-10-07 Ulrich Drepper <drepper@gmail.com>
6991
6992 * string/test-memcmp.c: Avoid unncessary #defines.
6993 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6994
093ecf92
LD
69952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6996
6997 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6998 Use new sse2 version for core i3 - i7 as it's faster
6999 than sse42 version.
7000 (bit_Prefer_PMINUB_for_stringop): New.
7001 * sysdeps/x86_64/rawmemchr.S: Update.
7002 Replace with faster SSE2 version.
7003 * sysdeps/x86_64/memrchr.S: New file.
7004 * sysdeps/x86_64/memchr.S: Update.
7005 Replace with faster SSE2 version.
7006
fde56e5c
MP
70072011-09-12 Marek Polacek <mpolacek@redhat.com>
7008
7009 * elf/dl-load.c (lose): Add cast to avoid warning.
7010
21fd49a9
UD
70112011-10-07 Ulrich Drepper <drepper@gmail.com>
7012
5a06e643
UD
7013 * po/ca.po: Update from translation team.
7014
684ae515
UD
7015 * inet/getnetgrent_r.c: Hook up nscd.
7016 * nscd/Makefile (routines): Add nscd_netgroup.
7017 (nscd-modules): Add netgroupcache.
7018 (CFLAGS-netgroupcache.c): Define.
7019 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7020 (cache_search): Add const to second parameter.
7021 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7022 INNETGR.
7023 (dbs): Add netgrdb entry.
7024 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7025 (verify_persistent_db): Handle netgrdb.
7026 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7027 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7028 GETFDNETGR.
7029 (netgroup_response_header): Define.
7030 (innetgroup_response_header): Define.
7031 (datahead): Add netgroup_response_header and innetgroup_response_header
7032 elements.
7033 * nscd/nscd.conf: Add entries for netgroup cache.
7034 * nscd/nscd.h (dbtype): Add netgrdb.
7035 (_PATH_NSCD_NETGROUP_DB): Define.
7036 (netgroup_iov_disabled): Declare.
7037 (xmalloc, xcalloc, xrealloc): Move declarations here.
7038 (cache_search): Adjust prototype.
7039 Add netgroup-related prototypes.
7040 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7041 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7042 (__nscd_innetgr): Declare.
7043 * nscd/selinux.c (perms): Use access_vector_t as element type and
7044 add netgroup-related initializers.
7045 * nscd/netgroupcache.c: New file.
7046 * nscd/nscd_netgroup.c: New file.
7047 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7048 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7049 For four parameters use innetgr.
7050 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7051 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7052 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7053 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7054
21fd49a9
UD
7055 * nscd/connections.c (register_traced_file): Don't register file
7056 for disabled databases.
7057
054c0457
UD
70582011-10-06 Ulrich Drepper <drepper@gmail.com>
7059
32b63198
UD
7060 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7061
054c0457
UD
7062 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7063 from tree and freeing node.
7064
64031225
JO
70652011-09-25 Jiri Olsa <jolsa@redhat.com>
7066
7067 * nss/nsswitch.c (__nss_database_lookup): Handle
7068 nss_parse_service_list out of memory case.
7069
0490345c
JO
70702011-09-15 Jiri Olsa <jolsa@redhat.com>
7071
7072 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7073 out of memory case.
7074
3a62d00d
AS
70752011-10-04 Andreas Schwab <schwab@redhat.com>
7076
7077 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7078 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7079 pass it down.
7080 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7081 elf_machine_rela, elf_machine_lazy_rel.
7082 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7083 (ELF_DYNAMIC_DO_REL): Likewise.
7084 (ELF_DYNAMIC_DO_RELA): Likewise.
7085 (ELF_DYNAMIC_RELOCATE): Likewise.
7086 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7087 to ELF_DYNAMIC_DO_REL.
7088 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7089 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7090 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7091 elf_machine_rela.
7092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7093 skip_ifunc, don't call ifunc function if non-zero.
7094 (elf_machine_rela): Likewise.
7095 (elf_machine_lazy_rel): Likewise.
7096 (elf_machine_lazy_rela): Likewise.
7097 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7098 (elf_machine_lazy_rel): Likewise.
7099 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7100 Likewise.
7101 (elf_machine_lazy_rel): Likewise.
7102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7103 Likewise.
7104 (elf_machine_lazy_rel): Likewise.
7105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7106 (elf_machine_lazy_rel): Likewise.
7107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7108 (elf_machine_lazy_rel): Likewise.
7109 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7110 (elf_machine_lazy_rel): Likewise.
7111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7112 (elf_machine_lazy_rel): Likewise.
7113 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7114 (elf_machine_lazy_rel): Likewise.
7115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7116 (elf_machine_lazy_rel): Likewise.
7117
68577918
UD
71182011-09-28 Ulrich Drepper <drepper@gmail.com>
7119
7120 * nss/nss_files/files-init.c (_nss_files_init): Use static
7121 initialization for all the *_traced_file variables.
7122
68822d74
AS
71232011-09-28 Andreas Schwab <schwab@redhat.com>
7124
7125 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7126
2056100b
RM
71272011-09-27 Roland McGrath <roland@hack.frob.com>
7128
7129 [BZ #13226]
7130 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7131
32c76b63
AS
71322011-09-27 Andreas Schwab <schwab@redhat.com>
7133
7134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7135 Reread the line before reparsing it.
7136
bf972c9d
AS
71372011-09-26 Andreas Schwab <schwab@redhat.com>
7138
7139 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7140
e057a1b5
JM
71412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7142 Maxim Kuvyrkov <maxim@codesourcery.com>
7143 Joseph Myers <joseph@codesourcery.com>
7144
7145 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7146 if needed for __stack_chk_guard.
7147
bc7e1c36
RM
71482011-09-19 Roland McGrath <roland@hack.frob.com>
7149
ecb1482f
RM
7150 * sysdeps/posix/spawni.c (script_execute): Always define it.
7151 It will be optimized away if unused.
7152 (maybe_script_execute): New function.
7153 (__spawni): Call it.
7154
bc7e1c36
RM
7155 * Makerules: Don't include tls.make.
7156 (config-tls): Always set to thread.
7157 * tls.make.c: File removed.
7158
1c3b002b
MF
71592011-09-19 Mike Frysinger <vapier@gentoo.org>
7160
7161 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7162 * config.make.in (CPPFLAGS-config): New substituted variable.
7163
2840865d
UD
71642011-09-15 Ulrich Drepper <drepper@gmail.com>
7165
88738eb6
UD
7166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7167
cbf645a6 7168 [BZ #13192]
2840865d
UD
7169 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7170 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7171
b402e91a
RM
71722011-09-15 Roland McGrath <roland@hack.frob.com>
7173
7174 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7175 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7177 (CALL_FAIL): Likewise.
7178 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7179 (CALL_FAIL): Macro removed.
7180 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7181
4c1a1f71
UD
71822011-09-15 Ulrich Drepper <drepper@gmail.com>
7183
7184 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7185 for __FINITE_MATH_ONLY__ == 1.
7186
edc121be
AS
71872011-09-15 Andreas Schwab <schwab@redhat.com>
7188
7189 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7190 __ieee754_sqrt instead of sqrt.
7191 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7192 __ieee754_sqrtf instead of sqrtf.
7193 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7194 __floorf instead of floorf.
7195 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7196 __floorf, __truncf instead of floorf, truncf.
7197
cd205654
UD
71982011-09-14 Ulrich Drepper <drepper@gmail.com>
7199
ee4d0315
UD
7200 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7201
cd205654
UD
7202 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7203 __extern_always_inline.
7204 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7205 32-bit.
7206
48b67d71
AS
72072011-09-14 Andreas Schwab <schwab@redhat.com>
7208
7209 * elf/rtld.c (dl_main): Also relocate in dependency order when
7210 doing symbol dependency testing.
7211
1ae12c75
AS
72122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7213
7214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7215 Always define `refsym'.
7216
995a80df
AS
72172011-09-13 Andreas Schwab <schwab@redhat.com>
7218
e529793b
AS
7219 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7220 (__FD_ELT): Renamed from __FDELT.
7221 * misc/bits/select2.h (__FD_ELT): Likewise.
7222 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7223 __FD_MASK instead of __FDELT, __FDMASK.
7224 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7225 Likewise.
7226 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7227 Likewise.
7228
52d4fef8
AS
7229 * elf/Makefile (gen-ldd): Fix pattern.
7230
995a80df
AS
7231 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7232 (init_tls): Likewise.
7233
8682f8b0
UD
72342011-09-12 Ulrich Drepper <drepper@gmail.com>
7235
7236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7237
de82006d
AS
72382011-09-12 Andreas Schwab <schwab@redhat.com>
7239
a7c8e6a1
AS
7240 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7241 `struct cmsghdr *' instead of `void *'.
7242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7243 Likewise.
7244
0f31fe77
AS
72452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7246
7247 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7248 if non-absolute.
7249 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7250 ldd_rewrite_script.
0f31fe77 7251
32b4c839
UD
72522011-09-11 Ulrich Drepper <drepper@gmail.com>
7253
83cd1420
UD
7254 * configure.in: Remove --with-tls option.
7255 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7256 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7257 out in case it is missing.
7258 * sysdeps/ia64/elf/configure.in: Likewise.
7259 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7260 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7261 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7262 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7263 * sysdeps/sh/elf/configure.in: Likewise.
7264 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7265 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7266 * sysdeps/x86_64/elf/configure.in: Likewise.
7267 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7268 * sysdeps/mach/hurd/tls.h: Likewise.
7269
633f745d
UD
7270 [BZ #13067]
7271 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7272
f318beb8
UD
7273 [BZ #13090]
7274 * configure.in: Fix use of AC_INIT.
7275
32b4c839
UD
7276 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7277
3ce1f295
UD
72782011-09-10 Ulrich Drepper <drepper@gmail.com>
7279
bb016596
UD
7280 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7281 __set_errno.
8e58439c
UD
7282 * malloc/hooks.c: Likewise.
7283
aebae053 7284 [BZ #11929]
02d46fc4
UD
7285 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7286 variables statically.
7287 (narenas): Initialize.
7288 (list_lock): Initialize.
bb016596
UD
7289 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7290 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7291 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7292 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7293 Add initializers to main_arena and mp_.
7294 (malloc_state): Remove pagesize member. Change all users to use
7295 GLRO(dl_pagesize).
7296
7297 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7298 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7299 is always initialized.
7300
22a89187
UD
7301 * malloc/malloc.c: Removed unused configurations and dead code.
7302 * malloc/arena.c: Likewise.
7303 * malloc/hooks.c: Likewise.
02d46fc4 7304 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7305
d063d164
UD
7306 * include/tls.h: Removed. USE___THREAD must always be defined.
7307 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7308 * elf/dl-libc.c: Likewise.
7309 * elf/dl-tsd.c: Likewise.
7310 * include/errno.h: Likewise.
7311 * include/netdb.h: Likewise.
7312 * include/resolv.h: Likewise.
7313 * inet/herrno-loc.c: Likewise.
7314 * inet/herrno.c: Likewise.
7315 * malloc/arena.c: Likewise.
7316 * malloc/hooks.c: Likewise.
7317 * malloc/malloc.c: Likewise.
7318 * resolv/res-state.c: Likewise.
7319 * resolv/res_libc.c: Likewise.
7320 * sysdeps/i386/dl-machine.h: Likewise.
7321 * sysdeps/ia64/dl-machine.h: Likewise.
7322 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7323 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7324 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7325 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7326 * sysdeps/sh/dl-machine.h: Likewise.
7327 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7328 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7329 * sysdeps/unix/i386/sysdep.S: Likewise.
7330 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7331 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7333 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7334 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7336 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7341 * sysdeps/x86_64/dl-machine.h: Likewise.
7342 * tls.make.c: Likewise.
7343
3ce1f295
UD
7344 * configure.in: Remove --with-__thread option. Make tests for
7345 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7346 tls_model attribute fail if no support is available. Remove
7347 USE_IN_LIBIO.
7348 * Makeconfig: Adjust for dropped configure option. All features are
7349 now mandatory.
7350 * Makerules: Likewise.
7351 * Versions.def: Likewise.
7352 * argp/argp-fmtstream.c: Likewise.
7353 * argp/argp-fmtstream.h: Likewise.
7354 * argp/argp-help.c: Likewise.
7355 * assert/assert.c: Likewise.
7356 * config.h.in: Likewise.
7357 * config.make.in: Likewise.
7358 * configure: Likewise.
7359 * configure.in: Likewise.
7360 * csu/Versions: Likewise.
7361 * csu/init.c: Likewise.
7362 * elf/tst-audit2.c: Likewise.
7363 * elf/tst-tls10.c: Likewise.
7364 * elf/tst-tls10.h: Likewise.
7365 * elf/tst-tls11.c: Likewise.
7366 * elf/tst-tls12.c: Likewise.
7367 * elf/tst-tls14.c: Likewise.
7368 * elf/tst-tlsmod11.c: Likewise.
7369 * elf/tst-tlsmod12.c: Likewise.
7370 * elf/tst-tlsmod13.c: Likewise.
7371 * elf/tst-tlsmod13a.c: Likewise.
7372 * elf/tst-tlsmod14a.c: Likewise.
7373 * elf/tst-tlsmod15b.c: Likewise.
7374 * elf/tst-tlsmod16a.c: Likewise.
7375 * elf/tst-tlsmod16b.c: Likewise.
7376 * elf/tst-tlsmod7.c: Likewise.
7377 * elf/tst-tlsmod8.c: Likewise.
7378 * elf/tst-tlsmod9.c: Likewise.
7379 * gmon/gmon.c: Likewise.
7380 * grp/fgetgrent_r.c: Likewise.
7381 * grp/putgrent.c: Likewise.
7382 * hurd/fopenport.c: Likewise.
7383 * include/libc-symbols.h: Likewise.
7384 * include/tls.h: Likewise.
7385 * intl/gettextP.h: Likewise.
7386 * intl/loadinfo.h: Likewise.
7387 * locale/global-locale.c: Likewise.
7388 * locale/localeinfo.h: Likewise.
7389 * mach/devstream.c: Likewise.
7390 * malloc/arena.c: Likewise.
7391 * malloc/set-freeres.c: Likewise.
7392 * misc/err.c: Likewise.
7393 * misc/getttyent.c: Likewise.
7394 * misc/mntent_r.c: Likewise.
7395 * posix/getopt.c: Likewise.
7396 * posix/wordexp.c: Likewise.
7397 * pwd/fgetpwent_r.c: Likewise.
7398 * resolv/Versions: Likewise.
7399 * resolv/res_hconf.c: Likewise.
7400 * shadow/fgetspent_r.c: Likewise.
7401 * shadow/putspent.c: Likewise.
7402 * stdio-common/printf_fphex.c: Likewise.
7403 * stdio-common/tmpfile.c: Likewise.
7404 * stdlib/abort.c: Likewise.
7405 * stdlib/fmtmsg.c: Likewise.
7406 * sunrpc/auth_unix.c: Likewise.
7407 * sunrpc/clnt_perr.c: Likewise.
7408 * sunrpc/clnt_tcp.c: Likewise.
7409 * sunrpc/clnt_udp.c: Likewise.
7410 * sunrpc/clnt_unix.c: Likewise.
7411 * sunrpc/openchild.c: Likewise.
7412 * sunrpc/svc_simple.c: Likewise.
7413 * sunrpc/svc_tcp.c: Likewise.
7414 * sunrpc/svc_udp.c: Likewise.
7415 * sunrpc/svc_unix.c: Likewise.
7416 * sunrpc/xdr.c: Likewise.
7417 * sunrpc/xdr_array.c: Likewise.
7418 * sunrpc/xdr_rec.c: Likewise.
7419 * sunrpc/xdr_ref.c: Likewise.
7420 * sunrpc/xdr_stdio.c: Likewise.
7421
1248c1c4
PB
74222011-09-09 Ulrich Drepper <drepper@gmail.com>
7423
7424 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7425
74262011-07-03 Andreas Jaeger <aj@suse.de>
7427
7428 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7429 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7430 regenerate with gen-libm-tests.pl.
7431
74322010-05-12 Petr Baudis <pasky@suse.cz>
7433
7434 [BZ #11589]
7435 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7436 around j0() zero points by switching to j1().
7437 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7441
f22e1074
UD
74422011-09-09 Ulrich Drepper <drepper@gmail.com>
7443
f19009c1
UD
7444 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7445 instead of 0.
7446 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7447 instead of 0. .
7448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7449 Patch in part by Pavel Roskin <proski@gnu.org>.
7450
3f8cc204
UD
7451 [BZ #13138]
7452 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7453 realloc.
7454 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7455 Free memory block if necessary.
7456
f22e1074
UD
7457 [BZ #12847]
7458 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7459 be NULL. Don't lock in this case.
7460
0a2349f9
RM
74612011-09-09 Roland McGrath <roland@hack.frob.com>
7462
7463 * elf/elf.h (ELFOSABI_GNU): New macro.
7464 (ELFOSABI_LINUX): Define to that.
7465
f3cdd467
DZ
74662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7467
7468 * string/strncat.c (strncat): Undef the symbol in case it has been
7469 defined in bits/string.h.
7470
74718d13
UD
74712011-09-09 Ulrich Drepper <drepper@gmail.com>
7472
633e9e0f
UD
7473 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7474
0a2349f9 7475 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7476 link map.
7477
f9924780
AJ
74782011-08-17 Andreas Jaeger <aj@suse.de>
7479
7480 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7481
7f5517aa
PP
74822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7483 Ian Lance Taylor <iant@google.com>
7484
7485 * math/libm-test.inc (lround_test): New testcase.
7486 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7487
762011fe
UD
74882011-09-08 Ulrich Drepper <drepper@gmail.com>
7489
92963737
UD
7490 * Makefile: Remove support for automatic cvs check-ins.
7491 * Makerules: Likewise.
7492 * config.make.in: Likewise.
7493 * configure.in: Likewise.
7494 * intl/Makefile: Likewise.
7495 * locale/Makefile: Likewise.
7496 * po/Makefile: Likewise.
7497 * posix/Makefile: Likewise.
7498 * sysdeps/gnu/Makefile: Likewise.
7499 * sysdeps/mach/hurd/Makefile: Likewise.
7500 * sysdeps/sparc/sparc32/Makefile: Likewise.
7501
b0727fd8
JS
7502 [BZ #13118]
7503 * posix/Makefile (bug-regex32-ENV): Define.
7504 Patch by John Stanley <jpsinthemix@verizon.net>.
7505
a0f33f99
UD
7506 * misc/Makefile (headers): Add bits/select2.h.
7507 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7508 * misc/bits/select2.h: New file.
7509 * include/bits/select2.h: New file.
7510 * debug/Makefile (routines): Add fdelt_chk.
7511 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7512 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7513 FD_ISSET.
7514 * debug/fdelt_chk.c: New file.
7515
762011fe
UD
7516 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7517 * wcsmbs/test-wmemcmp.c: Likewise.
7518 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7519 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7520
75212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7522
7523 * string/Makefile (strop-tests): Add memcmp.
7524 * string/test-wmemcmp.c: New file.
7525 * string/test-memcmp.c: Add wmemcmp support.
7526
7f513ec8
RM
75272011-09-08 Roland McGrath <roland@hack.frob.com>
7528
0442afb4
RM
7529 [BZ #13153]
7530 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7531 2011-07-19 change.
7532
7f513ec8
RM
7533 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7534 garbage value in a __mach_port_mod_refs call in the cases of the
7535 task-self and thread-self ports.
7536
a12b2239
ST
75372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7538
7539 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7540
610f9ab4
AS
75412011-09-08 Andreas Schwab <schwab@redhat.com>
7542
7f513ec8 7543 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7544
48882a1a
LD
75452011-09-07 Ulrich Drepper <drepper@gmail.com>
7546
b49865be
UD
7547 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7548
fdc86bc9
UD
7549 * elf/dl-libc.c (dlerror_run): Pass back error code from
7550 dl_catch_error.
7551
c966526a
UD
7552 [BZ #13123]
7553 * elf/dl-load.c (lose): Free l_origin if it is valid.
7554
48882a1a
LD
7555 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7556 names.
7557 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7562 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7563
77a2a8b4
AZ
75642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7565
7566 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7567 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7568 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7569 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7570 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7571 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7572 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7573 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7574 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7575 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7576
24f579d8
AM
75772011-08-15 Alan Modra <amodra@gmail.com>
7578
7579 [BZ #13092]
7580 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7581 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7582 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7583 ppc_mcount to static-only-routines.
7584 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7585 __mcount_internal.
7586 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7587 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7588
3d4837df
UD
75892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7590
7591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7592 for finite and infinity parameters.
7593
22700377
WS
75942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7595
7596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7597 and add nop instructions for throughput optimization.
7598 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7599
5025581e
WS
76002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7601
7602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7603 aligned copy for power7 with vector-scalar instructions.
7604 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7605
08a300c9
L
76062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7607
7608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7609 AVX check.
7610
59178ef9
AS
76112011-09-07 Andreas Schwab <schwab@redhat.com>
7612
7613 [BZ #13144]
7614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7615 last change.
7616
e38ba7ab
UD
76172011-09-07 Ulrich Drepper <drepper@gmail.com>
7618
7619 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7620 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7621 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7622 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7623 clock_gettime.
7624
d53a73ac
UD
76252011-09-06 Ulrich Drepper <drepper@gmail.com>
7626
fc8bffcc
UD
7627 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7628 Forgot to demangle the pointer.
7629
ceaa0c5d
UD
7630 * sysdeps/i386/sysdep.h: Define atom_text_section.
7631 * sysdeps/x86_64/sysdep.h: Likewise.
7632 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7633 section with atom_text_section.
7634 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7635 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7636 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7639
a77d3c17
UD
7640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7641 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7642 already be defined. Change to take two parameters and don't assign
7643 result to variable. Adjust all users.
7644 Define INTERNAL_GETTIME if not already defined.
7645 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7646 call.
7647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7648 HAVE_CLOCK_GETTIME_VSYSCALL.
7649 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7650
d53a73ac
UD
7651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7652 gettimeofday vsyscall, just use time.
7653
a8f84144
AS
76542011-09-06 Andreas Schwab <schwab@redhat.com>
7655
7656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7657 <errno.h>.
7658
ef606249
UD
76592011-09-06 Ulrich Drepper <drepper@gmail.com>
7660
7661 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7662 syscall on x86-64.
7663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7664 syscall.
7665 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7666 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7667 syscall if possible.
7668
6585cb60
UD
76692011-09-05 Ulrich Drepper <drepper@gmail.com>
7670
7671 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7672 e_ident. Don't pass to find_mapsXX.
7673 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7674
a5f524e4
LD
76752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7676
7677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7678 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7679 * sysdeps/x86_64/multiarch/strchr.S: Update.
7680 Check bit_slow_BSF bit.
7681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7682 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7683 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7684
554881ef
UD
76852011-09-05 Ulrich Drepper <drepper@gmail.com>
7686
d96de963
UD
7687 [BZ #13134]
7688 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7689 before glibc 2.15.
7690 (tryshell): Define.
7691 (__spawni): Change last parameter to be flag. Test
7692 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7693 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7694 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7695 * posix/spawni.c: Likewise.
7696 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7697 * posix/spawnp.c: Likewise. Change normal version to use
7698 SPAWN_XFLAGS_USE_PATH.
7699 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7700 SPAWN_XFLAGS_TRY_SHELL.
7701
d48e5868
UD
7702 [BZ #13150]
7703 * posix/glob.h: Remove gcc 1.x support.
7704
554881ef
UD
7705 [BZ #13068]
7706 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7707
693fb948
LD
77082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7709
7710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7711 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7712 strrchr-sse2-bsf
7713 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7714 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7715 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7716 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7717 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7718 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7719
1b48c537
UD
77202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7721
49d42c37
UD
7722 * sysdeps/x86_64/wcscmp.S: New file.
7723
1b48c537
UD
7724 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7725 wcscmp-c wcscmp-sse2
7726 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7727 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7728 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7729 * wcsmbs/wcscmp.c: Allow renaming.
7730
15c95c5d
DM
77312011-09-05 David S. Miller <davem@davemloft.net>
7732
7733 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7734 stack slot, rather than the struct return pointer slot.
7735 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7736 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7739
2f0ad8f3
UD
77402011-09-05 Ulrich Drepper <drepper@gmail.com>
7741
d88ae418
UD
7742 * po/ja.po: Update from translation team.
7743
2f0ad8f3
UD
7744 [BZ #13144]
7745 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7746 kernel in 64-bit binaries.
7747
5f4318d1
DM
77482011-09-01 David S. Miller <davem@davemloft.net>
7749
7750 * elf/elf.h (HWCAP_SPARC_*): Move to..
7751 * sysdeps/sparc/sysdep.h: this new file and add new values.
7752 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7753 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7754 _DL_HWCAP_COUNT to 24.
7755 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7756 entries.
7757 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7758 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7759 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7760 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7761 instead of magic constants.
7762 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7763
3ba57516
DM
77642011-08-31 David S. Miller <davem@davemloft.net>
7765
7766 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7768 Reimplement to do errno handling inline.
7769 (SYSCALL_ERROR_HANDLER): New macro.
7770 (__SYSCALL_STRING): Do not do errno handling in asm.
7771 (__CLONE_SYSCALL_STRING): Delete.
7772 (__INTERNAL_SYSCALL_STRING): Delete.
7773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7774 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7775 (PSEUDO): Reimplement to do errno handling inline.
7776 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7777 (SYSCALL_ERROR_HANDLER): New macro.
7778 (__SYSCALL_STRING): Do not do errno handling in asm.
7779 (__CLONE_SYSCALL_STRING): Delete.
7780 (__INTERNAL_SYSCALL_STRING): Delete.
7781 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7782 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7783 i386.
7784 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7785 (inline_syscall*): Add 'err' argument.
7786 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7787 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7788 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7789 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7790
7791 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7792 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7793
2bc17433
AS
77942011-08-30 Andreas Schwab <schwab@redhat.com>
7795
7796 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7797
fbeb5f4d
JO
77982011-08-29 Jiri Olsa <jolsa@redhat.com>
7799
7800 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7801 directive.
7802
ad69cc26
DM
78032011-08-24 David S. Miller <davem@davemloft.net>
7804
7805 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7806
39dd69df
AS
78072011-08-24 Andreas Schwab <schwab@redhat.com>
7808
7809 * elf/Makefile: Add rules to build and run unload8 test.
7810 * elf/unload8.c: New file.
7811 * elf/unload8mod1.c: New file.
7812 * elf/unload8mod1x.c: New file.
7813 * elf/unload8mod2.c: New file.
7814 * elf/unload8mod3.c: New file.
7815
7816 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7817 it wasn't used.
7818
2c0b250a
DM
78192011-08-23 David S. Miller <davem@davemloft.net>
7820
7821 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7822 subtract stack bias.
7823 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7824 %sp not %fp in calculations.
7825 (_JMPBUF_UNWINDS_ADJ): Likewise.
7826
22044b48
DM
7827 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7828 (aio_suspend): Call it to force an exception region around the
7829 AIO_MISC_WAIT() invocation.
7830
2cae4995
AS
78312011-08-23 Andreas Schwab <schwab@redhat.com>
7832
7833 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7834 backslash.
7835
873a772e
AJ
78362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7837
7838 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7839 protection macro.
7840 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7841 and <dl-machine.h>.
7842 (Elf64_FuncDesc): Remove.
7843
25ad0df1
DM
78442011-08-22 David S. Miller <davem@davemloft.net>
7845
7846 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7847 sigaltstack check, add missing cfi directives.
7848 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7849 missing cfi directives, and sigaltstack handling.
7850
e888bcbe
AS
78512011-08-16 Andreas Schwab <schwab@redhat.com>
7852
7853 [BZ #11724]
7854 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7855 object is seen twice.
7856 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7857
7858 * elf/Makefile (distribute): Add tst-initorder2.c.
7859 (tests): Add tst-initorder2.
7860 (modules-names): Add tst-initorder2a tst-initorder2b
7861 tst-initorder2c tst-initorder2d. Add rules to build them.
7862 ($(objpfx)tst-initorder2.out): New rule.
7863 * elf/tst-initorder2.c: New file.
7864 * elf/tst-initorder2.exp: New file.
7865
87162f46
AS
78662011-08-22 Andreas Schwab <schwab@redhat.com>
7867
70538b7f
AS
7868 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7869
f55ffe58
AS
7870 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7871 dependencies back to end of function.
7872
87162f46
AS
7873 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7874 $(elfobjdir)/ld.so.
7875
91b392a4
UD
78762011-08-21 Ulrich Drepper <drepper@gmail.com>
7877
7878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7879 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7880 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7881 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7882 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7883 of __vdso_gettimeofday.
7884 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7885 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7886 attribute_hidden.
7887 (_libc_vdso_platform_setup): Remove initialization of
7888 __vdso_gettimeofday and __vdso_time.
7889
5c43483f
UD
78902011-08-20 Ulrich Drepper <drepper@gmail.com>
7891
775a77e7
UD
7892 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7893 and fgetc_unlocked.
7894 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7895 getc_unlocked.
89f447ed 7896
49c74ba9
UD
7897 * elf/dl-open.c (add_to_global): Report additions to the global scope
7898 for LD_DEBUG=scopes.
7899 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7900 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7901
5c43483f
UD
7902 [BZ #13114]
7903 * stdio-common/Makefile (tests): Add bug24.
7904 * stdio-common/bug24.c: New file.
7905
a101b025
AJ
79062011-08-19 Andreas Jaeger <aj@suse.de>
7907
7908 [BZ #13114]
7909 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7910 non-existant file when using close-on-exec mode.
7911
c88f1766
UD
79122011-08-20 Ulrich Drepper <drepper@gmail.com>
7913
0276a718
UD
7914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7915 the very first instruction.
7916
c88f1766
UD
7917 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7918 the CFI state in the end.
7919 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7920 inclusion of dl-trampoline.h.
7921 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7922
51ccffa0
AS
79232011-08-19 Andreas Schwab <schwab@redhat.com>
7924
94d7165f
AS
7925 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7926 expectations for long double.
7927
51ccffa0
AS
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7929 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7930
fd708658 79312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7932
7933 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7934 artificual limit depends upon the system page size.
7935
44f0a71e
UD
79362011-08-17 Ulrich Drepper <drepper@gmail.com>
7937
7938 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7939 * resolv/Makefile: Define CFLAGS-libresolv.
7940
8de79a24
AS
79412011-08-17 Andreas Schwab <schwab@redhat.com>
7942
7943 * nss/makedb.c (compute_tables): Make variables used in nested
7944 function static.
7945
27724598
UD
79462011-08-17 Ulrich Drepper <drepper@gmail.com>
7947
c5305d88
UD
7948 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7949 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7950 if buffer was too small.
7951
27724598
UD
7952 * elf/pldd.c (main): Attach to all threads in the process.
7953 Rewrite /proc handling to use *at functions.
7954
076fe015
UD
79552011-08-16 Ulrich Drepper <drepper@gmail.com>
7956
174baab3
UD
7957 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7958 specifies first scope to show.
7959 (dl_open_worker): Update callers. Move printing scope of new
7960 object to before the relocation.
44f0a71e 7961 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7962 * sysdeps/generic/ldsodefs.h: Update declaration.
7963
076fe015
UD
7964 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7965 string for the scope number.
7966
a60df2c3
UD
79672011-08-14 Ulrich Drepper <drepper@gmail.com>
7968
7969 * nscd/servicescache.c (cache_addserv): Make sure written is always
7970 initialized.
7971
5e4287d1
RM
79722011-08-14 Roland McGrath <roland@hack.frob.com>
7973
85ae0589
RM
7974 * sysdeps/i386/i486/bits/atomic.h
7975 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7976 statement expression, so as to suppress "set but not used" warning.
7977 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7978
69f63097
RM
7979 * string/strncat.c (STRNCAT): Use prototype definition.
7980
675456ef
RM
7981 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7982 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7983 -Iprograms here.
7984 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7985 (localedef-modules): Add localedef.
7986 (locale-modules): Add locale.
7987
5e4287d1
RM
7988 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7989 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7990 to avoid a warning.
7991
9c96ff23
DM
79922011-08-14 David S. Miller <davem@davemloft.net>
7993
7994 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7995 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7996
f9ddf089
UD
79972011-08-13 Ulrich Drepper <drepper@gmail.com>
7998
44f0a71e 7999 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8000 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8001 * elf/rtld.c (dl_main): Set l_name of vDSO.
8002 Call _dl_show_scope when DL_DEBUG_SCOPES.
8003 (process_dl_debug): Recognize scopes flag and also set it for all.
8004 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8005 Declare _dl_show_scope.
8006
1dc27704
UD
8007 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8008 (do_dlopen): Pass caller_dlopen to dl_open.
8009 (__libc_dlopen_mode): Initialize caller_dlopen.
8010
f9ddf089
UD
8011 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8012 of libc. Make tolower call locale-independent. Optimize a bit by
8013 using isdigit instead of isalnum.
8014 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8015
9ac533d3
UD
80162011-08-12 Ulrich Drepper <drepper@gmail.com>
8017
8018 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8019 was a dependency or dynamically loaded.
8020
89edf2e9
UD
80212011-08-11 Ulrich Drepper <drepper@gmail.com>
8022
8e999d29
UD
8023 * intl/l10nflist.c: Allow architecture-specific pop function.
8024 * sysdeps/x86_64/l10nflist.c: New file.
8025
89edf2e9
UD
8026 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8027 classification.
8028
14d96785
AS
80292011-08-10 Andreas Schwab <schwab@redhat.com>
8030
8031 * include/dirent.h: Add libc_hidden_proto for scandirat and
8032 scandirat64. Don't declare __scandirat64.
8033 * dirent/scandirat.c: Add libc_hidden_def.
8034 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8035 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8036
6761ac04
DM
80372011-08-10 David S. Miller <davem@davemloft.net>
8038
8039 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8040 enum.
8041 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8043 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8044
c55fbd1e
UD
80452011-08-09 Ulrich Drepper <drepper@gmail.com>
8046
8047 * Versions.def [libc]: Add GLIBC_2.15.
8048 * dirent/Makefile (routines): Add scandirat and scandirat64.
8049 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8050 GLIBC_2.15.
8051 * dirent/dirent.h: Declare scandirat and scandirat64.
8052 * dirent/scandirat.c: New file.
8053 * dirent/scandirat64.c: New file.
8054 * sysdeps/wordsize-64/scandirat.c: New file.
8055 * sysdeps/wordsize-64/scandirat64.c: New file.
8056 * dirent/opendir.c: Define opendirat.
8057 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8058 using scandirat.
8059 * dirent/scandir64.c: Adjust for scandir.c change.
8060 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8061 __scandirat64, and __scandir_cancel_handler.
8062 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8063 additional parameter and use openat instead of open (outside of ld.so).
8064 Add new __opendir as wrapper around __opendirat.
8065 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8066 here without requiring old scandirat implementation.
8067
879165f2
UD
80682011-08-08 Ulrich Drepper <drepper@gmail.com>
8069
8070 * dirent/scandir.c (cancel_handler): Renamed to
8071 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8072 defined. Adjust users.
8073 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8074 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8075
cb7e923b
UD
80762011-08-04 Ulrich Drepper <drepper@gmail.com>
8077
16292edd
UD
8078 * string/test-string.h (IMPL): Use __STRING to expand name and then
8079 stringify it.
8080
cb7e923b
UD
8081 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8082 of cleanups.
8083
cff82933
LD
80842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8085
8086 * string/Makefile: Update.
8087 (strop-tests): Append strncat.
8088 * string/test-wcscmp.c: New file.
8089 New comprehensive test for wcscmp.
8090 * string/test-strcmp.c: Update.
8091 (WIDE): New define.
8092
9be9bfcc
AS
80932011-07-22 Andreas Schwab <schwab@redhat.com>
8094
8095 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8096 line.
8097
2e96f1c7
AS
80982011-07-26 Andreas Schwab <schwab@redhat.com>
8099
8100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8101 encoding to ACE if AI_IDN.
8102
85188888
JJ
81032011-08-01 Jakub Jelinek <jakub@redhat.com>
8104
8105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8106 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8107
5fa16e9b
LD
81082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8109
8110 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8111 Fix overflow bug in strncat.
8112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8113
8114 * string/test-strncat.c: Update.
8115 Add new tests for checking overflow bugs.
8116
81172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8118
8119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8120 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8121 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8122 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8124 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8125 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8126 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8127 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8128
8129 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8130 (USE_AS_STRCAT): Define.
8131 Add strcat and strncat support.
8132 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8133
8c1a459f
AS
81342011-07-25 Andreas Schwab <schwab@redhat.com>
8135
8136 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8137 __n bigger than INT_MAX+1.
8138 (__strncmp_g): Likewise.
8139
bba33c28
UD
81402011-07-23 Ulrich Drepper <drepper@gmail.com>
8141
798be72d
UD
8142 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8143 * libio/stido.h: Likewise.
8144
8accd4dc
UD
8145 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8146 (AF_NFC): Define.
8147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8148 (AF_NFC): Define.
8149
cbff0d96
UD
8150 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8151 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8152 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8155
9191c04a
UD
8156 [BZ #13021]
8157 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8158 installed.
8159
bba33c28
UD
8160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8161 typo.
8162 (_dl_x86_64_save_sse): Likewise.
8163
90f139dd
UD
81642011-07-22 Ulrich Drepper <drepper@gmail.com>
8165
1aae088a
UD
8166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8167 OSXSAVE.
8168 (_dl_x86_64_save_sse): Likewise.
8169
8e2045f5
UD
8170 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8171
90f139dd
UD
8172 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8173
1d002f25
AS
81742011-07-21 Andreas Schwab <schwab@redhat.com>
8175
8176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8177 change.
8178 (_dl_x86_64_save_sse): Use correct AVX check.
8179
21137f89
UD
81802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8181
8182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8183 bug in strncpy/strncat.
8184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8185
a65c0b7a
UD
81862011-07-21 Ulrich Drepper <drepper@gmail.com>
8187
8188 * string/tester.c (test_strcat): Add tests for different alignments
8189 of source and destination.
8190 (test_strncat): Likewise.
8191
6986b98a
UD
81922011-07-20 Ulrich Drepper <drepper@gmail.com>
8193
90bb2039
UD
8194 [BZ #12852]
8195 * posix/glob.c (glob): Check passed in values before using them in
8196 expressions to avoid some overflows.
8197 (glob_in_dir): Likewise.
8198
5644ef54
UD
8199 [BZ #13007]
8200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8201 check for AVX enablement so that we don't crash with old kernels and
8202 new hardware.
8203 * elf/tst-audit4.c: Add same checks here.
8204 * elf/tst-audit6.c: Likewise.
8205
8206 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8207
bfc9dc9b
AS
82082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8209
8210 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8211
702e64bb
UD
82122011-07-20 Ulrich Drepper <drepper@gmail.com>
8213
8214 * po/cs.po: Update from translation team.
8215 * po/bg.po: Likewise.
8216
295e904f
MP
82172011-07-12 Marek Polacek <mpolacek@redhat.com>
8218
8219 * misc/sys/cdefs.h: Add support for const attribute.
8220 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8221 to gnu_dev_{major,minor,makedev} functions.
8222
3ff94596
MP
82232011-07-20 Marek Polacek <mpolacek@redhat.com>
8224
8225 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8226
28b59fca
AS
82272011-07-20 Andreas Schwab <schwab@redhat.com>
8228
8229 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8230 strlen results.
8231
19df733e
AK
82322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8233
8234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8235 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8236 register in order to avoid conflicts with the soft frame pointer
8237 being held in r11 when necessary.
8238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8239 (INTERNAL_VSYSCALL_NCS): Likewise.
8240
c8835729
MP
82412011-07-14 Marek Polacek <mpolacek@redhat.com>
8242
8243 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8244 * elf/dl-fini.c (_dl_fini): Adjust caller.
8245 * elf/dl-close.c (_dl_close_worker): Likewise.
8246 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8247
b902330c
MP
82482011-07-15 Marek Polacek <mpolacek@redhat.com>
8249
8991e135
MP
8250 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8251 "aux_cache->nlibs < 0".
8252
b902330c
MP
8253 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8254 in the reload-count case.
8255
99710781
LD
82562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8257
8258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8259 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8260 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8261 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8262 * sysdeps/x86_64/multiarch/strcat.S: New file.
8263 * sysdeps/x86_64/multiarch/strncat.S: New file.
8264 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8265 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8266 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8267 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8268 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8269 (USE_AS_STRCAT): Define.
8270 Add strcat and strncat support.
8271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8272 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8273 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8274 * string/strncat.c: Update.
8275 (USE_AS_STRNCAT): Define.
8276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8277 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8278 and i7.
8279 * sysdeps/x86_64/multiarch/init-arch.h
8280 (bit_Prefer_PMINUB_for_stringop): New.
8281 (index_Prefer_PMINUB_for_stringop): Likewise.
8282 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8283 bit_Prefer_PMINUB_for_stringop.
8284
7dc6bd90
UD
82852011-07-19 Ulrich Drepper <drepper@gmail.com>
8286
8287 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8288 buffer64.
8289 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8290 of casting of buffer.
8291 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8292 buffer32 and buffer64.
8293 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8294 writes instead of casting of buffer.
8295 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8296 buffer32.
8297 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8298 casting of buffer.
8299
e0e72284
AS
83002011-07-19 Andreas Schwab <schwab@redhat.com>
8301
8302 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8303
feb1eb0b
UD
83042011-07-19 Ulrich Drepper <drepper@gmail.com>
8305
8306 * nscd/nscd.c (termination_handler): Don't do anything for a database
8307 if it has not yet been initialized.
8308
298711ff
UD
83092011-07-18 Ulrich Drepper <drepper@gmail.com>
8310
8311 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8312
83132011-07-15 Marek Polacek <mpolacek@redhat.com>
8314
8315 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8316
f9d68389
UD
83172011-07-18 Ulrich Drepper <drepper@gmail.com>
8318
8319 * po/nl.po: Update from translation team.
8320 * po/sv.po: Likewise.
8321
db290cf5
RM
83222011-07-16 Roland McGrath <roland@hack.frob.com>
8323
8324 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8325 now disallowed by GCC.
5c550700 8326
fd5e21c7
RM
8327 * configure.in (use-default-link): Default to yes if a test -shared
8328 link meets our qualifications.
8329 * configure: Regenerated.
8330
5c550700
RM
8331 * config.make.in (output-format): New variable.
8332 * configure.in: Check for ld --print-output-format support.
8333 * configure: Regenerated.
8334 * Makerules ($(common-objpfx)format.lds)
8335 [$(output-format) != unknown]: Just use $(output-format),
8336 instead of the linker-script munging.
8337
9fa2c032
RM
83382011-07-14 Roland McGrath <roland@hack.frob.com>
8339
a6928d51
RM
8340 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8341 of $(common-objpfx)shlib.lds.
8342 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8343
661607b3
RM
8344 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8345 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8346
9fa2c032
RM
8347 * configure.in (-z relro check): Adjust test code to add a large
8348 writable data section after it.
8349 * configure: Regenerated.
8350
defe9061
RM
83512011-07-11 Roland McGrath <roland@hack.frob.com>
8352
8353 * configure.in (-z relro check): Fix test code to make the variable
8354 truly const.
8355 * configure: Regenerated.
8356
319b9ad4
UD
83572011-07-11 Ulrich Drepper <drepper@gmail.com>
8358
8359 * nscd/nscd.h (struct traced_file): Define.
8360 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8361 elements. Add traced_files.
8362 (inotify_fd): Declare.
8363 (register_traced_file): Declare.
8364 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8365 (inotify_fd): Export.
8366 (resolv_conf_descr): Remove.
8367 (nscd_init): Move inotify descriptor creation to main.
8368 Don't register files for notification here.
8369 (register_traced_file): New function.
8370 (invalidate_cache): Don't use reset_res to determine whether to call
8371 res_init, go through the list of registered files.
8372 (main_loop_poll): The inotify descriptors are now stored in the
8373 structures for the traced files.
8374 (main_loop_epoll): Likewise
8375 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8376 to __nss_disable_nscd.
8377 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8378 for a database anymore. Check the records for all the registered
8379 files instead.
8380 * nss/Makefile (libnss_files-routines): Add files-init.
8381 (libnss_db-routines): Add db-init.
8382 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8383 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8384 * nss/nss_db/db-init.c: New file.
8385 * nss/nss_files/files-init.c: New file.
8386 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8387 __nss_lookup_function.
8388 (__nss_lookup_function): Call nss_load_library.
8389 (nss_load_all_libraries): New function.
8390 (__nss_disable_nscd): Take parameter with callback function for files
8391 to register. Set is_nscd. Load all the DSOs for the NSS modules
8392 used for the cached services.
8393 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8394 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8395 options for features to all the files in nscd.
8396
8397 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8398
23bee3e8
RM
83992011-07-10 Roland McGrath <roland@hack.frob.com>
8400
8401 * csu/elf-init.c (__libc_csu_init): Comment typo.
8402
46a5b7f0
UD
84032011-07-09 Ulrich Drepper <drepper@gmail.com>
8404
8405 * po/pl.po: Update from translation team.
8406 * po/ja.po: Likewise.
8407 * po/ru.po: Likewise.
8408 * po/ko.po: Likewise.
8409 * po/fr.po: Likewise.
8410
d30cf5bb
RM
84112011-07-09 Roland McGrath <roland@hack.frob.com>
8412
113ddea4
RM
8413 * configure.in (.ctors/.dtors header and trailer check):
8414 Use an empirical test on a built program.
8415 * configure: Regenerated.
8416
574920b4
RM
8417 * configure.in (-z relro check): Use an empirical test on a built DSO.
8418 Detect, but do not require, on ia64.
8419 * configure: Regenerated.
8420
d30cf5bb
RM
8421 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8422 Update tests that use readelf to use $READELF instead.
8423 * configure: Regenerated.
8424
8538fdb3
UD
84252011-07-08 Ulrich Drepper <drepper@gmail.com>
8426
8427 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8428 if the result is not used.
8429
04d08991
AJ
84302011-07-05 Andreas Jaeger <aj@suse.de>
8431
8432 [BZ#9696]
8433 * stdlib/tst-strtod.c: Add testcase.
8434
de283087
AD
84352011-07-07 Ulrich Drepper <drepper@gmail.com>
8436
4e5f31c8 8437 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8438 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8439 The latter has a higher limit. Take additional parameter to pass to
8440 the new function.
8441 (__pathconf): Pass file to __statfs_link_max.
8442 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8443 __statfs_link_max.
8444 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8445 __statfs_link_max.
8446
de283087
AD
8447 [BZ #12868]
8448 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8449 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8450 Handle Lustre.
8451 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8452 (__statfs_filesize_max): Likewise.
8453 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8454
c75fa153
AJ
84552011-07-05 Andreas Jaeger <aj@suse.de>
8456
8457 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8458
1a544854
UD
84592011-07-06 Marek Polacek <mpolacek@redhat.com>
8460
8461 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8462 `status' variable.
8463 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8464 Likewise.
8465
6f0eec67
UD
84662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8467
8468 * Makefile (strop-tests): Add strncat.
8469 * string/test-strncat.c: New file.
8470
aae30307
UD
84712011-06-30 Marek Polacek <mpolacek@redhat.com>
8472
8473 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8474
c0cfb5eb
UD
84752011-06-21 Andreas Jaeger <aj@suse.de>
8476
8477 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8478 Copy rule from iconvdata/Makefile.
8479
01636b21
UD
84802011-07-06 Ulrich Drepper <drepper@gmail.com>
8481
8482 [BZ #12922]
8483 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8484 but no long options are defined, just return 'W'.
8485
9895c8bc
UD
84862011-06-22 Marek Polacek <mpolacek@redhat.com>
8487
8488 [BZ #9696]
8489 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8490
5d4cf042
UD
84912011-07-06 Ulrich Drepper <drepper@gmail.com>
8492
8493 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8494 netgroups to read.
960e5535 8495 (innetgr): Likewise.
5d4cf042 8496
751eb97e
RM
84972011-07-05 Roland McGrath <roland@hack.frob.com>
8498
8499 * config.make.in (install_root): Default to $(DESTDIR).
8500
f15f1e45
UD
85012011-07-05 Ulrich Drepper <drepper@gmail.com>
8502
8503 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8504
4e34ac6a
RM
85052011-07-02 Roland McGrath <roland@hack.frob.com>
8506
5e9b6af4
RM
8507 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8508
84f9ea0f
RM
8509 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8510 containing directory rather than embedding absolute directory names.
8511
ea5ee9f7
RM
8512 * scripts/check-local-headers.sh: Rewritten using awk.
8513 Match by word, not by line. Print error messages for matches.
8514 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8515
1b74661a
RM
8516 * Makerules [shlib-lds-flags empty]:
8517 ($(common-objpfx)libc_pic.opts): New target.
8518 ($(common-objpfx)libc_pic.os.clean): New target.
8519 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8520
8521 * config.make.in (OBJCOPY): New variable.
8522 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8523 * configure: Regenerated.
8524
f781ef40
RM
8525 * config.make.in (use-default-link): New variable.
8526 * configure.in (use_default_link): Grok --with-default-link to set it.
8527 * configure: Regenerated.
8528 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8529 (shlib-lds, shlib-lds-flags): Define to empty.
8530
2d4fa81e
RM
8531 * Makerules (shlib-lds): New variable.
8532 (shlib-lds-flags): New variable.
8533 (build-shlib, build-moduile, build-module-asneeded): Use it.
8534 ($(common-objpfx)libc.so): Use $(shlib-lds).
8535 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8536 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8537
31fffa6b
RM
8538 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8539 DT_FLAGS/DT_FLAGS_1 with zero flags.
8540
4e34ac6a
RM
8541 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8542 linker script munging.
8543
fcfc776b
UD
85442011-07-02 Ulrich Drepper <drepper@gmail.com>
8545
8546 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8547 as 128-bit value.
8548 * crypt/sha512.c (sha512_process_block): Perform total addition using
8549 128-bit if possible.
8550 (__sha512_finish_ctx): Likewise.
8551 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8552 as 64-bit value.
8553 * crypt/sha256.c (SWAP64): Define.
8554 (sha256_process_block): Perform total addition using 64-bit if
8555 possible.
8556 (__sha256_finish_ctx): Likewise.
8557
99231d9a
UD
85582011-07-01 Ulrich Drepper <drepper@gmail.com>
8559
8560 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8562 * nscd/hstcache.c (cache_addhst): Likewise.
8563 * nscd/grpcache.c (cache_addgr): Likewise.
8564 * nscd/aicache.c (addhstaiX): Likewise
8565 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8566
445b4a53
TK
85672011-07-01 Thorsten Kukuk <kukuk@suse.de>
8568
8569 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8571 * nscd/hstcache.c (cache_addhst): Likewise.
8572 * nscd/grpcache.c (cache_addgr): Likewise.
8573 * nscd/aicache.c (addhstaiX): Likewise
8574
6d4d8e8e
AS
85752011-07-01 Andreas Schwab <schwab@redhat.com>
8576
8577 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8578 domain only when needed.
8579
89f654c5
AS
85802011-06-30 Andreas Schwab <schwab@redhat.com>
8581
8582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8583 is always restored.
8584
cf3b23ff
UD
85852011-06-29 Ulrich Drepper <drepper@gmail.com>
8586
8587 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8588 are re-adding the entry.
8589 * nscd/servicescache.c (cache_addserv): Likewise.
8590
751626f9
AJ
85912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8592
8593 * sysdeps/generic/dl-irel.h: fix protection against multiple
8594 inclusions.
8595 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8596
9113ea1f
UD
85972011-06-28 Ulrich Drepper <drepper@gmail.com>
8598
5c0b8d90
UD
8599 [BZ #12935]
8600 * malloc/memusage.sh: Fix quoting in message.
8601 * debug/xtrace.sh: Likewise.
8602
9113ea1f
UD
8603 * configure.in: Remove support for --experimental-malloc option, make
8604 it the default.
8605 * config.make.in: Likewise.
8606 * malloc/Makefile: Likewise.
8607
a4172181
AS
86082011-06-27 Andreas Schwab <schwab@redhat.com>
8609
8610 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8611 two-byte characters.
8612
78a7eee7
RM
86132011-06-27 Roland McGrath <roland@hack.frob.com>
8614
62bede13
RM
8615 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8616 AC_CACHE_CHECK invocation.
8617 * configure: Regenerated.
8618
78a7eee7
RM
8619 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8620
5ce33a62
UD
86212011-06-27 Ulrich Drepper <drepper@gmail.com>
8622
034807a9
UD
8623 [BZ #12350]
8624 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8625 bit from old_res_options.
8626
4902da17
UD
8627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8628
5ce33a62
UD
8629 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8630 value type for setfct.
8631
c2344f56
L
86322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8633
8634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8635 __gettimeofday instead of gettimeofday.
8636
68468076
UD
86372011-06-26 Ulrich Drepper <drepper@gmail.com>
8638
8639 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8640
acb0d739
L
86412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8644
8645 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8646 info.
8647
8912479f
L
86482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8649
8650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8651 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8652 strcpy-sse2-unaligned strncpy-sse2-unaligned
8653 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8654 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8655 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8656 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8657 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8659 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8660 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8661 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8662 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8663 (STRCPY): Support SSE2 and SSSE3 versions.
8664
d5495a11
UD
86652011-06-24 Ulrich Drepper <drepper@gmail.com>
8666
8667 [BZ #12874]
8668 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8669 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8670 kernels which artificially limit size of requests.
8671
0b1cbaae
L
86722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8675 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8676 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8677 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8678 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8679 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8680 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8681 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8684 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8685 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8686 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8687 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8688 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8690 Enable unaligned load optimization for Intel Core i3, i5 and i7
8691 processors.
8692 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8693 Define.
8694 (index_Fast_Unaligned_Load): Define.
8695 (HAS_FAST_UNALIGNED_LOAD): Define.
8696
07f494a0
MP
86972011-06-23 Marek Polacek <mpolacek@redhat.com>
8698
8699 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8700
fa3fc0fe
UD
87012011-06-22 Ulrich Drepper <drepper@gmail.com>
8702
8703 [BZ #12907]
8704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8705 until it is clear that the information is realy needed.
8706 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8707
e12df166
AS
87082011-06-22 Andreas Schwab <schwab@redhat.com>
8709
8710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8711
852eb34d
UD
87122011-06-22 Ulrich Drepper <drepper@gmail.com>
8713
84e2a551
UD
8714 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8715 /sys/devices/system/cpu/online if it is usable.
8716
852eb34d
UD
8717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8718 reading the information from the /proc filesystem to once a second.
8719
6e502e19
UD
87202011-06-21 Andreas Jaeger <aj@suse.de>
8721
8722 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8723 NULL after inclusion of kernel headers.
8724
75d39ff2
UD
87252011-06-21 Ulrich Drepper <drepper@gmail.com>
8726
51f9aa6a
UD
8727 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8728 calls to internal_setent.
8729
c0244a9d
UD
8730 [BZ #12885]
8731 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8732 addresses using gethostbyname4_r ignore IPv4 addresses.
8733
c5e3c2ae
UD
8734 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8735 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8736
75d39ff2
UD
8737 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8738
42675c6f
DM
87392011-06-20 David S. Miller <davem@davemloft.net>
8740
8741 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8742 inclusions.
8743 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8744
8745 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8746 (elf_irel): Use it.
8747 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8748 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8749 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8750 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8751 * sysdeps/x86_64/dl-irel.h: Likewise.
8752
8753 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8754 * elf/dl-sym.c: Likewise.
8755
57912a71
UD
87562011-06-15 Ulrich Drepper <drepper@gmail.com>
8757
8758 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8759 need to dereference resplen2.
8760
ee22793d
AS
87612011-06-14 Andreas Schwab <schwab@redhat.com>
8762
8763 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8764
a9e836b0
UD
87652011-06-15 Ulrich Drepper <drepper@gmail.com>
8766
77fb9117
UD
8767 * Makeconfig: Define vardbdir and inst_vardbdir.
8768 * nss/Makefile: Add rules to install db-Makefile.
8769
40c1b22c
UD
8770 * nss/nss_db/db-XXX.c: Cleanup.
8771
9f2da732
UD
8772 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8773 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8774 GLIBC_PRIVATE.
8775 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8776 * nss/makedb.c: Implement -g option to specify that value strings
8777 are generated and should not be added to table iterated over for
8778 get*ent calls.
8779 * nss/nss_db/db-initgroups.c: New file.
8780
82e9a1f7
UD
8781 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8782 interface.
8783
c41af17e
UD
8784 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8785 (internal_getgrouplist): Adjust to name change.
8786 Update use_initgroups_entry if this is not the first call.
8787 * nss/databases.def: Add initgroups entry.
8788
a9e836b0
UD
8789 * nss/makedb.c (compute_tables): Check result of multiple hash table
8790 sizes to minimize maximum chain length.
8791
2666d441
UD
87922011-06-14 Ulrich Drepper <drepper@gmail.com>
8793
8794 * Versions.def: Add entry for libnss_db.
8795 * shlib-versions: Likewise.
8796 * nss/Makefile: Add rules to build libnss_db.
8797 * nss/Versions: Add libnss_db information. Organize libnss_files
8798 entries better.
8799 * nss/db-Makefile: Add gshadow support. Change rules for the new
8800 makedb progra. Some minor improvements to generate smaller files.
8801 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8802 here from...
8803 * nss/makedb.c: ...here.
8804 Improve database format to be smaller and require less memory at
8805 runtime.
8806 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8807 db anymore.
8808 * nss/nss_db/db-netgrp.c: Likewise.
8809 * nss/nss_db/db-open.c: Likewise.
8810 * nss/nss_files/flies-XXX.x: Adjust comments.
8811 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8812 * nss/nss_files/files-grp.c: Likewise.
8813 * nss/nss_files/files-hosts.c: Likewise.
8814 * nss/nss_files/files-network.c: Likewise.
8815 * nss/nss_files/files-proto.c: Likewise.
8816 * nss/nss_files/files-pwd.c: Likewise.
8817 * nss/nss_files/files-rpc.c: Likewise.
8818 * nss/nss_files/files-service.c: Likewise.
8819 * nss/nss_files/files-sgrp.c: Likewise.
8820 * nss/nss_files/files-spwd.c: Likewise.
8821 * nss/nss_db/db-alias.c: Removed.
8822 * nss/nss_db/dummy-db.h: Removed.
8823
9ee76b5a
UD
88242011-06-02 Ulrich Drepper <drepper@gmail.com>
8825
8826 * nss/makedb.c: Rewritten to not use database library.
8827 * nss/Makefile: Update to build new makedb program.
8828
c71ca1f8
AJ
88292011-06-14 Andreas Jaeger <aj@suse.de>
8830
8831 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8832 memset declaration.
8833
3154bfb8
UD
88342011-06-10 Andreas Schwab <schwab@redhat.com>
8835
8836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8837 tmpbuf.
8838
b350afab
RM
88392011-06-10 Roland McGrath <roland@hack.frob.com>
8840
decd4e50
RM
8841 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8842 * elf/Makefile ($(objpfx)ld.so): Likewise.
8843
5615eaf2
RM
8844 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8845 Don't list ld.so twice in dependencies.
8846
8847 * posix/bug-regex31.c: Include <stdlib.h>.
8848
8849 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8850
8851 * nis/nss_compat/compat-spwd.c
8852 (getspent_next_nss_netgr): Remove unused variable.
8853 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8854
8855 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8856 nonmembers" output to use the right array.
8857
8858 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8859
8860 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8861
8862 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8863 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8864 * catgets/gencat.c (read_input_file): Likewise.
8865 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8866
8867 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8868 variable definition inside #if's controlling its use.
8869
8870 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8871
8872 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8873
8874 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8875
8876 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8877 unreachable code.
8878
8879 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8880
b68e08db
RM
8881 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8882 * configure: Regenerated.
8883
b350afab
RM
8884 * Makerules: Revert last change.
8885 * elf/Makefile: Likewise.
8886
28368601
RM
88872011-06-09 Roland McGrath <roland@hack.frob.com>
8888
8889 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8890 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8891 (reloc-link): Likewise.
8892
11988f8f
UD
88932011-06-09 Ulrich Drepper <drepper@gmail.com>
8894
8895 * elf/Makefile: Add rules to build pldd.
8896 * elf/pldd.c: New file.
8897 * elf/pldd-xx.c: New file.
8898
e80fab37
UD
88992011-06-07 Ulrich Drepper <drepper@gmail.com>
8900
8901 * version.h: Update for 2.15 development version.
8902
9b849836
DM
89032011-06-07 David S. Miller <davem@davemloft.net>
8904
8905 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8906 ifuncs.
8907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8908 elf_machine_lazy_rel): Likewise.
8909 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8911 elf_machine_lazy_rel): Likewise.
8912 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8913 dl_hwcap via passed in argument.
8914 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8915 Likewise.
8916
5a31b283
AK
89172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8918
8919 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8920
069e52f8
RM
89212011-06-06 Roland McGrath <roland@hack.frob.com>
8922
8923 [BZ #12849]
8924 * manual/fdl-1.1.texi: New file, verbatim from:
8925 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8926 * manual/lgpl-2.1.texi: New file, verbatim from:
8927 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8928 * manual/Makefile (licenses): New variable, list those new file names.
8929 (texis): Use it.
8930 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8931
8932 * manual/fdl.texi: File removed.
8933 * manual/lesser.texi: File removed.
8934 * manual/libc.texinfo (Copying, Documentation License):
8935 Use new @include file names, put @appendix directive before @include.
8936
f16846a5
JJ
89372011-06-04 Jakub Jelinek <jakub@redhat.com>
8938
8939 [BZ #12841]
8940 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8941 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8942 (mq_open): Add __NTH.
8943
3d29045b
L
89442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8945
8946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8947 Assume Intel Core i3/i5/i7 processor if AVX is available.
8948
8c297311
UD
89492011-05-31 Ulrich Drepper <drepper@gmail.com>
8950
8951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8952 typo.
8953
c8fc0c91
UD
89542011-05-31 Andreas Schwab <schwab@redhat.com>
8955
8956 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8957 memory. Use alloca_account. Fix memory leak when retrying.
8958
5b27a807
UD
89592011-05-31 Ulrich Drepper <drepper@gmail.com>
8960
356f8bc6
UD
8961 * version.h (RELEASE): Bump for 2.14 release.
8962 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8963
5b27a807
UD
8964 * config.make.in (RANLIB): Remove entry.
8965
01f16ab0
UD
89662011-05-30 Ulrich Drepper <drepper@gmail.com>
8967
41fce8bd
UD
8968 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8969 (libc.pot): Work around missing support for .ksh extension in xgettext.
8970
4769ae77
UD
8971 [BZ #12684]
8972 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8973 if both request failed.
8974 (send_dg): In case of server errors clear resplen or *resplen2.
8975
6b1e7d19
UD
8976 [BZ #12454]
8977 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8978 when there are multiple maps.
8979 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8980 (_dl_fini): Remove test here.
8981
01f16ab0
UD
8982 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8983
b1ebd700
UD
89842011-05-29 Ulrich Drepper <drepper@gmail.com>
8985
7ae22829
UD
8986 [BZ #12350]
8987 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8988 bit from old_res_options.
8989 (gaih_inet): Likewise.
8990
553149f6 8991 [BZ #11099]
18a84741 8992 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8993 as signed.
8994
652ffab1
UD
8995 * resolv/res_init.c (res_setoptions): Make the code more compact.
8996
16985fd0
UD
8997 [BZ #11558]
8998 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8999 set RES_USEVC.
9000
0464f746
UD
9001 [BZ #11634]
9002 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9003
7d17596c
UD
9004 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9005
cf6bbbd7
UD
9006 [BZ #11781]
9007 * malloc/malloc.h: Declare malloc hook variables as volatile.
9008
13f1ab36
UD
9009 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9010 in last patch.
9011
b1ebd700
UD
9012 [BZ #11799]
9013 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9014 raise in the comment.
80e2212d
UD
9015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9017 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9018
ce67228d
UD
90192011-05-28 Ulrich Drepper <drepper@gmail.com>
9020
8887a920
UD
9021 [BZ #12811]
9022 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9023 grow the buffers more if it already has to be sufficient.
9024 (build_wcs_upper_buffer): Likewise.
9025 * posix/regexec.c (check_matching): Likewise.
9026 (clean_state_log_if_needed): Likewise.
9027 (extend_buffers): Don't enlarge buffers beyond size of the input
9028 buffer.
9029 Patches mostly by Emil Wojak <emil@wojak.eu>.
9030 * posix/bug-regex32.c: New file.
9031 * posix/Makefile (tests): Add bug-regex32.
9032
4f031072
UD
9033 * locale/findlocale.c (_nl_find_locale): Return right away if
9034 _nl_explode_name failed.
9035 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9036
d0478f0c
UD
9037 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9038
de81b246
UD
9039 * debug/xtrace.sh: Unify messages.
9040 * malloc/memusage.sh: Likewise.
9041
c738465a
UD
9042 [BZ #12813]
9043 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9044 time symbol from vDSO. Substitute with vsyscall if not available.
9045 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9046 __vdso_time.
9047
f1f929d7
UD
9048 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9049 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9050 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9051 Add sendmmsg and internal_sendmmsg.
9052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9053 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9054 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9055
ce67228d
UD
9056 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9057 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9058 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9059
e57420c6
UD
90602011-05-27 Ulrich Drepper <drepper@gmail.com>
9061
a8509ca5
UD
9062 [BZ #12813]
9063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9064 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9065 available.
9066 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9067 __vdso_getcpu.
9068
e57420c6
UD
9069 [BZ #12814]
9070 * iconvdata/Makefile (tests): Add bug-iconv9.
9071 * iconvdata/bug-iconv9.c: New file.
9072
4d07db15
AS
90732011-05-27 Andreas Schwab <schwab@redhat.com>
9074
9075 [BZ #12814]
9076 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9077
ea486f69
JJ
90782011-05-25 Jakub Jelinek <jakub@redhat.com>
9079
9080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9081 (struct user_regs_struct): Change intcs field back to cs.
9082
6f038433
UD
90832011-05-25 Ulrich Drepper <drepper@gmail.com>
9084
9085 * po/ja.po: Update from translation team.
9086
67f86a25
UD
90872011-05-23 Ulrich Drepper <drepper@gmail.com>
9088
9089 [BZ #12795]
9090 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9091 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9092
def7fbd6
AS
90932011-05-20 Andreas Schwab <schwab@redhat.com>
9094
9095 * stdlib/longlong.h: Update from GCC.
9096
f50ef8f1
AS
90972011-05-23 Andreas Schwab <schwab@redhat.com>
9098
9099 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9100 parameter name.
9101 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9102 Add parameter name.
9103 (__sysconf): Pass it down.
9104
de7ce8f1
UD
91052011-05-22 Ulrich Drepper <drepper@gmail.com>
9106
f2962a71
UD
9107 [BZ #12671]
9108 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9109 some situations.
9110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9111 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9112 add in in __libc_use_alloca calls. Adjust callers.
9113 (glob): Use malloc in some situations.
9114
de7ce8f1
UD
9115 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9116 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9117 pltexit.
9118
aec84f53
UD
91192011-05-21 Ulrich Drepper <drepper@gmail.com>
9120
05bb4a68
UD
9121 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9122 and CLOCK_BOOTTIME_ALARM.
9123
7ea72f99
UD
9124 [BZ #12782]
9125 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9126 is returned.
9127
7e4afad5
UD
9128 * string/_strerror.c (__strerror_r): Print negative errors as signed
9129 numbers.
9130
8e211fec
UD
9131 [BZ #12777]
9132 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9133 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9134 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9135
f7d82dc9
UD
9136 * configure.in: Fix typo in redirection and correct removal of test
9137 files in two cases.
9138
cc9e536d
UD
9139 [BZ #12788]
9140 * locale/setlocale.c (new_composite_name): Fix test to check for
9141 identical name of all categories.
9142
aec84f53
UD
9143 [BZ #12792]
9144 * libio/filedoalloc.c (local_isatty): New function.
9145 (_IO_file_doallocate): Use local_isatty.
9146 * stdio-common/perror.c (perror): In case a new stream is used
9147 forward the stream error.
9148 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9149 error flag.
9150
78e64fdc
RT
91512011-05-20 Ulrich Drepper <drepper@gmail.com>
9152
34a9094f
UD
9153 [BZ #11869]
9154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9155 alloca.
9156 * include/alloca.h (extend_alloca_account): Define.
9157
78e64fdc
RT
9158 [BZ #11857]
9159 * posix/regex.h: Fix comments with documentation of user-accessible
9160 fields after compilation and describe correct free'ing of pattern
9161 after re_compile_pattern.
9162 Patch by Reuben Thomas <rrt@sc3d.org>.
9163
457bddfc
RA
91642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9165
9166 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9167 and -mno-altivec to prevent the compiler from using Altivec and/or
9168 VSX instructions when the corresponding registers are not available.
9169
a4527b51
AS
91702011-05-19 Andreas Schwab <schwab@redhat.com>
9171
9172 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9173
ed690b2f
UD
91742011-05-19 Ulrich Drepper <drepper@gmail.com>
9175
9176 * libio/freopen.c (freopen): Use __dup2, not dup2.
9177 * libio/freopen64.c (freopen64): Likewise.
9178
8db73634
L
91792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 [BZ #12775]
9182 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9183 * math/Makefile (tests): Add test-powl.
9184 (CFLAGS-test-powl.c): Define.
9185 * math/test-powl.c: New file.
9186
0a197a9d
L
91872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9190
ee30c380
UD
91912011-05-17 Ulrich Drepper <drepper@gmail.com>
9192
9193 [BZ #11837]
9194 * iconvdata/gb18030.c: Update to GB18020-2005.
9195
6ce75379
UD
91962011-05-16 Ulrich Drepper <drepper@gmail.com>
9197
a4b89fd8
AR
9198 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9199 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9200 Patch by Aharon Robbins <arnold@skeeve.com>.
9201
ea389b12
UD
9202 [BZ #11892]
9203 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9204 on the stack.
9205
68a3f91f
UD
9206 [BZ #11895]
9207 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9208 through underflows.
9209
15cc7dd1
UD
9210 [BZ #12766]
9211 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9212 point to strings before performing equality test for error_one_per_line
9213 mode.
9214
f3799213
UD
9215 [BZ #11697]
9216 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9217
d79a9c94
UD
9218 [BZ #11820]
9219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9220 (struct user_fpregs_struct): Avoid __uint*_t types.
9221
56e5eb46
UD
9222 [BZ #6420]
9223 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9224 symbol info. Use it instead of calling _dl_addr locally.
9225 (lock_and_info): New function.
9226 (tr_freehook): Call lock_and_info and pass symbol info as additional
9227 parameter to tr_where.
9228 (tr_mallochook): Likewise.
9229 (tr_reallochook): Likewise.
9230 (tr_memalignhook): Likewise.
9231
6ce75379
UD
9232 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9233 used and couldn't be at all thread-safe.
9234
f8a3b5bf
UD
92352011-05-15 Ulrich Drepper <drepper@gmail.com>
9236
94b7cc37
UD
9237 * libio/freopen.c (freopen): Don't close old file descriptor
9238 before the new one is opened. Instead dup the new file descriptor
9239 to the old one after the new stream is created.
9240 * libio/freopen64.c (freopen64): Likewise.
9241 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9242 * libio/fileops.c (_IO_new_file_close_it): Handle new
9243 _IO_FLAGS2_NOCLOSE flag.
9244 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9245 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9246 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9247 _IO_FLAGS2_NOCLOSE flag.
9248 * include/unistd.h: Add hidden_proto for dup3.
9249 Define __have_dup3.
9250 * io/dup3.c: Define hidden symbol.
9251 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9252
bd25564e
UD
9253 [BZ #7101]
9254 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9255 when an incomplete long option is used.
9256 * posix/tst-getopt_long1.c: New file.
9257 * posix/Makefile (tests): Add tst-getopt_long1.
9258
c84cfef4
UD
9259 [BZ #10138]
9260 * scripts/config.guess: Update from autoconf-2.68.
9261 * scripts/config.sub: Likewise.
9262
3b85df27
UD
9263 [BZ #10157]
9264 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9265 tests into ...
9266 (has_cpuclock): ...this. New function.
9267 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9268 macro here based on has_cpuclock code.
9269
15a856b1
UD
9270 [BZ #10149]
9271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9272 First byte (not low byte) is now always NUL.
9273 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9274
05f399e6
UD
9275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9276 Use non-cancelable interfaces.
9277
10a52685 9278 [BZ #9809]
94ecc67d
UD
9279 * locale/iso-639.def: Add entry for Sorani.
9280
f8a3b5bf
UD
9281 [BZ #11901]
9282 * include/stdlib.h: Move include protection to the right place.
9283 Define abort_msg_s. Declare __abort_msg with it.
9284 * stdlib/abort.c (__abort_msg): Adjust type.
9285 * assert/assert.c (__assert_fail_base): New function. Majority
9286 of code from __assert_fail. Allocate memory for __abort_msg with
9287 mmap.
9288 (__assert_fail): Now call __assert_fail_base.
9289 * assert/assert-perr.c: Remove bulk of implementation. Use
9290 __assert_fail_base.
9291 * include/assert.hL Declare __assert_fail_base.
9292 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9293 mmap.
9294 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9295
1af4e298
UD
92962011-05-14 Ulrich Drepper <drepper@gmail.com>
9297
f8a3b5bf 9298 [BZ #11952]
d26dfc60
MG
9299 [BZ #12453]
9300 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9301 until all modules are registered in the DTV.
9302 * elf/Makefile: Add rules to build and run tst-tls19.
9303 * elf/tst-tls19.c: New file.
9304 * elf/tst-tls19mod1.c: New file.
9305 * elf/tst-tls19mod2.c: New file.
9306 * elf/tst-tls19mod3.c: New file.
9307 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9308
2fc54d6f
UD
9309 [BZ #12083]
9310 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9311 correctly.
9312
98d76b46
UD
9313 [BZ #12601]
9314 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9315 two-byte sequence errors.
9316 * iconvdata/Makefile (tests): Add bug-iconv8.
9317 * iconvdata/bug-iconv8.c: New file.
9318
da3c19ef
UD
9319 [BZ #12626]
9320 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9321 buf2 definition.
9322
ca408c15
UD
9323 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9324
d6f67f7d
UD
9325 [BZ #12432]
9326 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9327 (dummy_getcfa): New function.
9328 (init): Get _Unwind_GetCFA address, use dummy if not found.
9329 (backtrace_helper): In recursion check, also check whether CFA changes.
9330 (__backtrace): Completely initialize arg.
9331
1af4e298 9332 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9333 storing incomplete byte sequence in state object. Avoid testing for
9334 guaranteed too small input if we know there is enough data available.
1af4e298 9335
da62f81b
AS
93362011-05-11 Andreas Schwab <schwab@redhat.com>
9337
9338 * Makeconfig (+link-pie): Indent.
9339 * Rules (binaries-pie): Define if $(have-fpie) and
9340 $(build-shared).
9341 (binaries-shared): Also filter out $(binaries-pie).
9342 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9343 * nscd/Makefile (others-pie): Add nscd.
9344 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9345 ($(objpfx)nscd): Remove command override.
9346 * login/Makefile (others-pie): Add pt_chown.
9347 ($(objpfx)pt_chown): Remove command override.
9348 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9349 remove command overrides.
9350
fcabc0f8
UD
93512011-05-13 Ulrich Drepper <drepper@gmail.com>
9352
20030ae6
UD
9353 * libio/tst_putwc.c: Fix error messages.
9354
fcabc0f8
UD
9355 [BZ #12724]
9356 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9357 currently writing and seek to current position when not.
9358 * libio/Makefile (tests): Add bug-fclose1.
9359 * libio/bug-fclose1.c: New file.
9360
320a5dc0
PB
93612011-05-12 Ulrich Drepper <drepper@gmail.com>
9362
9363 [BZ #12511]
9364 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9365 don't set DF_1_NODELETE here.
9366 (do_lookup_x): When entering new entry test for copy relocation
9367 and if necessary set DF_1_NODELETE flag.
9368 * elf/tst-unique4.cc: New file.
9369 * elf/tst-unique4.h: New file.
9370 * elf/tst-unique4lib.cc: New file.
9371 * elf/Makefile: Add rules to build and run tst-unique4.
9372 Patch by Piotr Bury <pbury@goahead.com>.
9373
22836f52
UD
93742011-05-11 Ulrich Drepper <drepper@gmail.com>
9375
f574184a
UD
9376 [BZ #12052]
9377 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9378
e1fb097f
UD
9379 [BZ #12625]
9380 * misc/mntent_r.c (addmntent): Flush the stream after the output
9381
22836f52
UD
9382 [BZ #12393]
9383 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9384 (is_trusted_path_normalize): Skip initial colon. Append slash
9385 to empty buffer. Duplicate is_trusted_path code but allow
9386 constructed patch to be prefix.
9387 (is_dst): Allow $ORIGIN followed by /.
9388 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9389 Correct testing of result of is_trusted_path_normalize
9390 (decompose_rpath): Fix warning.
9391
7b3b0b2a
UD
93922011-05-10 Ulrich Drepper <drepper@gmail.com>
9393
9394 [BZ #11257]
9395 * grp/initgroups.c (internal_getgrouplist): When we found the service
9396 list through the initgroups entry in nsswitch.conf do not always
9397 continue on a successful lookup. Don't always use the
eac80ce2 9398 __nss_group_database value if it is set.
7b3b0b2a
UD
9399 * nss/nsswitch.conf (initgroups): Change action for successful db
9400 lookup to continue for compatibility.
9401
2a81eaa5
UD
94022011-05-09 Ulrich Drepper <drepper@gmail.com>
9403
be97a69e
UD
9404 [BZ #11532]
9405 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9406 and CP774 modules.
9407 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9408 and CP774 modules.
9409 * iconvdata/tst-tables.sh: Likewise.
9410 * iconvdata/cp770.c: New file.
9411 * iconvdata/cp771.c: New file.
9412 * iconvdata/cp772.c: New file.
9413 * iconvdata/cp773.c: New file.
9414 * iconvdata/cp774.c: New file.
9415 * iconvdata/testdata/CP770: New file.
9416 * iconvdata/testdata/CP770..UTF8: New file.
9417 * iconvdata/testdata/CP771: New file.
9418 * iconvdata/testdata/CP771..UTF8: New file.
9419 * iconvdata/testdata/CP772: New file.
9420 * iconvdata/testdata/CP772..UTF8: New file.
9421 * iconvdata/testdata/CP773: New file.
9422 * iconvdata/testdata/CP773..UTF8: New file.
9423 * iconvdata/testdata/CP774: New file.
9424 * iconvdata/testdata/CP774..UTF8: New file.
9425
9426 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9427 END CHARMAP line.
9428 * iconvdata/gen-8bit-gap.sh: Likewise.
9429 * iconvdata/gen-8bit.sh: Likewise.
9430
c1e9e399
UD
9431 * locale/iso-639.def: Add ary entry.
9432
24c55fb3 9433 [BZ #11258]
96b4b1b0
UD
9434 * locale/C-translit.h.in: Add U20A1 transliteration.
9435
bdc2f971
KB
9436 [BZ #12178]
9437 * locale/iso-639.def: Add wae entry.
9438 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9439
2952b117
UD
9440 [BZ #12545]
9441 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9442 for n.
9443
2a81eaa5
UD
9444 [BZ #12711]
9445 * locale/C-translit.h.in: Add entry for U20B9.
9446 Patch by pravin.d.s@gmail.com.
9447
28377d1b
UD
94482011-05-08 Ulrich Drepper <drepper@gmail.com>
9449
7fb90fb8
UD
9450 [BZ #12713]
9451 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9452 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9453 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9454 in rtld. Use *stat64.
7fb90fb8 9455 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9456 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9457 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9458 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9459 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9460 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9461 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9462 __fstatat64 macros.
7fb90fb8
UD
9463 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9464 * dirent/rewinddir.c: Add libc_hidden_def.
9465 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9466 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9467
28377d1b
UD
9468 * include/dirent.h (__alloc_dir): Add flags parameter.
9469 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9470 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9471 __alloc_dir.
9472 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9473 from fdopendir if O_CLOEXEC is already set.
9474
66bdbaa4
AM
94752011-03-15 Alan Modra <amodra@gmail.com>
9476
9477 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9478 l_tls_firstbyte_offset non-zero. Save padding offset in
9479 l_tls_firstbyte_offset for later use.
9480 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9481 freeing static tls block.
9482
95721191
JN
94832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9484
9485 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9486 where #ifdef was intended. The intent is to prevent ARG_MAX from
9487 being defined by the kernel headers.
9488
f87dfb1f
UD
94892011-05-07 Ulrich Drepper <drepper@gmail.com>
9490
9491 [BZ #12734]
9492 * resolv/resolv.h: Define RES_NOTLDQUERY.
9493 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9494 no-tld-query and set RES_NOTLDQUERY.
9495 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9496 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9497 modern BIND to search name as TLD unless forbidden.
9498
47c3cd7a
UD
94992011-05-07 Petr Baudis <pasky@suse.cz>
9500 Ulrich Drepper <drepper@gmail.com>
9501
9502 [BZ #12393]
9503 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9504 (is_trusted_path): ...to here.
c1e9ea35 9505 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9506 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9507 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9508
8a35c912
PP
95092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9510
9511 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9512 __BEGIN/__END_DECLS.
9513
acd41f47
UD
95142011-05-06 Ulrich Drepper <drepper@gmail.com>
9515
9516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9517 NSS_STATUS_NOTFOUND if no record was found.
9518
597df647
AS
95192011-05-05 Andreas Schwab <schwab@redhat.com>
9520
9521 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9522 (headers-not-in-tirpc): Remove rpc/netdb.h
9523 * resolv/netdb.h: Revert last change.
9524
b9af1301
PP
95252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9526
9527 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9528 circular dependency between libgcc.a and libc.a.
9529
4e34d5f5
AS
95302011-05-05 Andreas Schwab <schwab@redhat.com>
9531
9532 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9533 * nis/Makefile: Don't install rpcsvc/*.
9534 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9535 instead of <rpc/types.h>.
9536 (MAXHOSTNAMELEN): Define.
9537
00ee369c
AS
95382011-05-03 Andreas Schwab <schwab@redhat.com>
9539
9540 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9541
0b592a30
MB
95422011-04-28 Maciej Babinski <mbabinski@google.com>
9543
9544 [BZ #12714]
9545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9546 gethostbyname4_r when IPv6 results are possible.
9547
6e04cbbe
UD
95482011-05-02 Ulrich Drepper <drepper@gmail.com>
9549
9550 [BZ #12723]
9551 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9552 _PC_PIPE_BUF handling.
9553
e4ecafe0
BH
95542011-04-30 Bruno Haible <bruno@clisp.org>
9555
9556 [BZ #12717]
9557 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9558 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9559 to 'int'.
9560 * inet/getnameinfo.c (getnameinfo): Likewise.
9561
125ee683
UD
95622011-04-29 Ulrich Drepper <drepper@gmail.com>
9563
9564 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9565 to groups setting in database lookup.
9566 * nss/nsswitch.conf: Add initgroups entry.
9567
b722481a
EB
95682011-04-22 Ulrich Drepper <drepper@gmail.com>
9569
9570 [BZ #12685]
9571 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9572 mode string.
9573 Patch by Eric Blake <eblake@redhat.com>.
9574
4df46dbd
L
95752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9576
9577 * sunrpc/Makefile (need-export-routines): Add svc_run.
9578 (routines): Remove svc_run.
9579 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9580 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9581 * sunrpc/svc_run.c (svc_run): Likewise.
9582 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9583
e84142d2
UD
95842011-04-21 Ulrich Drepper <drepper@gmail.com>
9585
9586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9587 problem in reallocation in last patch.
9588
877175d8
UD
95892011-04-20 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sunrpc/Makefile: Move inclusion of Rules.
9592
ab8eed78
UD
95932011-04-19 Ulrich Drepper <drepper@gmail.com>
9594
9595 * nss/nss_files/files-initgroups.c: New file.
9596 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9597 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9598 _nss_files_initgroups_dyn.
9599
e3d8f584
RS
96002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9601
9602 * elf/elf.h (R_ARM_IRELATIVE): Define.
9603
af190f45
UD
96042011-04-19 Ulrich Drepper <drepper@gmail.com>
9605
9606 * po/ru.po: Update from translation team.
9607
53cf59ef
UD
96082011-04-17 Ulrich Drepper <drepper@gmail.com>
9609
9610 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9611 dependencies.
9612
4c559bcd
MF
96132011-02-06 Mike Frysinger <vapier@gentoo.org>
9614
9615 [BZ #12653]
9616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9617 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9619 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9620 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9621
4420675c
AS
96222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9623
9624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9625 differing bytes.
9626 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9629
75ea32ab
UD
96302011-04-17 Ulrich Drepper <drepper@gmail.com>
9631
9632 [BZ #12420]
9633 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9634 storing it.
9635 * stdlib/bug-getcontext.c: New file.
9636 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9637
27390476
AK
96382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9639
9640 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9641 instructions into .machine "z9-109".
9642 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9643 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9644
10442705
AK
96452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9646
9647 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9648 between environment variables and auxiliary vector.
9649
7b57bfe5
UD
96502011-04-16 Ulrich Drepper <drepper@gmail.com>
9651
9652 * Makefile: Add rules to build linkobj/libc.so.
9653 * include/libc-symbols.h: Define libc_hidden_nolink.
9654 * include/rpc/auth.h: Mark functions which are to be hidden.
9655 * include/rpc/auth_des.h: Likewise.
9656 * include/rpc/auth_unix.h: Likewise.
9657 * include/rpc/clnt.h: Likewise.
9658 * include/rpc/des_crypt.h: Likewise.
9659 * include/rpc/key_prot.h: Likewise.
9660 * include/rpc/pmap_clnt.h: Likewise.
9661 * include/rpc/pmap_prot.h: Likewise.
9662 * include/rpc/pmap_rmt.h: Likewise.
9663 * include/rpc/rpc_msg.h: Likewise.
9664 * include/rpc/svc.h: Likewise.
9665 * include/rpc/svc_auth.h: Likewise.
9666 * include/rpc/xdr.h: Likewise.
9667 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9668 * nss/Makefile: Likewise.
9669 * sunrpc/Makefile: Don't install headers. Build library with normal
9670 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9671 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9672 for the compat linking library. Remove use of INTDEF/INTUSE.
9673 * sunrpc/auth_none.c: Likewise.
9674 * sunrpc/auth_unix.c: Likewise.
9675 * sunrpc/authdes_prot.c: Likewise.
9676 * sunrpc/authuxprot.c: Likewise.
9677 * sunrpc/clnt_gen.c: Likewise.
9678 * sunrpc/clnt_perr.c: Likewise.
9679 * sunrpc/clnt_raw.c: Likewise.
9680 * sunrpc/clnt_simp.c: Likewise.
9681 * sunrpc/clnt_tcp.c: Likewise.
9682 * sunrpc/clnt_udp.c: Likewise.
9683 * sunrpc/clnt_unix.c: Likewise.
9684 * sunrpc/des_crypt.c: Likewise.
9685 * sunrpc/des_soft.c: Likewise.
9686 * sunrpc/get_myaddr.c: Likewise.
9687 * sunrpc/key_call.c: Likewise.
9688 * sunrpc/key_prot.c: Likewise.
9689 * sunrpc/netname.c: Likewise.
9690 * sunrpc/pm_getmaps.c: Likewise.
9691 * sunrpc/pm_getport.c: Likewise.
9692 * sunrpc/pmap_clnt.c: Likewise.
9693 * sunrpc/pmap_prot.c: Likewise.
9694 * sunrpc/pmap_prot2.c: Likewise.
9695 * sunrpc/pmap_rmt.c: Likewise.
9696 * sunrpc/publickey.c: Likewise.
9697 * sunrpc/rpc_cmsg.c: Likewise.
9698 * sunrpc/rpc_common.c: Likewise.
9699 * sunrpc/rpc_dtable.c: Likewise.
9700 * sunrpc/rpc_prot.c: Likewise.
9701 * sunrpc/rpc_thread.c: Likewise.
9702 * sunrpc/rtime.c: Likewise.
9703 * sunrpc/svc.c: Likewise.
9704 * sunrpc/svc_auth.c: Likewise.
9705 * sunrpc/svc_authux.c: Likewise.
9706 * sunrpc/svc_raw.c: Likewise.
9707 * sunrpc/svc_run.c: Likewise.
9708 * sunrpc/svc_simple.c: Likewise.
9709 * sunrpc/svc_tcp.c: Likewise.
9710 * sunrpc/svc_udp.c: Likewise.
9711 * sunrpc/svc_unix.c: Likewise.
9712 * sunrpc/svcauth_des.c: Likewise.
9713 * sunrpc/xcrypt.c: Likewise.
9714 * sunrpc/xdr.c: Likewise.
9715 * sunrpc/xdr_array.c: Likewise.
9716 * sunrpc/xdr_float.c: Likewise.
9717 * sunrpc/xdr_intXX_t.c: Likewise.
9718 * sunrpc/xdr_mem.c: Likewise.
9719 * sunrpc/xdr_rec.c: Likewise.
9720 * sunrpc/xdr_ref.c: Likewise.
9721 * sunrpc/xdr_sizeof.c: Likewise.
9722 * sunrpc/xdr_stdio.c: Likewise.
9723
e6c61494
UD
97242011-04-10 Ulrich Drepper <drepper@gmail.com>
9725
9726 [BZ #12650]
9727 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9728 * sysdeps/ia64/dl-tls.h: Likewise.
9729 * sysdeps/powerpc/dl-tls.h: Likewise.
9730 * sysdeps/s390/dl-tls.h: Likewise.
9731 * sysdeps/sh/dl-tls.h: Likewise.
9732 * sysdeps/sparc/dl-tls.h: Likewise.
9733 * sysdeps/x86_64/dl-tls.h: Likewise.
9734 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9735
34fe483e
AS
97362011-03-14 Andreas Schwab <schwab@redhat.com>
9737
9738 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9739 rpath element also skip the following colon.
9740 (expand_dynamic_string_token): Add is_path parameter and pass
9741 down to DL_DST_REQUIRED and _dl_dst_substitute.
9742 (decompose_rpath): Call expand_dynamic_string_token with
9743 non-zero is_path. Ignore empty rpaths.
9744 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9745 with zero is_path.
9746
f12a32e6
AS
97472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9748
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9750 Make cancelable.
9751
38a7d692
UD
97522011-04-09 Ulrich Drepper <drepper@gmail.com>
9753
9754 [BZ #12655]
9755 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9756 Patch by Filipe David Manana <fdmanana@apache.org>.
9757
e451d22b
AS
97582011-04-07 Andreas Schwab <schwab@redhat.com>
9759
9760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9761 Maintain aligned stack.
9762 (CHECK_RSP): Remove unused macro.
9763
dedc7c7b
UD
97642011-04-03 Ulrich Drepper <drepper@gmail.com>
9765
9766 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9767 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9768
94521213
UD
97692011-04-02 Ulrich Drepper <drepper@gmail.com>
9770
9771 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9772
8cb700c0 9773 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9774
0354e355
L
97752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 [BZ #12518]
9778 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9779 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9780 * sysdeps/x86_64/memmove.c: New file.
9781 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9782 (memcpy): Renamed to ...
9783 (__new_memcpy): This.
9784 (memcpy): Provide GLIBC_2_14 memcpy.
9785 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9786 (memcpy): Provide GLIBC_2_2_5 memcpy.
9787
8593482f
UD
97882011-04-01 Ulrich Drepper <drepper@gmail.com>
9789
9790 [BZ #12631]
9791 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9792
81a5726b
AS
97932011-03-30 Andreas Schwab <schwab@redhat.com>
9794
9795 * misc/syncfs.c: New file.
9796 * misc/Makefile (routines): Add syncfs.
9797 * posix/unistd.h: Declare syncfs.
9798 * sysdeps/unix/syscalls.list: Add syncfs.
9799
00e5419f
AS
98002011-04-01 Andreas Schwab <schwab@redhat.com>
9801
9802 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9803 open_by_handle_at.
9804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9809 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9811
748876bf
UD
98122011-04-01 Ulrich Drepper <drepper@gmail.com>
9813
658e451d
UD
9814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9816 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9821
748876bf
UD
9822 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9823 sync_file_range.c with -fexceptions.
9824 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9825 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9826 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9827 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9828 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9829 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9831 sync_file_range as cancellation point
9832 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9833 now a wrapper around __call_sync_file_range with cancellation handling.
9834 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9835 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9836 function name to __call_sync_file_range.
9837 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9838 Add call_sync_file_range.
748876bf 9839
6e63d5e1
AS
98402011-04-01 Andreas Schwab <schwab@redhat.com>
9841
9842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9843 bits/timex.h.
6e63d5e1 9844
46998f74
UD
98452011-04-01 Ulrich Drepper <drepper@gmail.com>
9846
4c1423ed
UD
9847 * iconv/iconv.h: Fix typo in comment.
9848 * io/fcntl.h: Likewise.
9849 * libio/stdio.h: Likewise.
9850 * posix/spawn.h: Likewise.
9851 * posix/unistd.h: Likewise.
9852 * stdlib/stdlib.h: Likewise.
9853 * time/time.h: Likewise.
9854 * wcsmbs/wchar.h: Likewise.
9855
158648c0
UD
9856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9857 open_by_handle): Add.
9858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9859 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9860 Augment a few comments.
9861 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9866 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9867 open_by_handle.
9868
46998f74
UD
9869 * io/fcntl.h (AT_EMPTY_PATH): Define.
9870
83fe108b
UD
98712011-03-30 Ulrich Drepper <drepper@gmail.com>
9872
9873 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9874 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9875 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9876 to...
9877 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9878 * Versions.def: Add GLIBC_2.14.
9879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9880 Export.
83fe108b 9881
bb242059
UD
98822011-03-22 Ulrich Drepper <drepper@gmail.com>
9883
9884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9885 round counter.
9886 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9887
c97a1282
L
98882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 [BZ #12597]
9891 * string/test-strncmp.c (do_page_test): New function.
9892 (check2): Likewise.
9893 (test_main): Call check2.
9894 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9895
2a115601
UD
98962011-03-20 Ulrich Drepper <drepper@gmail.com>
9897
9898 [BZ #12587]
9899 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9900 Handle cache information in CPU leaf 4.
9901 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9902
8126d904
UD
99032011-03-18 Ulrich Drepper <drepper@gmail.com>
9904
042c49c6 9905 [BZ #12583]
8126d904
UD
9906 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9907 character representation.
9908 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9909
ccfe366e
RA
99102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9911
9912 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9913 END(__isnan) to END(__isnanf) to match function entry point/label
9914 EALIGN(__isnanf,...).
9915
c6e13027
JJ
99162011-03-10 Jakub Jelinek <jakub@redhat.com>
9917
9918 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9919
33f85a3f
UD
99202011-03-10 Ulrich Drepper <drepper@gmail.com>
9921
028478fa
UD
9922 [BZ #12510]
9923 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9924 copy from the symbol referenced in the relocation to initialize the
9925 used variable.
9926 Patch by Piotr Bury <pbury@goahead.com>.
9927 * elf/Makefile: Add rules to build and tst-unique3.
9928 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9929 * elf/tst-unique3.cc: New file.
9930 * elf/tst-unique3.h: New file.
9931 * elf/tst-unique3lib.cc: New file.
9932 * elf/tst-unique3lib2.cc: New file.
9933
33f85a3f
UD
9934 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9935
03592fc7
MF
99362011-03-10 Mike Frysinger <vapier@gentoo.org>
9937
9938 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9939 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9940 to _start.
03592fc7 9941
6a5ee102
UD
99422011-03-06 Ulrich Drepper <drepper@gmail.com>
9943
9944 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9945 to-be-loaded object along a path to loader is ld.so.
9946
7e4ba49c
HJ
99472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9948 Ulrich Drepper <drepper@gmail.com>
9949
9950 * sysdeps/x86_64/memset.S: After aligning destination, code
9951 branches to different locations depending on the value of
9952 misalignment, when multiarch is enabled. Fix this.
9953
99542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9955
9956 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9957 Set _x86_64_preferred_memory_instruction for AMD processsors.
9958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9959 Set bit_Prefer_SSE_for_memop for AMD processors.
9960
13a804de
UD
99612011-03-04 Ulrich Drepper <drepper@gmail.com>
9962
9963 * libio/fmemopen.c (fmemopen): Optimize a bit.
9964
9d25c392
AS
99652011-03-03 Andreas Schwab <schwab@redhat.com>
9966
9967 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9968
a5543c6a
RM
99692011-03-03 Roland McGrath <roland@redhat.com>
9970
9971 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9972
012d35f7
DM
99732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9974
7e4ba49c 9975 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9976 __bzero_ultra1 instead of __memset_ultra1.
9977
4bff6e01
AS
99782011-02-23 Andreas Schwab <schwab@redhat.com>
9979 Ulrich Drepper <drepper@gmail.com>
9980
9981 [BZ #12509]
9982 * include/link.h (struct link_map): Add l_orig_initfini.
9983 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9984 returning unsuccessfully.
9985 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9986 close of a file loaded at startup, restore the original l_initfini
9987 list.
9988 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9989 list, store the pointer.
9990 * elf/Makefile ($(objpfx)noload-mem): New rule.
9991 (noload-ENV): Define.
9992 (tests): Add $(objpfx)noload-mem.
9993 * elf/noload.c: Include <memcheck.h>.
9994 (main): Call mtrace. Close all opened handles.
9995
f2092faf
AS
99962011-02-17 Andreas Schwab <schwab@redhat.com>
9997
9998 [BZ #12454]
9999 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10000 dependencies are missing.
10001
6c8a2e88
ST
100022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10003
f2092faf 10004 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10005 Hurd needs munmap.
10006 * sysdeps/mach/hurd/ifreq.h: New file.
10007
84a42118
PB
100082011-01-27 Petr Baudis <pasky@suse.cz>
10009 Ulrich Drepper <drepper@gmail.com>
10010
071f805e 10011 [BZ 12445]#
84a42118
PB
10012 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10013 to extend_alloca().
10014 * stdio-common/bug23.c: New file.
10015 * stdio-common/Makefile (tests): Add bug23.
10016
e23fe25b
AS
100172010-09-28 Andreas Schwab <schwab@redhat.com>
10018 Ulrich Drepper <drepper@gmail.com>
10019
10020 [BZ #12489]
10021 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10022 before performing relro protection. At old place add assertion
10023 to make sure nothing changed.
10024
d3f02e10
NS
100252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10026 Glauber de Oliveira Costa <glommer@gmail.com>
10027
10028 * elf/elf.h: Add new ARM TLS relocs.
10029
d55fd7a5
RA
100302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10031
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10033 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10034 cast from r3.
10035 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10036 'tests' variable.
10037 * sysdeps/wordsize-64/tst-writev.c: New file.
10038
2206397e
RA
100392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10040
10041 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10042 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10043 insns in _dl_start to prevent a TOC reference before relocs are
10044 resolved.
10045
e9433893
UD
100462011-02-15 Ulrich Drepper <drepper@gmail.com>
10047
10048 [BZ #12469]
10049 * Makeconfig: Remove RANLIB definition.
10050 * Makerules: Don't use RANLIB.
10051 * aclocal.m4: Remove ranlib test.
10052 * configure.in: No need to check for ranlib.
10053 * elf/rtld-Rules: Don't use RANLIB.
10054
f75286c6
ST
100552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10056
8e31c82d
ST
10057 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10058 protection macro.
10059 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10060 inclusion protection macro.
10061
f75286c6
ST
10062 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10063 SIGRTMIN and SIGRTMAX and print information in that case only when
10064 SIGRTMIN is defined.
10065
c1d0e639
JJ
100662011-02-11 Jakub Jelinek <jakub@redhat.com>
10067
10068 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10069 arginfo fn returning -1.
10070
10071 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10072 and thousands string is zero terminated.
10073
edf9294e
AS
100742011-02-03 Andreas Schwab <schwab@redhat.com>
10075
10076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10077 sysdeps/unix/sysv/linux/bits/socket.h.
10078
2b7e92df
ST
100792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10080
edf9294e
AS
10081 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10082 (__CPU_COUNT): Remove old macros.
10083 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10084 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10085 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10086 (__sched_cpualloc, __sched_cpufree): Add declarations.
10087
a4c7ea7b
UD
100882011-02-05 Ulrich Drepper <drepper@gmail.com>
10089
10090 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10091 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10092 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10093 (readdhstai): Return value of addhstaiX call.
10094 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10095 (addgrbyX): Return value returned by cache_addgr.
10096 (readdgrbyname): Return value returned by addgrbyX.
10097 (readdgrbygid): Likewise.
10098 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10099 (addpwbyX): Return value returned by cache_addpw.
10100 (readdpwbyname): Return value returned by addhstbyX.
10101 (readdpwbyuid): Likewise.
10102 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10103 (addservbyX): Return value returned by cache_addserv.
10104 (readdservbyname): Return value returned by addservbyX:
10105 (readdservbyport): Likewise.
10106 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10107 (addhstbyX): Return value returned by cache_addhst.
10108 (readdhstbyname): Return value returned by addhstbyX.
10109 (readdhstbyaddr): Likewise.
10110 (readdhstbynamev6): Likewise.
10111 (readdhstbyaddrv6): Likewise.
10112 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10113 (readdinitgroups): Return value returned by addinitgroupsX.
10114 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10115 (prune_cache): Keep track of timeout value of re-added entries.
10116 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10117 * nscd/nscd.h: Adjust prototypes of readd* functions.
10118
a0bf67cc
RM
101192011-02-04 Roland McGrath <roland@redhat.com>
10120
10121 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10122 (nis_stats): Likewise.
10123 * nis/nis_modify.c (nis_modify): Likewise.
10124 * nis/nis_remove.c (nis_remove): Likewise.
10125 * nis/nis_add.c (nis_add): Likewise.
10126
10127 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10128
10129 * posix/fnmatch_loop.c: Add some consts.
10130
10131 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10132
435b95eb
L
101332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 [BZ #12460]
10136 * config.make.in (config-cflags-novzeroupper): Define.
10137 * configure.in: Substitute libc_cv_cc_novzeroupper.
10138 * elf/Makefile (AVX-CFLAGS): Define.
10139 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10140 (CFLAGS-tst-auditmod4a.c): Likewise.
10141 (CFLAGS-tst-auditmod4b.c): Likewise.
10142 (CFLAGS-tst-auditmod6b.c): Likewise.
10143 (CFLAGS-tst-auditmod6c.c): Likewise.
10144 (CFLAGS-tst-auditmod7b.c): Likewise.
10145 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10146
8517b15e
UD
101472011-02-02 Ulrich Drepper <drepper@gmail.com>
10148
10149 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10150 function to the callback.
10151 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10152
10a656fe
AS
101532011-02-02 Andreas Schwab <schwab@redhat.com>
10154
10155 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10156 of errno.
10157
968dad0a
UD
101582011-01-19 Ulrich Drepper <drepper@gmail.com>
10159
9f94d2ea 10160 [BZ #11724]
968dad0a
UD
10161 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10162 of constructors.
10163 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10164 of destructors.
10165 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10166
10167 [BZ #11724]
10168 * elf/Makefile: Add rules to build and run new test.
10169 * elf/tst-initorder.c: New file.
10170 * elf/tst-initorder.exp: New file.
10171 * elf/tst-initordera1.c: New file.
10172 * elf/tst-initordera2.c: New file.
10173 * elf/tst-initordera3.c: New file.
10174 * elf/tst-initordera4.c: New file.
10175 * elf/tst-initorderb1.c: New file.
10176 * elf/tst-initorderb2.c: New file.
10177 * elf/tst-order-a1.c: New file.
10178 * elf/tst-order-a2.c: New file.
10179 * elf/tst-order-a3.c: New file.
10180 * elf/tst-order-a4.c: New file.
10181 * elf/tst-order-b1.c: New file.
10182 * elf/tst-order-b2.c: New file.
10183 * elf/tst-order-main.c: New file.
10184 New test case by George Gensure <werkt0@gmail.com>.
10185
86e92359
UD
101862010-10-01 Andreas Schwab <schwab@redhat.com>
10187
10188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10189 decoding ACE if AI_CANONIDN.
10190
5d5732b0
UD
101912011-01-18 Ulrich Drepper <drepper@gmail.com>
10192
10193 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10194
a77e8cbc
UD
101952011-01-17 Ulrich Drepper <drepper@gmail.com>
10196
6392473f
UD
10197 * version.h (RELEASE): Bump for 2.13 release.
10198 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10199
620a0529
UD
10200 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10201
18ba70a5
UD
10202 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10203 MADV_NOHUGEPAGE.
32465c3e
UD
10204 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10206 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10207 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10208 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10209 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10210
c0dafcf1
UD
10211 * posix/getconf.c: Update copyright year.
10212 * catgets/gencat.c: Likewise.
10213 * csu/version.c: Likewise.
10214 * debug/catchsegv.sh: Likewise.
10215 * debug/xtrace.sh: Likewise.
10216 * elf/ldconfig.c: Likewise.
10217 * elf/ldd.bash.in: Likewise.
10218 * elf/sprof.c (print_version): Likewise.
10219 * iconv/iconv_prog.c: Likewise.
10220 * iconv/iconvconfig.c: Likewise.
10221 * locale/programs/locale.c: Likewise.
10222 * locale/programs/localedef.c: Likewise.
10223 * malloc/memusage.sh: Likewise.
10224 * malloc/mtrace.pl: Likewise.
10225 * nscd/nscd.c (print_version): Likewise.
10226 * nss/getent.c: Likewise.
10227
a77e8cbc
UD
10228 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10229 PF_CAIF, and PF_ALG.
10230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10231
77e8bddf
AS
102322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10233
1f20b93a
AS
10234 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10235 (modules-names): Use them.
10236 (ifunc-test-modules, ifunc-pie-tests): Define.
10237 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10238 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10239 (test-extras): Likewise.
10240 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10241 $(compile-command.c).
10242 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10243 (all-built-dso): Define.
10244 (check-textrel.out, check-execstack.out): Depend on it.
10245
77e8bddf
AS
10246 * configure.in: Don't override --enable-multi-arch.
10247
bc425b33
UD
102482011-01-15 Ulrich Drepper <drepper@gmail.com>
10249
10250 [BZ #6812]
10251 * nscd/hstcache.c (tryagain): Define.
10252 (cache_addhst): Return tryagain not notfound for temporary errors.
10253 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10254 failed.
10255
794c3ad3
UD
102562011-01-14 Ulrich Drepper <drepper@gmail.com>
10257
70181fdd
UD
10258 [BZ #10563]
10259 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10260 to make the syscall.
10261 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10262
794c3ad3
UD
10263 [BZ #12378]
10264 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10265 and fall back to matching as normal character if the string ends before
10266 the matching ']' is found. This is what POSIX requires.
10267 * posix/testfnm.c: Adjust test result.
10268 * posix/globtest.sh: Adjust test result. Add new test.
10269 * posix/tst-fnmatch.input: Likewise.
10270 * posix/tst-fnmatch2.c: Add new test.
10271
68dc9497
AS
102722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10273
10274 * elf/Makefile (check-execstack): Revert last change. Depend on
10275 check-execstack.h.
10276 (check-execstack.h): New target.
10277 (generated): Add check-execstack.h.
10278 * elf/check-execstack.c: Include "check-execstack.h".
10279 (main): Revert last change.
10280 (handle_file): Return zero if GNU_STACK is absent and
10281 DEFAULT_STACK_PERMS doesn't include PF_X.
10282
451f001b
UD
102832011-01-13 Ulrich Drepper <drepper@gmail.com>
10284
cfa28e56
UD
10285 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10286 in child fails because the descriptor is already closed.
8cf8ce17
UD
10287 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10288 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10289 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10290
1086d70d
UD
10291 [BZ #12397]
10292 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10293 syscall.
10294
451f001b
UD
10295 [BZ #10484]
10296 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10297 temporary buffer used to handle multi lookups locally.
a85b5cb4 10298 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10299
08769175
UD
103002011-01-12 Ulrich Drepper <drepper@gmail.com>
10301
10302 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10303 loader is ld.so.
10304
5e49c52e
UD
103052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10306
10307 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10308 alignment for SSE2.
10309
60522a5f
UD
103102011-01-12 Ulrich Drepper <drepper@gmail.com>
10311
10312 [BZ #12394]
10313 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10314 characters. When rounding increased number of integer digits recompute
10315 number of groups.
10316 * stdio-common/tst-grouping.c: New file.
10317 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10318
f257bbd7
UD
103192011-01-09 Ulrich Drepper <drepper@gmail.com>
10320
10321 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10322 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10323
10324 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10325 void.
10326 * bits/select.h: Likewise.
10327
fa9c15cb
UD
103282011-01-08 Ulrich Drepper <drepper@gmail.com>
10329
10330 * po/ja.po: Update from translation team.
10331
16c2895f
DM
103322011-01-04 David S. Miller <davem@sunset.davemloft.net>
10333
10334 [BZ #11155]
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10336 implementation just like for lxstat, fxstatat, et al.
10337
2543fef2
JM
103382010-12-27 Jim Meyering <meyering@redhat.com>
10339
10340 [BZ #12348]
10341 * posix/regexec.c (build_trtable): Return failure indication upon
10342 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10343
98727dbe
UD
103442010-12-25 Ulrich Drepper <drepper@gmail.com>
10345
5bd6dc5c
UD
10346 [BZ #12201]
10347 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10348 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10349 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10350 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10351
97983464
UD
10352 [BZ #12207]
10353 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10354
98727dbe
UD
10355 [BZ #12204]
10356 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10357 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10358
4a531bb0
L
103592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10360
10361 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10362 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10363 script has SORT_BY_INIT_PRIORITY.
10364 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10365 NO_CTORS_DTORS_SECTIONS is defined.
10366 * elf/soinit.c: Likewise.
10367 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10368 NO_CTORS_DTORS_SECTIONS is defined.
10369 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10370 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10371 * sysdeps/sh/init-first.c: Likewise.
10372 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10373
07eb4b71
UD
103742010-12-24 Ulrich Drepper <drepper@gmail.com>
10375
10376 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10377 always use the slow path.
10378
30950a5f
RA
103792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10380
10381 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10382 similar rule which adds the sysdep directories to the header search in
10383 order to pick up the correct platform stackinfo.h.
10384 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10385 perform test if it is, otherwise return successfully without testing.
10386 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10387 DEFAULT_STACK_PERMS define in stackinfo.h.
10388 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10389 defined in stackinfo.h.
10390 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10391 DEFAULT_STACK_PERMS defined in stackinfo.h.
10392 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10393 * sysdeps/ia64/stackinfo.h: Likewise.
10394 * sysdeps/s390/stackinfo.h: Likewise.
10395 * sysdeps/sh/stackinfo.h: Likewise.
10396 * sysdeps/sparc/stackinfo.h: Likewise.
10397 * sysdeps/x86_64/stackinfo.h: Likewise.
10398 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10399 PF_X for powerpc64. Retain PF_X for powerpc32.
10400
db753e2c
UD
104012010-12-19 Ulrich Drepper <drepper@gmail.com>
10402
14b697f7
UD
10403 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10404 accurately.
db753e2c
UD
10405 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10406 GETDENTS_64BIT_ALIGNED.
10407
28300719
UD
104082010-12-14 Ulrich Drepper <dreper@gmail.com>
10409
14b697f7 10410 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10411
4f197237
AS
104122010-12-10 Andreas Schwab <schwab@redhat.com>
10413
dbb0472f
AS
10414 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10415 _GNU_SOURCE.
10416
4f197237
AS
10417 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10418 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10419 Remove __restrict.
10420 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10421 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10422
fb88ac72
UD
104232010-12-09 Ulrich Drepper <drepper@gmail.com>
10424
10425 [BZ #11655]
10426 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10427 are initialized.
10428
42acbb92
JJ
104292010-12-09 Jakub Jelinek <jakub@redhat.com>
10430
10431 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10432
c038d98d
UD
104332010-12-03 Ulrich Drepper <drepper@gmail.com>
10434
10435 * po/it.po: Update from translation team.
10436
3a4a2499
L
104372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10440 unused codes.
10441
1e24cf6e
UD
104422010-11-30 Ulrich Drepper <drepper@gmail.com>
10443
10444 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10445
a7690819
AS
104462010-11-24 Andreas Schwab <schwab@redhat.com>
10447
10448 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10449 specially.
10450 (gaih_getanswer_slice): Likewise.
10451
3bf8d1b1
JJ
104522010-10-20 Jakub Jelinek <jakub@redhat.com>
10453
10454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10455
6db52fbb
PB
104562010-05-31 Petr Baudis <pasky@suse.cz>
10457
10458 [BZ #11149]
10459 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10460 silently even in the chroot mode.
10461
eaca7569
UD
104622010-11-22 Ulrich Drepper <drepper@gmail.com>
10463
10464 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10465 last patch a bit. Pretty printing
10466
3056dcdb
UD
104672010-05-31 Petr Baudis <pasky@suse.cz>
10468
10469 [BZ #10085]
10470 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10471 initialization of skip_initgroups_dyn.
10472
cf7c9078
UD
104732010-11-19 Ulrich Drepper <drepper@gmail.com>
10474
10475 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10477
a1fb5e3e
UD
104782010-11-16 Ulrich Drepper <drepper@gmail.com>
10479
10480 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10481
3540d66b
AS
104822010-11-11 Andreas Schwab <schwab@redhat.com>
10483
10484 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10485 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10486 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10487 ($(objpfx)tst-fnmatch-mem): New rule.
10488 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10489 * posix/tst-fnmatch.c (main): Call mtrace.
10490
13b69574
L
104912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10492
10493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10494 Support Intel processor model 6 and model 0x2c.
10495
da93d214
LM
104962010-11-10 Luis Machado <luisgpm@br.ibm.com>
10497
10498 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10499 signed comparison.
10500
8ca52c6e
L
105012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10502
10503 [BZ #12205]
10504 * string/test-strncasecmp.c (check_result): New function.
10505 (do_one_test): Use it.
10506 (check1): New function.
10507 (test_main): Use it.
10508 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10509 Support strcasecmp and strncasecmp.
10510
69da074d
UD
105112010-11-08 Ulrich Drepper <drepper@gmail.com>
10512
10513 [BZ #12194]
10514 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10516
ff02d528
L
105172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10520 IFUNC support.
10521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10522 memset-x86-64.
10523 * sysdeps/x86_64/multiarch/bzero.S: New file.
10524 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10525 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10526 * sysdeps/x86_64/multiarch/memset.S: New file.
10527 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10529 Set bit_Prefer_SSE_for_memop for Intel processors.
10530 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10531 Define.
10532 (index_Prefer_SSE_for_memop): Define.
10533 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10534
344d0b54
LM
105352010-11-04 Luis Machado <luisgpm@br.ibm.com>
10536
10537 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10538 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10539
c0dde15b
UD
105402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10541
10542 [BZ #12191]
10543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10544 (__x86_64_raw_data_cache_size_half): Likewise.
10545 (__x86_64_raw_shared_cache_size): Likewise.
10546 (__x86_64_raw_shared_cache_size_half): Likewise.
10547
10548 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10549 (__x86_64_raw_data_cache_size_half): Likewise.
10550 (__x86_64_raw_shared_cache_size): Likewise.
10551 (__x86_64_raw_shared_cache_size_half): Likewise.
10552 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10553 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10554 and __x86_64_raw_shared_cache_size_half. Round
10555 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10556 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10557 to multiple of 256 bytes.
10558
0e516e0e
MS
105592010-11-03 Ulrich Drepper <drepper@gmail.com>
10560
10561 [BZ #12167]
10562 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10563 of inacessible symlinks. Verify result of symlink before returning it.
10564 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10565 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10566
0e012e87
ER
105672010-10-28 Erich Ritz <erichritz@gmail.com>
10568
10569 * math/math.h (isinf): Fix typo in comment.
10570
de0ff7bc
UD
105712010-11-01 Ulrich Drepper <drepper@gmail.com>
10572
10573 * po/da.po: Update from translation team.
10574
fa41c84d
UD
105752010-10-26 Ulrich Drepper <drepper@gmail.com>
10576
10577 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10578 is added to the list.
10579
f0967738
AK
105802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10581 Ulrich Drepper <drepper@gmail.com>
10582
10583 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10584 the global list here. Move code to...
10585 (_dl_add_to_namespace_list): ...here. New function.
10586 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10587 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10588 * elf/dl-load.c (lose): Don't remove the element from the list.
10589 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10590 (_dl_map_object): Likewise.
10591
105922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10593
10594 [BZ #12159]
10595 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10596 into all bytes of SSE register.
10597 Patch by Richard Li <richardpku@gmail.com>.
10598
f0967738 105992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10600
10601 [BZ #12140]
10602 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10603 perturbing.
10604
d0b9e94f
MB
106052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10606
10607 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10608 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10609 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10612 submachine.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10614
8e9f92e9
AS
106152010-10-22 Andreas Schwab <schwab@redhat.com>
10616
10617 * include/dlfcn.h (__RTLD_SECURE): Define.
10618 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10619 mode & __RTLD_SECURE instead.
10620 (open_path): Rename preloaded parameter to secure.
10621 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10622 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10623 * elf/dl-deps.c (openaux): Likewise.
10624 * elf/rtld.c (struct map_args): Remove is_preloaded.
10625 (map_doit): Don't use it.
10626 (dl_main): Likewise.
10627 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10628 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10629
bc96fbda
AS
106302010-09-09 Andreas Schwab <schwab@redhat.com>
10631
10632 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10633 (sysd-rules-targets): Remove duplicates.
10634 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10635 rtld-%.$o dependency.
10636
22cd1c9b
AS
106372010-10-18 Andreas Schwab <schwab@redhat.com>
10638
10639 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10640 _dl_map_object do it.
10641
18edac48
UD
106422010-10-19 Ulrich Drepper <drepper@gmail.com>
10643
10644 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10645 fast fma builtins, define the macros in the C99 standard.
10646 (FP_FAST_FMAF): Likewise.
10647 (FP_FAST_FMAL): Likewise.
10648 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10649
10650 * bits/mathdef.h: Update copyright year.
10651 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10652
d2050124
MM
106532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10654
10655 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10656 builtins, define the macros in the C99 standard.
10657 (FP_FAST_FMAF): Likewise.
10658 (FP_FAST_FMAL): Likewise.
10659 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10660 multiply/add.
10661 (FP_FAST_FMAF): Likewise.
10662
475facd1
JJ
106632010-10-15 Jakub Jelinek <jakub@redhat.com>
10664
10665 [BZ #3268]
10666 * math/libm-test.inc (fma_test): Some new testcases.
10667 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10668 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10669 y and infinite z. Do multiplication by C already in long double.
10670 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10672 y and infinite z. Do bitwise or of inexact bit into u.d.
10673 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10674 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10675 * sysdeps/i386/fpu/s_fma.S: Removed.
10676 * sysdeps/i386/fpu/s_fmal.S: Removed.
10677
7c08a05c
JJ
106782010-10-16 Jakub Jelinek <jakub@redhat.com>
10679
10680 [BZ #3268]
10681 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10683 computation is not scheduled after fetestexcept. Fix value
10684 of minimum denormal long double.
10685
f3f7372d
JJ
106862010-10-14 Jakub Jelinek <jakub@redhat.com>
10687
10688 [BZ #3268]
10689 * math/libm-test.inc (fma_test): Add some more tests.
10690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10691 correctly.
10692
14d43591
AS
106932010-10-15 Andreas Schwab <schwab@redhat.com>
10694
10695 * scripts/data/localplt-s390-linux-gnu.data: New file.
10696 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10697
5e908464
JJ
106982010-10-13 Jakub Jelinek <jakub@redhat.com>
10699
10700 [BZ #3268]
10701 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10702 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10703 instead of dbl-64.
10704 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10705 inlines.
10706 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10708 if one of x and y is very large and the other is subnormal.
10709 * sysdeps/s390/fpu/s_fmaf.c: New file.
10710 * sysdeps/s390/fpu/s_fma.c: New file.
10711 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10712 * sysdeps/powerpc/fpu/s_fma.S: New file.
10713 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10714 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10715 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10716
107172010-10-12 Jakub Jelinek <jakub@redhat.com>
10718
10719 [BZ #3268]
10720 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10721 fma tests.
10722 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10723 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10724 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10725 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10726 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10727 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10729
b833d51f
UD
107302010-10-12 Ulrich Drepper <drepper@redhat.com>
10731
10732 [BZ #12078]
10733 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10734 * posix/bug-regex31.input: Add test case.
10735
1751705d
UD
107362010-10-11 Ulrich Drepper <drepper@gmail.com>
10737
e9b9cbf5
UD
10738 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10739 * posix/bug-regex31.input: New file.
10740
10741 [BZ #12078]
10742 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10743 (parse_sub_exp): Fix last change, use postorder.
10744
ef06edbe
UD
10745 * posix/bug-regex31.c: New file.
10746 * posix/Makefile: Add rules to build and run bug-regex31.
10747
a129c80d
UD
10748 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10749
10750 [BZ #12078]
10751 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10752
b76b818e
UD
10753 [BZ #12108]
10754 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10755 to have entries in sys_siglist.
10756
1751705d
UD
10757 [BZ #12093]
10758 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10759 be NULL.
10760
9ff8d36f
JJ
107612010-10-07 Jakub Jelinek <jakub@redhat.com>
10762
10763 [BZ #3268]
10764 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10765 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10766 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10767 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10768 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10769 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10770 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10771 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10772 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10773 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10774 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10775 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10776 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10777 * math/ftestexcept.c (fetestexcept): Likewise.
10778 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10779 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10780 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10781 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10782 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10783 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10785
af325969
UD
107862010-10-11 Ulrich Drepper <drepper@gmail.com>
10787
c579b202 10788 [BZ #12107]
af325969
UD
10789 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10790 newline.
10791
67a67b95
UD
107922010-10-06 Ulrich Drepper <drepper@gmail.com>
10793
10794 * string/bug-strstr1.c: New file.
10795 * string/Makefile: Add rules to build and run bug-strstr1.
10796
5fb308bc
EB
107972010-10-05 Eric Blake <eblake@redhat.com>
10798
10799 [BZ #12092]
10800 * string/str-two-way.h (two_way_long_needle): Always clear memory
10801 when skipping input due to the shift table.
10802
45db99c7
UD
108032010-10-03 Ulrich Drepper <drepper@gmail.com>
10804
3b111893
UD
10805 [BZ #12005]
10806 * malloc/mcheck.c: Handle large requests.
10807
45db99c7
UD
10808 [BZ #12077]
10809 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10810 for strncmp and strncasecmp.
10811 * string/stratcliff.c: Add tests for strcmp and strncmp.
10812 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10813
cf7a1eb8
NI
108142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10815
10816 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10817 __set_fpscr.
10818
6484ba5e
AJ
108192010-09-30 Andreas Jaeger <aj@suse.de>
10820
10821 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10822 (CGROUP_SUPER_MAGIC): Define.
10823 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10824 Handle btrfs and cgroup file systems.
10825 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10826 Likewise.
10827
91c42559
LM
108282010-09-27 Luis Machado <luisgpm@br.ibm.com>
10829
10830 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10831 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10832
87a97932
AK
108332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10834
10835 [BZ #12067]
10836 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10837 trying to locate the ELF header.
10838
c21cc9bc
AS
108392010-09-27 Andreas Schwab <schwab@redhat.com>
10840
10841 [BZ #11611]
10842 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10843 Mask out sign-bit copies when constructing f_fsid.
10844
315970f6
PB
108452010-09-24 Petr Baudis <pasky@suse.cz>
10846
10847 * debug/stack_chk_fail_local.c: Add missing licence exception.
10848 * debug/warning-nop.c: Likewise.
10849
1ac7a2c7
JM
108502010-09-15 Joseph Myers <joseph@codesourcery.com>
10851
10852 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10853 implementing getdents64 using getdents syscall, set d_type if
10854 __ASSUME_GETDENTS32_D_TYPE.
10855
56801c50
AS
108562010-09-16 Andreas Schwab <schwab@redhat.com>
10857
10858 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10859 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10860
dda51327
UD
108612010-09-21 Ulrich Drepper <drepper@redhat.com>
10862
10863 [BZ #12037]
10864 * posix/unistd.h: Undo change of feature selection for ftruncate from
10865 2010-01-11.
10866
8ffcee4a
UD
108672010-09-20 Ulrich Drepper <drepper@redhat.com>
10868
a545ecd9 10869 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10870 detection.
10871
e24f0a8b
AS
108722010-09-20 Andreas Schwab <schwab@redhat.com>
10873
10874 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10875 fanotify_mark.
10876 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10877
7291c56f
AS
108782010-09-14 Andreas Schwab <schwab@redhat.com>
10879
10880 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10881 variables after CHECK_SP call.
10882 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10883
bc5fb037
AS
108842010-09-13 Andreas Schwab <schwab@redhat.com>
10885 Ulrich Drepper <drepper@redhat.com>
10886
10887 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10888 re-relocationg ld.so.
10889 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10890 _dl_init_paths call.
10891 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10892 here anymore.
10893
e66e7419
UD
108942010-09-14 Ulrich Drepper <drepper@redhat.com>
10895
10896 * resolv/res_init.c (__res_vinit): Count the default server we added.
10897
c044aa75
CLT
108982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10899 Ulrich Drepper <drepper@redhat.com>
10900
10901 [BZ #11968]
10902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10903 (____longjmp_chk): Use %ebx for saving value across system call.
10904 Add unwind info.
10905
32cf4069
AS
109062010-09-06 Andreas Schwab <schwab@redhat.com>
10907
10908 * manual/Makefile: Don't mix pattern rules with normal rules.
10909
817328ee
AS
109102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10911
10912 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10913 operation.
10914 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10915 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10916 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10917 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10919 Likewise.
10920
29fddf61
UD
109212010-09-04 Ulrich Drepper <drepper@redhat.com>
10922
10923 [BZ #11979]
10924 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10925 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10926
0959ffc9
UD
109272010-09-02 Ulrich Drepper <drepper@redhat.com>
10928
10929 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10930 * sysdeps/x86_64/addmul_1.S: Likewise.
10931 * sysdeps/x86_64/lshift.S: Likewise.
10932 * sysdeps/x86_64/mul_1.S: Likewise.
10933 * sysdeps/x86_64/rshift.S: Likewise.
10934 * sysdeps/x86_64/sub_n.S: Likewise.
10935 * sysdeps/x86_64/submul_1.S: Likewise.
10936
ece29840
ST
109372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10938
0959ffc9
UD
10939 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10940 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10941 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10942 * bits/sched.h [__need_schedparam]
ece29840 10943 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10944 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10945 (__defined_schedparam): Define to 1.
ece29840
ST
10946 (__sched_param): New structure, identical to sched_param.
10947 (__need_schedparam): Undefine.
10948
e53a31fe
MF
109492010-08-31 Mike Frysinger <vapier@gentoo.org>
10950
fdc0c10d
MF
10951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10952 (epoll_create1): Declare.
10953
e53a31fe
MF
10954 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10955
a726d796
AS
109562010-08-31 Andreas Schwab <schwab@redhat.com>
10957
10958 [BZ #7066]
10959 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10960 shifting retval into place.
10961
2f3e3dc7
UD
109622010-09-01 Ulrich Drepper <drepper@redhat.com>
10963
f2933da9
UD
10964 * nis/rpcsvc/nis.h: Update copyright notice.
10965 * nis/rpcsvc/nis.x: Likewise.
10966 * nis/rpcsvc/nis_callback.h: Likewise.
10967 * nis/rpcsvc/nis_callback.x: Likewise.
10968 * nis/rpcsvc/nis_object.x: Likewise.
10969 * nis/rpcsvc/nis_tags.h: Likewise.
10970 * nis/rpcsvc/yp.h: Likewise.
10971 * nis/rpcsvc/yp.x: Likewise.
10972 * nis/rpcsvc/ypupd.h: Likewise.
10973 * nis/yp_xdr.c: Likewise.
10974 * nis/ypupdate_xdr.c: Likewise.
10975
2f3e3dc7
UD
10976 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10977 mainly the body of pmap_getport. Add parameters to specify timeouts.
10978 (pmap_getport): Use __libc_rpc_getport.
10979 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10980 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10981 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10982
f3dcc2f9
AS
109832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10984
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10986 fanotify_mark.
10987
6d34eb5b
RM
109882010-08-27 Roland McGrath <roland@redhat.com>
10989
10990 * sysdeps/i386/i686/multiarch/Makefile
10991 (CFLAGS-varshift.c): New variable.
10992
9ea3de11
UD
109932010-08-27 Ulrich Drepper <drepper@redhat.com>
10994
c96d23fc
UD
10995 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10996 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10997
9ea3de11
UD
10998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10999
11000 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11001
623aac7f
L
110022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11003
11004 * sysdeps/x86_64/strlen.S: Unroll the loop.
11005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11006 strlen-sse2 strlen-sse2-bsf.
11007 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11008 __strlen_no_bsf if bit_Slow_BSF is set.
11009 (__strlen_sse42): Removed.
11010 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11011 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11012
8b2b7715
RM
110132010-08-25 Roland McGrath <roland@redhat.com>
11014
11015 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11016 * sysdeps/x86_64/multiarch/varshift.c: New file.
11017 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11018 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11019 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11020 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11021
e73015f2
L
110222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11023
11024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11025 strlen-sse2 strlen-sse2-bsf.
11026 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11027 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11028 (__strlen_sse2): Removed.
11029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11032 bit_Slow_BSF for Atom.
11033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11034 (index_Slow_BSF): Define.
11035 (HAS_SLOW_BSF): Define.
11036
df24a73e
UD
110372010-08-25 Ulrich Drepper <drepper@redhat.com>
11038
11039 [BZ #10851]
11040 * resolv/res_init.c (__res_vinit): When no server address at all
11041 is given default to loopback.
11042
f2ac4868
RM
110432010-08-24 Roland McGrath <roland@redhat.com>
11044
09055553
RM
11045 * configure.in: Remove config-name.h generation.
11046 * configure: Regenerated.
11047 * config-name.in: File removed.
11048 * scripts/config-uname.sh: New file.
11049 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11050 ($(objdir)config-name.h): New target.
11051
f2ac4868
RM
11052 * sunrpc/rpc_parse.h: Avoid nested comment.
11053
73f27d5e
RH
110542010-08-24 Richard Henderson <rth@redhat.com>
11055 Ulrich Drepper <drepper@redhat.com>
11056 H.J. Lu <hongjiu.lu@intel.com>
11057
11058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11060 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11061 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11062 _mm_alignr_epi8 with _mm_loadu_si128.
11063 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11064 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11065 (__m128i_shift_right): Removed.
11066 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11067 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11068 * sysdeps/x86_64/multiarch/varshift.h: New file.
11069 * sysdeps/x86_64/multiarch/varshift.S: New file.
11070
84b9230c
MF
110712010-08-21 Mike Frysinger <vapier@gentoo.org>
11072
11073 * configure.in: Move assembler checks to before sysdep dir checking.
11074
9bbd0ddc
PB
110752010-08-20 Petr Baudis <pasky@suse.cz>
11076
11077 * LICENSES: Sync the sunrpc license.
11078
9da4bb31
UD
110792010-08-19 Ulrich Drepper <drepper@redhat.com>
11080
a7ab6ec8
UD
11081 * sunrpc/auth_des.c: Update copyright notice once again.
11082 * sunrpc/auth_none.c: Likewise.
11083 * sunrpc/auth_unix.c: Likewise.
11084 * sunrpc/authdes_prot.c: Likewise.
11085 * sunrpc/authuxprot.c: Likewise.
11086 * sunrpc/bindrsvprt.c: Likewise.
11087 * sunrpc/clnt_gen.c: Likewise.
11088 * sunrpc/clnt_perr.c: Likewise.
11089 * sunrpc/clnt_raw.c: Likewise.
11090 * sunrpc/clnt_simp.c: Likewise.
11091 * sunrpc/clnt_tcp.c: Likewise.
11092 * sunrpc/clnt_udp.c: Likewise.
11093 * sunrpc/clnt_unix.c: Likewise.
11094 * sunrpc/des_crypt.c: Likewise.
11095 * sunrpc/des_soft.c: Likewise.
11096 * sunrpc/get_myaddr.c: Likewise.
11097 * sunrpc/getrpcport.c: Likewise.
11098 * sunrpc/key_call.c: Likewise.
11099 * sunrpc/key_prot.c: Likewise.
11100 * sunrpc/openchild.c: Likewise.
11101 * sunrpc/pm_getmaps.c: Likewise.
11102 * sunrpc/pm_getport.c: Likewise.
11103 * sunrpc/pmap_clnt.c: Likewise.
11104 * sunrpc/pmap_prot.c: Likewise.
11105 * sunrpc/pmap_prot2.c: Likewise.
11106 * sunrpc/pmap_rmt.c: Likewise.
11107 * sunrpc/rpc/auth.h: Likewise.
11108 * sunrpc/rpc/auth_unix.h: Likewise.
11109 * sunrpc/rpc/clnt.h: Likewise.
11110 * sunrpc/rpc/des_crypt.h: Likewise.
11111 * sunrpc/rpc/key_prot.h: Likewise.
11112 * sunrpc/rpc/netdb.h: Likewise.
11113 * sunrpc/rpc/pmap_clnt.h: Likewise.
11114 * sunrpc/rpc/pmap_prot.h: Likewise.
11115 * sunrpc/rpc/pmap_rmt.h: Likewise.
11116 * sunrpc/rpc/rpc.h: Likewise.
11117 * sunrpc/rpc/rpc_des.h: Likewise.
11118 * sunrpc/rpc/rpc_msg.h: Likewise.
11119 * sunrpc/rpc/svc.h: Likewise.
11120 * sunrpc/rpc/svc_auth.h: Likewise.
11121 * sunrpc/rpc/types.h: Likewise.
11122 * sunrpc/rpc/xdr.h: Likewise.
11123 * sunrpc/rpc_clntout.c: Likewise.
11124 * sunrpc/rpc_cmsg.c: Likewise.
11125 * sunrpc/rpc_common.c: Likewise.
11126 * sunrpc/rpc_cout.c: Likewise.
11127 * sunrpc/rpc_dtable.c: Likewise.
11128 * sunrpc/rpc_hout.c: Likewise.
11129 * sunrpc/rpc_main.c: Likewise.
11130 * sunrpc/rpc_parse.c: Likewise.
11131 * sunrpc/rpc_parse.h: Likewise.
11132 * sunrpc/rpc_prot.c: Likewise.
11133 * sunrpc/rpc_sample.c: Likewise.
11134 * sunrpc/rpc_scan.c: Likewise.
11135 * sunrpc/rpc_scan.h: Likewise.
11136 * sunrpc/rpc_svcout.c: Likewise.
11137 * sunrpc/rpc_tblout.c: Likewise.
11138 * sunrpc/rpc_util.c: Likewise.
11139 * sunrpc/rpc_util.h: Likewise.
11140 * sunrpc/rpcinfo.c: Likewise.
11141 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11142 * sunrpc/rpcsvc/key_prot.x: Likewise.
11143 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11144 * sunrpc/rpcsvc/mount.x: Likewise.
11145 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11146 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11147 * sunrpc/rpcsvc/rex.x: Likewise.
11148 * sunrpc/rpcsvc/rstat.x: Likewise.
11149 * sunrpc/rpcsvc/rusers.x: Likewise.
11150 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11151 * sunrpc/rpcsvc/spray.x: Likewise.
11152 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11153 * sunrpc/rtime.c: Likewise.
11154 * sunrpc/svc.c: Likewise.
11155 * sunrpc/svc_auth.c: Likewise.
11156 * sunrpc/svc_authux.c: Likewise.
11157 * sunrpc/svc_raw.c: Likewise.
11158 * sunrpc/svc_run.c: Likewise.
11159 * sunrpc/svc_simple.c: Likewise.
11160 * sunrpc/svc_tcp.c: Likewise.
11161 * sunrpc/svc_udp.c: Likewise.
11162 * sunrpc/svc_unix.c: Likewise.
11163 * sunrpc/svcauth_des.c: Likewise.
11164 * sunrpc/xcrypt.c: Likewise.
11165 * sunrpc/xdr.c: Likewise.
11166 * sunrpc/xdr_array.c: Likewise.
11167 * sunrpc/xdr_float.c: Likewise.
11168 * sunrpc/xdr_mem.c: Likewise.
11169 * sunrpc/xdr_rec.c: Likewise.
11170 * sunrpc/xdr_ref.c: Likewise.
11171 * sunrpc/xdr_sizeof.c: Likewise.
11172 * sunrpc/xdr_stdio.c: Likewise.
11173
9da4bb31
UD
11174 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11175 handling.
11176
bdaa77bc
AS
111772010-08-19 Andreas Schwab <schwab@redhat.com>
11178
11179 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11180
fe2f79db
LM
111812010-08-19 Luis Machado <luisgpm@br.ibm.com>
11182
11183 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11184 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11185 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11186 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11187 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11188 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11189 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11190 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11192 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11193 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11194 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11195 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11196 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11197
b9b42ee0
AB
111982010-07-26 Anton Blanchard <anton@samba.org>
11199
11200 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11201 * malloc/arena.c (heap_trim): Likewise.
11202
1c06ba31
UD
112032010-08-16 Ulrich Drepper <drepper@redhat.com>
11204
11205 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11206 here. Not...
11207 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11208 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11209
f8392f40
L
112102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11211
11212 * sysdeps/i386/elf/Makefile: New file.
11213
3162f12e
AS
112142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11215
11216 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11217 from fanotify_init.
11218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11219 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11220
28c90b2c
UD
112212010-08-15 Ulrich Drepper <drepper@redhat.com>
11222
11223 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11224 of strncasecmp_l.
1feccb6c 11225 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11226
ca6bb004
UD
112272010-08-14 Ulrich Drepper <drepper@redhat.com>
11228
e9f82e0d
UD
11229 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11230 strncase_l-nonascii.
11231 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11232 Add strncase_l-ssse3.
11233 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11234 * sysdeps/x86_64/strcmp.S: Likewise.
11235 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11236 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11237 * sysdeps/x86_64/strncase.S: New file.
11238 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11239 * sysdeps/x86_64/strncase_l.S: New file.
11240 * string/Makefile (strop-tests): Add strncasecmp.
11241 * string/test-strncasecmp.c: New file.
11242
11243 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11244 warning.
11245
ca6bb004
UD
11246 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11247 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11248
052fa7b3
AS
112492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11250
11251 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11252
962dba78
UD
112532010-08-12 Ulrich Drepper <drepper@redhat.com>
11254
11255 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11256 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11258
bebff237
AM
112592010-05-01 Alan Modra <amodra@gmail.com>
11260
11261 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11262 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11263 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11264 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11265 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11266 tidying. Don't tail-call __sigjmp_save for static lib.
11267 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11268 save location.
11269 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11270 (CALL_MCOUNT): Add eh info, and nop after bl.
11271 (TAIL_CALL_SYSCALL_ERROR): New macro.
11272 (PSEUDO_RET): Use it.
11273 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11274 Correct save location of integer regs and cr.
11275 (_dl_profile_resolve): Correct cr save location. Delete nops
11276 after bl when SHARED. Reduce cfi size a little by better
11277 placement of cfi directives.
11278 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11279 make a stack frame. Instead use parm save area as a temp.
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11281 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11283 Don't make a stack frame for parent, use parm save area.
11284 Increase child stack frame to 112 bytes. Don't save unused reg,
11285 and adjust reg usage. Set up cfi on error recovery and
11286 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11288 (__makecontext): Add dummy nop after jump to exit.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11290 Use correct parm save area and cr save, reduce stack frame.
11291 Correct cfi for possible PSEUDO_RET frame setup.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11293 Branch to local label emitted by PSEUDO_RET rather than
11294 __syscall_error.
11295
02637374
AS
112962010-08-12 Andreas Schwab <schwab@redhat.com>
11297
11298 [BZ #11904]
11299 * locale/programs/locale.c (print_assignment): New function.
11300 (show_locale_vars): Use it.
11301
c3e2f19b
UD
113022010-08-11 Ulrich Drepper <drepper@redhat.com>
11303
3cdaa6ad
UD
11304 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11305 field.
11306 (struct statfs64): Likewise.
11307 (_STATFS_F_FLAGS): Define.
11308 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11310 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11311 (ST_VALID): Define locally.
11312 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11313 __statvfs_getflags, use the provided value.
11314 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11315 __ASSUME_STATFS_F_FLAGS.
11316
754f7da3
UD
11317 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11318
10b3bedc
UD
11319 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11320 Add sys/fanotify.h.
11321 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11322 fanotify_mask for GLIBC_2.13.
11323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11324 fanotify_init and fanotify_mark.
11325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11326 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11327
c08fb0d7
UD
11328 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11329 Add prlimit.
11330 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11331 prlimit64 for GLIBC_2.13.
11332 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11333 prlimit64.
11334 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11335 syscall.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11337 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11338 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11341 add prlimit alias.
11342 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11343
15bac72b
UD
11344 [BZ #11903]
11345 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11346 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11347
c3e2f19b
UD
11348 * nss/Makefile: Add rules to build and run tst-nss-test1.
11349 * shlib-versions: Add entry for libnss_test1.
11350 * nss/nss_test1.c: New file.
11351 * nss/tst-nss-test1.c: New file.
11352
11353 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11354 (__nss_configure_lookup): Set appropriate entry in
11355 __nss_configure_lookup to true.
11356 * nss/nsswitch.h: Define enum with indeces of databases in
11357 databases and __nss_database_custom arrays. Declare
11358 __nss_database_custom.
11359 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11360 to avoid using nscd when custom rules are installed.
11361 * nss/getXXbyYY_r.c: Likewise.
11362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11363
11364 * nss/nss_files/files-parse.c: Whitespace fixes.
11365
f15ce4d8
UD
113662010-08-09 Ulrich Drepper <drepper@redhat.com>
11367
11368 [BZ #11883]
11369 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11370 * posix/fnmatch_loop.c: Likewise.
11371
d22e4cc9
AK
113722010-07-17 Andi Kleen <ak@linux.intel.com>
11373
11374 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11375 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11376 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11377 * Versions.def [GLIBC_2.13]: Add.
11378
805bc17d
UD
113792010-08-06 Ulrich Drepper <drepper@redhat.com>
11380
11381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11382 Also fail if tpwd after pwuid call is NULL.
11383
5a42321d
ST
113842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11385
11386 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11387 when converting to ms.
11388
fd3ebeda
ST
113892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11390
11391 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11392 EOPNOTSUPP errors with ENOTTY.
11393 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11394 EOPNOTSUPP errors with ENOTTY.
11395
73507d3a
UD
113962010-07-31 Ulrich Drepper <drepper@redhat.com>
11397
11398 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11399 Add strcasecmp_l-ssse3.
11400 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11401 strcasecmp.
11402 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11403 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11404 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11405
fe36dd02
UD
114062010-07-30 Ulrich Drepper <drepper@redhat.com>
11407
66f6765a
UD
11408 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11409
42e08a54
UD
11410 * string/Makefile (strop-tests): Add strcasecmp.
11411 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11412 strcasecmp_l-nonascii.
11413 (gen-as-const-headers): Add locale-defines.sym.
11414 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11415 * sysdeps/x86_64/strcasecmp.S: New file.
11416 * sysdeps/x86_64/strcasecmp_l.S: New file.
11417 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11418 * sysdeps/x86_64/locale-defines.sym: New file.
11419 * string/test-strcasecmp.c: New file.
11420
fe36dd02
UD
11421 * string/test-strcasestr.c: Test both ends of the range of characters.
11422 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11423
48cbc0d6
RM
114242010-07-29 Roland McGrath <roland@redhat.com>
11425
76e6d6bc 11426 [BZ #11856]
48cbc0d6
RM
11427 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11428
880113d9
UD
114292010-07-27 Ulrich Drepper <drepper@redhat.com>
11430
11431 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11432 for ld.so.
11433
deb9cabb
AS
114342010-07-27 Andreas Schwab <schwab@redhat.com>
11435
11436 * manual/memory.texi (Malloc Tunable Parameters): Document
11437 M_PERTURB.
11438
1c7570ff
RM
114392010-07-26 Roland McGrath <roland@redhat.com>
11440
11441 [BZ #11840]
11442 * configure.in (-fgnu89-inline check): Set and substitute
11443 gnu89_inline, not libc_cv_gnu89_inline.
11444 * configure: Regenerated.
11445 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11446
24fb0f88
UD
114472010-07-26 Ulrich Drepper <drepper@redhat.com>
11448
11449 * string/test-strnlen.c: New file.
11450 * string/Makefile (strop-tests): Add strnlen.
11451 * string/tester.c (test_strnlen): Add a few more test cases.
11452 * string/tst-strlen.c: Better error reporting.
11453
11454 * sysdeps/x86_64/strnlen.S: New file.
11455
8e96b93a
UD
114562010-07-24 Ulrich Drepper <drepper@redhat.com>
11457
11458 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11459 lower-latency instructions.
11460
dbc676d4
UD
114612010-07-23 Ulrich Drepper <drepper@redhat.com>
11462
11463 * string/test-strcasestr.c: New file.
11464 * string/test-strstr.c: New file.
11465 * string/Makefile (strop-tests): Add strstr and strcasestr.
11466 * string/str-two-way.h: Don't undefine MAX.
11467 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11468
f6a31e0e
AS
114692010-07-21 Andreas Schwab <schwab@redhat.com>
11470
11471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11472 strcasestr-nonascii.
11473 (CFLAGS-strcasestr-nonascii.c): Define.
11474 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11475 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11476 Remove unused attribute.
11477
5dbc3b6c
RM
114782010-07-20 Roland McGrath <roland@redhat.com>
11479
11480 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11481 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11482 ld.so.cache was broken. With it, there is no way to disable dsocaps
11483 like LD_HWCAP_MASK can disable hwcaps.
11484
23d101d8
EPM
114852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11486
11487 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11488
cc9f2e47
UD
114892010-07-16 Ulrich Drepper <drepper@redhat.com>
11490
11491 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11492 call in strcasestr.
11493 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11494 __strcasestr_sse42_nonascii.
11495 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11496 strcasestr-nonascii.c.
11497 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11498
77c1b069
LM
114992010-06-15 Luis Machado <luisgpm@br.ibm.com>
11500
11501 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11502 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11503 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11504 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11505
440566c3
UD
115062010-07-09 Ulrich Drepper <drepper@redhat.com>
11507
11508 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11509 fcntl.
11510
5be9d05d
AS
115112010-07-06 Andreas Schwab <schwab@redhat.com>
11512
c30b7ee2 11513 [BZ #11577]
5be9d05d
AS
11514 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11515 dl_signal_cerror.
11516
8a492a67
UD
115172010-07-06 Ulrich Drepper <drepper@redhat.com>
11518
11519 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11520 _PC_PIPE_BUF using F_GETPIPE_SZ.
11521
713df3d5
RM
115222010-07-05 Roland McGrath <roland@redhat.com>
11523
11524 * manual/arith.texi (Rounding Functions): Fix rint description
11525 implicit in round description.
11526
702e8f14
UD
115272010-07-02 Ulrich Drepper <drepper@redhat.com>
11528
11529 * elf/Makefile: Fix linking for a few tests to make recent linker
11530 happy.
11531
52ed8be9
AS
115322010-06-30 Andreas Schwab <schwab@redhat.com>
11533
11534 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11535 $(common-objpfx)libc_nonshared.a.
11536
f47c9a11
LM
115372010-06-21 Luis Machado <luisgpm@br.ibm.com>
11538
11539 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11540 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11541 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11542 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11543 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11544 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11545 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11546 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11561 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11562 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11563 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11564 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11565 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11566 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11567 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11568 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11569 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11570 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11571 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11572 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11587
6fb8cbcb
L
115882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11591 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11592 * string/memmove.c (memmove): Renamed to ...
11593 (MEMMOVE): ...this. Default to memmove.
11594 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11595 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11596 (END_CHK): Define.
11597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11598 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11599 mempcpy-ssse3-back memmove-ssse3-back.
11600 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11603 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11604 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11605 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11606 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11607 * sysdeps/x86_64/multiarch/memmove.c: New file.
11608 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11609 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11610 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11611 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11612 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11614 Define.
11615 (index_Fast_Copy_Backward): Define.
11616 (HAS_ARCH_FEATURE): Define.
11617 (HAS_FAST_REP_STRING): Define.
11618 (HAS_FAST_COPY_BACKWARD): Define.
11619
4e733bac 116202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11621
11622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11623 Restore proper fallback handling.
11624
63c4ed22
UD
116252010-06-19 Ulrich Drepper <drepper@redhat.com>
11626
ac2b484c
UD
11627 [BZ #11701]
11628 * posix/group_member.c (__group_member): Correct checking loop.
11629
63c4ed22
UD
11630 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11631 OOM in getpwuid_r correctly. Return error number when the caller
11632 should return, otherwise -1.
11633 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11634 call returning > 0 value.
11635 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11636
765ade4b
AS
116372010-06-07 Andreas Schwab <schwab@redhat.com>
11638
11639 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11640 libc_nonshared.a from targets in modules-names.
11641
80da2e09
KS
116422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11643
11644 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11645 requires it.
11646
158db122
LM
116472010-06-10 Luis Machado <luisgpm@br.ibm.com>
11648
11649 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11650 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11653
caa78cf8
AS
116542010-06-02 Andreas Schwab <schwab@redhat.com>
11655
11656 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11657
b2ef2c01
UD
116582010-06-14 Ulrich Drepper <drepper@redhat.com>
11659
11660 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11661 and F_GETPIPE_SZ.
11662 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11667 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11668
fbd643b6
RM
116692010-06-14 Roland McGrath <roland@redhat.com>
11670
11671 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11672
f32f2869
JJ
116732010-06-07 Jakub Jelinek <jakub@redhat.com>
11674
11675 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11676 __REDIRECT followed by __THROW.
11677 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11678 * posix/getopt.h (getopt): Likewise.
11679
2a50c078
EPM
116802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11681
11682 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11683 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11684 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11685 in AT_FLAGS.
11686 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11687 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11688
eb5ad2eb
LM
116892010-05-28 Luis Machado <luisgpm@br.ibm.com>
11690
11691 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11692
3c88fe1e
L
116932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11694
11695 [BZ #11640]
11696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11697 Properly check family and model.
11698
d2f73151
TY
116992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11700
11701 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11702
ebd2e13d
LM
117032010-05-24 Luis Machado <luisgpm@br.ibm.com>
11704
11705 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11706
b32b8b45
UD
117072010-05-21 Ulrich Drepper <drepper@redhat.com>
11708
11709 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11710 symbol reference.
11711
9acbe24d
AS
117122010-05-19 Andreas Schwab <schwab@redhat.com>
11713
11714 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11715 symbol reference.
11716
f0ccf6ea
AS
117172010-05-21 Andreas Schwab <schwab@redhat.com>
11718
3d04ff3a
AS
11719 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11720 and internal_recvmmsg.
11721 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11722 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11723 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11724 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11725
f0ccf6ea
AS
11726 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11727 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11728 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11729
5b08ac57
AS
117302010-05-20 Andreas Schwab <schwab@redhat.com>
11731
11732 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11733
4828935d
LM
117342010-05-17 Luis Machado <luisgpm@br.ibm.com>
11735
11736 POWER7 optimizations.
11737 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11738 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11739
373d545e
UD
117402010-05-19 Ulrich Drepper <drepper@redhat.com>
11741
11742 * version.h: Update for 2.13 development version.
11743
21a2b1ae
AS
117442010-05-12 Andrew Stubbs <ams@codesourcery.com>
11745
11746 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11747 exceptions. Return 0.
11748
3f7dcb2b
RM
117492010-05-07 Roland McGrath <roland@redhat.com>
11750
11751 * elf/ldconfig.c (main): Add a const.
11752
5f24d53a 117532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11754
a160f8d8
UD
11755 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11756 (args_options): Add no-idn option.
11757 (ahosts_keys_int): Add idn_flags to ai_flags.
11758 (parse_option): Handle 'i' option to clear idn_flags.
11759
5f24d53a
UD
11760 * malloc/malloc.c (_int_free): Possible race in the most recently
11761 added check. Only act on the data if no current modification
11762 happened.
265bb1ce
UD
11763
11764See ChangeLog.17 for earlier changes.
This page took 1.44993 seconds and 5 git commands to generate.